Smart Contracts
Contracts
UsdPriceOracle

UsdPriceOracle

Git Source (opens in a new tab)

Inherits: IPriceOracle

State Variables

priceFeed

AggregatorV3Interface internal priceFeed;

Functions

constructor

constructor(address _oracle);

getPrice

function getPrice() public view returns (uint256);

getWeiValueOfDollar

function getWeiValueOfDollar() public view returns (uint256);