mev-toolkit/arbitrage
dr. mia von steinkirch, phd afff511aee
Update README.md
2023-02-07 15:21:12 -08:00
..
mev_bots_wild Update and rename arbitrage/mev_bots_wild.md to arbitrage/mev_bots_wild/README.md 2022-12-20 10:46:43 -08:00
patterns Update spatial.md 2022-12-20 15:08:52 -08:00
README.md Update README.md 2023-02-07 15:21:12 -08:00

🥯 arbitrage


tl;dr


  • since liquidity on-chain is fragmented (thousands of pools don't communicate with each other, each providing quotes for swapping assets in real-time), it creates an opportunity to buy low and sell high across different pools. for example, two DEXes offer a token at two different prices so that a token can be bought at the lower-priced DEX and sold on the higher-priced DEX in a single atomic transaction.
  • due to the nature of the evm's atomic execution, atomic arbitrages are possible (as opposed to tradefi): smart contracts allow the packaging a sequential execution of txs, for a set of conditions. if the conditions are not met, the execution can fail, undoing all the on-chain interactions that just occurred.
eigeiphi's classification of arbitrage types:
  • combination
  • sandwich
  • spatial
  • triangular



in this dir




resources