Signature
Description
Mintsamount to to. Emits Transfer(address(0), to, amount).
Dev: Reverts with ContractPaused(MINT) when MINT is paused.
Dev: Reverts with AccessControlUnauthorizedAccount when the caller does not hold MINT_ROLE.
Dev: Reverts with InvalidReceiver when to == address(0).
Dev: Reverts with PolicyForbids(MINT_RECEIVER_POLICY, ...) when to is not authorized.
Dev: Reverts with SupplyCapExceeded when totalSupply + amount > supplyCap.
Param: to Mint recipient.
Param: amount Amount to mint.
Access control
MINT_ROLE gates state-changing mint calls.
Policy interaction
ChecksMINT_RECEIVER_POLICY, including during factory initCalls.