Goal
Understand the advanced V4 feature PRISM avoids in v1.0 but may use in v1.1.
Time estimate
2h (single focused session)
Prerequisites
Study plan (in order)
- [25 min]
uniswap/v4-core: src/libraries/Hooks.sol — return-delta flags (bits 0–3)
- [25 min]
uniswap/v4-core: src/PoolManager.sol — how return-delta modifies pool accounting
- [25 min] Use cases: custom fees, JIT-liquidity hooks, dynamic fee + delta combos
- [20 min] Why PRISM v1.0 doesn't use return-delta (simpler security surface)
- [25 min] Write outcomes from memory
Total: 120 min
After studying, you can
Tradeoff prompt for the architectural review
What would PRISM need return-delta hooks for in v1.1 MEV execution?
References
- uniswap/v4-core Hooks.sol
- uniswap/v4-core PoolManager.sol
Goal
Understand the advanced V4 feature PRISM avoids in v1.0 but may use in v1.1.
Time estimate
2h (single focused session)
Prerequisites
Study plan (in order)
uniswap/v4-core: src/libraries/Hooks.sol— return-delta flags (bits 0–3)uniswap/v4-core: src/PoolManager.sol— how return-delta modifies pool accountingTotal: 120 min
After studying, you can
Tradeoff prompt for the architectural review
What would PRISM need return-delta hooks for in v1.1 MEV execution?
References