Skip to content

Commit 12cb1ca

Browse files
Update index.md
1 parent 5403acd commit 12cb1ca

File tree

1 file changed

+1
-1
lines changed
  • public/content/developers/tutorials/uniswap-v2-annotated-code

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ This function performs internal processing that is required for the functions th
13231323
for (uint i; i < path.length - 1; i++) {
13241324
```
13251325

1326-
As I'm writing this there are [388,160 ERC-20 tokens](https://etherscan.io/tokens). If there was a pair exchange for each token pair, it would be over a 150 billion pair exchanges. The entire chain, at the moment, [only has 0.1% that number of accounts](https://etherscan.io/chart/address). Instead, the swap functions support the concept of a path. A trader can exchange A for B, B for C, and C for D, so there is no need for a direct A-D pair exchange.
1326+
As I'm writing this there are [388,160 ERC-20 tokens](https://etherscan.io/tokens). If there was a pair exchange for each token pair, it would be over 150 billion pair exchanges. The entire chain, at the moment, [only has 0.1% that number of accounts](https://etherscan.io/chart/address). Instead, the swap functions support the concept of a path. A trader can exchange A for B, B for C, and C for D, so there is no need for a direct A-D pair exchange.
13271327

13281328
The prices on these markets tend to be synchronized, because when they are out of sync it creates an opportunity for arbitrage. Imagine, for example, three tokens, A, B, and C. There are three pair exchanges, one for each pair.
13291329

0 commit comments

Comments
 (0)