Back to Home

MessagingContract v3

Unclassified
0x59622442b567...c56e1e0841ca
FrontierContract #46Source VerifiedEdit this contract
Deployed August 8, 2015 (11 years ago)Block 54,329

An on-chain messaging contract from 8 August 2015 whose sendMessage only advances the nonce and stores nothing.

Frontier EraVerified Source

Historical Significance

An on-chain messaging contract deployed on 8 August 2015 by 0x8674c218f0351a62c3ba78c34fd2182a93da94e2, the most prolific deployer of Ethereum's second day. Messages live in mapping (address => mapping (bytes32 => Message)) where Message pairs a uint64 timestamp with a string body, alongside mapping (address => bytes32[]) hashes and a uint nonce that would have supplied each message its key. Recipients read their own mail through getMessageHashes, getMessageTime and getMessageContents, all keyed on msg.sender, and deleteMessage clears the stored message and then scans the caller's hash list and zeroes the matching entry. sendMessage is the unfinished part: it takes a recipient and a string, decodes both, and does nothing with them except advance the nonce, so no message could ever be stored. The working sendMessage arrives in the next contract the same author deployed. Source recovered by exact bytecode match: solc v0.1.1+commit.6ff4cd6 with the optimizer on reproduces all 1216 bytes of the creation transaction.

Context

Deployed 8 August 2015, the second day of the Ethereum Frontier network.

Key Facts
Deployment Block
54,329
Deployment Date
Aug 8, 2015, 04:45 PM
Code Size
1.2 KB
Gas at Deploy
340,017
Transactions by Year
20152

Description

An on-chain messaging contract deployed on 8 August 2015 by 0x8674c218f0351a62c3ba78c34fd2182a93da94e2, the most prolific deployer of Ethereum's second day. Messages live in mapping (address => mapping (bytes32 => Message)) where Message pairs a uint64 timestamp with a string body, alongside mapping (address => bytes32[]) hashes and a uint nonce that would have supplied each message its key. Recipients read their own mail through getMessageHashes, getMessageTime and getMessageContents, all keyed on msg.sender, and deleteMessage clears the stored message and then scans the caller's hash list and zeroes the matching entry. sendMessage is the unfinished part: it takes a recipient and a string, decodes both, and does nothing with them except advance the nonce, so no message could ever be stored. The working sendMessage arrives in the next contract the same author deployed. Source recovered by exact bytecode match: solc v0.1.1+commit.6ff4cd6 with the optimizer on reproduces all 1216 bytes of the creation transaction.

Source Verified

SolidityNear-exact bytecode match
Compiler: soljson

near_exact_match: reconstructed source with nonce-based sha3 hashing. All selectors confirmed via openchain.xyz (including affed0e0=nonce()).

Heuristic Analysis

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

Detected Type: Unclassified

Bytecode Overview

Opcodes1,216
Unique Opcodes93
Jump Instructions59
Storage Operations25

External Links

Related contracts