Assessment reports>Origami Finance>Threat Model>amoBurn

Function: amoBurn(address _account, uint256 _amount)

Allows caller access to this function to burn AMO tokens — but not more than was minted.

Inputs

  • _account

    • Constraints: account != address(0).

    • Impact: The account from which tokens will be burned.

  • _amount

    • Constraints: Cannot be more than _amoMinted.

    • Impact: The amount of AMO tokens that will be burned.

Branches and code coverage

Intended branches

  • amoMinted was decreased by _amount.

Negative behavior

  • Non-whitelisted caller

  • _account is zero address.

  • _account contains fewer than the specified amount of tokens.

  • _amount is more than _amoMinted.

Zellic © 2025Back to top ↑