TokenApprovals
Calls
erc1155ApprovalForAll
Set approval for an account (or contract) to transfer any tokens from an SFT collection mapping(address => mapping(address => bool)) private _operatorApprovals;
Namespace
Type
erc20Approval
Set approval for an account to transfer an amount of tokens on behalf of the caller Mapping from caller to spender and amount mapping(address => mapping(address => uint256)) private _allowances;
Namespace
Type
erc20UpdateApproval
Removes an approval over an account and asset_id mapping(address => mapping(address => uint256)) private _allowances;
Namespace
Type
erc721Approval
Set approval for a single NFT Mapping from token_id to operator clears approval on transfer mapping(uint256 => address) private _tokenApprovals;
Namespace
Type
erc721ApprovalForAll
Set approval for an account (or contract) to transfer any tokens from a collection mapping(address => mapping(address => bool)) private _operatorApprovals;
Namespace
Type
erc721RemoveApproval
Public method which allows users to remove approvals on a token they own
Namespace
Type
Storage
eRC1155ApprovalsForAll
Namespace
Type
eRC20Approvals
Namespace
Type
eRC721Approvals
Namespace
Type
eRC721ApprovalsForAll
Namespace
Type
undefined## Errors
AlreadyApproved
Address is already approved
Namespace
ApprovalDoesntExist
There is no approval set for this token
Namespace
ApprovedAmountTooLow
The caller is not approved for the requested amount
Namespace
CallerNotApproved
The caller isn't approved for any amount
Namespace
CallerNotOperator
The caller account can't be the same as the operator account
Namespace
NoToken
The token doesn't exist
Namespace
NotTokenOwner
The account is not the owner of the token
Namespace
NotTokenOwnerOrApproved
The account is not the owner of the token or an approved account
Namespace
undefined
Last updated