Skip to content

Commit 221da2c

Browse files
authored
fix: deployments page links (#1063)
1 parent 0c8b356 commit 221da2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/sdk/v3/guides/swaps/01-quoting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const USDC_TOKEN = new Token(
118118

119119
These constants are used in the `config.ts` file, as mentioned in the Introduction.
120120

121-
We can find the Pool Factory Contract address for our chain [here](../../../../contracts/v3/reference/Deployments.md).
121+
We can find the Pool Factory Contract address for our chain [here](../../../../contracts/v3/reference/deployments/deployments.md).
122122

123123
## Referencing the Pool contract and fetching metadata
124124

@@ -234,7 +234,7 @@ const quoterV2Contract = new ethers.Contract(
234234
)
235235
```
236236

237-
We get the QUOTE_V2_CONTRACT_ADDRESS for our chain from [V3 refrence deployments](../reference/deployments).
237+
We get the QUOTE_V2_CONTRACT_ADDRESS for our chain from [V3 reference deployments](../../../../contracts/v3/reference/deployments/deployments.md).
238238

239239
We get access to the contract's ABI through the [@uniswap/v3-periphery](https://www.npmjs.com/package/@uniswap/v3-periphery) package, which holds the periphery smart contracts of the Uniswap V3 protocol:
240240

docs/sdk/v3/guides/swaps/03-routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ const tokenApproval = await tokenContract.approve(
159159
To be able to spend the tokens of a wallet, a smart contract first needs to get an approval from that wallet.
160160
ERC20 tokens have an `approve` function that accepts the address of the smart contract that we want to allow spending our tokens and the amount the smart contract should be allowed to spend.
161161

162-
We can get the **V3_SWAP_ROUTER_ADDRESS** for our chain from [GitHub](https://github.com/Uniswap/v3-periphery/blob/main/deploys.md).
162+
We can get the **V3_SWAP_ROUTER_ADDRESS** for our chain from the `SwapRouter02` field in [Deployments](../../../../contracts/v3/reference/deployments/deployments.md).
163163
Keep in mind that different chains might have **different deployment addresses** for the same contracts.
164164
The deployment address for local forks of a network are the same as in the network you forked, so for a **fork of mainnet** it would be the address for **Mainnet**.
165165

0 commit comments

Comments
 (0)