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
Storage
Same deployerStorage sibling — cluster of 4 identical deployments.
0x74c47b...ebc74fAugust 3, 2018Msg
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, 2018Wallet
Same eraToken collection wallet that moves an entire token balance to a chosen address, without the ERC223 callback handler.
0x002204...531195January 19, 2018Wallet
Same eraOwner wallet that forwards ether to its owner, logs any call from a stranger with the full calldata, and lets the owner execute arbitrary calls.
0x001feb...9e7a4fJanuary 20, 2018Forwarder
Same eraNinety-three bytes with one hardcoded destination: every payment received is transferred straight back out to the same address.
0x458353...a562deJanuary 20, 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, 2018