1/ THE HORSEMAN OF #DEFICALYPSE IS HERE!

Yesterday #DeFi markets had an irregular day, as the famous trader @avi_eisen, known for very profitable trades, opened a massive $63M short for $CRV Curve token on @AaveAave.

It did not go well. Keep reading.

👇👇👇
2/ Shorting and longing using Aave loans is normal in trading. However, what marks this event special, is that the size of the Avi's position ($63M) was oversized to the relatively illiquid $CRV market.
3/ Aave is an over-collateralised lending platform. For taking a short position, you deposit US dollars (USDC) and take out $CRV. Then sell $CRV to USDC, deposit it to Aave, rinse and repeat.
4/ Aave was Aave v2 on #Ethereum blockchain in this case, soon to be replaced v3, but this detail is irrelevant in this point.
5/ @avi_eisen is known to trade with "size" which means he does really big, and often risky trades. He "telegraphs" these trades publicly beforehand to make sure he gets the most attention (and likely copy trades).
6/ Avi is known to actively look for trades that can break the system because of lenient risk parameters. In trading, this means that the size of buy/sell/loan is so large that it starts to severely affect the underlying asset and market being traded.
7/ Earlier, Avi is suspected to break (and profit) this way by trading against:

Mango lending markets:

cointelegraph.com/news/mango-mar…
8/ Another similar recent trade, might or might not have been Avi, was against GMX perpetual swap markets (trade with leverage DEX)

fxstreet.com/cryptocurrenci…
9/ HOW DO THE @AaveAave SHORTS WORK

And what could go wrong

👇👇👇
10/ Avi opened $63M $CRV short position on Aave against 92m curve tokens (avg price of 0.68 CRV/USD)

11/ It was suspected Avi was trying to break Aave or was attempting to liquidate a large long $CRV position with a liquidation price of 0.27 CRV/USD

12/ However, when people noticed the oversized position there is a chance for "short squeeze," Avi's "liquidation price" is defined by the size of USDC collateral against his CRV loan. If the $CRV price goes below this, the health ratio of the loan goes below 1.0.
13/ To protect the system's integrity, unlike in traditional finance, Aave will liquidate the collateral automatically and immediately with a "margin call". The short collateral (USDC) is traded and the proceedings from the sale are used to pay back (Avi's) loan to the creditors.
14/ Because Avi is short, the $USDC and $CRV roles are reversed compared to what we usually understand as base and quote tokens in short trading.

Avi borrowed $CRV. In a liquidation, the collateral USDC is sold, or $CRV bought, to make $CRV creditors whole.
15/ When the loan gets liquidated, Avi will get to keep the $CRV though. However, because of the risk parameters, the collateral to loan is ratio is over-collateralised e.g. 120% USDC to 100% $CRV, buying CRV this way is cost inefficient.
16/ There is another risk: What if the collateral, despite loan being overcollateralised, cannot be sold fast enough for good enough price to get $CRV to pay back Aave creditors?

In this case what is called "bad debt" will be created.
17/ In Aave, bad debt is ultimately paid by Aave token stakes that will backstop the system.
18/ In a perfectly functioning system with good risk parameters, bad debt should never occur.

However, in this case, Avi's position was oversized to the relatively illiquid $underlying CRV market.
19/ There was a risk that Aave's automatic liquidation system cannot buy enough $CRV to pay back Avi's $63M loaned $CRV tokens, because there isn't simply enough liquidity at $CRV markets.
20/ Doom loop:

Aave liquidation trades USDC to CRV ->

CRV price shoots up ->

Avi's loan health ration gets worse and worse ->

Overcollateral margin exceeded ->

Loan cannot be saved (unless liquidations are stopped and CRV price comes down)
21/ In the bad debt scenario, Aave token holders will pay.

Staked Aave would be liquidated to be used to buy CRV to fill the gap.
22/ This is the "systematic" risk in #DeFi. Something breaks at the critical markets and a large market end up with too much bad debt.
23/ And this is exactly what happened with Mango Markets on Solana earlier. Their $MNGO token lending pool risk parameters where lax, Avi could make a trade that flushed out all liquidity and Avi ended up with high profits.
24/ HOW THE $CRV SHORT DRAMA PLAYED OUT

