When critical state variables (e.g., router) are updated in setRouter
function no events are emitted. This makes it harder to track updates. Events in solidity provides transparency about what happens within a smart contract. Without events important updates like changing the router address are not logged on the contract in a way that can be easily tracked or monitored.
Reduced Transparency
A blockchain key strength is its transparency. Without events, users, developers, or external systems monitoring the contract can not easily observe critical actions such as changes in state variables.
Users Trust and Accountability
Users interacting with contract rely on emitted events to verify the proper functioning of the contract.
Manual review
Emits an event whenever setRouter
is called
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.