Last updated
Last updated
You can start the deposit_to_l2_job by adding the following arguments:
Before starting job, user needs to configure the monitored l2 chain contract.
Here's the template for the configuration file.
The configuration table includes a {token_type} configuration item. In the current program, this is an enumerated value with the following options:
eth
usdc
Custom field
The custom field option matches the name field in the decode section of the abi_function. This tells the program which field represents the deposit token after decoding. Note: eth and usdc are internal configuration values. Typically, the deposit contract methods for these two tokens do not record the token address separately in the input data.
In the abi_function, the field name representing the deposit amount after decoding should be recorded as _amount
.
Here are part of the configuration information that are currently running
Get the total amount of deposits on each monitoring l2 chain for the current address
Query the detailed data of the deposit transaction according to the filter criteria
Response: