sam-goldman / oracles

A repository to store everything related to Mean's oracles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lint Tests Slither Analysis

Mean Finance Oracles

This repository will hold all Mean Finance's oracle infrastructure. It aims to have a sufficiently flexible architecture as to support a wide amount of tokens composition, and therefore enabling quoting pairs that couldn't be done before.

Some of this is achieved by leveraging already existing oracles like Uniswap V3 Static Oracle.

πŸ”’ Audits

Oracles has been audited by Omniscia and can be find here.

πŸ“¦ NPM/YARN Package

The package will contain:

  • Artifacts can be found under @mean-finance/oracles/artifacts
  • Typescript smart contract typings under @mean-finance/oracles/typechained

πŸ“š Documentation

Everything that you need to know as a developer on how to use all repository smart contracts can be found in the documented interfaces.

πŸ›  Installation

To install with Hardhat or Truffle:

YARN

yarn add @mean-finance/oracles

NPM

npm install @mean-finance/oracles

πŸ“– Deployment Registry

Contracts are deployed at the same address on all available networks via the deterministic contract factory

Available networks: Optimism, Arbitrum One, Polygon.

  • Identity Oracle: 0x0171C3D8315159d771f4A4e09840b1747b7f7364
  • OracleAggregator: 0x9e1ca4Cd00ED059C5d34204DCe622549583545d9
  • StatefulChainlinkOracle: 0x5587d300d41E418B3F4DC7c273351748a116d78B
  • UniswapV3Adapter: 0xD741623299413d02256aAC2101f8B30873fED1d2
  • TransformerOracle: 0xEB8615cF5bf0f851aEFa894307aAe2b595628148

About

A repository to store everything related to Mean's oracles

License:GNU General Public License v3.0


Languages

Language:TypeScript 69.8%Language:Solidity 30.0%Language:JavaScript 0.2%Language:Shell 0.0%