Hi I just started to use Solidity and trying to adapt an.example in GitHub for the FlashLoans through AAVE (The Smart Contract is in 6.6 and the source is valid because the dev left hash for loans.in the Kovan Testnet and I mostly find copies of the same code ) however when I deploy it (indicating.the pool address for DAI) and funding the smart contract with DAI but when I invoke the function flashloan I get some error message about Gas fee and if the contract is executed trx will be reverted
Apr 30, 2022, 10:02 PM
I tried also funding the smart contract with more DAI but still get the same error
The source is https://github.com/PavanAnanthSharma/Aave-FlashLoan-using-solidity
Anyone has an idea why it is failling?
May 1, 2022, 10:36 AM