Right-hander Anthony DeSclafani and the San Francisco Giants agreed to a three-year contract, the team announced Monday. The contract totals $36 million, as the club locked up the 31-year-old who thrived during a one-year showcase.