Crate bp_moonbeam

Source
Expand description

§Moonbeam bridge primitives

Modules§

bp_kusama
Bridging primitives describing the Kusama relay chain, which we need for the other side. Same approach as in https://github.com/polkadot-fellows/runtimes/pull/627

Structs§

BlockLength
Size limit of the Cumulus-based bridge hub blocks.
BlockWeights
Weight limit of the Cumulus-based bridge hub blocks.
GlobalConsensusLocation
Moonbeam
Moonbeam parachain.

Constants§

AVERAGE_BLOCK_INTERVAL
Average block time for Cumulus-based parachains
BEST_FINALIZED_MOONBEAM_POLKADOT_HEADER_METHOD
Name of the <ThisChain>FinalityApi::best_finalized runtime method.
FREE_HEADERS_INTERVAL_FOR_MOONBEAM_POLKADOT_METHOD
Name of the <ThisChain>FinalityApi::free_headers_interval runtime method.
FROM_MOONBEAM_POLKADOT_MESSAGE_DETAILS_METHOD
Name of the From<ThisChain>InboundLaneApi::message_details runtime method.
MAX_UNCONFIRMED_MESSAGES_IN_CONFIRMATION_TX
Maximal number of unconfirmed messages at inbound lane for Cumulus-based parachains. Note: this value is security-relevant, decreasing it should not be done without careful analysis (like the one above).
MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX
Maximal number of unrewarded relayer entries at inbound lane for Cumulus-based parachains. Note: this value is security-relevant, decreasing it should not be done without careful analysis (like the one above).
PARACHAIN_ID
Identifier of Moonbeam parachain in the Polkadot relay chain.
TO_MOONBEAM_POLKADOT_MESSAGE_DETAILS_METHOD
Name of the To<ThisChain>OutboundLaneApi::message_details runtime method.
WITH_MOONBEAM_POLKADOT_MESSAGES_PALLET_NAME
Name of the With-MoonbeamPolkadot messages pallet instance that is deployed at bridged chains.

Traits§

FromMoonbeamPolkadotInboundLaneApi
Inbound message lane API for messages sent by this chain.
MoonbeamPolkadotFinalityApi
API for querying information about the finalized chain headers.
ToMoonbeamPolkadotOutboundLaneApi
Outbound message lane API for messages that are sent to this chain.

Type Aliases§

AccountId
Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
Balance
Balance of an account.
BlockNumber
An index to a block.
Hash
A hash of some data used by the chain.
Hasher
The type of object that can produce hashes on Polkadot-like chains.
Header
Block header type as expected by this runtime.
LaneId
Bridge lane identifier.
Nonce
Nonce of a transaction on the Polkadot-like chains.
Signature
Alias to 512-bit hash when used in the context of a transaction signature on the chain.
SignedBlock
Polkadot-like block signed with a Justification.