aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts
blob: 03a02b0699c91beb8fc1c82cee2e269a1e082640 (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 contractAddress!: string;
    @PrimaryColumn() public logIndex!: number;
    @PrimaryColumn() public blockNumber!: number;

    @Column() public rawData!: string;

    @Column() public makerAddress!: string;
    @Column() public senderAddress!: string;
    @Column() public orderEpoch!: string;
    // TODO(albrow): Include topics?
}