Function: unbond(uint256 _amount)
This function queues tokens for withdrawal in the validator pool.
Inputs
_amount
Control: Fully controlled by the caller.
Constraints: N/A.
Impact: Amount of tokens to unbond.
Branches and code coverage
Intended branches
Call the
sellVoucherPOL
function on the validator pool.Send any remaining tokens back to the vault controller.