deleteStrategy()
Last updated
function deleteStrategy(uint256 strategyId)
external
nonReentrant
whenNotPaused
onlyProxyDelegateThis 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.
strategyId
uint256
The ID of the strategy to delete.
deleteStrategy(
2381976568446569244243622252022377480199 //strategyId
) // Only the strategy owner can delete the strategyWhile all required data is available on chain, it is recommended to use the Carbon DeFi SDK.
Last updated