pub trait SpendFunds<T: Config<I>, I: 'static = ()> {
    // Required method
    fn spend_funds(
        budget_remaining: &mut BalanceOf<T, I>,
        imbalance: &mut PositiveImbalanceOf<T, I>,
        total_weight: &mut Weight,
        missed_any: &mut bool
    );
}
Expand description

A trait to allow the Treasury Pallet to spend it’s funds for other purposes. There is an expectation that the implementer of this trait will correctly manage the mutable variables passed to it:

  • budget_remaining: How much available funds that can be spent by the treasury. As funds are spent, you must correctly deduct from this value.
  • imbalance: Any imbalances that you create should be subsumed in here to maximize efficiency of updating the total issuance. (i.e. deposit_creating)
  • total_weight: Track any weight that your spend_fund implementation uses by updating this value.
  • missed_any: If there were items that you want to spend on, but there were not enough funds, mark this value as true. This will prevent the treasury from burning the excess funds.

Required Methods§

source

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: Config<I>, I: 'static> SpendFunds<T, I> for ()

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0,)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>, TupleElement18: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>, TupleElement18: SpendFunds<T, I>, TupleElement19: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>, TupleElement18: SpendFunds<T, I>, TupleElement19: SpendFunds<T, I>, TupleElement20: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>, TupleElement18: SpendFunds<T, I>, TupleElement19: SpendFunds<T, I>, TupleElement20: SpendFunds<T, I>, TupleElement21: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>, TupleElement18: SpendFunds<T, I>, TupleElement19: SpendFunds<T, I>, TupleElement20: SpendFunds<T, I>, TupleElement21: SpendFunds<T, I>, TupleElement22: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>, TupleElement18: SpendFunds<T, I>, TupleElement19: SpendFunds<T, I>, TupleElement20: SpendFunds<T, I>, TupleElement21: SpendFunds<T, I>, TupleElement22: SpendFunds<T, I>, TupleElement23: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>, TupleElement18: SpendFunds<T, I>, TupleElement19: SpendFunds<T, I>, TupleElement20: SpendFunds<T, I>, TupleElement21: SpendFunds<T, I>, TupleElement22: SpendFunds<T, I>, TupleElement23: SpendFunds<T, I>, TupleElement24: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>, TupleElement18: SpendFunds<T, I>, TupleElement19: SpendFunds<T, I>, TupleElement20: SpendFunds<T, I>, TupleElement21: SpendFunds<T, I>, TupleElement22: SpendFunds<T, I>, TupleElement23: SpendFunds<T, I>, TupleElement24: SpendFunds<T, I>, TupleElement25: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>, TupleElement18: SpendFunds<T, I>, TupleElement19: SpendFunds<T, I>, TupleElement20: SpendFunds<T, I>, TupleElement21: SpendFunds<T, I>, TupleElement22: SpendFunds<T, I>, TupleElement23: SpendFunds<T, I>, TupleElement24: SpendFunds<T, I>, TupleElement25: SpendFunds<T, I>, TupleElement26: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>, TupleElement18: SpendFunds<T, I>, TupleElement19: SpendFunds<T, I>, TupleElement20: SpendFunds<T, I>, TupleElement21: SpendFunds<T, I>, TupleElement22: SpendFunds<T, I>, TupleElement23: SpendFunds<T, I>, TupleElement24: SpendFunds<T, I>, TupleElement25: SpendFunds<T, I>, TupleElement26: SpendFunds<T, I>, TupleElement27: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>, TupleElement18: SpendFunds<T, I>, TupleElement19: SpendFunds<T, I>, TupleElement20: SpendFunds<T, I>, TupleElement21: SpendFunds<T, I>, TupleElement22: SpendFunds<T, I>, TupleElement23: SpendFunds<T, I>, TupleElement24: SpendFunds<T, I>, TupleElement25: SpendFunds<T, I>, TupleElement26: SpendFunds<T, I>, TupleElement27: SpendFunds<T, I>, TupleElement28: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

source§

impl<T: Config<I>, I: 'static, TupleElement0: SpendFunds<T, I>, TupleElement1: SpendFunds<T, I>, TupleElement2: SpendFunds<T, I>, TupleElement3: SpendFunds<T, I>, TupleElement4: SpendFunds<T, I>, TupleElement5: SpendFunds<T, I>, TupleElement6: SpendFunds<T, I>, TupleElement7: SpendFunds<T, I>, TupleElement8: SpendFunds<T, I>, TupleElement9: SpendFunds<T, I>, TupleElement10: SpendFunds<T, I>, TupleElement11: SpendFunds<T, I>, TupleElement12: SpendFunds<T, I>, TupleElement13: SpendFunds<T, I>, TupleElement14: SpendFunds<T, I>, TupleElement15: SpendFunds<T, I>, TupleElement16: SpendFunds<T, I>, TupleElement17: SpendFunds<T, I>, TupleElement18: SpendFunds<T, I>, TupleElement19: SpendFunds<T, I>, TupleElement20: SpendFunds<T, I>, TupleElement21: SpendFunds<T, I>, TupleElement22: SpendFunds<T, I>, TupleElement23: SpendFunds<T, I>, TupleElement24: SpendFunds<T, I>, TupleElement25: SpendFunds<T, I>, TupleElement26: SpendFunds<T, I>, TupleElement27: SpendFunds<T, I>, TupleElement28: SpendFunds<T, I>, TupleElement29: SpendFunds<T, I>> SpendFunds<T, I> for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11, TupleElement12, TupleElement13, TupleElement14, TupleElement15, TupleElement16, TupleElement17, TupleElement18, TupleElement19, TupleElement20, TupleElement21, TupleElement22, TupleElement23, TupleElement24, TupleElement25, TupleElement26, TupleElement27, TupleElement28, TupleElement29)

source§

fn spend_funds( budget_remaining: &mut BalanceOf<T, I>, imbalance: &mut PositiveImbalanceOf<T, I>, total_weight: &mut Weight, missed_any: &mut bool )

Implementors§