The "withdraw()" function can lead to an arithmetic underflow error when used before any deposits.
The "withdraw()" function is utilized to withdraw deposited tokens from the staking contract. However, it can potentially cause an arithmetic underflow error if called before depositing any amount or when there are no tokens available for withdrawal.
When the function "withdraw()" is invoked without any prior deposits, may result in an arithmetic underflow error.
Manual Review
Use unchecked
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.