IOracleWrapper
Functions
getPrice0
function used to get price0.
function getPrice0() external view returns (uint256 price0);
Returns
Name | Type | Description |
---|---|---|
price0 | uint256 | price of token0/token1. |
getPrice1
function used to get price1.
function getPrice1() external view returns (uint256 price1);
Returns
Name | Type | Description |
---|---|---|
price1 | uint256 | price of token1/token0. |
Errors
AddressZero
error AddressZero();
DecimalsToken0Zero
error DecimalsToken0Zero();
DecimalsToken1Zero
error DecimalsToken1Zero();