Skip to content

NFT Floor Price Feed Removal #1910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions public/samples/DataFeeds/NFTFloorPriceConsumerV3.sol

This file was deleted.

8 changes: 0 additions & 8 deletions src/config/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ export const SIDEBAR: Partial<Record<Sections, SectionEntry[]>> = {
title: "Proof of Reserve Feeds",
url: "data-feeds/proof-of-reserve",
},
{
title: "NFT Floor Price Feeds",
url: "data-feeds/nft-floor-price",
},
{
title: "Rate and Volatility Feeds",
url: "data-feeds/rates-feeds",
Expand All @@ -55,10 +51,6 @@ export const SIDEBAR: Partial<Record<Sections, SectionEntry[]>> = {
title: "Proof of Reserve Addresses",
url: "data-feeds/proof-of-reserve/addresses",
},
{
title: "NFT Floor Price Addresses",
url: "data-feeds/nft-floor-price/addresses",
},
{
title: "Rate and Volatility Feed Addresses",
url: "data-feeds/rates-feeds/addresses",
Expand Down
10 changes: 5 additions & 5 deletions src/content/chainlink-functions/supported-networks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ Read the [LINK Token Contracts](/resources/link-token-contracts) page to learn w

### Polygon Amoy testnet

| Item | Value |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Functions router | <Address contractUrl="https://amoy.polygonscan.com/address/0xC22a79eBA640940ABB6dF0f7982cc119578E11De" /> |
| <DonId client:load/> | <CopyText text="fun-polygon-amoy-1" code /> / <CopyText text="0x66756e2d706f6c79676f6e2d616d6f792d310000000000000000000000000000"code format formatType="bytes32" /> |
| Encrypted secrets upload endpoints | <ul><li><CopyText text="https://01.functions-gateway.testnet.chain.link/" code /></li><li><CopyText text="https://02.functions-gateway.testnet.chain.link/" code /></li></ul> |
| Item | Value |
| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Functions router | <Address contractUrl="https://amoy.polygonscan.com/address/0xC22a79eBA640940ABB6dF0f7982cc119578E11De" /> |
| <DonId client:load/> | <CopyText text="fun-polygon-amoy-1" code /> / <CopyText text="0x66756e2d706f6c79676f6e2d616d6f792d310000000000000000000000000000"code format formatType="bytes32" /> |
| Encrypted secrets upload endpoints | <ul><li><CopyText text="https://01.functions-gateway.testnet.chain.link/" code /></li><li><CopyText text="https://02.functions-gateway.testnet.chain.link/" code /></li></ul> |

| Billing Item | Value |
| ------------------------------------------------ | ------------- |
Expand Down
2 changes: 1 addition & 1 deletion src/content/data-feeds/api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function latestRoundData() external view
**Return values:**

- `roundId`: The round ID.
- `answer`: The data that this specific feed provides. Depending on the feed you selected, this answer provides asset prices, reserves, NFT floor prices, and other types of data.
- `answer`: The data that this specific feed provides. Depending on the feed you selected, this answer provides asset prices, reserves, and other types of data.
- `startedAt`: Timestamp of when the round started.
- `updatedAt`: Timestamp of when the round was updated.
- `answeredInRound`: <Icon type="deprecated" /> Deprecated - Previously used when answers could take multiple rounds to be computed
Expand Down
12 changes: 1 addition & 11 deletions src/content/data-feeds/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ whatsnext:
"Read the API reference for using Data Feeds": "/data-feeds/api-reference",
"Find Rate Price Feed Addresses": "/data-feeds/price-feeds/addresses",
"Find Rate Proof of Reserve Feed Addresses": "/data-feeds/proof-of-reserve/addresses",
"Find Rate NFT Floor Price Feed Addresses": "/data-feeds/nft-floor-price/addresses",
"Find Rate and Volatility Feed Addresses": "/data-feeds/rates-feeds/addresses",
"Learn how to use Data Feeds on L2 networks": "/data-feeds/l2-sequencer-feeds",
}
Expand All @@ -26,7 +25,7 @@ import button from "@chainlink/design-system/button.module.css"
Data Feeds with your applications.
</Aside>

Chainlink Data Feeds are the quickest way to connect your smart contracts to the real-world data such as asset prices, reserve balances, NFT floor prices, and L2 sequencer health.
Chainlink Data Feeds are the quickest way to connect your smart contracts to the real-world data such as asset prices, reserve balances, and L2 sequencer health.

If you already started a project and need to integrate Chainlink, you can [add Chainlink to your existing project](/resources/create-a-chainlinked-project?parent=dataFeeds#installing-into-existing-projects) with the [`@chainlink/contracts` NPM package](https://www.npmjs.com/package/@chainlink/contracts).

Expand All @@ -36,7 +35,6 @@ Data feeds provide many different types of data for your applications.

- [Price Feeds](#price-feeds)
- [Proof of Reserve Feeds](#proof-of-reserve-feeds)
- [NFT Floor Price Feeds](#nft-floor-price-feeds)
- [Rate and Volatility Feeds](#rate-and-volatility-feeds)
- [L2 sequencer uptime feeds](#l2-sequencer-uptime-feeds)

Expand All @@ -60,14 +58,6 @@ To learn more about Proof of Reserve Feeds, see the [Proof of Reserve](/data-fee

See the [Proof of Reserve Contract Addresses](/data-feeds/proof-of-reserve/addresses) page for a list of available networks and addresses.

### NFT Floor Price Feeds

NFT Floor Price Feeds provide the price of the lowest priced NFT available in a collection. These feeds operate similarly to [Price Feeds](/data-feeds/price-feeds) so you can use the [AggregatorV3Interface.sol](https://github.com/smartcontractkit/chainlink/blob/develop/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.sol) contract to retrieve price answers.

To learn more, see the [NFT Floor Price Feeds](/data-feeds/nft-floor-price) documentation.

See the [NFT Floor Price Contract Addresses](/data-feeds/nft-floor-price/addresses) page for a list of available networks and addresses.

### Rate and Volatility Feeds

Several feeds provide interest rate curve data, APY data, and realized asset price volatility.
Expand Down
13 changes: 0 additions & 13 deletions src/content/data-feeds/nft-floor-price/addresses.mdx

This file was deleted.

27 changes: 0 additions & 27 deletions src/content/data-feeds/nft-floor-price/index.mdx

This file was deleted.

1 change: 0 additions & 1 deletion src/content/data-feeds/using-data-feeds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ The code for reading Data Feeds is the same across all EVM-compatible blockchain
- **Feed contract address:** This determines which data feed your smart contract will read. Contract addresses are different for each network. You can find the availble contract addresses on the following pages:
- [Price Feed Addresses](/data-feeds/price-feeds/addresses)
- [Proof of Reserve Feed Addresses](/data-feeds/proof-of-reserve/addresses)
- [NFT Floor Price Feed Addresses](/data-feeds/nft-floor-price/addresses)

The examples in this document indicate these variables, but you can modify the examples to work on different networks and read different feeds.

Expand Down
2 changes: 1 addition & 1 deletion src/content/quickstarts/dev3-chainlink-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { TabsContent } from "@components/Tabs"

## Overview

The [Dev3 Chainlink SDK module](https://github.com/0xDev3/dev3-sdk) is a fully open source TypeScript SDK which enables any frontend developer to fetch the prices of various assets through Chainlink Data Feeds. The SDK works with vanilla npm projects and frontend frameworks like Angular and React. Users can fetch price pairs, NFT floor price information, and more.
The [Dev3 Chainlink SDK module](https://github.com/0xDev3/dev3-sdk) is a fully open source TypeScript SDK which enables any frontend developer to fetch the prices of various assets through Chainlink Data Feeds. The SDK works with vanilla npm projects and frontend frameworks like Angular and React. Users can fetch price pairs and other data.

## Objective

Expand Down
23 changes: 12 additions & 11 deletions src/content/vrf/v2-5/supported-networks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,18 @@ VRF v2.5 coordinators for subscription funding are available on several networks
Testnet LINK is available from https://faucets.chain.link/bnb-chain-testnet
</Aside>

| Item | Value |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| LINK Token | <Address contractUrl="https://testnet.bscscan.com/address/0x84b9B910527Ad5C03A9Ca831909E21e236EA7b06" urlId="97_0x84b9B910527Ad5C03A9Ca831909E21e236EA7b06" urlClass="erc-token-address"/> |
| VRF Coordinator | <Address contractUrl="https://testnet.bscscan.com/address/0xDA3b641D438362C440Ac5458c57e00a712b66700" /> |
| 50 gwei Key Hash | <CopyText text="0x8596b430971ac45bdf6088665b9ad8e8630c9d5049ab54b14dff711bee7c0e26" code/> |
| Premium percentage <br/> (paying with testnet BNB) | 60 |
| Premium percentage <br/> (paying with testnet LINK) | 50 |
| Max Gas Limit | 2,500,000 |
| Minimum Confirmations | 3 |
| Maximum Confirmations | 200 |
| Maximum Random Values | 500 |
| Item | Value |
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| LINK Token | <Address contractUrl="https://testnet.bscscan.com/address/0x84b9B910527Ad5C03A9Ca831909E21e236EA7b06" urlId="97_0x84b9B910527Ad5C03A9Ca831909E21e236EA7b06" urlClass="erc-token-address"/> |
| VRF Coordinator | <Address contractUrl="https://testnet.bscscan.com/address/0xDA3b641D438362C440Ac5458c57e00a712b66700" /> |
| 50 gwei Key Hash | <CopyText text="0x8596b430971ac45bdf6088665b9ad8e8630c9d5049ab54b14dff711bee7c0e26" code/> |
| Premium percentage <br/> (paying with testnet BNB) | 60 |
| Premium percentage <br/> (paying with testnet LINK) | 50 |
| Max Gas Limit | 2,500,000 |
| Minimum Confirmations | 3 |
| Maximum Confirmations | 200 |
| Maximum Random Values | 500 |

</Fragment>
<Fragment slot="panel.2">
| Item | Value |
Expand Down
2 changes: 1 addition & 1 deletion src/content/vrf/v2/security.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ If you implement the [subscription method](/vrf/v2/subscription), use `VRFConsum

## Use `VRFv2WrapperConsumer.sol` in your contract, to interact with the VRF service

If you implement the [direct funding method](/vrf/v2/direct-funding), use `VRFv2WrapperConsumer`. It includes a check to ensure the randomness is fulfilled by the `VRFV2Wrapper`. For this reason, it is a best practice to inherit from `VRFv2WrapperConsumer`. Similarly, don't override `rawFulfillRandomWords`.
If you implement the [direct funding method](/vrf/v2/direct-funding), use `VRFv2WrapperConsumer`. It includes a check to ensure the randomness is fulfilled by the `VRFV2Wrapper`. For this reason, it is a best practice to inherit from `VRFv2WrapperConsumer`. Similarly, don't override `rawFulfillRandomWords`.
1 change: 0 additions & 1 deletion src/features/data/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Chain } from "../chains"

interface Docs {
nftFloorUnits: any
assetName?: string
feedCategory?: string
feedType?: string
Expand Down
14 changes: 7 additions & 7 deletions src/features/data/chains.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ChainMetadata } from "./api"

type ChainTags = ("default" | "proofOfReserve" | "nftFloorPrice" | "rates" | "streams")[]
type ChainTags = ("default" | "proofOfReserve" | "rates" | "streams")[]
export interface ChainNetwork {
name: string
explorerUrl: string
Expand Down Expand Up @@ -36,7 +36,7 @@ export const CHAINS: Chain[] = [
title: "Data Feeds",
img: "/assets/chains/ethereum.svg",
networkStatusUrl: "https://ethstats.dev/",
tags: ["default", "proofOfReserve", "nftFloorPrice", "rates"],
tags: ["default", "proofOfReserve", "rates"],
supportedFeatures: ["vrfSubscription", "vrfDirectFunding", "feeds"],
networks: [
{
Expand All @@ -45,7 +45,7 @@ export const CHAINS: Chain[] = [
networkType: "mainnet",
rddUrl: "https://reference-data-directory.vercel.app/feeds-mainnet.json",
queryString: "ethereum-mainnet",
tags: ["proofOfReserve", "nftFloorPrice"],
tags: ["proofOfReserve"],
},
{
name: "Sepolia Testnet",
Expand Down Expand Up @@ -186,7 +186,7 @@ export const CHAINS: Chain[] = [
title: "Arbitrum Data Feeds",
img: "/assets/chains/arbitrum.svg",
networkStatusUrl: "https://arbiscan.freshstatus.io/",
tags: ["default", "rates", "nftFloorPrice", "streams"],
tags: ["default", "rates", "streams"],
supportedFeatures: ["vrfSubscription", "vrfDirectFunding", "feeds"],
networks: [
{
Expand All @@ -195,7 +195,7 @@ export const CHAINS: Chain[] = [
networkType: "mainnet",
rddUrl: "https://reference-data-directory.vercel.app/feeds-ethereum-mainnet-arbitrum-1.json",
queryString: "arbitrum-mainnet",
tags: ["nftFloorPrice", "streams"],
tags: ["streams"],
},
{
name: "Arbitrum Sepolia",
Expand Down Expand Up @@ -463,7 +463,7 @@ export const ALL_CHAINS: Chain[] = [
title: "All chains",
img: "/assets/chains/ethereum.svg",
networkStatusUrl: "https://ethstats.dev/",
tags: ["default", "proofOfReserve", "nftFloorPrice"],
tags: ["default", "proofOfReserve"],
supportedFeatures: ["feeds"],
networks: [
{
Expand All @@ -472,7 +472,7 @@ export const ALL_CHAINS: Chain[] = [
networkType: "mainnet",
rddUrl: "https://reference-data-directory.vercel.app/feeds-mainnet.json",
queryString: "ethereum-mainnet",
tags: ["proofOfReserve", "nftFloorPrice"],
tags: ["proofOfReserve"],
},
{
name: "BNB Chain Mainnet",
Expand Down
Loading