pub fn approve_proposal<T: Config<I>, I: 'static>(proposal_id: ProposalIndex)
Expand description

Approve a proposal.

§Dispatch Origin

Must be Config::ApproveOrigin.

§Details

At a later time, the proposal will be allocated to the beneficiary and the original deposit will be returned.

§Complexity

  • O(1).

§Events

No events are emitted from this dispatch.

§Warning: Doc-Only

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