Mishandling Of ETH is happening as each Teacher is taking 35% bursary funds which will drain all Protocol funds
The total teacher's salary is set as 35% of all funds in bursary. So each Teacher will get total_funds / total_teachers_count
as salary. But there is a mistake in the calculation of per teacher salary LevelOne::payPerTeacher
in LevelOne::graduateAndUpgrade
function.
All School funds will get drained . Each teacher will take 35 %, that means we will be able to pay only 2 teachers and they both will take 70% total funds.
Correct the formula used for calculating each teacher's pay.
`payPerTeacher` in `graduateAndUpgrade()` is incorrectly calculated.
`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.