The LikeRegistry
contract lacks functionality for users to cancel their likes and retrieve their ETH. Once a user sends 1 ETH to like another profile, there's no way to undo this action, even if it was made by mistake:
The contract permanently stores the like status in the likes
mapping and holds the ETH without any cancellation or refund mechanism.
Users cannot recover funds from accidental likes
ETH becomes permanently locked until a match occurs
No way to handle cases of misclicked profiles
Implement a like cancellation mechanism with a time lock
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.