โฉURI Extension Protocol
Upgradable Metadata.
The URI Extension Protocol extends a standard ERC721, to allow an NFT to extend it's URI metadata (tokenURI function) into another contract for the purpose of upgrading it's token URI return methodology at a later time.
URI Extension Interface
Function | Role | Description |
---|---|---|
setExtTokenURI(contract) | NFT Contract Admin (write) | Set a URI Extension on the NFT with extension's contract address. Set back to address zero to return original NFT tokenURI. |
tokenURI(tokenId) | NFT Contract (read-only) | Implements ERC721 Standard tokenURI function for given tokenId. If URI Extension is set, the NFT tokenURI will be returned from the URI Extension contract. setExtTokenURI |
tokenURI(tokenId) | URI Extension Contract (read-only) | Implements ERC721 Standard tokenURI function for given tokenId. |
Last updated