TSender

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

Emit events in `TSender.sol::airdropERC20` to improve transparency and tracking

Summary

TSender.sol::airdropERC20 could use event emitting to improve transparency and tracking.

Vulnerability Details

The contract could use a common practice of emitting events for overall improvement.

Impact

In doing so, it will allow logging significant actions such as the start of the airdrop process, successful transfers to recipients, and any errors encountered during the process. This will allow external observers to monitor the contract's activities in real-time, enhancing its transparency and usability.

Tools Used

Manual review

Recommendations

Add events to log significant actions and improve transparency:

event AirdropStarted(address indexed token, address[] indexed recipients, uint256 totalAmount);
event TransferSuccessful(address indexed token, address indexed recipient, uint256 amount);
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.