IOracleWrapper

Git Source

Functions

getPrice0

function used to get price0.

function getPrice0() external view returns (uint256 price0);

Returns

NameTypeDescription
price0uint256price of token0/token1.

getPrice1

function used to get price1.

function getPrice1() external view returns (uint256 price1);

Returns

NameTypeDescription
price1uint256price of token1/token0.

Errors

AddressZero

error AddressZero();

DecimalsToken0Zero

error DecimalsToken0Zero();

DecimalsToken1Zero

error DecimalsToken1Zero();