Aave.

Post

Share your knowledge.

Aaveator.
Feb 07, 2023
Expert Q&A

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
Share
Comments
.

Answers

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

Do you know the answer?

Please log in and share it.

We use cookies to ensure you get the best experience on our website.
More info