Back to Home

test(T)

Token
0x3cfb118ce57f...ad42c3cd875b
Spurious DragonContract #26KExact Bytecode MatchEdit this contract
Deployed December 1, 2016 (9 years ago)Block 2,728,651

A token with transfers and third-party allowances, and an owner who can mint new units, deployed December 2016.

Spurious Dragon EraVerified Source

Historical Significance

The advanced token from the ethereum.org tutorial puts a market inside the token: the owner sets a buy and a sell price and holders trade against the contract's own ether balance rather than finding a counterparty. It is an automated market maker with a fixed price and no curve, written years before the term existed, and it fails the same way each time, since the contract will keep quoting a price it can no longer honour once its balance runs out. The owner also mints and freezes, so every risk in the design is concentrated in one account.

Context

By late 2016 ERC-20 had settled the interface a token was expected to answer, and the ethereum.org tutorial was still where most people copied one from. OpenZeppelin's contracts were not yet the default, so the code behind a token of this period is usually the tutorial's, with the constructor arguments changed and nothing else.

Token Information
Token Name
test
Symbol
T
Decimals
0
Key Facts
Deployment Block
2,728,651
Deployment Date
Dec 1, 2016, 08:33 PM
Code Size
2.7 KB
Gas at Deploy
969,645
Transactions by Year
20162

Description

A token from the ethereum.org tutorial. Balances sit in a public balanceOf mapping and transfer(to, value) moves them, throwing rather than returning false when the sender is short and checking the recipient's balance for overflow before adding to it. An allowance mapping lets a holder authorise another address to spend a limited amount through transferFrom. ApproveAndCall sets the allowance and calls receiveApproval on the spender in the same transaction, so a spending contract learns of its allowance at the moment it is granted. The owner can create new units, freeze an account so it can no longer send, set a buy and a sell price at which holders trade against the contract's own ether balance and hand the role to another address. It was deployed as test, with the symbol T and an opening supply of 0 units, indivisible and it answers standard() with the string Token 0.1, the label the tutorial used before ERC-20 had a number.

Source Verified

Exact bytecode match(2,750 bytes)
Compiler: v0.4.4+

Historian Categories

Token
Heuristic Analysis

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

Detected Type: Token
Has ERC-20-like patterns

Bytecode Overview

Opcodes2,750
Unique Opcodes166
Jump Instructions162
Storage Operations66

External Links

Related contracts