Move class TransactionBase to voc-types.h