transfer
params of transferParams -> (list(op), storage upd)
Implementation of FA2 interface method, more info about FA2 transfer you can read in the link below.
Types
yToken/fa2Types.ligo
Usage
Errors
FA2_NOT_OPERATOR
-sender
is notoperator
offrom_
account.yToken/token-taken-as-collateral
- when user entered market (enterMarket) for this token.FA2_TOKEN_UNDEFINED
- token identifier is not assigned to any known tokens.FA2_INSUFFICIENT_BALANCE
- when transferamount
greater than accountfrom_
balance (alsounderflow/srcBalance
make the same check butunderflow
is unreachable)
Last updated