Critical modifier whenNotPaused
is lacked in withdraw()
and delegate()
function.
In **TempleGoldStaking
**contract, it implement Pausable
to pause critical function in emergency mode. whenNotPaused
modifier is implemented in stakeFor
function, but function withdraw()
and delegete()
aren't:
Function withdraw()
:
Function delegate()
:
Unable to pause these function in case of emergency mode.
Manual review
Add whenNotPaused
modifier in withdraw()
and delegate()
functions.
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.