Aave.

Beitrag

Teile dein Wissen.

Aaveator.
Feb 17, 2023
Experten Q&A

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
Teilen
Kommentare
.

Antworten

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
Kommentare
.

Weißt du die Antwort?

Bitte melde dich an und teile sie.

Wir verwenden Cookies, um sicherzustellen, dass Sie die beste Erfahrung auf unserer Website haben.
Mehr Infos