📚
EigenPhi Classroom
EigenPhiTwitterAlertSubstack
  • A Brief Introduction about EigenPhi Classroom
  • Glossary
    • MEV
    • MEV Contract
    • Malicious Token
    • Trading Volume
    • Trading Volume Change%
    • Transaction Profit Distribution (percentile)
    • Arbitrage ID
    • 1D/7D/30D
    • Liquidity Pool
    • Smart Contract
    • Protocol
    • Profit%
    • TFIDF
    • Asset, Liquidation
    • Borrower, Liquidation
    • Liquidator, Liquidation
    • Collateral, Liquidation
    • LTV, Liquidation
    • Liquidation Threshold, Liquidation
  • MEV Types
    • Arbitrage
      • Arbitrage Using 2 Tokens Between 2 Trading Venues
      • Arbitrage Involving 3 Tokens Among 3 Trading Venues
      • Arbitrage Requiring More Tokens and More Trading Venues
      • Arbitrage package
    • Sandwich MEV
    • Liquidation
      • Liquidation transaction with Aave V2 involved
  • Users of EigenPhi
    • Researcher
    • Searcher
    • Retail Investor
  • Communities & Channels
    • Our MEV Daily Report
      • Overview Section of Daily Report
      • Summary Data by MEV Types of Daily Report
      • MEV-Bot Data by MEV Types of Daily Report
      • Hot Liquidity Pools and Hot Tokens of Daily Report
      • MEV Transaction Profit Leaderboard of Daily Report
      • Download And Share Daily Report Data
    • Our Sandwich Daily Report
      • Overview Section of Sandwich Daily Report
      • Sandwich MEV Trends of Last 24 Hours and 7 Days
      • What Were the Sandwich Searchers Capable of Yesterday?
      • The 5 Most Delicious Sandwiches
      • Watch Out When Using These Protocols, Routers, and Proxies!
      • Top Attackers and Victims
      • Download And Share Sandwich Daily Report Data
    • Our Data Sources
    • Our Content and Social Channels
  • EigenPhi's Methodologies
    • Do You Have These Questions When Doing DeFi Trading?
    • 2 Biggest Concerns That Haven't Been Properly Addressed
    • 3 Pillars of DeFi: Structure, Behavior, and Network
    • The EigenPhi Way
    • Why MEV?
    • How EigenPhi Identifies MEV
      • Recognizing Atomic Arbitrage MEV Transactions
        • Implementation
        • A Typical Arbitrage Example
      • Recognizing Cross-Transaction Sandwich MEV
        • Example
Powered by GitBook
On this page
  1. MEV Types
  2. Arbitrage

Arbitrage Involving 3 Tokens Among 3 Trading Venues

PreviousArbitrage Using 2 Tokens Between 2 Trading VenuesNextArbitrage Requiring More Tokens and More Trading Venues

Last updated 2 years ago

Sometimes an arbitrage has to employ three cryptocurrencies that have rates spread among three to make a profit. It requires the to have the ability to discover the opportunities from rate changes in three liquidity pools.

Searcher Alice detects the rate spreads of USDC, WETH, and X2Y2 amid three liquidity pools. Then, she proceeds with the arbitrage as below:

  1. Alice sells 284,427.34 $USDC for 100 $WETH in a liquidity pool--called LP1--on Uniswap with the exchange rate of 1 $WETH for 2,844.27. $USDC.

  2. Alice sells 100 $WETH for 2,082,721.43 $X2Y2 in another liquidity pool--called LP2--on Uniswap with the exchange rate of 1 $WETH for 20,827.21 $X2Y2.

  3. In another liquidity pool--called LP3, Alice exchanges 2,082,721.43 $X2Y2 for 303,670.11 $USDC.

Alice's revenue from this arbitrage is 19,242.77 $USDC. The cost is the gas fees for the three transactions. Assuming it's 0.05 $WETH, an equivalent of 150 USD at the price of the time. And let's presume the exchange rate of USDC and USD is 1:1. In the end, Alice's profit is 19,092.77 USD.

Next, we will examine the arbitrage requires more tokens and trading venues.

liquidity pools
searcher
Triangular Arbitrage