KittyVault::getUserVaultMeowllateralInEuros and KittyVault::getTotalMeowllateralInAave cannot retrieve the latest prices for the collateral token as the interface file AggregatorV3Interface.sol is not available for the variables KittyVault::i_priceFeed and KittyVault::i_europriceFeed
The contract will not be able to retrieve the latest price data from the oracles. These variables are used to fetch the latest price of the collateral token and the euro, which are critical for several functions.
This function relies on i_priceFeed
and i_euroPriceFeed
to convert the user's collateral to euros. Without access to these variables, the function cannot retrieve the necessary price data and would fail to calculate the value in euros.
This function uses i_priceFeed
to determine the USD value of the collateral in Aave. Without access to i_priceFeed
, the function cannot convert the total collateral from Aave to the required format.
Hardhat, Manual Review
Please implement a separate contract or module responsible for managing price feeds.
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.