Let's imagine the following scenario:
If the sponsor is ready to give money and does not know that the competition is over, but the organizer starts to send rewards to the winner and front-run, then the sponsor’s money will be locked in the contract;
The second situation is that in the case of network congestion, the sponsor is going to give money, and then the organizer is going to end the game, but the request to end the game is processed first due to network congestion. Similarly, the sponsor’s money will be locked in a contract;
https://github.com/Cyfrin/2023-08-sparkn/blob/main/src/ProxyFactory.sol#L127
Sponsor money could be locked in the contract and not go to the winner
manual
We can add a function to process the remaining tokens in the contract after the game is over and the rewards are distributed
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.