Note: Division by 0 covered in bot but this instance reported here not covered in bot
calcCapExponent
is called in many functions in MultiFlowPump like in update
function and capInterval
param is passed as param but it is never checked for zero so it can be passed as zero. It will cause unexpected revert due to division by zero error.
MultiFlowPump::calcCapExponent
function
MultiFlowPump::update
function
Unexpected revert due to division by zero error due to no 0 check on capInterval
param.
Manual Review
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.