pub fn deregister<T: Config>( agent_key: <T as Config>::AccountId, ) -> DispatchResult
Unregister an agent key from the network, erasing all its data and removing stakers.