ex post facto, perhaps. Bills of attainder, no. As the blog points out, Madison explained exactly what he meant by this article of the Constitution, and it was the preservation of contracts.
Thanks. This interests me, but I have to shut down for the night.
Will look into it tomorrow.