1 matches found
In CreditLine#_borrowTokensToLiquidate, oracle is used wrong way
Handle 0x0x0x Vulnerability details Current implementation to get the price is as follows: uint256 ratioOfPrices, uint256 decimals = IPriceOraclepriceOracle.getLatestPriceborrowAsset, collateralAsset; But it should not consult borrowToken / collateralToken, rather it should consult the inverse of...
6.9AI score
SaveExploits0
20