Back to Home

0x34fe...9ad8

Token
Part of The Cyrus Adkisson Collection
0x34fe101a03b6...83139ca79ad8
FrontierContract #862Exact Bytecode MatchEdit this contract
Deployed September 5, 2015 (11 years ago)Block 189,323

The Pong half of the solidity-baby-steps ping-pong pair, written to test whether one contract can read a non-constant return value from another.

Frontier EraVerified Source

Historical Significance

The ethereum.org token tutorial is where most people who deployed a token in this period started, and this is its opening form: a balance mapping, a guarded subtraction and the metadata a wallet needs to show a name. It has no allowance, so nothing can spend on a holder's behalf and no exchange or escrow can be given a limit. That gap is exactly what ERC-20 was written to close, and copies like this one are the before picture.

Context

Deployed 5 September 2015, during the Frontier era.

Key Facts
Deployer
Cyrus Adkisson(0xcf684d...ad1bac)
Deployment Block
189,323
Deployment Date
Sep 5, 2015, 05:34 PM
Code Size
929.0 B
Gas at Deploy
238,594
Transactions by Year
20151

Description

Example 45 of the solidity-baby-steps tutorial series, deployed by the author of the series. It stores a signed byte given in the constructor and exposes it three ways: getPongvalConstant reads it, setPongval replaces it, and getPongvalTransactional returns it while also setting a flag so that a later call can tell whether the transactional path was taken at all. That flag is the point of the example: it overrides a base contract whose own getPongvalTransactional sets the flag to minus one, so a Ping contract calling in can distinguish a real answer from the fallback. The constructor argument here is minus one.

Source Verified

Exact bytecode match(929 bytes)
Compiler: v0.1.1+
Heuristic Analysis

The following characteristics were detected through bytecode analysis and may not be accurate.

Detected Type: Token

Bytecode Overview

Opcodes929
Unique Opcodes79
Jump Instructions31
Storage Operations17

External Links

Related contracts