pub fn spend<T: Config<I>, I: 'static>(
    amount: BalanceOf<T, I>,
    beneficiary: <<T as Config>::Lookup as StaticLookup>::Source
)
Expand description

Propose and approve a spend of treasury funds.

  • origin: Must be SpendOrigin with the Success value being at least amount.
  • amount: The amount to be transferred from the treasury to the beneficiary.
  • beneficiary: The destination account for the transfer.

NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the beneficiary.

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::spend.