Oracle Aggregator

As said before, every oracle it's a standalone price-provider, but in this case the goal is to provide a unique smart contract oracle that would be able to leverage all other oracles to support a wide range of token pairs.

Some configurations are actively managed by the Mean Finance team to ensure the best performance (active oracles, their priorities, etc.)

The oracle will hold a list of all available oracles prioritized by Mean Finance team with focus on optimizing gas consumption and securities reliabilities.

As an example, the order in which the oracles will be consulted will be:

  1. Identity Oracle: Checks if we are quoting for the same token in and out.

  2. Chainlink Oracle: It's cheap in terms of gas, and has high security assurances.

  3. Uniswap V3 Oracle: If the consulted pair of tokens can't be supported by Chainlink, then there will probably be a Uniswap V3 pool that help us support it.

Last updated