updateInterest
nat -> op(InterestRate.getBorrowRate) -> op(yToken.accrueInterest)
Updates interest rates for passed tokenId
by call InterestRate
contract. Expect callback to accrueInterest.
This and PriceFeed.getPrice methods should be called before Lending methods call in the same block.
Types
Usage
Errors
yToken/yToken-undefined
- token identifier is not assigned to any known yTokens.yToken/cant-get-interestRate-contract(getBorrowRate)
- couldn't findgetBorrowRate
entrypoint ofinterestRate
contact address.
Last updated