Expand description

Collection of traits used throughout the crate and useful for both providers and consumers.

Structs

  • Implementer of the GetWithArg trait that return the state root of a relaychain block with a given number by retrieving it from the [pallet_relay_store::Pallet] pallet storage. It hardcodes the relaychain BlockNumber, Hasher, StorageKey, and ParaId to the ones used by Polkadot-based relaychains. This type cannot be used with relaychains that adopt a different definition for any on those types.

Traits

  • A trait for types that implement access control logic where the call is the controlled resource and access is granted based on the provided info. The generic types are the following:
  • A trait similar in functionality to the [frame_support::traits::Get], but with an input argument and an associated return type.
  • A trait similar in functionality to the [frame_support::traits::Get], but with an associated return type.
  • A trait for “incrementable” types, i.e., types that have some notion of order of its members.