Module penumbra_dex::component
source · Available on crate feature
component
only.Expand description
The dex component contains implementations of the Penumbra dex with token supplies based on liquidity provider interactions.
Re-exports§
pub use self::metrics::register_metrics;
Modules§
- Crate-specific metrics functionality.
Structs§
- Holds the state of the execution circuit breaker. Responsible for managing the conditions of halting execution of a single batch swap. All execution circuit breaker triggers are non-fatal and will allow the swap to be partially fulfilled up to the search and execution limits managed by the circuit breaker.
Traits§
- Manages liquidity positions within the chain state.
- Extension trait providing read access to dex data.
- Extension trait providing write access to dex data.
- Manages the addition of new notes to the chain state.