Back to Home

0x0f76...e8c7

Lottery / Gambling
Part of The Cyrus Adkisson Collection
0x0f76dc3f4bb3...9527c323e8c7
FrontierContract #757Exact Bytecode MatchEdit this contract
Deployed September 3, 2015 (11 years ago)Block 178,497

A coin flip wager contract carrying a commented-out attempt at using a block hash, endowed with 1 ETH on 3 September 2015.

Frontier EraVerified Source

Historical Significance

Randomness is the problem gambling contracts exist to expose. Every value available inside the EVM is either known in advance or chosen by the account producing the block, so a payout decided from block data can be steered by whoever mines it. This run of revisions is that lesson being learned in public, one deployment at a time, and the answer the ecosystem eventually reached, an oracle or a commit and reveal, is not available here at all.

Context

Deployed a month after the Frontier launch, when no contract could yet draw randomness from anything but block data.

Key Facts
Deployer
Cyrus Adkisson(0xcf684d...ad1bac)
Deployment Block
178,497
Deployment Date
Sep 3, 2015, 04:17 AM
Code Size
2.4 KB
Gas at Deploy
687,258
Transactions by Year
20152

Description

This revision keeps the wager and payout logic of the day before and adds, commented out, a first attempt to draw the outcome from a block hash instead of block difficulty and the coinbase address. The commented lines and the storage slot left behind for the hash record the attempt without using it, so the deployed behaviour is unchanged from the previous version. A kill function was used, so no code remains and the source is matched against the bytecode as archived at deployment. Deployed by Cyrus Adkisson from 0xcf684dfb8304729355b58315e8019b1aa2ad1bac.

Source Verified

Exact bytecode match(2,496 bytes)
Compiler: v0.1.1+

Historian Categories

Lottery / Gambling
Heuristic Analysis

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

Detected Type: Lottery / Gambling

Bytecode Overview

Opcodes2,496
Unique Opcodes139
Jump Instructions118
Storage Operations45

External Links

Related contracts