6 ms·
Code is law. There are no such things as bugs in smart contracts. Just unforeseen implications of the chosen contract.
by cwkoss 4y ago
Code is law. There are no such things as bugs in smart contracts. Just unforeseen implications of the chosen contract.
- matheusmoreira 4y agoNo, those are definitely bugs. The program was obviously not intented to allow forged transactions, just like so many I/O layers were not intended to incorrectly accept malformed malicious input. Even actual human laws have bugs and exploitable vulnerabilities. We simply call them loopholes instead. There's even a very lucrative market for them, dominated by professionals like lawyers and accountants.
- tootie 4y agoI think that was OP's point. The code is the contract and bugs are just loopholes. Anything the code allows for is by definition part of the contract.
- parkingrift 4y agoSo you’re saying you want a… oracle? Perhaps a human one? For this decentralized peer to peer future of finance with no overlords? Come now. Surely you jest.
- icambron 4y agoI’d say a bug is behavior not intended by the contract’s author. Laws can have bugs too. What I do think is that you can’t really call it “forgery” or “stealing”, just like using a loophole in a law isn’t illegal.
- TomSwirly 4y agoI think you're serious! If you are, then a contract that does not do what you expect it to do is buggy, by any possible definition of the word. Otherwise, well done!, you fooled me.