pub fn query_pyth_price<Exp: Integer, C: SolanaClock>(
clock: &C,
oracle: &PriceUpdateV2,
_: OracleConfig<Exp>,
) -> Result<PriceRange<Exp>>Expand description
Fetches price range from a Pyth oracle with a number of validations.
pub fn query_pyth_price<Exp: Integer, C: SolanaClock>(
clock: &C,
oracle: &PriceUpdateV2,
_: OracleConfig<Exp>,
) -> Result<PriceRange<Exp>>Fetches price range from a Pyth oracle with a number of validations.