Back to Home

UBU((U))

Token
0x91ef3a515e9f...5c15eaf17d44
Tangerine WhistleContract #25KExact Bytecode MatchEdit this contract
Deployed October 30, 2016 (9 years ago)Block 2,531,976

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

Tangerine Whistle 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
UBU
Symbol
(U)
Decimals
2
Key Facts
Deployment Block
2,531,976
Deployment Date
Oct 30, 2016, 04:44 AM
Code Size
2.7 KB
Gas at Deploy
968,359
Transactions by Year
20161

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 UBU, with the symbol (U) and an opening supply of 0 base units at 2 decimal places 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,715 bytes)
Compiler: v0.4.2+

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,715
Unique Opcodes175
Jump Instructions165
Storage Operations71

External Links

Related contracts