If no matching users are found, the user may wish to retrieve their funds; the user can recover all previously pledged funds.
The current contract does not provide a method for refunds.
Likelihood: High
The current contract does not provide a refund function, so refunds cannot be processed if any user requests one.
Impact: High
Users who have not been matched for a long time cannot get refunds; their funds remain locked in the contract for extended periods, which easily prompts user suspicion and may be perceived as fund fraud.
Add the test `test_Poc_H2_UnmatchedLikeFundsLockedWithoutUserWithdrawalPath` in testLikeRegistry.t.sol
Observe whether the funds are still in the contract one year after a user likes and transfers (funds).
Add a refund function so that users who are not matched can retrieve their funds at any time.
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.