HOTOracleWrapper

Git Source

Inherits: IOracleWrapper

State Variables

oracle

IHOTOracle public immutable oracle;

decimals0

uint8 public immutable decimals0;

decimals1

uint8 public immutable decimals1;

Functions

constructor

constructor(address oracle_, uint8 decimals0_, uint8 decimals1_);

getPrice0

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

getPrice1

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