Functions
CCR()
Returns the Collateralization Ratio of the system. (View)
DEBT_GAS_COMPENSATION()
Returns the gas compensation amount for debt-related operations. (View)
DECIMAL_PRECISION()
Returns the decimal precision used in calculations. (View)
PERCENT_DIVISOR()
Returns the divisor used for percentage calculations. (View)
ROOTS_CORE()
Returns the address of the IRootsCore
contract. (View)
addColl
Adds collateral to a user’s Trove.
adjustTrove
Adjusts a user’s Trove by depositing/withdrawing collateral and/or increasing/decreasing debt.
checkRecoveryMode
Checks if the system is in recovery mode based on the provided Total Collateralization Ratio (TCR). (Pure)
claimRewards
Claims rewards for a user from specified Trove Managers.
closeTrove
Closes a user’s Trove.
configureCollateral
Configures a collateral token for a specific Trove Manager.
debtToken()
Returns the address of the IDebtToken
contract. (View)