pub fn assembly_add_constraint_impl( constraint_type: &str, params_json: &str, ) -> Result<String, String>