Give Stakers a voice
25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |Download Mist 39 |
├── icon.png ├── .gitignore ├── screenshot.png ├── stake-voice.sublime-project ├── README.md ├── contract.sol ├── index.html ├── style.css └── scripts.js /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethereum/stake-voice/HEAD/icon.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | stake-voice.sublime-workspace 3 | 4 | stake-voice.sublime-workspace 5 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ethereum/stake-voice/HEAD/screenshot.png -------------------------------------------------------------------------------- /stake-voice.sublime-project: -------------------------------------------------------------------------------- 1 | { 2 | "folders": 3 | [ 4 | { 5 | "path": "." 6 | } 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Stake Voice 2 | Give Ethereum Stakers a voice 3 | 4 | Open this app on [Mist](https://github.com/ethereum/mist): 5 | 6 | [ethereum.github.io/stake-voice/](https://ethereum.github.io/stake-voice/) 7 | 8 | 9 |  10 | -------------------------------------------------------------------------------- /contract.sol: -------------------------------------------------------------------------------- 1 | /* 2 | Based on a contract built by Vlad and Vitalik for Ether signal 3 | If you need a license, refer to WTFPL. 4 | */ 5 | pragma solidity ^0.4.11; 6 | contract EtherVote { 7 | event LogVote(bytes32 indexed proposalHash, bool pro, address addr); 8 | 9 | /// @notice I `pro? agree : disagree` with the statement whose hash is `proposalHash` 10 | /// @param proposalHash hash of the proposal 11 | /// @param pro do you support it or not? 12 | function vote(bytes32 proposalHash, bool pro) { 13 | // Log the vote 14 | LogVote(proposalHash, pro, msg.sender); 15 | } 16 | 17 | // again, no ether 18 | function () { throw; } 19 | } -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |