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
2 Likes

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.

1 Like

Awesome. Thanks for deploying :mechanical_arm:

1 Like

We would like to request the addition of new price feeds to the oracle above.
Please add the following assets to the oracle:

Asset Ticker Asset Blockchain Asset Address Asset Markets Overview Comments
AERO Base 0x940181a94A35A4569E4529A3CDfB74e38FD98631 AERO Asset Information
DEGEN Base 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed DEGEN Asset Information
GALA Ethereum 0x15D4c048F83bd7e37d49eA4C83a07267Ec4203dA GALA Asset Information
SAND Ethereum 0x3845badAde8e6dFF049820680d1F14bD3903a5d0 SAND Asset Information
PRIME Ethereum 0xb23d80f5FefcDDaa212212F028021B41DEd428CF PRIME Asset Information
MAVIA Ethereum 0x24fcFC492C1393274B6bcd568ac9e225BEc93584 MAVIA Asset Information
BRETT Base 0x532f27101965dd16442E59d40670FaF5eBB142E4 BRETT Asset Information
TOSHI Base 0xAC1Bd2486aAf3B5C0fc3Fd868558b082a531B2B4 TOSHI Asset Information
MIGGLES Base 0xB1a03EdA10342529bBF8EB700a06C60441fEf25d MIGGLES Asset Information
BENJI Base 0xBC45647eA894030a4E9801Ec03479739FA2485F0 BENJI Asset Information

Dear team,
the assets have been added to the oracle.

1 Like