Function pallet_treasury::pallet::dispatchables::approve_proposal
source · pub fn approve_proposal<T: Config<I>, I: 'static>(proposal_id: ProposalIndex)
Expand description
Approve a proposal. At a later time, the proposal will be allocated to the beneficiary and the original deposit will be returned.
May only be called from T::ApproveOrigin
.
Complexity
- O(1).
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::approve_proposal
.