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;
14#[deprecated(
15 since = "0.252.0",
16 note = "Use `tycho_simulation::tycho_common` instead of `tycho_simulation::tycho_core`."
17)]
18pub mod tycho_core {
19 pub use tycho_common::*;
20}
21pub use tycho_ethereum;
22
23#[cfg(feature = "evm")]
24pub mod evm;
25pub mod protocol;
26#[cfg(feature = "rfq")]
27pub mod rfq;
28pub mod serde_helpers;
29pub mod utils;