pool_sync/
lib.rs

1//! PoolSync: A library for synchronizing and managing various types of liquidity pools across different blockchains
2//!
3//! This library provides functionality to interact with and synchronize data from
4//! various decentralized exchange protocols across multiple blockchain networks.
5//! It supports different pool types like Uniswap V2, Uniswap V3, and SushiSwap,
6//! and can work with multiple blockchain networks such as Ethereum and Base.
7
8// Public re-exports
9pub use chain::Chain;
10pub use pool_sync::PoolSync;
11pub use pools::pool_structures::{
12    balancer_v2_structure::BalancerV2Pool,
13    maverick_structure::MaverickPool,
14    tri_crypto_curve_structure::CurveTriCryptoPool,
15    two_crypto_curve_structure::CurveTwoCryptoPool,
16    v2_structure::UniswapV2Pool,
17    v3_structure::{TickInfo, UniswapV3Pool},
18};
19pub use pools::{Pool, PoolInfo, PoolType};
20pub use rpc::Rpc;
21
22// Internal modules
23mod builder;
24mod cache;
25mod chain;
26mod errors;
27mod events;
28mod pool_sync;
29mod pools;
30mod rpc;
31mod util;
32mod tests;