CDR #036: Amalgam | Data Feedv

19 January, 2023

INTRODUCTION

Protocol: AMALGAM

Integration: Amalgam is a lending market on Velas chain

REQUEST INFORMATION

Assets

Following assets will be included in the Oracle:

Asset Ticker Asset Blockchain Asset Address Asset Markets Overview Comments
VLX Velas Native Velas Chain Token VLX Markets
BUSD Binance Smart Chain 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56 BUSD Markets

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 VLX/USD asset
  • 0.5% deviation threshold for updates trigger will be applied for each BUSD/USD asset
  • 120sec time window for trades aggregation will be applied for each asset

DELIVERY INFORMATION

Delivery Method Oracle on Velas network
Is testnet deployment required? No
Delivery Estimate 10 days

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:

https://evmexplorer.velas.com/address/0x415b7d744CD9E1B1b2C9Eb117015aAf67eCa1fAb/transactions

You can query for assets by calling the read function getValue() with parameters such as “VLX/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 wallets very soon, as we only put in some gas to deploy and start the oracle: 0x7d69a7c72b09AA34819426B68BCfe99ccB16D12e

Also make sure it always has sufficient funding.

Please add a 24-hour time-based update frequency.

Thanks for your latest request. A 24-hour time-based update has been added to your deployed oracle and is now live.