The emergency withdrawal system in veRAACToken consists of three main steps:
Schedule Emergency Action (Owner only) link to code
Enable Emergency Withdrawal (Owner only, after delay of 3 days) link to code
Execute Emergency Withdrawal (Users, after both delays) link to code
The current implementation creates an unintended double delay:
Initial 3-day timelock delay through EMERGENCY_DELAY
Additional 3-day delay added in enableEmergencyWithdraw()
This results in a total 6-day waiting period when only 3 days may have been intended.
Since this is an emergency function, an additional 3 days are critical.
Modify the enableEmergencyWithdraw()
function to remove the additional delay:
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.