execute()

    function execute(Token[] calldata tokens) external

This write function allows any caller to process all available token amounts collected by Carbon DeFi and Arb Fast Lane activities and receive the caller incentives.

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

Function Arguments

Name
Type
Description

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