Function pallet_safe_mode::pallet::dispatchables::force_slash_deposit
source · pub fn force_slash_deposit<T: Config>(
account: T::AccountId,
block: BlockNumberFor<T>,
)
Expand description
Slash a deposit for an account that entered or extended safe-mode at a given historical block.
This can only be called while safe-mode is entered.
Emits a Event::DepositSlashed
event on success.
Errors with Error::Entered
if safe-mode is entered.
Can only be called by the Config::ForceDepositOrigin
origin.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::force_slash_deposit
.