Arizona trades Dvorak in Montreal for: i) the best choice between the Canadiens 'first round in the 2022 Draft and the Hurricanes' first round in the 2022 Draft (previously acquired); and ii) the Canadiens' second-round pick in the 2024 Draft.
However, in the event that one or both first-round picks from Montreal and Carolina are among the top 10 picks in the 2022 Draft (after the final order of the Draft has been established in accordance with the results of the 2022 NHL Draft Lottery), then Montreal will instead send to Arizona: i) the worst choice between Club's and Carolina's (previously acquired); and ii) the Canadiens' second-round pick in the 2024 Draft.
They should be getting the worst of the 2 first round picks.