Vejmelka, 28, will count $4.75 million against the salary cap from the time the contract kicks in next NHL season through 2030.