
Function Reference
Core Structs
struct PriceFeed {
int256 price; // Scaled price value (positive for valid feeds)
int8 decimal; // Negative exponent (typically -18 for stablecoins)
uint64 lastUpdateTime; // Timestamp of the last update
}
enum PairDirection {
Forward,
Backward
}
struct DerivedPair {
// Details for derived pairs (e.g., asset0/asset1 quotes)
// Includes derived price, decimal, timestamp, etc.
}Functions
Usage Notes
Last updated
Was this helpful?

