holmes and armstead salary

Just wondering with the bye weeks how does the trade work with salaries for these 2 players. if jason plays the rest of the season with hamilton he will play 19 games and corey will only play in 17 games how does the salary for these 2 go? jason a pay raise? corey a pay cut? considering the salary based on 18 games :?