This article aims to give you a theoretical understanding of MEV in relation to the real-world activities that look a lot like MEV. If you are looking for a more practical walkthrough of MEV, check out this example.
Arbitrage is the opportunity to secure a guaranteed profit by identifying and exploiting an information discrepancy.
Gas is the unit of computation on Ethereum, paid for by the person/entity who generated the transaction.
Payment for order flow (PFOF) is a form of compensation that a brokerage firm receives for directing orders for trade execution to a particular market maker or exchange.
PFOF has become heavily politicized in the last 18 months; I will use an alternate phrase.
Wholesaler Rebate = PFOF
If you'll indulge me, let's walk through an incredibly over-simplified, barely correct history of MEV.
Trad-Fi Ape trades sharp stick for warm cloak |
De-Fi In May 2010, Hanyecz bought 2 pizzas for 10,000 BTC |
Trad-Fi Some Dutch guys needed a venue to exchange "shares" of a "company" they had just created |
De-Fi In November 2018, Hayden Adams deployed the first decentralized exchange: Uniswap. |
Trad-Fi As more activities move on centralized locations, insiders realize they have more info than those trading. They start extracting. |
De-Fi Those who live on-chain notice they can see transactions before they happen. They start extracting. |
Trad-Fi In NYC & Chicago, the world pivots around trading pits. Frantic men scream & make hand signals, all while extracting. |
De-Fi Uniswap exchanges >$1 B per day, the bot swarm becomes so thick that it's rare to see a clean transaction. |
Trad-Fi Automated Market Making firms are founded to capture MEV; they grow into behemoths like Citadel and Virtu. |
De-Fi November 2020, Stephane Gosselin submits a post to Ethresear.ch and changes the game. Flashbots is born. |
The above comparison deserves elaboration.
Both RW Market Making firms and Flashbots capture MEV. However, Flashbots products (generally) pass the captured MEV along to validators. RW firms are profit maximizing corporations.
There is no moral judgment here.
Trad-Fi Market participants (brokers, banks, etc) begin to demand profit sharing. Automated Market Makers (called Wholesalers) begin offering rebates, paid for out of their profit. |
De-Fi KeeperDAO is born. Today it is called Rook Protocol. |
US financial asset trading happens between ~200 transaction aggregators (eg Fidelity or TD Ameritrade) on ~15 exchanges (eg NASDAQ) and many dark pools.
Automated Market Makers (no joke, Dougie Large - CEO of Virtu - uses this term) have built technology that scans all the exchanges, develops price and quotes it back to a transaction aggregator.
Transaction aggregators make their decision based on 1 metric: price improvement.
Citadel, Virtu and the 4-5 others make A LOT of money.
So much that eventually their clients started demanding a cut.
Some brokers (like Robinhood) use they payments to offer free trades.
Some offer better spreads.
Others book it as profit.
As the market matured, so did its expectations of where MEV accrues.
When it was wild and undeveloped, MEV was available to those willing to seize it. Over time, the market institutionalized MEV and began exerting pressure on those institutions to distribute it.
The same paradigm is playing out in crypto.
We are early in the story, but things move much faster.
Flashbots should be understood one of the first institutionalizations of MEV. But true to the De-Fi and crypto ethos, it's immediately distributing MEV fairly.
Flashbots believes MEV rightfully belongs to the Network Layer, and has built a system that reflects that.
Source Material - Twitter Link
Source Material - PDF