According to the docs,
_harvestAndReport()
should do any needed harvesting, rewards selling, accrual, redepositing etc. to get the most accurate view of current assets.
The current functionality doesn't do any of those.
This is the _harvestAndReport()
function. It simply returns totalAsset
. The claim()
functionality is commented out.
Ideally, _harvestAndReport()
should claim the WETH tokens and swap them to ALETH, then report the balance of WETH and ALETH in the contract.
_harvestAndReport()
not built according to docs.
Manual Review
Ensure _harvestAndReport()
is not simply a getter function that returns a variable, but does something as well.
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.