Back to Home

Pinger

Unclassified
0x58e5bd1c1159...d116a81b7b42
FrontierContract #3,646Exact Bytecode MatchEdit this contract

Bytecode verified via sibling

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

Deployed November 10, 2015 (10 years ago)Block 516,285

A November 2015 test harness that calls move(uint8) back on whoever pings it, cycling through four directions.

Frontier EraVerified Source

Historical Significance

ping() counts how many times it has been called and calls move(uint8) on msg.sender with that count modulo four, so a contract that pings it repeatedly is driven through directions 0, 1, 2, 3 and round again. times_called() reads the counter and reset() puts it back to zero, both unguarded. The call is made blind: nothing checks that the caller has a move function, and the return value is discarded. Source recovered by exact bytecode match: solc v0.1.6+commit.d41f8b7c with the optimizer on reproduces all 206 bytes of the creation transaction.

Context

Deployed in 2015 on the Ethereum Frontier network.

Key Facts
Deployment Block
516,285
Deployment Date
Nov 10, 2015, 12:05 AM
Code Size
206.0 B
Gas at Deploy
70,767

Description

ping() counts how many times it has been called and calls move(uint8) on msg.sender with that count modulo four, so a contract that pings it repeatedly is driven through directions 0, 1, 2, 3 and round again. times_called() reads the counter and reset() puts it back to zero, both unguarded. The call is made blind: nothing checks that the caller has a move function, and the return value is discarded. Source recovered by exact bytecode match: solc v0.1.6+commit.d41f8b7c with the optimizer on reproduces all 206 bytes of the creation transaction.

Source Verified

Exact bytecode match(206 bytes)
Compiler: v0.1.6+
Heuristic Analysis

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

Detected Type: Unclassified

Bytecode Overview

Opcodes206
Unique Opcodes62
Jump Instructions8
Storage Operations5

External Links

Related contracts