referrerpolicy=no-referrer-when-downgrade

Crate hrmp_primitives

Crate hrmp_primitives 

Source
Expand description

§HRMP-channel shared primitives

Types shared by the parachain pallet (pallet-hrmp-para) and relay-chain pallet (pallet-hrmp-relay). This crate is deliberately free of any FRAME, XCM, or network-specific dependency, so a single version of the wire types serves Westend, Kusama and Polkadot, and so both pallets can depend on it without forming a dependency cycle.

Structs§

ChannelId
One end of a channel, in the order the relay chain names them.
DepositKey
What a deposit is held for: one side of one channel.

Enums§

DepositError
Why the parachain could not set the deposits it was asked to.
DepositSide
Which end of a channel pays a deposit.
MessageToPara
Messages from the relay chain to the parachain that holds the deposits.
MessageToParaV1
Version 1 payloads for MessageToPara.
MessageToRelay
Messages from the parachain that holds the deposits to the relay chain.
MessageToRelayV1
Version 1 payloads for MessageToRelay.

Traits§

ReceiveMigratedDeposits
Receive a migrated HRMP deposit.

Type Aliases§

Balance
A deposit amount, in the relay chain’s native token.
ParaId
A parachain id.