Assessment reports>Mantle>Threat Models>setMintCapNumerator

Function: setMintCapNumerator(uint256 _mintCapNumerator)

Sets the numerator for the mint cap.

Inputs

  • _mintCapNumerator

    • Control: Full.

    • Constraints: Needs to be less than MINT_CAP_MAX_NUMERATOR.

    • Impact: New mint cap numerator to be set.

Branches and code coverage (including function calls)

Intended branches

  • Successfully sets the new mint cap numerator if all conditions are met.

Negative behavior

  • Reverts if the newly set _mintCapNumerator is greater than MINT_CAP_MAX_NUMERATOR.

  • Reverts if the caller is now the owner.

Zellic © 2024Back to top ↑