Saturday, May 14, 2022

The Algorithmic Stablecoin UST Collapses - A Perfect Storm or a Financial Hunt?

The Algorithmic Stablecoin UST Collapses - A Perfect Storm or a Financial Hunt?

In this unprecedented crypto storm, Terra, the second largest economy in the world of decentralized finance, completely failed on May 3. Terra's market value has dropped from about $25 billion to less than one billion dollars in the five days after May 8. Terra’s main currency, Luna, fell from the original $80 to 0.00005, basically returning to zero. The Terra blockchain has been temporarily closed, and the algorithmic stable currency UST fell to $0.17.

https://preview.redd.it/pllyrkd9uez81.png?width=869&format=png&auto=webp&s=afcdcf94723b19e2f9348e39245fd8163857b394

In our previous analysis " Will LUNA really fall into a death spiral, as predicted by on-chain analysis on May 19th last year and May 10th this year?" The reasons for the Luna death spiral were introduced in detail. But was this event really just an unpredictable perfect storm? Or a long-planned financial hunt? There are also a lot of issue need to be discussed, but more are subjective guesses. Let us analyze objectively together, let the clues speak, and let the data speak.

1. Restoration and analysis of the UST death spiral event

Two different voices in the market had accompanied the creation and development of UST. Those who support it think it is a "jihad" to defend freedom, while those who reject it think it is a huge "Ponzi scheme," one that will ultimately destroy an entire crypto world.

Objectively speaking, both views have their own basis. From the first day of UST's birth, there is a sword of Damocles hanging on its head. This sword of Damocles is not UST/Luna's stability. mechanism, but rather the liquidity and pressure-bearing capacity of UST. If the liquidity of UST reaches a certain level, it will be difficult to beat (more than 4 billion US dollars), so UST, including other algorithmic stablecoins, is a game of confidence in itself, winning by confidence and losing by confidence.

(1) 84 million to break the balance: LFG's first mistake and the first doubt of a premeditated attack

Like most stablecoins, the central battleground for the 1:1 peg between UST and the U.S. dollar is the decentralized stablecoin exchange Curve. Previously, the peg between UST and the U.S. dollar was mainly based on the UST-3Crv pool on Curve. Since March, preparations have been made to create a $4 billion UST+USDT+USDC+FRAX 4pool on Curve).

On May 8, LFG’s pool address (0x6a97B6) withdrew $150 million in UST liquidity from the UST-3Crv pool.

https://preview.redd.it/toz7wsiauez81.png?width=869&format=png&auto=webp&s=62445fd68271f48181392115bc0bb900e781c12e

This address has been actively participating in the Luna and UST ecosystem after receiving initial funding from Coinbase from December 11, 2021

This withdrawal of funds, although Terra was preparing for the construction of 4pool, also directly reduced the liquidity in UST-3Crv to about $700 million. According to Curve’s liquidity mechanism, if someone uses half of TVL’s UST (more than 300 million) to exchange for 3CRV (3pool), the UST liquidity in UST-3Crv will be exhausted and will return to zero in a short time.

About 10 minutes later, a new address (0x8d47F0) that was only active on May 8 sold more than 84 million UST to UST-3Crv, causing UST-3Crv to lose its balance. This address was only activated 5 hours before the attack, and the new address was activated to hide the identity and transfer a large amount of funds. This is the first doubt (we know that the address of the giant whale is generally protected by mechanisms such as hardware wallets and multi-signatures. New addresses are enabled, and large transactions usually do not occur immediately).

https://preview.redd.it/e39kgdfbuez81.png?width=869&format=png&auto=webp&s=d7624ac78ed0240309cbd3ecb0398c52ed0bef60

https://preview.redd.it/ykkyqywbuez81.png?width=869&format=png&auto=webp&s=e3290ac4c617ff7ed298e2f7e31041b5873a2c28

After realizing that UST-3Crv was out of balance, LFG withdrew 100 million UST from UST-3Crv through another fund pool address (0xe89DA2) to restore the balance of the liquidity pool without immediately replenishing liquidity.

https://preview.redd.it/qv8u84kcuez81.png?width=869&format=png&auto=webp&s=c98094bf200241f30d1ff6485037dd3752cd4eb1

This leads to a further drop in the liquidity of UST-3Crv to around 500 million, and it only takes more than $200 million to deplete the UST liquidity. This was the first mistake LFG made.

(2) Save the market: LFG made the second mistake and the second doubt

After LFG withdrew 150 million and 100 million in a row, Terra's opponents, including Polygon's Chief Security Officer and various KOLs, publicly expressed their doubts about LFG's two withdrawals.

