Type Alias pallet_collective::pallet::CostOf
source · pub type CostOf<T: Config<I>, I: 'static = ()> = StorageMap<_GeneratedPrefixForStorageCostOf<T, I>, Identity, T::Hash, (T::AccountId, T::Consideration), OptionQuery>;
Expand description
Consideration cost created for publishing and storing a proposal.
Determined by Config::Consideration and may be not present for certain proposals (e.g. if the proposal count at the time of creation was below threshold N).
Storage type is [StorageMap
] with key type T :: Hash
and value type (T :: AccountId, T :: Consideration)
.
Aliased Type§
struct CostOf<T: Config<I>, I: 'static = ()>(/* private fields */);