Back to Home

LOOT(Ł)

Token
0xd4fa8156650c...4e3bf9e65a3b
FrontierContract #11KExact Bytecode MatchEdit this contract

Bytecode verified via sibling

This contract shares identical runtime bytecode with MyToken (0x002a13b6...) which has been verified through compiler archaeology.

Deployed March 6, 2016 (10 years ago)Block 1,105,180

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

Frontier EraVerified Source

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
LOOT
Symbol
Ł
Decimals
0
Key Facts
Deployment Block
1,105,180
Deployment Date
Mar 6, 2016, 02:43 AM
Code Size
1.6 KB
Gas at Deploy
547,483

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 LOOT, 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.

Source Verified

SolidityExact bytecode match(1,624 bytes)
Compiler: v0.2.1

Runtime + creation bytecode match. Native C++ solc v0.2.1 (webthree-umbrella v1.1.2), optimizer ON. Token: Poker Chips (POKER), 0 decimals, 10000 supply. Bug: transferFrom emits Transfer(msg.sender) instead of Transfer(_from).

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 Operations32

External Links

Related contracts