# CDR #031: Kyoko | NFT Price

**URL:** <https://forum.diadata.org/t/cdr-031-kyoko-nft-price/518>\
**Category:** CDRs - Custom Delivery Requests\
**Tags:** nftfi, nft-price-feed, ethereum, lending\
**Created:** [December 8, 2022, 5:08pm UTC](https://forum.diadata.org/t/cdr-031-kyoko-nft-price/518 "2022-12-08T17:08:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Linsey-Kyoko](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/linsey-kyoko/32/265_2.png) [@Linsey-Kyoko](https://forum.diadata.org/u/Linsey-Kyoko)\
**Post date:** [December 8, 2022, 5:08pm UTC](https://forum.diadata.org/t/cdr-031-kyoko-nft-price/518/1 "2022-12-08T17:08:48Z")

</div>

# INTRODUCTION

**Protocol:** Kyoko

**Website** : [https://www.kyoko.finance/](https://www.kyoko.finance/)

**Integration:** NFT average price oracle feeds for the Peer to Pool NFT lending protocol

# REQUEST INFORMATION

## Assets

Following assets will be included in the Oracle:

| Asset Ticker | Asset Blockchain | Asset Address | Asset Markets Overview | Comments |
| --- | --- | --- | --- | --- |
| Cool Cats | Ethereum | 0x1A92f7381B9F03921564a437210bB9396471050C | [NFT overview on DIA APP](https://app.diadata.org/floor-price/asset/Ethereum/0x1A92f7381B9F03921564a437210bB9396471050C) | |
| Azuki | Ethereum | 0xED5AF388653567Af2F388E6224dC7C4b3241C544 | [NFT overview on DIA APP](https://app.diadata.org/floor-price/asset/Ethereum/0xED5AF388653567Af2F388E6224dC7C4b3241C544) | |
| Bad Influence | Ethereum | 0x54F9c72D128b4BBC7Ff7564cbE0F193aBa7Bb146 | [NFT overview on DIA APP](https://app.diadata.org/floor-price/asset/Ethereum/0x54F9c72D128b4BBC7Ff7564cbE0F193aBa7Bb146) | |
| Otherdeed | Ethereum | 0x34d85c9CDeB23FA97cb08333b511ac86E1C4E258 | [NFT overview on DIA APP](https://app.diadata.org/floor-price/asset/Ethereum/0x34d85c9CDeB23FA97cb08333b511ac86E1C4E258) | |
| CloneX | Ethereum | 0x49cF6f5d44E70224e2E23fDcdd2C053F30aDA28B | [NFT overview on DIA APP](https://app.diadata.org/floor-price/asset/Ethereum/0x49cF6f5d44E70224e2E23fDcdd2C053F30aDA28B) | |
| Moonbirds | Ethereum | 0x23581767a106ae21c074b2276D25e5C3e136a68b | [NFT overview on DIA APP](https://app.diadata.org/floor-price/asset/Ethereum/0x23581767a106ae21c074b2276D25e5C3e136a68b) | |

## Methodology

- Average sale price of the last 30 days will be calculated for each collection
- 30min update frequency
- 5% deviation threshold for updates will be applied

# DELIVERY INFORMATION

| Delivery Method | Oracles on Ethereum network |
| --- | --- |
| Is testnet deploy required? | Yes |
| Delivery Estimate | 14 days |

# NOTES

Additional relevant information:

- N/A

---

<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:** [December 19, 2022, 10:45pm UTC](https://forum.diadata.org/t/cdr-031-kyoko-nft-price/518/2 "2022-12-19T22:45:23Z")

</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 0x9c17fe4b3e4745bbb4418ddb3e28e21df191d2dd | Etherscan](https://etherscan.io/address/0x9c17fe4b3e4745bbb4418ddb3e28e21df191d2dd)**
>
> The Contract Address 0x9c17fe4b3e4745bbb4418ddb3e28e21df191d2dd 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 “Ethereum-0x1A92f7381B9F03921564a437210bB9396471050C”. It will return two values:

1. The average price of the NFT 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:

[0x2A0F00461A42bcD2a692AE8dAf5aC72aB46dDd09](https://etherscan.io/address/0x2a0f00461a42bcd2a692ae8daf5ac72ab46ddd09)

_Make sure they always have sufficient funding._

This is the list of assets we deployed (blockchain/asset address):

- Same as requested

---

<div class="post-metadata">

**Author:** ![Linsey-Kyoko](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/linsey-kyoko/32/265_2.png) [@Linsey-Kyoko](https://forum.diadata.org/u/Linsey-Kyoko)\
**Post date:** [December 20, 2022, 11:13am UTC](https://forum.diadata.org/t/cdr-031-kyoko-nft-price/518/3 "2022-12-20T11:13:01Z")

</div>

Hey, could you provide the details of the following items:

“Gas wallet”  
"This is the list of assets we deployed (blockchain/asset address):”

and since we apply for the testnet, could you provide the “The oracle address(Goerli network)”?

---

<div class="post-metadata">

**Author:** ![Mikel](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/mikel/32/13_2.png) [@Mikel](https://forum.diadata.org/u/Mikel)\
**Post date:** [December 20, 2022, 11:46am UTC](https://forum.diadata.org/t/cdr-031-kyoko-nft-price/518/4 "2022-12-20T11:46:27Z")

</div>

Hey @Linsey-Kyoko,

- The gas wallet address has been added to [the post above](https://forum.diadata.org/t/cdr-031-kyoko-nft-price/518/2).
- The deployed assets are the same as the requested ones.
- Testnet oracle will be deployed and shared here in the next hours.

Thanks!

---

<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:** [December 20, 2022, 8:41pm UTC](https://forum.diadata.org/t/cdr-031-kyoko-nft-price/518/5 "2022-12-20T20:41:29Z")

</div>

Dear team,

we also deployed the oracle on the Goerli testnet: [DIAOracleV2 | Address 0x6f28dAAe12BD761d05e4ebA6A852cEF5550B5868 | Etherscan](https://goerli.etherscan.io/address/0x6f28dAAe12BD761d05e4ebA6A852cEF5550B5868)

And this is the corresponding funding address: 0x176F20D79f3a7f95c7eF4502B53990C6E6976e8e

---

<div class="post-metadata">

**Author:** ![Linsey-Kyoko](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/linsey-kyoko/32/265_2.png) [@Linsey-Kyoko](https://forum.diadata.org/u/Linsey-Kyoko)\
**Post date:** [December 21, 2022, 12:16am UTC](https://forum.diadata.org/t/cdr-031-kyoko-nft-price/518/6 "2022-12-21T00:16:47Z")

</div>

Thank you for the support! ❤ ❤

---

<div class="post-metadata">

**Author:** ![Linsey-Kyoko](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.diadata.org/linsey-kyoko/32/265_2.png) [@Linsey-Kyoko](https://forum.diadata.org/u/Linsey-Kyoko)\
**Post date:** [December 26, 2022, 9:57am UTC](https://forum.diadata.org/t/cdr-031-kyoko-nft-price/518/7 "2022-12-26T09:57:04Z")

</div>

Hey Samuel, we also want to collect the floor price of the requested NFT collections by the same oracle for the testnet, with 30mins update frequency and 5% deviation threshold for updates. Would love to submit any required application materials, thank you!

---

<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:** [February 14, 2023, 8:38pm UTC](https://forum.diadata.org/t/cdr-031-kyoko-nft-price/518/8 "2023-02-14T20:38:49Z")

</div>

Hi and thank you for the request. We implemented it as follows to stay always connected to the latest change sin average sales deviation:  
Each time the oracle is updated, the latest floor price is also added to be read with a new key. This new key is “--Floor”, e.g., “Ethereum-0x1A92f7381B9F03921564a437210bB9396471050C-Floor”

We deployed it on Goerli and would be interested in your feedback. Then we can also deploy it on mainnet.
