Function pallet_treasury::pallet::dispatchables::spend
source · 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 beSpendOrigin
with theSuccess
value being at leastamount
.amount
: The amount to be transferred from the treasury to thebeneficiary
.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
.