There are many rumors swirling in the market, and the voices questioning LFG's cash flow are numerous. Although Terra creator DK quickly claimed that the first 150 million has been held to prepare for 4pool, and the second 100 million has been held to balance liquidity, the market is currently skeptical about UST and Terra.

We conducted sentiment analysis on the Twitter messages about UST (50,000 pieces) 3 hours after the incident, and found that 78.32% of the messages were both questioning and negative, but historically the tweets supporting UST and questioning UST tended to tend to In the state of reciprocity, it can be seen from the data that the trend of public opinion has completely changed, and the balance is being quietly broken. This is the second doubt. Someone is manipulating or guiding public opinion.

The change in public opinion has led to the deterioration of market sentiment. Since May 8, giant whales have been selling UST continuously, and the selling pressure of UST in the market has increased sharply. LFG sells ETH in the market through market maker Jump Trading and buys back UST until the address is exhausted. At this time, LFG has already committed the second fatal mistake: starting the bailout without a strategy. The lack of strategy is reflected in two aspects. On the one hand, a single address has exhausted funds to save the market, causing LFG to sell its assets to recover. Everyone is analyzing how much wealth LFG has. In one calculation, there are only more than 70,000 bitcoins (2 billion), and UST is on the market. There are nearly 18 billion, which is simply unacceptable; on the other hand, the market public opinion has not been corrected in time. You may ask, what should I do if the selling pressure increases? Just buy it back calmly and leave no trace, and do positive PR to let everyone know that the market is solving the problem by itself.

Who to save? Only those who are ill and have problems need to be saved. The loss of market confidence was the real culprit that dragged UST into the abyss, and it was all of LFG's own making.

(3) LFG made the third mistake and raised the third doubt by selling BTC.

Due to the loss of confidence and the spread of panic, the 18 billion UST held in Anchor began to be dumped on the market after the de-anchoring incident on May 8.

https://preview.redd.it/900n7o2iuez81.png?width=865&format=png&auto=webp&s=1408b50581a6e5e4d7613bddb008b9f0d3225d92

LFG officially announced the use of $700 million in Bitcoin reserves to maintain the stability of UST. However, there are 18 billion USTs in the market, 7 to 180, the market fear is further strengthened, and everyone starts to "run for their lives". Maybe DK also noticed that the funds were not enough, and sent a tweet: "More funds are being mobilized", you must know that more than 70,000 bitcoins have been prepared since March, and the $18 billion LFG will not be available in a short period of time. It may be raised, which is equivalent to telling everyone to speed up the "escape".

https://preview.redd.it/dhfd0iyduez81.png?width=865&format=png&auto=webp&s=f479419f0a7c99791a59be60d77eb1e5266b3dcb

But $700 million of bitcoin was thrown into the market, causing the bitcoin market to plummet, and the market began to liquidate in a series, including Luna, and more people began to sell UST and Luna. This is the third mistake LFG made. By May 10, LFG realized that the strategy of selling Bitcoin was a failure, and the market could not handle it at all, and began to stop saving the market and let the market develop.

In this round of UST sell-offs, we found a third suspect. A new address (0x59964a), which was also activated on May 8, started reverse operations after the May 8 event, and absorbed more than 600 million UST in the market.

https://preview.redd.it/hjwafjgeuez81.png?width=869&format=png&auto=webp&s=c062f6def9cc4efbe898be55b6d903647f061673

Then on May 10 and 11, there was a one-time sell-off of 588 million USTs and nearly 30 million USTs, correspondingly.

https://preview.redd.it/es0qjybfuez81.png?width=865&format=png&auto=webp&s=c8466f16e1fd1710dbf91b0ec6f275524a959578

It can be said that the sell-off of this new address on May 10 made the severe de-anchoring of UST on May 10 inevitable. In fact, on May 10, the lowest point of UST fell to 0.6, which was seriously de-anchored, and LFG had used most of their reserves and almost ran out of ammunition and food. The subsequent process and results can be imagined.

https://preview.redd.it/gritj28guez81.png?width=869&format=png&auto=webp&s=bf000287e7fd9fa04976d46e72648bb526dbe946

2. Is it a Soros-style financial attack? Is it profitable?

The above three doubts make us have to suspect that this is a long-planned Soros-style financial attack (if you do not know the operational logic of the Soros attack, you can check it out on the Internet, and I will not repeat it here), and the market is also full of With this kind of voice, capital is profit-seeking. If it is financial hunting, it must be profitable. If this incident is an attack, has the attacker made any money?

There are many voices in the market saying that some institutions raised 10w bitcoins for this attack. We use 10w bitcoins to estimate how much the attacker can gain if the incident is a financial attack.

