MultiSig deployed contract’s address is not recorded, it becomes difficult to track, interact with, or manage the created contracts.
When a user likes and gets a match, LikeRegistry.sol:matchRewards function will deploy a new MultiSigWallet contract.
However, there is no record, event, or return value that represents the new deployed multiSigWallet address.
If multiSigWallet address need to be tracked later, external tools must scan blockchain transaction logs and adding complexity.
If the deployed contracts hold funds, they may become permanently inaccessible without proper tracking.
forge 1.0.0-dev
To track deployed contracts, store their addresses in an mapping, allows users to query their own deployed contracts.
Then, in the LikeRegistry.sol:matchRewards function, store the deployed contract address in wallets
If on-chain storage is unnecessary, events can log deployed contract addresses:
Then, emit WalletDeployed after MultiSigWallet contract created
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.