Aave.

Beitrag

Teile dein Wissen.

Aaveator.
Jan 29, 2023
Experten Q&A

How does Atoken automatically accure its value?

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

  • Aave Protocol
  • aTokens
0
1
Teilen
Kommentare
.

Antworten

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
Kommentare
.

Weißt du die Antwort?

Bitte melde dich an und teile sie.

Wir verwenden Cookies, um sicherzustellen, dass Sie die beste Erfahrung auf unserer Website haben.
Mehr Infos