Back to Home

Pinger

Unclassified
0xdf5750612c84...df9ab8472251
FrontierContract #3,639Exact 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 9, 2015 (10 years ago)Block 516,092

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,092
Deployment Date
Nov 9, 2015, 11:07 PM
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