Function pallet_referenda::pallet::dispatchables::kill
source · pub fn kill<T: Config<I>, I: 'static>(index: ReferendumIndex)
Expand description
Cancel an ongoing referendum and slash the deposits.
origin
: must be theKillOrigin
.index
: The index of the referendum to be cancelled.
Emits Killed
and DepositSlashed
.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::kill
.