Strategy Management

Every Strategy on Carbon DeFi comprises two reciprocal connected Orders. Each Order is a standing offer to trade one token for another, at a set price or price range. For example in a Strategy with one Order to sell WBTC to buy ETH, the other order would be to sell ETH to buy WBTC. Note that it is also possible to create disposable strategies that function as a one-way limit order.

Each Order describes the prices and budget for selling/buying the tokens.

The following Strategy functions are available:

While all required data is available on chain, it is recommended to use the Carbon DeFi SDK.

Each token must be approved for use prior to creating a strategy. See approve() / allowance() for details.

Last updated