Expand description
wp-evm-v4-core — pure computation for v4-family DEXes.
Modules:
data— pure records (PoolState, Quote, ProtocolConfig, etc.)quote— pure swap-math delegation for hookless poolsplan— pure calldata-encoding functionsv4_planner— native V4 action sequencer (replaces theuniswap-v4-sdkV4Planner; see R17-pre Slice B)hook_options— native V4 hook permission decoder (replacesuniswap_v4_sdk::utils::hook; see R17-pre Slice D)
Zero async dependencies. Consumers that need chain I/O should depend on
wp-evm-v4-provider, which re-exports all of this crate’s public API.
Modules§
- data
- Pure data records for the v4 family.
- hook_
options - V4 hook permission decoder —
HookFlag+has_permission. - permit2
- Permit2 calldata helpers for Uniswap V4 write flows.
- plan
- Pure plan functions for the v4 family.
- position_
info PositionInfouint256 unpacking for v4 PositionManager NFTs.- quote
- Pure quote functions for the v4 family.
- v4_
planner - Native V4 action sequencer — byte-identical replacement for
uniswap_v4_sdk::utils::v4_planner::V4Planner.