Assessment reports>d3-doma>Threat Model>Function: bulkMint(OwnershipTokenMintInfo[] calldata names, string calldata correlationId)

Function: bulkMint(OwnershipTokenMintInfo[] calldata names, string calldata correlationId)

This function mints multiple ownership tokens in a single transaction by processing mint information for each name, creating tokens, and emitting mint events. Only minters can execute this function, and user-initiated mints are blocked.

Inputs

  • names

    • Control: Full.

    • Constraints: Each name's expiration date is validated via _validateExpirationDate() in _mint().

    • Impact: Array of mint information including registrarIanaId, sld, tld, tokenId, expiresAt, and owner.

  • correlationId

    • Control: Full.

    • Constraints: N/A.

    • Impact: Used for off-chain tracking and correlation with mint operations.

Branches and code coverage (including function calls)

Intended branches

Negative behavior

Zellic © 2025Back to top ↑