N.J. Const. art. IV, § VII, ¶ 3
The Legislature shall not pass any bill of attainder, ex post facto law, or law impairing the obligation of contracts, or depriving a party of any remedy for enforcing a contract which existed when the contract was made.