The withdraw function allows the host to withdraw the fund, however, there is no event emitted to log these withdrawals, making it difficult to track or audit the withdrawal process. This is a critical function, and the absence of an event reduces transparency and can pose a risk in terms of monitoring contract activity.
The lack of an event makes it challenging to track withdrawals on the blockchain, which is essential for auditing and monitoring purposes.
Without an event, there is no way to easily monitor when funds are withdrawn from the contract. This can lead to missed detection of unauthorized withdrawals or misuse of funds.
Manual code review
Add an event to the withdraw function to log the withdrawal of the funds. This will improve transparency and ensure that all withdrawals are traceable.
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.