MintableERC1155

Description

The MintableERC1155 contract is a module that provides minting functionalities for ERC-1155 tokens. This module includes features such as minting with and without signatures, and configuration for primary sales recipients.

GitHub
View on GitHub

Callback Functions

FunctionDescription
beforeMintERC1155Callback function that checks the mint authorization before minting ERC-1155 tokens.
beforeMintWithSignatureERC1155Callback function that verifies a minting request with a signature and processes the mint accordingly.

Fallback Functions

FunctionDescription
getSaleConfigReturns the sale configuration for a token, including the primary sale recipient.
setSaleConfigSets the sale configuration for a token, including the primary sale recipient. Requires manager role.

Required Interfaces

InterfaceID
ERC-11550xd9b67a26

Installation Callback

This module uses an installation callback to set up the initial parameters such as the primary sale recipient.