loom_types_events/
health_event.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
use alloy_primitives::TxHash;

use loom_types_blockchain::SwapError;

use crate::Message;

#[derive(Clone, Debug)]
pub enum HealthEvent {
    PoolSwapError(SwapError),
    MonitorTx(TxHash),
}

pub type MessageHealthEvent = Message<HealthEvent>;