This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Description
Hi guys,
I requested several flashloans in the past, but I have a weird behavior here.
When I request a flashloan for the renFIL token, call fails on the aToken contract (aRENFIL: 0x514cd6756CCBe28772d4Cb81bC3156BA9d1744aa);
Pool invokes the aToken at line:
|
IAToken(aTokenAddresses[vars.i]).transferUnderlyingTo(receiverAddress, amounts[vars.i]); |
Then it fails at line:
|
IERC20(_underlyingAsset).safeTransfer(target, amount); |
I get this error:
Error: VM Exception while processing transaction: reverted with reason string 'SafeERC20: low-level call failed', data: Some(Object {"data": String("0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000205361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564"),
"message": String("Error: VM Exception while processing transaction: reverted with reason string 'SafeERC20: low-level call failed'")})