As we can see Alchemix has alETH and alUSD transmuters here.
If we look at the alUSD transmuters, we can find the it also has USDC and USDT as underlying which has only 6 decimals.
The problem is Strategy is not compatible with these tokens because it doesn't convert their decimals to alUSD decimal.
For the balanceDeployed
function it is not much of a problem because it doesnt do anything else, it will just return the wrong balance.
But for the _harvestAndReport
function, the return value is to be used by report()
to examine profit/loss, and since underlyingBalance
is not converted to 1e18 decimals it will return a lot less value then the actual amount and the ```report`` will be executed with an invalid new totalAssets which breaks the share to asset ratio.
High: it breaks the profit/loss acountiing of the Strategy.
manual
implement a decimal conversion in the given functions from 6 to 18, for Strategies using alUSD transmuters.
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.