Back to Home

WLBDrawsDB

Lottery / Gambling
0x564ab48eb279...f15ee2c25ffb
HomesteadExact Bytecode MatchEdit this contract
Deployed July 15, 2016 (10 years ago)Block 1,889,926

The draw results database for the WeeklyLotteryB lottery, storing each draw's date, numbers and prize tallies.

Homestead EraVerified Source

Historical Significance

A results database kept as its own contract, separate from the game that writes to it, so that the record of past draws survives any change to the rules. Splitting storage from logic is the pattern upgradeable contracts were later built on, arrived at here for the simpler reason that a lottery's history should outlive its lottery.

Context

Deployed on 15 July 2016 as the results store for the WeeklyLotteryB game at wlb.ethereumlottery.net.

Key Facts
Deployment Block
1,889,926
Deployment Date
Jul 15, 2016, 02:05 PM
Code Size
1.1 KB
Transactions by Year
20165

Description

A storage contract that records the results of each WeeklyLotteryB draw. Each entry holds the draw date, the three drawn numbers, and the count and total value of three-number and two-number wins. New draws can be appended only by the linked game contract, which the owner sets through setGameAddress, and any past draw can be read back with getDraw. It holds no ether and contains no game logic itself.

Source Verified

Exact bytecode match(1,133 bytes)
Compiler: v0.3.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

Opcodes1,133
Unique Opcodes108
Jump Instructions63
Storage Operations48

External Links