Sponsors can't get Proxy Address before proxy is deployed and proxy can't be deployed because if organizer try to deploy he need to use function deployProxyAndDistribute
which will try to distribute prizes and this will revert because:
in Distributor.sol
on function _distribute
have check and if there no have tokens function will revert. So the organizator can't deploy the proxy and sponsors can't get proxy address because function _calculateSalt
is internal.
Sponsors can't predict proxy address where need to send funds because can't calculate salt with _calculateSalt
which is internal.
Sponsors can't send funds to contest proxy and if organizator try to deploy it will always revert since there no have tokens for prizes.
Manual Review
To mitingate this issue make function _calculateSalt
in ProxyFactory.sol
public or external
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.