Function: mint(address _account, uint256 _amount)

This is the function to mint debt tokens.

Inputs

  • _account

    • Control: Fully controlled.

    • Constraints: No constraints.

    • Impact: The account to which the amount should be minted.

  • _amount

    • Control: Fully controlled.

    • Constraints: No constraints.

    • Impact: The amount of debt tokens to be minted.

Branches and code coverage (including function calls)

Intended branches

  • Function should be called only from borrower operations or trove manager.

Negative behavior

  • Revert if caller is unknown.

Zellic © 2025Back to top ↑