The deal had a base salary of $ 18 million , but if he played well , he could get as much as $ 22 million in the three years .
The deal had a base salary of $ 18 million and , with performance incentives , could have been worth as much as $ 22 million .