Chedda Finance | Price Feeds on Base

INTRODUCTION

Protocol: Chedda Finance

Website: https://chedda.finance

Integration: Price feeds for assets to use in Chedda lending pools.

Use case: Lending and borrowing

Blockchain: Base

REQUEST INFORMATION

Assets

The following assets will be included in the Oracle:

Asset Ticker Asset Blockchain Asset Address Asset Markets Overview Comments
ETH Ethereum 0x0000000000000000000000000000000000000000 ETH Asset Information
WETH Ethereum 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 WETH Asset Information
USDC Ethereum 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 USDC Asset Information
DAI Ethereum 0x6B175474E89094C44Da98b954EedeAC495271d0F DAI Asset Information
wBTC Ethereum 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599 wBTC Asset Information
cbBTC Ethereum 0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf cbBTC Asset Information
AAVE Ethereum 0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9 AAVE Asset Information
COMP Ethereum 0xc00e94Cb662C3520282E6f5717214004A7f26888 COMP Asset Information
UNI Ethereum 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 UNI Asset Information
cbETH Ethereum 0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf cbETH Asset Information

Methodology

  • Moving Average Price with Interquartile Range (MAIR) will be used to calculate the price for the assets. Learn more about it here
  • .5% deviation threshold for updates trigger will be applied for each asset
  • 120 secs update frequency check will be applied
  • 24-hour time-based update frequency will be applied for all assets

DELIVERY INFORMATION

  • Delivery method: Oracle on Base network
  • Testnet required: YES
1 Like

Thank you for requesting a data feed via DIA CDR. We confirm the CDR specifications were requested correctly. Find the oracle information below:

Oracle

The oracle is deployed and can be accessed here.

You can query for assets by calling the read function getValue() with parameters such as “ETH/USD”. It will return two values:

  1. The price of the asset queried with 8 decimals
  2. The unix timestamp of the last update

You can see Solidity and Vyper code integration examples here or use a dedicated DIA oracles integration library described in detail here.

Funding

Each deployed oracle contract has a separate gas wallet which is the only entity allowed to update oracle values based on selected parameters. To find out more information on how it works, visit the following link.

Please make sure to top up the gas wallet, as we only put in some gas to deploy and start the oracle.

Gas Wallet address: 0x69268d9c5e1a0b7afda48b3b1be59b7b3d6293af

Markets

You can view the markets included for each feed by pressing on a link to DIA App in the deployed assets list:

  1. Ethereum-0x0000000000000000000000000000000000000000
  2. Ethereum-0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
  3. Ethereum-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
  4. Ethereum-0x6B175474E89094C44Da98b954EedeAC495271d0F
  5. Ethereum-0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
  6. Ethereum-0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf
  7. Ethereum-0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9
  8. Ethereum-0xc00e94Cb662C3520282E6f5717214004A7f26888
  9. Ethereum-0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
  10. Ethereum-0xBe9895146f7AF43049ca1c1AE358B0541Ea49704

Note: DIA uses Blockchain-Address querying formatting to ensure asset selection precision (token symbols might duplicate)

You can also query current asset prices and find other market information on the asset by using the DIA API as described here.

Awesome. Thanks for deploying :mechanical_arm: