Aave.

Пост

Поделитесь своими знаниями.

Aaveator.
Jan 29, 2023
Экспертные Вопросы и Ответы

How to compute how a withdrawal or borrowing of assets will affect our health factor?

Is there anyway to compute how a withdrawal or borrowing of assets will affect our health factor before making the actual smart contract call?

  • Aave Protocol
0
1
Поделиться
Комментарии
.

Ответы

1
Aaveator.
Feb 2 2023, 16:27

You can compute the new health factor by looping through all supplied and borrowed reserves in Aave Protocol to compute the new collateral balances, borrow balances, and LTV then convert this to HF with this function

0
Комментарии
.

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

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

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