Yeah, I think the Raptors overpaid too. They could have gotten him for a starting salary of $4 million easily enough.
That said, I still think it's a good contract. Amir will be good value for that paycheck so long as the Raptors give him good minutes (24+mpg).