Degen Code

Degen Code

Share this post

Degen Code
Degen Code
Smart Contract Arbitrage — Two-Pool Flash Swap
Copy link
Facebook
Email
Notes
More

Smart Contract Arbitrage — Two-Pool Flash Swap

Be Cool, Balance the Pool

Mar 12, 2022
∙ Paid
23

Share this post

Degen Code
Degen Code
Smart Contract Arbitrage — Two-Pool Flash Swap
Copy link
Facebook
Email
Notes
More
Share

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 …

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 BowTiedDevil
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More