Function deregister

Source
pub fn deregister<T: Config>(
    agent_key: <T as Config>::AccountId,
) -> DispatchResult
Expand description

Unregister an agent key from the network, erasing all its data and removing stakers.