Aave.

Publication

Partagez vos connaissances.

Aaveator.
Jan 29, 2023
Questions et Réponses avec des Experts

How does Atoken automatically accure its value?

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

  • Aave Protocol
  • aTokens
0
1
Partager
Commentaires
.

Réponses

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

Connaissez-vous la réponse ?

Veuillez vous connecter et la partager.

Nous utilisons des cookies pour vous assurer la meilleure expérience sur notre site Web.
Plus d'infos