aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts
blob: 3ca75ccf77e2b9205ecaa1a98a9f1a6b63c65e04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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?
}