The lack of a pause mechanism is a significant oversight in the OperatorStakingPool contract
The OperatorStakingPool contract doesn't have any functionality to pause operations. Key functions like onTokenTransfer
(for deposits) and withdraw
can always be called as long as other conditions are met.
If a critical bug is found, there's no way to quickly stop users from interacting with the contract.
During upgrades or maintenance, users could continue to deposit or withdraw, potentially leading to inconsistent states.
Other contracts have the pause mechanism but this one is missing pause and unpause.
Manual Review
Add pause and unpause on the critical functions like deposit withdraw ontokentransfer
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.