Hi 👋 Thanks @6eer for your work. Your code looks really promising.
I followed your instructions to deploy the demo environment. I ran ganache successfully (by forking mainnet), created the .env file and also ran
demo_environment.js without issues, but when I either run
bot_flashswap.js I'm getting the following error:
UnhandledPromiseRejectionWarning: Error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.
Can you point me in the right direction or help me find out what is failling?