execute()

FeeBurner.sol
    function execute(Token[] calldata tokens) external

This write function allows any caller to process all available token amounts collected by Carbon DeFi and fastlane activities.

The function will process all token amounts in carbonController AND the carbonVortex contract balance (view availableTokens).

Function Arguments

NameTypeDescription

tokens

List

The list of token addresses of the token. Input can be a single token, or an array of addresses.

Example

execute(
0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE // token
)

For the ETH token, use the contract address: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE

Last updated