Aave.

Bài viết

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

Aaveator.
Mar 07, 2023
Hỏi đáp Chuyên Gia

Execution reverted: SafeERC20: low-level call failed when I want loan more than 1k of USDC

I'm using Aave v2 flash loan, i test my contract on goerli, everything is ok, i deployed on mainnet and send 10 USDC to pay fees for loan. In my wallet i have 100 USD of ETH to pay fees transactions. But when i want loan more than 1k of USDC i can't and i receive this error: Returned error: execution reverted: SafeERC20: low-level call failed. Why?

  • Aave flashloan
  • Aave v2
0
1
Chia sẻ
Bình luận
.

Câu trả lời

1
Aaveator.
Mar 9 2023, 13:32

Most times this happens if the token approval/allowance/collateral is not enough. You can debug the TX using tenderly.

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