RiskManager
INIT risk manager contract.
View Functions
CORE
InitCore contract address.
getModeDebtShares
Get current mode debt shares.
getModeDebtAmtStored
Get mode debt amount without interest accrual. For interest accrual, use getModeDebtAmtCurrent.
getModeDebtCeilingAmt
Get mode debt ceiling amount. Positions in a mode cannot have a total borrow more than the debt ceiling amount.
External Functions
getModeDebtAmtCurrent
Accrue interest and get mode debt amount.
Parameters:
Name | Type | Description |
---|---|---|
|
| mode to get debt amount |
|
| lending pool to get debt amount |
Returns:
Name | Type | Description |
---|---|---|
|
| underlying token debt amount of mode after accrue interest |
Last updated