Function remove_stake

Source
pub fn remove_stake<T: Config>(
    staker: <T as Config>::AccountId,
    staked: <T as Config>::AccountId,
    amount: <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance,
) -> DispatchResult
Expand description

Withdraws stake from an agent and gives it back to the staker.