likeRegistry
is not set in the code, causing the core Reward protocol to not workDescription: The userBalance mapping is not set in the code, meaning that if an user like someone his/her fund are not keep in the protocol.
Impact:
No Reward mechanism possible, as the totalReward will be set to zero each time.
The totalFee will be zero everytime a match is met.
The multiSignWallet will not work as the value in it, will be zero.
Proof of Concept: You need to create a test file testLikeRegistry.t.sol
and add the following test
Recommended Mitigation: You need to set userBalance somewhere(likely in LikeRegistry::LikeUser
), for the protocol to work properly.
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.