schoolFees = _schoolFees;
Initial State: The contract is deployed, and the initialize function is called.
Step 1: The deployer sets an unintended or extremely low value for _schoolFees.
Outcome: Students can enroll by paying an arbitrary amount, which could lead to insufficient funds for teacher and principal payments.
Implications: The contract may not collect enough funds to sustain operations.
How they are affected: Insufficient funds could lead to underpayment or non-payment of teachers and the principal.
if (_schoolFees < MINIMUM_FEES || _schoolFees > MAXIMUM_FEES) {
revert HH__InvalidSchoolFees();
}
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.