Mystery Box

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

Absence of events within the Protocol’s functions.

Events in smart contracts are crucial for enabling communication between the contract and external applications or user interfaces

  • Notification Mechanism: Events allow smart contracts to notify external applications or listeners about specific actions or changes. For example, when a transaction occurs, an event can be emitted to signal this change.

  • Efficient Data Retrieval: Events provide an efficient way to retrieve data from past transactions stored on the blockchain. This is particularly useful for tracking the history of certain actions or states within the contract.

  • Interaction with User Interfaces: By emitting events, smart contracts can facilitate effective interaction with user interfaces, ensuring that users are kept informed about important updates or changes.

  • Logging and Transparency: Events can be logged on the blockchain, making them accessible for future reference. This enhances transparency and allows for better auditing and verification of contract activities.

  • Indexed Events: In Solidity, events can be indexed, making it easier to search and filter through the event history. This is particularly useful for developers who need to query specific events.

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!