The FundsWithdrawn event is declared but never emitted in the withdraw function.
Lack of transparency for fund movements
Off-chain systems cannot track withdrawals
Broken accounting for indexers / analytics
Systems relying on events will not detect fund transfers
Reduced auditability
No on-chain log of critical financial actions
Under normal behavior, critical financial operations such as withdrawals should emit events to provide an auditable and trackable record of fund movements.
In the current implementation, although the FundsWithdrawn event is defined, it is never emitted when funds are withdrawn. This results in missing logs for off-chain systems and reduces transparency of contract activity.
Likelihood:
Occurs on every invocation of the withdraw function
Affects all off-chain systems relying on event logs
Impact:
Off-chain accounting becomes incomplete
Monitoring and analytics tools cannot track withdrawals
Emit the event in the withdraw function to ensure off-chain accounting is up to date with chain data.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.