CDR #009: Midas Capital/ Rari Fuse | asset price

Midas Capital & Rari Fuse

Midas Capital proposes to build a Rari Fuse implementation on Moonbeam to take advantage of the wide variety of assets deployed on Moonbeam and unlock the ability for pool creators to create isolated lending markets in a permissionless fashion, enabling novel forms of yield generation and more granular risk management.

The Fuse platform enables anyone to instantly create their own lending and borrowing pool. Below you will find documentation for the Fuse platform. Each Fuse pool is essentially a fork of the Compound protocol, and the Fuse platform acts as a factory for Compound pools.

Feed usage

Data type: Price feed

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

Specifications

Delivery method: Moonbeam

Update mechanism: Deviation based

Threshold: 0.5%

Methodology: Moving Average

Frequency: 120s

Sources (by chain/version): All available markets

Pairs:

GLMR/USD

Other relevant information: - GLMR is the native asset of Moonbeam, and a USD price feed is a critical piece of infrastructure for many DeFi apps.

1 Like

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.

1 Like

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 0x8ae08cb9161a38ce241bb54816b2cba549c136ae | Moonbeam

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

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

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

1 Like