@tria-sdk/constants 1.0.61 → 1.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +5 -0
- package/dist/chains.d.ts +180 -0
- package/dist/chains.js +505 -0
- package/dist/chains.js.map +1 -0
- package/dist/config.d.ts +6 -0
- package/dist/config.js +18 -0
- package/dist/config.js.map +1 -0
- package/dist/connect.d.ts +25 -0
- package/dist/connect.js +27 -0
- package/dist/connect.js.map +1 -0
- package/dist/gasToken.d.ts +0 -0
- package/dist/gasToken.js +14 -0
- package/dist/gasToken.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/txn.d.ts +199 -0
- package/dist/txn.js +275 -0
- package/dist/txn.js.map +1 -0
- package/package.json +11 -9
- package/src/chains.ts +1 -1
- package/src/config.ts +3 -3
package/dist/chains.d.ts
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
export declare const mumbai = "MUMBAI";
|
|
2
|
+
export declare const polygon = "POLYGON";
|
|
3
|
+
export declare const ethereum = "ETH";
|
|
4
|
+
export declare const fuse = "FUSE";
|
|
5
|
+
export declare const fuseSpark = "FUSESPARK";
|
|
6
|
+
export declare const zkLink: string;
|
|
7
|
+
export declare const zkLinkTestnet: string;
|
|
8
|
+
export declare const bitlayerTestnet: string;
|
|
9
|
+
export declare const bitlayerMainnet: string;
|
|
10
|
+
export declare const neoxTestnet: string;
|
|
11
|
+
export declare const sepolia: string;
|
|
12
|
+
export declare const polygonAmoy: string;
|
|
13
|
+
export declare const vanarTestnet: string;
|
|
14
|
+
export declare const skaleTestnet: string;
|
|
15
|
+
export type ZKLINK = "ZKLINK-NOVA";
|
|
16
|
+
export type ZKLINK_TESTNET = "ZKLINK-NOVA-TESTNET";
|
|
17
|
+
export type BITLAYER_TESTNET = "BITLAYER-TESTNET";
|
|
18
|
+
export type BITLAYER_MAINNET = "BITLAYER-MAINNET";
|
|
19
|
+
export type NEOX_TESTNET = "NEOX-TESTNET";
|
|
20
|
+
export type SEPOLIA = "SEPOLIA";
|
|
21
|
+
export type AMOY = "AMOY";
|
|
22
|
+
export type VANGUARD_VANAR_TESTNET = "VANGUARD-VANAR-TESTNET";
|
|
23
|
+
export type SKALE_TESTNET = "SKALE-TESTNET";
|
|
24
|
+
export declare const TESTNET_CHAINS: string[];
|
|
25
|
+
export declare const SUPPORTED_EVM_CHAINS: string[];
|
|
26
|
+
export declare const GAS_ABS_ENABLED_CHAINS: string[];
|
|
27
|
+
export declare const AA_SUPPORTED_EVM_CHAINS: string[];
|
|
28
|
+
export declare const ALLCHAINS: string[];
|
|
29
|
+
export declare const networks: {
|
|
30
|
+
chainName: string;
|
|
31
|
+
logo: string;
|
|
32
|
+
type: string;
|
|
33
|
+
}[];
|
|
34
|
+
export declare const chainNameToLogo: {
|
|
35
|
+
[x: string]: string;
|
|
36
|
+
ETH: string;
|
|
37
|
+
FANTOM: string;
|
|
38
|
+
POLYGON: string;
|
|
39
|
+
AVALANCHE: string;
|
|
40
|
+
OPTIMISM: string;
|
|
41
|
+
ARBITRUM: string;
|
|
42
|
+
LINEA: string;
|
|
43
|
+
MUMBAI: string;
|
|
44
|
+
FUSE: string;
|
|
45
|
+
FUSESPARK: string;
|
|
46
|
+
BINANCE: string;
|
|
47
|
+
MANTA: string;
|
|
48
|
+
"MANTA-TESTNET": string;
|
|
49
|
+
METIS: string;
|
|
50
|
+
"METIS-TESTNET": string;
|
|
51
|
+
MANTLE: string;
|
|
52
|
+
"MANTLE-TESTNET": string;
|
|
53
|
+
SOLANA: string;
|
|
54
|
+
};
|
|
55
|
+
export declare const chainNameToLogoAverageColor: {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
export declare const chainNameToLogoBlack: {
|
|
59
|
+
[x: string]: string;
|
|
60
|
+
ETH: string;
|
|
61
|
+
BINANCE: string;
|
|
62
|
+
FANTOM: string;
|
|
63
|
+
POLYGON: string;
|
|
64
|
+
AVALANCHE: string;
|
|
65
|
+
OPTIMISM: string;
|
|
66
|
+
ARBITRUM: string;
|
|
67
|
+
LINEA: string;
|
|
68
|
+
MUMBAI: string;
|
|
69
|
+
FUSE: string;
|
|
70
|
+
FUSESPARK: string;
|
|
71
|
+
MANTA: string;
|
|
72
|
+
"MANTA-TESTNET": string;
|
|
73
|
+
METIS: string;
|
|
74
|
+
"METIS-TESTNET": string;
|
|
75
|
+
MANTLE: string;
|
|
76
|
+
"MANTLE-TESTNET": string;
|
|
77
|
+
SOLANA: string;
|
|
78
|
+
};
|
|
79
|
+
export declare const chainNameToLogoBlackAverageColor: {
|
|
80
|
+
FANTOM: {
|
|
81
|
+
color: string;
|
|
82
|
+
count: number;
|
|
83
|
+
}[];
|
|
84
|
+
POLYGON: {
|
|
85
|
+
color: string;
|
|
86
|
+
count: number;
|
|
87
|
+
}[];
|
|
88
|
+
ETH: {
|
|
89
|
+
color: string;
|
|
90
|
+
count: number;
|
|
91
|
+
}[];
|
|
92
|
+
SEPOLIA: {
|
|
93
|
+
color: string;
|
|
94
|
+
count: number;
|
|
95
|
+
}[];
|
|
96
|
+
AMOY: {
|
|
97
|
+
color: string;
|
|
98
|
+
count: number;
|
|
99
|
+
}[];
|
|
100
|
+
ARBITRUM: {
|
|
101
|
+
color: string;
|
|
102
|
+
count: number;
|
|
103
|
+
}[];
|
|
104
|
+
OPTIMISM: {
|
|
105
|
+
color: string;
|
|
106
|
+
count: number;
|
|
107
|
+
}[];
|
|
108
|
+
LINEA: {
|
|
109
|
+
color: string;
|
|
110
|
+
count: number;
|
|
111
|
+
}[];
|
|
112
|
+
AVALANCHE: {
|
|
113
|
+
color: string;
|
|
114
|
+
count: number;
|
|
115
|
+
}[];
|
|
116
|
+
MUMBAI: {
|
|
117
|
+
color: string;
|
|
118
|
+
count: number;
|
|
119
|
+
}[];
|
|
120
|
+
FUSE: {
|
|
121
|
+
color: string;
|
|
122
|
+
count: number;
|
|
123
|
+
}[];
|
|
124
|
+
FUSESPARK: {
|
|
125
|
+
color: string;
|
|
126
|
+
count: number;
|
|
127
|
+
}[];
|
|
128
|
+
MANTA: {
|
|
129
|
+
color: string;
|
|
130
|
+
count: number;
|
|
131
|
+
}[];
|
|
132
|
+
"MANTA-TESTNET": {
|
|
133
|
+
color: string;
|
|
134
|
+
count: number;
|
|
135
|
+
}[];
|
|
136
|
+
METIS: {
|
|
137
|
+
color: string;
|
|
138
|
+
count: number;
|
|
139
|
+
}[];
|
|
140
|
+
"METIS-TESTNET": {
|
|
141
|
+
color: string;
|
|
142
|
+
count: number;
|
|
143
|
+
}[];
|
|
144
|
+
SOLANA: {
|
|
145
|
+
color: string;
|
|
146
|
+
count: number;
|
|
147
|
+
}[];
|
|
148
|
+
"MANTLE-TESTNET": {
|
|
149
|
+
color: string;
|
|
150
|
+
count: number;
|
|
151
|
+
}[];
|
|
152
|
+
MANTLE: {
|
|
153
|
+
color: string;
|
|
154
|
+
count: number;
|
|
155
|
+
}[];
|
|
156
|
+
"ZKLINK-NOVA-TESTNET": {
|
|
157
|
+
color: string;
|
|
158
|
+
count: number;
|
|
159
|
+
}[];
|
|
160
|
+
"ZKLINK-NOVA": {
|
|
161
|
+
color: string;
|
|
162
|
+
count: number;
|
|
163
|
+
}[];
|
|
164
|
+
"BITLAYER-TESTNET": {
|
|
165
|
+
color: string;
|
|
166
|
+
count: number;
|
|
167
|
+
}[];
|
|
168
|
+
"NEOX-TESTNET": {
|
|
169
|
+
color: string;
|
|
170
|
+
count: number;
|
|
171
|
+
}[];
|
|
172
|
+
"VANGUARD-VANAR-TESTNET": {
|
|
173
|
+
color: string;
|
|
174
|
+
count: number;
|
|
175
|
+
}[];
|
|
176
|
+
BINANCE: {
|
|
177
|
+
color: string;
|
|
178
|
+
count: number;
|
|
179
|
+
}[];
|
|
180
|
+
};
|
package/dist/chains.js
ADDED
|
@@ -0,0 +1,505 @@
|
|
|
1
|
+
export const mumbai = "MUMBAI";
|
|
2
|
+
export const polygon = "POLYGON";
|
|
3
|
+
export const ethereum = "ETH";
|
|
4
|
+
export const fuse = "FUSE";
|
|
5
|
+
export const fuseSpark = "FUSESPARK";
|
|
6
|
+
export const zkLink = "ZKLINK-NOVA";
|
|
7
|
+
export const zkLinkTestnet = "ZKLINK-NOVA-TESTNET";
|
|
8
|
+
export const bitlayerTestnet = "BITLAYER-TESTNET";
|
|
9
|
+
export const bitlayerMainnet = "BITLAYER-MAINNET";
|
|
10
|
+
export const neoxTestnet = "NEOX-TESTNET";
|
|
11
|
+
export const sepolia = "SEPOLIA";
|
|
12
|
+
export const polygonAmoy = "AMOY";
|
|
13
|
+
export const vanarTestnet = "VANGUARD-VANAR-TESTNET";
|
|
14
|
+
export const skaleTestnet = "SKALE-TESTNET";
|
|
15
|
+
export const TESTNET_CHAINS = [
|
|
16
|
+
sepolia,
|
|
17
|
+
"MUMBAI",
|
|
18
|
+
"FUSESPARK",
|
|
19
|
+
"MANTA-TESTNET",
|
|
20
|
+
"METIS-TESTNET",
|
|
21
|
+
"MANTLE-TESTNET",
|
|
22
|
+
zkLinkTestnet,
|
|
23
|
+
bitlayerTestnet,
|
|
24
|
+
neoxTestnet,
|
|
25
|
+
sepolia,
|
|
26
|
+
polygonAmoy,
|
|
27
|
+
vanarTestnet,
|
|
28
|
+
skaleTestnet,
|
|
29
|
+
];
|
|
30
|
+
export const SUPPORTED_EVM_CHAINS = [
|
|
31
|
+
"ETH",
|
|
32
|
+
"POLYGON",
|
|
33
|
+
"AVALANCHE",
|
|
34
|
+
"ARBITRUM",
|
|
35
|
+
"BINANCE",
|
|
36
|
+
"OPTIMISM",
|
|
37
|
+
"FANTOM",
|
|
38
|
+
"FUSE",
|
|
39
|
+
"FUSESPARK",
|
|
40
|
+
"MUMBAI",
|
|
41
|
+
sepolia,
|
|
42
|
+
"MANTA",
|
|
43
|
+
"MANTA-TESTNET",
|
|
44
|
+
"METIS",
|
|
45
|
+
"METIS-TESTNET",
|
|
46
|
+
"MANTLE",
|
|
47
|
+
"MANTLE-TESTNET",
|
|
48
|
+
zkLink,
|
|
49
|
+
zkLinkTestnet,
|
|
50
|
+
bitlayerTestnet,
|
|
51
|
+
bitlayerMainnet,
|
|
52
|
+
neoxTestnet,
|
|
53
|
+
sepolia,
|
|
54
|
+
polygonAmoy,
|
|
55
|
+
vanarTestnet,
|
|
56
|
+
skaleTestnet,
|
|
57
|
+
];
|
|
58
|
+
export const GAS_ABS_ENABLED_CHAINS = [sepolia, "POLYGON"];
|
|
59
|
+
export const AA_SUPPORTED_EVM_CHAINS = [
|
|
60
|
+
// "ETH",
|
|
61
|
+
"POLYGON",
|
|
62
|
+
sepolia,
|
|
63
|
+
// "AVALANCHE",
|
|
64
|
+
// "ARBITRUM",
|
|
65
|
+
// "BINANCE",
|
|
66
|
+
// "OPTIMISM",
|
|
67
|
+
"FUSE",
|
|
68
|
+
"MUMBAI",
|
|
69
|
+
// "MANTLE",
|
|
70
|
+
sepolia,
|
|
71
|
+
"OPTIMISM",
|
|
72
|
+
"ARBITRUM",
|
|
73
|
+
"AVALANCHE",
|
|
74
|
+
"MANTLE",
|
|
75
|
+
];
|
|
76
|
+
export const ALLCHAINS = [
|
|
77
|
+
"ETH",
|
|
78
|
+
"POLYGON",
|
|
79
|
+
"AVALANCHE",
|
|
80
|
+
"ARBITRUM",
|
|
81
|
+
"BINANCE",
|
|
82
|
+
"OPTIMISM",
|
|
83
|
+
"FANTOM",
|
|
84
|
+
"FUSE",
|
|
85
|
+
"FUSESPARK",
|
|
86
|
+
"MUMBAI",
|
|
87
|
+
sepolia,
|
|
88
|
+
"MANTA",
|
|
89
|
+
"MANTA-TESTNET",
|
|
90
|
+
"METIS",
|
|
91
|
+
"METIS-TESTNET",
|
|
92
|
+
"MANTLE",
|
|
93
|
+
"MANTLE-TESTNET",
|
|
94
|
+
"SOLANA",
|
|
95
|
+
zkLink,
|
|
96
|
+
zkLinkTestnet,
|
|
97
|
+
bitlayerTestnet,
|
|
98
|
+
bitlayerMainnet,
|
|
99
|
+
neoxTestnet,
|
|
100
|
+
sepolia,
|
|
101
|
+
polygonAmoy,
|
|
102
|
+
vanarTestnet,
|
|
103
|
+
skaleTestnet,
|
|
104
|
+
];
|
|
105
|
+
const baseLogoUrl = "https://static.tria.so/chain-logo-w";
|
|
106
|
+
const baseLogoUrlBlack = "https://static.tria.so/chain-logo-b";
|
|
107
|
+
export const networks = [
|
|
108
|
+
{
|
|
109
|
+
chainName: "ETH",
|
|
110
|
+
logo: `${baseLogoUrl}/Ethereum.webp`,
|
|
111
|
+
type: "mainnet",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
chainName: sepolia,
|
|
115
|
+
logo: `${baseLogoUrl}/Ethereum.webp`,
|
|
116
|
+
type: "testnet",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
chainName: "FANTOM",
|
|
120
|
+
logo: `${baseLogoUrl}/Fantom.webp`,
|
|
121
|
+
type: "mainnet",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
chainName: "POLYGON",
|
|
125
|
+
logo: `${baseLogoUrl}/Polygon.svg`,
|
|
126
|
+
type: "mainnet",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
chainName: polygonAmoy,
|
|
130
|
+
logo: `${baseLogoUrl}/Polygon.svg`,
|
|
131
|
+
type: "testnet",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
chainName: "AVALANCHE",
|
|
135
|
+
logo: `${baseLogoUrl}/Avalanche.webp`,
|
|
136
|
+
type: "mainnet",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
chainName: "OPTIMISM",
|
|
140
|
+
logo: `${baseLogoUrl}/Optimism.webp`,
|
|
141
|
+
type: "mainnet",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
chainName: "ARBITRUM",
|
|
145
|
+
logo: `${baseLogoUrl}/Arbitrum.webp`,
|
|
146
|
+
type: "mainnet",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
chainName: "FUSE",
|
|
150
|
+
logo: `${baseLogoUrl}/Fuse.webp`,
|
|
151
|
+
type: "mainnet",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
chainName: "FUSESPARK",
|
|
155
|
+
logo: `${baseLogoUrl}/Fuse.webp`,
|
|
156
|
+
type: "testnet",
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
chainName: "MUMBAI",
|
|
160
|
+
logo: `${baseLogoUrl}/Polygon.svg`,
|
|
161
|
+
type: "testnet",
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
chainName: "BINANCE",
|
|
165
|
+
logo: `${baseLogoUrl}/Binance.svg`,
|
|
166
|
+
type: "mainnet",
|
|
167
|
+
},
|
|
168
|
+
// {
|
|
169
|
+
// chainName: 'LINEA',
|
|
170
|
+
// logo: `${baseLogoUrl}/Linea.svg`,
|
|
171
|
+
// },
|
|
172
|
+
{
|
|
173
|
+
chainName: "METIS",
|
|
174
|
+
logo: `${baseLogoUrl}/Metis.webp`,
|
|
175
|
+
type: "mainnet",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
chainName: "METIS-TESTNET",
|
|
179
|
+
logo: `${baseLogoUrl}/Metis.webp`,
|
|
180
|
+
type: "testnet",
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
chainName: "MANTA",
|
|
184
|
+
logo: `${baseLogoUrl}/Manta.webp`,
|
|
185
|
+
type: "mainnet",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
chainName: "MANTA-TESTNET",
|
|
189
|
+
logo: `${baseLogoUrl}/Manta.webp`,
|
|
190
|
+
type: "testnet",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
chainName: "MANTLE",
|
|
194
|
+
logo: `${baseLogoUrl}/Mantle.webp`,
|
|
195
|
+
type: "mainnet",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
chainName: "MANTLE-TESTNET",
|
|
199
|
+
logo: `${baseLogoUrl}/Mantle.webp`,
|
|
200
|
+
type: "testnet",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
chainName: "SOLANA",
|
|
204
|
+
logo: `${baseLogoUrl}/Solana.webp`,
|
|
205
|
+
type: "mainnet",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
chainName: zkLink,
|
|
209
|
+
logo: `${baseLogoUrl}/zklink.webp`,
|
|
210
|
+
type: "mainnet",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
chainName: zkLinkTestnet,
|
|
214
|
+
logo: `${baseLogoUrl}/zklink.webp`,
|
|
215
|
+
type: "testnet",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
chainName: bitlayerTestnet,
|
|
219
|
+
logo: `${baseLogoUrl}/bitlayer.webp`,
|
|
220
|
+
type: "testnet",
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
chainName: bitlayerMainnet,
|
|
224
|
+
logo: `${baseLogoUrl}/bitlayer.webp`,
|
|
225
|
+
type: "mainnet",
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
chainName: neoxTestnet,
|
|
229
|
+
logo: `${baseLogoUrl}/Neo.webp`,
|
|
230
|
+
type: "testnet",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
chainName: vanarTestnet,
|
|
234
|
+
logo: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrl}/Vanguard.webp`,
|
|
235
|
+
type: "testnet",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
chainName: skaleTestnet,
|
|
239
|
+
logo: `${baseLogoUrl}/skale.webp`,
|
|
240
|
+
type: "testnet",
|
|
241
|
+
},
|
|
242
|
+
];
|
|
243
|
+
export const chainNameToLogo = {
|
|
244
|
+
ETH: `${baseLogoUrl}/Ethereum.webp`,
|
|
245
|
+
[sepolia]: `${baseLogoUrl}/Ethereum.webp`,
|
|
246
|
+
FANTOM: `${baseLogoUrl}/Fantom.webp`,
|
|
247
|
+
POLYGON: `${baseLogoUrl}/Polygon.webp`,
|
|
248
|
+
[polygonAmoy]: `${baseLogoUrl}/Polygon.webp`,
|
|
249
|
+
AVALANCHE: `${baseLogoUrl}/Avalanche.webp`,
|
|
250
|
+
OPTIMISM: `${baseLogoUrl}/Optimism.webp`,
|
|
251
|
+
ARBITRUM: `${baseLogoUrl}/Arbitrum.webp`,
|
|
252
|
+
LINEA: `${baseLogoUrl}/Linea.webp`,
|
|
253
|
+
MUMBAI: `${baseLogoUrl}/Polygon.webp`,
|
|
254
|
+
FUSE: `${baseLogoUrl}/Fuse.webp`,
|
|
255
|
+
FUSESPARK: `${baseLogoUrl}/Fuse.webp`,
|
|
256
|
+
BINANCE: `${baseLogoUrl}/Binance.svg`,
|
|
257
|
+
MANTA: `${baseLogoUrl}/Manta.webp`,
|
|
258
|
+
"MANTA-TESTNET": `${baseLogoUrl}/Manta.webp`,
|
|
259
|
+
METIS: `${baseLogoUrl}/Metis.webp`,
|
|
260
|
+
"METIS-TESTNET": `${baseLogoUrl}/Metis.webp`,
|
|
261
|
+
MANTLE: `${baseLogoUrl}/Mantle.webp`,
|
|
262
|
+
"MANTLE-TESTNET": `${baseLogoUrl}/Mantle.webp`,
|
|
263
|
+
SOLANA: `${baseLogoUrl}/Solana.webp`,
|
|
264
|
+
[zkLink]: `${baseLogoUrl}/zklink.webp`,
|
|
265
|
+
[zkLinkTestnet]: `${baseLogoUrl}/zklink.webp`,
|
|
266
|
+
[bitlayerTestnet]: `${baseLogoUrl}/bitlayer.webp`,
|
|
267
|
+
[bitlayerMainnet]: `${baseLogoUrl}/bitlayer.webp`,
|
|
268
|
+
[neoxTestnet]: `${baseLogoUrl}/Neo.webp`,
|
|
269
|
+
[vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrl}/Vanguard.webp`,
|
|
270
|
+
[skaleTestnet]: `${baseLogoUrl}/skale.webp`,
|
|
271
|
+
};
|
|
272
|
+
export const chainNameToLogoAverageColor = {
|
|
273
|
+
ETH: "rgba(98,126,235,0.7)",
|
|
274
|
+
POLYGON: "rgba(131,69,231,0.7)",
|
|
275
|
+
SEPOLIA: "rgba(98,126,235,0.7)",
|
|
276
|
+
FANTOM: "rgba(19,181,235,0.7)",
|
|
277
|
+
AMOY: "rgba(131,69,231,0.7)",
|
|
278
|
+
AVALANCHE: "rgba(232,65,67,0.7)",
|
|
279
|
+
ARBITRUM: "rgba(17,170,255,0.7)",
|
|
280
|
+
OPTIMISM: "rgba(255,5,32,0.7)",
|
|
281
|
+
LINEA: "UNDETERMINED",
|
|
282
|
+
MUMBAI: "rgba(131,69,231,0.7)",
|
|
283
|
+
FUSESPARK: "rgba(180,249,185,0.7)",
|
|
284
|
+
FUSE: "rgba(180,249,185,0.7)",
|
|
285
|
+
MANTA: "rgba(98,126,235,0.7)",
|
|
286
|
+
"MANTA-TESTNET": "rgba(98,126,235,0.7)",
|
|
287
|
+
"METIS-TESTNET": "rgba(18,171,225,0.7)",
|
|
288
|
+
METIS: "rgba(18,171,225,0.7)",
|
|
289
|
+
SOLANA: "UNDETERMINED",
|
|
290
|
+
"MANTLE-TESTNET": "UNDETERMINED",
|
|
291
|
+
MANTLE: "UNDETERMINED",
|
|
292
|
+
"BITLAYER-TESTNET": "rgba(226,110,26,0.7)",
|
|
293
|
+
"ZKLINK-NOVA": "UNDETERMINED",
|
|
294
|
+
"ZKLINK-NOVA-TESTNET": "UNDETERMINED",
|
|
295
|
+
"NEOX-TESTNET": "rgba(1,229,155,0.7)",
|
|
296
|
+
"VANGUARD-VANAR-TESTNET": "rgba(71, 51, 147,0.7)",
|
|
297
|
+
BINANCE: "rgba(240,185,11,0.7)",
|
|
298
|
+
};
|
|
299
|
+
export const chainNameToLogoBlack = {
|
|
300
|
+
ETH: `${baseLogoUrlBlack}/Ethereum.webp`,
|
|
301
|
+
[sepolia]: `${baseLogoUrlBlack}/Ethereum.webp`,
|
|
302
|
+
BINANCE: `${baseLogoUrlBlack}/binance.svg`,
|
|
303
|
+
FANTOM: `${baseLogoUrlBlack}/Fantom.webp`,
|
|
304
|
+
POLYGON: `${baseLogoUrlBlack}/Polygon.webp`,
|
|
305
|
+
[polygonAmoy]: `${baseLogoUrlBlack}/Polygon.webp`,
|
|
306
|
+
AVALANCHE: `${baseLogoUrlBlack}/Avalanche.webp`,
|
|
307
|
+
OPTIMISM: `${baseLogoUrlBlack}/Optimism.webp`,
|
|
308
|
+
ARBITRUM: `${baseLogoUrlBlack}/Arbitrum.webp`,
|
|
309
|
+
LINEA: `${baseLogoUrlBlack}/Linea.webp`,
|
|
310
|
+
MUMBAI: `${baseLogoUrlBlack}/Polygon.webp`,
|
|
311
|
+
FUSE: `${baseLogoUrlBlack}/fuse.webp`,
|
|
312
|
+
FUSESPARK: `${baseLogoUrlBlack}/fuse.webp`,
|
|
313
|
+
MANTA: `${baseLogoUrlBlack}/Manta.webp`,
|
|
314
|
+
"MANTA-TESTNET": `${baseLogoUrlBlack}/Manta.webp`,
|
|
315
|
+
METIS: `${baseLogoUrlBlack}/Metis.webp`,
|
|
316
|
+
"METIS-TESTNET": `${baseLogoUrlBlack}/Metis.webp`,
|
|
317
|
+
MANTLE: `${baseLogoUrlBlack}/Mantle.webp`,
|
|
318
|
+
"MANTLE-TESTNET": `${baseLogoUrlBlack}/Mantle.webp`,
|
|
319
|
+
SOLANA: `${baseLogoUrlBlack}/Solana.webp`,
|
|
320
|
+
[zkLink]: `${baseLogoUrlBlack}/zklink.webp`,
|
|
321
|
+
[zkLinkTestnet]: `${baseLogoUrlBlack}/zklink.webp`,
|
|
322
|
+
[bitlayerTestnet]: `${baseLogoUrlBlack}/bitlayer.webp`,
|
|
323
|
+
[bitlayerMainnet]: `${baseLogoUrlBlack}/bitlayer.webp`,
|
|
324
|
+
[neoxTestnet]: `${baseLogoUrlBlack}/Neo.png`,
|
|
325
|
+
[vanarTestnet]: "https://vanguard.vanarchain.com/assets/vanry-logo.png", //`${baseLogoUrlBlack}/Vanguard.png`,
|
|
326
|
+
[skaleTestnet]: `${baseLogoUrlBlack}/skale.webp`,
|
|
327
|
+
};
|
|
328
|
+
export const chainNameToLogoBlackAverageColor = {
|
|
329
|
+
FANTOM: [
|
|
330
|
+
{ color: "rgb(255,255,255)", count: 25004 },
|
|
331
|
+
{ color: "rgb(132,132,132)", count: 3219 },
|
|
332
|
+
{ color: "rgb(143,143,143)", count: 2392 },
|
|
333
|
+
{ color: "rgb(114,114,114)", count: 2283 },
|
|
334
|
+
{ color: "rgb(254,254,254)", count: 2250 },
|
|
335
|
+
],
|
|
336
|
+
POLYGON: [
|
|
337
|
+
{ color: "rgb(255,255,255)", count: 26414 },
|
|
338
|
+
{ color: "rgb(132,132,132)", count: 3390 },
|
|
339
|
+
{ color: "rgb(128,128,128)", count: 2783 },
|
|
340
|
+
{ color: "rgb(125,125,125)", count: 2448 },
|
|
341
|
+
{ color: "rgb(118,118,118)", count: 2387 },
|
|
342
|
+
],
|
|
343
|
+
ETH: [
|
|
344
|
+
{ color: "rgb(255,255,255)", count: 23340 },
|
|
345
|
+
{ color: "rgb(132,132,132)", count: 2559 },
|
|
346
|
+
{ color: "rgb(111,111,111)", count: 2372 },
|
|
347
|
+
{ color: "rgb(143,143,143)", count: 2341 },
|
|
348
|
+
{ color: "rgb(210,210,210)", count: 2325 },
|
|
349
|
+
],
|
|
350
|
+
SEPOLIA: [
|
|
351
|
+
{ color: "rgb(255,255,255)", count: 23340 },
|
|
352
|
+
{ color: "rgb(132,132,132)", count: 2559 },
|
|
353
|
+
{ color: "rgb(111,111,111)", count: 2372 },
|
|
354
|
+
{ color: "rgb(143,143,143)", count: 2341 },
|
|
355
|
+
{ color: "rgb(210,210,210)", count: 2325 },
|
|
356
|
+
],
|
|
357
|
+
AMOY: [
|
|
358
|
+
{ color: "rgb(255,255,255)", count: 26414 },
|
|
359
|
+
{ color: "rgb(132,132,132)", count: 3390 },
|
|
360
|
+
{ color: "rgb(128,128,128)", count: 2783 },
|
|
361
|
+
{ color: "rgb(125,125,125)", count: 2448 },
|
|
362
|
+
{ color: "rgb(118,118,118)", count: 2387 },
|
|
363
|
+
],
|
|
364
|
+
ARBITRUM: [
|
|
365
|
+
{ color: "rgb(255,255,255)", count: 37899 },
|
|
366
|
+
{ color: "rgb(143,143,143)", count: 2422 },
|
|
367
|
+
{ color: "rgb(111,111,111)", count: 2106 },
|
|
368
|
+
{ color: "rgb(105,105,105)", count: 1930 },
|
|
369
|
+
{ color: "rgb(254,254,254)", count: 1913 },
|
|
370
|
+
],
|
|
371
|
+
OPTIMISM: [
|
|
372
|
+
{ color: "rgb(255,255,255)", count: 27023 },
|
|
373
|
+
{ color: "rgb(132,132,132)", count: 3031 },
|
|
374
|
+
{ color: "rgb(111,111,111)", count: 2578 },
|
|
375
|
+
{ color: "rgb(125,125,125)", count: 2530 },
|
|
376
|
+
{ color: "rgb(118,118,118)", count: 2349 },
|
|
377
|
+
],
|
|
378
|
+
LINEA: [
|
|
379
|
+
{ color: "rgb(255,255,255)", count: 28540 },
|
|
380
|
+
{ color: "rgb(132,132,132)", count: 3517 },
|
|
381
|
+
{ color: "rgb(128,128,128)", count: 3200 },
|
|
382
|
+
{ color: "rgb(118,118,118)", count: 2815 },
|
|
383
|
+
{ color: "rgb(143,143,143)", count: 2740 },
|
|
384
|
+
],
|
|
385
|
+
AVALANCHE: [
|
|
386
|
+
{ color: "rgb(255,255,255)", count: 28225 },
|
|
387
|
+
{ color: "rgb(132,132,132)", count: 3609 },
|
|
388
|
+
{ color: "rgb(111,111,111)", count: 2934 },
|
|
389
|
+
{ color: "rgb(143,143,143)", count: 2876 },
|
|
390
|
+
{ color: "rgb(128,128,128)", count: 2668 },
|
|
391
|
+
],
|
|
392
|
+
MUMBAI: [
|
|
393
|
+
{ color: "rgb(255,255,255)", count: 26414 },
|
|
394
|
+
{ color: "rgb(132,132,132)", count: 3390 },
|
|
395
|
+
{ color: "rgb(128,128,128)", count: 2783 },
|
|
396
|
+
{ color: "rgb(125,125,125)", count: 2448 },
|
|
397
|
+
{ color: "rgb(118,118,118)", count: 2387 },
|
|
398
|
+
],
|
|
399
|
+
FUSE: [
|
|
400
|
+
{ color: "rgb(255,255,255)", count: 34461 },
|
|
401
|
+
{ color: "rgb(125,125,125)", count: 2518 },
|
|
402
|
+
{ color: "rgb(128,128,128)", count: 2480 },
|
|
403
|
+
{ color: "rgb(143,143,143)", count: 2141 },
|
|
404
|
+
{ color: "rgb(254,254,254)", count: 2017 },
|
|
405
|
+
],
|
|
406
|
+
FUSESPARK: [
|
|
407
|
+
{ color: "rgb(255,255,255)", count: 34461 },
|
|
408
|
+
{ color: "rgb(125,125,125)", count: 2518 },
|
|
409
|
+
{ color: "rgb(128,128,128)", count: 2480 },
|
|
410
|
+
{ color: "rgb(143,143,143)", count: 2141 },
|
|
411
|
+
{ color: "rgb(254,254,254)", count: 2017 },
|
|
412
|
+
],
|
|
413
|
+
MANTA: [
|
|
414
|
+
{ color: "rgb(0,0,0)", count: 35607 },
|
|
415
|
+
{ color: "rgb(16,16,16)", count: 27650 },
|
|
416
|
+
{ color: "rgb(17,17,17)", count: 5711 },
|
|
417
|
+
{ color: "rgb(128,16,16)", count: 898 },
|
|
418
|
+
{ color: "rgb(16,128,16)", count: 864 },
|
|
419
|
+
],
|
|
420
|
+
"MANTA-TESTNET": [
|
|
421
|
+
{ color: "rgb(0,0,0)", count: 35607 },
|
|
422
|
+
{ color: "rgb(16,16,16)", count: 27650 },
|
|
423
|
+
{ color: "rgb(17,17,17)", count: 5711 },
|
|
424
|
+
{ color: "rgb(128,16,16)", count: 898 },
|
|
425
|
+
{ color: "rgb(16,128,16)", count: 864 },
|
|
426
|
+
],
|
|
427
|
+
METIS: [
|
|
428
|
+
{ color: "rgb(0,0,0)", count: 35638 },
|
|
429
|
+
{ color: "rgb(16,16,16)", count: 24682 },
|
|
430
|
+
{ color: "rgb(17,17,17)", count: 4693 },
|
|
431
|
+
{ color: "rgb(124,16,16)", count: 764 },
|
|
432
|
+
{ color: "rgb(16,16,157)", count: 758 },
|
|
433
|
+
],
|
|
434
|
+
"METIS-TESTNET": [
|
|
435
|
+
{ color: "rgb(0,0,0)", count: 35638 },
|
|
436
|
+
{ color: "rgb(16,16,16)", count: 24682 },
|
|
437
|
+
{ color: "rgb(17,17,17)", count: 4693 },
|
|
438
|
+
{ color: "rgb(124,16,16)", count: 764 },
|
|
439
|
+
{ color: "rgb(16,16,157)", count: 758 },
|
|
440
|
+
],
|
|
441
|
+
SOLANA: [
|
|
442
|
+
{ color: "rgb(255,255,255)", count: 32241 },
|
|
443
|
+
{ color: "rgb(132,132,132)", count: 3455 },
|
|
444
|
+
{ color: "rgb(254,254,254)", count: 2440 },
|
|
445
|
+
{ color: "rgb(143,143,143)", count: 2295 },
|
|
446
|
+
{ color: "rgb(114,114,114)", count: 2228 },
|
|
447
|
+
],
|
|
448
|
+
"MANTLE-TESTNET": [
|
|
449
|
+
{ color: "rgb(0,0,0)", count: 35380 },
|
|
450
|
+
{ color: "rgb(16,16,16)", count: 21481 },
|
|
451
|
+
{ color: "rgb(17,17,17)", count: 6742 },
|
|
452
|
+
{ color: "rgb(242,242,242)", count: 1969 },
|
|
453
|
+
{ color: "rgb(15,15,15)", count: 1408 },
|
|
454
|
+
],
|
|
455
|
+
MANTLE: [
|
|
456
|
+
{ color: "rgb(0,0,0)", count: 35380 },
|
|
457
|
+
{ color: "rgb(16,16,16)", count: 21481 },
|
|
458
|
+
{ color: "rgb(17,17,17)", count: 6742 },
|
|
459
|
+
{ color: "rgb(242,242,242)", count: 1969 },
|
|
460
|
+
{ color: "rgb(15,15,15)", count: 1408 },
|
|
461
|
+
],
|
|
462
|
+
"ZKLINK-NOVA-TESTNET": [
|
|
463
|
+
{ color: "rgb(255,255,255)", count: 22586 },
|
|
464
|
+
{ color: "rgb(132,132,132)", count: 3447 },
|
|
465
|
+
{ color: "rgb(118,118,118)", count: 3122 },
|
|
466
|
+
{ color: "rgb(111,111,111)", count: 2516 },
|
|
467
|
+
{ color: "rgb(125,125,125)", count: 2497 },
|
|
468
|
+
],
|
|
469
|
+
"ZKLINK-NOVA": [
|
|
470
|
+
{ color: "rgb(255,255,255)", count: 22586 },
|
|
471
|
+
{ color: "rgb(132,132,132)", count: 3447 },
|
|
472
|
+
{ color: "rgb(118,118,118)", count: 3122 },
|
|
473
|
+
{ color: "rgb(111,111,111)", count: 2516 },
|
|
474
|
+
{ color: "rgb(125,125,125)", count: 2497 },
|
|
475
|
+
],
|
|
476
|
+
"BITLAYER-TESTNET": [
|
|
477
|
+
{ color: "rgb(255,255,255)", count: 32861 },
|
|
478
|
+
{ color: "rgb(111,111,111)", count: 2685 },
|
|
479
|
+
{ color: "rgb(132,132,132)", count: 2623 },
|
|
480
|
+
{ color: "rgb(143,143,143)", count: 2323 },
|
|
481
|
+
{ color: "rgb(115,115,115)", count: 1953 },
|
|
482
|
+
],
|
|
483
|
+
"NEOX-TESTNET": [
|
|
484
|
+
{ color: "rgb(255,255,255)", count: 39661 },
|
|
485
|
+
{ color: "rgb(132,132,132)", count: 2785 },
|
|
486
|
+
{ color: "rgb(143,143,143)", count: 2494 },
|
|
487
|
+
{ color: "rgb(111,111,111)", count: 1972 },
|
|
488
|
+
{ color: "rgb(140,140,140)", count: 1966 },
|
|
489
|
+
],
|
|
490
|
+
"VANGUARD-VANAR-TESTNET": [
|
|
491
|
+
{ color: "rgb(0,0,0)", count: 127157 },
|
|
492
|
+
{ color: "rgb(255,255,255)", count: 3071 },
|
|
493
|
+
{ color: "rgb(255,255,0)", count: 3057 },
|
|
494
|
+
{ color: "rgb(0,255,255)", count: 2993 },
|
|
495
|
+
{ color: "rgb(255,0,255)", count: 2892 },
|
|
496
|
+
],
|
|
497
|
+
BINANCE: [
|
|
498
|
+
{ color: "rgb(0,0,0)", count: 2614 },
|
|
499
|
+
{ color: "rgb(255,255,255)", count: 1676 },
|
|
500
|
+
{ color: "rgb(15,15,15)", count: 974 },
|
|
501
|
+
{ color: "rgb(16,16,16)", count: 855 },
|
|
502
|
+
{ color: "rgb(17,17,17)", count: 56 },
|
|
503
|
+
],
|
|
504
|
+
};
|
|
505
|
+
//# sourceMappingURL=chains.js.map
|