If the trades were straight up, which is unlikely the Cavs would have the following roster:
Melo: $24,559,380
CP3: $22,868,827
Frye: 7,806,971
Kaun: $1,333,420
Shumpert: $9,662,922
Thompson: $15,330,435
Williams: $2,194,500
this totals to $82,423,035. I think that leaves $10 million in cap space, but the Cavs could certainly find homes for Fry, Shump, or TT. Freeing up some more cap space.