Aave.

Publicación

Comparte tu conocimiento.

Aaveator.
Jan 29, 2023
P&R expertos

How does Atoken automatically accure its value?

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

  • Aave Protocol
  • aTokens
0
1
Cuota
Comentarios
.

Respuestas

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

Sabes la respuesta?

Inicie sesión y compártalo.

Usamos cookies para asegurarnos de que obtenga la mejor experiencia en nuestro sitio web.
Más información