Skip to main content
Related concept

Signature

Description

Mints amounts[i] to recipients[i] in one call. All-or-nothing: any element revert unwinds the whole transaction. Emits Transfer(address(0), recipients[i], amounts[i]) per element. Dev: Reverts with ContractPaused(MINT) when MINT is paused. Dev: Reverts with AccessControlUnauthorizedAccount when the caller does not hold MINT_ROLE. Dev: Reverts with LengthMismatch when recipients.length != amounts.length. Dev: Reverts with EmptyBatch when either array is empty. Dev: Reverts with InvalidReceiver when any recipients[i] == address(0). Dev: Reverts with PolicyForbids(MINT_RECEIVER_POLICY, ...) when any recipient is not authorized. Dev: Reverts with SupplyCapExceeded when the cumulative mint would exceed the cap. Param: recipients Accounts receiving the minted tokens. Param: amounts Per-recipient amounts, parallel to recipients.

Access control

Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.

Policy interaction

No direct policy interaction.

Example