The _harvestAndReport function is intended to accurately reflect a strategy’s total assets by claiming all rewards, selling them, and redepositing the proceeds.
However, in its current implementation, this function does not perform these critical operations. Furthermore, the _totalAssets calculation does not account for WETH stored in the transmuter, leading to an undervaluation of the strategy’s assets. This misreporting can cause the strategy to appear as if it has incurred losses, leading to a lower price per share and potential losses for users who withdraw their funds.
When report is called, it is expected to accurately account for the strategy’s total assets, including deployed, loose, and unclaimed rewards:
The _harvestAndReport implementation, however, does not claim rewards, sell them, or reinvest them as intended:
Incomplete Reward Handling:
• The function skips the actual claiming of rewards (transmuter.claim).
• Any subsequent steps, such as selling rewards and redepositing the proceeds, are also omitted.
Incorrect Asset Calculation:
• The _totalAssets calculation does not include dormant WETH stored in the transmuter.
• This omission undervalues the total assets of the strategy.
The undervalued _totalAssets results in:
A false assumption that the strategy has experienced losses.
A reduced price per share, penalizing users who withdraw during this period.
Users who withdraw funds after a misreported report call may suffer losses due to the artificially lowered price per share. This misalignment between reported and actual assets undermines user trust and could discourage participation in the strategy.
Manual
To mitigate this issue, it is recommended to Complete the _harvestAndReport Logic.
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.