News for hackers. Stuff that matters.
Re:The collapse of the IRON stable coin by georgyo on Thursday June 17, 2021 @03:05PM (#27543252)
You just hit the nail on the head. I did not think about that.

This is the true reason they needed to special case <=0.

Re:The collapse of the IRON stable coin by phire on Thursday June 17, 2021 @07:29PM (#27545623)
If you think about it, the special case should give holders the option to withdraw the 74c of USDC without any TITAN.

Clearly the programmers didn't fully think though what would would happen if TITAN reached and got stuck at zero value.

Re:The collapse of the IRON stable coin by SV_BubbleTime on Friday June 18, 2021 @12:46AM (#27547433)
This is what I was thinking. It should be decoupled. Here are the rules for how many USDC you get and here are the conditions for your TITANs. On the TITAN there should have been a condition for over zero, and a totally separate condition/case for zero… or less than or equal to zero since we’re working on edge cases no one considered.