Illinois constitution
Article I
Section 16

No ex post facto law, or law impairing the obligation of
contracts or making an irrevocable grant of special
privileges or immunities, shall be passed.