C.R.E.A.M. Finance
LendingIron BankAPI DocsForum
Ethereum Mainnet
Ethereum Mainnet
  • C.R.E.A.M. Finance
  • Contract Address
  • Audit Report
  • About
  • Press Kit
  • Terms of Service
  • Lending
    • Lending Contract Address
    • Collateral Factor & Reserve Factor
    • Interest Rate Model
    • Price Oracle
  • iceCREAM
    • iceCREAM Tokenomics
    • iceCREAM Mechanism Phase 1
    • iceCREAM Mechanism Phase 2
  • Developer
    • crTokens
    • Key Events
    • Error Codes
      • crTokens
      • Comptroller
    • Subgraph (GraphQL)
    • Testnet
    • Data API
  • CRETH2
    • What is Ethereum 2.0
    • Why Stake for CRETH2
    • Migration Schedule
    • CRETH2 Contract Address
  • Legacy
    • Swap
      • Swap v1
      • Swap v2
    • Reward Pool Contract Address
    • Inactive Staking pools Address
    • creamY
  • Give Feedback
Powered by GitBook
On this page
  • Chainlink
  • LP Tokens
  • Contract
  • C.R.E.A.M. Finance
  • Price Oracle Address

Was this helpful?

  1. Lending

Price Oracle

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

PreviousInterest Rate ModelNexticeCREAM Tokenomics

Last updated 3 years ago

Was this helpful?

We have Chainlink as our main price oracle

Chainlink

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 / MLN / VSP / GNO / SWAP / FEI / WOO / BNT / PAX / PAXG / LON / YGG / AXS / SAND / MANA / FRAX

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

  • WBTC

  • renBTC

  • BBTC

  • HBTC

  • ibBTC

LP Tokens

For SushiSwap LP tokens / Uniswap LP tokens, we use introduced by .

Price for underlying asset is retrieved from Chainlink price feed.

See for the implementation.

Contract

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

yUSD (v1) / yETH / yCRV / xSushi / bBadger / yvCurve-IB / yvCurve-sETH / yvCurve-stETH / VVSP / yvWETH (v2) / yUSD (v2)

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

PriceOracleProxy

PriceOracleProxy (deprecated)

PriceOracleProxy (deprecated)

PriceOracleProxy (deprecated)

Fair LP Pricing
Alpha Finance
source code
0x9A975fe93CFf8b0387b958adB9082B0ed0659AD2
0x338EEE1F7B89CE6272f302bDC4b952C13b221f1d
0x647A539282e8456A64DFE28923B7999b66091488
0x940ce2a25b0BA48d213AcC13AbC21d9Fee2Ed6Dd
0x9a5135157a74b753d11197a821e7f199f5b2fed0