kaymen99 / uniswap-sushiswap-arbitrage

Smart contract for performing arbitrage between Uniswap and Sushiswap
MIT License
64 stars 16 forks source link

Error in Arbitage #5

Open priyankaj1910 opened 1 year ago

priyankaj1910 commented 1 year ago

getting follow error on execution of brownie run scripts/arbitrage.py --network=mainnet-fork

**Transaction sent: 0x39d7490c550c040c4a176bd9f06b0733235214d334092ac88461f8814d3a5c76 Gas price: 0.0 gwei Gas limit: 12000000 Nonce: 14 SimpleArbitrage.makeArbitrage confirmed (Arbitrage not profitable) Block: 16938481 Gas used: 44421 (0.37%)

Exception in Arbitrage : int() can't convert non-string with explicit base**

priyankaj1910 commented 1 year ago

Also I want to do this with a flash loan on Arbitrum and in a single transaction only. Can you help me with same? On Arbitrum I guess I need to use Uniswap v3 ExactInputSingle. Do you have any reference Repo? I am comfortable in Python with Brownie