✔️Interest Rate Model
Overview
InterestRateModel Interface
solidityCopyinterface IInterestRateModel {
function isIrm() external view returns (bool);
function borrowRate(MarketConfigs memory marketConfigs, Market memory market) external returns (uint256);
function borrowRateView(MarketConfigs memory marketConfigs, Market memory market) external view returns (uint256);
}Key Functions
Creating a Custom IRM
Registering and Using a Custom IRM
Important Notes
Last updated