The MysteryBox::setBoxPrice function lacks an event emission, making it challenging to monitor changes in the buyPrice off-chain. In the absence of an emitted event, external applications, off-chain services, and users have no straightforward way to detect and log price updates in real-time. This lack of transparency can lead to discrepancies in data tracking, hinder the functionality of analytics tools, and make it more difficult for users to react to price changes, potentially impacting their decision-making when interacting with the protocol.
Without an event in setBoxPrice, tracking buyPrice changes off-chain becomes difficult, reducing transparency and hindering real-time monitoring of price updates for users and external services.
Manual code review and slither
Add an event for tracking price of a mystery box.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.