The claimAndSwap function is designed to claim tokens from the transmuter, swap them for the asset token, and deposit the swapped tokens back into the transmuter. However, these operations are expected to be carried out by the tend function according to the BaseStrategy implementation.
The BaseStrategy defines the tend function operations as follows "This can be used to harvest and compound rewards, deposit idle funds,perform needed position maintenance or anything else that doesn't need a full report for." Hence , the operations of the claimAndSwap function, which should logically be part of the tend operations, is implemented as a separate function.
https://github.com/Cyfrin/2024-12-alchemix/blob/82798f4891e41959eef866bd1d4cb44fc1e26439/src/StrategyOp.sol#L79
Non-conformity with the BaseStrategy contract.
Code Review
Integrate the operations of the claimAndSwap into the tend function
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.