Price Oracle

How C.R.E.A.M. Finance get token price

We have Chainlink as our main price oracle

For the following tokens, we use price feed provided by Chainlink:

ETH / BTC / USDT / USDC / YFI / COMP / BAL / LINK / CRV / BUSD / UNI / wNXM / AAVE / DAI / 1INCH / CEL / COVER / FTT / HEGIC / KP3R / MTA / OMG / SRM / SNX / sUSD / SUSHI / CREAM / DPI / UST / FTM / RUNE / PERP / OCEAN / RAI / RARI / HUSD / AKRO / AMP / SFI

For the following BTC-pegged tokens, we use BTC price instead:

  • WBTC

  • renBTC

  • BBTC

  • HBTC

LP Tokens

For SushiSwap LP tokens / Uniswap LP tokens, we use Fair LP Pricing introduced by Alpha Finance.

Price for underlying asset is retrieved from Chainlink price feed.

See source code for the implementation.

Contract

For the following tokens, we fetch price from contracts directly:

yUSD / yETH / yCRV / xSushi / bBadger / yvCurve-IB / yvCurve-sETH / yvCurve-stETH

C.R.E.A.M. Finance

For the other tokens, we use our own price oracle to get the price.

Price Oracle Address

Contract

Address

v1PriceOracle

0x4250A6D3BD57455d7C6821eECb6206F507576cD2

PriceOracleProxy

0x647A539282e8456A64DFE28923B7999b66091488

PriceOracleProxy (deprecated)

0x940ce2a25b0BA48d213AcC13AbC21d9Fee2Ed6Dd

PriceOracleProxy (deprecated)

0x9a5135157a74b753d11197a821e7f199f5b2fed0