CDR #019: Takepile Protocol | Asset Price

dApp introduction

The Takepile Protocol is an isolated, no-slippage decentralized perpetual exchange with a novel “pile” liquidity system, guaranteeing solvency for all traders.

Feed usage

Data type: Price feed
Use case: The feed will be used to calculate asset prices

Specifications

Delivery method: Fantom Mainnet
Update mechanism: Time based
Threshold: 60s
Methodology: MA
Frequency: 60s
Sources (by chain/version): All available markets
Pairs: BTC / USD, ETH / USD, FTM / USD, AVAX / USD

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.

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

Also make sure they always have sufficient funding.

3 Likes

New price feed request:

Pairs: YFI / USD, ETC / USD

Other specifications the same as above. Thank you!

1 Like

YFI and ETC have been integrated into the testnet and mainnet oracles.

1 Like