This contract creates an {ERC20} token with a supply cap and a whitelist-based permission system for minting and burning tokens. Source: src/external/token/ERC20Issuance_v1.sol. Interfaces: IERC20Issuance_v1, IERC7572.

Functions

burn

Burns tokens. Parameters IERC20Issuance_v1.sol#L36

mint

Mints new tokens. Parameters IERC20Issuance_v1.sol#L31

setContractURI

Sets the contract-level metadata URI. Parameters IERC7572.sol#L37

setMinter

Sets the minting rights of an address. Parameters IERC20Issuance_v1.sol#L26

spendAllowance

Spend allowance. Parameters IERC20Issuance_v1.sol#L42

View functions

allowedMinters

Mapping of allowed minters. Parameters Returns IERC20Issuance_v1.sol#L50

contractURI

Returns the URI for the contract-level metadata. Returns IERC7572.sol#L30

isTrustedForwarder

Checks if the given address is the trusted forwarder. Parameters Returns IERC20Issuance_v1.sol#L55

Events

ContractURIUpdated

Emitted when the contract metadata URI is updated. IERC7572.sol#L23

MinterSet

Emitted when the minter is set. Parameters IERC20Issuance_v1.sol#L12

Errors

IERC20Issuance__CallerIsNotMinter

IERC20Issuance_v1.sol#L16