Trait pallet_xcm::pallet::Config[][src]

pub trait Config: Config {
Show 14 associated items type Event: From<Event<Self>> + IsType<<Self as Config>::Event>; type SendXcmOrigin: EnsureOrigin<<Self as SysConfig>::Origin, Success = MultiLocation>; type XcmRouter: SendXcm; type ExecuteXcmOrigin: EnsureOrigin<<Self as SysConfig>::Origin, Success = MultiLocation>; type XcmExecuteFilter: Contains<(MultiLocation, Xcm<<Self as SysConfig>::Call>)>; type XcmExecutor: ExecuteXcm<<Self as SysConfig>::Call>; type XcmTeleportFilter: Contains<(MultiLocation, Vec<MultiAsset>)>; type XcmReserveTransferFilter: Contains<(MultiLocation, Vec<MultiAsset>)>; type Weigher: WeightBounds<<Self as SysConfig>::Call>; type LocationInverter: InvertLocation; type Origin: From<Origin> + From<<Self as SysConfig>::Origin>; type Call: Parameter + GetDispatchInfo + IsType<<Self as Config>::Call> + Dispatchable<Origin = <Self as Config>::Origin, PostInfo = PostDispatchInfo>; type AdvertisedXcmVersion: Get<XcmVersion>; const VERSION_DISCOVERY_QUEUE_SIZE: u32;
}
Expand description

The module configuration trait.

Associated Types

The overarching event type.

Required origin for sending XCM messages. If successful, it resolves to MultiLocation which exists as an interior location within this chain’s XCM context.

The type used to actually dispatch an XCM to its destination.

Required origin for executing XCM messages, including the teleport functionality. If successful, then it resolves to MultiLocation which exists as an interior location within this chain’s XCM context.

Our XCM filter which messages to be executed using XcmExecutor must pass.

Something to execute an XCM message.

Our XCM filter which messages to be teleported using the dedicated extrinsic must pass.

Our XCM filter which messages to be reserve-transferred using the dedicated extrinsic must pass.

Means of measuring the weight consumed by an XCM message locally.

Means of inverting a location.

The outer Origin type.

The outer Call type.

The latest supported version that we advertise. Generally just set it to pallet_xcm::CurrentXcmVersion.

Associated Constants

Implementors