Events are the primary way off-chain systems keep track of contract state changes. The Claimed event is intended to signal who successfully found a treasure and received the reward.
In the current implementation, the code transfers REWARD to the recipient, but logs the msg.sender. If a user uses a "relayer" or a secondary wallet to pay for gas while sending the funds to their hardware wallet (recipient), the public record will incorrectly show the gas-paying wallet as the winner.
Likelihood: High
The code is hardcoded to log the wrong address.
Impact: Low
It does not result in a loss of funds (the money still goes to the right place), but it corrupts the "source of truth" for the hunt's history and creates confusion for users.
Update the event to emit the address that actually received the reward.
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.
The contest is complete and the rewards are being distributed.