Assessment reports>Prisma Finance>Threat Models>getEntireDebtAndColl

Function: getEntireDebtAndColl(address _borrower)

Get the total and pending collateral and debt amounts for a trove.

Inputs

  • _borrower

    • Control: Fully controlled.

    • Constraints: No constraints.

    • Impact: The address of the trove owner.

Branches and code coverage (including function calls)

Intended branches

  • Gets the pending collateral and debt rewards and updates the debt with accrued trove interest.

Zellic © 2025Back to top ↑