Back to Home

SharingTest(%)

Token
0xddc61be509e5...87d627ed6f3b
HomesteadContract #17KExact Bytecode MatchEdit this contract
Deployed May 23, 2016 (10 years ago)Block 1,570,543

Ten thousand units at two decimals, with approvals delegated through a callback.

Homestead EraVerified Source

Historical Significance

This is the tutorial revision that added delegated spending, and it did it with approveAndCall: the allowance is set and the spender is called in the same transaction, so a contract learns about its allowance at the moment it is granted. It solved the problem ERC-20's plain approve leaves open, that a contract cannot notice an approval, and it was dropped from the standard anyway because it requires the spender to be a contract. The idea returned years later as ERC-777 and ERC-1363.

Context

Deployed in May 2016 during the Homestead era.

Token Information
Token Name
SharingTest
Symbol
%
Decimals
2
Key Facts
Deployment Block
1,570,543
Deployment Date
May 23, 2016, 06:42 PM
Code Size
1.6 KB
Gas at Deploy
658,818

Description

The whole supply is credited to the deploying account at creation and nothing can mint more. Spending rights are granted through approveAndCall, which records the allowance and then calls receiveApproval on the spender contract in the same transaction, so a contract learns of an approval without a second transaction from the holder. Sending ether to it throws.

Source Verified

Exact bytecode match(1,680 bytes)
Compiler: v0.3.0+

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

Opcodes1,680
Unique Opcodes126
Jump Instructions79
Storage Operations30

External Links

Related contracts