CDR #014: SiO2 Finance | Asset Price

dApp introduction

SiO2 is a decentralized protocol for lending and borrowing on the Astra network

Feed usage

Data type: Price feed
Use case: Lending and borrowing

Specifications

Delivery method: on-chain (Astra/Shibuya)
Update mechanism: deviation-based
Methodology: MA
Frequency: 120s
Sources (by chain/version): All available markets
Pairs:

  • USDC/USD
  • USDT/USD
  • BUSD/USD
  • DAI/USD
  • WASTR/USD
  • WBTC/USD
  • WETH/USD
  • BNB/USD
  • DOT/USD
  • BAI/USD
  • aUSD/USD
1 Like

Thanks for submitting your Custom Delivery Request!

The DIA DAO will review your requirements shortly and if all information is correctly provided, a core developer will proceed and deliver the API endpoint. If the requirements are partially or incorrectly requested, a DAO member will get in touch with you again.

Thank you for requesting a DIA CDR. We confirm the CDR specifications were requested correctly. Find the oracle / API endpoint below:

Markets

By querying for blockchain and asset, the API provides the markets used for calculating this feed.

API endpoint

By querying for blockchain and asset, the API provides the asset quotation for each asset in the feed.

Oracle

The oracle is deployed and can be accessed here.
Astar: DIAOracleV2 (0x6500dCf15e91A8c9c5C399CF7B0a0bf886221a03) - Astar (EVM) Explorer
Shibuya: DIAOracleV2 (0x2ad499CCD54dD377b2a53fe124257411445F68e4) - Shibuya (EVM) Explorer

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

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

Please note that we supply the native assets prices and not the wrapped ones as discussed, so for instance “BTC/USD”.

Please make sure to top up the gas wallets very soon, as we only put in some gas to deploy and start the oracle.
Astar gas wallet: 0x8e3b4c3c8ac4aa4a48314406b16f5d8bf233dbf0
Shibuya gas wallet: 0x092b74e882f0aa6b3f674872c2d28843c8b1b21c

Also make sure they always have sufficient funding.

1 Like

dApp introduction

[Overview of the protocol]
SiO2 is a decentralized protocol for lending and borrowing on the Astra network

Feed usage

Data type: [Price feed / Index / other]
Price feed
Use case: [Lending and borrowing / Stablecoin / Gaming / other]
Lending and borrowing

Specifications

Delivery method: [off-chain (signed API) / on-chain (network, mainnet/testnet)]
Astar/Shibuya
Update mechanism: [e.g block-based / deviation-based / time-based / other]
deviation-based
Methodology: [MA / MAIR / MEDIR / VWAP / VWAPIR / other]
MA
Frequency: [e.g 10s / 20s / 60s / 120s / 5m / other]
120s
Sources (by chain/version): [e.g UniSwap V2 — ETH]
All available markets
Pairs: [e.g BTC/USD]
nASTR/USD
Note: replace all texts in [square brackets] throughout the CDR with actual requirements

1 Like