The matchRewards
function in LikeRegistry is failing to properly pool users' like payments into their shared MultiSig wallet because the contract doesn't track user deposits. The userBalances
mapping is never updated when users make like payments, causing the reward calculation to always use zero balances.
Current implementation has two critical issues:
Deposits are never tracked when users like:
Rewards function uses uninitialized balances:
Like payments never reach MultiSig wallet
Users lose all deposited ETH
Platform fees not collected
Empty MultiSig wallets created
Violation of core platform functionality
Protocol doesn't match documentation
funds permanently locked in the contract.
Track deposits when liking:
add code snippet to the likeUser
function
Foundry Testing Framework
Manual Review
Likelihood: High, always. Impact: High, loss of funds
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.