CDR #034: DeStar | Asset Price Feed

dApp Introduction

dApp name: DeStar
dApp website: destar.io
dApp overview: DeStar is a protocol that enables users to deposit and borrow tokens on top of its network. Depositors can provide liquidity to earn interest, while borrowers can leverage their assets without selling them out.

Feed usage

Data type: Price feed
Use case: The feed will be used to price collateral value

Specifications

Feed specification

Asset pair: BTC/USD
Sources: All available markets
Methodology: Moving Average Price with Interquartile Range (MAIR)
Frequency: 60sec
Window size: 30sec

Oracle specification

Target chain: Evmos
Update mechanism: Deviation based
Threshold: 0.5%

Additional information
–

1 Like

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.

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

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

Please make sure to top up the gas wallet very soon, as we only put in some gas to deploy and start the oracle.
Gas wallet: 0x9daf5d74fc795987902faf999dcb2242413f1141

This is the list of assets we deployed (Blockchain-Address)

  • Bitcoin-0x0000000000000000000000000000000000000000