Skip to content

Commit

Permalink
wrap up price feed page
Browse files Browse the repository at this point in the history
  • Loading branch information
MattPereira committed Oct 25, 2023
1 parent de49003 commit f671587
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions packages/nextjs/pages/price-feeds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,12 @@ const PriceFeeds: NextPage = () => {
</>
}
details={[
<>The quote returned by the price feed contract has a specified number of decimals</>,
<>
The price returned by the price feed contract has a specified number of decimals that can be fetched from
the price feed contract using the <InlineCode text="decimals()" /> method
</>,
<>
The <InlineCode text="answer" /> returned by the price feed contract is only updated if the price deviates
beyond a specified threshold or if a certain amount of time has passed since the last update{" "}
The quote returned by the price feed contract is only updated if the price deviates beyond a specified
threshold or if a certain amount of time has passed since the last update{" "}
<ExternalLinkButton href="https://data.chain.link/ethereum/mainnet/crypto-usd/eth-usd" />
</>,
<>
<InlineCode text="FeedRegistry" /> is only available on Ethereum Mainnet, but{" "}
<InlineCode text="AggregatorV3Interface" /> is available on a variety of networks.
</>,
]}
gettingStarted={[
<>
Expand All @@ -49,8 +42,8 @@ const PriceFeeds: NextPage = () => {
Declare a state variable of type <InlineCode text="AggregatorV3Interface" />
</>,
<>
Choose network and a pair of assets to find the price feed address{" "}
<ExternalLinkButton href="https://data.chain.link/ethereum/mainnet/crypto-usd/eth-usd" />
Find price feed address by network and asset pair{" "}
<ExternalLinkButton href="https://docs.chain.link/data-feeds/price-feeds/addresses?network=ethereum&page=1" />
</>,
<>Instantiate the variable using the price feed address</>,
<>
Expand Down

0 comments on commit f671587

Please sign in to comment.