pub trait Config: Config {
    type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
    type MaintenanceStatusProvider: GetMaintenanceStatusTrait;
    type XcmExecutor: ExecuteXcm<Self::RuntimeCall>;
    type ChannelInfo: GetChannelInfo;
    type VersionWrapper: WrapVersion;
    type ExecuteOverweightOrigin: EnsureOrigin<Self::RuntimeOrigin>;
    type ControllerOrigin: EnsureOrigin<Self::RuntimeOrigin>;
    type ControllerOriginConverter: ConvertOrigin<Self::RuntimeOrigin>;
    type PriceForSiblingDelivery: PriceForParachainDelivery;
    type WeightInfo: WeightInfo;
}
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 RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>

source

type MaintenanceStatusProvider: GetMaintenanceStatusTrait

source

type XcmExecutor: ExecuteXcm<Self::RuntimeCall>

Something to execute an XCM message. We need this to service the XCMoXCMP queue.

source

type ChannelInfo: GetChannelInfo

Information on the avaialble XCMP channels.

source

type VersionWrapper: WrapVersion

Means of converting an Xcm into a VersionedXcm.

source

type ExecuteOverweightOrigin: EnsureOrigin<Self::RuntimeOrigin>

The origin that is allowed to execute overweight messages.

source

type ControllerOrigin: EnsureOrigin<Self::RuntimeOrigin>

The origin that is allowed to resume or suspend the XCMP queue.

source

type ControllerOriginConverter: ConvertOrigin<Self::RuntimeOrigin>

The conversion function used to attempt to convert an XCM MultiLocation origin to a superuser origin.

source

type PriceForSiblingDelivery: PriceForParachainDelivery

The price for delivering an XCM to a sibling parachain destination.

source

type WeightInfo: WeightInfo

The weight information of this pallet.

Implementors§