When a match occurs in the LikeRegistry
contract, a MultiSigWallet is deployed for the two matched users. However, the deployed wallet instance is not stored anywhere in the contract, making it impossible to retrieve or track later. This results in losing access to the multisig wallet, preventing users from managing their shared funds.
Issue in LikeRegistry::matchRewards
function,A MultiSigWallet instance is created when a match occurs:
However, this instance is not stored anywhere, making it impossible to reference later.
Users cannot track their deployed multisig wallet, resulting in permanent loss of funds.
. Foundry
Store the MultiSigWallet
instance in a mapping so users can retrieve their wallet later.
Modify LikeRegistry::matchRewards
to store the wallet address:
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.