Aave v3 pool.getConfiguration(asset) method error

Expert

Hi guys! Can someone help me with Aave v3 pool.getConfiguration(asset) method? I'm a bit confused with LTV value format. Am I assume right that 16-bit LTV value is Q3.13 fixed point number? First 3 bits before point and 13 bits after? LTV value format is nowhere mentioned in docs, so I go here

Answers 1

This contract gives an example of how to parse the bitmask. You can also checkout the PoolDataProvider contract which will return these value in a more human readable format;