pub fn spend_local<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.

§Dispatch Origin

Must be Config::SpendOrigin with the Success value being at least amount.

§Details

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

§Parameters

  • amount: The amount to be transferred from the treasury to the beneficiary.
  • beneficiary: The destination account for the transfer.

§Events

Emits Event::SpendApproved if successful.

§Warning: Doc-Only

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