Function pallet_ocif_staking::pallet::dispatchables::stake
source · pub fn stake<T: Config>(core_id: T::CoreId, value: BalanceOf<T>)Expand description
Lock up and stake balance of the origin account.
value must be more than the minimum_stake specified by MinimumStakingAmount
unless account already has bonded value equal or more than ‘minimum_stake’.
The dispatch origin for this call must be Signed by the staker’s account.
core_id: Id of the core to stake towards.value: Amount to stake.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::stake.