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
Комментарии
.

Знаете ответ?

Пожалуйста, войдите в систему и поделитесь им.

Aave is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers.

213Посты230Ответы
Sui.X.Peera.

Заработай свою долю из 1000 Sui

Зарабатывай очки репутации и получай награды за помощь в развитии сообщества Sui.

Мы используем файлы cookie, чтобы гарантировать вам лучший опыт на нашем сайте.
Подробнее