Reference for Uniswap V3/V4 concepts used in Doppler development, including tick math, sqrtPriceX96, concentrated liquidity formulas, and V4 hooks/singleton architecture.
Resources
1Install
npx skillscat add rustydotwtf/doppler-skills/uniswap-fundamentals Install via the SkillsCat registry.
SKILL.md
Uniswap Fundamentals (Doppler-focused)
When to use
- You need math/context for Doppler pool parameters and pricing
- You are interpreting tick movement, liquidity ranges, or sqrtPriceX96 values
- You are debugging V4 hook lifecycle behavior
Scope
This skill is intentionally V3/V4-centric for current Doppler development.
Core concepts map
| Concept | Version | Reference |
|---|---|---|
| sqrtPriceX96 and tick math | V3+V4 | TICK-MATH.md |
| Liquidity formulas | V3+V4 | LIQUIDITY.md |
| Singleton + flash accounting | V4 | V4-ARCHITECTURE.md |
| Hook lifecycle and flags | V4 | V4-HOOKS.md |
Doppler usage map
| Doppler skill | Uniswap concepts used |
|---|---|
v3-static-auction |
V3 tick spacing, range liquidity, far-tick exits |
v4-dynamic-auction |
V4 hooks, epoch rebalancing, dynamic liquidity placement |
v4-multicurve-auction |
V4 concentrated ranges, multicurve allocation |
doppler-hook-initializer |
V4 hook permissions and callback integration |
Critical invariant
Token ordering (token0 < token1) drives:
- Tick direction interpretation
- Price direction assumptions
- Asset/numeraire orientation in calculations and migration logic