ERC-721 Non-Fungible Token Standard, optional enumeration extension (IERC721EnumerableUpgradeable.sol)
View Source: @openzeppelin\contracts-upgradeable\token\ERC721\extensions\IERC721EnumerableUpgradeable.sol
↗ Extends: IERC721Upgradeable ↘ Derived Contracts: ERC721EnumerableUpgradeable
IERC721EnumerableUpgradeable
See https://eips.ethereum.org/EIPS/eip-721
Functions
totalSupply
Returns the total amount of tokens stored by the contract.
function totalSupply() external view
returns(uint256)
Arguments
| Name | Type | Description | | ————- |————- | —–|
tokenOfOwnerByIndex
Returns a token ID owned by owner
at a given index
of its token list.
Use along with {balanceOf} to enumerate all of owner
’s tokens.
function tokenOfOwnerByIndex(address owner, uint256 index) external view
returns(uint256)
Arguments
Name | Type | Description |
---|---|---|
owner | address | |
index | uint256 |
tokenByIndex
Returns a token ID at a given index
of all the tokens stored by the contract.
Use along with {totalSupply} to enumerate all tokens.
function tokenByIndex(uint256 index) external view
returns(uint256)
Arguments
Name | Type | Description |
---|---|---|
index | uint256 |
Contracts
- ActivateToken
- AddressUpgradeable
- ContextUpgradeable
- CreatorToken
- CustomToken
- ERC165Upgradeable
- ERC20Upgradeable
- ERC721BurnableUpgradeable
- ERC721EnumerableUpgradeable
- ERC721Upgradeable
- ERC721URIStorageUpgradeable
- IERC165Upgradeable
- IERC20MetadataUpgradeable
- IERC20Upgradeable
- IERC721EnumerableUpgradeable
- IERC721MetadataUpgradeable
- IERC721ReceiverUpgradeable
- IERC721Upgradeable
- ImmutableEntity
- ImmutableProduct
- Initializable
- Migrations
- OwnableUpgradeable
- ProductActivate
- StringCommon
- StringsUpgradeable