Type Alias pallet_treasury::pallet::Proposals

source ·
pub type Proposals<T: Config<I>, I: 'static = ()> = StorageMap<_GeneratedPrefixForStorageProposals<T, I>, Twox64Concat, ProposalIndex, Proposal<T::AccountId, BalanceOf<T, I>>, OptionQuery>;
Expand description

Proposals that have been made.

Storage type is [StorageMap] with key type ProposalIndex and value type Proposal < T :: AccountId, BalanceOf < T, I > >.

Aliased Type§

struct Proposals<T: Config<I>, I: 'static = ()>(PhantomData<(_GeneratedPrefixForStorageProposals<T, I>, Twox64Concat, u32, Proposal<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>, OptionQuery, GetDefault, GetDefault)>);

Fields§

§0: PhantomData<(_GeneratedPrefixForStorageProposals<T, I>, Twox64Concat, u32, Proposal<<T as Config>::AccountId, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance>, OptionQuery, GetDefault, GetDefault)>