Function pallet_fast_unstake::pallet::dispatchables::deregister
source · pub fn deregister<T: Config>()
Expand description
Deregister oneself from the fast-unstake.
§Dispatch Origin
The dispatch origin of this call must be signed by whoever is permitted to call
unbond funds by the staking system. See Config::Staking
.
§Details
This is useful if one is registered, they are still waiting, and they change their mind.
Note that the associated stash is still fully unbonded and chilled as a consequence of
calling Pallet::register_fast_unstake
. Therefore, this should probably be followed
by a call to rebond
in the staking system.
§Events
Some events from the staking and currency system might be emitted.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::deregister
.