diff --git a/src/contracts/Election.sol b/src/contracts/Election.sol index af7b82f..ec80b53 100644 --- a/src/contracts/Election.sol +++ b/src/contracts/Election.sol @@ -10,4 +10,25 @@ contract VotingForPurpose{ constructor(){ owner = msg.sender; } + + struct Election{ + uint id; + string purpose; + uint status; + uint[] candidatesids; + uint totalVotes; + } + + struct Candidate { + uint id; + string name; + uint voteCount; + string slogan; + uint election_id; + } + + struct Voter{ + string votername; + bool authorized; + } } \ No newline at end of file