Trait pallet_fruniques::pallet::Config
source · pub trait Config: Config + Config {
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
type RemoveOrigin: EnsureOrigin<Self::RuntimeOrigin>;
type ChildMaxLen: Get<u32>;
type MaxParentsInCollection: Get<u32>;
type Rbac: RoleBasedAccessControl<Self::AccountId>;
}
Expand description
Configure the pallet by specifying the parameters and types on which it depends.
Required Associated Types§
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
type RemoveOrigin: EnsureOrigin<Self::RuntimeOrigin>
sourcetype ChildMaxLen: Get<u32>
type ChildMaxLen: Get<u32>
Maximum number of children a Frunique can have
sourcetype MaxParentsInCollection: Get<u32>
type MaxParentsInCollection: Get<u32>
Maximum number of roots a Collection can have