Assessment reports>Trillion>Threat Model>burn

Function: burn(uint256 value)

This function burns the tokens.

Inputs

  • value

    • Control: Completely controlled by the caller.

    • Constraints: None.

    • Impact: Amount to burn.

Branches and code coverage

Intended branches

  • Burn the token of a given amount.

Negative behavior

  • Revert if caller does not have MINTER_ROLE.

Zellic © 2024Back to top ↑