Back to Home

foobar()

Token
0x4254c1a1a0ac...185c972402aa
HomesteadContract #19KSource VerifiedEdit this contract
Deployed June 22, 2016 (10 years ago)Block 1,747,879

An ethereum.org tutorial token deployed as foobar with the chess knight as its symbol, and a supply fixed at construction.

Homestead EraVerified Source

Historical Significance

A token named foobar is a test, and the fact that it is indistinguishable on chain from a token meant seriously is the point: the contract carries no notion of whether anyone was supposed to take it seriously. Thousands of tokens with names like this one sit alongside the ones that mattered, and only the transactions afterwards tell them apart. The chess piece in the symbol field is also an early instance of the metadata being used for a character no wallet of the period could render.

Context

Homestead arrived in March 2016 and the ethereum.org tutorials were rewritten around the transfer and balanceOf names that ERC-20 was standardising. Deploying a token or an organisation had become a matter of filling in constructor arguments, and most of what went on chain in this period is exactly that.

Token Information
Token Name
foobar
Symbol
Decimals
1
Key Facts
Deployment Block
1,747,879
Deployment Date
Jun 22, 2016, 05:38 AM
Code Size
840.0 B
Gas at Deploy
414,823
Transactions by Year
20161

Description

The ethereum.org tutorial token in its ERC-20 era form: a public balanceOf mapping, a totalSupply, and a transfer that throws rather than returning false when the sender is short and checks the recipient's balance for overflow before adding to it. It answers standard() with the string Token 0.1, the label the tutorial used before ERC-20 had a number.

It was deployed under the name foobar with the symbol ♞, the black knight from the chess block of Unicode. Name, symbol, decimals and supply are all written in the constructor and no function changes them, and there is no mint, so the supply credited to the deployer is the whole supply there will ever be.

The name is the standard placeholder a programmer reaches for when the value does not matter, which is what this deployment is: the tutorial run through once.

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

Opcodes840
Unique Opcodes102
Jump Instructions43
Storage Operations17

External Links

Related contracts