Oracle Aggregation Strategies
Implementations
Minimum
An observation aggregation strategy that calculates the minimum (opens in a new tab) price and the total liquidity of the observations.
- Contract:
MinimumAggregator
(opens in a new tab)
Maximum
An observation aggregation strategy that calculates the maximum (opens in a new tab) price and the total liquidity of the observations.
- Contract:
MaximumAggregator
(opens in a new tab)
Median
An observation aggregation strategy that calculates the median (opens in a new tab) price and the total liquidity of the observations.
- Contract:
MedianAggregator
(opens in a new tab)
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
(opens in a new tab)
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.
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.