Ill. Const. art. I, § 16
EX POST FACTO LAWS AND IMPAIRING CONTRACTS
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.
(Source: Illinois Constitution.)