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_ethereum;
Modules§
- book
- Book feeds: a provider’s complete set of priced pairs, republished whenever it changes.
- evm
- price_
level_ stream - Titan pAMM price level stream integration.
- protocol
- rfq
- serde_
helpers - snapshot_
feed - Latest-value snapshot feeds, both ends: the contract a feed implements, what it publishes through, and the ways to read one.
- tycho_
core Deprecated - 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).
Traits§
- Database
Ref - EVM database interface.