diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-11-09 02:15:09 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-06 19:04:24 +0800 |
commit | 012134001a3f0f60c938c453dc34d78e83e195c1 (patch) | |
tree | 337d99b3236e700f8163e01f146d29095d3e041c /packages/pipeline/src/entities/exchange_cancel_up_to_event.ts | |
parent | 0f869b0545d18863414ba4d5cc0c2aeb4da700db (diff) | |
download | dexon-sol-tools-012134001a3f0f60c938c453dc34d78e83e195c1.tar dexon-sol-tools-012134001a3f0f60c938c453dc34d78e83e195c1.tar.gz dexon-sol-tools-012134001a3f0f60c938c453dc34d78e83e195c1.tar.bz2 dexon-sol-tools-012134001a3f0f60c938c453dc34d78e83e195c1.tar.lz dexon-sol-tools-012134001a3f0f60c938c453dc34d78e83e195c1.tar.xz dexon-sol-tools-012134001a3f0f60c938c453dc34d78e83e195c1.tar.zst dexon-sol-tools-012134001a3f0f60c938c453dc34d78e83e195c1.zip |
Reorganize entities. Make scripts work from any directory.
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.ts | 16 |
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? +} |