ZoopX Protocol | Token Price Feed

INTRODUCTION

Protocol: ZoopX Protocol

Website: https://zoopx.xyz

Integration: Custom Oracle

Use case: Liquid Staking and Bridging

Blockchain: Sonic & Linea

REQUEST INFORMATION

Assets

The following assets will be included in the Oracle:

  • USDC

Methodology

Select the methodologies that will define the feeds:

    • Volume Weighted Average Price with Interquartile Range (VWAPIR) will be used to calculate the price for the assets. Learn more about it here

    • .5% deviation threshold for updates trigger will be applied for each asset

    • 120 secs update frequency check will be applied

    • 24-hour time-based update frequency will be applied for all assets

DELIVERY INFORMATION

Select if the feed should be delivered on-chain via oracle and if so, which network:

  • Delivery method: Oracle on Sonic & Linea
  • Testnet required: No

Thank you for requesting a data feed via DIA CDR. Please find the oracle information below:

Contracts

The contracts to fetch data from

Network Contract Address
Sonic Mainnet 0x22e96296dda5f43eB5752fD8e32c4A8Ac0Fe7E1E
Linea Mainnet 0x32c999508B033F4107CF67f01f18343b86269B1b

Gas Wallets

The gas wallet is used for pushing data to your contracts. To ensure uninterrupted oracle operation, please maintain sufficient funds in the gas wallet. You can monitor the wallets below to ensure they remain adequately funded at all times.

Network Gas Wallet Address
Sonic Mainnet 0x9d170f4Db6e391D195c58a96597dBB30Ed82384a
Linea Mainnet 0xcF3552D74404CB038BF5aF384ADFBF1C97488C8b

Oracle Configuration

Settings that dictate how the oracle computes and updates data

Pricing Methodology VWAPIR
Deviation (%) & Refresh Frequency 0.5% and 120 seconds
Heartbeat 24h

Asset Feeds

Asset Ticker getValue(key) Asset Markets Overview
USDC USDC/USD USDC Markets

To consume price data, you’ll need to invoke the getValue method on the oracle contract which you can access through the DIA Oracle library or the interface.

If you pass USDC/USD as the key, it will return the most recent price of USDC in USD with 8 decimal places (e.g. 100029486 is $1.00029486) along with the Unix timestamp of the last price update.

See the full example here.