The Giants and Carlos Correa have agreed to the richest contract ever for a shortstop, a $350 million deal over 13 years, sources told ESPN.