Skip to main content

wp_evm_v4_core/
lib.rs

1//! wp-evm-v4-core — pure computation for v4-family DEXes.
2//!
3//! Modules:
4//! - `data` — pure records (PoolState, Quote, ProtocolConfig, etc.)
5//! - `quote` — pure swap-math delegation for hookless pools
6//! - `plan` — pure calldata-encoding functions
7//! - `v4_planner` — native V4 action sequencer (replaces the
8//!   `uniswap-v4-sdk` `V4Planner`; see R17-pre Slice B)
9//! - `hook_options` — native V4 hook permission decoder
10//!   (replaces `uniswap_v4_sdk::utils::hook`; see R17-pre Slice D)
11//!
12//! Zero async dependencies. Consumers that need chain I/O should depend on
13//! `wp-evm-v4-provider`, which re-exports all of this crate's public API.
14
15pub mod data;
16pub mod hook_options;
17pub mod permit2;
18pub mod plan;
19pub mod position_info;
20pub mod quote;
21pub mod v4_planner;