Identical-runtime sibling. Standard ethereum.org tutorial token (Homestead, Mar 2016): name/symbol/decimals metadata, a public balanceOf mapping and an overflow
Historical Significance
The canonical 'create your own token' contract from the ethereum.org tutorial, one of the most-copied teaching contracts of the Homestead era.
Context
Compiled with soljson-v0.2.0 (optimizer ON); exact match of the 716-byte runtime. One of 212 byte-identical deployments.
Token Information
Key Facts
Source Verified
Exact runtime bytecode match. Runtime: 716 bytes (byte-for-byte), compiled with soljson-v0.2.0+commit.4dc2445e, optimizer ON. The on-chain creation (1408 bytes) appends ABI-encoded constructor args (initialSupply, tokenName, decimalUnits, tokenSymbol) to the init code; the 716-byte runtime is the shared cluster invariant.
Historian Categories
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
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 Token {
string public name;
string public symbol;
uint8 public decimals;
mapping (address => uint256) public balanceOf;
event Transfer(address indexed from, address indexed to, uint256 value);
function Token(uint256 initialSupply, string tokenName, uint8 decimalUnits, string tokenSymbol) {
balanceOf[msg.sender] = initialSupply;
name = tokenName;
symbol = tokenSymbol;
decimals = decimalUnits;
}
function transfer(address _to, uint256 _value) {
if (balanceOf[msg.sender] < _value) throw;
if (balanceOf[_to] + _value < balanceOf[_to]) throw;
balanceOf[msg.sender] -= _value;
balanceOf[_to] += _value;
Transfer(msg.sender, _to, _value);
}
}External Links
Related contracts
SimpleStorage
Same eraThe canonical SimpleStorage (Homestead, Mar 2016): a single uint with set(x) and a constant get() getter, the opening example of the Solidity documentation.
0x040027...a9d74dMarch 24, 2016Contract 0x62aab6...7b4128
Same eraThe canonical SimpleStorage (Homestead, Mar 2016): a single uint with set(x) and a constant get() getter, the opening example of the Solidity documentation. One
0x62aab6...7b4128March 24, 2016Contract 0xa88810...795a99
Same eraIdentical-runtime sibling. The canonical SimpleStorage (Homestead, Mar 2016): a single uint with set(x) and a constant get() getter, the opening example of the
0xa88810...795a99April 3, 2016Contract 0x1511f0...4b2405
Same eraByte-identical deployment of: The canonical SimpleStorage (Homestead, Mar 2016): a single uint with set(x) and a constant get() getter, the opening example of t
0x1511f0...4b2405May 12, 2016Contract 0x1e2b54...2dfc03
Same eraThe classic Frontier 'greeter' (Jan 2016): a mortal-derived contract storing a constructor-set greeting returned by greet(), with an owner-only kill().
0x1e2b54...2dfc03May 22, 2016Contract 0x52d74c...2972a0
Same eraIdentical-runtime sibling. The classic Frontier 'greeter' (Jan 2016): a mortal-derived contract storing a constructor-set greeting returned by greet(), with an
0x52d74c...2972a0May 25, 2016