1/ TIL that MEV problem is older than #Ethereum itself.

The frontrunning issue was first mentioned on Reddit in 2014: one year before Ethereum first launched!

A short 🧵 on MEV history and it's current state in #DeFi
2/ Reddit user 'Pmcgoohan' discovered the miner frontrunning issue in Ethereum's pre-Genesis draft paper.

He explained what we now call 'sandwich attack' to earn 'an immediate profit.'

'It seems like a big problem to me, and one fundamental to the way ethereum operates.'
3/ Then Vitalik Buterin himself (Just some guy) offered a possible solution.

The full post and comments is an interesting read. History in the making.

Check it here: reddit.com/r/ethereum/com…
4/ The term 'Miner Extractable value' was not mentioned here.

It was coined only in 2019 in a research paper 'Flash Boys 2.0 : Frontrunning, Transaction Reordering, and Consensus Instability in Decentralized Exchanges.'

Read it in full: arxiv.org/pdf/1904.05234…
5/ A year later Paradigm team published their 'horror story' how $12k of supposedly stuck Uniswap LP tokens could be taken by 'ANYONE'.

Essentially 'free money.'

The problem was extracting money without alerting the bots.

They ultimately lost to front-runners though.
6/ A re-match was fought by @samczsun et al., a month later to rescue over $9.6M USD from a vulnerable smart contract without being front run.

This time they succeeded.

The endeavor shared in a blog post finally explained the MEV problem in detail. And how to overcome it.
7/ To put it simply, MEV is possible because transactions are organized by transaction fee, with lowest fee transactions filled last.

These 'waiting to be executed' transactions are visible in mempool, thus bots can front run profitable trades with higher gas fee.
8/ Miner Extractable value was first applied in the context of proof-of-work, but after The Merge it has been rebranded to 'Maximal extractable value'.
9/ There are different opportunities for MEV in DeFi: arbitrage, liquidations, even NFT MEV - to be first in line for buying an NFT.

Yet Sandwitch attack is perhaps the most notorious.
10/ Uniswap, Balancer and Aave are the most MEVed #DeFi protocols.

Arbitrage accounts for 99.1% of all MEV transactions.

And in total $675m USD has been extracted since 2020,

(Flashbots data)
11/ Various solutions are available, like CoW Swap.

It's no coincidence that FTX fund exploiter used CoW Swap, as its Batch Auction and Coincidence of Wants (CoWs) don't need access to on-chain liquidity.

Basically hides transactions from bots.
12/ Other solutions include:

• Flashbots: docs.flashbots.net
• Chainlink's Fair Sequencing Services
• Optimism's MEV Auction

and more...
13/ If you want to dig much deeper, I highly recommend reading @ether_world's research on MEV in DeFi:

etherworld.co/2022/04/05/mev…
14/ Follow me @DefiIgnas for more.

Like/Retweet the first tweet below if you can:

• • •

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

Keep Current with Ignas.lens | DeFi Research

Ignas.lens | DeFi Research 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 @DefiIgnas

Nov 22
1/ Curve just released the Curve stablecoin docs.

The biggest innovation is Lending-Liquidating AMM algorithm (LLAMMA).

So, how does it work?

*I'm learning as I'm writing this thread*
2/ The problem with current CDP (collateral-debt position) stablecoins is that they have to liquidate undercollateralized positions to keep the peg.

Partial liquidations help, but they have two problems:

1. Expose CDPs to bad debt
2. Users get penalized for liquidations
3/ The core idea of crv is an AMM for continuous liquidation or deliquidation.

This Lending-Liquidating AMM converts between collateral (ETH) and a stablecoin.

So when collateral price is high, user deposits all in ETH, but when prices goes down, ETH is converted to USD. Image
Read 9 tweets
Nov 16
1/ Follow DAO forum discussions to find Alpha in #DeFi

You learn about important changes before the general public, and get valuable insight directly from project founders.

So, these are a few live proposals you should know🧵
2/ @paraswap is discussing new tokenomics: PSP 2.0 Renaissance - Social Escrow, Fee Redistribution, and Fairdrop.

PSP 2.0 reduces token emissions, and creates revenue sharing model via Social Escrow PSP.

sePSP rewards users who perform actions beneficial for the protocol & DAO. Image
3/ Those actions include: trading, market making for limit orders, referrals etc.

PSP 2.0 would distribute 80% of the protocol fees to stakers.

(Airdrop will have a separate proposal)

Proposal: gov.paraswap.network/t/psp-2-0-revi…
Read 13 tweets
Nov 15
1/ With FTX gone, Binance is the clear industry leader.

• How big is it?
• How did Binance get here?
• And what does it mean for our industry? 🧵
2/ In the grand scheme of things Binance is still young.

The exchange launched in July 2017, just 11 days after #BNB ICO.

Out of 200M of the total BNB allocation, 50% were sold to the public for $0.15, raising $15M USD in total.

That's 186,566% ROI, if you held it until now.
3/ While Binance is 5 years old, CZ will soon celebrate 10 year anniversary of joining crypto.

CZ began crypto career in 2013 at blockchain[.]info

In 2014 he joined OKCoin as CTO, but left 8 months later citing 'a difference of direction.'

coindesk.com/markets/2015/0…
Read 17 tweets
Nov 9
1/ FTX liquidity crunch in 10 charts:

• Asset withdrawals
• Outflow destinations
• Liquidations

and more 🧵
2/ @cryptoquant_com data shows that $708M USD in stablecoins have been withdrawn since Oct 20.

According to the data, $170M USD is still sitting in FTX exchange reserves.
3/ Nansen Stablecoin Master data shows FTX stablecoin balance at $116M, though.

According to Nansen data, $200M USD in stablecoins have left the exchange in the past 7 days.

Interestingly, it's still less than outflows from KuCoin.

What's happening at KuCoin?
Read 12 tweets
Nov 8
1/ The Stablecoin Wars are heating up.

There are significant changes in the stablecoin positioning that went largely unnoticed.

So, these are the biggest developments🧵
2/ Collapse of Near's $USN and Huobi's $HUSD

USN launched as an algorithmic stablecoin just 7 months ago.

But after UST collapse, USN v2 transitioned to minting USN with USDT.

Yet a '$40M missing collateral gap' appeared due to double-minting and the project was shut down.
3/ Since USN shut down, TVL on Near dropped by 44.7% from $297M to the current $164M.

USN V2 roadmap included plans to back USN with stablecoins and non-stablecoin assets (e.g. NEAR).

Yield to USN holders would have been generated from NEAR staking returns.
Read 22 tweets
Nov 4
1/ What's new in #DeFi?

Every month I follow the money to find out.

Early stage projects that raise during bear markets have a good chance to come out strong into the bull run.

These are the top 3 projects that raised money in October👇
2/ @WuBlockchain reported that there were 71 public raises in October, down 26% compared to the same period last year.

Web3 and Infrastructure fields saw the most deals with #DeFi accounting for only 10 of the deals. Image
3/ In this thread I cover top 3 #DeFi Seed round projects.

'Seed' means that it's a very early stage for supporting projects until they can generate cash of its own.

Note that none of these project have a token yet, but planning to do so soon.
Read 12 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 on Twitter!

:(