News for hackers. Stuff that matters.
Re:DeFi bug accidentally gives $90M to users by cecilpl2 on Friday October 01, 2021 @10:19AM (#28718753)
But in this case the Compound contract specified this was intended to happen, therefore it's not an accident nor was the money transferred to the wrong account. The whole point of the contract is that it's a perfect, unambiguous, clear representation of intent.

Right?

Re:DeFi bug accidentally gives $90M to users by BigRedDog1669 on Friday October 01, 2021 @01:50PM (#28721495)
Yes, exactly. If it's specified in the smart contract, that's what everyone signed up for, even if they didn't understand the bug.

If people signed a paper contract and a software system was designed to implement the contract, but the software system erroneously (through a bug) did something that went against the contract, that would be an erroneous payment. But if the code is the contract in a smart contract, bugs aren't contract errors.