BatchMetadataERC1155

Description

The BatchMetadataERC1155 contract is a module that provides batch metadata management for ERC-1155 tokens. This module builds upon the functionalities of the BatchMetadataERC721 contract, adapting them for the ERC-1155 standard. It includes functionalities for updating and managing metadata in batches efficiently.

GitHub
View on GitHub

Callback Functions

FunctionDescription
onTokenURICallback function that returns the token URI for ERC-1155 tokens.
updateMetadataERC1155Callback function that updates metadata for a batch of ERC-1155 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-11550xd9b67a26

Supported Interfaces

InterfaceID
ERC49060x49064906