tycho_simulation/
lib.rs

1//! Tycho Simulation: a decentralized exchange simulation library
2//!
3//! This library allows to simulate trades against a wide range
4//! of different protocols, including uniswap-v2 and uniswap-v3.
5//! It allows to simulate chained trades over different venues
6//! together to exploit price differences by using token prices
7//! calculated from the protocol's state.
8
9extern crate core;
10
11// Reexports
12pub use tycho_client;
13pub use tycho_common;
14pub use tycho_common as tycho_core; // Use `tycho_common` directly instead of `tycho_core`.
15pub use tycho_ethereum;
16
17#[cfg(feature = "evm")]
18pub mod evm;
19pub mod protocol;
20#[cfg(feature = "rfq")]
21pub mod rfq;
22pub mod serde_helpers;
23pub mod utils;