TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Surreal Madness of Ethereum's Pyramid Schemes

2 pointsby MrBingleyover 7 years ago

1 comment

MrBingleyover 7 years ago
&gt; Later, the OG PoWHcoin smart contract — that immutable, incredible construction made out of memes and duct tape — was drained completely of its $2 million total, leaving Ponzibot with the loss of over $2.5 million on his hands.<p>&gt; How?<p>&gt; Because the developers of the OG contract had failed to use the safe math functions included in Solidity, the language of Ethereum’s smart contracts, this allowed an unknown hacker to make an unsigned integer underflow withdrawal — giving themselves an infinite number of PoWH’s tokens to withdraw, and draining the contract.<p>It is absurd that one needs to <i>opt-in</i> to unsigned integer underflow checking, especially in a language designed for writing financial contracts.