# CDR #047: Steadefi | Asset Price Feed

**URL:** <https://forum.diadata.org/t/cdr-047-steadefi-asset-price-feed/681>\
**Category:** CDRs - Custom Delivery Requests\
**Tags:** lending, arbitrum, defi, token-price-feed\
**Created:** [May 8, 2023, 8:25am UTC](https://forum.diadata.org/t/cdr-047-steadefi-asset-price-feed/681 "2023-05-08T08:25:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CDR\_via\_xStream](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/cdr_via_xstream/32/263_2.png) [@CDR\_via\_xStream](https://forum.diadata.org/u/CDR_via_xStream)\
**Post date:** [May 8, 2023, 8:25am UTC](https://forum.diadata.org/t/cdr-047-steadefi-asset-price-feed/681/1 "2023-05-08T08:25:23Z")

</div>

## dApp Introduction

**dApp name** : Steadefi  
**dApp website** : [Steadefi.com](http://Steadefi.com)  
**dApp overview** : Intended use case: to be used in calculations for lending, borrowing, deposits and withdrawals in Steadefi vaults

## Feed usage

**Data type** : Price feed  
**Use case** : Lending and borrowing

## Specifications

**Feed specification**

**Asset pair** : GRAIL/USD  
**Sources** : All available markets  
**Methodology** : Moving Avg. with IR  
**Frequency** : -  
**Window size** : -

**Oracle specification**

**Target chain** : Arbitrum  
**Update mechanism** : Deviation based  
**Threshold** : 0.5%

**Additional information  
–**

---

<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:** [May 11, 2023, 1:19pm UTC](https://forum.diadata.org/t/cdr-047-steadefi-asset-price-feed/681/2 "2023-05-11T13:19:14Z")

</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 | Address 0x7c287ee247a9d20109e75f16dd3da03221afa75c | Arbiscan](https://arbiscan.io/address/0x7c287ee247a9d20109e75f16dd3da03221afa75c)**
>
> The Contract Address 0x7c287ee247a9d20109e75f16dd3da03221afa75c page allows users to view the source code, transactions, balances, and analytics for the contract address. Users can also interact and make transactions to the contract directly on...

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

Also make sure it always has sufficient funding.
