referrerpolicy=no-referrer-when-downgrade

V0ToV1ChildBountyIds

Type Alias V0ToV1ChildBountyIds 

Source
pub type V0ToV1ChildBountyIds<T: Config> = StorageMap<_GeneratedPrefixForStorageV0ToV1ChildBountyIds<T>, Twox64Concat, BountyIndex, (BountyIndex, BountyIndex)>;
Expand description

The mapping of the child bounty ids from storage version V0 to the new V1 version.

The V0 ids were based on a single total child-bounty count. The V1 version ids are based on the child bounty count per parent bounty ParentTotalChildBounties. The item intended solely for client convenience and not used in the pallet’s core logic.

Storage type is [StorageMap] with key type BountyIndex and value type (BountyIndex, BountyIndex).

Aliased Type§

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