President Elector

First Flight #24
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Lack of Events for Key Actions making it difficult to track important actions

Summary

Key functions such as rankCandidates() and selectPresident() do not emit events, making it difficult to track important actions on-chain.

Vulnerability Details

Without events, there is no way to easily track when a vote is cast or when a president is selected, which can hinder transparency.

Impact

It becomes harder for external users or applications to monitor important changes in the contract.

Tools Used

Manual code review

Recommendations

Add events for important actions, such as ranking candidates and president selections

Updates

Lead Judging Commences

inallhonesty Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.