Aave.

Bài viết

Chia sẻ kiến thức của bạn.

Aaveator.
Feb 17, 2023
Hỏi đáp Chuyên Gia

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
Chia sẻ
Bình luận
.

Câu trả lời

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
Bình luận
.

Bạn có biết câu trả lời không?

Hãy đăng nhập và chia sẻ nó.

Chúng tôi sử dụng cookie để đảm bảo bạn có trải nghiệm tốt nhất trên trang web của chúng tôi.
Thêm thông tin