aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities/Transaction.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-09 04:35:59 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:15:10 +0800
commit4fa4f13813a0b41013bc7acc60101ccae175edff (patch)
tree806ec03841ec196c332ab01cf92f370d65fa8afb /packages/pipeline/src/entities/Transaction.ts
parentf5f01c0c3e37c56136e7f8fb699304baa7eb5bf6 (diff)
downloaddexon-sol-tools-4fa4f13813a0b41013bc7acc60101ccae175edff.tar
dexon-sol-tools-4fa4f13813a0b41013bc7acc60101ccae175edff.tar.gz
dexon-sol-tools-4fa4f13813a0b41013bc7acc60101ccae175edff.tar.bz2
dexon-sol-tools-4fa4f13813a0b41013bc7acc60101ccae175edff.tar.lz
dexon-sol-tools-4fa4f13813a0b41013bc7acc60101ccae175edff.tar.xz
dexon-sol-tools-4fa4f13813a0b41013bc7acc60101ccae175edff.tar.zst
dexon-sol-tools-4fa4f13813a0b41013bc7acc60101ccae175edff.zip
Rename Transaction.ts to transaction.ts
Rename Relayer.ts to relayer.ts Rename Block.ts to block.ts
Diffstat (limited to 'packages/pipeline/src/entities/Transaction.ts')
-rw-r--r--packages/pipeline/src/entities/Transaction.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/packages/pipeline/src/entities/Transaction.ts b/packages/pipeline/src/entities/Transaction.ts
deleted file mode 100644
index eb2883fda..000000000
--- a/packages/pipeline/src/entities/Transaction.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import { Column, Entity, PrimaryColumn } from 'typeorm';
-
-@Entity({ name: 'transactions' })
-export class Transaction {
- @PrimaryColumn({ name: 'transaction_hash' })
- public transactionHash!: string;
- @PrimaryColumn({ name: 'block_hash' })
- public blockHash!: string;
- @PrimaryColumn({ name: 'block_number' })
- public blockNumber!: number;
-
- @Column({ type: 'bigint', name: 'gas_used' })
- public gasUsed!: number;
- @Column({ type: 'bigint', name: 'gas_price' })
- public gasPrice!: number;
-}