Skip to content

omoussa13/simple-arbitrage-rs

 
 

Repository files navigation

Reimplement Simple Arbitrage in Rust

Example

Stack

Arbitrage Logic

  1. Find TKN/ETH pairs that exist in several Dexes.

  2. Update those pairs reserve using getReserve from UniswapFlashQuery.sol

  3. store reserve in Reserve struct WETH should always be reserve1

  4. calculated buy_price and sell_price

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 90.3%
  • Solidity 9.7%