Function polkadot_runtime_common::slots::pallet::dispatchables::force_lease
source · pub fn force_lease<T: Config>(
para: Id,
leaser: T::AccountId,
amount: <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance,
period_begin: BlockNumberFor<T>,
period_count: BlockNumberFor<T>,
)
Expand description
Just a connect into the lease_out
call, in case Root wants to force some lease to
happen independently of any other on-chain mechanism to use it.
The dispatch origin for this call must match T::ForceOrigin
.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::force_lease
.