@bertcmiller ⚡️🤖 Profile picture
Apr 10, 2021 13 tweets 5 min read Read on X
So this one is interesting! A bot has been backrunning new token listings, effectively paying premium to miners to buy newly listed tokens before anyone else can

And a new token fought back yesterday, trapping the bot for $200k while benefiting from their buy. Here's how 👇🏻
For weeks this bot has been monitoring the Ethereum mempool for new pairs being created on Uniswap. If it finds one it the bot places a buy transaction immediately behind the initial liquidity. That way they can buy a new token before anyone else.
They've been paying miners huge amounts for the right to do this! You can see here a few of the top Flashbots bundles of all time are from this bot. In total they've paid 340 ETH to miners.

Side note: this is from a dashboard Flashbots is making public soon.
Doing this has been very profitable for this bot. Their initial buys of $100k - $200k will immediately pump the price and then they'll slowly dump at a multiple higher than they bought.

A community member watched and found they made $2m from one of these.
But this forest isn't so dark. These are high profile transactions & the DeFi community is smart.

Someone laid a trap for this bot: they would deploy a new token that would freeze your tokens if a large amount are bought within 3 blocks of the liquidity being added.
Funnily enough this is literally called "LiquidityTrap.sol" and is publicly viewable for anyone on Etherscan
etherscan.io/address/0x491e…
And upon launching their Uniswap pool the aforementioned bot fell for it!

They bought 100 ETH worth of the token - "Kattana" - immediately after listing, thus falling into the liquidity trap. And they paid 68 ETH to the miner too!
It appears to have worked! Whereas the bot would start dumping other tokens a few blocks in you can see the Kattana is still sitting there untouched.
With 67,000+ tokens and a current price of $24 a token these are worth a cool ~6X what they were bought for (obviously less with slippage).
As far as I can tell the only thing the bot can do now is to send all the Kattana to the owner of the contract or sit on it forever.

The nice thing for Kattana is that they got all the benefits of this bot (token immediately pumping!) without the drawbacks (dumping on retail)
It's not clear to me whether this was a targeted trap for this particular bot but with a quick glance Kattana seems to be a real project. No idea what it is though.

Also who knows whether this bot is deterred or not! Ultimately they probably have made many many times more than they lost from Katanna.

And a little after they were caught in a trap they were at it again, this time StonkSwap.
That's the end of this story folks. It's fascinating to watch bots try to exploit other bots (e.g. Salmonella) and projects updating their mechanisms in response to bots like this one.

• • •

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

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
Mar 11, 2023
Brutal & unfortunate. A bad aggregator led to a user getting rekt.

A reason that a competitive MEV market & orderflow auctions are deeply important is that cases like this could potentially be entirely mitigated. The user could be paid back the arb that their wreckage left.
The user's $2m ended up in a Uni v2 pool, which an MEV bot was quick to snatch up for basically nothing of course. They paid a premium to a miner for this $2m but it really wasn't anything (~20 ETH).

The MEV market was strangely uncompetitive in this case. 20 ETH paid to the builder for capturing $2m is an insanely good trade and you'd expect competition to push that 20 ETH much much closer to the value of $2m.
Read 7 tweets
Feb 15, 2023
Introducing MEV-Share: programmably private orderflow that empowers users, redistributes MEV, and takes a step towards decentralized block building

MEV-Share is where transactions and bundles find their perfect match
collective.flashbots.net/t/mev-share-pr…
MEV-Share builds on MEV-Boost by further unbundling the transaction supply chain.

Whereas MEV-Boost enabled collaboration between validators and builders, MEV-Share does the same for searchers and users - empowering users to be paid for their transactions.
With privacy users can bargain for the MEV they create without permissioning searchers. But, programmable privacy allows users to selectively share information to enable optimization and collaboration.
Read 11 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!

:(