transfer
An entrypoint that transfer user's LP tokens to another account (tz/KT). Also it votes for sender's and recipient's bakers. If the recipient does not have a preferred baker, the current delegated will be chosen as the preferred baker. Works exactly like FA2 transfer entrypoint according to TZIP-012. Also supports TZIP-017 (permits).
Call parameters
transfer_dst_t
to_
address
Recipient of tokens
token_id
token_id_t
Token ID
amount
nat
Number of tokens to transfer
transfer_t
from_
address
Sender of tokens
Usage
Errors
136
- reentrancy.412
- non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).FA2_TOKEN_UNDEFINED
- token withtoken_id
doesn't exist.FA2_NOT_OPERATOR
-sender
is notoperator
offrom_
account or permit for transfer doesn't exist.FA2_INSUFFICIENT_BALANCE
- transferamount
is greater than accountfrom_
balance.EXPIRED_PERMIT
- someone is trying to transfer tokens using expired permit.
Last updated