Wrong calculations for teachers payment
Each teacher should receive a share from the 35% of the bursary.
At the moment each teacher will receive 35% of the bursary.
The calculations here are incorrect.
GitHub Link: LevelOne.sol
Proof of Concept:
Proving this is easy - adding one more teacher leads to:
[FAIL: ERC20InsufficientBalance(0x90193C961A926261B756D1E5bb255e67ff9498A1, 9000000000000000000000 [9e21], 10500000000000000000000 [1.05e22])] test_confirm_can_graduate()
At: GitHub Link: LeveOnelAndGraduateTest.t.sol
There is no more funds, as each of the 3 Teachers is going to receive 35%
The rewards for teachers can cause DoS or overpaying for the teachers if they are only 2.
Manual Review
Change the logic for teachers rewards.
For example:
`payPerTeacher` in `graduateAndUpgrade()` is incorrectly calculated.
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.