Function pallet_treasury::pallet::dispatchables::reject_proposal
source · pub fn reject_proposal<T: Config<I>, I: 'static>(proposal_id: ProposalIndex)
Expand description
Reject a proposed spend.
§Dispatch Origin
Must be Config::RejectOrigin
.
§Details
The original deposit will be slashed.
§Complexity
- O(1)
§Events
Emits Event::Rejected
if successful.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::reject_proposal
.