The #defi hold it together and this was a very, very, good stress test for the market ecosystem overall.

👇👇👇
25/ When people noticed Avi's oversized $CRV short positions, they rushed to buy CRV to squeeze him out.

It was easy, because the position size was so large related to the market size.

theblock.co/post/189167/cu…
26/ Short squeeze happens when trades

1) realise everyone can profit on the expense of someone if they buy a bit more assets

2) people target short sellers from irrational hate

(see /r/WallStreetBets and GameStop saga)
27/ A normal trader would not do this kind of a trade, or would start to reduce their position if a liquidation risk raises.

But Avi is not normal, he is a man of his word, the slayer of ponzi tokens, a trader with size.
28/ Avi was liquidated. He ended up with $63M USDC lost and received 92m $CRV tokens, worth $57M at today's price
29/ A lot of market participants suspected "4d chess" and assumed Avi is actually shorting Aave and is intentionally trying to break the markets, or doing some other trade behind the scenes.

Avi had telegraphed this beforehand

30/ Avi's assumed total on-chain positions were $100M

31/ However despite scratching their head, even the smartest minds of the industry could not figure out how Avi could have profited from this trade.

32/ Aave ended up with $1.3M in bad debt. A minuscule amount, but something was still little broken.
33/ Aave can cover this much of bad debt from interest payments in a short period of time.

The systematic risk realisation is thus avoided.
34/ Aave v3 version is deployed to #Ethereum mainnet soon.

It contains further risk management logic to avoid scenarios like this.

35/ Meanwhile, the currently deployed Aave v2 risk management parameters are tuned through governance proposals to ensure the system integrity and discourage further trades like Avi did.

36/ The fact that nothing broke yesterday reflects the health of good, transparent, #defi markets.

This is opposite to FTX, Celsius, Genesis, etc. TradFi lending markets.
37/ FIN

Interested more of #defi this content like this? Please follow us on Twitter @TradingProtocol and subscribe to our newsletter

newsletter.tradingstrategy.ai

• • •

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

Keep Current with TradingStrategy.ai

TradingStrategy.ai 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 @TradingProtocol

Nov 8
1/ HOW BAD IS THE HOLE FTX HAS DUG ITSELF INTO AND HOW DID THIS HAPPEN?

There are no public facts, only rumours. We can make guesses about how a billion dollar money making machine can fail.

👇👇👇
2/ It seems that FTX.com (not FTX.US) might have borrowed their user assets to Alameda, against their terms of service. Unless this is a misleading paragraph IANAL.
3/ The rumoured hole in the balance sheet of Alameda is $3B - $15B. Currently, there are no public facts on this.
Read 26 tweets
Nov 6
1/ #python in investment banking - some good public stories and comments to explore:
2/ An Oral History of Bank Of #Python (+commentary)

news.ycombinator.com/item?id=291040…

Minerva and Barbaba (even though the blog post does not name the bank, you can find it in the commentary) Image
3/ JPMorgan's Athena is 35M lines of #python

news.ycombinator.com/item?id=209685…
Read 6 tweets
Jun 2
1/ HOW DO BLOCKCHAINS AND STABLECOINS BENEFIT INTERNATIONAL BUSINESS-TO-BUSINESS TRADE TODAY?

A case study on our company doing USD stablecoin payments using blockchains like @avalancheavax for practically free.

A thread.

👇👇👇
2/ There has been a lot of criticism that blockchains do not solve "any" real-world problems. While some of the hype might be oversold, saying blockchains do not solve any real-world problems is plain wrong.
3/ This thread is in the light of the criticism from thought leaders like @ProfHilaryAllen, @markrussinovich, @molly0xFFF - while some of the criticism is welcome, the discussion should be rational and balanced. We present the positive aspects blockchain solves for us here.
Read 55 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!

:(