Module pyth

Module pyth 

Source

Structs§

OracleConfig
PriceRange
Spread of an asset price, with a lower and upper quote. Use lower in minting, higher in redeeming.

Constants§

SOL_USD
SOL_USD_PYTH_FEED

Functions§

query_pyth_price
Fetches price range from a Pyth oracle with a number of validations.