0x1e43a077028edffbc4c4e4359bba4ffca3b6f20c776db1a4f92750118546508b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
contract Voting { | |
enum VoteOption { Yes, No, None } | |
struct Voter { | |
bool hasVoted; | |
VoteOption vote; | |
uint256 votedAtBlock; |