I was understanding how uniswap works so I made some notes with that so others can also understand. This repo contains uniswap code and tons of notes and resources with that to understand how uniswap works.
Repo contains 3 Folders
-
Uniswap v2 - this is the main repo, here you will find explanation of uniswap v2 line by line. Just go inside the contracts e.g. UniswapV2Pair and you will find explaination inside that.
-
Uniswap v3 - contains explaination how uniswap v3 works
-
Curve - contains explaination how curve works
If you have any doubt or find any mistake, please feel free to reach out to me and I’d try to reply AFAP. Contact Me
Or if you like to add something e.g. you want to add some more resources, then you can make a PR also.
Wanna learn about gas optimization? Click here
Your support is crucial to help me continue doing what I love - educating DeFi & Crypto users.
If you find value in my work and want to support my work, you can send me a donation to the address -
-
Ethereum/Polygon/BSC/Arbiturm/etc Address – 0xB8B14B7f0E4dF000f0654aF98498d52e567F2bfE
-
Solana Address – 2fM5d1cupj2Mceh1wSYTrq1PSz2JbTbcYipJ4RxRSgMB
-
DogeCoin - DPFhZeZkybzLZj3ReJPdWHnDzv1zU5pugA
-
LiteCoin - ltc1qzs3tj276zdjtuv5qy7aww3cc3frus8yvjdukln
Much much thanks every single one of you! Your support enables me to create more content, improve the quality of my work, and ultimately make a positive impact on the community.
Drop me a message on LinkedIn if you have any doubts or need any help -
Thank you! Stay safe!