The function calculates and reports the total assets held by the strategy, but it does not perform any action to ensure that idle or unconverted assets (such as dormant WETH) are appropriately managed or swapped to more productive assets.
The function calculates the total assets by summing the unexchanged balance, asset balance, and underlying token balance.
However, it does not address the potential for "idle" assets, such as unconverted WETH, to accumulate within the contract, which may expose the strategy to unnecessary risk if those assets experience price fluctuations.
The commented-out lines suggest that the strategy was designed to swap any idle assets into the main asset (alETH) but this is not being executed. Without converting idle assets, the strategy exposes itself to market risks, including potential losses if asset prices change unfavorably.
Medium to High Impact
Market Risk Exposure
Manual Review
Ensure Idle Assets Are Converted
Automate Conversions: Consider re-enabling and implementing the logic for _swapUnderlyingToAsset
or similar functions to ensure that all unconverted assets are swapped into productive assets or used for further yield generation.
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.