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