transfer
Last updated
Last updated
An entrypoint that transfer user's staked tokens to another account (tz/KT). Also updates the rewards for these users. Votes for sender's and recipient's bakers if the farm supports TOK/TEZ QuipuSwap V1 LP tokens. 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 .
to_
address
Recipient of tokens
token_id
token_id_type
Token ID
amount
nat
Number of tokens to transfer
from_
address
Sender of tokens
txs
Transfer transactions
QSystem/farm-not-set
- farming with fid
parameter doesn't exist.
ILLEGAL_TRANSFER
- transfer from the contract to the same contract (Tezos.self_address
).
FA2_NOT_OPERATOR
- sender
is not operator
of from_
account.
FA2_INSUFFICIENT_BALANCE
- transfer amount
is greater than account from_
balance.
TIMELOCK_NOT_FINISHED
- timelock of sender
is not finished (only for farms with timelock).
list()