InterestRateModel
Compound's InterestRateModel Interface
Solidity API
getBorrowRate
function getBorrowRate(uint256 cash, uint256 borrows, uint256 reserves, uint256 badDebt) external view virtual returns (uint256)Name
Type
Description
Name
Type
Description
getSupplyRate
function getSupplyRate(uint256 cash, uint256 borrows, uint256 reserves, uint256 reserveFactorMantissa, uint256 badDebt) external view virtual returns (uint256)Name
Type
Description
Name
Type
Description
isInterestRateModel
Name
Type
Description
Last updated

