Tomas Hertl and the San Jose Sharks have agreed to an eight-year contract extension, with the team locking up its longtime center just days before the trade deadline.

The average annual value of the deal is $8,137,500, a source told ESPN's Greg Wyshynski, and it includes a no-move clause for the first three years and a limited no-trade clause in the other five.