InterestRate contract
Last updated
Last updated
This contract implements InterestRateModel logic and provides methods to calculate supply, borrow, utilization rate.
Common usage is to call view with needed params of type rateParams
where callback is contract entrypoint that receives yAssetParams
.
varF
params multiplied by precision
also, amount
returned to callback is multiplied by precision.
For admin
methods, please look