GivingThanks

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

Missing Event Emissions

Summary

Critical state changes are not accompanied by event emissions.

Vulnerability Details

State-changing operations lack event emissions for important actions like:

  • Donations

  • Registry updates

  • Charity registration and verification

  • Admin changes

Impact

  • Limited transparency

  • Difficult off-chain monitoring

  • Poor user experience

Tools Used

  • Manual Review

Recommendations

contract GivingThanks {
event DonationMade(
address indexed donor,
address indexed charity,
uint256 amount,
uint256 tokenId
);
event RegistryInitialized(address indexed registry);
event RegistryUpdated(
address indexed oldRegistry,
address indexed newRegistry
);
}
contract CharityRegistry {
event CharityRegistered(address indexed charity);
event CharityVerified(address indexed charity);
event AdminChanged(
address indexed oldAdmin,
address indexed newAdmin
);
}
Updates

Lead Judging Commences

n0kto Lead Judge 8 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.