Back to Home

Etherboard

Unclassified
0x242034238b5d...cfd8d20d8ed4
FrontierContract #3,408Exact Bytecode MatchEdit this contract
Deployed November 6, 2015 (11 years ago)Block 500,761

First Etherboard prototype (Nov 6, 2015): a 1000x1000 pixel canvas whose fee and min-price setters write to each other's storage slots

Frontier EraVerified Source

Historical Significance

Shows the development history of Etherboard, one of the earliest pixel-canvas experiments on Ethereum, through a series of Frontier-era prototypes deployed in the week before the final contract.

Context

Deployed by 0x4f5b350b662fb17ca4ec22116e91dc1417b892bc, the same address that a week later (November 13, 2015, block 536,195) deployed the final Etherboard contract (https://www.ethereumhistory.com/contract/0x350e0ffc780a6a75b44cc52e1ff9092870668945). Three prototypes went up on November 6-7, 2015: 0x242034238b5d9c0001bc06320bb4cfd8d20d8ed4, 0x8d4eac10d68745e2a8c36ab33c5c3961ed4b71be and 0x1776281d0d40108941cb41e604dcafbdc3cd61a1. Taken together, they show the design being iterated onchain.

Key Facts
Deployment Block
500,761
Deployment Date
Nov 6, 2015, 09:37 PM
Code Size
2.2 KB
Gas at Deploy
674,507
Transactions by Year
20152

Description

The first of three Etherboard prototypes, deployed on November 6, 2015 at block 500,761. Every version is a 1000x1000 pixel board. setColor(x, y, color) pays the previous pixel owner the bid minus a 1% fee, then stores (msg.sender, block.number, color, msg.value) for the pixel. A bid has to be at least 110% of the current price and at least the minimum price. setColorRgb(x, y, red, green, blue, alpha) packs the colour as alpha1048576 + red65536 + green*256 + blue, and getRow(y) returns the owners, colours and prices of a whole row. Unlike the final Etherboard, these prototypes store full addresses per pixel rather than compact uint16 owner IDs, and have no batch-paint function. The PixelChanged event is emitted after the pixel is overwritten, so its 'old' owner/colour/price fields actually log the new values. Failed checks emit a Log(sender, message, value) event and return false, without refunding the ETH sent. Bounds messages read 'X must be > 0 and < 1000.' and the minimum price is 50 finney. This version has a bug: setMinPrice writes the feePercent slot and setFeePercent writes the minPrice slot. It was replaced 25 minutes later by 0x8d4eac10d68745e2a8c36ab33c5c3961ed4b71be, which is identical apart from the corrected setters.

Source Verified

SolidityExact bytecode match(2,215 bytes)
Compiler: soljson

Byte-exact on both runtime and creation. Runtime: 2158 bytes (SHA-256 33155235c87a483eaf6d41eb6958c2978dffb21690a084d2eb44e1ab18572e34). Creation: 2215 bytes (SHA-256 0c65344faa6661752e3690492c716541984f8cd5d2632f5fbece8c163cada082), no constructor arguments. Compiled with soljson v0.1.6+commit.d41f8b7c, optimizer ON (200 runs); all 19 builds from v0.1.4-nightly.2015.10.2 through v0.1.7 produce identical output (130 v0.1.x/v0.2.x builds swept). Function names were recovered by brute-forcing the selectors, and the event topics confirm the event signatures. Struct-field and parameter names follow the verified Etherboard source. Source swapped setters reproduced as in the original. Verified on Etherscan.

Heuristic Analysis

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

Detected Type: Unclassified

Bytecode Overview

Opcodes2,215
Unique Opcodes183
Jump Instructions139
Storage Operations49

External Links

Related contracts