Type Alias bridge_runtime_common::messages::BridgeMessagesCallOf

source ·
pub type BridgeMessagesCallOf<C> = BridgeMessagesCall<AccountIdOf<C>, FromBridgedChainMessagesProof<HashOf<C>>, FromBridgedChainMessagesDeliveryProof<HashOf<C>>>;
Expand description

The BridgeMessagesCall used by a chain.

Aliased Type§

enum BridgeMessagesCallOf<C> {
    receive_messages_proof {
        relayer_id_at_bridged_chain: <C as Chain>::AccountId,
        proof: FromBridgedChainMessagesProof<<C as Chain>::Hash>,
        messages_count: u32,
        dispatch_weight: Weight,
    },
    receive_messages_delivery_proof {
        proof: FromBridgedChainMessagesDeliveryProof<<C as Chain>::Hash>,
        relayers_state: UnrewardedRelayersState,
    },
}

Variants§

§

receive_messages_proof

pallet-bridge-messages::Call::receive_messages_proof

Fields

§relayer_id_at_bridged_chain: <C as Chain>::AccountId

Account id of relayer at the bridged chain.

§proof: FromBridgedChainMessagesProof<<C as Chain>::Hash>

Messages proof.

§messages_count: u32

A number of messages in the proof.

§dispatch_weight: Weight

Total dispatch weight of messages in the proof.

§

receive_messages_delivery_proof

pallet-bridge-messages::Call::receive_messages_delivery_proof

Fields

§proof: FromBridgedChainMessagesDeliveryProof<<C as Chain>::Hash>

Messages delivery proof.

§relayers_state: UnrewardedRelayersState

“Digest” of unrewarded relayers state at the bridged chain.