Trusted Owner/Organiser calls _distribute function to transfer tokens to winners with their respective amount.
Owner/Organiser can transfer all the tokens to themselves, by adding their address in the winner array.
We understand they can set any other address for theft, but we believe this is a required check to provide confidence to consumers in the code.
Owner/Organiser can steal all tokens
Run forge test --mt testIfOwnerstealsfunds -vvv
Manual
Check that owner's/distributor's address is not included in the winner's array be decoding the data in _distribute
, before calling the proxy and as an optional step a method on the gnosis safe multisig contract on the msg.sender address can be called for more verification
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.