Type Alias pallet_treasury::pallet::Approvals

source ·
pub type Approvals<T: Config<I>, I: 'static = ()> = StorageValue<_GeneratedPrefixForStorageApprovals<T, I>, BoundedVec<ProposalIndex, T::MaxApprovals>, ValueQuery>;
Expand description

Proposal indices that have been approved but not yet awarded.

Storage type is [StorageValue] with value type BoundedVec < ProposalIndex, T :: MaxApprovals >.

Aliased Type§

struct Approvals<T: Config<I>, I: 'static = ()>(PhantomData<(_GeneratedPrefixForStorageApprovals<T, I>, BoundedVec<u32, <T as Config<I>>::MaxApprovals>, ValueQuery, GetDefault)>);

Fields§

§0: PhantomData<(_GeneratedPrefixForStorageApprovals<T, I>, BoundedVec<u32, <T as Config<I>>::MaxApprovals>, ValueQuery, GetDefault)>