Mintable ERC-721

Description

The MintableERC721 contract is an module that provides minting functionality for ERC-721 tokens. It includes features for requesting mints via signatures, setting and getting sales configurations, and managing metadata URIs. This contract ensures secure and controlled minting processes with the possibility of integrating primary sales.

Callback Functions

FunctionDescription
beforeMintERC721Callback function for the ERC721Core.mint function. Executes actions before minting tokens, including verification.
onTokenURICallback function for the ERC721Core.tokenURI function. Returns the metadata URI for a given tokenId.

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.
getAllMetadataBatchesReturns all metadata batches for a token, including the start and end token IDs and their associated base URI.
eip712DomainReturns the EIP-712 domain details.

Required Interfaces

InterfaceID
ERC-7210x80ac58cd

Supported Interfaces

InterfaceID
ERC-49060x49064906