Skip to content

Instantly share code, notes, and snippets.

View AlbertWinestien's full-sized avatar
💭
Albertwinestien Only!

Marc Stephen Brown AlbertWinestien

💭
Albertwinestien Only!
View GitHub Profile
@AlbertWinestien
AlbertWinestien / ballot.sol
Created February 2, 2018 20:14 — forked from anonymous/ballot.sol
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.19+commit.c4cbbb05.j&optimize=false&gist=
pragma solidity ^0.4.0;
contract Ballot {
struct Voter {
uint weight;
bool voted;
uint8 vote;
address delegate;
}
struct Proposal {