RiskManager

INIT risk manager contract.

View Functions

CORE

InitCore contract address.

function CORE() external view returns (address initCore);

getModeDebtShares

Get current mode debt shares.

function getModeDebtShares(uint16 _mode, address _pool) external view returns (uint debtShares);

getModeDebtAmtStored

Get mode debt amount without interest accrual. For interest accrual, use getModeDebtAmtCurrent.

function getModeDebtAmtStored(uint16 _mode, address _pool) external view returns (uint debtAmount);

getModeDebtCeilingAmt

Get mode debt ceiling amount. Positions in a mode cannot have a total borrow more than the debt ceiling amount.

function getModeDebtCeilingAmt(uint16 _mode, address _pool) external view returns (uint debtCeiling);

External Functions

getModeDebtAmtCurrent

Accrue interest and get mode debt amount.

function getModeDebtAmtCurrent(uint16 _mode, address _pool) external returns (uint debtAmount);

Parameters:

Returns:

Last updated