When the manager creates a contest using the ContestManager::createContest
function, the owner of the Pot
contract is set to the ContestManager
contract. The Pot::closePot
function can only be called by the owner, which is the ContestManager
contract. The manager's cut is transferred to msg.sender
, which in this case is the ContestManager
contract, and there is no function in the ContestManager
contract to retrieve the tokens.
The manager's cut gets stuck in the ContestManager
contract after closing the pot.
Add a function to the ContestManager
contract to retrieve the tokens.
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.