Skip to main content

Crate tycho_simulation

Crate tycho_simulation 

Source
Expand description

Tycho Simulation: a decentralized exchange simulation library

This library allows to simulate trades against a wide range of different protocols, including uniswap-v2 and uniswap-v3. It allows to simulate chained trades over different venues together to exploit price differences by using token prices calculated from the protocol’s state.

Re-exports§

pub use tycho_client;
pub use tycho_common;
pub use tycho_common as tycho_core;
pub use tycho_ethereum;

Modules§

evm
protocol
rfq
serde_helpers
utils

Macros§

impl_non_serializable_protocol
Macro to implement error-returning Serialize/Deserialize for protocols that cannot be serialized (e.g., due to VM state or external SDK dependencies).