Aave.

Publicación

Comparte tu conocimiento.

Aaveator.
Feb 17, 2023
P&R expertos

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
Cuota
Comentarios
.

Respuestas

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

Sabes la respuesta?

Inicie sesión y compártalo.

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

213Publicaciones230Respuestas
Sui.X.Peera.

Gana tu parte de 1000 Sui

Gana puntos de reputación y obtén recompensas por ayudar a crecer a la comunidad de Sui.