Back to Home

CoinFlipper

Utility
0x6c8dda9f172d...58b08d5ef84e
FrontierContract #81Exact Bytecode MatchEdit this contract
Deployed August 8, 2015 (11 years ago)Block 55,508

A coin flip on the block timestamp that pays double or keeps the stake

Frontier EraVerified Source

Context

Deployed in August 2015, in the first month of the Frontier chain. The same account verified another contract of its own with the identical interface, which is where the name comes from.

Key Facts
Deployment Block
55,508
Deployment Date
Aug 8, 2015, 10:11 PM
Code Size
197.0 B
Gas at Deploy
69,947

Description

Send it more than twice its own balance and it flips: the low bit of the block timestamp is written to storage as the result, and if that bit is set the sender is paid back twice what they sent, otherwise the contract keeps everything. Anything less than twice the balance is refused outright, which caps the payout at what the contract can cover. A donate function exists solely to fund it, and the flip result stays readable afterwards. The randomness is the timestamp, which the miner producing the block chooses.

Source Verified

Exact bytecode match(197 bytes)
Compiler: v0.1.1+
Heuristic Analysis

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

Detected Type: Utility

Bytecode Overview

Opcodes197
Unique Opcodes57
Jump Instructions13
Storage Operations3

External Links

Related contracts