@bertcmiller ⚡️🤖 Profile picture
May 24, 2021 15 tweets 7 min read Read on X
Today Flashbots releases v0.2 and introduces bundle merging. That means that Flashbots miners can now mine multiple bundles per block.

A thread digging into this huge release and what that means 👇🏻
Flashbots gives users a way to communicate their transaction ordering preferences to miners via "bundles."

Bundles are groups of transactions executed in the order they are provided. Either the entire bundle is executed, or none of it is.
Bundles are typically very sensitive to ordering: you don't want other transactions to come before you & make a transaction your bundle fail

How did we deal with that sensitivity? We limited bundles included to 1 per block placed at the top of the block
An example arbitrage at the top of the block from the inimitable @mevalphaleak

Today most Flashbots bundles are for arbitrage and sandwiches, with a small but growing liquidation population and a long tail of other interesting things

etherscan.io/txs?block=1249… Image
Since Flashbots launched this has been very successful!

Over 100,000 bundles have been included on chain, leading to more efficient MEV extraction and new profits for searchers and miners. Image
But historically a ton of value has been left on the table. For a given block if you looked at random arbitrage and liquidation bundles they probably don't conflict!

Theoretically you can include both of those bundles in any order at the top of a block.
How many bundles should be included? In what order? How do you figure that out quickly? These are tough questions. Our algorithm for this is here: hackmd.io/@flashbots/cor…

tl;dr sort by profit, try adding bundles in a sequence, build parallel blocks w/ different #s of bundles Image
Today bundle merging went live for the 1st time 🥳

Ethermine mined the 1st multi-bundle block which you can see below. 3 different bundles were included in this block. They came from 3 different searchers & interacted with 6 tokens, and 4 DeFi protocols

etherscan.io/txs?block=1249… Image
The first bundle was a backrunning arbitrage of someone buying Matic using Uniswap v3

The searcher (Ethermine's!) arbed the Uniswap v3 pool back into alignment with the v2 pool. 0.13 ETH profit or so.
etherscan.io/tx/0x21a688cb8… ImageImage
The second was a backrun of this $750k sale of LINK using 0x

A familiar face, @mevalphaleak, arbed this using Bancor and Uniswap v2 for 0.23 ETH profit in total, 0.188 of which went to the miner

etherscan.io/tx/0x4b0903b5d… ImageImage
The last was a sandwich of someone's purchase of DIAMOND ZOOM on Uni v2, getting in front of their buy to drive the price up, and dumping afterwards.

0.054 ETH of profit, 0.046 of which went to the miner
etherscan.io/tx/0xd3301a476… ImageImageImage
Total miner revenue from MEV: 0.372 ETH!

The actual "profit" will be a bit lower due to the opportunity cost of including bundles (missed gas fees), but regardless that's a massive increase in miner revenue per block.

& by the way that gets internalized by stakers in ETH2
Historically each Flashbots block has led to an average of ~0.2 ETH profit - with a big increase lately with market volatility - with the limitation of only including one bundle.

We expect that profit per block will see a substantial increase from bundle merging. Image
Lastly bundle merging also opens up the door to regular users getting their transactions included via Flashbots much more often!

Now you are no longer competing with bots to be the only bundle in a block🙂
As always check out our Github to learn more and get involved and thank you to the tireless and amazing Flashbots team who makes all of this possible.

github.com/flashbots/pm

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with @bertcmiller ⚡️🤖

@bertcmiller ⚡️🤖 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @bertcmiller

Nov 26, 2024
Excited to introduce BuilderNet - a big step towards decentralized block building, which shares gas fees and MEV with users and runs on TEEs!

Image
Today 95% of blocks on Ethereum are built by just two parties. This centralization threatens Ethereum's neutrality and resilience.

BuilderNet provides a decentralized, neutral, and open alternative, and the first release is live today. Image
The first release is a big step towards decentralized building by introducing "multioperator" building - where many parties can operate the same builder in a TEE, which users can verify. The initial operators are the Beaverbuild, Flashbots, and Nethermind teams.
Read 10 tweets
Sep 12, 2024
The most vain searcher on-chain and all the ways they flex 🧵
We're looking at 'bigbrainchad.eth' from the dark forest; a bot that exploits contracts the block after they become vulnerable

Beyond the name and the MEV extraction, they flex on chain in a few ways that you might not have ever seen before
To start, all their transaction hashes start with 0xbeef - a flex I've seen any of the other mempool monsters do where they proof-of-work style mine a transaction hash prefix!

So not only do they extract MEV, they also take the time to mine a vanity hash

Image
Read 7 tweets
Dec 6, 2023
A brief thread on a novel MEV searching strategy, where we chase the trail of a mysterious bot backrunning private flow and reveal how they do it.
@blairmarshall pointed out a bot that appears to have private access to user orderflow that was landing bottom-of-the-block blocks on the Flashbots builder. That didn't make sense to me. We don't run backrunning bots! So we investigated.
Here is an example.

In block 18728532 a user makes a trade at the top of the block. They sell about 3 ETH worth of Truebit and it seems using a private mempool too.

etherscan.io/txs?block=1872…

Image
Image
Read 13 tweets
May 10, 2023
jaredfromsubway.eth's alpha and how to stop him
jaredfromsubway.eth is a prolific sandwich bot who went viral a few weeks back

They famously were sandwiching a TON of $PEPE traders and are frequently one of the top consumers of gas on the network

Why are they dominating sandwiches? What's their edge?

Keep scrolling, anon.
FIRST, most MEV bots go from ETH -> memecoin -> ETH, atomically making profit and holding only ETH

Jared holds memecoins and will sandwich memecoin -> ETH trades. There is very little competition for this.

Let's look at an example.
Read 13 tweets
May 2, 2023
Introducing simple-blind-arbitrage: an open source bot that blindly but atomically backruns private transactions from MEV-Share Matchmakers.

github.com/flashbots/simp…
simple-blind-arbitrage works by calculating and executing the optimal arbitrage on-chain.

It only requires the pools to attempt to arb as inputs, and does the rest in a smart contract. Image
How does it know which pools to try to arb? By listening to the Flashbots MEV-Share Matchmaker.

The Matchmaker keeps most tx details private to prevent frontrunning, but it shares the pools users are trading on.

Watch it from your browser here: mev-share.flashbots.net Image
Read 9 tweets
Mar 12, 2023
MEV-Boost payments were at an alltime high yesterday, totaling 7691 ETH (!) which is nearly double the previous ATH of 3928 ETH during the FTX fiasco this fall.

A few statistics on MEV on Ethereum yesterday in this thread

(h/t @nero_eth for the data)
You can't compare stats these 1:1, but the ATH for daily miner profit from mev-geth was 6397 ETH in June 2021. That's the *profit* of running mev-geth vs a vanilla mempool mining client.

A similar metric here would be the difference in payment for validators from running mev-boost or not. There's not a great up to date estimate of this out there I think

You could derive it by looking at the value of the mempool builder we submit (0xa1defa) and the winning block
Read 13 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(