Oracle Aggregation Strategies
Implementations
Minimum
An observation aggregation strategy that calculates the minimum price and the total liquidity of the observations.
- Contract:
MinimumAggregator
Maximum
An observation aggregation strategy that calculates the maximum price and the total liquidity of the observations.
- Contract:
MaximumAggregator
Median
An observation aggregation strategy that calculates the median price and the total liquidity of the observations.
- Contract:
MedianAggregator
Weighted mean (average)
An observation aggregation strategy that calculates weighted mean price and the total liquidity of the observations. By default, the weight of each observation is 1, making this a simple average.
- Contract:
MeanAggregator
Token weighted mean
An observation aggregation strategy that calculates the mean price weighted by the token liquidity of each observation, and the total liquidity of the observations.
- Contract:
TokenWeightedMeanAggregator
Quote token weighted mean
An observation aggregation strategy that calculates the mean price weighted by the quote token liquidity of each observation, and the total liquidity of the observations.
- Contract:
QuoteTokenWeightedMeanAggregator