Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Missing events

Summary

Some critical functions are missing events.

Vulnerability Details

function collectPresent() external {
function buyPresent(address presentReceiver) external {

Events are crucial for off-chain services as they notifies external users what has happened on the blockchain.

Impact

If some crucial functions do not emit events, it may result in:

  • External users may not be able to accurately understand the status and behavior of the contract.

  • Developers may not be able to discover and fix security vulnerabilities in a timely manner.

Tools Used

Manual review

Recommendations

Add events e.g PresentCollected, PresentBought for this two critical functions.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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