The line in stakeVested
checks if the **stream **still has funds in it!
The issue here is (withdrawnAmount + refundedAmount) > depositedAmount
then this will revert from underflow and not from InvalidAmount()
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.