Back to Home

Blockhashes

Unclassified
0xb278e4cb20df...15288302f4d7
FrontierContract #811Exact Bytecode MatchEdit this contract
Deployed September 4, 2015 (11 years ago)Block 183,984

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
183,984
Deployment Date
Sep 4, 2015, 03:07 PM
Code Size
782.0 B
Gas at Deploy
222,863
Transactions by Year
20152,126
2016360

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 live instance deployed by Kobi Gurk on 2015-09-04 and linked from the project README; it matches kobigurk/ethereum-blockhashes commit c4b5f33 exactly (runtime and creation), which adds get_blockhash_from_storage(n).

Source Verified

SerpentExact bytecode match(782 bytes)
Compiler: serpent

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

Heuristic Analysis

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

Detected Type: Unclassified

Bytecode Overview

Opcodes782
Unique Opcodes115
Jump Instructions36
Storage Operations6

External Links

Related contracts