TSender

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

Missing event in airdropERC20 function

Summary

The function TSender::airdropERC20 facilitates the distribution of ERC20 tokens to multiple recipients. However, it lacks the emission of events, which is critical for transparency and tracking.

Vulnerability Details

The function does not emit any events to log the actions taken, specifically the transfers of tokens from the contract to the recipients.

Impact

Users and external applications cannot track the distribution of tokens.
Applications relying on event logs to update their state will not function correctly.
Developers and auditors cannot easily trace or debug the function’s execution.
The lack of events can obscure contract behavior, potentially hiding malicious activities and complicating regulatory compliance.

Tools Used

Manual Review

Recommendations

Emit event when airdrop succeeded.

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.