kabu_types_events/health_event.rs
1use crate::Message;
2use alloy_primitives::TxHash;
3use kabu_types_entities::{EstimationError, SwapError};
4
5#[derive(Clone, Debug)]
6pub enum HealthEvent {
7 PoolSwapError(SwapError),
8 SwapLineEstimationError(EstimationError),
9 MonitorTx(TxHash),
10}
11
12pub type MessageHealthEvent = Message<HealthEvent>;