Carbon Vortex Functions
Last updated
Last updated
Carbon DeFi collects fees from trades performed on the Carbon DeFi network, and as a result of arbitrage transactions performed using the Bancor Arb Fast Lane. These proceeds can then be transferred into the Carbon Vortex contract and be up for sale in a Dutch auction pricing model.
These are popular flows that can be achieved using the Carbon Vortex:
The Carbon Vortex allows any user to check the available token balances and trigger a function to process them, with an incentive.
The caller can follow these steps to complete the process:
Identify the size of opportunity - call the [read] availableTokens()
function to learn how many tokens are available to process.
Read the reward percentage - call the [read] rewardsPPM()
function to learn what is the reward percentage and threshold
Execute the transaction - call the [write] execute()
function to receive caller rewards
The Carbon Vortex offers tokens up for sale in a gradually descending price discovery flow known as Dutch auction. Any caller can identify and take opportunities when they occur.
Identify the available amount of tokens for sale by calling the [read]amountAvailableForTrading
function
Identify the current price by calling any of the following functions [read] expectedTradeInput, expectedTradeReturn, tokenPrice
Execute the trade by calling the trade
function
Write Functions
Read Functions
Data & Events