Back to Home

LotteryPrototype

Unknown
0xcdd192f2c493...b3c9ca1b622c
FrontierDecompiled
Deployed August 9, 2015 (10 years ago)Block 56,478

The first lottery contract deployed on Ethereum mainnet, created August 9, 2015 by one of the earliest recorded Ethereum users. Built, tested with two participa...

Key Facts

Deployment Block
56,478
Deployment Date
Aug 9, 2015, 02:37 AM
Code Size
1.5 KB
Transactions by Year
20158

Description

Deployed at block 56478 on August 9, 2015, this is one of the earliest lottery contracts to appear on the Ethereum mainnet, created just 10 days after the genesis block. It was built by address 0xFD2605a2bF58fDbB90db1Da55dF61628B47F9e8c, an account active on Ethereum from block 46235 (approximately August 5-6, 2015), among the very first Ethereum users.

The contract implements a blind lottery: participants call buyTicket(uint256 _blindRandom) with a submitted random number, the contract uses random() for its winner selection logic, and the deployer calls payout() to distribute winnings. The contract also includes a die() self-destruct function, which was called at block 56620 after a single test cycle. The entire lifecycle, from deployment to self-destruct, spanned approximately 42 minutes.

During its brief existence, two participants (the deployer and address 0x073f70b5) bought tickets and the payout function was called once. After the test concluded, the deployer called die(), destroying the contract.

This prototype was immediately replaced: 42 minutes after the self-destruct, the same deployer deployed a second, longer-running lottery at 0x7af6af3d4491a161670837d0737bada43ffbb992 (block 56646). The two contracts together document an iterative development approach where a developer tested a contract design in full on mainnet before committing to a persistent deployment.

Heuristic Analysis

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

Detected Type: Unknown

Frontier Era

The initial release of Ethereum. A bare-bones implementation for technical users.

Block span: 01,149,999
July 30, 2015March 14, 2016

Bytecode Overview

Opcodes1,492
Unique Opcodes157
Jump Instructions101
Storage Operations52

External Links