These incidents really illustrate the main flaw of smart contracts: a single bug in your code can lead to incredible losses. I simply don't think it's possible for human beings to write good enough software for smart contracts.
The flip side of that is any smart contract that stood the test of time should be rock solid. For example, there are huge incentives to go ahead and hack a big contract like maker, compound, uniswap or aave, so you can bet that there's highly qualified people out there trying to hack them as we speak, yet after all this time, they are still working as intended. I have a lot more trust in that kind of product than in…
SafeDollar ‘stablecoin’ drops to $0 following DeFi exploit on Polygon
281–290 of 577 posts
Re: SafeDollar ‘stablecoin’ drops to $0 following DeFi exploit on Polygon
#282Earlier quoted context omitted.
How many major bugs in software and especially cryptosystems went undisclosed for decades? The core issue is the inherent asymmetry where 1 person finding 1 bug can destabilize giant systems. Even if these systems where hundreds of years old that doesn’t actually mean much.
By this logic most e-commerce is a mistake as well, since a serious flaw in the linux kernel could take down most web servers.
Re: SafeDollar ‘stablecoin’ drops to $0 following DeFi exploit on Polygon
#283Earlier quoted context omitted.
How is that different from a traditional contract written by a lawyer? A single word could leave a huge unexpected hole in a traditional contract.
Regular written contracts are not automatically enforced. Not a lawyer here but I’m guessing. Not all legal loopholes automatically deprive you of all your savings. Intentional loop holes only go so far before consumer protection or other entities overwrite it. And if both parties are in agreement and in good standing you can figure out a way to find a reasonable compromise.
*Not a lawyer either, but I've read some introductory contract law stuff. All I know is this: you don't want to rely on the courts to save you, since they generally err on the side of the literal contract, but I don't spend much time worrying about accidentally agreeing to a contract that will sell myself into slavery.
Re: SafeDollar ‘stablecoin’ drops to $0 following DeFi exploit on Polygon
#284Re: SafeDollar ‘stablecoin’ drops to $0 following DeFi exploit on Polygon
#285Earlier quoted context omitted.
Considering there are still new bugs found in chip designs, operating systems, and compilers that have been around 4 times as long as any cryptocurrency I have literally no idea why you would feel safe in “smart contracts.” At least if my bank account is hacked, I have a solid legal standing for compensation and I have good reason to believe centralized financial institutions will keep extensive documentation and log…
The bugs found in smart contracts equal large sums of money right away unlike 0-days in OSes or other systems where the link is much more indirect. For example, if you find a 0-day on Windows, sure you might sell it for 7-8 figures on the black market, if you found a bug on maker (or any of the big contracts), you could walk away with billions of dollars in a practically untraceable way.
Re: SafeDollar ‘stablecoin’ drops to $0 following DeFi exploit on Polygon
#286Earlier quoted context omitted.
Despite the low liquidity on the exchange, the market cap of the token was supposedly $250M: https://twitter.com/Mudit__Gupta/status/1409463917290557440?...
How did they have a marketcap of $250M as a stablecoin when they had 1000x less in reserves?
Re: SafeDollar ‘stablecoin’ drops to $0 following DeFi exploit on Polygon
#287Earlier quoted context omitted.
We can do better than pinky swearing. Each lawyer gets mining fees when they enforce a contract fairly. "Fairly" is defined by consensus, where each lawyer is forced to predict the consensus before voting in a private ballot that is only revealed when the rewards are issued. Lawyers who predict the consensus get rewarded. If you start it off with people who are trying to be fair then predicting fairness will lead to…
That's actually a pretty good idea. I had a similar idea to discourage the gaming of upvotes on sites like HN and Reddit: make each upvote cost a point, but then you get a point for everyone who upvotes after you, divided by the number of votes the item had at the time you upvoted (or something like that). So people who upvote popular stories early, i.e. people who successfully predict what people will like, get rewa…
Re: SafeDollar ‘stablecoin’ drops to $0 following DeFi exploit on Polygon
#288Earlier quoted context omitted.
I'm gonna be honest I don't know what the audience is for a product where you risk losing your entire life savings because you typed a wrong word in a smart contract rather than paying a middleman a fraction of a percent. It's almost like a sort of willful ignorance of division of labour and the concept of pooling risk.
The audience is the people who don’t want to deal with the government for whatever reasons, the most obvious one is doing something illegal like buying drugs or costly like sending money overseas in developing countries.
Re: SafeDollar ‘stablecoin’ drops to $0 following DeFi exploit on Polygon
#289Re: SafeDollar ‘stablecoin’ drops to $0 following DeFi exploit on Polygon
#290These incidents really illustrate the main flaw of smart contracts: a single bug in your code can lead to incredible losses. I simply don't think it's possible for human beings to write good enough software for smart contracts.
Can there ever be 'bug free' software? As a lifelong programmer, I'm starting to think that it's impossible to write perfect software free from bugs.
It's massively more expensive, so you'll see it used in aerospace, railway signalling, some vehicles (trains, components of some cars), power generation and distribution, industrial processes.
Sometimes also in consumer products that have long warranties and are extremely expensive to recall/repair, like washing machines.
Just yesterday was a post on a formally-verified C compiler, used by Airbus (and others) [2]