@mean-finance/mean-oracles
v2.0.0-rc1
Published
Mean Oracles
Downloads
9
Readme
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.
Package
The package will contain:
- Artifacts can be found under
@mean-finance/mean-oracles/artifacts
- Compatible deployments for hardhat-deploy plugin under the
@mean-finance/mean-oracles/deployments
folder. - Typescript smart contract typings under
@mean-finance/mean-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 install @mean-finance/mean-oracles
NPM
npm install @mean-finance/mean-oracles
Deployment Registry
Contracts are deployed at the same address on all available networks via the deterministic contract factory
Available networks: Optimism, Optimism Kovan, Arbitrum Rinkeby, Polygon, Mumbai (Polygon testnet).
- OracleAggregator:
0xFD8aD08F7e35FA949c6dEB9B58623345Faa5D3EF
- StatefulChainlinkOracleAdapter:
0x4708433c4EF50544e7a37e2903c434F293A21aaC
- UniswapV3Adapter:
0xdd18E04096c5E974B23d6205e2138EDA139848D3