update_operators
An entrypoint works exactly like FA2 update_operators entrypoint according to TZIP-012.
Call parameters
type token_id_t is nat
type operator_t is [@layout:comb] record [
owner : address;
operator : address;
token_id : token_id_t;
]
type update_operator_t is
| Add_operator of operator_t
| Remove_operator of operator_t
type update_operators_t is list(update_operator_t)Field
Type
Description
owner
address
Owner of tokens
operator
address
Operator of tokens
token_id
token_id_t
Token ID
Usage
Errors
412- non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).FA2_TOKEN_UNDEFINED- token withtoken_iddoesn't exist.FA2_NOT_OWNER-senderis notownerof account.
Last updated