pub trait MessageBridge {
    type ThisChain: ThisChainWithMessages;
    type BridgedChain: BridgedChainWithMessages;
    type BridgedHeaderChain: HeaderChain<UnderlyingChainOf<Self::BridgedChain>>;

    const BRIDGED_MESSAGES_PALLET_NAME: &'static str;
}
Expand description

Bidirectional message bridge.

Required Associated Types§

source

type ThisChain: ThisChainWithMessages

This chain in context of message bridge.

source

type BridgedChain: BridgedChainWithMessages

Bridged chain in context of message bridge.

source

type BridgedHeaderChain: HeaderChain<UnderlyingChainOf<Self::BridgedChain>>

Bridged header chain.

Required Associated Constants§

source

const BRIDGED_MESSAGES_PALLET_NAME: &'static str

Name of the paired messages pallet instance at the Bridged chain.

Should be the name that is used in the construct_runtime!() macro.

Implementors§