The Colorado Rockies have agreed to a three-year deal with Mike Dunn.

The deal is worth more than $19 million, according to a source.

Dunn was 6-1 with a 3.40 ERA in 42⅓ innings for the Miami Marlins last season.