IPythOracle
Inherits: IOracleMiddlewareErrors
Functions
getPyth
Gets the Pyth contract address.
function getPyth() external view returns (IPyth pyth_);
Returns
Name | Type | Description |
---|---|---|
pyth_ | IPyth | The Pyth contract address. |
getPythFeedId
Gets the ID of the price feed queried by this contract.
function getPythFeedId() external view returns (bytes32 feedId_);
Returns
Name | Type | Description |
---|---|---|
feedId_ | bytes32 | The Pyth price feed ID. |
getPythRecentPriceDelay
Gets the recent price delay.
function getPythRecentPriceDelay() external view returns (uint64 recentPriceDelay_);
Returns
Name | Type | Description |
---|---|---|
recentPriceDelay_ | uint64 | The maximum age of a recent price to be considered valid. |