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

Expert

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.

Answers 1

You can query the `ProtocolDataProvider `(Aave v2) or `PoolDataProvider `(Aave v3) to get these fields in human readable format, or check out [this file](https://github.com/aave/protocol-v2/blob/master/contracts/protocol/libraries/configuration/ReserveConfiguration.sol) to see how to parse the bitmask directly;