Aave.

帖子

分享您的知识。

Aaveator.
Feb 07, 2023
专家问答

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
分享
评论
.

答案

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
评论
.

你知道答案吗?

请登录并分享。

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