withdrawReserve
params of yAssetParams -> (list(op), storage upd)
Withdraw protocol reserves from protocol.
Usage
Errors
yToken/not-admin
-sender
is not contract admin.underflow/totalReservesF
- whentoken.totalReserves
<amount
token/cant-get-contract-token
- FA12 token contract address does not containtransfer
entrypoint from FA12 interface.token/cant-get-contract-fa2-token
- FA2 token contract address does not containtransfer
entrypoint from FA2 interface.
Last updated