pub fn submit<T: Config<I>, I: 'static>(
    proposal_origin: Box<PalletsOriginOf<T>>,
    proposal: BoundedCallOf<T, I>,
    enactment_moment: DispatchTime<BlockNumberFor<T>>
)
Expand description

Propose a referendum on a privileged action.

  • origin: must be SubmitOrigin and the account must have SubmissionDeposit funds available.
  • proposal_origin: The origin from which the proposal should be executed.
  • proposal: The proposal.
  • enactment_moment: The moment that the proposal should be enacted.

Emits Submitted.

Warning: Doc-Only

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