Batch Metadata ERC-721

Description

The BatchMetadataERC721 contract is an module that provides batch metadata functionality for ERC-721 tokens. It allows for uploading metadata for ranges of token IDs, and fetching metadata based on those ranges. This improves efficiency and reduces the complexity of managing individual token metadata.

Callback Functions

FunctionDescription
onTokenURICallback function for ERC721Metadata.tokenURI. Returns the metadata URI for a given tokenId.

Fallback Functions

FunctionDescription
getAllMetadataBatchesReturns all metadata batches for a token. Each batch contains a range of token IDs and their associated base URI.
uploadMetadataUploads metadata for a range of token IDs. Emits a NewMetadataBatch event and a BatchMetadataUpdate event.

Required Interfaces

InterfaceID
ERC-7210x80ac58cd

Supported Interfaces

InterfaceID
ERC-49060x49064906