Contract - BoostController.sol
Code snippet
the function selector of calaculateTimeWeightedBoost
is as follow -
It requires BoostState
struct object as param, but in _calculateBoost
the param injected for BoostCalculator.calculateTimeWeightedBoost
is BoostParameters
struct object.
User calls BoostController.sol::updateUserBoost()
.
It will call internal function _calculateBoost
; but it will revert due to wrong data type injection (described above).
DOS of function BoostController.sol::updateUserBoost()
, whenever it's called.
Manual
Pass the correct param.
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.