Description: according to the documentation, teachers should share 35% of the bursary, instead of each teacher getting 35% of the bursary.
if more than 3 teachers are in school, usdc will exceed the bursary amount.
Impact: This will break the contract's logic, as the contract send more usdc amount to teachers, and may revert due to insufficient usdc balance if more than 3 teachers in school.
Proof of Concept: add following test and run
Recommended Mitigation: divide the payPerTeacher by the number of teachers in the school
`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.