Election smart contract
Description
Election smart contracts will contain the business logic for managing various features of an election as shown below
-
election details -
vote counting algorithm - only general vote counting algorithm -
voters who have already voted -
function to add candidate[s] (details) before election started -
function to vote when an election is active -
function to calculate results
Fixes #4 (closed)
Type of change
Please mark the options that are relevant.
-
Updated UI/UX -
Improved the business logic of code -
Added new feature -
Other
Checklist:
-
I have performed a self-review of my own code -
I have commented my code, particularly in hard-to-understand areas -
I have made corresponding changes to the documentation -
My changes generate no new warnings