Missing event and emit
manualSetDelegate() should have an event call when changing the delegation to another address
setBribesProcessor() should have an event call when changing the BribesProcessor to another address
setProcessLocksOnReinvest() is missing and event and emit
Missing zero address check
manualSetDelegate() for delegate parameter
Unused functions
_withdrawAll() seems to be missing some follow up code or logic, as it only does a require check
prepareWithdrawAll()
manualProcessExpiredLocks() can/should have internal mutability instead
Missing event and emit manualSetDelegate() should have an event call when changing the delegation to another address setBribesProcessor() should have an event call when changing the BribesProcessor to another address setProcessLocksOnReinvest() is missing and event and emit
Missing zero address check manualSetDelegate() for delegate parameter
Unused functions _withdrawAll() seems to be missing some follow up code or logic, as it only does a require check prepareWithdrawAll()
manualProcessExpiredLocks() can/should have internal mutability instead