Back to Home

Contract 0x2c2c7a28a704...c94de930dc93

Utility
0x2c2c7a28a704...c94de930dc93
FrontierContract #4,393DecompiledEdit this contract
Deployed December 1, 2015 (10 years ago)Block 627,117

A marketplace store record: it holds an owner, a metadata blob and the address of the comment board its listings are discussed on.

Frontier Era

Historical Significance

A marketplace split across three contracts, one per store, one per comment board, and a type flag so that an index can be walked without a registry saying what each address is. Composing an application out of small contracts that point at each other, rather than one contract holding everything, is the structure that later became normal, adopted here because a single contract holding a whole marketplace would not have fit in the gas limits of the day.

Context

Deployed in December 2015, when a dapp meant a set of contracts and a web page that knew their addresses. There was no indexer, no subgraph and no standard for discovering related contracts, so an isStore flag answered directly by the contract was how a client identified what it was looking at.

Key Facts
Deployment Block
627,117
Deployment Date
Dec 1, 2015, 11:09 PM
Code Size
1.9 KB
Gas at Deploy
535,282

Description

The store half of an onchain marketplace. It keeps an owner, a bytes field of metadata that the owner can rewrite through setMeta, and the address of a separate forum contract, and answers isStore() so that a reader walking a list of addresses can tell what kind of record it has found.

addComment(address, bytes32, bytes) passes a comment through to the forum rather than storing it here, which keeps the store's own state small. The forum it points at is 0x3c05353b135e90fefb262218d35dc2827f1049fe, a comment board that keeps nothing in storage and emits every comment as a log entry instead.

The Solidity source has not been recovered; the interface above is read from the deployed bytecode and the stored values from the chain.

Heuristic Analysis

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

Detected Type: Utility

Bytecode Overview

Opcodes1,986
Unique Opcodes174
Jump Instructions78
Storage Operations32

External Links

Related contracts