S.D. Const. art. VI, § 12
No ex post facto law, or law impairing the obligation of contracts or making any irrevocable grant of privilege, franchise or immunity, shall be passed.