6eer / uniswap-sushiswap-arbitrage-bot

Two bots written in JS that uses flashswaps and normal swaps to arbitrage Uniswap. Includes an automated demostration.
MIT License
586 stars 264 forks source link

Code optimization for less deployment fees #20

Closed oussaki closed 2 years ago

oussaki commented 2 years ago

I've done some optimizations to reduce the size of the contract from 3.4 KiB to 2.13 KiB This reduces the gas fee for deployment by 50%