The following parameters govern the behavior of the Risk Engine, ensuring the security and efficiency of the protocol. These parameters influence borrowing, collateral management, and liquidation processes across the protocol's pToken markets.
LTV (collateralFactor)
The LTV determines the portion of a user's supplied assets that can be used as borrowing power. Can be read by collateralFactor function.
The Close Factor determines the percentage of a borrower’s under-collateralized position that can be liquidated in a single transaction. Can be read by closeFactor function.
The Liquidation Incentive is the bonus given to liquidators when they repay a borrower’s debt and seize their collateral. This incentive ensures an active liquidation market by rewarding liquidators and can be read by liquidationIncentive function.
Supply Cap
The Supply Cap sets the maximum amount of a given pToken that can be supplied to the protocol and can be read by supplyCap function.
Borrow Cap
The Borrow Cap limits the total amount of a given pToken that can be borrowed and can be read by borrowCap function.
Last updated
function liquidationIncentive(uint8 categoryId, address pToken)
external
view
returns (uint256);
function supplyCap(address pToken) external view returns (uint256);
function borrowCap(address pToken) external view returns (uint256);