A debt increase the contract's borrowing capacity gate would reject (MK-002).

Every Trove carries a maxBorrowingCapacity, coll * price / (110 * 1e16) (BorrowerOperations.sol:1323-1328), set at open from the OPENING price, lowered to min(current, recalculated) on a collateral decrease (:879-897), not raised by a price rise or a top-up on the adjust path, and RESET from the current price by every refinance (:1077-1084), which can raise it or cut it (MK-101). A debt increase requires maxBorrowingCapacity >= netDebtChange + debt (:1358-1365), where netDebtChange is the draw plus its borrowing fee and debt is the Trove's debt AFTER updateSystemAndTroveInterest, so accrued interest counts.

Hierarchy (View Summary)

Constructors

Properties

Constructors

  • MK-043. The four numbers are OPTIONAL, for the same reason BelowMinimumDebt's are (MK-017): the pre-send guard knows them and passes them, and mapRevert decodes a revert string and knows none of them. Constructing this with four zeros from the decode path would print four numbers the user never encountered. Absent means absent.

    Parameters

    • Optionalcapacity: bigint
    • OptionalentireDebt: bigint
    • OptionalnetDebtChange: bigint
    • Optionalremaining: bigint
    • Optionalcause: unknown

    Returns ExceedsBorrowingCapacity

Properties

context: undefined | Record<string, unknown>