Providing incorrect data to ProxyFactory
during the deployment and distribution of tokens can cause the tokens to become stuck in the Proxy
contract.
To call the newly deployed Proxy
contract, the organizer must input the correct data. If the data is implemented incorrectly and calls other functions like the getConstants
function, all tokens may become stuck in the Proxy
contract.
Using the file in test/integration/ProxyFactoryTest.sol
To run add this function to the file and call forge test --mt testStuckProxy
The organizer may have all their funds stuck in the Proxy contract. This has a low impact because the funds will be stuck until the owner call distributeByOwner
and get the stuck tokens in contract.
Manual Review
It is recommended to change to logic in ProxyFactory
to call the right function in the Proxy contract, enabling the organizer to only insert the params.
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.