The Dodgers and catcher Will Smith have agreed to a long-term contract extension that will be for 10 years and $140 million.