UniV4Oracle

Git Source

Inherits: IOracleWrapper, IUniV4Oracle, Initializable

State Variables

poolManager

address public immutable poolManager;

isInversed

bool public immutable isInversed;

module

address public module;

decimals0

uint8 public decimals0;

decimals1

uint8 public decimals1;

Functions

constructor

constructor(address poolManager_, bool isInversed_);

initialize

function initialize(
    address module_
) external override initializer;

getPrice0

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

getPrice1

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

_getPrice0

function _getPrice0() internal view returns (uint256 price0);

_getPrice1

function _getPrice1() internal view returns (uint256 price1);