_totalAssets
in _harvestAndReport
function didn't consider exchanged balance
_harvestAndReport
When the asset is deposited into transmuter contract, the asset will be changed to underlying token over time. The asset is divided into unexchanged balance and exchanged balance.
Although keepers can claim exchanged balance and swap to underlying token, there is a limit for claimAndSwap
function:
If the alETH price doesn't depeg, the keeper can't claim and the exchanged balance in transmuter contract isn't zero.
So _totalAssets
should consider exchanged balance.
_totalAssets
is wrong, the share (ERC4626) is deviating from the actual value.(report
function can mint or burn share according to _totalAssets
value )
manual
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.