balanceDeployed
function does not provide the correct deployed balance.
The balanceDeployed
function is as follows:
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 balanceDeployed
function should consider exchanged balance.
Can't get correct deployed balance by calling balanceDeployed
.
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.