Aave.

Допис

Діліться своїми знаннями.

Aaveator.
Feb 17, 2023
Питання та відповіді експертів

Is it possible to change oracle price to make test on Aave liquidation?

Is it possible to change oracle price to make test on Aave liquidation. If yes how?

I'm trying with hardhat to impersonateAccount without success someone has a sample code or something?

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

Відповіді

1
Aaveator.
Feb 17 2023, 14:26

You can change the oracle in a fork environment by using the aave-sandbox and impersonating the PoolAdmin to call setAssetSources on the AaveOracle contract

0
Коментарі
.

Ви знаєте відповідь?

Будь ласка, увійдіть та поділіться нею.

Ми використовуємо файли cookie, щоб гарантувати вам найкращий досвід на нашому сайті.
Детальніше