Trait pallet_nft::pallet::Config
source · pub trait Config: Config + Config {
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
type WeightInfo: WeightInfo;
type NftCollectionId: Member + Parameter + Default + Copy + HasCompact + AtLeast32BitUnsigned + Into<Self::CollectionId> + From<Self::CollectionId> + MaxEncodedLen;
type NftItemId: Member + Parameter + Default + Copy + HasCompact + AtLeast32BitUnsigned + Into<Self::ItemId> + From<Self::ItemId> + MaxEncodedLen;
type CollectionType: Member + Parameter + Default + Copy + MaxEncodedLen;
type Permissions: NftPermission<Self::CollectionType>;
type ReserveCollectionIdUpTo: Get<Self::NftCollectionId>;
}
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>
type WeightInfo: WeightInfo
type NftCollectionId: Member + Parameter + Default + Copy + HasCompact + AtLeast32BitUnsigned + Into<Self::CollectionId> + From<Self::CollectionId> + MaxEncodedLen
type NftItemId: Member + Parameter + Default + Copy + HasCompact + AtLeast32BitUnsigned + Into<Self::ItemId> + From<Self::ItemId> + MaxEncodedLen
type CollectionType: Member + Parameter + Default + Copy + MaxEncodedLen
type Permissions: NftPermission<Self::CollectionType>
sourcetype ReserveCollectionIdUpTo: Get<Self::NftCollectionId>
type ReserveCollectionIdUpTo: Get<Self::NftCollectionId>
Collection IDs reserved for runtime up to the following constant