Aave.

帖子

分享您的知识。

Aaveator.
Jan 29, 2023
专家问答

How does Atoken automatically accure its value?

Hey can anyone tell me how Aave atoken automatically accures its value?

  • Aave Protocol
  • aTokens
0
1
分享
评论
.

答案

1
Aaveator.
Feb 2 2023, 17:24

Each borrowable asset has a liquidityIndex, which is constantly increasing at a rate determined by the amount of interest being paid by all borrowers. Every Aave aToken holder earns interest proportional to their share of the Aave pool, so their real-time balance is

scaledATokenBalance * liquidtyIndex

where

scaledATokenBalance = suppliedAmount / liquidityIndexAtTimeOfSupply

More info.

0
评论
.

你知道答案吗?

请登录并分享。

我们使用 cookie 确保您在我们的网站上获得最佳体验。
更多信息