diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-09-26 07:03:54 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-06 19:04:24 +0800 |
commit | 1ae3592e45d163682d8ef2ca076ee57bc170d7ad (patch) | |
tree | 7f7b46fe0deabe8d8f66ecd98ee96e4572111b3d /packages/pipeline/src/entities | |
parent | dc04d025af21227d8da4841ccb7e5bd6d69a930f (diff) | |
download | dexon-sol-tools-1ae3592e45d163682d8ef2ca076ee57bc170d7ad.tar dexon-sol-tools-1ae3592e45d163682d8ef2ca076ee57bc170d7ad.tar.gz dexon-sol-tools-1ae3592e45d163682d8ef2ca076ee57bc170d7ad.tar.bz2 dexon-sol-tools-1ae3592e45d163682d8ef2ca076ee57bc170d7ad.tar.lz dexon-sol-tools-1ae3592e45d163682d8ef2ca076ee57bc170d7ad.tar.xz dexon-sol-tools-1ae3592e45d163682d8ef2ca076ee57bc170d7ad.tar.zst dexon-sol-tools-1ae3592e45d163682d8ef2ca076ee57bc170d7ad.zip |
Implement scraping and parsing exchange CancelUpTo events
Diffstat (limited to 'packages/pipeline/src/entities')
-rw-r--r-- | packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts b/packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts new file mode 100644 index 000000000..3021f7394 --- /dev/null +++ b/packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts @@ -0,0 +1,15 @@ +import { BaseEntity, Column, Entity, PrimaryColumn } from 'typeorm'; + +@Entity() +export class ExchangeCancelUpToEvent extends BaseEntity { + @PrimaryColumn() public logIndex!: number; + @PrimaryColumn() public blockNumber!: number; + + @Column() public address!: string; + @Column() public rawData!: string; + + @Column() public makerAddress!: string; + @Column() public senderAddress!: string; + @Column() public orderEpoch!: string; + // TODO(albrow): Include topics? +} |