Yah, that's an absolutely huge haul for CMC. He's a great player, but 100% the right move for Carolina with what they were able to get. Big haul for an RB on a big contract that only plays in half the games. His cap hit is 12M a uear for the remainder of his contract. Still, that's less than half of the 28M Deebo will start getting in 2024, for much the same role... You have to imagine they won't use CMC as a bell cow RB which should cut down on injuries.
SF doesn't have much in terms of draft picks coming up in the next draft:
Third-round pick (their own or compensatory, don't know which was part of the CMC trade.)
Third-round pick (compensatory)
Fifth-round pick
Fifth-round pick (compensatory)
Sixth-round pick (compensatory)
Seventh-round pick
Seventh-round pick (via Denver)
Seventh-round pick (compensatory)