referrerpolicy=no-referrer-when-downgrade

Function pallet_staking::asset::update_stake

source ·
pub fn update_stake<T: Config>(who: &T::AccountId, amount: BalanceOf<T>)
Expand description

Update amount at stake for who.

Overwrites the existing stake amount. If passed amount is lower than the existing stake, the difference is unlocked.