1) Ambush: Assuming the attacker's 10w bitcoins created a short position on March 22, when LFG started to accumulate bitcoin, the bitcoin price on March 22 was about $42,000, equivalent to a $4.2 billion short position in bitcoin. The attacker will be rewarded if the price of Bitcoin drops. (And, since March, Bitcoin has begun to show signs of weakness, decreasing the risk of shorts to some extent.)

2) Waiting for the opportunity: With the impact of the Fed’s interest rate hike, the Russian-Ukrainian war and other factors, the cryptocurrency market continued to decline, and the attacker’s attack time gradually began to mature.

3) The time is ripe: the attackers set LFG to deploy 4pool to raise a large amount of funds from the existing liquidity pool as an opportunity to monitor the dynamics of LFG at all times. When the news is received on May 8 that LFG will start to allocate funds, it will start to transfer funds from Binance. $84 million was removed as attack principal to prepare for attack. On the same day, LFG moved out 150 million UST as scheduled and launched the attack 10 minutes later.

4) Attack strategy: smash UST and influence public opinion. On May 8th, 84 million USTs were temporarily de-anchored and affected public opinion. On May 9th, market sentiment and UST dynamics were continuously observed. When a large number of giant whales were found to sell UST or extract UST from Anchor, the attack strategy took effect (if If there is no market panic, continue to go back to the previous step and wait for the opportunity).

5) Fatal blow: The attackers began to use another 600 million US dollars to absorb the UST thrown from the market and prepare for the fatal blow. On the morning of May 10th, the attacker threw the UST to a low of 0.6. Anchor, market confidence was defeated.

6) Take the money and leave: After that, the attacker only needs to wait for LFG to use the more than 70,000 bitcoins in the reserve to save the market, wait for the bitcoin to plummet and profit from the 4.2 billion bitcoin shorts (not the attacker here for the time being) Whether part of the funds shorted Luna).

Principal: 4.2 billion shorts + 84 million attack start-up funds + 600 million attack reserves, nearly $4.9 billion (if the $600 million UST smashing is not an attacker's behavior, but a market behavior, the principal is 4.3 billion).

Cost: According to Curve's fee mechanism and fully consider the price fluctuation of UST during the attack process. 84 million is calculated at 1%, the first attack cost is 840,000; the second 600 million US dollar attack cost is calculated at 10%, and the cost is 60 million US dollars (if 600 million is market behavior, the cost here is 0).

Gains: If the attackers closed their positions on May 10 when Bitcoin was at $32,000, the $4.2 billion Bitcoin shorts would have made $952 million in gains.

Summary: Less than 4.5 billion in principal and less than 100 million in attack cost, with a profit of nearly $1 billion. And because of the existence of the UST death spiral, this kind of attack opportunity is bound to appear continuously, and if you seize it once, it will destroy the entire ecology and make a profit.

3. The stablecoin war has just begun

Stablecoins are the liquidity checkpoint of decentralized finance, full of benefits and risks. The stablecoin war has just begun and is far from over:

(1) On May 10th, May 11th, and May 12th, the U.S. Treasury Department kept saying that it wanted to regulate stablecoins, and the SEC claimed that it would investigate the UST project party at any time. UST is a project of the Korean DK, which reminds people of the IMF's intervention and impact on the Korean economy during the economic crisis a few years ago. This should be a wake-up call for any stable currency, how to develop, how to supervise, and think deeply about the value industry and the relevant financial departments of various countries.

(2) Market risk: As institutions continue to enter the market, the crypto market may gradually become a game for professionals and capitalists, and high-level financial games will continue to occur, and high returns will no longer be the norm. Issues that both projects and users have to face and think carefully about.

(3) What should the security mechanism of the stablecoin be: whether it is anchored by real assets like USDT and USDC, or algorithmic stablecoins such as DAI and UST. Are algorithmic stablecoins necessarily insecure? In fact, it is not always the case. Taking UST as an example, if LFG's $4 billion 4pool is completed, it will cost at least $2 billion to successfully prevent it from breaking the anchor. attack, only time will tell. Regardless of the type of stablecoin, the security of the economic model and on-chain risk monitoring and early warning are essential.

About us: Our vision is to improve security globally. We believe that by building this security barrier, we can significantly improve lives around the world.SharkTeam composes of members with many years of cyber security experience and blockchain, team members are based in Suzhou, Beijing, Nanjing, and Silicon Valley, proficient in the underlying theories of blockchain and smart contracts, and we provide comprehensive services including threat modeling, smart contract auditing, emergency response, etc. SharkTeam has established strategic and long-term cooperations with key players in many areas of the blockchain ecosystem, such as Huobi Global, OKX, polygon, Polkadot, imToken, ChainIDE, etc.

Telegram:https://t.me/sharkteamorg

Twitter:https://twitter.com/sharkteamorg

Reddit:https://www.reddit.com/r/SharkTeam


No comments:

Post a Comment