Magic numbers are hard to reason about and can create bugs.
ScoreBoard.sol (line 68)
if (block.timestamp <= START_TIME + matchNumber * 68400 - 68400)
ScoreBoard.sol (line 92)
predictions[i] == results[i]
? int8(2)
: -1;
ThePredicter.sol (line 51):
if (block.timestamp > START_TIME - 14400) {
revert ThePredicter__RegistrationIsOver();
}
ThePredicter.sol (line 96):
if (block.timestamp > START_TIME + matchNumber * 68400 - 68400) {
revert ThePredicter__PredictionsAreClosed();
}
Suggestion is to create a constant for these values instead with a descriptive name. For example:
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.