generateCodeTransactions