The Giants have worked out a new contract with Matt Cain that will make him the richest right-hander in baseball history. Cain, who is set to earn about $15 million in the last year of his contract, will receive a five-year extension for a guaranteed $112.5 million, according to sources. The guaranteed money includes a $5 million signing bonus and a $7.5 million buyout in 2018. Cain also receives a full no-trade clause. The previous record for a right-handed pitcher was Kevin Brown's $105 million contract the Dodgers gave him after the 1998 season.