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
type SendXcmOrigin: EnsureOrigin<<Self as SysConfig>::Origin, Success = MultiLocation>
type SendXcmOrigin: EnsureOrigin<<Self as SysConfig>::Origin, Success = MultiLocation>
Required origin for sending XCM messages. If successful, it resolves to MultiLocation
which exists as an interior location within this chain’s XCM context.
type ExecuteXcmOrigin: EnsureOrigin<<Self as SysConfig>::Origin, Success = MultiLocation>
type ExecuteXcmOrigin: EnsureOrigin<<Self as SysConfig>::Origin, Success = MultiLocation>
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.
type XcmExecuteFilter: Contains<(MultiLocation, Xcm<<Self as SysConfig>::Call>)>
type XcmExecuteFilter: Contains<(MultiLocation, Xcm<<Self as SysConfig>::Call>)>
Our XCM filter which messages to be executed using XcmExecutor
must pass.
type XcmExecutor: ExecuteXcm<<Self as SysConfig>::Call>
type XcmExecutor: ExecuteXcm<<Self as SysConfig>::Call>
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.
type Weigher: WeightBounds<<Self as SysConfig>::Call>
type Weigher: WeightBounds<<Self as SysConfig>::Call>
Means of measuring the weight consumed by an XCM message locally.
Means of inverting a location.
type Call: Parameter + GetDispatchInfo + IsType<<Self as Config>::Call> + Dispatchable<Origin = <Self as Config>::Origin, PostInfo = PostDispatchInfo>
type Call: Parameter + GetDispatchInfo + IsType<<Self as Config>::Call> + Dispatchable<Origin = <Self as Config>::Origin, PostInfo = PostDispatchInfo>
The outer Call
type.
The latest supported version that we advertise. Generally just set it to
pallet_xcm::CurrentXcmVersion
.