Aave.

Publicación

Comparte tu conocimiento.

Aaveator.
Feb 07, 2023
P&R expertos

How to interpret configuration field in a response from the getReserveData view function in Aave v2?

Do you know how to interpret configuration field in a response from the getReserveData view function in Aave v2? I saw the developer documentation, but still dont understand numbers.

An example value for DAI: 18447685933649875181076 doesnt match with what I see on aave UI.

  • Aave Protocol
  • Aave v2
2
1
Cuota
Comentarios
.

Respuestas

1
Aaveator.
Feb 14 2023, 11:49

You can query the ProtocolDataProvider (Aave v2) or PoolDataProvider (Aave v3) to get these fields in human readable format, or check out this file to see how to parse the bitmask directly;

0
Comentarios
.

Sabes la respuesta?

Inicie sesión y compártalo.

Aave is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers.

213Publicaciones230Respuestas
Sui.X.Peera.

Gana tu parte de 1000 Sui

Gana puntos de reputación y obtén recompensas por ayudar a crecer a la comunidad de Sui.

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