Function pallet_democracy::pallet::dispatchables::emergency_cancel
source · pub fn emergency_cancel<T: Config>(ref_index: ReferendumIndex)
Expand description
Schedule an emergency cancellation of a referendum. Cannot happen twice to the same referendum.
The dispatch origin of this call must be CancellationOrigin
.
-ref_index
: The index of the referendum to cancel.
Weight: O(1)
.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::emergency_cancel
.