Back to Home

LOOTCOIN(ł)

Token
0xcaec7ebd85fc...c9cbc944bb98
FrontierContract #11KDecompiledEdit this contract
Deployed March 6, 2016 (10 years ago)Block 1,105,283

An ethereum.org tutorial token deployed as LOOTCOIN with the symbol ł and zero decimals, spendable only through approveAndCall.

Frontier Era

Historical Significance

A token whose allowance can only be granted to a contract, because the tutorial revision it was copied from offered approveAndCall and no plain approve. That asymmetry is part of why ERC-20 settled on approve as the primitive and left approveAndCall as an extension.

Context

Deployed in the spring of 2016, while ERC-20 was still a draft and the ethereum.org token page was the source most people copied. Its interface is nearly the standard one, which is what makes the missing approve visible.

Token Information
Token Name
LOOTCOIN
Symbol
ł
Decimals
0
Key Facts
Deployment Block
1,105,283
Deployment Date
Mar 6, 2016, 03:16 AM
Code Size
1.6 KB
Gas at Deploy
547,867

Description

A token from the ethereum.org tutorial in the revision that added allowances but not a plain approve. It carries a name, a symbol and a decimals field, a public balanceOf mapping, an allowance mapping and a spentAllowance mapping that records how much of each allowance has already been drawn.

transfer throws rather than returning false when the sender is short and checks the recipient for overflow before adding. An allowance can be granted through approveAndCall alone, which sets the allowance and then calls receiveApproval on the spender, so a spender has to be a contract that implements that callback: an ordinary account cannot be approved at all. There is no owner, no mint and no way to add to the supply after deployment.

This one was deployed as LOOTCOIN, symbol ł, with zero decimal places, so its units are whole and indivisible. Name, symbol and decimals are written in the constructor and no function changes them.

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

Opcodes1,624
Unique Opcodes122
Jump Instructions73
Storage Operations31

External Links

Related contracts