penumbra_sdk_dex/component/
mod.rs

1//! The dex component contains implementations of the Penumbra dex with token
2//! supplies based on liquidity provider interactions.
3
4pub mod metrics;
5pub mod rpc;
6
7pub mod router;
8
9mod action_handler;
10mod arb;
11mod chandelier;
12pub(crate) mod circuit_breaker;
13mod dex;
14mod eviction_manager;
15mod flow;
16mod position_manager;
17mod swap_manager;
18
19pub use dex::{Dex, StateReadExt, StateWriteExt};
20pub use position_manager::PositionManager;
21
22// Read data from the Dex component;
23pub use position_manager::PositionRead;
24pub use swap_manager::SwapDataRead;
25
26pub(crate) use arb::Arbitrage;
27pub(crate) use circuit_breaker::ExecutionCircuitBreaker;
28pub(crate) use circuit_breaker::ValueCircuitBreaker;
29pub use circuit_breaker::ValueCircuitBreakerRead;
30pub(crate) use dex::InternalDexWrite;
31pub(crate) use swap_manager::SwapDataWrite;
32pub(crate) use swap_manager::SwapManager;
33
34#[cfg(test)]
35pub(crate) mod tests;
36
37pub use self::metrics::register_metrics;