pub trait Config: Config + Config + Config {
    type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
    type AssignSlotOrigin: EnsureOrigin<<Self as Config>::Origin>;
    type Leaser: Leaser<Self::BlockNumber, AccountId = Self::AccountId, LeasePeriod = Self::BlockNumber>;
    type PermanentSlotLeasePeriodLength: Get<u32>;
    type TemporarySlotLeasePeriodLength: Get<u32>;
    type MaxPermanentSlots: Get<u32>;
    type MaxTemporarySlots: Get<u32>;
    type MaxTemporarySlotPerLeasePeriod: Get<u32>;
}
Expand description

Configuration trait of this pallet.

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

Required Associated Types§

The overarching event type.

Origin for assigning slots.

The type representing the leasing system.

The number of lease periods a permanent parachain slot lasts.

The number of lease periods a temporary parachain slot lasts.

The max number of permanent slots that can be assigned.

The max number of temporary slots that can be assigned.

The max number of temporary slots to be scheduled per lease periods.

Implementors§