Interview with a Searcher - with MEV Senpai and Hasu

MEV Actors

Decentralized Finances work b/c their exists incentives to balance out prices, creating efficient markets.

How It Works


Flashbots, open and permissionless, to avoid traders building private relationships with miners for MEV extraction.


(Bundle is a group of transactions that a searcher submits to a miner)

A core role of the relay today is to run each transaction to make sure no ddos-ing on miners happens. They also have a reputation where new / low rep searcher requests go into a low priority queue.

When a bundle is sent to a miner, it’s simulated locally to figure out what the “gas” price is. Workers will take the top bundle and include it in a block.


Uncle blocks as a way of unbundling (or deep re-orgs)…Bundles submitted, gone stale. Put gaurds on contract (require block.hash == desiredBlockHash, for example for sandwich attacks; not applicable to arbitrage bots.


Long tail approaches, don’t submit to flashbots otherwise people can steal the approach. Direct to miners and bloXroute have different properties than flashbots relays enabling different strategies that are not possible on flashbots relay.

MEV Strategies

10 teams that take 80-90% of MEV in those categories on Flashbots…pretty efficient as well.

Miners are in the privileged position that 80-90% profits goes to miners…they could extract value themselves

Cartelization is happening early on on new opportunities, but if it bothers miners they may just extract MEV themselves

Competition/edge seems to be on gas efficieny of contracts. Gas tokens (through selfdestruct) seems to be table stakes. Removing solidity gaurd rails (by writing in assembly) is a growing technique. Space efficient address formats is another technique.

Taking risk (e.g. time risk) is a big opportunity on the table.


Account Abstraction: Able to make transactions from wallet, but pay for them from another wallet. One transaction “sponsors” another by having a coinbase.transfer (or high enough gas payment) part of a bundle that includes a 0 gas payment.

Non-leaking MEV transactions

All these systems are just creating protocols that change the terms on how MEV is extracted. Your never removing MEV, your just changing the terms in which it’s extracted. ~Philip Daian

How it has become harder to sandwich attack on Uniswap V3. Big innovation w/ Uniswap V3 was to concentrate liquidity within price ranges. Users can set tighter slippage, preventing MEV oppourtunities.

MEV Senpai didn’t bother w/ V3 for technical challenges, harder to reason about.

Flash loans add 200-300k gas and 0.09 - 0.3% fee. Very hard to win auction this way. Person with capital always wins out over flash loans.

If you are trading on something for the first time it costs a little more gas than if you have that token already…If you look at top bots they’ll have wallets that have like a thousand tokens and they only have one of each of those tokens.

Using DEXs

Miners are in a priviledged position to extract this value, that’s why it’s called Miner Extracted Value. We are learning today this isn’t true. The person who submits the transaction is in a dominant position as they get to choose who to give it to…why people are calling it “maximal extractable value” instead of “miner extractable value”… We need to build MEV-aware systems.

Short-Term Re-Orgs

In proof of work systems, miners are operating in a probabilistic lottery. Two miners might win at the nearly the same time. Due to network propogation delays you may not have known another party created/sealed this block. As a node you need to decide which of these two block you should append. This is done by taking the one that has more “computational work”. You could mine the block, go back do more computational work, then reveal the block. If you could go back in time many blocks you could take a liquidation someone else got and capture all the MEV from it. Sequence transactions so you can capture lots of MEV. “A time-bandit attack”. Very de-stabilizing.

James Lovejoy, master student - paper on double spending attacks on chains - a big reason why miners don’t double spend small chains/coins is because it would shrink the market for that hash (they see the market in terms of hashes). Miners have a vested in interest in seeing their “hash” succeed. “It’s very unlikely miners would participate in time bandit attacks”

Will be much more difficult to perform these attacks in Eth 2. Nakomoto consensus has one leader that proposes a block and everyone moves to the heaviest chain. With Eth 2, you have one person who proposes a block in a particular block and then there’s an “attestation game” (voting) where different stakers vote on that block which gives a weight to the block. If they attested twice, they’d get slashed by the protocol.

In The Future…