Signature
IB20Asset.sol
Description
Mintsamounts[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.
Parameters
Reverts
Access Control
Caller must holdMINT_ROLE. Reverts AccessControlUnauthorizedAccount otherwise.
Policy Interaction
Each recipient must passMINT_RECEIVER_POLICY. Reverts PolicyForbids(MINT_RECEIVER_POLICY, ...) for any recipient that does not.
Example
Usage Example
batchMint inside an announce call to disclose a dividend issuance or additional mint in an announcement:
Announced Batch Mint
Announcement, then one Transfer(address(0), recipients[i], amounts[i]) per recipient, then EndAnnouncement.