Giter VIP home page Giter VIP logo

spot-price-aggregator's Introduction

Spot Price Aggregator

Build Status Coverage Status

The 1inch spot price aggregator is a set of smart contracts that extract price data for tokens traded on DEXes from the blockchain. To avoid price manipulations within a transaction, the spot price aggregator should ONLY be used off-chain. DO NOT use it on-chain. For off-chain usage see Examples section below.

Wrappers

To handle wrapped tokens, such as wETH, cDAI, aDAI etc., the 1inch spot price aggregator uses custom wrapper smart contracts that wrap/unwrap tokens at the current wrapping exchange rate.

Connectors

If no direct liquidity pair exists between two tokens, the spot price aggregator calculates rates for those coins using another token that has pairs with both of them โ€“ a connector token.

Supported Deployments

Ethereum Mainnet

Supported DEXes

  • Mooniswap
  • 1inch Liquidity Protocol V1.1
  • Uniswap V1
  • Uniswap V2
  • Sushiswap
  • Equalizer.fi
  • Uniswap V3
  • Synthetix
  • Chainlink
  • Shibaswap

Supported wrappers

  • Aave V1
  • Aave V2
  • Compound
  • Fulcrum V1
  • Fulcrum V2
  • WETH
  • Cream

Supported connectors

  • ETH
  • WETH
  • DAI
  • USDC
  • USDT
  • WBTC
  • 1INCH

Binance Smart Chain

Supported DEXes

  • 1inch Liquidity Protocol V1.1
  • Pancakeswap
  • Streetswap
  • Bakeryswap
  • Julswap
  • Demaxswap

Supported wrappers

  • Venus
  • WBNB

Supported connectors

  • BNB
  • WBNB
  • ETH
  • DAI
  • USDC
  • USDT
  • BUSD

Polygon

Supported DEXes

  • QuickSwap
  • ComethSwap
  • SushiSwap
  • Dfyn

Supported wrappers

  • AAVE
  • WMATIC

Supported connectors

  • MATIC
  • WMATIC

Kovan

Supported DEXes

  • 1inch Liquidity Protocol V1.1
  • Uniswap V2
  • Uniswap V1

Supported wrappers

  • Venus
  • WETH

Supported connectors

  • ETH
  • WETH

Optimism

Supported DEXes

  • Uniswap V3
  • Synthetix

Arbitrum

Supported DEXes

  • Uniswap V3
  • Sushiswap
  • Swapr

Avax

Supported DEXes

  • Trader Joe
  • Pangolin Exchange

xDai

Supported DEXes

  • Honeyswap
  • Levinswap
  • Swapr
  • Sushiswap

Fantom

Supported DEXes

  • SpookySwap
  • Solidex
  • SpiritSwap
  • Sushiswap

Aurora

Supported DEXes

  • Trisolaris
  • WannaSwap
  • NearPAD
  • AuroraSwap

Examples

spot-price-aggregator's People

Contributors

zumzoom avatar pzixel avatar zzomrot avatar sevenswen avatar krboktv avatar belactriple9 avatar coolhill avatar pavelkurmacheff avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.