Trait pallet_asset_registry::pallet::Config
source · pub trait Config: Config {
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
type RegistryOrigin: EnsureOrigin<Self::Origin>;
type AssetId: Parameter + Member + Default + Copy + BaseArithmetic + MaybeSerializeDeserialize + MaxEncodedLen + TypeInfo;
type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize;
type AssetNativeLocation: Parameter + Member + Default;
type StringLimit: Get<u32>;
type SequentialIdStartAt: Get<Self::AssetId>;
type NativeAssetId: Get<Self::AssetId>;
type WeightInfo: WeightInfo;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Required Associated Types§
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>
sourcetype RegistryOrigin: EnsureOrigin<Self::Origin>
type RegistryOrigin: EnsureOrigin<Self::Origin>
The origin which can work with asset-registry.
sourcetype AssetId: Parameter + Member + Default + Copy + BaseArithmetic + MaybeSerializeDeserialize + MaxEncodedLen + TypeInfo
type AssetId: Parameter + Member + Default + Copy + BaseArithmetic + MaybeSerializeDeserialize + MaxEncodedLen + TypeInfo
Asset type
sourcetype Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize
type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize
Balance type
sourcetype AssetNativeLocation: Parameter + Member + Default
type AssetNativeLocation: Parameter + Member + Default
Asset location type
sourcetype StringLimit: Get<u32>
type StringLimit: Get<u32>
The maximum length of a name or symbol stored on-chain.
type SequentialIdStartAt: Get<Self::AssetId>
sourcetype NativeAssetId: Get<Self::AssetId>
type NativeAssetId: Get<Self::AssetId>
Native Asset Id
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for the extrinsics