/** * Parsed Pyth price data */ export interface PythPrice { /** Price in USD (e.g., 150.25) */ price: number; /** Price in cents for strike comparison (e.g., 15025) */ priceInCents: number; /** Confidence interval in USD */ confidence: number; /** Unix timestamp of the price */ timestamp: number; /** Price exponent from Pyth */ expo: number; } /** * Raw Hermes API response for price update */ export interface HermesPriceUpdate { binary: { encoding: string; data: string[]; }; parsed: HermesParsedPrice[]; } /** * Parsed price from Hermes API */ export interface HermesParsedPrice { id: string; price: { price: string; conf: string; expo: number; publish_time: number; }; ema_price: { price: string; conf: string; expo: number; publish_time: number; }; }