Assessment reports>Origami Finance>Threat Model>amoMint

Function: amoMint(address _to, uint256 _amount)

This function allows the caller with access to mint new oTokens as part of its automated market operations.

Inputs

  • _to

    • Constraints: account != address(0).

    • Impact: Receiver of new tokens.

  • _amount

    • Constraints: No constraints.

    • Impact: The number of tokens that will be minted.

Branches and code coverage

Intended branches

  • amoMinted was increased by _amount.

Negative behavior

  • Non-whitelisted caller

  • _to is zero address.

Zellic © 2025Back to top ↑