referrerpolicy=no-referrer-when-downgrade

Type Alias CurrentSlot

Source
pub type CurrentSlot<T: Config> = StorageValue<_GeneratedPrefixForStorageCurrentSlot<T>, Slot, ValueQuery>;
Expand description

The current slot of this block.

This will be set in on_initialize.

Storage type is [StorageValue] with value type Slot.

Aliased Type§

struct CurrentSlot<T: Config>(/* private fields */);