Claimable ERC-1155

Description

The ClaimableERC1155 contract is an extension that provides claim-based minting functionality for ERC-1155 tokens. It includes features for setting claim conditions, validating claims via Merkle proofs, and handling signature-based claim requests. This contract ensures secure and controlled minting processes with the possibility of integrating primary sales.

Callback Functions

FunctionDescription
beforeMintERC1155Callback function for the ERC1155Core.mint function. Executes actions before minting tokens, including validation of claim conditions and signature-based requests.

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.
getClaimConditionByTokenIdReturns the claim condition for a specific token ID.
setClaimConditionByTokenIdSets the claim condition for a specific token ID. Requires minter role.
eip712DomainReturns the EIP-712 domain details.

Required Interfaces

InterfaceID
ERC-11550xd9b67a26

Supported Interfaces

(No supported interfaces for this contract)