IonLens
Inherits: IIonLens
State Variables
IonPoolStorageLocation
bytes32 private constant IonPoolStorageLocation = 0xceba3d526b4d5afd91d1b752bf1fd37917c20a6daf576bcb41dd1c57c1f67e00;EXTSLOAD_SELECTOR
bytes4 private constant EXTSLOAD_SELECTOR = 0x1e2eaeaf;Functions
constructor
constructor();_getIonPoolStorage
function _getIonPoolStorage() internal pure returns (IonPoolStorage storage $);_toUint256PointerMapping
function _toUint256PointerMapping(mapping(bytes32 => uint256) storage inPtr)
private
pure
returns (mapping(address => StorageSlot.Uint256Slot) storage outPtr);queryPoolSlot
ilkCount
Returns
<none>
uint256
The total amount of collateral in the pool.
getIlkIndex
Returns
<none>
uint8
The index of the collateral with ilkAddress.
totalNormalizedDebt
Returns
<none>
uint256
The total amount of normalized debt for collateral with index ilkIndex.
rateUnaccrued
Returns
<none>
uint256
The rate that has been persisted to storage.
lastRateUpdate
Returns
<none>
uint256
The timestamp of the last rate update for collateral with index ilkIndex.
spot
Returns
<none>
address
The spot oracle for collateral with index ilkIndex.
debtCeiling
Returns
<none>
uint256
The debt ceiling for collateral with index ilkIndex.
dust
Returns
<none>
uint256
The dust value for collateral with index ilkIndex.
gem
Returns
<none>
uint256
Amount of gem that user has for collateral with index ilkIndex.
unbackedDebt
Returns
<none>
uint256
The amount of unbacked debt user has.
isOperator
Returns
<none>
bool
Whether or not operator is an operator on user's positions.
debtUnaccrued
debt
This includes unbacked debt.
Returns
<none>
uint256
The total amount of debt.
liquidity
Returns
<none>
uint256
The total amount of ETH liquidity in the pool.
supplyCap
Returns
<none>
uint256
The supply cap
totalUnbackedDebt
Returns
<none>
uint256
The total amount of unbacked debt.
interestRateModule
Returns
<none>
address
The address of the interest rate module.