The LikeRegistry.sol::matchRewards()
function deploys a multisig wallet for matched users and transfers their rewards to it. However, the function does not emit an event or return the address of the deployed multisig wallet. This omission prevents users from knowing where their rewards were sent, impacting usability and transparency.
After calling matchRewards()
, the deployed multisig wallet's address is unknown to the users because it is neither emitted in an event nor returned by the function. This creates a usability issue where users cannot access their rewards without external assistance.
Users have no way to retrieve their multisig wallet address unless they manually track transactions on-chain.
Lack of transparency in reward distribution could lead to user frustration and distrust.
The issue could lead to support requests and an increased operational burden for developers.
Manual review
Emit an event with the multisig wallet address:
Modify the function:
Alternatively, return the multisig wallet address from the function.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood 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.