Open 0xMelkor opened 1 year ago
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);
renFIL
0x514cd6756CCBe28772d4Cb81bC3156BA9d1744aa
Pool invokes the aToken at line: https://github.com/aave/protocol-v2/blob/0829f97c5463f22087cecbcb26e8ebe558592c16/contracts/protocol/lendingpool/LendingPool.sol#L506
Then it fails at line: https://github.com/aave/protocol-v2/blob/0829f97c5463f22087cecbcb26e8ebe558592c16/contracts/protocol/tokenization/AToken.sol#L314
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'")})
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: https://github.com/aave/protocol-v2/blob/0829f97c5463f22087cecbcb26e8ebe558592c16/contracts/protocol/lendingpool/LendingPool.sol#L506
Then it fails at line: https://github.com/aave/protocol-v2/blob/0829f97c5463f22087cecbcb26e8ebe558592c16/contracts/protocol/tokenization/AToken.sol#L314
I get this error: