blob: 605355fa80d676e1873f9b078e12fca468a3e6e6 (
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
|
import { Column, Entity, PrimaryColumn } from 'typeorm';
@Entity()
export class Relayer {
@PrimaryColumn() public uuid!: string;
@Column() public name!: string;
@Column() public url!: string;
@Column({ nullable: true, type: String })
public sraHttpEndpoint!: string | null;
@Column({ nullable: true, type: String })
public sraWsEndpoint!: string | null;
@Column({ nullable: true, type: String })
public appUrl!: string | null;
// TODO(albrow): Add exchange contract or protocol version?
// TODO(albrow): Add network ids for addresses?
@Column({ type: 'varchar', array: true })
public feeRecipientAddresses!: string[];
@Column({ type: 'varchar', array: true })
public takerAddresses!: string[];
}
|