A one function voting contract that records votes as events, deployed by Alex Van de Sande on 4 July 2016.
Historical Significance
Compiled with v0.3.5-nightly.2016.7.1+commit.48238c9f with the optimizer on, it reproduces all 128 bytes of the deployment transaction exactly. The source is the deployer's own verified EtherVote of 6 July with its two ether rejecting lines removed, so the three deployments read as one file growing a guard at a time.
Context
Deployed on 4 July 2016, in the weeks between the attack on The DAO and the hard fork that answered it, when the question of how to read the intent of ether holders was live and several signalling schemes were being tried. Three votes were cast here over the following day. The third deployment in the series, made on 7 July, is the one that went on to collect hundreds.
Key Facts
Description
EtherVote has a single function, vote(bytes32 proposalHash, bool pro). It writes no storage and holds no balance. All it does is emit LogVote with the proposal hash indexed, the yes or no choice, and the caller address, leaving the tally to be read from the logs offchain. The header credits an earlier ether signal contract that the design was based on. This is the first of three EtherVote deployments made in four days, and the plainest of them: it has neither the guard that rejects ether sent with a vote nor the fallback function that rejects plain transfers. Both were added in the next two deployments, on 6 and 7 July.
Source Verified
Historian Categories
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Homestead Era
The first planned hard fork. Removed the canary contract, adjusted gas costs.
Bytecode Overview
Verified Source Available
Source verified through compiler archaeology and exact bytecode matching.
View Verification ProofShow source code (Solidity)
// Submitted by EthereumHistory (ethereumhistory.com)
/*
Based on a contract built by Vlad and Vitalik for Ether signal
If you need a license, refer to WTFPL.
*/
contract EtherVote {
event LogVote(bytes32 indexed proposalHash, bool pro, address addr);
function vote(bytes32 proposalHash, bool pro) {
// Log the vote
LogVote(proposalHash, pro, msg.sender);
}
}External Links
Related contracts
Association (Mist D.A.O.)
Same deployerA token-weighted governance contract deployed by Avsa on Dec 3, 2015, using MistCoin as voting shares. 0.1 ETH remains locked after 10 years.
0x8d554c...d9b8dcDecember 3, 2015Congress
Same deployerAlex Van de Sande's Congress DAO from Dec 28, 2015: on-chain voting with member registry (mapping) and configurable quorum.
0xb3d47f...7c6c0cDecember 28, 2015Congress
Same deployerAlex Van de Sande's Congress DAO from Dec 28, 2015: on-chain voting system for proposals with configurable quorum and majority threshold.
0x7f6b46...03f101December 28, 2015Congress
Same deployerAlex Van de Sande's Congress DAO from Dec 28, 2015: on-chain voting system for proposals with configurable quorum and majority threshold.
0x1e5cbb...b7ff63December 28, 2015Congress
Same deployerA Congress DAO from the ethereum.org tutorial, deployed 28 December 2015, 23 minutes before the tutorial revision it came from was published.
0xe8e80d...4ed2daDecember 28, 2015Doge-ETH Bounty DAO
Same deployerThe Doge-Ethereum Bounty DAO created by avsa on Dec 28, 2015. Funded over 5,400 ETH in bridge development, holds 50,000 MistCoin. Active 2015-2021.
0xdbf03b...c8c6fbDecember 28, 2015