TokenApprovals
Pallet Calls
erc1155ApprovalForAll
Only accessible through the EVM.
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
Only accessible through the EVM.
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
Only accessible through the EVM.
Removes an approval over an account and asset_id mapping(address => mapping(address => uint256)) private _allowances;
Namespace:
Type:
erc721Approval
Only accessible through the EVM.
Set approval for a single NFT Mapping from token_id to operator clears approval on transfer mapping(uint256 => address) private _tokenApprovals;
Namespace:
Type:
erc721ApprovalForAll
Only accessible through the EVM.
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. Can be called outside of the EVM as a Substrate extrinsic.
Namespace:
Type:
Pallet Storage
eRC1155ApprovalsForAll
Namespace:
Type:
eRC20Approvals
Namespace:
Type:
eRC721Approvals
Namespace:
Type:
eRC721ApprovalsForAll
Namespace:
Type:
Pallet 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:
Last updated