Classic set/get storage tutorial contract. Single uint256 slot with set(uint256) and get() functions. Cluster of 5 identical deployments.
Key Facts
Description
This contract is one of 5 identical Storage tutorial deployments — the earliest 'set/get' example from the Solidity docs. A single uint256 slot in state, set(uint256 num) writes it, get() constant returns (uint256) reads it back. Compiled with solc 0.4.18+commit.9cf6e910 optimizer OFF. Exact code match; only trailing 34-byte Swarm metadata differs (source formatting delta).
Source Verified
Exact code match on 177 code bytes with solc 0.4.18 opt OFF. Only trailing 34-byte Swarm metadata differs. Etherscan-verified with EthereumHistory attribution.
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Byzantium Era
First Metropolis hard fork. Added zk-SNARK precompiles, REVERT opcode, and staticcall.
Bytecode Overview
Verified Source Available
Source verified through compiler archaeology and exact bytecode matching.
Show source code (Solidity)
// Submitted by EthereumHistory (ethereumhistory.com)
pragma solidity ^0.4.0;
contract Storage {
uint256 number;
function set(uint256 num) public {
number = num;
}
function get() public constant returns (uint256){
return number;
}
}External Links
Related contracts
Msg
Same eraMinimal contract that stores a single public string in state, exposed via the auto-generated m() getter. First of 281 identical siblings. Source verified by EthereumHistory.
0x2c8f58...37b173January 13, 2018Sweeper
Same eraMinimal ETH sweeper, first of 1,900 identical deployments in a 2-day burst in January 2018. All sweep to a single hardcoded destination. Source verified by EthereumHistory.
0xeb15f6...6cb3e1January 23, 2018Sweep
Same eraETH sweep-to-fixed-recipient — fallback forwards the contract's entire balance to `0xd293a88c…8d4` via `.send()` and reverts on failure. Massive cluster of 1899 identical deployments — likely deposit-address contracts for a single custodian.
0x00188b...b260a7January 23, 2018Msg
Same eraTrivial public-message store — single `string public m` variable with the auto-generated `m()` getter. Cluster of 280 identical deployments.
0x02d01d...ac2cdcFebruary 10, 2018HashStore
Same eraMinimal view-only contract holding a single uint256 hash in state, exposed via getHash(). First of 328 identical siblings. Source verified by EthereumHistory.
0xf37137...2aaabeMarch 14, 2018Forwarder
Same eraMinimal ETH forwarder, first of 144 identical siblings. Payable fallback loads destination from state slot 0 and forwards msg.value via transfer(). Source verified by EthereumHistory.
0xb937e4...67885dMarch 28, 2018