- Check prerequisites
- Install tools
- Watch videos on Cyfrin Updraft
- Do exercises under topics
- Ask questions on GitHub discussions
- Intermediate Solidity
- Experience with Foundry
Check out the videos on Cyfrin Updraft for each lesson.
- Swap math
- Swap fee math
- Contract calls
- Code walkthrough periphery and core repositories
- Code walkthrough
swapExactTokensForTokens
getAmountsOut
getAmountsOut
forkgetAmountsOut
example
- Code walkthrough
swapTokensForExactTokens
getAmountsIn
getAmountsIn
forkgetAmountsIn
example
- Code walkthrough
pair.swap
- Exercise 1
- Solution 1
- Exercise 2
- Solution 2
- Spot price graph
- Spot price math
- Slippage
- Code walkthrough
createPair
- Exercise 1
- Solution 1
- Pool shares intro
- Pool shares mint math
- Pool shares mint math example
- Pool shares burn
- Pool shares burn math
- Pool shares burn math example
- Add liquidity graph
- Add liquidity math
- Add liquidity pool shares math intro
- Liquidity functions
- Liquidity functions - sqrt
- Liquidity functions - 2x
- Summary
- Contract calls
- Code walkthrough
addLiquidity
- Code walkthrough
mint
- Exercise 1
- Solution 1
- Remove liquidity graph
- Remove liquidity math
- How many dx and dy to remove?
- Pool shares intro
- Liquidity functions
- Liquidity delta with liquidity function = sqrt
- Contract calls
- Code walkthrough
removeLiquidity
- Code walkthrough
burn
- Exercise 1
- Solution 1
- Flash swap fee math
- Contract calls
- Code walkthrough
swap
- Exercise 1
- Solution 1
- Spot price manipulation
- TWAP math
- Intro
- Cumulative price
- Example
- TWAP approximation to current time
- Misconception
- Code walkthrough
_update
- Exercise 1
- Solution 1