mirror of
https://github.com/autistic-symposium/mev-toolkit.git
synced 2025-05-01 22:36:16 -04:00
.. | ||
interesting_examples.md | ||
README.md |
sandwiching
tl, dr
-
sandwiching occurs when a searcher identifies a profitable trade in the mempool that will cause an impact on the price of an asset.
-
a searcher buys or sells a calculated amount directly before the large trade is executed and then immediately exits their position after the large order has taken place, banking a profit.
-
the main theme of sandwich attacks is slippage caused by available liquidity in the pool, which is deterministic (trade sizes to frontrun can be calculated, allowing globally maximal profit from sandwich attacks).
-
a softer side of sandwich attacks is on the lens of economic efficiency, on which an order can create a consumer surplus and the absence of a nash equilibrium. the bot operator would love the economic system back.