Back to Home

Coin

Token
0xec204eefb7f1...3143eaed3196
FrontierContract #12KSource VerifiedEdit this contract
Deployed March 11, 2016 (10 years ago)Block 1,131,123

The subcurrency from the Solidity documentation's opening chapter: one minter creates coins into any account, and holders send them on.

Frontier EraVerified Source

Historical Significance

The contract that opens the Solidity documentation, deployed to mainnet rather than left on the page. Its shape, a minter plus a balance mapping, is the smallest complete statement of what a token is, and it is deliberately not a standard token: no approvals, no allowances, no metadata.

Context

The Solidity documentation opened with this subcurrency for years, and the chapter it belongs to was written to introduce state, ownership and events in one page. Copies of it on mainnet are readers following along.

Key Facts
Deployment Block
1,131,123
Deployment Date
Mar 11, 2016, 06:40 AM
Code Size
328.0 B
Gas at Deploy
130,011

Description

The worked example that opens Introduction to Smart Contracts in the Solidity documentation. The account that deploys it becomes the minter and is stored publicly. mint(receiver, amount) adds to any balance and is ignored when called by anyone else; send(receiver, amount) moves a holder's own balance and emits a Sent event.

Both functions return silently instead of reverting when their check fails, which the documentation used to keep the example short. There is no total supply, no cap on minting and no way to change or renounce the minter, so the contract is a currency with a permanent central issuer.

Heuristic Analysis

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

Detected Type: Token

Bytecode Overview

Opcodes328
Unique Opcodes79
Jump Instructions20
Storage Operations13

External Links

Related contracts