CDR #094: International Meme Fund | Token Price Feed

INTRODUCTION

Protocol: IMF

Website: imfer.lol

Integration: IMF is a DeFi protocol designed for the meme economy, operating as a CDP system that mints a stablecoin and maintains its peg through strategic interest rates and CDP repayment hardpegs.

Blockchain: Ethereum

REQUEST INFORMATION

Assets

Asset Ticker Asset Blockchain Asset Address Asset Markets Overview Comments
PEPE Ethereum 0x6982508145454ce325ddbe47a25d4ec3d2311933 PEPE Asset Information

Methodology

  • Moving Average Price with Interquartile Range (MAIR) will be used to calculate the price for the assets. Learn more about it here
  • .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 Ethereum
  • Testnet required: No

NOTES

Additional relevant information: Asset Specific Value Calling Convention

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.

The Asset specific Calling Convention contract can be found here: 0x010235a1334b5c2cec3bba1c521ad56c919776a4

You can query for assets by calling the read function getValue() with parameters such as “PEPE/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: 0xbee10964d1e12ee60cce1680be2a6ed955e5fae3

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-0x6982508145454ce325ddbe47a25d4ec3d2311933

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.

1 Like

International Meme Fund Requesting a MOG/USD Price Feed

INTRODUCTION

Protocol: IMF

Website: imfer.lol

Integration: IMF is a DeFi protocol designed for the meme economy, operating as a CDP system that mints a stablecoin and maintains its peg through strategic interest rates and CDP repayment hardpegs.

Blockchain: mainnet ethereum

REQUEST INFORMATION

Assets

The following assets will be included in the 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
  • 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

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

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

NOTES

Additional relevant information:

2 Likes

MOG/USD has been added with 12 decimals.

Thank you for requesting a data feed via DIA CDR. Please find the oracle information below:

Contracts

The contracts to fetch data from

Network Contract Address
Ethereum Mainnet 0xE1A3d58d6c6516Ef18628ce7E13cfE44B4Ac1552

Gas Wallets

The gas wallet is used for pushing data to your contracts. To ensure uninterrupted oracle operation, please maintain sufficient funds in the gas wallet. You can monitor the wallets below to ensure they remain adequately funded at all times.

Network Gas Wallet Address
Ethereum Mainnet 0xBEE10964D1E12eE60cce1680be2a6eD955e5FaE3

Oracle Configuration

Settings that dictate how the oracle computes and updates data

Pricing Methodology MAIR
Deviation (%) & Refresh Frequency 0.5% and 120 seconds
Heartbeat 24h

Asset Feeds

Asset Ticker getValue(key) Asset Markets Overview
JOE JOE/USD JOE Markets
PEPE PEPE/USD PEPE markets
MOG MOG/USD MOG Markets
SPX SPX/USD SPX Markets
IMF IMF/USD IMF Markets

To consume price data, you’ll need to invoke the getValue method on the oracle contract which you can access through the DIA Oracle library or the interface.

If you pass MOG/USD as the key, it will return the most recent price of MOG in USD with 12 decimal places (e.g. 1054453 is $0.000001054453) along with the Unix timestamp of the last price update.

See the full example here.