ODCdataManagersERC721extensions

ERC721URI

Abstract contract that provides the URI storage of the ERC721 Data Manager

Based on OZ ERC721URIStorage

BaseURIUpdate

event BaseURIUpdate(string baseURI)

Emitted when the base URI is updated

supportsInterface

function supportsInterface(bytes4 interfaceId) public view virtual returns (bool)

See {IERC165-supportsInterface}

tokenURI

function tokenURI(uint256 tokenId) public view virtual returns (string)

Returns the Uniform Resource Identifier (URI) for tokenId token.

_setTokenURI

function _setTokenURI(uint256 tokenId, string _tokenURI) internal virtual

_Sets _tokenURI as the tokenURI of tokenId.

Emits {MetadataUpdate}._

_setBaseURI

function _setBaseURI(string baseURI_) internal virtual

_Sets _baseURI as the base URI for all token URIs.

Emits {BaseURIUpdate}._

baseURI

function baseURI() public view virtual returns (string)

Base URI for computing {tokenURI}. If set, the resulting URI for each token will be the concatenation of the baseURI and the tokenId. Empty by default, can be overridden in child contracts.

On this page