The getUserVaultMeowllateralInEuros
function in KittyVault.sol
is used to get the user's collateral for the vault in euros but the parameters provided to the last mulDiv
are inverted, leading to an incorrect conversion.
Incorrect calculation of collateral in euros can lead to inaccurate valuation of a user's assets, causing financial discrepancies and issues in collateral management.
Manual review.
Modify the calculation to correctly convert the collateral value from USD to EUR by inverting the parameters. The corrected line should be:
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.