WarTech9
(WarTech)
September 26, 2024, 6:34pm
1
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:
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
Samuel
October 1, 2024, 2:59pm
2
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:
The price of the asset queried with 8 decimals
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:
Ethereum-0x0000000000000000000000000000000000000000
Ethereum-0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Ethereum-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Ethereum-0x6B175474E89094C44Da98b954EedeAC495271d0F
Ethereum-0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
Ethereum-0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf
Ethereum-0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9
Ethereum-0xc00e94Cb662C3520282E6f5717214004A7f26888
Ethereum-0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
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
WarTech9
(WarTech)
October 8, 2024, 5:04am
3
Awesome. Thanks for deploying
1 Like
WarTech9
(WarTech)
November 21, 2024, 8:59pm
4
We would like to request the addition of new price feeds to the oracle above.
Please add the following assets to the oracle:
Samuel
December 6, 2024, 1:06pm
5
Dear team,
the assets have been added to the oracle.
1 Like
WarTech9
(WarTech)
February 18, 2025, 6:09am
6
Hi DIA Team, we’re ready to launch on Base mainnet and will be requesting these feeds be deployed to support our launch.
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