blob: 1e9e8d986920b3bf9bb351320edc47ecbdd4a195 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import { Column, Entity, PrimaryColumn } from 'typeorm';
@Entity()
export class ExchangeFillEvent {
@PrimaryColumn() public logIndex!: number;
@Column() public address!: string;
@Column() public rawData!: string;
@Column() public blockNumber!: number;
@Column() public makerAddress!: string;
@Column() public takerAddress!: string;
@Column() public feeRecepientAddress!: string;
@Column() public senderAddress!: string;
@Column() public makerAssetFilledAmount!: string;
@Column() public takerAssetFilledAmount!: string;
@Column() public makerFeePaid!: string;
@Column() public takerFeePaid!: string;
@Column() public orderHash!: string;
// TODO(albrow): Decode asset data.
@Column() public makerAssetData!: string;
@Column() public takerAssetData!: string;
// TODO(albrow): Include topics?
}
|