Article I, Section 10 of the United States Constitution prohibits states from passing legislation that impairs the obligation of contracts