SequentialTokenIdERC1155

Description

The SequentialTokenIdERC1155 contract is a module that provides sequential token ID generation for ERC-1155 tokens. This module ensures that each new token minted receives a unique, incrementing ID, preventing ID collisions and simplifying the token minting process.

View on GitHub

Callback Functions

FunctionDescription
updateTokenIdERC1155Callback function to update the token ID for ERC-1155 tokens. Generates a sequential token ID if the provided ID is max value and returns the next token ID.

Fallback Functions

FunctionDescription
getNextTokenIdReturns the next token ID to be used for minting.

Required Interfaces

InterfaceID
ERC-11550xd9b67a26

Supported Interfaces

(No supported interfaces for this contract)