accrueInterest

params of yAssetParams -> storage upd

Updates totalBorrows, totalReserves, borrowIndex and interestUpdateTime of token from received borrowRate and tokenId.

This entrypoint receives calls only from InterestRate, which address stored inside token.interestRateModel record of contract storage.

Last updated