MintableERC721

Description

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

View on GitHub

Callback Functions

FunctionDescription
beforeMintERC721Callback function that checks the mint authorization before minting ERC-721 tokens.
beforeMintWithSignatureERC721Callback 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-7210x80ac58cd

Installation Callback

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