-
Notifications
You must be signed in to change notification settings - Fork 145
Expand file tree
/
Copy pathindex.ts
More file actions
78 lines (73 loc) · 1.66 KB
/
Copy pathindex.ts
File metadata and controls
78 lines (73 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
export type NetworkConfig = {
groupId?: string;
name: string;
icon: string;
logoUrl?: string;
logoInverseUrl?: string;
heroBannerImageUrl?: string;
heroBannerCover?: boolean;
txStatusBadgeIconUrl?: string;
networkStatsSubtitle?: string | null;
verificationApiUrl?: string;
apiUrl: string;
rpcUrl: string;
prividium?: boolean;
userPanelUrl?: string;
bridgeUrl?: string;
l2NetworkName: string;
l2ChainId: number;
l1ChainId?: number;
l1ExplorerUrl?: string;
settlementChains?: SettlementChain[];
maintenance: boolean;
published: boolean;
hostnames: string[];
tokensMinLiquidity?: number;
zkTokenAddress?: string;
baseTokenAddress: string;
};
export type SettlementChain = {
explorerUrl: string;
name: string;
chainId: number;
};
export type EnvironmentConfig = {
networks: NetworkConfig[];
};
export type ColorShades = {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
};
export type ColorsConfig = {
primary?: string | ColorShades;
secondary?: string | ColorShades;
neutral?: string | ColorShades;
success?: string | ColorShades;
error?: string | ColorShades;
warning?: string | ColorShades;
};
export type RuntimeConfig = {
version: string;
sentryDSN: string;
brandName: string;
appEnvironment: "default" | "dev" | "local" | "prividium" | "production" | "staging";
links: {
discordUrl: string;
xUrl: string;
docsUrl: string | null;
termsOfServiceUrl: string | null;
contactUsUrl: string | null;
};
environmentConfig?: EnvironmentConfig;
theme?: {
colors?: ColorsConfig;
};
};