RiskManager
Last updated
Last updated
INIT risk manager contract.
InitCore contract address.
Get current mode debt shares.
Get mode debt amount without interest accrual. For interest accrual, use .
Get mode debt ceiling amount. Positions in a mode cannot have a total borrow more than the debt ceiling amount.
Accrue interest and get mode debt amount.
Parameters:
_mode
uint16
mode to get debt amount
_pool
address
lending pool to get debt amount
Returns:
debtAmount
uint256
underlying token debt amount of mode after accrue interest