Which San Francisco Giants player has the worst contract?

The San Francisco Giants are in the unenviable position of simultaneously being out of contention while also having a ton of money tied up in declining veteran players.
It’s a simple question: Who has the worst contract on the San Francisco Giants roster?
It speaks volumes to the current state of the franchise that there are myriad answers to this simple question.
The Giants have the fifth-highest payroll in baseball right now at $177,755,970, according to Spotrac. Despite that significant investment, the team sits 12 games under .500 in last place in the NL West standings, and a rebuild appears imminent this summer.
With all of that in mind, we set out to decide which contract on the books beyond this season is truly the worst in terms of expected production going forward, role on the team and overall length and cost of the remaining commitment.
We’ve broken the players into a few different tiers to demonstrate the order of things.
Let’s get started.