Integration: Seneca is an omnichain CDP protocol for yield-bearing assets.
Following assets will be included in the Oracle:
|Asset Markets Overview
|rsETH Asset Information
|weETH Asset Information
Moving Average Price with Interquartile Range (MAIR) will be used to calculate the price for the asset. Learn more about it here.
0.5% deviation threshold for updates trigger will be applied
120s trades aggregation window size will be applied
The feed will be updated every 24h period if there are no deviation based updates
|Oracle on Ethereum
|Is testnet deployment required?
Thank you for requesting a data feed via DIA CDR. We confirm the CDR specifications were requested correctly. Find the oracle information below:
The oracle is deployed and can be accessed 0xf93205bf6f61bce30eab03584d7ba17ef874ef68.
You can query for assets by calling the read function getValue() with parameters such as “rsETH/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.
Each deployed oracle 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: 0x002f6efb18e333465a13928f448113b16d4ef6ee
You can view the markets included for each feed by pressing on a link to DIA App in the deployed assets list:
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.
Please add the following assets to the above oracle:
- rswETH 0xFAe103DC9cf190eD75350761e95403b7b8aFa6c0
- ezETH 0xbf5495Efe5DB9ce00f80364C8B423567e58d2110
- USDe (Ethena) 0x4c9edd5852cd905f086c759e8383e09bff1e68b3
The assets have been added to the oracle, each with a liquidity threshold of 500’000 USD per pool.