Function: bulkBurn(uint256[] calldata tokenIds, string calldata correlationId)
This function burns multiple tokens in a single transaction by iterating through token IDs, recording owners, and emitting burn events. Only minters can execute this function, and user-initiated burns are blocked.
Inputs
tokenIds
Control: Full.
Constraints: Each token ID is validated via
ownerOf(tokenId)
, which reverts if the token does not exist.Impact: Array of token IDs to burn — allows batch processing for gas efficiency.
correlationId
Control: Full.
Constraints: N/A.
Impact: Used for off-chain tracking and correlation with burn operations.
Branches and code coverage (including function calls)
Intended branches
Negative behavior