DexConversionPriceDirectNoBorrow ​
Inherits:DexConversionPriceGetter
returns the reserves conversion price fetched directly from the Fluid Dex Pool.
IMPORTANT: TO BE USED ONLY WITH NO BORROW VAULTS (very tight borrow limits).
Constants ​
X8 ​
solidity
uint256 private constant X8 = 0xffX40 ​
solidity
uint256 private constant X40 = 0xffffffffffFunctions ​
_getDexReservesConversionPriceOperate ​
returns lastStoredPrice at Dex, e.g. for USDC_ETH Dex it returns ETH per 1 USDC, already scaled to 1e27.
solidity
function _getDexReservesConversionPriceOperate() internal view override returns (uint256 conversionPrice_);_getDexReservesConversionPriceLiquidate ​
returns lastStoredPrice at Dex, e.g. for USDC_ETH Dex it returns ETH per 1 USDC, already scaled to 1e27.
solidity
function _getDexReservesConversionPriceLiquidate() internal view override returns (uint256 conversionPrice_);
