ERC 721 Enumerable
This implements an optional extension of {ERC721} defined in the EIP that adds enumerability of all the token ids in the contract as well as all token ids owned by each account.
Methods
approve
See {IERC721-approve}.
Parameters
to
address
undefined
tokenId
uint256
undefined
balanceOf
See {IERC721-balanceOf}.
Parameters
owner
address
undefined
Returns
_0
uint256
undefined
getApproved
See {IERC721-getApproved}.
Parameters
tokenId
uint256
undefined
Returns
_0
address
undefined
isApprovedForAll
See {IERC721-isApprovedForAll}.
Parameters
owner
address
undefined
operator
address
undefined
Returns
_0
bool
undefined
name
See {IERC721Metadata-name}.
Returns
_0
string
undefined
ownerOf
See {IERC721-ownerOf}.
Parameters
tokenId
uint256
undefined
Returns
_0
address
undefined
safeTransferFrom
See {IERC721-safeTransferFrom}.
Parameters
from
address
undefined
to
address
undefined
tokenId
uint256
undefined
safeTransferFrom
See {IERC721-safeTransferFrom}.
Parameters
from
address
undefined
to
address
undefined
tokenId
uint256
undefined
_data
bytes
undefined
setApprovalForAll
See {IERC721-setApprovalForAll}.
Parameters
operator
address
undefined
approved
bool
undefined
supportsInterface
See {IERC165-supportsInterface}.
Parameters
interfaceId
bytes4
undefined
Returns
_0
bool
undefined
symbol
See {IERC721Metadata-symbol}.
Returns
_0
string
undefined
tokenByIndex
See {IERC721Enumerable-tokenByIndex}.
Parameters
index
uint256
undefined
Returns
_0
uint256
undefined
tokenOfOwnerByIndex
See {IERC721Enumerable-tokenOfOwnerByIndex}.
Parameters
owner
address
undefined
index
uint256
undefined
Returns
_0
uint256
undefined
tokenURI
See {IERC721Metadata-tokenURI}.
Parameters
tokenId
uint256
undefined
Returns
_0
string
undefined
totalSupply
See {IERC721Enumerable-totalSupply}.
Returns
_0
uint256
undefined
transferFrom
See {IERC721-transferFrom}.
Parameters
from
address
undefined
to
address
undefined
tokenId
uint256
undefined
Events
Approval
Parameters
owner indexed
address
undefined
approved indexed
address
undefined
tokenId indexed
uint256
undefined
ApprovalForAll
Parameters
owner indexed
address
undefined
operator indexed
address
undefined
approved
bool
undefined
Transfer
Parameters
from indexed
address
undefined
to indexed
address
undefined
tokenId indexed
uint256
undefined
Last updated