<!-- canonical: https://0xsimao.com/findings/clip-finance-i-scheduled-withdrawals-unsupported-halted -->

# Scheduled withdrawals with unsupported tokens will be halted

Crit/High · Three Sigma · DeFi infrastructure · 10th November, 2023

Finding 3S-Clip Finance-H05 of the Clip Finance Strategies security review.

- Protocol: https://www.clip.finance/
- Report: /reports/clip-finance-i
- Source: https://cdn.sanity.io/files/qoqld077/production/c23d04c8223879d2443221caf3ccb55ac118441a.pdf

---

### Description

A token might be supported at time A, letting users withdraw in BatchOut using this token.
However, if the token is not supported anymore after withdrawals are scheduled, it won't be
possible to call BatchOut:executeBatchWithdrawFromStrategyWithSwap(), as it will
revert when trying to call router.withdrawFromStrategies(), [here](https://github.com/ClipFinance/strategy-router/blob/master/contracts/StrategyRouter.sol#L400-L402).
The workaround is supporting the token for a short period of time again to let users fulfill
their withdrawals, but this could lead to other problems, given that it was previously
deprecated.

### Recommendation

Change the withdraw token to another supported token in
executeBatchWithdrawFromStrategyWithSwap() if the token is no longer supported.

### Status

Addressed in [#8f3f6e4](https://github.com/ClipFinance/StrategyRouter-private/commit/8f3f6e47b15d0e696b208c5aab1c3d2793fa90ba)
