Skip to content

Commit f0cdb68

Browse files
authored
style: Updated links to Router01 and Router02 docs
The following links were throwing **Page Not Found** errors. On inspection, I noticed that they were pointing to outdated endpoint and hence the error. So, I have updated the links ``` https://docs.uniswap.org/v2/smart-contracts/router01/ ``` to ``` https://docs.uniswap.org/contracts/v2/reference/smart-contracts/router-01 ``` Same goes for the Router02.
1 parent d9a2380 commit f0cdb68

File tree

1 file changed

+2
-2
lines changed
  • src/content/developers/tutorials/uniswap-v2-annotated-code

1 file changed

+2
-2
lines changed

src/content/developers/tutorials/uniswap-v2-annotated-code/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -905,12 +905,12 @@ The periphery contracts are the API (application program interface) for Uniswap.
905905

906906
### UniswapV2Router01.sol {#UniswapV2Router01}
907907

908-
[This contract](https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/UniswapV2Router01.sol) has problems, and [should no longer be used](https://uniswap.org/docs/v2/smart-contracts/router01/). Luckily, the periphery contracts are stateless and don't hold any assets, so it is easy to deprecate it and suggest people use the replacement, `UniswapV2Router02`, instead.
908+
[This contract](https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/UniswapV2Router01.sol) has problems, and [should no longer be used](https://docs.uniswap.org/contracts/v2/reference/smart-contracts/router-01). Luckily, the periphery contracts are stateless and don't hold any assets, so it is easy to deprecate it and suggest people use the replacement, `UniswapV2Router02`, instead.
909909

910910
### UniswapV2Router02.sol {#UniswapV2Router02}
911911

912912
In most cases you would use Uniswap through [this contract](https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/UniswapV2Router02.sol).
913-
You can see how to use it [here](https://uniswap.org/docs/v2/smart-contracts/router02/).
913+
You can see how to use it [here](https://docs.uniswap.org/contracts/v2/reference/smart-contracts/router-02).
914914

915915
```solidity
916916
pragma solidity =0.6.6;

0 commit comments

Comments
 (0)