Type Alias pallet_treasury::pallet::Spends
source · pub type Spends<T: Config<I>, I: 'static = ()> = StorageMap<_GeneratedPrefixForStorageSpends<T, I>, Twox64Concat, SpendIndex, SpendStatus<T::AssetKind, AssetBalanceOf<T, I>, T::Beneficiary, BlockNumberFor<T>, <T::Paymaster as Pay>::Id>, OptionQuery>;
Expand description
Spends that have been approved and being processed.
Storage type is [StorageMap
] with key type SpendIndex
and value type SpendStatus < T :: AssetKind, AssetBalanceOf < T, I > , T :: Beneficiary, BlockNumberFor < T > , < T :: Paymaster as Pay > :: Id, >
.
Aliased Type§
struct Spends<T: Config<I>, I: 'static = ()>(PhantomData<(_GeneratedPrefixForStorageSpends<T, I>, Twox64Concat, u32, SpendStatus<<T as Config<I>>::AssetKind, <<T as Config<I>>::Paymaster as Pay>::Balance, <T as Config<I>>::Beneficiary, <<<T as Config>::Block as Block>::Header as Header>::Number, <<T as Config<I>>::Paymaster as Pay>::Id>, OptionQuery, GetDefault, GetDefault)>);
Fields§
§0: PhantomData<(_GeneratedPrefixForStorageSpends<T, I>, Twox64Concat, u32, SpendStatus<<T as Config<I>>::AssetKind, <<T as Config<I>>::Paymaster as Pay>::Balance, <T as Config<I>>::Beneficiary, <<<T as Config>::Block as Block>::Header as Header>::Number, <<T as Config<I>>::Paymaster as Pay>::Id>, OptionQuery, GetDefault, GetDefault)>