Skip to content

Instantly share code, notes, and snippets.

pragma solidity ^0.4.2;
contract Election {
//Model candidate
struct Candidate {
uint id;
string name;
uint voteCount;
}
//Store accounts that voted