Added transaction codes to states