Type Alias pallet_scheduler::pallet::Lookup

source ·
pub(crate) type Lookup<T: Config> = StorageMap<_GeneratedPrefixForStorageLookup<T>, Twox64Concat, TaskName, TaskAddress<BlockNumberFor<T>>>;
Expand description

Lookup from a name to the block number and index of the task.

For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 identities.

Storage type is [StorageMap] with key type TaskName and value type TaskAddress < BlockNumberFor < T > >.

Aliased Type§

struct Lookup<T: Config>(PhantomData<(_GeneratedPrefixForStorageLookup<T>, Twox64Concat, [u8; 32], (<<<T as Config>::Block as Block>::Header as Header>::Number, u32), OptionQuery, GetDefault, GetDefault)>);

Fields§

§0: PhantomData<(_GeneratedPrefixForStorageLookup<T>, Twox64Concat, [u8; 32], (<<<T as Config>::Block as Block>::Header as Header>::Number, u32), OptionQuery, GetDefault, GetDefault)>