referrerpolicy=no-referrer-when-downgrade

Config

Trait Config 

Source
pub trait Config: Config<RuntimeOrigin: Into<Result<Origin, <Self as Config>::RuntimeOrigin>>> + Config<RuntimeEvent: From<Event<Self>>> {
    type OnDepositSet: OnDepositSet;
    type HolderParaId: Get<ParaId>;
    type SendToPara: SendToPara;
    type MaxFailedReleases: Get<u32>;
    type WeightInfo: WeightInfo;
    type BenchmarkHelper: BenchmarkHelper;
}
Expand description

Configuration trait of this pallet.

The main purpose of this trait is to act as an interface between this pallet and the runtime in which it is embedded in. A type, function, or constant in this trait is essentially left to be configured by the runtime that includes this pallet.

Consequently, a runtime that wants to include this pallet must implement this trait.

Required Associated Types§

Source

type OnDepositSet: OnDepositSet

Receives the outcome of each pending request: the hrmp pallet.

Source

type HolderParaId: Get<ParaId>

The para that holds the deposits.

Only it may answer requests.

Source

type SendToPara: SendToPara

Sends messages to the parachain that holds the deposits.

Source

type MaxFailedReleases: Get<u32>

How many releases may wait in FailedReleases to be retried.

Source

type WeightInfo: WeightInfo

Weight information for the extrinsics in this pallet.

Source

type BenchmarkHelper: BenchmarkHelper

Prepares the runtime for the benchmarks.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§