Back to Home

GetSet

Experimental
0xd17e9bb3d062...f56e9b03b76a
FrontierContract #1,203Exact Bytecode MatchEdit this contract

Bytecode verified via sibling

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

Deployed September 17, 2015 (10 years ago)Block 249,319

A 57-byte test contract: set() stores the transaction's ether value into storage slot 0, and get() reads it back.

Frontier EraVerified Source

Historical Significance

A minimal probe of the two things a contract can do that an ordinary account cannot: keep state and observe the value sent to it. Contracts this small are how developers checked their toolchain worked at all in 2015, when the compiler, the client and the JSON-RPC layer were all new enough to be the likely source of a bug.

Context

Deployed 2015-09-17 by 0x0047a8033cc6d6ca2ed5044674fd421f44884de8, an address that deployed 480 contracts in total, including several already verified under the names SimpleStorage, GetSet and Controller. Two byte-identical copies of this runtime exist. Source recovered by exact runtime bytecode match and verified on Sourcify.

Key Facts
Deployment Block
249,319
Deployment Date
Sep 17, 2015, 08:04 PM
Code Size
74.0 B
Gas at Deploy
37,026
Transactions by Year
20151

Description

The whole runtime is 57 bytes and dispatches two selectors. set() at 0xb8e010de takes no arguments and writes msg.value into storage slot 0, so the stored number is whatever ether was attached to the call. get() at 0x6d4ce63c is constant and returns that slot. There is no owner, no access control and no way to withdraw the ether that set() records, so any value sent to this contract stays in it permanently.

Source Verified

SolidityExact bytecode match(74 bytes)
Compiler: v0.1.3+
Heuristic Analysis

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

Detected Type: Experimental

Bytecode Overview

Opcodes74
Unique Opcodes34
Jump Instructions3
Storage Operations2

External Links

Related contracts