Uniswap V2 Course Cyfrin Updraft
Uniswap V2 course.
Go to Cyfrin Updraft for the full course
Cyfrin Updraft Uniswap V2 course
Code
0:00:00 Sponsor
0:00:27 Intro
0:02:50 Graph
0:10:37 Contracts
0:13:09 Swap math
0:18:02 Swap fee
0:21:02 Swap contract calls
0:24:58 Code repo
0:26:46 Code walkthrough swapExactTokensForTokens
0:33:26 Code walkthrough getAmountsOut
0:39:03 getAmountsOut mainnet fork
0:44:20 getAmountsOut example
0:48:13 Code walkthrough swapTokensForExactTokens
0:50:17 Code walkthrough getAmountsIn
0:55:04 getAmountsIn mainnet fork.
0:58:24 getAmountsIn example
1:02:08 Code walkthrough swap pair
1:12:27 Swap exercise 1
1:14:03 Swap exercise 1 solution
1:16:50 Swap exercise 2
1:18:31 Swap exercise 2 solution
1:20:46 Spot price graph
1:23:09 Spot price math
1:27:34 Slippage
1:33:43 Code walkthrough createPair
1:40:38 c