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