The CBA limits what Teams and Players can agree to in a Contract extensions. Those limitations are dependent upon whether the Contract being extended as a Veteran Contract or a Rookie Scale Contract

Veteran Extensions

Rookie Scale Extensions