I think this is a fair trade. It gives Philly more shooting and a veteran point guard. It gives Toronto another pick and Ben Simmons who can fit well with Toronto's three-and-D style (him for the defense, everyone else for their abundant 3-pt shooting.
The only thing I'm not sure about is Lowry's contract. I don't think he ++should++ be getting a contract, however, I believe he ++will++ get overpaid like this. Trent Jr. will probably make a bit more too.
I apologize if this appears more favourable for the Raptors. I am a Raptors but I'm trying to be as unbiased as possible.