Skip to main content

Crate wp_evm_v4_core

Crate wp_evm_v4_core 

Source
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 pools
  • plan — pure calldata-encoding functions
  • v4_planner — native V4 action sequencer (replaces the uniswap-v4-sdk V4Planner; see R17-pre Slice B)
  • hook_options — native V4 hook permission decoder (replaces uniswap_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
PositionInfo uint256 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.