0.0.6 • Published 5 years ago

usm-oracles v0.0.6

Weekly downloads
3
License
GPL-3.0-or-later
Repository
github
Last release
5 years ago

USM - Oracles

Collection of smart contracts pulling oracle data from several sources.

  • Chainlink: AggregatorV3Interface
  • Compound: UniswapAnchoredView (OpenOracle)
  • MakerDAO: MakerMedianizer
  • Uniswap: Spot Price
  • Uniswap: TWAP (Time Weighted Average Price)

Plus a simple Median library and implementations of medianized oracle integrations.

  • MedianOracle: Median of 3 arbitrary oracles using the Oracle interface.
  • UniswapMedianSpotOracle: Median of 3 uniswap pair spot prices.
  • UniswapMedianTWAPOracle: Median of 3 uniswap pair TWAP prices.
  • CheapMedianOracle: The implementation chosen for USM. Optimal gas use for a Chainlink, Compound and Uniswap TWAP Median.
0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago