Skip to content
Lattice

IERC721URIStorage

Git Source

Inherits: IERC721

Title: IERC721URIStorage

Author: Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/ERC721URIStorage.sol)

Interface for ERC-721 with per-token URI storage (EIP-4906 metadata update events).

Events

MetadataUpdate

Emitted when the metadata of _tokenId is updated.

event MetadataUpdate(uint256 _tokenId);

Parameters

NameTypeDescription
_tokenIduint256The token whose metadata was updated.

BatchMetadataUpdate

Emitted when the metadata of tokens from _fromTokenId to _toTokenId is updated.

event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId);

Parameters

NameTypeDescription
_fromTokenIduint256The first token in the range.
_toTokenIduint256The last token in the range.