Back to Home

Payment Split (non-payable)

Part of The Vitalik Collection
0x9e53e16ae2d9...2d3f120f1060
Spurious DragonSource VerifiedEdit this contract
Deployed May 17, 2017 (9 years ago)Block 3,720,180

The split contract that forgot to be payable

Spurious Dragon EraVerified Source

Historical Significance

A one word mistake caught and corrected within six minutes, with both versions left on chain, which is a clearer record of what changed in Solidity 0.4 than any changelog entry.

Context

Deployed in the Homestead era, months after Solidity 0.4 made functions non payable unless you say otherwise, which is the change that made this deployment inert.

Key Facts
Deployer
Vitalik Buterin(0x1db343...fa6ee6)
Deployment Block
3,720,180
Deployment Date
May 17, 2017, 05:57 AM
Code Size
268.0 B

Description

Split takes two addresses and forwards half the ether sent with the call to each of them. This deployment is missing the payable keyword, so Solidity rejects any call that carries value and the contract can never receive the ether it exists to divide. It was deployed on 17 May 2017 by 0x1db3439a222c519ab44bb1144fc28167b4fa6ee6, the account of Vitalik Buterin, and replaced five and a half minutes later by an identical contract with the keyword added.

Source Verified

SolidityNear-exact bytecode match (swarm hash differs)
Compiler: v0.4.11

Executable runtime reproduces byte-for-byte from the reconstructed source with solc 0.4.11, optimizer on; only the trailing swarm metadata hash differs. runtime sha256 40bc4d80ebaf09fb38782f75b694680374ed20cf6e7e20993d6dbeebbf4697ec.

Bytecode Overview

Opcodes268
Unique Opcodes75
Jump Instructions7
Storage Operations0

External Links

Related contracts