If it was just a four-year deal (and there's some debate about that right now), with 4.5-percent raises and no minimum, it would be a $2.09 Million deal. But his contract will get bumped up to the minimum for the final three years, which will raise the value to 3.2 Million. He'll get $788,872 in year two, then his option years are $915,243 and $981,084.
Here's a table to minimum salaries:
http://www.cbafaq.com/salarycap.htm#Q16
It doesn't affect Baynes this year, because 500k is more than the pro-rated part of the minimum contract.