Crate pezbp_teyrchains

Crate pezbp_teyrchains 

Source
Expand description

Primitives of teyrchains module.

Structs§

BestParaHeadHash
Best known teyrchain head hash.
ImportedParaHeadsKeyProvider
Can be use to access the runtime storage key of the teyrchain head at the target chain.
ParaInfo
Best known teyrchain head as it is stored in the runtime storage.
ParaStoredHeaderData
Stored data of the teyrchain head. It is encoded version of the pezbp_runtime::StoredHeaderData structure.
ParasInfoKeyProvider
Can be use to access the runtime storage key of the teyrchains info at the target chain.
SingleParaStoredHeaderDataBuilder
Helper for using single teyrchain as ParaStoredHeaderDataBuilder.
StoredHeaderData
Header data that we’re storing on-chain.
SubmitTeyrchainHeadsInfo
Info about a SubmitTeyrchainHeads call which tries to update a single teyrchain.

Enums§

BridgeTeyrchainCall
A minimized version of pezpallet-bridge-teyrchains::Call that can be used without a runtime.

Traits§

OnNewHead
Runtime hook for when a teyrchain head is updated.
ParaStoredHeaderDataBuilder
Stored teyrchain head data builder.

Functions§

teyrchain_head_storage_key_at_source
Returns runtime storage key of given teyrchain head at the source chain.

Type Aliases§

RelayBlockHash
Block hash of the bridged relay chain.
RelayBlockHasher
Hasher of the bridged relay chain.
RelayBlockNumber
Block number of the bridged relay chain.