# Functions
Returns the confidence of baseP/quoteP in the desired precision.
Returns baseP/quoteP in the desired precision.
Builds a PriceUpdate for a Pyth oracle result.
Builds a PriceUpdate for a Pyth price feed struct.
NormalizeToPrecision normalizes a int64 of decimals to a int64 with the desired precision.
PriceCmp implements a standard comparator function for the Price type.
PriceCmpUnsafe implements a standard comparator function for the Price type.
# Constants
1 => only 1 price feed to query for the final price.
2 => use triangular arbitrage to get price from target.
0 => no price feed to query.
The min/max possible price of an order.
The min/max possible price of an order.
# Structs
PriceUpdate represents a price update received by the oracle.
# Type aliases
FeedOption is an enum for the different types of price feeds that can be queried.
Prices are represented by int64s.
PriceUpdates is a map of price updates, keyed by pair index.