Yam Finance: A not-so-sweet potato

By cryptouf | Les cryptos pour les nuls | 13 Aug 2020


You may have been watching closely the last episode in the series of exploding DeFI protocols. Or you saw it go by without even realizing it or really understanding it. Here is a little summary of the epic (or not) epic of YAM Finance.

 

381c73946f6f55bb06f1745aa35b1e4fd761c2d2f3f018005334b0ba83a39660.png

 

It all started Tuesday at 7:00 PM UTC. The protocol distributes the governance token $ YAM. To obtain these $ YAM you must be a liquidity provider (LP for Liquidity Provider). This consists of staking one of the following 8 tokens: ETH / AMPL Uniswap v2 LP tokens ,, LEND, LINK, MKR, SNX, WETH, YFI, SNX and COMP

0ab524a0961701b383fa2bd9e5adfa582b88eb01febcc042e0fda15d79c44a27.png

The response to the announcement of this new protocol has been incredible with over $ 550 million blocked in less than 24 hours.

a3437c0a6446ad848de4726740618bc5f1a7597495d04156b288d6b4616df7b5.png

 

If you didn’t see this project go through, you probably saw a huge pump for the majority of tokens that could be staked to get $ YAM.

If you use the Ethereum blockchain you have also surely observed the incredible increase in the price of gas.

2a8b8c86485c2531689bff0e1edd5cbba75f69655467193dde4f3e1042a39f94.png

 

Everything was going for the best and the protocol was a huge success despite some big black spots:

- Experimental protocol

- The $ YAM is a governance token without values (in theory)

- Elastic supply like Ampleforth, which tends to reach the value of $ 1

- No audit performed

The positives were as follows:

- Automatic purchase of yCRV for storage in the treasury

- Fork of the Compound governance module This ambitious project was a meeting between Ampleforth and more classic projects such as Curve and Yearn. To put it simply, at each rebase, part of the $ YAM generated would be used to buy yCRVs and thus reward the LPs. The use of accumulated yCRVs had to be decided by users through the governance token $ YAM. Because yes, let's not forget the $ YAM is initially only a governance token!

716918ecd95e90201d6a84466b674974efdf3cd3af66b3a51a71eeda64a9a4dc.png

1st rebase

The 1st rebase went well. As always with an elastic supply protocol, people have yelled at Scam, not understanding how it works ...

Turning

The developers then discovered a bug in the code. To put it simply, the next rebase would generate too many $ YAMs and then it would no longer be possible to meet the minimum quotas to be able to manage the governance of the protocol. In other words, the governance of the project was no longer going to be possible. And so the purchased yCRVs were going to be lost.

A responsive community

It was therefore necessary to react very quickly because the next rebase had to take place less than 7 hours after the discovery of the bug. The developers have therefore launched a call for users to delegate at least 160,000 YAM in the governance system in order to modify the protocol's smart contract.

 

d70454a4a500d706e276fdcaba81fe5b2c5f934b6c9d28fc450e1835ed9e9b3a.jpeg

This quota has been reached and a governance proposal has been implemented. Unfortunately a bug in the runtime occurred and this did not correct the original bug.

 

Take home message

 

This failure tells us a lot about what is happening in the Challenge at the moment. First of all, you have to be very careful. This kind of unaudited protocol is a double-edged sword.

Everything can work properly and the profiles can be there. But everything can go wrong and you can lose everything in a few seconds. Everything went very, very quickly. Most users have certainly made it a sleepless night to stay informed and react accordingly. This is not for everyone.

As said above, the price of gas has exploded and the price for a quick transaction has climbed to 400 gwei. Some users have therefore lost a lot in transaction fees, because they had to staker, claim their rewards, delegate and then withdraw their stake… This could very quickly amount to a few hundred euros just for transaction fees.

The more cautious therefore did not necessarily lose everything, apart from these costs and perhaps some temporary losses if they bought the tokens that it was possible to staker. Because the latter have been dumped following the failure of the YAM finance protocol. The biggest losers are those who bought $ YAM without farming it and couldn't sell it back before the rebase. Or the people who put their $ YAM in the Uniswap pool despite the developers' warnings. Greed has its weaknesses ...

But there are still some great things to take away. The community has been incredibly responsive, and users haven't been shy about paying huge fees to save the protocol.

A Fork and a V2 version are already in the pipeline with the support of major players in the Defi to help correct the bugs in the protocol. A scholarship on Gitcoin is also considered to finance an audit. We will definitely be seeing the sweet potato again in a few months. In the meantime, be careful and educate yourself before embarking on such projects.

How do you rate this article?


16

1


Les cryptos pour les nuls
Les cryptos pour les nuls

Un petit blog en Français pour les personnes souhaitant découvrir ou approfondir leur connaissances sur l'univers des cryptomonaies

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.