CDR #008: OmniDEX | asset price

dApp introduction

OmniDex is an automated market-making (AMM) decentralized exchange. Swap, Farm and earn rewards on the first native DEX built on the Telos EVM!

Feed usage

Data type: Price feed
Use case: The feed will be used to calculate the asset price

Specifications

Delivery method: Telos

Update mechanism: Deviation based

Threshold: 0.5%

Methodology: Moving Average

Frequency: 120s

Sources (by chain/version): All available markets

Pairs:

WETH/USD

USDT/USD

USDC/USD

WBTC/USD

WAVAX/USD

WTLOS/USD

WBNB/USD

WMATIC/USD

WFTM/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: Teloscan

You can query for assets by calling the read function getValue() with parameters such as “WBTC/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 0x4b4c4a6e760fdea078efc6bea046946b639bddea very soon, as we only put in some gas to deploy and start the oracle. Also make sure it always has sufficient funding.

Please note that we currently integrate our OmniDEX scraper and thus don’t have yet trading information on the wrapped tokens on Telos. Thus, we deployed feeds for the non-wrapped assets (e.g. ETH/USD), except for BTC, where we deployed WBTC/USD. We will upgrade these feeds to the Omni wrapped ones as soon as the scraper is live in the next days.

3 Likes