Back to Home

Private Lottery

other
Part of The Vitalik Collection
0xc861fc8dc953...9046ea407166
FrontierContract #1,891Exact Bytecode MatchEdit this contract
Deployed October 12, 2015 (10 years ago)Block 370,458

Vitalik Buterin Serpent oracle caller (Oct 12, 2015). Two functions: call() invokes an external fetcher's get(string) and stores a callback id; callback() re-emits the response as LogResponse. NOT a lottery. Byte-for-byte cracked (Serpent @ f0b4128).

Frontier EraVerified Source

Historical Significance

More developed version of Vitalik's Oct 2015 lottery experiments. Both his dev address (0x1db3439) and vitalik.eth (0xd8da6bf2) used these contracts. The 'cow' test key links these to pyethereum's classic test patterns.

Key Facts
Deployer
Vitalik Buterin(0x1db343...fa6ee6)
Deployment Block
370,458
Deployment Date
Oct 12, 2015, 03:25 AM
Code Size
628.0 B
Gas at Deploy
182,398
Transactions by Year
20153

Description

Deployed October 2015 by Vitalik Buterin. A Serpent contract in the same family as the 422-byte get(string) query contracts, with three functions including a bet/registration function that writes to a keyed storage map and forwards a fee to an external registry via get(string).

Source Verified

SerpentExact bytecode match(628 bytes)
Compiler: f0b4128

Serpent oracle caller with two functions, callback(bytes,uint256) and call(address,bytes,uint256). Compiled with ethereum/serpent @ f0b4128; exact creation+runtime match (610-byte runtime). call() invokes an external fetcher's get(string) and records cbids[returnedId]=fetchId; callback() re-emits the response as LogResponse(string,uint256) once matched. Same lineage as the Oracle Callback Service 0x6acc9a68, but without the placeholder cow log and without forwarding value to get().

Heuristic Analysis

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

Detected Type: other

Bytecode Overview

Opcodes628
Unique Opcodes93
Jump Instructions18
Storage Operations4

External Links

Related contracts