deleteStrategy()
CarbonController.sol
This function is used to delete a strategy on Carbon DeFi. Once removed, all liquidity associated to the strategy is sent to the strategy owner's wallet.
Function Arguments
Name | Type | Description |
---|---|---|
strategyId | uint256 | The ID of the strategy to delete. |
Example
While all required data is available on chain, it is recommended to use the Carbon DeFi SDK.
Last updated