TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The collapse of the IRON stable coin

434 点作者 parsimoniousplb将近 4 年前

36 条评论

georgyo将近 4 年前
This has always been the problem with smart contracts. They are infact dumb contacts.<p>To program one you need to think about all the edge cases. The programmers here likely did want &gt;0 here. The possibility that the thing feeding price data return zero incorrectly was higher than the price legitimately being zero in their minds.<p>There is no court or lawyer who can interpret the spirit of the contract.
评论 #27540403 未加载
评论 #27542625 未加载
评论 #27540737 未加载
评论 #27544214 未加载
评论 #27541940 未加载
评论 #27546619 未加载
评论 #27544649 未加载
评论 #27542026 未加载
评论 #27547730 未加载
评论 #27543857 未加载
评论 #27544117 未加载
评论 #27542329 未加载
评论 #27545621 未加载
评论 #27543865 未加载
评论 #27544696 未加载
评论 #27549657 未加载
评论 #27540632 未加载
评论 #27546927 未加载
评论 #27545045 未加载
ppeetteerr将近 4 年前
I have never read so much about nothing as I have when reading about some new coin. It&#x27;s worse than a pyramid scheme. At least there, you end up with a decade-worth of skin cream.
评论 #27543256 未加载
评论 #27542340 未加载
aazaa将近 4 年前
&gt; _share_price here refers to the price of TITAN, as provided by an oracle, which is correctly reporting it as… 0 (somewhere in the distance, you can hear a room full software engineers burst into laughter ).<p>Aside from the amusing programming error, the main problem with much of the &quot;smart contract&quot; activity today is that doing anything remotely interesting requires an oracle. An oracle is basically a server that reports the outcome of an event. And servers can be attacked in ways that systems like Ethereum can&#x27;t.<p>So a lot of the hype around Ethereum and its &quot;smart contracts&quot; is really people just misunderstanding the security model. The weakest link is a server in a dorm room or data center reporting a number.<p>Here the oracle is doing the right thing. But it could easily go the other way.
评论 #27546458 未加载
评论 #27549755 未加载
评论 #27546555 未加载
评论 #27545714 未加载
评论 #27545609 未加载
评论 #27545791 未加载
评论 #27577000 未加载
评论 #27546543 未加载
评论 #27545837 未加载
meowface将近 4 年前
Probably a dumb question, but is there any possibility of temporarily getting the price to slightly above 0 in order to let people get their money out? For example, could some group with a lot of money offer to buy&#x2F;sell a bit until the oracle considers it above 0, in exchange for some sort of compensation from the investors or devs?
评论 #27541795 未加载
评论 #27542853 未加载
评论 #27542175 未加载
评论 #27542554 未加载
评论 #27540798 未加载
评论 #27541711 未加载
bombcar将近 4 年前
&gt; Non-collateralized stablecoins require continual growth to be successful. In the event of a price crash, there is no collateral to liquidate the coin back into, and the holder’s money would be lost, as seen with many past projects trying to utilize such design [sic].<p>Isn’t that just a Ponzi scheme?
评论 #27542759 未加载
评论 #27542478 未加载
评论 #27541732 未加载
评论 #27542429 未加载
评论 #27542824 未加载
评论 #27542774 未加载
评论 #27542274 未加载
评论 #27545407 未加载
sashimi-houdini将近 4 年前
I wrote Skepticoin as a serious parody of Bitcoin. Articles like these about the &quot;state of the art&quot; of cryptocurrency make me wonder: would a parody of a more &quot;modern&quot; cryptocurrency even be recognizable as such?
评论 #27540607 未加载
评论 #27544520 未加载
评论 #27540541 未加载
评论 #27540613 未加载
评论 #27541162 未加载
评论 #27541613 未加载
评论 #27543114 未加载
评论 #27544654 未加载
评论 #27540559 未加载
tornato7将近 4 年前
I think Circle is the real winner here. If there are 200 million USDC locked up permanently in some contract, then Circle can safely spend $200m of it&#x27;s collateral knowing it will never be withdrawn. Or, if they were generous, they could return it to the community that invested in IRON (seems unlikely)
评论 #27544700 未加载
评论 #27544818 未加载
评论 #27544752 未加载
ikeboy将近 4 年前
Fwiw the bug was fixed by submitting a transaction to change the oracle to a new contract that just had a fixed nonzero price for titan. Everyone was able to redeem at roughly 74.6 cents.
评论 #27543932 未加载
frgtpsswrdlame将近 4 年前
Interestingly Mark Cuban got taken for a small amount of money by this and is already calling for regulation around stablecoins:<p><a href="https:&#x2F;&#x2F;www.bloomberg.com&#x2F;news&#x2F;articles&#x2F;2021-06-17&#x2F;mark-cuban-defi-iron-finance-crashed-100" rel="nofollow">https:&#x2F;&#x2F;www.bloomberg.com&#x2F;news&#x2F;articles&#x2F;2021-06-17&#x2F;mark-cuba...</a><p><i>I read about it. Decided to try it. Got out. Then got back in when the TVL start to rise back up As a percentage of my crypto portfolio it was small. But it was enough that I wasn&#x27;t happy about it.<p>But in a larger context it is no different than the risks I take [in] angel investing. In any new industry, there are risks I take on with the goal of not just trying to make money but also to learn. Even though I got rugged on this, it&#x27;s really on me for being lazy. The thing about de fi plays like this is that its all about revenue and math and I was too lazy to do the math to determine what the key metrics were.<p>The investment wasn&#x27;t so big that I felt the need to have to dot every I and cross every T. I took a flyer and lost. But if you are looking for a lesson learned , the real question is the regulatory one. There will be a lot of players trying to establish stable coins on every new l1 and L2. It can be a very lucrative fee and arb business for the winners.<p>There should be regulation to define what a stable coin is and what collateralization is acceptable. Should we require $1 in us currency for every dollar or define acceptable collateralization options, like us treasuries or?<p>To be able to call itself a stable coin? Where collateralization is not 1 to 1, should the math of the risks have to be clearly defined for all users and approved before release? Probably given stable coins most likely need to get to hundreds of millions or more in value in order to be useful, they should have to register.</i>
评论 #27540590 未加载
评论 #27544017 未加载
评论 #27547508 未加载
ww520将近 4 年前
Here’s an arbitrage opportunity. Since the price of TITAN is 0, it only takes a small amount of $ to buy a vast amount of TITAN coins. Buy the locked out IRONs at a discount. Keep buying TITAN at $0 until it moves beyond $0 to satisfy the greater than 0 constraint on IRON. Cash out the IRONs.
评论 #27541466 未加载
boomer_joe将近 4 年前
&gt;Non-collateralized stablecoins<p>read: &quot;ponzi scheme&quot;. This is pretty funny.
评论 #27541342 未加载
评论 #27542922 未加载
评论 #27544312 未加载
评论 #27541545 未加载
ipsin将近 4 年前
I found this article interesting, but the HN title (&quot;Off-by-one error...&quot;) doesn&#x27;t match the article&#x27;s, or its conclusion?<p>The article mentions a boundary condition (&quot;_share_price &gt; 0&quot;), not an off-by-one error.
评论 #27544890 未加载
评论 #27544555 未加载
gerikson将近 4 年前
&gt; The developers seem to have been earnest in their attempt to create a new kind of stablecoin , one that was only partially collateralized by a “real” stablecoin.<p>This space is a giant house of cards.
评论 #27541100 未加载
评论 #27544527 未加载
评论 #27540359 未加载
occamrazor将近 4 年前
Now everyone with USDC locked in the contract has a strong incentive to push the TITAN price above 0, in order to unlock their coins. OTOH everybody wants to dump TITAN at any price, but again only at a price &gt;0. There should be an equilibrium where TITAN is valued exactly 1 tick above 0, if there is a concept of “tick” in TITAN.
gruez将近 4 年前
This is good for USDC right? Because it&#x27;s $262 million that they don&#x27;t have to pay back?<p>&gt;EDIT: I’ve since learned that the developer(s?) behind this are already the laughing stock of the DeFi community, having wrecked each of their 3 previous projects (now 4) — though this might be their biggest hit yet<p>And people poured $262 million into this?
评论 #27541363 未加载
评论 #27540460 未加载
评论 #27540713 未加载
评论 #27546216 未加载
runako将近 4 年前
I also enjoyed this writeup:<p><a href="https:&#x2F;&#x2F;www.bloomberg.com&#x2F;opinion&#x2F;articles&#x2F;2021-06-17&#x2F;titanium-got-crushed" rel="nofollow">https:&#x2F;&#x2F;www.bloomberg.com&#x2F;opinion&#x2F;articles&#x2F;2021-06-17&#x2F;titani...</a>
sanderjd将近 4 年前
So, Dai is a stablecoin that by my understanding is collateralized similarly to this one, except that it requires ether (and I believe USDC is also an option). However, its peg held up very well during the recent precipitous drop in the price of ether. I&#x27;m curious if anyone here knows whether that was an algorithmic success in comparison to this, or perhaps just an artifact of people having more confidence in ether.
评论 #27544614 未加载
评论 #27544664 未加载
freewilly1040将近 4 年前
&gt; I’ve since learned that the developer(s?) behind this are already the laughing stock of the DeFi community, having wrecked each of their 3 previous projects (now 4) — though this might be their biggest hit yet<p>What&#x27;s the best DeFi project? One where the value proposition is actually clear, there are actually people using it and it&#x27;s actually at parity or better than a traditional financial system offering?
评论 #27544880 未加载
评论 #27578942 未加载
评论 #27544786 未加载
Dotnaught将近 4 年前
The line of source code cited in the post isn&#x27;t immediately evident in the Iron Contracts repo:<p>require(_share_price &gt; 0, “Invalid share price”);<p><a href="https:&#x2F;&#x2F;github.com&#x2F;IronFinance&#x2F;iron-contracts" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;IronFinance&#x2F;iron-contracts</a><p>Is it in a different repo? Does it exist?
评论 #27542068 未加载
评论 #27541229 未加载
评论 #27542083 未加载
runbathtime将近 4 年前
If a code error that was made that was supposedly &#x27;dumb&#x27; wasn&#x27;t caught that tells me the people behind this acted recklessly. This code error being described wasn&#x27;t just dumb, it was catastrophic- locking up all the collateral. Is this collateral locked up forever, what would make Titan trade above 0? The code wasn&#x27;t even audited, suggesting no care by the devs before release. Doing money transmission without a license is criminal offense- jail and fines in this case are on the table- all it takes is actual enforcement from regulators.
评论 #27541631 未加载
runbathtime将近 4 年前
Does this contract have a money transmission license? Selling an IRON or a TRON for USDC is money transmission. BSA requires money transmitters to be licensed in states where they operate, as well as register with FICEN, etc. How can we enforce them to comply at the state level? Can an individual sue the states to enforce compliance on the people behind this smart contract? Those that have lost money might have an incentive to start wanting money transmission rules actually enforced.
评论 #27542346 未加载
matthewsinclair将近 4 年前
&gt; “which we have unthought of”<p>Someone has to make this into a meme. It will definitely be my excuse for my next multi-hundred million dollar value destroying software bug.
diveanon将近 4 年前
I got burned by this crash.<p>The biggest issue for me wasn’t TITAN itself, that was a risk I considered and had a plan to manage.<p>What really got me was the Polygon network crashing and breaking all of the safeguards I had put in place.<p>There is evidence that a DDOS attack was carried out against Polygon while this was happening, blocks were packed with self transfers for 0 MATIC.<p>This took down rpcs and shot gas fees through the roof, preventing many people from exiting their positions.
评论 #27547761 未加载
leephillips将近 4 年前
Since the price is not an integer, this is not an “off-by-one” error. No? It was the common mistake of writing `&gt;` when `&gt;=` was intended.
评论 #27542353 未加载
评论 #27544533 未加载
wyager将近 4 年前
Stablecoins are stupid no matter how many layers of Rube Goldberg crap the developers slap on top.<p><a href="https:&#x2F;&#x2F;mises.org&#x2F;wire&#x2F;folly-economic-stabilization" rel="nofollow">https:&#x2F;&#x2F;mises.org&#x2F;wire&#x2F;folly-economic-stabilization</a>
biztos将近 4 年前
This may be a stupid question but: is it actually possible to have a price <i>less than</i> zero?<p>TFA suggests that this line:<p><pre><code> require(_share_price &gt; 0, “Invalid share price”); </code></pre> ...should be &quot;greater than or equal.&quot; But if the share price can&#x27;t be negative then you&#x27;d want to just use an unsigned int and not pay for a require statement, right?<p>Isn&#x27;t everyone passing around uint256&#x27;s these days?
评论 #27543705 未加载
api将近 4 年前
I thought of a new framing of cryptocurrency reading this: it&#x27;s a MMORPG for math nerds.
cannabis_sam将近 4 年前
Did these people also write their ”smart contract” in anything resembling JS?
SV_BubbleTime将近 4 年前
&gt; More money has to come in<p>Is there any better description of these coins?
评论 #27547445 未加载
Animats将近 4 年前
TTN is not at 0. It&#x27;s at $0.00206950, which ought to pass what the poster claims is a bad &gt; 0 error test. So what&#x27;s really going on?
评论 #27542328 未加载
cabalamat将近 4 年前
Unstable coin?
lupire将近 4 年前
Why don&#x27;t the IRON holders bid TITAN up to 0.000001 to unlock the IRON $0.75?
spamizbad将近 4 年前
Is &quot;unthought&quot; some trendy positive-vibes-only newspeak for &quot;didn&#x27;t think&quot;? Or just an artifact of non-native english?
cwilkes将近 4 年前
And this is why leetcode is important. Oh they use that in their interviews? They aren’t a true leetcoder then.
h2odragon将近 4 年前
40 years ago, financial innovation involved finding new affinity groups to sell credit cards to (and others I&#x27;m sure but that was a scam I saw firsthand).<p>It wasn&#x27;t any more honest than this; it was just kept quieter with private meetings and less publicity for the collapsed scams.<p>I&#x27;d be looking for the banker-adjacent people in these. The folks that don&#x27;t work for the banks directly, but consult; somehow always seem to have some extra connection to someone at the bank, related, married, side projects...
kemonocode将近 4 年前
I knew crypto detractors were going to have a field day with this one. ;)<p>With DeFi, you&#x27;re simply exchanging one type of risk for another. Without due diligence you&#x27;re pissing your money away- as it is to be expected. And as it was brought up before, this was an unaudited contract that had been running for what, weeks? Months?<p>Personally, I cannot say I understand DeFi deeply enough to get into the intricacies of &quot;yield farming&quot; and such, so I just avoid it altogether. Only have a relatively small amount of USDC and DAI accruing interest on Compound, which has at the very least been audited [0] a few times before, but even if it were to go tits up tomorrow for whatever reason, at least I understood there was that risk.<p>[0] <a href="https:&#x2F;&#x2F;compound.finance&#x2F;docs&#x2F;security" rel="nofollow">https:&#x2F;&#x2F;compound.finance&#x2F;docs&#x2F;security</a>
评论 #27544814 未加载
评论 #27544771 未加载