Skip to main content

evm_dex_pool/
lib.rs

1pub(crate) mod contracts;
2pub mod erc4626;
3pub mod lb;
4pub mod pool;
5pub mod v2;
6pub mod v3;
7
8#[cfg(feature = "rpc")]
9pub(crate) mod contracts_rpc;
10#[cfg(feature = "rpc")]
11mod token_info;
12#[cfg(feature = "rpc")]
13pub use token_info::TokenInfo;
14#[cfg(feature = "rpc")]
15pub mod utils;
16#[cfg(feature = "rpc")]
17pub use utils::create_fallback_provider;
18
19// Core traits and types
20pub use pool::MockPool;
21pub use pool::{
22    EventApplicable, PoolInterface, PoolType, PoolTypeTrait, Topic, TopicList, POOL_CREATED_TOPICS,
23};
24
25// V2
26pub use v2::{UniswapV2Pool, V2PoolType};
27
28// V3
29pub use v3::{Tick, TickMap, UniswapV3Pool, V3PoolType};
30
31// ERC4626
32pub use erc4626::{ERC4626Pool, ERC4626Standard, VerioIP};
33
34// LB (TraderJoe Liquidity Book)
35pub use lb::LBPool;
36
37// Registry (optional feature)
38#[cfg(feature = "registry")]
39pub mod registry;
40
41#[cfg(feature = "registry")]
42pub use registry::PoolRegistry;
43
44// Collector (optional feature)
45#[cfg(feature = "collector")]
46pub mod collector;