The canonical SimpleStorage (Homestead, Mar 2016): a single uint with set(x) and a constant get() getter, the opening example of the Solidity documentation.
Historical Significance
The 'hello world' of Solidity: the first example from the official documentation, storing and returning a single integer.
Context
Compiled with soljson-v0.1.5 (optimizer OFF); exact match of both the 151-byte runtime and 167-byte creation bytecode. One of 18 byte-identical deployments.
Key Facts
Source Verified
Exact bytecode match. Runtime: 151 bytes (byte-for-byte). Creation: 167 bytes (byte-for-byte). Compiled with soljson-v0.1.5+commit.23865e39, optimizer OFF.
Homestead Era
The first planned hard fork. Removed the canary contract, adjusted gas costs.
Bytecode Overview
Verified Source Available
Source verified through compiler archaeology and exact bytecode matching.
View Verification ProofShow source code (Solidity)
contract SimpleStorage {
uint storedData;
function set(uint x) {
storedData = x;
}
function get() constant returns (uint) {
return storedData;
}
}External Links
Related contracts
Contract 0xffbe63...d5ef16
Same deployerThe classic Frontier 'greeter' (Jan 2016): a mortal-derived contract storing a constructor-set greeting returned by greet(), with an owner-only kill().
0xffbe63...d5ef16June 15, 2016Contract 0x731d8e...976310
Same deployerThe canonical SimpleStorage (Homestead, Mar 2016): a single uint with set(x) and a constant get() getter, the opening example of the Solidity documentation. (cl
0x731d8e...976310June 21, 2016Contract 0x33608e...5ee585
Same deployerIdentical-runtime sibling. The canonical SimpleStorage (Homestead, Mar 2016): a single uint with set(x) and a constant get() getter, the opening example of the
0x33608e...5ee585June 21, 2016Contract 0x9af64b...044723
Same deployerByte-identical deployment of: The classic Frontier 'greeter' (Jan 2016): a mortal-derived contract storing a constructor-set greeting returned by greet(), with
0x9af64b...044723July 29, 2016