Function: withdraw(uint256 assets, address receiver, address _owner)
This function is for withdrawing the token by burning the share.
Inputs
assetsControl: Completely controlled by the caller.
Constraints: The
maxWithdrawof the given_ownermust not be bigger than the givenassetsinput.Impact: Amount to withdraw the token.
receiverControl: Completely controlled by the caller.
Constraints: Must have enough share to withdraw.
Impact: Address to transfer the withdrawn token.
_ownerControl: Completely controlled by the caller.
Constraints: The
maxWithdrawof the given_ownermust not be bigger than the givenassetsinput.Impact: Address of the share owner.