# DollarZing Price Feed on Polygon

**URL:** https://forum.diadata.org/t/dollarzing-price-feed-on-polygon/1102
**Category:** CDRs - Custom Delivery Requests
**Tags:** gamefi, polygon, token-price-feed
**Created:** [December 18, 2024, 12:27am UTC](https://forum.diadata.org/t/dollarzing-price-feed-on-polygon/1102 "2024-12-18T00:27:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![DollarZing](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@DollarZing](https://forum.diadata.org/u/DollarZing)
#### Post date: [December 18, 2024, 12:27am UTC](https://forum.diadata.org/t/dollarzing-price-feed-on-polygon/1102/1 "2024-12-18T00:27:03Z")

</div>

16 December, 2024

# INTRODUCTION

Protocol: Dollar Zing

Integration: USDC price feed on Polygon

# REQUEST INFORMATION

## Assets

Following assets will be included in the Oracle:

| Asset Ticker | Asset Blockchain | Asset Address | Asset Markets Overview | Comments |
| --- | --- | --- | --- | --- |
| USDC | Ethereum | 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 | [USDC Asset Information](https://www.diadata.org/app/price/asset/Ethereum/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/) | |

## Methodology

- Moving Average Price with Interquartile Range (MAIR) will be used to calculate the price for the assets. Learn more about it [here](https://docs.diadata.org/documentation/methodology/exchangeprices/mair-moving-average-with-interquartile-range-filter)
- .1% 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

| Delivery Method | Oracle on Polygon Amoy Testnet |
| --- | --- |
| Is testnet deployment required? | Yes |

---

<div class="post-metadata">

### Author: ![Samuel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/samuel/32/119_2.png) [@Samuel](https://forum.diadata.org/u/Samuel)
#### Post date: [January 17, 2025, 11:03am UTC](https://forum.diadata.org/t/dollarzing-price-feed-on-polygon/1102/2 "2025-01-17T11:03:32Z")

</div>

Thank you for requesting a data feed via DIA CDR. We confirm the CDR specifications were requested correctly. Find the oracle information below:

### Oracle

The oracle is deployed and can be accessed here:

- [Polygon Amoy](https://amoy.polygonscan.com/address/0xdb702b2899ded5c5089893deb3c405074dc70b9d)
- [Polygon Mainnet](https://polygonscan.com/address/0x7bb0d1c698af19f7cfde39e938deef1f85ba175a)

You can query for assets by calling the read function getValue() with parameters such as “USDC/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](https://docs.diadata.org/introduction/intro-to-dia-oracles/access-the-oracle#oracle-integration-example) or use a dedicated DIA oracles integration library described in detail [here](https://docs.diadata.org/introduction/intro-to-dia-oracles/access-the-oracle#accessing-dias-oracles-with-a-dedicated-solidity-library).

### Funding

Each deployed oracle contract 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](https://docs.diadata.org/introduction/intro-to-dia-oracles/oracle-funding).

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:

- [Polygon Amoy: 0xb389cb7b2bdf34e61919cd4b0ea19d99242cea22](https://amoy.polygonscan.com/address/0xb389cb7b2bdf34e61919cd4b0ea19d99242cea22)
- [Polygon Mainnet: 0x0f627642711e307c7d864ec3a69fe6c6a59648fe](https://polygonscan.com/address/0x0f627642711e307c7d864ec3a69fe6c6a59648fe)

### Markets

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

1. [Ethereum-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48](https://app.diadata.org/price/asset/Ethereum/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/?asset=USDC)

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](https://docs.diadata.org/products/token-price-feeds/access-api-endpoints).
