referrerpolicy=no-referrer-when-downgrade

InstanceMetadataCount

Type Alias InstanceMetadataCount 

Source
pub type InstanceMetadataCount<T: Config> = StorageMap<_GeneratedPrefixForStorageInstanceMetadataCount<T>, Twox64Concat, InstanceId, u32, ValueQuery>;
Expand description

Number of metadata overrides stored for each live instance.

This entry exists even when the count is zero so burn cleanup remains bounded and try_state can verify that every live instance has explicit metadata accounting.

Storage type is [StorageMap] with key type InstanceId and value type u32.

Aliased Type§

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