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
accountsControl: Fully controlled by the caller.
Impact: Addresses for minting.
amountsControl: Fully controlled by the caller.
Impact: Amounts for minting.
Branches and code coverage
Intended branches
Check if
accountsandamounts's lengths are the same.Mint a batch to each address according to the corresponding amount in
amounts.
Negative behavior
If
accountsandamounts's lengths are different, revert withBatchMint__InputArrayMismatch.