> For the complete documentation index, see [llms.txt](https://yupana-finance.gitbook.io/yupana-document-portal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yupana-finance.gitbook.io/yupana-document-portal/developer-space/ytoken-contract-methods/accrueinterest.md).

# accrueInterest

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

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