The LendingPool::setStabilityPool function updates the stability pool address without verifying whether the current pool holds rTokens.
Since:
The Stability Pool contract allows users to deposit rToken and receive deToken, as well as withdraw their rToken and RAAC rewards.
If the pool is updated while tokens are still present, these tokens will become permanently locked, as there is no mechanism to retrieve them after the address change.
Any tokens present in the old stability pool will be permanently locked.
Before updating the stability pool, ensure it has a zero balance of rTokens. If any tokens remain, prevent the update.
This check ensures that no tokens remain in the old stability pool before updating its address, preventing accidental token loss.
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.