Back to Home

Contract 0xd958b51bc953...156e8aec4c9f

Token
0xd958b51bc953...156e8aec4c9f
FrontierExact Bytecode Match
Deployed August 7, 2015 (10 years ago)Block 49,888

Ethereum.org tutorial Coin contract deployed on Frontier day 1. Contains a bug: balance(address) ignores its argument and returns msg.sender balance.

Key Facts

Deployer
Linagee(0x3D0768...116c2D)
Deployment Block
49,888
Deployment Date
Aug 7, 2015, 08:50 PM
Code Size
708.0 B
Gas at Deploy
205,985
Transactions by Year
20153

Source Verified

SolidityExact bytecode match(708 bytes)
Compiler: soljson

Exact bytecode match. Creation 708 bytes, runtime 607 bytes. Classic ethereum.org tutorial Coin contract with a bug: balance(address) ignores its argument.

Heuristic Analysis

The following characteristics were detected through bytecode analysis and may not be accurate.

Detected Type: Token
Has ERC-20-like patterns

Frontier Era

The initial release of Ethereum. A bare-bones implementation for technical users.

Block span: 01,149,999
July 30, 2015March 14, 2016

Bytecode Overview

Opcodes708
Unique Opcodes92
Jump Instructions18
Storage Operations10

Verified Source Available

Source verified through compiler archaeology and exact bytecode matching.

View Verification Proof
Show 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] = 1000000;
    }

    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;
    }

    function balance(address addr) returns (uint) {
        return coinBalanceOf[msg.sender];
    }
}

External Links