Function: batchMint(address[] accounts, uint256[] amounts)
The function mints tokens in a single batch to each address in accounts
, according to the corresponding amount in amounts
.
Inputs
accounts
Control: Fully controlled by the caller.
Impact: Addresses for minting.
amounts
Control: Fully controlled by the caller.
Impact: Amounts for minting.
Branches and code coverage
Intended branches
Check if
accounts
andamounts
's lengths are the same.Mint a batch to each address according to the corresponding amount in
amounts
.
Negative behavior
If
accounts
andamounts
's lengths are different, revert withBatchMint__InputArrayMismatch
.