@gfxlabs/oku-chains 0.0.21 → 0.0.23
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/dist/browser.js +16 -0
- package/dist/index-mjs.js +16 -0
- package/dist/index.js +16 -0
- package/dist/index.mjs +16 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
const arbitrum = {
|
|
8
8
|
...chains.arbitrum,
|
|
9
|
+
sortIndex: 1,
|
|
9
10
|
blockTimeSeconds: 0.25,
|
|
10
11
|
logoUrl: 'https://assets.oku.trade/arbitrum-logo.svg',
|
|
11
12
|
defaultPool: '0xcda53b1f66614552f834ceef361a8d12a0b8dad8',
|
|
@@ -80,6 +81,7 @@
|
|
|
80
81
|
|
|
81
82
|
const base = {
|
|
82
83
|
...chains.base,
|
|
84
|
+
sortIndex: 8,
|
|
83
85
|
blockTimeSeconds: 2,
|
|
84
86
|
logoUrl: 'https://assets.oku.trade/base-logo.svg',
|
|
85
87
|
defaultPool: '0x9e37cb775a047ae99fc5a24dded834127c4180cd',
|
|
@@ -112,11 +114,15 @@
|
|
|
112
114
|
weth9: {
|
|
113
115
|
address: '0x4200000000000000000000000000000000000006',
|
|
114
116
|
},
|
|
117
|
+
limitOrder: {
|
|
118
|
+
address: '0xff8b754c64e9a8473bd6e1118d0eac67f0a8ae27',
|
|
119
|
+
}
|
|
115
120
|
},
|
|
116
121
|
};
|
|
117
122
|
|
|
118
123
|
const boba = {
|
|
119
124
|
...chains.boba,
|
|
125
|
+
sortIndex: 11,
|
|
120
126
|
blockTimeSeconds: 300,
|
|
121
127
|
logoUrl: 'https://assets.oku.trade/boba-logo.svg',
|
|
122
128
|
defaultPool: '0xdF37543dae7986E48E3ce83F390A828A9F3D23BA',
|
|
@@ -158,6 +164,7 @@
|
|
|
158
164
|
|
|
159
165
|
const bsc = {
|
|
160
166
|
...chains.bsc,
|
|
167
|
+
sortIndex: 9,
|
|
161
168
|
blockTimeSeconds: 3,
|
|
162
169
|
logoUrl: 'https://assets.oku.trade/bsc-logo.svg',
|
|
163
170
|
defaultPool: '0x6fe9e9de56356f7edbfcbb29fab7cd69471a4869',
|
|
@@ -180,6 +187,7 @@
|
|
|
180
187
|
|
|
181
188
|
const filecoin = {
|
|
182
189
|
...chains.filecoin,
|
|
190
|
+
sortIndex: 10,
|
|
183
191
|
name: "Filecoin",
|
|
184
192
|
blockTimeSeconds: 30,
|
|
185
193
|
blockExplorers: {
|
|
@@ -224,6 +232,7 @@
|
|
|
224
232
|
|
|
225
233
|
const mainnet = {
|
|
226
234
|
...chains.mainnet,
|
|
235
|
+
sortIndex: 0,
|
|
227
236
|
blockTimeSeconds: 15,
|
|
228
237
|
logoUrl: 'https://assets.oku.trade/ethereum-logo.webp',
|
|
229
238
|
defaultPool: '0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640',
|
|
@@ -293,6 +302,7 @@
|
|
|
293
302
|
|
|
294
303
|
const moonbeam = {
|
|
295
304
|
...chains.moonbeam,
|
|
305
|
+
sortIndex: 12,
|
|
296
306
|
blockTimeSeconds: 30,
|
|
297
307
|
logoUrl: 'https://assets.oku.trade/moonbeam-logo.svg',
|
|
298
308
|
defaultPool: '0xba66370d96a9d61afa66283900b78c1f6ed02782',
|
|
@@ -333,6 +343,7 @@
|
|
|
333
343
|
const optimism = {
|
|
334
344
|
...chains.optimism,
|
|
335
345
|
blockTimeSeconds: 0.5,
|
|
346
|
+
sortIndex: 2,
|
|
336
347
|
logoUrl: 'https://assets.oku.trade/optimism-logo.svg',
|
|
337
348
|
defaultPool: '0x1c3140ab59d6caf9fa7459c6f83d4b52ba881d36',
|
|
338
349
|
defaultToken0: '0x4200000000000000000000000000000000000042',
|
|
@@ -402,6 +413,7 @@
|
|
|
402
413
|
const polygon = {
|
|
403
414
|
...chains.polygon,
|
|
404
415
|
blockTimeSeconds: 2,
|
|
416
|
+
sortIndex: 3,
|
|
405
417
|
logoUrl: 'https://assets.oku.trade/polygon-logo.webp',
|
|
406
418
|
defaultPool: '0xa374094527e1673a86de625aa59517c5de346d32',
|
|
407
419
|
defaultToken0: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
@@ -463,6 +475,7 @@
|
|
|
463
475
|
|
|
464
476
|
const rootstock = {
|
|
465
477
|
...chains.rootstock,
|
|
478
|
+
sortIndex: 7,
|
|
466
479
|
name: "Rootstock",
|
|
467
480
|
blockTimeSeconds: 33,
|
|
468
481
|
logoUrl: 'https://assets.oku.trade/rootstock-logo.svg',
|
|
@@ -497,6 +510,7 @@
|
|
|
497
510
|
|
|
498
511
|
const scroll = {
|
|
499
512
|
...chains.scroll,
|
|
513
|
+
sortIndex: 5,
|
|
500
514
|
blockTimeSeconds: 3,
|
|
501
515
|
logoUrl: 'https://assets.oku.trade/scroll-logo.png',
|
|
502
516
|
defaultPool: '0x813df550a32d4a9d42010d057386429ad2328ed9',
|
|
@@ -531,6 +545,7 @@
|
|
|
531
545
|
|
|
532
546
|
const polygonZkEvm = {
|
|
533
547
|
...chains.polygonZkEvm,
|
|
548
|
+
sortIndex: 6,
|
|
534
549
|
blockTimeSeconds: 7,
|
|
535
550
|
logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
|
|
536
551
|
defaultPool: '0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd',
|
|
@@ -562,6 +577,7 @@
|
|
|
562
577
|
const zkSync = {
|
|
563
578
|
...chains.zkSync,
|
|
564
579
|
blockTimeSeconds: 2,
|
|
580
|
+
sortIndex: 4,
|
|
565
581
|
logoUrl: 'https://assets.oku.trade/zksync-logo.svg',
|
|
566
582
|
defaultPool: '0xff577f0e828a878743ecc5e2632cbf65cecf17cf',
|
|
567
583
|
defaultToken0: '0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4',
|
package/dist/index-mjs.js
CHANGED
|
@@ -2,6 +2,7 @@ import { arbitrum as arbitrum$1, base as base$1, boba as boba$1, bsc as bsc$1, f
|
|
|
2
2
|
|
|
3
3
|
const arbitrum = {
|
|
4
4
|
...arbitrum$1,
|
|
5
|
+
sortIndex: 1,
|
|
5
6
|
blockTimeSeconds: 0.25,
|
|
6
7
|
logoUrl: 'https://assets.oku.trade/arbitrum-logo.svg',
|
|
7
8
|
defaultPool: '0xcda53b1f66614552f834ceef361a8d12a0b8dad8',
|
|
@@ -76,6 +77,7 @@ const arbitrum = {
|
|
|
76
77
|
|
|
77
78
|
const base = {
|
|
78
79
|
...base$1,
|
|
80
|
+
sortIndex: 8,
|
|
79
81
|
blockTimeSeconds: 2,
|
|
80
82
|
logoUrl: 'https://assets.oku.trade/base-logo.svg',
|
|
81
83
|
defaultPool: '0x9e37cb775a047ae99fc5a24dded834127c4180cd',
|
|
@@ -108,11 +110,15 @@ const base = {
|
|
|
108
110
|
weth9: {
|
|
109
111
|
address: '0x4200000000000000000000000000000000000006',
|
|
110
112
|
},
|
|
113
|
+
limitOrder: {
|
|
114
|
+
address: '0xff8b754c64e9a8473bd6e1118d0eac67f0a8ae27',
|
|
115
|
+
}
|
|
111
116
|
},
|
|
112
117
|
};
|
|
113
118
|
|
|
114
119
|
const boba = {
|
|
115
120
|
...boba$1,
|
|
121
|
+
sortIndex: 11,
|
|
116
122
|
blockTimeSeconds: 300,
|
|
117
123
|
logoUrl: 'https://assets.oku.trade/boba-logo.svg',
|
|
118
124
|
defaultPool: '0xdF37543dae7986E48E3ce83F390A828A9F3D23BA',
|
|
@@ -154,6 +160,7 @@ const boba = {
|
|
|
154
160
|
|
|
155
161
|
const bsc = {
|
|
156
162
|
...bsc$1,
|
|
163
|
+
sortIndex: 9,
|
|
157
164
|
blockTimeSeconds: 3,
|
|
158
165
|
logoUrl: 'https://assets.oku.trade/bsc-logo.svg',
|
|
159
166
|
defaultPool: '0x6fe9e9de56356f7edbfcbb29fab7cd69471a4869',
|
|
@@ -176,6 +183,7 @@ const bsc = {
|
|
|
176
183
|
|
|
177
184
|
const filecoin = {
|
|
178
185
|
...filecoin$1,
|
|
186
|
+
sortIndex: 10,
|
|
179
187
|
name: "Filecoin",
|
|
180
188
|
blockTimeSeconds: 30,
|
|
181
189
|
blockExplorers: {
|
|
@@ -220,6 +228,7 @@ const filecoin = {
|
|
|
220
228
|
|
|
221
229
|
const mainnet = {
|
|
222
230
|
...mainnet$1,
|
|
231
|
+
sortIndex: 0,
|
|
223
232
|
blockTimeSeconds: 15,
|
|
224
233
|
logoUrl: 'https://assets.oku.trade/ethereum-logo.webp',
|
|
225
234
|
defaultPool: '0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640',
|
|
@@ -289,6 +298,7 @@ const mainnet = {
|
|
|
289
298
|
|
|
290
299
|
const moonbeam = {
|
|
291
300
|
...moonbeam$1,
|
|
301
|
+
sortIndex: 12,
|
|
292
302
|
blockTimeSeconds: 30,
|
|
293
303
|
logoUrl: 'https://assets.oku.trade/moonbeam-logo.svg',
|
|
294
304
|
defaultPool: '0xba66370d96a9d61afa66283900b78c1f6ed02782',
|
|
@@ -329,6 +339,7 @@ const moonbeam = {
|
|
|
329
339
|
const optimism = {
|
|
330
340
|
...optimism$1,
|
|
331
341
|
blockTimeSeconds: 0.5,
|
|
342
|
+
sortIndex: 2,
|
|
332
343
|
logoUrl: 'https://assets.oku.trade/optimism-logo.svg',
|
|
333
344
|
defaultPool: '0x1c3140ab59d6caf9fa7459c6f83d4b52ba881d36',
|
|
334
345
|
defaultToken0: '0x4200000000000000000000000000000000000042',
|
|
@@ -398,6 +409,7 @@ const optimism = {
|
|
|
398
409
|
const polygon = {
|
|
399
410
|
...polygon$1,
|
|
400
411
|
blockTimeSeconds: 2,
|
|
412
|
+
sortIndex: 3,
|
|
401
413
|
logoUrl: 'https://assets.oku.trade/polygon-logo.webp',
|
|
402
414
|
defaultPool: '0xa374094527e1673a86de625aa59517c5de346d32',
|
|
403
415
|
defaultToken0: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
@@ -459,6 +471,7 @@ const polygon = {
|
|
|
459
471
|
|
|
460
472
|
const rootstock = {
|
|
461
473
|
...rootstock$1,
|
|
474
|
+
sortIndex: 7,
|
|
462
475
|
name: "Rootstock",
|
|
463
476
|
blockTimeSeconds: 33,
|
|
464
477
|
logoUrl: 'https://assets.oku.trade/rootstock-logo.svg',
|
|
@@ -493,6 +506,7 @@ const rootstock = {
|
|
|
493
506
|
|
|
494
507
|
const scroll = {
|
|
495
508
|
...scroll$1,
|
|
509
|
+
sortIndex: 5,
|
|
496
510
|
blockTimeSeconds: 3,
|
|
497
511
|
logoUrl: 'https://assets.oku.trade/scroll-logo.png',
|
|
498
512
|
defaultPool: '0x813df550a32d4a9d42010d057386429ad2328ed9',
|
|
@@ -527,6 +541,7 @@ const scroll = {
|
|
|
527
541
|
|
|
528
542
|
const polygonZkEvm = {
|
|
529
543
|
...polygonZkEvm$1,
|
|
544
|
+
sortIndex: 6,
|
|
530
545
|
blockTimeSeconds: 7,
|
|
531
546
|
logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
|
|
532
547
|
defaultPool: '0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd',
|
|
@@ -558,6 +573,7 @@ const polygonZkEvm = {
|
|
|
558
573
|
const zkSync = {
|
|
559
574
|
...zkSync$1,
|
|
560
575
|
blockTimeSeconds: 2,
|
|
576
|
+
sortIndex: 4,
|
|
561
577
|
logoUrl: 'https://assets.oku.trade/zksync-logo.svg',
|
|
562
578
|
defaultPool: '0xff577f0e828a878743ecc5e2632cbf65cecf17cf',
|
|
563
579
|
defaultToken0: '0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4',
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ var chains = require('viem/chains');
|
|
|
4
4
|
|
|
5
5
|
const arbitrum = {
|
|
6
6
|
...chains.arbitrum,
|
|
7
|
+
sortIndex: 1,
|
|
7
8
|
blockTimeSeconds: 0.25,
|
|
8
9
|
logoUrl: 'https://assets.oku.trade/arbitrum-logo.svg',
|
|
9
10
|
defaultPool: '0xcda53b1f66614552f834ceef361a8d12a0b8dad8',
|
|
@@ -78,6 +79,7 @@ const arbitrum = {
|
|
|
78
79
|
|
|
79
80
|
const base = {
|
|
80
81
|
...chains.base,
|
|
82
|
+
sortIndex: 8,
|
|
81
83
|
blockTimeSeconds: 2,
|
|
82
84
|
logoUrl: 'https://assets.oku.trade/base-logo.svg',
|
|
83
85
|
defaultPool: '0x9e37cb775a047ae99fc5a24dded834127c4180cd',
|
|
@@ -110,11 +112,15 @@ const base = {
|
|
|
110
112
|
weth9: {
|
|
111
113
|
address: '0x4200000000000000000000000000000000000006',
|
|
112
114
|
},
|
|
115
|
+
limitOrder: {
|
|
116
|
+
address: '0xff8b754c64e9a8473bd6e1118d0eac67f0a8ae27',
|
|
117
|
+
}
|
|
113
118
|
},
|
|
114
119
|
};
|
|
115
120
|
|
|
116
121
|
const boba = {
|
|
117
122
|
...chains.boba,
|
|
123
|
+
sortIndex: 11,
|
|
118
124
|
blockTimeSeconds: 300,
|
|
119
125
|
logoUrl: 'https://assets.oku.trade/boba-logo.svg',
|
|
120
126
|
defaultPool: '0xdF37543dae7986E48E3ce83F390A828A9F3D23BA',
|
|
@@ -156,6 +162,7 @@ const boba = {
|
|
|
156
162
|
|
|
157
163
|
const bsc = {
|
|
158
164
|
...chains.bsc,
|
|
165
|
+
sortIndex: 9,
|
|
159
166
|
blockTimeSeconds: 3,
|
|
160
167
|
logoUrl: 'https://assets.oku.trade/bsc-logo.svg',
|
|
161
168
|
defaultPool: '0x6fe9e9de56356f7edbfcbb29fab7cd69471a4869',
|
|
@@ -178,6 +185,7 @@ const bsc = {
|
|
|
178
185
|
|
|
179
186
|
const filecoin = {
|
|
180
187
|
...chains.filecoin,
|
|
188
|
+
sortIndex: 10,
|
|
181
189
|
name: "Filecoin",
|
|
182
190
|
blockTimeSeconds: 30,
|
|
183
191
|
blockExplorers: {
|
|
@@ -222,6 +230,7 @@ const filecoin = {
|
|
|
222
230
|
|
|
223
231
|
const mainnet = {
|
|
224
232
|
...chains.mainnet,
|
|
233
|
+
sortIndex: 0,
|
|
225
234
|
blockTimeSeconds: 15,
|
|
226
235
|
logoUrl: 'https://assets.oku.trade/ethereum-logo.webp',
|
|
227
236
|
defaultPool: '0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640',
|
|
@@ -291,6 +300,7 @@ const mainnet = {
|
|
|
291
300
|
|
|
292
301
|
const moonbeam = {
|
|
293
302
|
...chains.moonbeam,
|
|
303
|
+
sortIndex: 12,
|
|
294
304
|
blockTimeSeconds: 30,
|
|
295
305
|
logoUrl: 'https://assets.oku.trade/moonbeam-logo.svg',
|
|
296
306
|
defaultPool: '0xba66370d96a9d61afa66283900b78c1f6ed02782',
|
|
@@ -331,6 +341,7 @@ const moonbeam = {
|
|
|
331
341
|
const optimism = {
|
|
332
342
|
...chains.optimism,
|
|
333
343
|
blockTimeSeconds: 0.5,
|
|
344
|
+
sortIndex: 2,
|
|
334
345
|
logoUrl: 'https://assets.oku.trade/optimism-logo.svg',
|
|
335
346
|
defaultPool: '0x1c3140ab59d6caf9fa7459c6f83d4b52ba881d36',
|
|
336
347
|
defaultToken0: '0x4200000000000000000000000000000000000042',
|
|
@@ -400,6 +411,7 @@ const optimism = {
|
|
|
400
411
|
const polygon = {
|
|
401
412
|
...chains.polygon,
|
|
402
413
|
blockTimeSeconds: 2,
|
|
414
|
+
sortIndex: 3,
|
|
403
415
|
logoUrl: 'https://assets.oku.trade/polygon-logo.webp',
|
|
404
416
|
defaultPool: '0xa374094527e1673a86de625aa59517c5de346d32',
|
|
405
417
|
defaultToken0: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
@@ -461,6 +473,7 @@ const polygon = {
|
|
|
461
473
|
|
|
462
474
|
const rootstock = {
|
|
463
475
|
...chains.rootstock,
|
|
476
|
+
sortIndex: 7,
|
|
464
477
|
name: "Rootstock",
|
|
465
478
|
blockTimeSeconds: 33,
|
|
466
479
|
logoUrl: 'https://assets.oku.trade/rootstock-logo.svg',
|
|
@@ -495,6 +508,7 @@ const rootstock = {
|
|
|
495
508
|
|
|
496
509
|
const scroll = {
|
|
497
510
|
...chains.scroll,
|
|
511
|
+
sortIndex: 5,
|
|
498
512
|
blockTimeSeconds: 3,
|
|
499
513
|
logoUrl: 'https://assets.oku.trade/scroll-logo.png',
|
|
500
514
|
defaultPool: '0x813df550a32d4a9d42010d057386429ad2328ed9',
|
|
@@ -529,6 +543,7 @@ const scroll = {
|
|
|
529
543
|
|
|
530
544
|
const polygonZkEvm = {
|
|
531
545
|
...chains.polygonZkEvm,
|
|
546
|
+
sortIndex: 6,
|
|
532
547
|
blockTimeSeconds: 7,
|
|
533
548
|
logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
|
|
534
549
|
defaultPool: '0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd',
|
|
@@ -560,6 +575,7 @@ const polygonZkEvm = {
|
|
|
560
575
|
const zkSync = {
|
|
561
576
|
...chains.zkSync,
|
|
562
577
|
blockTimeSeconds: 2,
|
|
578
|
+
sortIndex: 4,
|
|
563
579
|
logoUrl: 'https://assets.oku.trade/zksync-logo.svg',
|
|
564
580
|
defaultPool: '0xff577f0e828a878743ecc5e2632cbf65cecf17cf',
|
|
565
581
|
defaultToken0: '0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4',
|
package/dist/index.mjs
CHANGED
|
@@ -2,6 +2,7 @@ import { arbitrum as arbitrum$1, base as base$1, boba as boba$1, bsc as bsc$1, f
|
|
|
2
2
|
|
|
3
3
|
const arbitrum = {
|
|
4
4
|
...arbitrum$1,
|
|
5
|
+
sortIndex: 1,
|
|
5
6
|
blockTimeSeconds: 0.25,
|
|
6
7
|
logoUrl: 'https://assets.oku.trade/arbitrum-logo.svg',
|
|
7
8
|
defaultPool: '0xcda53b1f66614552f834ceef361a8d12a0b8dad8',
|
|
@@ -76,6 +77,7 @@ const arbitrum = {
|
|
|
76
77
|
|
|
77
78
|
const base = {
|
|
78
79
|
...base$1,
|
|
80
|
+
sortIndex: 8,
|
|
79
81
|
blockTimeSeconds: 2,
|
|
80
82
|
logoUrl: 'https://assets.oku.trade/base-logo.svg',
|
|
81
83
|
defaultPool: '0x9e37cb775a047ae99fc5a24dded834127c4180cd',
|
|
@@ -108,11 +110,15 @@ const base = {
|
|
|
108
110
|
weth9: {
|
|
109
111
|
address: '0x4200000000000000000000000000000000000006',
|
|
110
112
|
},
|
|
113
|
+
limitOrder: {
|
|
114
|
+
address: '0xff8b754c64e9a8473bd6e1118d0eac67f0a8ae27',
|
|
115
|
+
}
|
|
111
116
|
},
|
|
112
117
|
};
|
|
113
118
|
|
|
114
119
|
const boba = {
|
|
115
120
|
...boba$1,
|
|
121
|
+
sortIndex: 11,
|
|
116
122
|
blockTimeSeconds: 300,
|
|
117
123
|
logoUrl: 'https://assets.oku.trade/boba-logo.svg',
|
|
118
124
|
defaultPool: '0xdF37543dae7986E48E3ce83F390A828A9F3D23BA',
|
|
@@ -154,6 +160,7 @@ const boba = {
|
|
|
154
160
|
|
|
155
161
|
const bsc = {
|
|
156
162
|
...bsc$1,
|
|
163
|
+
sortIndex: 9,
|
|
157
164
|
blockTimeSeconds: 3,
|
|
158
165
|
logoUrl: 'https://assets.oku.trade/bsc-logo.svg',
|
|
159
166
|
defaultPool: '0x6fe9e9de56356f7edbfcbb29fab7cd69471a4869',
|
|
@@ -176,6 +183,7 @@ const bsc = {
|
|
|
176
183
|
|
|
177
184
|
const filecoin = {
|
|
178
185
|
...filecoin$1,
|
|
186
|
+
sortIndex: 10,
|
|
179
187
|
name: "Filecoin",
|
|
180
188
|
blockTimeSeconds: 30,
|
|
181
189
|
blockExplorers: {
|
|
@@ -220,6 +228,7 @@ const filecoin = {
|
|
|
220
228
|
|
|
221
229
|
const mainnet = {
|
|
222
230
|
...mainnet$1,
|
|
231
|
+
sortIndex: 0,
|
|
223
232
|
blockTimeSeconds: 15,
|
|
224
233
|
logoUrl: 'https://assets.oku.trade/ethereum-logo.webp',
|
|
225
234
|
defaultPool: '0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640',
|
|
@@ -289,6 +298,7 @@ const mainnet = {
|
|
|
289
298
|
|
|
290
299
|
const moonbeam = {
|
|
291
300
|
...moonbeam$1,
|
|
301
|
+
sortIndex: 12,
|
|
292
302
|
blockTimeSeconds: 30,
|
|
293
303
|
logoUrl: 'https://assets.oku.trade/moonbeam-logo.svg',
|
|
294
304
|
defaultPool: '0xba66370d96a9d61afa66283900b78c1f6ed02782',
|
|
@@ -329,6 +339,7 @@ const moonbeam = {
|
|
|
329
339
|
const optimism = {
|
|
330
340
|
...optimism$1,
|
|
331
341
|
blockTimeSeconds: 0.5,
|
|
342
|
+
sortIndex: 2,
|
|
332
343
|
logoUrl: 'https://assets.oku.trade/optimism-logo.svg',
|
|
333
344
|
defaultPool: '0x1c3140ab59d6caf9fa7459c6f83d4b52ba881d36',
|
|
334
345
|
defaultToken0: '0x4200000000000000000000000000000000000042',
|
|
@@ -398,6 +409,7 @@ const optimism = {
|
|
|
398
409
|
const polygon = {
|
|
399
410
|
...polygon$1,
|
|
400
411
|
blockTimeSeconds: 2,
|
|
412
|
+
sortIndex: 3,
|
|
401
413
|
logoUrl: 'https://assets.oku.trade/polygon-logo.webp',
|
|
402
414
|
defaultPool: '0xa374094527e1673a86de625aa59517c5de346d32',
|
|
403
415
|
defaultToken0: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
|
|
@@ -459,6 +471,7 @@ const polygon = {
|
|
|
459
471
|
|
|
460
472
|
const rootstock = {
|
|
461
473
|
...rootstock$1,
|
|
474
|
+
sortIndex: 7,
|
|
462
475
|
name: "Rootstock",
|
|
463
476
|
blockTimeSeconds: 33,
|
|
464
477
|
logoUrl: 'https://assets.oku.trade/rootstock-logo.svg',
|
|
@@ -493,6 +506,7 @@ const rootstock = {
|
|
|
493
506
|
|
|
494
507
|
const scroll = {
|
|
495
508
|
...scroll$1,
|
|
509
|
+
sortIndex: 5,
|
|
496
510
|
blockTimeSeconds: 3,
|
|
497
511
|
logoUrl: 'https://assets.oku.trade/scroll-logo.png',
|
|
498
512
|
defaultPool: '0x813df550a32d4a9d42010d057386429ad2328ed9',
|
|
@@ -527,6 +541,7 @@ const scroll = {
|
|
|
527
541
|
|
|
528
542
|
const polygonZkEvm = {
|
|
529
543
|
...polygonZkEvm$1,
|
|
544
|
+
sortIndex: 6,
|
|
530
545
|
blockTimeSeconds: 7,
|
|
531
546
|
logoUrl: 'https://assets.oku.trade/zkevm-logo.svg',
|
|
532
547
|
defaultPool: '0xd2c7e323c6f5415dc0ee4e3811901b3380d316fd',
|
|
@@ -558,6 +573,7 @@ const polygonZkEvm = {
|
|
|
558
573
|
const zkSync = {
|
|
559
574
|
...zkSync$1,
|
|
560
575
|
blockTimeSeconds: 2,
|
|
576
|
+
sortIndex: 4,
|
|
561
577
|
logoUrl: 'https://assets.oku.trade/zksync-logo.svg',
|
|
562
578
|
defaultPool: '0xff577f0e828a878743ecc5e2632cbf65cecf17cf',
|
|
563
579
|
defaultToken0: '0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4',
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfxlabs/oku-chains",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"ts-node": "^10.9.1",
|
|
36
36
|
"tslib": "^2.5.0",
|
|
37
37
|
"typescript": "^5.0.4",
|
|
38
|
-
"viem": "^1.
|
|
38
|
+
"viem": "^1.21.4"
|
|
39
39
|
},
|
|
40
40
|
"packageManager": "yarn@4.0.2",
|
|
41
41
|
"dependencies": {
|