Emergency withdrawals can not be stopped
Emergency withdrawals can be activated with the code below:
Then, emergencyWithdraw() can be called with the following condition:
The emergency withdraw delay must be set and we must be after that timestamp for the function to work. The issue is that emergencyWithdrawDelay can never be removed which means that once the delay passes, emergency withdrawals (which allow withdrawing before the lock's end) will always be possible.
Withdrawals will be always possible immediately once the delay has been set, no way to remove it.
Manual Review
Implement a function to set the value to 0
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.