Кабинет
Curious facts from Michael@Curve

Curious facts from Michael@Curve

Writing my takes on DeFi and everything here, sometimes spicy Curve official chat: https://t.me/curvefi CRV social chat: https://t.me/crvtraders Этот канал на русском: https://t.me/michael_curve_ru

Юзернейм
@michael_curve
Подписчики1 218
Просмотров на пост, 7 дн.—за 7 дней
ERR39,33 %в среднем за 30 дней

Новые посты

#118Фото
Просмотры360−25%к среднему
Пересылки—
Реакции18
Комментарии—
#117Превью ссылки
Просмотры598+25%к среднему
Пересылки—
Реакции14
Комментарии—
#115Превью ссылки

In his recent interview, Andre Cronje weighted heavily (https://x.com/therollupco/status/2078961843008397433?s=20) in favor of smart contract upgradability, contrary to what he said before. For context: Andre was one of the people who ignited the DeFi summer in 2020, started a bunch of projects (including Yearn) and invented ve(3,3) variant of ve-tokenomics launched in Solidly, now used by Aerodrome. Is he right to bash on immutability? I think no, very wrong. Smart contracts can be hacked if mistakes were made - you know that. But having them upgradable means a possibility of a *hack by modification*. Especially if your upgrades are controlled by an EOA or a multisig, not a DAO. Smart contracts are not large in size, so one *can* secure them in a bullet-proof way. If you are not sure - you can (and should) apply formal verification - it is about to become much more accessible than before (again, thanks to AI). If you are *still* not sure - make an ability to freeze a smart contract so that everyone can just do some sort of a safe withdrawal via the simplest possible route, so you have an emergency plan in case you have some issue detected. If you are a dev - use immutability as your way to protect from all sorts of key compromises or infrastructure compromises, simialar to what LayerZero experienced with Kelp bridging. Immutability is your friend, not enemy. Andre is wrong. 🥳 Curve's UI | ✈️ Telegram Chat | 🤟 Twitter/X 🛸 China Chat | 📱 YouTube | 📱 Discord

Открыть в Telegram
Просмотры1 600+234%к среднему
Пересылки—
Реакции28
Комментарии—
#112Превью ссылки
Просмотры1 560+226%к среднему
Пересылки—
Реакции29
Комментарии—
#111Текст
Просмотры1 460+205%к среднему
Пересылки—
Реакции22
Комментарии—
#110Превью ссылки
Просмотры1 490+211%к среднему
Пересылки—
Реакции22
Комментарии—
#107Текст

Observing the hack which happened yesterday to rsETH, which caused a serious contagion at Aave. Wow, it's a lot to unfold. First of all, looks like there is no exposure of Curve or Yield Basis to either rsETH or Aave problems. But this all of the issue started with LayerZero which is relied upon by crypto with quarter of a trillion in value. How? Let's have a look. Kelp's rsETH uses a LayerZero bridge. The bridge allows to transfer rsETH to/from other chains. Minting of rsETH can only happen on Ethereum, and all the rsETH on non-Ethereum chain are backed by mainnet-rsETH kept in the bridge. On LayerZero one can choose so-called DVNs. DVNs are nodes which essentially bring a message from another chain. 2-of-3 DVN configuration would mean that two DVNs should agree on the fact that "give 100'000 rsETH to Eve" is exactly what was requested on another chain. And here's the problem: rsETH has a 1-of-1 DVN configuration: just one DVN (although it's the main LayerZero DVN) is used and fully trusted. So it approved a message which allowed to give the hacker all the rsETH in the bridge, although it was never sent on the source chain (Unichain in this case). As you probably heard, 1-of-1 configuration for multisigs is kinda unsafe. Same with DVNs. But this was THE official LayerZero DVN - how could it approve a wrong message? Was it hacked? Was it fooled? We don't know. But things can happen when you trust one single party - whoever that would be. So ok, the hacker fooled the official LayerZero DVN to give him a lot of rsETH. What's next? The most profitable for the hacker appeared to supply rsETH on Aave and borrow all possible ETH there. And Aave was left with rsETH which cannot be really sold and maxborrowed ETH, so no one can withdraw ETH. Potentially 300m-sized bad debt. Maybe not - technically those are still backed, but bank run on Aave is happening. So which conclusions could we make from this? * Non-isolated lending like on Aave is very risky (although it's the most capital efficient!). Aave v4 with hub-and-spoke model is probably less risky. Morpho also. And lending on Curve, as well as Silo, is probably the most isolated -> safest in that regard. * Lending protocols are riskier than DEXes to supply funds. USDC/USDT pool on Curve has only exposure to the two assets in the pool, Aave has exposure to all asset added there. * Asset onboarding on lending protocols should be looked at more carefully. 1-of-1 DVN configuration on rsETH is really a miss: this should have been upgraded to at least 2-of-2 before onboarding. * Cross-chain is hard and potentially risky. Only use cross-chain infrastructure when absolutely necessary, and do it REALLY carefully. In any case, I think DeFi will learn from this incident and become stronger than before. Crypto is a harsh environment which no bank would have survived - yet we are working with that. Permissionless infrastructure requires extraordinary efforts to be safe - and we are doing those efforts!

Открыть в Telegram
Просмотры1 780+272%к среднему
Пересылки—
Реакции57
Комментарии—

Все посты