# accrueInterest

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

{% hint style="danger" %}
This entrypoint receives calls only from  [`InterestRate`](https://yupana-finance.gitbook.io/yupana-document-portal/developer-space/interestrate-contract), which `address` stored inside `token.interestRateModel` record of contract storage.
{% endhint %}
