pub fn transfer_stake<T: Config>(
staker: <T as Config>::AccountId,
old_staked: <T as Config>::AccountId,
new_staked: <T as Config>::AccountId,
amount: <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance,
) -> DispatchResult
Expand description
Transfers stake from an account to another (see remove_stake
,
add_stake
).