ishita-43 / Blockchain-Based-Voting-System

This project is the blockchain based voting system on basic tech stacks in frontend and truffle
https://ishita-43.github.io/Blockchain-Based-Voting-System/
5 stars 8 forks source link

Enhance Voting Contract with Event Emission for Transparency and Traceability #29

Open pradyumna14 opened 17 hours ago

pradyumna14 commented 17 hours ago

File name: Voting.sol

This enhancement involves adding events to key functions in the Voting contract, such as addCandidate, authorize, vote, and endElection. Emitting events provides transparency by allowing external applications and users to track significant actions on the blockchain, improving auditability and user experience. This addition is crucial for monitoring the contract’s activity and ensuring accountability in the voting process without altering its original flow or logic.

pradyumna14 commented 11 hours ago

I believe I created the PR wrongly, let me again create a PR