CDR #021: WanLend | Asset Price

dApp introduction

WanLend is a decentralized financial management platform, users can deposit cryptos to gain interests, or borrow cryptos and pay interests.

Feed usage

Data type: Price feed
Use case: Lending and borrowing

Specifications

Delivery method: on-chain (Wanchain, mainnet)
Update mechanism: time-based
Methodology: Moving Average
Frequency: 10s
Sources (by chain/version): All available markets
Pairs: USDT/USD, WAN/USD, DOT/USD, GLMR/USD, BNB/USD, AVAX/USD, MOVR/USD, XRP/USD, LTC/USD, DOGE/USD, WAND/USD, WASP/USD, ZOO/USD, PHX/USD

Other relevant information: Wanlend will use DIA for all its supported assets. It addition to the above, Wanlend will use these existing feeds BTC/USD, ETH/USD, USDC/USD, FTM/USD.

2 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.

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 “ASTR/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 wallet very soon, as we only put in some gas to deploy and start the oracle.
Gas wallet: 0x93D4256BDC9A482dbD4DBa6B58b746dAEa4F337B

This is the list of assets we deployed (Blockchain-Address)

  • Ethereum-0xdAC17F958D2ee523a2206206994597C13D831ec7
  • Wanchain-0x0000000000000000000000000000000000000000
  • Polkadot-0x0000000000000000000000000000000000000000
  • Moonbeam-0x0000000000000000000000000000000000000000
  • BinanceSmartChain-0x0000000000000000000000000000000000000000
  • Avalanche-0x0000000000000000000000000000000000000000
  • Moonriver-0x98878B06940aE243284CA214f92Bb71a2b032B8A,
  • Ripple-0x0000000000000000000000000000000000000000
  • Litecoin-0x0000000000000000000000000000000000000000
  • Dogechain-0x0000000000000000000000000000000000000000
  • Wanchain-0x230f0C01b8e2c027459781E6a56dA7e1876EFDbe
  • Wanchain-0x8B9F9f4aA70B1B0d586BE8aDFb19c1Ac38e05E9a
  • Wanchain-0x6e11655d6aB3781C6613db8CB1Bc3deE9a7e111F
  • Wanchain-0xF17c59bF0f6326dA7A8cC2CE417e4F53a26707bd