Hummus Exchange is a Platypus Fork on Metis
Data type: Price feed
Use case: Asset price for dApp
Delivery method: Metis
Update mechanism: Deviation based
Methodology: Moving Average
Sources (by chain/version): All available markets
Pairs: USDC/ USD, USDT/ USD, DAI/ USD
Other relevant information: -
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:
By querying for blockchain and asset, the API provides the markets used for calculating this feed.
By querying for blockchain and asset, the API provides the asset quotation for each asset in the feed.
The oracle is deployed and can be accessed here: DIAOracleV2 (0xa479FC13e40155e853e790115423704BF06a065F) - Andromeda Explorer
You can query for assets by calling the read function getValue() with parameters such as “USDC/USD”. It will return two values:
- The price of the asset queried with 8 decimals
- The timestamp of the last update
Please make sure to top up the gas wallet 0x1Bf76F6943092905EFB04b80D0a32A4ADdC13EC1 very soon, as we only put in some gas to deploy and start the oracle. Also make sure it always has sufficient funding.