If traded I'm guessing Panthers pick up majority of his salary rest of season in exchange for the right draft picks. He's due 19.5, 19.5, 15.5 years 2023-2025, but trading team doesn't pick up any dead money, right?
His base salary this year is just a little over a million. So if he got traded this week the team acquiring him would only owe him around $670K for the rest of the season. that means no need for Carolina to pick up any salary, he's easy to fit into any teams salary cap for this season and that's part of what makes him appealing around the league.
No the acquiring team does not have to pick up any dead money. As his contract is currently structured the acquiring team would owe him zero future guarantees and he's base salaries of:
2023: $11.8 million
2024: $11.8 million
2025: $12 million
Each of those years also contains a $200K workout bonus.
Because he's a talented player and Carolina has picked up and already paid most of his bonus is both a reason he has a lot of trade interest and why Carolina does not want to part so cheaply but they'll need to come of the multiple 1's pipe dream. Which I assume they will and this is just all trying to drive up the price.
Lastly those remaining years on his contract can be played with by any team acquiring him. So if for example the Rams wanted him he'd be easy to fit this year, and then they could redo his contract and lower his cap hit for 2023 and beyond. I'm not one of those "the salary cap is not real" people because eventually the piper is due but it can be seriously put off for years.