MintableERC20

Description

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

View on GitHub

Callback Functions

FunctionDescription
beforeMintERC20Callback function that checks the mint authorization before minting ERC-20 tokens.
beforeMintWithSignatureERC20Callback 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-200x36372b07

Installation Callback

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