A 71-byte contract whose single function, pong(), immediately sends the caller's ether back to them.
Historical Significance
An echo test for value transfer. Sending ether and getting it back in one transaction exercises the full round trip of call value, send and the caller's balance accounting, which is the smallest useful check that a 2015 client and contract toolchain were wired up correctly.
Context
Deployed 2015-09-24 by 0xf0134ff161a5c8f7c4f8cc33d3e1a7ae088594a9. One instance of this runtime is known. Source recovered by exact runtime bytecode match and verified on Sourcify with both runtime and creation code matching.
Key Facts
Description
The entire runtime is 71 bytes and exposes one selector, pong() at 0xbc9748a1, which calls msg.sender.send(msg.value) and returns. Ether sent with a call to pong() is returned to the sender in the same transaction, minus gas. Any ether that reaches the contract by another path has no way out: there is no owner, no withdraw function and no fallback that forwards value.
Source Verified
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Frontier Era
The initial release of Ethereum. A bare-bones implementation for technical users.
Bytecode Overview
Verified Source Available
Source verified through compiler archaeology and exact bytecode matching.
View Verification ProofShow source code (Solidity)
// Submitted by EthereumHistory (ethereumhistory.com)
contract Pong {
function pong() {
msg.sender.send(msg.value);
}
}External Links
Related contracts
Digix
Same eraThe earliest known attempt to deploy a smart contract on Ethereum mainnet (Aug 7 2015, thanateros.eth). Ran out of gas before code deposit; creation bytecode reconstructed exactly.
0x9a049f...a977a0August 7, 2015Test
Same eraThe earliest known Ethereum contract with executable runtime code. A single function go() that returns the string "eth", compiled with the first publicly available Solidity compiler (v0.1.1).
0x651629...8c21faAugust 7, 2015Greeter
Same eraAn early Ethereum contract that returns the string “Hello World!” when called.
0xfea8c4...8b08ebAugust 7, 2015Greeter
Same eraOne of six HelloWorld Greeter deployments by Linagee on Ethereum Frontier Day 1 - same source, same compiler, greeting: 'Hello World!'
0xd464e6...dc98f3August 7, 2015Greeter
Same eraOne of six HelloWorld Greeter deployments by Linagee on Ethereum Frontier Day 1 - same source, same compiler, greeting: 'Hello World!'
0xf91486...63ea50August 7, 2015Greeter
Same eraOne of six HelloWorld Greeter deployments by Linagee on Ethereum Frontier Day 1 - same source, same compiler, greeting: 'Hello World!'
0x3dbdee...5658a9August 7, 2015