From 36e12f486d5af49d63887e70569bf7f38e4dfeae Mon Sep 17 00:00:00 2001 From: Peaupoosh <45771097+Pduhard@users.noreply.github.com> Date: Wed, 9 Oct 2024 17:38:14 +0200 Subject: [PATCH] docs: links to price oracle example repository (#791) --- docs/sdk/v3/guides/advanced/04-price-oracle.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sdk/v3/guides/advanced/04-price-oracle.md b/docs/sdk/v3/guides/advanced/04-price-oracle.md index 8033130f2..a7d5d2fba 100644 --- a/docs/sdk/v3/guides/advanced/04-price-oracle.md +++ b/docs/sdk/v3/guides/advanced/04-price-oracle.md @@ -6,8 +6,8 @@ title: Uniswap as a Price Oracle ## Introduction This guide will cover how to fetch price observations from a V3 pool to get onchain asset prices. -It is based on the [Price Oracle example](https://github.com/Uniswap/examples/tree/main/v3-sdk/price-oracle), found in the Uniswap code examples [repository](https://github.com/Uniswap/example). -To run this example, check out the guide's [README](https://github.com/Uniswap/examples/blob/main/v3-sdk/price-oracle/README.md) and follow the setup instructions. +It is based on the [Price Oracle example](https://github.com/Uniswap/examples/tree/main/v3-sdk/oracle), found in the Uniswap code examples [repository](https://github.com/Uniswap/example). +To run this example, check out the guide's [README](https://github.com/Uniswap/examples/blob/main/v3-sdk/oracle/README.md) and follow the setup instructions. :::info If you need a briefer on the SDK and to learn more about how these guides connect to the examples repository, please visit our [background](./01-background.md) page! @@ -30,7 +30,7 @@ For this guide, the following Uniswap packages are used: - [`@uniswap/v3-sdk`](https://www.npmjs.com/package/@uniswap/v3-sdk) -The core code of this guide can be found in [`oracle.ts`](https://github.com/Uniswap/examples/tree/main/v3-sdk/price-oracle/src/libs/oracle.ts) +The core code of this guide can be found in [`oracle.ts`](https://github.com/Uniswap/examples/tree/main/v3-sdk/oracle/src/libs/oracle.ts) ## Understanding Observations