Deployment of NGN/USD price oracle

INTRODUCTION

Protocol: ProsperaVest ESG | Token Price Feed

Website: eNaira Stablecoin (ENSC) – ProsperaVest

Integration: Deployment of NGN/USD guest price oracle

Use case: Asset Tokenization

Blockchain: Polygon

REQUEST INFORMATION

Assets

The following assets will be included in the Guest Oracle:

Methodology

Select the methodologies that will define the feeds:

  • Pricing methodology: Moving Average Price with Interquartile Range (MAIR) will be used to calculate the price for the assets. Learn more about it here
  • Update trigger: 24-hour time-based update frequency will be applied

DELIVERY INFORMATION

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

  • Delivery method: Oracle on Polygon
  • Testnet required: No

NOTES

Additional relevant information:

  • No additional notes are required

Learn more about DIA CDRs here

1 Like

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.

You can query for assets by calling the read function getValue() with parameters such as “NGN/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 or use a dedicated DIA oracles integration library described in detail here.

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.

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: 0x7f8a2583d9d9545b0dc84cc5432d37edbd2e16ef

Source

The source is the one specified in the request. Please note that the oracle uses the first value from the “values” array from the API endpoint.

2 Likes

Please note that this oracle utilizes data from a custom API source belonging to ProsperaVest ESG. DIA does not guarantee the accuracy of this data or the uptime of the feed, as it is subject to potential downtimes or inconsistencies from the ProsperaVest API source.

2 Likes