npm

@mean-finance/uniswap-v3-oracle

1.0.3 • Public • Published

Lint Tests Slither Analysis

StaticOracle

StaticOracle is a tool developed under Uniswap's grant program that aims to help developers integrate easily and fast with Uniswap's v3 TWAP oracles.

This is done by leveraging already existing WeightedOracleLibrary implemented by Nicolás Chamo.

StaticOracle will allow developers to:

  • Prepare a set of pools (for example: by a token pair and a fee tier) to support a certain period of time (for example: 60 seconds).
  • Quote a TWAP for a set of pools (for example: by a token pair and a fee tier, or addresses).

Package

The package will contain:

  • Artifacts can be found under @mean-finance/uniswap-v3-oracles/artifacts
  • Compatible deployments for hardhat-deploy plugin under the @mean-finance/uniswap-v3-oracle/deployments folder.
  • Typescript smart contract typings under @mean-finance/uniswap-v3-oracle/typechained

Documentation

Everything that you need to know as a developer on how to use StaticOracle can be read in the documented interface.

Installation

To install with Hardhat or Truffle:

YARN

yarn install @mean-finance/uniswap-v3-oracle

NPM

npm install @mean-finance/uniswap-v3-oracle

Deployment Registry

Contract deployed at the same address 0xB210CE856631EeEB767eFa666EC7C1C57738d438 accross the following networks:

Package Sidebar

Install

npm i @mean-finance/uniswap-v3-oracle

Weekly Downloads

117

Version

1.0.3

License

AGPL-3.0-only

Unpacked Size

1.03 MB

Total Files

94

Last publish

Collaborators

  • fiboape
  • sambugs
  • 0xged
  • alejoamiras
  • nchamo