BatchMetadataERC721

Description

The BatchMetadataERC721 contract is a module that provides batch metadata management for ERC-721 tokens. It includes functionalities for uploading, updating, and retrieving metadata in batches efficiently. This contract helps manage metadata for large collections of tokens by organizing them in batches.

GitHub
View on GitHub

Callback Functions

FunctionDescription
onTokenURICallback function that returns the token URI for ERC-721 tokens.
updateMetadataERC721Callback function that updates metadata for a batch of ERC-721 tokens.

Fallback Functions

FunctionDescription
uploadMetadataAllows uploading of metadata. Requires minter role.
setBaseURISets the base URI for the token metadata. Requires manager role.
getAllMetadataBatchesRetrieves all metadata batches uploaded so far.
nextTokenIdToMintReturns the next token ID to be minted.
getBatchIdReturns the batch ID for a specific token ID.
getBatchRangeReturns the range of token IDs for a specific metadata batch.

Required Interfaces

InterfaceID
ERC-7210x80ac58cd

Supported Interfaces

InterfaceID
ERC49060x49064906