0x_Todd Profile picture
28 Oct, 8 tweets, 1 min read
1/ 简单说下为什么Cream被盗1亿美金。这次黑客主要从CREAM,Curve和YFI之间找到的机会。当然,要论甩锅,Cream责任要占90%以上。
2/ 本质上是黑客通过闪电贷借了5亿美金DAI出来,然后存到YFI变成了yDAI,又把yDAI存到了Curve变成了yUSD(这是Curve Y池的LP Token,但它价格约等于1美金)。yUSD又反过来存到了YFI变成了yUSD Vault。
3/ 然后为什么说责任在Cream呢?它接受yUSD Vault作为抵押物(嘖嘖面對AC是真的有夠倒貼),但是yUSD Vault这种东西祖传套娃了,价格很难确定。于是Cream说yUSDVault的价格=yUSD.balanceOf(yUSDVault) / yUSDVault.totalSupply。
4/于是乎黑客又搞了一个号,闪电贷借了大量ETH,开始调戏yUSDT Vault这个LP Token的价格。最骚的来了:它通过赎回yUSD Vault获得不少yUSD,然后它强行手动把这些yUSD打到了yUSD Vault合约地址里(经常充错币的朋友应该挺熟悉了/笑)。把Cream定价公式直接整高潮了,使得它误认为yUSD Vault价格翻倍。
5/ 所以黑客也高潮了,因为它闪电贷贷了大量的币全部已经变成了yUSD Vault,yUSD Vault这个东西又暴涨了。所以黑客立刻马上把它们存到CREAM里,紧接着把能借走的都借走了,一把撸光CREAM各种能借的池子。
6/ 在BTC、ETH最吃劲的关口,被黑客搞走了1亿+美金的各种币,你说让大盘怎么涨?
7/ 虽然DeFi和CeFi有别,但我觉得这事和恒大暴雷没有本质区别。恒大是被唯许皮带马首是瞻,所以被许皮带掏空。而Cream则是唯AC马首是瞻,居然连AC发行的LP的LP的LP Token都允许被列入,所以被黑客掏空。恒大是普华没有好好审计资产,Cream则是没有好好审计预言机公式。这是一码事。
8/ 做DeFi一定要严谨!去中心化绝对≠没有门槛。我只敢把钱放在compound、aave和makerdao(虽然里面也已经有些特洛伊木马了,具体哪几个币下次我再详说)。最后送给各位农民朋友和创业者朋友一句话,better safe than sorry

• • •

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

Keep Current with 0x_Todd

0x_Todd 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 @0x_Todd

30 Oct
1/ 看完AAVE最新AIP后,我突然有点想把我的 $AAVE 头寸换成一部分 $RGT 或者 $RGT 的下一代。
2/ 为什么呢?AAVE已经做得很不错了,堪称行业楷模——谨慎上线创新资产,认真下架有毒资产。但是,它仍然避免不了像xSushi这样的特洛伊木马。而且未来DeFi趋势一定是:1.对团队依赖度无限低;2.对新资产包容度无限高。
3/ 有人可能会问,不上架或者不允许创新资产作为抵押物,只允许存借就好了呀。逻辑不对:(1)首先即便某DAO治理再好,但团队仍然大概率能拍板,和团队关系好的资产必能上架(2)即便做到比compound还谨慎,那么你能保证WBTC不出事么?能保证USDT不出事么?不能,除了ETH之外,永远都有更有毒的资产。
Read 9 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

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(