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:
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
Samuel
February 6, 2023, 2:56pm
2
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:
The price of the asset queried with 8 decimals
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.
Philipp
February 22, 2023, 12:11pm
4
Thanks for your latest request. A 24-hour time-based update has been added to your deployed oracle and is now live.