pub fn agent_id_of<T: Config>( location: &Location, ) -> Result<H256, DispatchError>
Hash the location to produce an agent id