referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_child_bounties::pallet::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 based on total child bounty count ChildBountyCount. The V1 version ids 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§

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