Pay-to-vote bidding on bytes32 keys with append-only movie list.
Historical Significance
The earlier of two identical MovieVoting deployments within 16 blocks on Frontier Ethereum.
Context
Deployed on Frontier Day 4. This contract selfdestructed - likely killed by the deployer who redeployed at block 51,128 (rank 23).
Key Facts
Description
Pay-to-vote bidding on bytes32 keys with append-only movie list. Functions include vote(bytes32), bids(bytes32), movies(uint256), movie_num(). Verified with soljson-v0.1.1+commit.6ff4cd6 and optimizer ON.
Source Verified
Backfilled from awesome-ethereum-proofs PR #38.
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Frontier Era
The initial release of Ethereum. A bare-bones implementation for technical users.
Bytecode Overview
Verified Source Available
Source verified through compiler archaeology and exact bytecode matching.
View Verification ProofShow source code (Solidity)
contract MovieVoting {
mapping(bytes32 => uint256) public bids;
bytes32[] public movies;
uint256 public movie_num;
function vote(bytes32 key) {
if (msg.value == 0) return;
var bid = bids[key];
if (bid == 0) {
movie_num += 1;
movies[movie_num - 1] = key;
}
bids[key] += msg.value;
}
}