<!-- canonical: https://0xsimao.com/findings/maple-finance-iv-gem-usdc-sing-withdrawals -->

# There may not be enough gem(Usdc) in the Psm contract, DoSing withdrawals in the Sky Strategy

Low/Info · Three Sigma · Institutional lending · 26th November, 2024

Finding 3S-Maple-N08 of the Maple Cash Strategies security review.

- Protocol: https://maple.finance/
- Report: /reports/maple-finance-iv
- Source: https://cdn.sanity.io/files/qoqld077/staging/a68d604be9eca467b1f656c2ca775e1cebc2a468.pdf

---

### Description

The [psm](https://vscode.blockscan.com/ethereum/0xf6e72Db5454dd049d0788e411b06CfAF16853042) contract may not have enough gem (USDC) in the pocket, which could revert and
DoS withdrawals.

### Recommendation

It's possible to change the psm address so the issue can be managed, but it could DoS
withdrawals for some time.

### Status

Acknowledged

---

Related findings:

- [Swap amount can be 0 as it divides the balance by 2, DoSing ShadowStrategyGauge::collectGaugeRewards()](https://0xsimao.com/findings/yieldoor-i-divides-sing-shadow-rewards): Yieldoor Gauges
- [If enough rebalances are performed, ShadowStrategyGauge::collectGaugeRewards() could be DoSed](https://0xsimao.com/findings/yieldoor-i-rebalances-performed-shadow-rewards): Yieldoor Gauges
