Function pallet_dapp_staking::pallet::dispatchables::unlock
source · pub fn unlock<T: Config>(amount: Balance)
Expand description
Attempts to start the unlocking process for the specified amount.
Only the amount that isn’t actively used for staking can be unlocked. If the amount is greater than the available amount for unlocking, everything is unlocked. If the remaining locked amount would take the account below the minimum locked amount, everything is unlocked.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::unlock
.