Back to Home

0x2602...7493

Lottery / Gambling
Part of The Cyrus Adkisson Collection
0x26029ec1bb81...69baecb27493
FrontierContract #749Exact Bytecode MatchEdit this contract
Deployed September 2, 2015 (11 years ago)Block 177,895

A coin flip wager contract that refuses bets the bankroll cannot cover, endowed with 1 ETH on 2 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
177,895
Deployment Date
Sep 2, 2015, 11:50 PM
Code Size
2.4 KB
Gas at Deploy
666,784
Transactions by Year
20152

Description

Deployed the same day as an earlier attempt and differing in one respect: the contract now rejects any wager larger than half its own balance, returning the money rather than accepting a bet it could not pay out at two to one. It also rejects wagers above the uint128 limit. The outcome still comes from hashing block difficulty, the coinbase address, the timestamp and the wager. A kill function was used, so no code remains at the address and the source is matched against the bytecode as archived at deployment. Deployed by Cyrus Adkisson from 0xcf684dfb8304729355b58315e8019b1aa2ad1bac.

Source Verified

Exact bytecode match(2,418 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,418
Unique Opcodes136
Jump Instructions119
Storage Operations46

External Links

Related contracts