Skip to main content

Crate wp_evm_shadow

Crate wp_evm_shadow 

Source

Structs§

CollectFeesParams
Parameters for a collect_fees plan.
ExactInParams
Parameters for an exact_in swap quote/plan.
ExactOutParams
Parameters for an exact_out swap quote/plan.
PlanFragment
Output of a plan function: a bundle of calls + declared approvals + value.
PoolState
Snapshot of a v3 pool’s on-chain state at some block.
PositionState
Hydrated state of a Ramses-family NFPM position.
Quote
Output of a quote computation. Pure — no chain interaction needed to produce one given a PoolState.
RamsesAddLiquidityParams
Parameters for an add_liquidity plan on a Ramses-family NFPM.
RamsesPositionView
Faithful Rust mirror of the Ramses-family NFPM 10-field positions() return tuple, plus the caller-supplied token_id echoed as the first field for round-tripping.
RemoveAndCollectParams
RemoveLiquidityParams
Parameters for a remove_liquidity plan.

Enums§

QuoteError

Constants§

CONFIG

Functions§

config_for_chain
factory
init_code_hash
multicall
pending_emissions
plan_add_liquidity
plan_collect_fees
plan_increase_liquidity
plan_remove_liquidity
plan_remove_liquidity_and_collect
Build an atomic multicall(decreaseLiquidity, collect, ..unwrap_tail) plan fragment for a Shadow Sonic NFPM position.
plan_swap_exact_in
pool_address
pool_deployer
pool_state
populate_ticks
position_key
Compute the Ramses-family pool position key.
position_manager
position_state
quote_exact_in
quote_exact_out
quote_online_exact_in
quoter
router
supports
voter