Config
INIT Configuration contract.
View Functions
whitelistedWLps
Get whether the wrapped LP contract address is supported.
getModeConfig
Get mode's configuration.
If the mode does not exist, then the return values will be Solidity's default values (0 values).
Parameters:
Returns:
getPoolConfig
Get lending pool's configuration.
If the lending pool does not exist, then the return values will be Solidity's default values (0 values).
Parameters:
Returns:
isAllowedForBorrow
Get whether the lending pool is allowed to borrow in the specified mode.
Parameters:
Returns:
isAllowedForCollateral
Get whether the lending pool is allowed for collateral in the specified mode.
Parameters:
Returns:
getTokenFactors
Get token factors for the specified mode and lending pool.
If the mode does not exist, then the return values will be Solidity's default values (0 values).
Parameters:
Returns:
getMaxHealthAfterLiq_e18
Get mode's max health allowed after liquidation with 10^18
precision.
If the mode does not exist, then the return values will be Solidity's default values (0 values).
Parameters:
Returns:
getModeStatus
Get the mode's status.
If the mode does not exist, then the return values will be Solidity's default values (0 values).
Parameters:
Returns:
getModeMaxCollWLpCount
Get a mode's max collateral wrapped LP count
Parameters:
Returns:
Last updated