# CDR #016: Hadouken Finance | Asset Pricing

**URL:** <https://forum.diadata.org/t/cdr-016-hadouken-finance-asset-pricing/401>\
**Category:** CDRs - Custom Delivery Requests\
**Tags:** nervos, defi, token-price-feed\
**Created:** [August 19, 2022, 12:14am UTC](https://forum.diadata.org/t/cdr-016-hadouken-finance-asset-pricing/401 "2022-08-19T00:14:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HadoukenFinance](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/hadoukenfinance/32/211_2.png) [@HadoukenFinance](https://forum.diadata.org/u/HadoukenFinance)\
**Post date:** [August 19, 2022, 12:14am UTC](https://forum.diadata.org/t/cdr-016-hadouken-finance-asset-pricing/401/1 "2022-08-19T00:14:39Z")

</div>

## dApp introduction

Hadouken Finance is a decentralised exchange and borrowing/lending platform built on Nervos Godwoken. On Hadouken, users can swap, borrow, and lend a variety of currencies from the Nervos chain, Ethereum, Binance Smart Chain, and more.

## Feed usage

**Data type** : Price Feed Oracle  
**Use case** : Lending and Borrowing

## Specifications

**Delivery method** : On-chain (Nervos Godwoken, mainnet)  
**Update mechanism** : Time-based  
**Methodology** : VWAP  
**Frequency** : 15 minutes  
**Sources (by chain/version)**: All available  
**Pairs** : CKB/USD, WBTC/USD, ETH/USD, USDC/USD, USDT/USD, BNB/USD

---

<div class="post-metadata">

**Author:** ![emre.kara](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@emre.kara](https://forum.diadata.org/u/emre.kara)\
**Post date:** [August 19, 2022, 12:15am UTC](https://forum.diadata.org/t/cdr-016-hadouken-finance-asset-pricing/401/2 "2022-08-19T00:15:53Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Samuel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/samuel/32/119_2.png) [@Samuel](https://forum.diadata.org/u/Samuel)\
**Post date:** [August 19, 2022, 1:14pm UTC](https://forum.diadata.org/t/cdr-016-hadouken-finance-asset-pricing/401/3 "2022-08-19T13:14:03Z")

</div>

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](https://docs.diadata.org/documentation/api-1/api-endpoints#asset-markets) provides the markets used for calculating this feed.

**API endpoint**

By querying for blockchain and asset, the [API](https://docs.diadata.org/documentation/api-1/api-endpoints#asset-quotation) provides the asset quotation for each asset in the feed.

**Oracle**

The oracle is deployed and can be accessed here.

> **[DIAOracleV2 (0xc806a37164860913FBfF8D013986229724D6c418) - Mainnet Explorer](https://gw-mainnet-explorer.nervosdao.community/address/0xc806a37164860913FBfF8D013986229724D6c418/transactions)**
>
> View the account balance, transactions, and other data for 0xc806a37164860913FBfF8D013986229724D6c418 on the Godwoken

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

Also make sure they always have sufficient funding.
