Registering the given deployment with the given setDeployments dispatcher. The registry is kept unique, so if there is already one deployment with equal contractId and networkId it will be replaced.