Trait orml_xtokens::module::Config[][src]

pub trait Config: Config {
    type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
    type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize + Into<u128>;
    type CurrencyId: Parameter + Member + Clone;
    type CurrencyIdConvert: Convert<Self::CurrencyId, Option<MultiLocation>>;
    type AccountIdToMultiLocation: Convert<Self::AccountId, MultiLocation>;
    type SelfLocation: Get<MultiLocation>;
    type XcmExecutor: ExecuteXcm<Self::Call>;
    type Weigher: WeightBounds<Self::Call>;
    type BaseXcmWeight: Get<Weight>;
    type LocationInverter: InvertLocation;
}
Expand description

Configuration trait of this pallet.

Implement this type for a runtime in order to customize this pallet.

Associated Types

The balance type.

Currency Id.

Convert T::CurrencyId to MultiLocation.

Convert T::AccountId to MultiLocation.

Self chain location.

XCM executor.

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

Base XCM weight.

The actually weight for an XCM message is T::BaseXcmWeight + T::Weigher::weight(&msg).

Means of inverting a location.

Implementors