update_whitelist
An entrypoint that updates a list of whitelisted tokens. Tokens can be added to whitelist or can be removed from it.
Whitelisted tokens can be withdrawn by an administrator of the contract. Any user can launch an auction for NON whitelisted tokens.
Call parameters
Field | Type | Description |
---|---|---|
token | token_t | FA1.2/FA2/TEZ token |
add | bool | Flag that indicates: admin adds a minter or removes |
Usage
Errors
400
-sender
of the transaction is not current administrator.412
- non payable entrypoint (can't accept TEZ tokens during call of an entrypoint).
Last updated