Back to Home

Coin

Token
0x8d9bba001b58...c11631d771b5
FrontierContract #801Exact Bytecode MatchEdit this contract
Deployed September 4, 2015 (10 years ago)Block 183,575

The subcurrency example from the Solidity documentation with a payable deposit bolted on.

Frontier EraVerified Source

Context

Deployed in 2015 on the Ethereum Frontier network.

Key Facts
Deployment Block
183,575
Deployment Date
Sep 4, 2015, 12:49 PM
Code Size
930.0 B
Gas at Deploy
272,564
Transactions by Year
20153
20263

Description

Coin is the first real contract in the Solidity documentation: a minter address, a balance mapping, mint(address,uint256) that only the minter may call, and send(address,uint256) that moves a balance and fires an event. This deployment adds two things the documentation does not have. deposit() is payable and credits the caller's own balance with the ether sent, turning the example into a one way wrapper with no way to withdraw, and queryBalance(address) is restricted to the minter, so a holder cannot read their own balance through it. The storage slot between the minter and the balances is declared and never touched, so its width is recoverable but its name and type are not. Source recovered by exact bytecode match: solc v0.1.4+commit.5f6c3cdf with the optimizer off reproduces all 866 bytes of the deployed code.

Source Verified

Exact bytecode match(930 bytes)
Compiler: v0.1.4+
Heuristic Analysis

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

Detected Type: Token

Bytecode Overview

Opcodes930
Unique Opcodes100
Jump Instructions26
Storage Operations15

External Links

Related contracts