aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities/exchange_cancel_up_to_event.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pipeline/src/entities/exchange_cancel_up_to_event.ts')
-rw-r--r--packages/pipeline/src/entities/exchange_cancel_up_to_event.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/pipeline/src/entities/exchange_cancel_up_to_event.ts b/packages/pipeline/src/entities/exchange_cancel_up_to_event.ts
new file mode 100644
index 000000000..3ca75ccf7
--- /dev/null
+++ b/packages/pipeline/src/entities/exchange_cancel_up_to_event.ts
@@ -0,0 +1,16 @@
+import { Column, Entity, PrimaryColumn } from 'typeorm';
+
+@Entity()
+export class ExchangeCancelUpToEvent {
+ @PrimaryColumn() public contractAddress!: string;
+ @PrimaryColumn() public logIndex!: number;
+ @PrimaryColumn() public blockNumber!: number;
+
+ // TODO(albrow): Include transaction hash
+ @Column() public rawData!: string;
+
+ @Column() public makerAddress!: string;
+ @Column() public senderAddress!: string;
+ @Column() public orderEpoch!: string;
+ // TODO(albrow): Include topics?
+}