Function pallet_dapp_staking::pallet::dispatchables::lock
source · pub fn lock<T: Config>(amount: Balance)
Expand description
Locks additional funds into dApp staking.
In case caller account doesn’t have sufficient balance to cover the specified amount, everything is locked. After adjustment, lock amount must be greater than zero and in total must be equal or greater than the minimum locked amount.
Locked amount can immediately be used for staking.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::lock
.