🐔CBChickenOut
Withdraws backing lusd from a pending bond
Description
When the bond is in the pending stage, user can chicken out and withdraw the whole LUSD amount in the bond, forfeiting the interest earned on the LUSD. In some specific cases (bad liquidations, hacks...) the whole amount of LUSD might not be able to be returned so there is a minLUSD parameter as well.
Action calls chickenBondManager.chickenOut(uint256 _bondID, uint256 _minLUSD);
SDK Action
Contract
This is a standard dfs action.
to parameter can't be address(0) the action will revert
Proxy must have a non 0 balance of LUSD to withdraw or the action reverts
Input:
Return value:
Events:
Last updated