The collectPresent function in the SantasList
contract is designed to mint tokens to users based on certain conditions. However, it currently lacks an event emission upon successful token minting. Any time state changes within a contract the function should emit and event.
It is challenging to to track when tokens have been minted and by whom
A transaction invoking collectPresent
can be executed, and the transaction receipt inspected. While the function executes as intended (minting tokens), the receipt lacks an event log corresponding to this action. This absence of logging is not in line with standard practices for smart contract development, where significant state changes are typically accompanied by event emissions.
Manual
Implement Event Logging
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.