ERC721ConsecutiveInit
Title: ERC721ConsecutiveInit
Author: David Dada <daveproxy80@gmail.com> (https://github.com/dadadave80)
One-shot initializer for ERC-2309 batch minting: enables the extension from firstId, then mints
amounts[i] consecutive tokens to receivers[i] for each i, emitting one ConsecutiveTransfer per
non-empty batch. Delegatecalled by Lattice.initialize (through MultiInit) inside the diamond's first
initialization, after the base ERC721Init; it must NOT open its own pre/postInitializer. Never
single-mint in that window: after this init the mint reverts ERC721ForbiddenMint, and before it a batch
covering the id counts the token twice. Mint after initialize returns (see ERC721ConsecutiveLib).
Functions
init
function init(uint96 firstId, address[] calldata receivers, uint96[] calldata amounts) external;Parameters
| Name | Type | Description |
|---|---|---|
| firstId | uint96 | |
| receivers | address[] | |
| amounts | uint96[] |