The simplest form of smart contract arbitrage is the two-pool flash swap. It’s a good introduction because it’s relatively uncomplicated. On Avalanche there are three major DEX: TraderJoe, Pangolin, and SushiSwap. Each DEX has several thousand pools with two tokens, and these pools are all forked from Uniswap V2 so our calculations and helper functions …
Keep reading with a 7-day free trial
Subscribe to Degen Code to keep reading this post and get 7 days of free access to the full post archives.