use cfg_types::domain_address::DomainAddress;
use frame_support::pallet_prelude::{Decode, Encode, MaxEncodedLen, TypeInfo};
/// Message type used by the LP gateway.
#[derive(Debug, Encode, Decode, Clone, Eq, MaxEncodedLen, PartialEq, TypeInfo)]
pub enum GatewayMessage<Message, RouterId> {
Inbound {
domain_address: DomainAddress,
message: Message,
router_id: RouterId,
},
Outbound {
message: Message,
router_id: RouterId,
},
}