Aave.

Пост

Поделитесь своими знаниями.

Aaveator.
Feb 05, 2023
Экспертные Вопросы и Ответы

The implementation of the aTokens issue - continuously increasing the aToken balance in a wallet

Hey everyone, I am currently trying to understand the implementation of the aTokens by reading through notion + github. https://github.com/aave/protocol-v2/blob/ice/mainnet-deployment-03-12-2020/contracts/protocol/tokenization/AToken.sol

What I do not find is the part of continuously increasing the aToken balance in the users wallet. Can someone point me to it?

  • Aave Protocol
  • aTokens
0
1
Поделиться
Комментарии
.

Ответы

1
Aaveator.
Feb 16 2023, 11:01

Check the balanceOf function of the AToken, the scaled balance (the tokens balance at deposit) is multiplied by the normalized income from that particular token reserve. The normalized income grows in every action as time passes if there is Aave flash loans, or repayment income.

0
Комментарии
.

Знаете ответ?

Пожалуйста, войдите в систему и поделитесь им.

Мы используем файлы cookie, чтобы гарантировать вам лучший опыт на нашем сайте.
Подробнее