The ethereum.org token tutorial, with the default supply set to two hundred million
Context
Deployed in September 2015 on the Frontier chain.
Key Facts
Description
The minimal token from the ethereum.org tutorial: one mapping from address to balance, a sendCoin that moves value and emits CoinTransfer, and a public accessor. The whole supply goes to whoever deploys it. The deployer left the tutorial's guard that substitutes a default when the constructor is given zero, but changed that default to two hundred million. There is no approval mechanism and no total supply variable, so it predates the ERC-20 interface.
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 MyToken {
function sendCoin(address receiver, uint amount) returns(bool sufficient) {
if (coinBalanceOf[msg.sender] < amount) {
return false;
}
coinBalanceOf[msg.sender] -= amount;
coinBalanceOf[receiver] += amount;
CoinTransfer(msg.sender, receiver, amount);
return true;
}
function token(uint supply) {
if (supply == 0) supply = 200000000;
coinBalanceOf[msg.sender] = supply;
}
event CoinTransfer(address sender, address receiver, uint amount);
mapping (address => uint) public coinBalanceOf;
}External Links
Related contracts
Contract 0x88277c...e01fe7
Same deployerA copy of the coin contract from the Frontier Guide, the two function token that taught a generation of Ethereum developers to move a balance.
0x88277c...e01fe7September 25, 2015Contract 0x5f4c01...194380
Same deployerA copy of the coin contract from the Frontier Guide, the two function token that taught a generation of Ethereum developers to move a balance.
0x5f4c01...194380September 25, 2015MyToken
Same deployerThe ethereum.org token tutorial, with a default supply of one hundred
0xe378f4...a7717dSeptember 25, 2015Contract 0xf19da8...4e9e70
Same deployerA copy of the coin contract from the Frontier Guide, the two function token that taught a generation of Ethereum developers to move a balance.
0xf19da8...4e9e70September 25, 2015Contract 0xbd0edf...2d9cd7
Same deployerA copy of the coin contract from the Frontier Guide, the two function token that taught a generation of Ethereum developers to move a balance.
0xbd0edf...2d9cd7October 4, 2015token
Same eraAn early ERC-20-like token deployed in Ethereum's first week, built directly from the example in the official Ethereum Frontier Guide documentation.
0x8374f5...46609aAugust 7, 2015