Back to Home

Blockhashes

Unclassified
0x84cb2fd6f7b1...e3987cba125d
FrontierContract #771Exact Bytecode MatchEdit this contract
Deployed September 3, 2015 (11 years ago)Block 179,323

Andrew Miller's Sep 2015 Serpent blockhash oracle: stores block-number-to-blockhash mappings beyond the EVM's 256-block BLOCKHASH window.

Frontier EraVerified Source
Key Facts
Deployment Block
179,323
Deployment Date
Sep 3, 2015, 10:22 AM
Code Size
731.0 B
Gas at Deploy
209,189
Transactions by Year
2015317

Description

A Serpent contract by Andrew Miller (github.com/amiller/ethereum-blockhashes) that keeps a permanent mapping from block number to blockhash, working around the 256-block limit of block.blockhash that had broken Etherpot. add_recent(n) stores a hash still visible to the EVM; add_old(header, n) proves an older block by checking that sha3(header) equals the stored hash of its child, then stores the parent hash read from the header. This is the first deployment (2015-09-03), matching the repo's initial commit ac069aa exactly (runtime and creation).

Source Verified

SerpentExact bytecode match(731 bytes)
Compiler: serpent

Exact runtime and creation match, ethereum/serpent f67c1a9 (also 6faaebb, a7716d3, fd9b0b6). Source blockhashes_ac069aa.se, unmodified.

Heuristic Analysis

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

Detected Type: Unclassified

Bytecode Overview

Opcodes731
Unique Opcodes111
Jump Instructions33
Storage Operations6

External Links

Related contracts