totalAssetX18
- vaultDebtInAssetsX18
can be equal to or less than 10 ** uint256(decimalOffset)
.
In that case, this breaks the assumption of the protocol that totalAssetsMinusVaultDebtX18
> 0.
If the return value, totalAssetsMinusVaultDebt
is 0, VaultRouterBranch.getVaultAssetSwapRate
will revert with a divide-by-zero error.
If totalAssetsMinusVaultDebtX18
is lower than zero, amountX18.intoUint256()
will revert.
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.