Maine constitution
Article I: declaration of rights
Section 11

The Legislature shall pass no bill of attainder, ex post facto law, nor law impairing the obligation of contracts, and no attainder shall work corruption of blood nor forfeiture of estate.