CDR #055: Prime Protocol | wstETH, rETH, cbETH, ARB, AVAX

24 July, 2023


Protocol: Prime Protocol

Integration: Prime Protocol is a cross-chain prime brokerage which allows users to borrow across chains backed by their entire portfolio of cross chain assets. The integration will provide real-time price information for the assets being lent and borrowed on Prime Protocol.



Following assets will be included in the Oracle:

Asset Ticker Asset Blockchain Asset Address Asset Markets Overview Comments
wstETH Ethereum 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0 wstETH Asset Information
rETH Ethereum 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84 rETH Asset Information
cbETH Ethereum 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84 cbETH Asset Information
ARB Arbitrum 0x912CE59144191C1204E64559FE8253a0e49E6548 ARB Asset Information
AVAX Avalanche 0x0000000000000000000000000000000000000000 AVAX Asset Information


  • Moving Average Price with Interquartile Range (MAIR) will be used to calculate the price for the assets. Learn more about it here
  • 0.5% deviation threshold for updates trigger will be applied for each asset
  • 120 sec updates frequency check will be applied
  • 120 sec oracle update frequency will be added for each asset


Delivery Method Oracle on Moonbase Alpha
Is testnet deployment required? Yes
Delivery Estimate 10 days

Please deploy an oracle with above assets on Moonbeam mainnet in addition to moonbeam testnet

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 here:
Moonbeam Alpha

You can query for assets by calling the read function getValue() with parameters such as “ARB/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.


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:

Moonbeam: 0xcbe6fd95b1fb97ee38d5260340771a1a4bff15cd
Moonbeam Alpha: 0x519a83db1d93cfdb612864dd22658381fb19f5f2


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

  1. Ethereum-0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
  2. Ethereum-0xae78736Cd615f374D3085123A210448E74Fc6393
  3. Ethereum-0xBe9895146f7AF43049ca1c1AE358B0541Ea49704
  4. Arbitrum-0x912CE59144191C1204E64559FE8253a0e49E6548
  5. Avalanche-0x0000000000000000000000000000000000000000

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 to this oracle the following assets:

Asset Ticker Asset Blockchain
cUSD Celo

The updates have been deployed to both oracles (Moonbeam and Moonbeam Alpha).

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

  1. Celo-0x471EcE3750Da237f93B8E339c536989b8978a438
  2. Celo-0x765DE816845861e75A25fCA122bb6898B8B1282a
  3. Osmosis-ibc/57AA1A70A4BC9769C525EBF6386F7A21536E04A79D62E1981EFCEF9428EBB205
1 Like

Thank you. Could you please add Ether.Fi weETH to the oracle?


Could you please add Ethena USDe and ENA to the price oracle?

1 Like

Hey team, ENA and USDE have been added to the oracle on Moonbeam.