So if Masai structured this deal the way I think he did, we now have a trade exception.
You'd have to structure the deal as two deals - Gay for X and Gray and Acy for Y. Acy is a minimum deal, so he doesn't count as incoming salary, so it is easy to balance from SAC's point of view. That allows the Raptors
to absorb 150% of their outgoing. So Gray and Acy make 3.5M, meaning the outgoing salary for the Kings has to be at most 5.5M. Vasquez and Patterson would fit that at 5.3M.
That leaves Gay (17.9M) for Salmons and Hayes (13.3M). That fits within the 150% allowed for salary difference since the Kings are below the tax. That leaves a 4.6M trade exception.
$4,583,431 to be precise. Good until waived or December 9th 2014.