Mystery Box

First Flight #25
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: medium
Invalid

No event in emitted in the contract

Summary

Events are not defined nor emitted in any function in the contract. It would be difficult for external tools such as user interface to know the current state of the contract.

Vulnerability Details

Events are a way to log and notify external entities (such as user interfaces or other smart contracts) about specific occurrences within a smart contract. They serve as a mechanism for emitting and recording data onto the blockchain, making it transparent and easily accessible.

No event was defined or emitted in the contract.

Impact

External tools such as the frontend and backend have no way to monitor state changes on the contract, analyze data, and provide valuable insights without interacting directly with the blockchain.

Tools Used

Manual review

Recommendations

Emit events everytime state variables are updated in the contract.

Updates

Appeal created

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.

Give us feedback!