Aave.

帖子

分享您的知识。

Aaveator.
Feb 07, 2023
专家问答

Aave v3 pool.getConfiguration(asset) method error

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

  • Aave Protocol
  • Aave v3
0
1
分享
评论
.

答案

1
Aaveator.
Feb 14 2023, 12:29

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;

0
评论
.

你知道答案吗?

请登录并分享。

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