Back to Home

Private Lottery

other
Part of The Vitalik Collection
0x7e7f6373193b...3b768bddf746
FrontierContract #1,884Exact Bytecode MatchEdit this contract
Deployed October 12, 2015 (10 years ago)Block 370,250

Vitalik Buterin Serpent oracle fetcher (Oct 12, 2015). get(string) requires >=0.007 ETH, derives a request id from sha3+block.prevhash, emits GetRequest, returns the id, and sends the balance to Vitalik's 0xde0b2956 address. Byte-for-byte cracked (Serpent @ f0b4128).

Frontier EraVerified Source

Historical Significance

Part of a series of private lottery contract experiments Vitalik deployed on mainnet in October 2015. The hardcoded 'cow' test key links these to pyethereum's classic test patterns.

Key Facts
Deployer
Vitalik Buterin(0x1db343...fa6ee6)
Deployment Block
370,250
Deployment Date
Oct 12, 2015, 02:30 AM
Code Size
422.0 B
Gas at Deploy
126,252

Description

Deployed October 2015 by Vitalik Buterin. A paid query contract written in Serpent with a single get(string) entry point: callers must send a minimum fee, the contract records a hash derived from the caller, value and input, emits a log event, and forwards the fee onward. Byte-identical siblings exist in this collection.

Source Verified

SerpentExact bytecode match(422 bytes)
Compiler: f0b4128

Serpent get(string) oracle fetcher. Compiled with ethereum/serpent @ f0b4128 (2015-10-15); creation and runtime bytecode match on-chain exactly (404-byte runtime). Requires >= 0.007 ETH, derives an id = sha3(block.prevhash + sha3(url) + msg.sender + msg.value*2^160), emits GetRequest(string,address,uint256,uint256), returns the id, and sends the balance to Vitalik's address 0xde0b2956. Solidity cannot produce this bytecode (Serpent init marker, memory allocator, raw LOG1 with literal topic).

Heuristic Analysis

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

Detected Type: other

Bytecode Overview

Opcodes422
Unique Opcodes102
Jump Instructions12
Storage Operations3

External Links

Related contracts