Back to Home

Contract 0xb1247665ae0c...9b077ec47927

0xb1247665ae0c...9b077ec47927
FrontierSource VerifiedEdit this contract
Deployed October 20, 2015 (10 years ago)Block 411,119

One of the eight ether_ad advertising slots, run as a sealed bid auction

Frontier EraVerified Source

Historical Significance

A sealed bid commit and reveal auction running on Ethereum in October 2015, alongside open ascending auctions in the same dapp, which makes the pair an early practical comparison of the two mechanisms.

Context

Deployed during the Frontier era, when dapp-bin was the reference collection of worked Solidity examples.

Key Facts
Deployment Block
411,119
Deployment Date
Oct 20, 2015, 07:00 AM
Code Size
3.6 KB
Transactions by Year
201529

Description

TwoPhaseAuction sells one advertising slot in ether_ad, the advertising dapp in ethereum/dapp-bin. Bidding runs in two phases: bidders first submit only the hash of a bid, then reveal the value in a second window, so no one can see what anyone else offered while bidding is open. Revealing pays a small subsidy back out of the auction proceeds. When it closes the contract reports the winner and the winning URL to the adStorer that created it and restarts for the next round. This is the revised version, which stores the two deadlines as absolute end times and exposes getHashSubmissionEnd and getHashRevealEnd. It was created by that store rather than by a transaction, so it has no creation bytecode of its own. Recovered from ethereum/dapp-bin. Solc v0.1.1 with the optimizer on reproduces the parent store byte for byte, embedded copy included, and v0.1.4 emits an identical runtime, which is the build recorded on Etherscan.

Bytecode Overview

Opcodes3,700
Unique Opcodes197
Jump Instructions220
Storage Operations134

External Links

Related contracts