Back to Home

Private Lottery

other
Part of The Vitalik Collection
0xf938cbc60975...2f1e263300cd
FrontierContract #1,894Exact Bytecode MatchEdit this contract
Deployed October 12, 2015 (10 years ago)Block 370,500

Vitalik Buterin Serpent oracle caller (Oct 12, 2015). Two functions: call() emits a placeholder "cow" log, calls an external fetcher's get(string) forwarding value, and stores a callback id; callback() re-emits the response. 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,500
Deployment Date
Oct 12, 2015, 03:37 AM
Code Size
868.0 B
Gas at Deploy
246,441
Transactions by Year
20151

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). This variant additionally forwards msg.value into the external call and embeds a hard-coded label.

Source Verified

SerpentExact bytecode match(868 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 (850-byte runtime). Full version of the Oracle Callback Service: call() emits a placeholder log(LogResponse, "cow", 0), then invokes the external fetcher's get(string) forwarding msg.value, and records cbids[returnedId]=fetchId; callback() re-emits the matched response as LogResponse(string,uint256).

Heuristic Analysis

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

Detected Type: other

Bytecode Overview

Opcodes868
Unique Opcodes96
Jump Instructions21
Storage Operations5

External Links

Related contracts