Back to Home

Coin

Token
0xbec2e28f72f5...450131b919f5
HomesteadContract #14KSource VerifiedEdit this contract
Deployed April 10, 2016 (10 years ago)Block 1,310,865

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

Homestead 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. Copies on mainnet are readers following along, and they are datable by which revision of the chapter they match.

Context

The Solidity documentation opened with this subcurrency for years, in a chapter written to introduce state, ownership and events on one page. This copy was deployed in April 2016, a month after Homestead.

Key Facts
Deployment Block
1,310,865
Deployment Date
Apr 10, 2016, 03:46 PM
Code Size
779.0 B
Gas at Deploy
281,674

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(address, uint) adds to any balance and returns silently when called by anyone else; send(address, uint) moves the caller's own balance and emits a Sent event.

Both functions return instead of reverting when their check fails, which the documentation did to keep the example short and which means a failed send looks exactly like a successful one to a caller that does not check the balance afterwards.

There is no total supply, no cap on minting and no way to change or renounce the minter, so it 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

Opcodes779
Unique Opcodes83
Jump Instructions21
Storage Operations12

External Links

Related contracts