IPythOracle

Git Source

Inherits: IOracleMiddlewareErrors

Functions

getPyth

Gets the Pyth contract address.

function getPyth() external view returns (IPyth pyth_);

Returns

NameTypeDescription
pyth_IPythThe Pyth contract address.

getPythFeedId

Gets the ID of the price feed queried by this contract.

function getPythFeedId() external view returns (bytes32 feedId_);

Returns

NameTypeDescription
feedId_bytes32The Pyth price feed ID.

getPythRecentPriceDelay

Gets the recent price delay.

function getPythRecentPriceDelay() external view returns (uint64 recentPriceDelay_);

Returns

NameTypeDescription
recentPriceDelay_uint64The maximum age of a recent price to be considered valid.