Contract Information
Key Facts
Description
The classic Ethereum.org tutorial contract, copied and deployed by thousands of developers learning Solidity. Deployed Oct 2015 with 21 million coins minted to the creator. Features a public balance mapping, sendCoin transfer function, and CoinTransfer event. Holds 7 ETH.
Source Verified
Exact bytecode match. Runtime: 508 bytes. Creation: 641 bytes (609 bytecode + 32 ABI-encoded constructor arg). Classic Ethereum.org tutorial Coin contract. Compiled with native C++ solc (webthree-umbrella v1.1.2), no optimizer. Constructor minted 21,000,000 tokens (0x1406f40) to deployer. 7 ETH remains locked.
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)
contract Coin {
mapping (address => uint) public coinBalanceOf;
event CoinTransfer(address sender, address receiver, uint amount);
function Coin(uint amount) {
coinBalanceOf[msg.sender] = amount;
}
function sendCoin(address receiver, uint amount) returns(uint sufficient) {
if (coinBalanceOf[msg.sender] < amount) return 0;
coinBalanceOf[msg.sender] -= amount;
coinBalanceOf[receiver] += amount;
CoinTransfer(msg.sender, receiver, amount);
return 1;
}
}