(The Malik Beasley contract that I gave him is just an example, idk salary rules to enough to care if it's legal or not.)
Pacers: they are prolly Beasley most likely destination, and getting a center is needed, so they get Richards and picks that they courd use to trade for a better big man next season (I don't think they can sign a stsrting center next offseason as Mathurin will get a pay day), for Jarace Walker which is a loss, but I think teams that want to trade their starting center will rather get the picks tbh.
Suns: same reason they got Mark Williams and Jalen Green, they can't develop players through the draft so they trade for players to develop.
Thoughts