Function pallet_treasury::pallet::dispatchables::propose_spend
source · pub fn propose_spend<T: Config<I>, I: 'static>(
value: BalanceOf<T, I>,
beneficiary: <<T as Config>::Lookup as StaticLookup>::Source
)
Expand description
Put forward a suggestion for spending.
§Dispatch Origin
Must be signed.
§Details
A deposit proportional to the value is reserved and slashed if the proposal is rejected. It is returned once the proposal is awarded.
§Complexity
- O(1)
§Events
Emits Event::Proposed
if successful.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::propose_spend
.