Back to Home

Payment Split

Part of The Vitalik Collection
0xc9cd61c6f278...d1d595b6ec8b
Spurious DragonSource VerifiedEdit this contract
Deployed May 17, 2017 (9 years ago)Block 3,720,201

A four line contract that splits whatever you send it between two addresses

Spurious Dragon EraVerified Source

Historical Significance

The smaller half of a pair deployed minutes apart, where the only difference is one keyword and the first version cannot do the single thing it was written to do.

Context

Deployed in the Homestead era, months after Solidity 0.4 made functions non payable unless you say otherwise.

Key Facts
Deployer
Vitalik Buterin(0x1db343...fa6ee6)
Deployment Block
3,720,201
Deployment Date
May 17, 2017, 06:03 AM
Code Size
261.0 B
Transactions by Year
20171

Description

Split takes two addresses and forwards half the ether sent with the call to each of them. That is the whole contract. It was deployed on 17 May 2017 by 0x1db3439a222c519ab44bb1144fc28167b4fa6ee6, the account of Vitalik Buterin, five and a half minutes after an identical contract that was missing the payable keyword and could therefore never receive the ether it existed to divide. This is the one that works.

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 0562931d3e50bc6ca55cb9192d4dc76b470aae1f333b4b4cdcaf238bfad84396.

Bytecode Overview

Opcodes261
Unique Opcodes75
Jump Instructions5
Storage Operations0

External Links

Related contracts