TSender

Cyfrin
DeFiFoundry
15,000 USDC
View results
Submission Details
Severity: low
Invalid

Missing events for successful airdrops

Summary

The project lacks emitting events for successful airdrops.

Vulnerability Details

At the end of the airdropERC20() function, the project fails to emit an event for successful airdrops. Events are a method of informing the transaction initiator about the actions taken by the called function. They log their emitted parameters in a specific log history, which can be accessed outside of the contract using some filter parameters. This omission restricts external system tracking and external system integrations.

Impact

Without events, users and blockchain-monitoring systems will not be able to easily detect suspicious behavior.

Tools Used

Manual code review

Recommendations

Emit an event upon succesful airdrop.

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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