Carbon Vortex Functions
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:
Trigger Execute() for caller rewards
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 thresholdExecute the transaction - call the
[write] execute()
function to receive caller rewards
Trigger Trade() to interact with an active dutch auction
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
functionIdentify the current price by calling any of the following functions
[read] expectedTradeInput, expectedTradeReturn, tokenPrice
Execute the trade by calling the
trade
function
Last updated