CDR #005: FantOHM | asset price

FantOHM

FantOHM DAO is an innovative multi-chain decentralized Reserve and Revenue Protocol with the mission of overcoming ever-increasing inflation and the limitations of traditional finance while generating a continuous stream of income for its investors.

Feed usage

Data type: Price feed

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

Specifications

Delivery method: Fantom & API endpoint

Update mechanism: Deviation based

Threshold: 0.5%

Methodology: Moving Average

Frequency: 120s

Sources (by chain/version): All available markets

Pairs:

USDB (0x6Fc9383486c163fA48becdEC79d6058f984f62cA)/ USD

FTM/ USD (see description below “Other relevant information” )

Other relevant information: -

Please aggregate the FTM/ USD feed from Fantom (0x6Fc9383486c163fA48becdEC79d6058f984f62cA) and Moonriver (0xfa1FBb8Ef55A4855E5688C0eE13aC3f202486286) contracts and build a volume weighted average of the two assets.

3 Likes

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.

2 Likes

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: Contract Address 0x0cde131b82a6500240eb90f490b6dd576d93529c | FtmScan

You can query for assets by calling the read function getValue() with parameters such as “USDB/USD”. It will return two values:

  1. The price of the asset queried with 8 decimals
  2. The timestamp of the last update

For retrieving the specified FHM VWAP please use “FHM-VWAP” as query on the contract.

Please make sure to top up the gas wallet 0x3F47B3fA286Bbb6fa0FBA19C38117F74e99aEF4D very soon, as we only put in some gas to deploy and start the oracle. Also make sure it always has sufficient funding.

Thank you so much guys, i have forwarded this to the dev team so they can begin testing.

3 Likes

Hello there! We had to redeploy our primary LP on Beethoven X to make it compatible with their gauge.

will this need to be updated for the feed?

2 Likes

Hey there, thanks for the update! We will check and come back to you.

2 Likes

Hi guys, thanks for the heads up. We just updated this on our side.

2 Likes