Skip to content
Request an audit

‹ All findings

In case of success, some leftover funds could still be present in the adapter

Low/InfoFelix Price Feeds·0xSimao · CDP stablecoin · 14th March 2025I-2

Description:

The CurveGaugeDistributor::distributeRewardsToGauge() sends the funds to curve to deposit rewards, but does not check if there is any leftover balance after doing so. Currently curve pulls all tokens so this should not happen, but other adapters could have leftover funds.

Recommended Mitigation:

Check if there are leftover funds after success and send them to the InterestRouter or add a helper to send any feUSD in the adapter to the InterestRouter.

0xSimao:

Fixed in #ba81f93.