The documentation states that users can withdraw their LINK from the Priority Pool at any time. However, when the strategy is incorrectly set with minDeposits
equal to maxDeposits
, users are unable to withdraw tokens. In the deployed contracts, the situation where minDeposits
equals maxDeposits
is intentionally set.
The documentation confirms that users have the ability to withdraw their LINK from the Priority Pool whenever they choose.(FAQ | stake.link)
5. Can I withdraw my LINK from the Priority Pool?
Yes, you can withdraw your LINK from the Priority Pool at any time.
Additionally, in the deployed contracts, the condition where minDeposits
is equal to maxDeposits
is deliberately established. This is evident as getMaxDeposits()
is equivalent to getMinDeposits()
.
Deployed Contracts | stake.link
getMaxDeposits()
= 1533884834393893637465945
getMinDeposits()
= 1533884834393893637465945
In this case, the user is unable to withdraw their LINK from the Priority Pool.
Users are unable to withdraw their LINK from the Priority Pool and lose funds.
Manual code review
When deploying the strategy contract, make sure that minDeposits
is not equal to maxDeposits
.
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.