Nft
Inherits: ERC721Enumerable, INft
Extensions to ECR-721 to support an image contract and owner enumeration.
State Variables
_nextTokenId
Functions
constructor
_mint
Internal function to mint a new NFT and assign it to the specified address.
Parameters
Name | Type | Description |
---|---|---|
|
| The address to which the NFT will be minted. |
Returns
Name | Type | Description |
---|---|---|
|
| The ID of the newly minted NFT. |
onlyTokenIdAuthorizedUser
Modifier to restrict access to functions to the owner of a specific NFT by its tokenId.
tokenOfOwnerByIndexExists
Check if an NFT exists for a given owner and index.
tokenIdsOfOwner
List of tokenIds by owner.
checkAuthorized
Check if the caller has access to a specific NFT by tokenId.
_update
_increaseBalance
name
symbol
supportsInterface
tokenURI
Last updated