mirror of
https://github.com/autistic-symposium/mev-toolkit.git
synced 2025-05-01 22:36:16 -04:00
502 B
502 B
tricks
example cex + dex
- consider a JIT LP that has ETH and USDC both in a wallet and in a CEX.
- when the LP observes a large ETH -> USDC swap in the mempool, they deploy a LP position on Uniswap, and at the same time submit an ETH buy order on the CEX.
- after both trades, the LP has the same total amount of ETH and USDC as before.
- assuming that the following holds, the LP are also profitable:
fees_DEX + price_impact_DEX > fees_CEX + price_impact_CEX