Skip to content

Balmy-protocol/uniswap-v3-oracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published