The Maple Leafs have given William Nylander a new contract with the most total money in franchise history.