@gfxlabs/oku-chains 0.0.7 → 0.0.9

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/index.mjs ADDED
@@ -0,0 +1,556 @@
1
+ import { arbitrum as arbitrum$1, base as base$1, boba as boba$1, bsc as bsc$1, filecoin as filecoin$1, mainnet as mainnet$1, moonbeam as moonbeam$1, optimism as optimism$1, polygon as polygon$1, rootstock as rootstock$1, scroll as scroll$1, zkSync as zkSync$1 } from 'viem/chains';
2
+
3
+ const arbitrum = {
4
+ ...arbitrum$1,
5
+ blockTimeSeconds: 0.25,
6
+ logoUrl: 'https://assets.oku.trade/arbitrum-logo.svg',
7
+ defaultPool: '0xcda53b1f66614552f834ceef361a8d12a0b8dad8',
8
+ defaultToken0: '0x912ce59144191c1204e64559fe8253a0e49e6548',
9
+ defaultToken1: '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8',
10
+ tokenList: [
11
+ { symbol: 'USDT', address: '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9' },
12
+ { symbol: 'USDC.e', address: '0xff970a61a04b1ca14834a43f5de4533ebddb5cc8' },
13
+ { symbol: 'DAI', address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1' },
14
+ { symbol: 'WETH', address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1' },
15
+ { symbol: 'ARB', address: '0x912ce59144191c1204e64559fe8253a0e49e6548' },
16
+ ],
17
+ stables: [
18
+ '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9',
19
+ '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1',
20
+ '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
21
+ ],
22
+ watchlist: [
23
+ '0x17c14d2c404d167802b16c450d3c99f88f2c4f4d',
24
+ '0xc82819f72a9e77e2c0c3a69b3196478f44303cf4',
25
+ '0x81c48d31365e6b526f6bbadc5c9aafd822134863',
26
+ '0xa62ad78825e3a55a77823f00fe0050f567c1e4ee',
27
+ '0x135e49cc315fed87f989e072ee11132686cf84f3',
28
+ '0xa961f0473da4864c5ed28e00fcc53a3aab056c1b',
29
+ '0x149e36e72726e0bcea5c59d40df2c43f60f5a22d',
30
+ '0x8e295789c9465487074a65b1ae9ce0351172393f',
31
+ '0x97bca422ec0ee4851f2110ea743c1cd0a14835a1',
32
+ '0x92c63d0e701caae670c9415d91c474f686298f00',
33
+ '0x8c9d230d45d6cfee39a6680fb7cb7e8de7ea8e71',
34
+ '0xf0428617433652c9dc6d1093a42adfbf30d29f74',
35
+ '0x1aeedd3727a6431b8f070c0afaa81cc74f273882',
36
+ '0x446bf9748b4ea044dd759d9b9311c70491df8f29',
37
+ '0x42d7c8302a746f98ec74f0dbc95fc39b46c1abb6',
38
+ '0xc91b7b39bbb2c733f0e7459348fd0c80259c8471',
39
+ '0xC31E54C7A869B9FCBECC14363CF510D1C41FA443',
40
+ '0x641C00A822e8b671738d32a431a4Fb6074E5c79d',
41
+ '0xCDA53B1F66614552F834CEEF361A8D12A0B8DAD8',
42
+ '0xC6F780497A95E246EB9449F5E4770916DCD6396A',
43
+ '0x2f5e87C9312fa29aed5c179E456625D79015299c',
44
+ '0x13398E27A21BE1218B6900CBEDF677571DF42A48',
45
+ '0x31FA55E03BAD93C7F8AFFDD2EC616EBFDE246001',
46
+ '0x468B88941E7CC0B88C1869D68AB6B570BCEF62FF',
47
+ '0xd37Af656Abf91c7f548FfFC0133175b5e4d3d5e6',
48
+ '0xc6962004f452be9203591991d15f6b388e09e8d0',
49
+ '0xdbaeb7f0dfe3a0aafd798ccecb5b22e708f7852c',
50
+ '0xbe3ad6a5669dc0b8b12febc03608860c31e2eef6',
51
+ '0x80a9ae39310abf666a87c743d6ebbd0e8c42158e',
52
+ '0x99db8dba7b30ab3c6447c4388d81dcc27c5a8b61',
53
+ '0x1862200e8e7ce1c0827b792d0f9546156f44f892',
54
+ '0x1edd8c76f74d816f7472be69b174fe7b3084221e',
55
+ '0x4d834a9b910e6392460ebcfb59f8eef27d5c19ff',
56
+ '0x0632742c132413cd47438691d8064ff9214ac216',
57
+ '0xa8328bf492ba1b77ad6381b3f7567d942b000baf',
58
+ '0x50450351517117cb58189edba6bbad6284d45902',
59
+ ],
60
+ internalName: 'arbitrum',
61
+ contracts: {
62
+ ...arbitrum$1.contracts,
63
+ nftManager: {
64
+ address: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
65
+ },
66
+ limitOrder: {
67
+ address: '0x54dF9e11c7933a9cA3BD1E540B63dA15edAe40bf',
68
+ },
69
+ weth9: {
70
+ address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
71
+ },
72
+ },
73
+ };
74
+
75
+ const base = {
76
+ ...base$1,
77
+ blockTimeSeconds: 2,
78
+ logoUrl: 'https://assets.oku.trade/base-logo.svg',
79
+ defaultPool: '0x9e37cb775a047ae99fc5a24dded834127c4180cd',
80
+ defaultToken0: '0x27d2decb4bfc9c76f0309b8e88dec3a601fe25a8',
81
+ defaultToken1: '0x4200000000000000000000000000000000000006',
82
+ tokenList: [
83
+ { symbol: 'USDbC', address: '0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca' },
84
+ { symbol: 'cbETH', address: '0x2ae3f1ec7f1f5012cfeab0185bfc7aa3cf0dec22' },
85
+ { symbol: 'WETH', address: '0x4200000000000000000000000000000000000006' },
86
+ { symbol: 'USDC', address: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913' },
87
+ ],
88
+ stables: [
89
+ '0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca',
90
+ '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913',
91
+ ],
92
+ watchlist: [
93
+ '0x9e37cb775a047ae99fc5a24dded834127c4180cd',
94
+ '0x4c36388be6f416a29c8d8eee81c771ce6be14b18',
95
+ '0xd0b53d9277642d899df5c87a3966a349a798f224',
96
+ '0x3bc5180d5439b500f381f9a46f15dd6608101671',
97
+ '0x24e1cbd6fed006ceed9af0dce688acc7951d57a9',
98
+ '0x10648ba41b8565907cfa1496765fa4d95390aa0d',
99
+ ],
100
+ internalName: 'base',
101
+ contracts: {
102
+ ...base$1.contracts,
103
+ nftManager: {
104
+ address: '0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1',
105
+ },
106
+ weth9: {
107
+ address: '0x4200000000000000000000000000000000000006',
108
+ },
109
+ },
110
+ };
111
+
112
+ const boba = {
113
+ ...boba$1,
114
+ blockTimeSeconds: 300,
115
+ logoUrl: 'https://assets.oku.trade/boba-logo.svg',
116
+ defaultPool: '0xdF37543dae7986E48E3ce83F390A828A9F3D23BA',
117
+ defaultToken0: '0x66a2a913e447d6b4bf33efbec43aaef87890fbbc',
118
+ defaultToken1: '0xa18bf3994c0cc6e3b63ac420308e5383f53120d7',
119
+ tokenList: [
120
+ { symbol: 'USDC', address: '0x66a2A913e447d6b4BF33EFbec43aAeF87890FBbc' },
121
+ { symbol: 'BOBA', address: '0xa18bf3994c0cc6e3b63ac420308e5383f53120d7' },
122
+ { symbol: 'WETH', address: '0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000' },
123
+ { symbol: 'WBTC', address: '0xdc0486f8bf31df57a952bcd3c1d3e166e3d9ec8b' },
124
+ { symbol: 'USDT', address: '0x5de1677344d3cb0d7d465c10b72a8f60699c062d' },
125
+ ],
126
+ stables: [
127
+ '0x66a2a913e447d6b4bf33efbec43aaef87890fbbc',
128
+ '0x5de1677344d3cb0d7d465c10b72a8f60699c062d',
129
+ '0xf74195bb8a5cf652411867c5c2c5b8c2a402be35',
130
+ ],
131
+ watchlist: [
132
+ '0xdF37543dae7986E48E3ce83F390A828A9F3D23BA',
133
+ '0x162b1fda171463974e5262bac5824da233f11e00',
134
+ '0xfe1a0c58e38fa71618545df15e5479559ce51108',
135
+ '0xb1ed67e29b2497404a2ac7f2a2989c3328ec2999',
136
+ '0x66faef55892dae3932a043d3238ecaa271d36e0d',
137
+ ],
138
+ internalName: 'boba',
139
+ contracts: {
140
+ ...boba$1.contracts,
141
+ limitOrder: {
142
+ address: '0xfefb60591cffc694c0137983a9091d64af8ecbac',
143
+ },
144
+ nftManager: {
145
+ address: '0x0bfc9ac7e52f38eaa6dc8d10942478f695c6cf71',
146
+ },
147
+ weth9: {
148
+ address: '0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000',
149
+ },
150
+ },
151
+ };
152
+
153
+ const bsc = {
154
+ ...bsc$1,
155
+ blockTimeSeconds: 3,
156
+ logoUrl: 'https://assets.oku.trade/bsc-logo.svg',
157
+ defaultPool: '0x6fe9e9de56356f7edbfcbb29fab7cd69471a4869',
158
+ defaultToken0: '0x55d398326f99059ff775485246999027b3197955',
159
+ defaultToken1: '0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c',
160
+ tokenList: [],
161
+ stables: [],
162
+ watchlist: ['0x6fe9e9de56356f7edbfcbb29fab7cd69471a4869'],
163
+ internalName: 'bsc',
164
+ contracts: {
165
+ ...bsc$1.contracts,
166
+ nftManager: {
167
+ address: '0x7b8A01B39D58278b5DE7e48c8449c9f4F5170613',
168
+ },
169
+ weth9: {
170
+ address: '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c',
171
+ },
172
+ },
173
+ };
174
+
175
+ const filecoin = {
176
+ ...filecoin$1,
177
+ blockTimeSeconds: 30,
178
+ blockExplorers: {
179
+ ...filecoin$1.blockExplorers,
180
+ default: {
181
+ name: 'FVM Explorer',
182
+ url: 'https://fvm.starboard.ventures/explorer',
183
+ },
184
+ },
185
+ logoUrl: 'https://assets.oku.trade/filecoin-logo.svg',
186
+ defaultPool: '0x14d44c7ef81f6c18f5d22e0962f0279d83e80b05',
187
+ defaultToken0: '0xb829b68f57cc546da7e5806a929e53be32a4625d',
188
+ defaultToken1: '0xeb466342c4d449bc9f53a865d5cb90586f405215',
189
+ tokenList: [
190
+ { symbol: 'WFIL', address: '0x60E1773636CF5E4A227d9AC24F20fEca034ee25A' },
191
+ { symbol: 'axlWETH', address: '0xb829b68f57CC546dA7E5806A929e53bE32a4625D' },
192
+ { symbol: 'axlWBTC', address: '0x1a35EE4640b0A3B87705B0A4B45D227Ba60Ca2ad' },
193
+ { symbol: 'axlUSDC', address: '0xEB466342C4d449BC9f53A865D5Cb90586f405215' },
194
+ { symbol: 'axlUSDT', address: '0x7f5373AE26c3E8FfC4c77b7255DF7eC1A9aF52a6' },
195
+ ],
196
+ stables: [
197
+ '0xEB466342C4d449BC9f53A865D5Cb90586f405215',
198
+ '0x7f5373AE26c3E8FfC4c77b7255DF7eC1A9aF52a6',
199
+ '0x2421db204968A367CC2C866CD057fA754Cb84EdF',
200
+ '0x422849b355039bc58f2780cc4854919fc9cfaf94',
201
+ ],
202
+ watchlist: ['0x14d44c7ef81f6c18f5d22e0962f0279d83e80b05', '0x9d8ea62e1264ab667d234b5610774a08e608e3b8'],
203
+ internalName: 'filecoin',
204
+ contracts: {
205
+ ...filecoin$1.contracts,
206
+ limitOrder: {
207
+ address: '0xded8791056aa39581460a005a3c400a281e24bd7',
208
+ },
209
+ nftManager: {
210
+ address: '0x4cd986dD509fbB6A695aE971d5C56c8795f640ee',
211
+ },
212
+ weth9: {
213
+ address: '0x60E1773636CF5E4A227d9AC24F20fEca034ee25A',
214
+ },
215
+ },
216
+ };
217
+
218
+ const mainnet = {
219
+ ...mainnet$1,
220
+ blockTimeSeconds: 15,
221
+ logoUrl: 'https://assets.oku.trade/ethereum-logo.webp',
222
+ defaultPool: '0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640',
223
+ defaultToken0: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',
224
+ defaultToken1: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
225
+ tokenList: [
226
+ { symbol: 'DAI', address: '0x6b175474e89094c44da98b954eedeac495271d0f' },
227
+ { symbol: 'WBTC', address: '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599' },
228
+ { symbol: 'USDT', address: '0xdac17f958d2ee523a2206206994597c13d831ec7' },
229
+ { symbol: 'WETH', address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' },
230
+ { symbol: 'USDC', address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' },
231
+ ],
232
+ stables: [
233
+ '0x6B175474E89094C44Da98b954EedeAC495271d0F',
234
+ '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
235
+ '0xdAC17F958D2ee523a2206206994597C13D831ec7',
236
+ '0x0000000000085d4780B73119b644AE5ecd22b376',
237
+ '0x57Ab1ec28D129707052df4dF418D58a2D46d5f51',
238
+ '0x956f47f50a910163d8bf957cf5846d573e7f87ca',
239
+ '0x4Fabb145d64652a948d72533023f6E7A623C7C53',
240
+ '0x853d955acef822db058eb8505911ed77f175b99e',
241
+ '0x8E870D67F660D95d5be530380D0eC0bd388289E1',
242
+ '0x5f98805A4E8be255a32880FDeC7F6728C6568bA0',
243
+ '0x99d8a9c45b2eca8864373a26d1459e3dff1e17f3',
244
+ '0x1a13f4ca1d028320a707d99520abfefca3998b7f',
245
+ ],
246
+ watchlist: [
247
+ '0x8ad599c3a0ff1de082011efddc58f1908eb6e6d8',
248
+ '0x4e68ccd3e89f51c3074ca5072bbac773960dfa36',
249
+ '0x99ac8ca7087fa4a2a1fb6357269965a2014abc35',
250
+ '0xcbcdf9626bc03e24f779434178a73a0b4bad62ed',
251
+ '0xa6cc3c2531fdaa6ae1a3ca84c2855806728693e8',
252
+ '0x1d42064fc4beb5f8aaf85f4617ae8b3b5b8bd801',
253
+ '0x3416cf6c708da44db2624d63ea0aaef7113527c6',
254
+ '0x5777d92f208679db4b9778590fa3cab3ac9e2168',
255
+ '0x290a6a7460b308ee3f19023d2d00de604bcf5b42',
256
+ '0xac4b3dacb91461209ae9d41ec517c2b9cb1b7daf',
257
+ '0xa3f558aebaecaf0e11ca4b2199cc5ed341edfd74',
258
+ '0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640',
259
+ '0x11b815efb8f581194ae79006d24e0d814b7697f6',
260
+ '0x4585fe77225b41b697c938b018e2ac67ac5a20c0',
261
+ '0x4e0924d3a751be199c426d52fb1f2337fa96f736',
262
+ '0x9a772018fbd77fcd2d25657e5c547baff3fd7d16',
263
+ '0x11950d141ecb863f01007add7d1a342041227b58',
264
+ '0x109830a1aaad605bbf02a9dfa7b0b92ec2fb7daa',
265
+ '0x60594a405d53811d3bc4766596efd80fd545a270',
266
+ '0x840deeef2f115cf50da625f7368c24af6fe74410',
267
+ '0xe8c6c9227491c0a8156a0106a0204d881bb7e531',
268
+ '0xc2e9f25be6257c210d7adf0d4cd6e3e881ba25f8',
269
+ '0xc5af84701f98fa483ece78af83f11b6c38aca71d',
270
+ '0x7bea39867e4169dbe237d55c8242a8f2fcdcc387',
271
+ ],
272
+ internalName: 'ethereum',
273
+ contracts: {
274
+ ...mainnet$1.contracts,
275
+ limitOrder: {
276
+ address: '0x54dF9e11c7933a9cA3BD1E540B63dA15edAe40bf',
277
+ },
278
+ nftManager: {
279
+ address: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
280
+ },
281
+ weth9: {
282
+ address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
283
+ },
284
+ },
285
+ };
286
+
287
+ const moonbeam = {
288
+ ...moonbeam$1,
289
+ blockTimeSeconds: 30,
290
+ logoUrl: 'https://assets.oku.trade/moonbeam-logo.svg',
291
+ defaultPool: '0xba66370d96a9d61afa66283900b78c1f6ed02782',
292
+ defaultToken0: '0xab3f0245b83feb11d15aaffefd7ad465a59817ed',
293
+ defaultToken1: '0xacc15dc74880c9944775448304b263d191c6077f',
294
+ tokenList: [
295
+ { symbol: 'WETH', address: '0xab3f0245b83feb11d15aaffefd7ad465a59817ed' },
296
+ { symbol: 'USDC', address: '0x931715fee2d06333043d11f658c8ce934ac61d0c' },
297
+ ],
298
+ stables: [
299
+ '0x818ec0a7fe18ff94269904fced6ae3dae6d6dc0b',
300
+ '0x931715FEE2d06333043d11F658C8CE934aC61D0c',
301
+ '0x765277eebeca2e31912c9946eae1021199b39c61',
302
+ '0x06e605775296e851ff43b4daa541bb0984e9d6fd',
303
+ '0xefaeee334f0fd1712f9a8cc375f427d9cdd40d73',
304
+ '0x8e70cd5b4ff3f62659049e74b6649c6603a0e594',
305
+ ],
306
+ watchlist: [
307
+ '0xB64fD2Cf30588e4ACbb92e98b28d976a61914D29',
308
+ '0xba66370d96a9d61afa66283900b78c1f6ed02782',
309
+ '0x19156c03a6fd894beb4fa6a828e854d3a4bed372',
310
+ ],
311
+ internalName: 'moonbeam',
312
+ contracts: {
313
+ ...moonbeam$1.contracts,
314
+ limitOrder: {
315
+ address: '0x54dF9e11c7933a9cA3BD1E540B63dA15edAe40bf',
316
+ },
317
+ nftManager: {
318
+ address: '0x9036d0dcb5a059c9371b05d508f0072df773854e',
319
+ },
320
+ weth9: {
321
+ address: '0xacc15dc74880c9944775448304b263d191c6077f',
322
+ },
323
+ },
324
+ };
325
+
326
+ const optimism = {
327
+ ...optimism$1,
328
+ blockTimeSeconds: 0.5,
329
+ logoUrl: 'https://assets.oku.trade/optimism-logo.svg',
330
+ defaultPool: '0x1c3140ab59d6caf9fa7459c6f83d4b52ba881d36',
331
+ defaultToken0: '0x4200000000000000000000000000000000000042',
332
+ defaultToken1: '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
333
+ tokenList: [
334
+ { symbol: 'USDT', address: '0x94b008aa00579c1307b0ef2c499ad98a8ce58e58' },
335
+ { symbol: 'DAI', address: '0xda10009cbd5d07dd0cecc66161fc93d7c9000da1' },
336
+ { symbol: 'USDC', address: '0x7f5c764cbc14f9669b88837ca1490cca17c31607' },
337
+ { symbol: 'WETH', address: '0x4200000000000000000000000000000000000006' },
338
+ { symbol: 'OP', address: '0x4200000000000000000000000000000000000042' },
339
+ ],
340
+ stables: [
341
+ '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58',
342
+ '0x8c6f28f2f1a3c87f0f938b96d27520d9751ec8d9',
343
+ '0x8aE125E8653821E851F12A49F7765db9a9ce7384',
344
+ '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
345
+ '0x7f5c764cbc14f9669b88837ca1490cca17c31607',
346
+ ],
347
+ watchlist: [
348
+ '0xb589969d38ce76d3d7aa319de7133bc9755fd840',
349
+ '0x1c3140ab59d6caf9fa7459c6f83d4b52ba881d36',
350
+ '0xdd0c6bae8ad5998c358b823df15a2a4181da1b80',
351
+ '0x03af20bdaaffb4cc0a521796a223f7d85e2aac31',
352
+ '0x0bb50d3e479e4682558fdb86f41a205e2c035ae5',
353
+ '0x6168ec836d0b1f0c37381ec7ed1891a412872121',
354
+ '0x320616dbe138aa2f3db7a5a46ba79a13032cc5f2',
355
+ '0xb2ac2e5a3684411254d58b1c5a542212b782114d',
356
+ '0x68f5c0a2de713a54991e01858fd27a3832401849',
357
+ '0x73b14a78a0d396c521f954532d43fd5ffe385216',
358
+ '0x85149247691df622eaf1a8bd0cafd40bc45154a9',
359
+ '0xc858a329bf053be78d6239c4a4343b8fbd21472b',
360
+ '0xf1f199342687a7d78bcc16fce79fa2665ef870e1',
361
+ '0xbf16ef186e715668aa29cef57e2fd7f9d48adfe6',
362
+ '0x04f6c85a1b00f6d9b75f91fd23835974cc07e65c',
363
+ '0x85c31ffa3706d1cce9d525a00f1c7d4a2911754c',
364
+ '0xfc1f3296458f9b2a27a0b91dd7681c4020e09d05',
365
+ '0x95d9d28606ee55de7667f0f176ebfc3215cfd9c0',
366
+ '0xaefc1edaede6adadcdf3bb344577d45a80b19582',
367
+ '0x0392B358CE4547601BEFA962680BEDE836606AE2',
368
+ '0x36E42931A765022790B797963E42C5522D6B585A',
369
+ '0x03A9DC118B231480058E7A3B051042EC83663794',
370
+ '0x95D7D146AE40D4822C2750276B54B6EED530D374',
371
+ '0x7f1c919a92bce8790a85d6360b85cf21b997a6b5',
372
+ '0x1a54ae9f662b463f8d432482975c17e51518b50d',
373
+ '0xff7fbdf7832ae524deda39ca402e03d92adff7a5',
374
+ '0x55bc964fe3b0c8cc2d4c63d65f1be7aef9bb1a3c',
375
+ '0x535541f1aa08416e69dc4d610131099fa2ae7222',
376
+ '0xadb35413ec50e0afe41039eac8b930d313e94fa4',
377
+ '0x730691cdac3cbd4d41fc5eb9d8abbb0cea795b94',
378
+ ],
379
+ internalName: 'optimism',
380
+ contracts: {
381
+ ...optimism$1.contracts,
382
+ limitOrder: {
383
+ address: '0x54dF9e11c7933a9cA3BD1E540B63dA15edAe40bf',
384
+ },
385
+ nftManager: {
386
+ address: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
387
+ },
388
+ weth9: {
389
+ address: '0x4200000000000000000000000000000000000006',
390
+ },
391
+ },
392
+ };
393
+
394
+ const polygon = {
395
+ ...polygon$1,
396
+ blockTimeSeconds: 2,
397
+ logoUrl: 'https://assets.oku.trade/polygon-logo.webp',
398
+ defaultPool: '0xa374094527e1673a86de625aa59517c5de346d32',
399
+ defaultToken0: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
400
+ defaultToken1: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
401
+ tokenList: [
402
+ { symbol: 'DAI', address: '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063' },
403
+ { symbol: 'USDT', address: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' },
404
+ { symbol: 'WETH', address: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619' },
405
+ { symbol: 'USDC', address: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174' },
406
+ { symbol: 'WMATIC', address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270' },
407
+ ],
408
+ stables: [
409
+ '0x2791bca1f2de4661ed88a30c99a7a9449aa84174',
410
+ '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063',
411
+ '0xc2132d05d31c914a87c6611c10748aeb04b58e8f',
412
+ ],
413
+ watchlist: [
414
+ '0x847b64f9d3a95e977d157866447a5c0a5dfa0ee5',
415
+ '0x0e44ceb592acfc5d3f09d996302eb4c499ff8c10',
416
+ '0x167384319b41f7094e62f7506409eb38079abff8',
417
+ '0x94ab9e4553ffb839431e37cc79ba8905f45bfbea',
418
+ '0x88f3c15523544835ff6c738ddb30995339ad57d6',
419
+ '0x45dda9cb7c25131df268515131f647d726f50608',
420
+ '0xa374094527e1673a86de625aa59517c5de346d32',
421
+ '0x9b08288c3be4f62bbf8d1c20ac9c5e6f9467d8b7',
422
+ '0x50eaedb835021e4a108b7290636d62e9765cc6d7',
423
+ '0x86f1d8390222a3691c28938ec7404a1661e618e0',
424
+ '0xeef1a9507b3d505f0062f2be9453981255b503c8',
425
+ '0x1f6082db7c8f4b199e17090cd5c8831a1dad1997',
426
+ '0xdac8a8e6dbf8c690ec6815e0ff03491b2770255d',
427
+ '0x3a5329ee48a06671ad1bf295b8a233ee9b9b975e',
428
+ '0x0a63d3910ffc1529190e80e10855c4216407cc45',
429
+ '0x5645dcb64c059aa11212707fbf4e7f984440a8cf',
430
+ '0x7de263d0ad6e5d208844e65118c3a02a9a5d56b6',
431
+ '0x2aceda63b5e958c45bd27d916ba701bc1dc08f7a',
432
+ '0x4d05f2a005e6f36633778416764e82d1d12e7fbb',
433
+ '0x3d0acd52ee4a9271a0ffe75f9b91049152bac64b',
434
+ '0x3e31ab7f37c048fc6574189135d108df80f0ea26',
435
+ '0xd866fac7db79994d08c0ca2221fee08935595b4b',
436
+ '0x98b9162161164de1ed182a0dfa08f5fbf0f733ca',
437
+ '0x4ccd010148379ea531d6c587cfdd60180196f9b1',
438
+ '0xfe343675878100b344802a6763fd373fdeed07a4',
439
+ '0x357faf5843c7fd7fb4e34fbeabdac16eabe8a5bc',
440
+ ],
441
+ internalName: 'polygon',
442
+ contracts: {
443
+ ...polygon$1.contracts,
444
+ nftManager: {
445
+ address: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88',
446
+ },
447
+ limitOrder: {
448
+ address: '0x54dF9e11c7933a9cA3BD1E540B63dA15edAe40bf',
449
+ },
450
+ weth9: {
451
+ address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
452
+ },
453
+ },
454
+ };
455
+
456
+ const rootstock = {
457
+ ...rootstock$1,
458
+ blockTimeSeconds: 33,
459
+ logoUrl: 'https://assets.oku.trade/rootstock-logo.svg',
460
+ defaultPool: '0xdc72fed793f1e660ba6096948ea27b0490218ca3',
461
+ defaultToken0: '0x542fda317318ebf1d3deaf76e0b632741a7e677d',
462
+ defaultToken1: '0xef213441a85df4d7acbdae0cf78004e1e486bb96',
463
+ tokenList: [
464
+ { symbol: 'WRBTC', address: '0x542fDA317318eBF1d3DEAf76E0b632741A7e677d' },
465
+ { symbol: 'RIF', address: '0x2acc95758f8b5f583470ba265eb685a8f45fc9d5' },
466
+ { symbol: 'RUSDT', address: '0xef213441a85df4d7acbdae0cf78004e1e486bb96' },
467
+ ],
468
+ stables: ['0xef213441a85df4d7acbdae0cf78004e1e486bb96'],
469
+ watchlist: ['0xdc72fed793f1e660ba6096948ea27b0490218ca3'],
470
+ blockExplorers: {
471
+ ...rootstock$1.blockExplorers,
472
+ default: rootstock$1.blockExplorers.blockscout,
473
+ },
474
+ internalName: 'rootstock',
475
+ contracts: {
476
+ ...rootstock$1.contracts,
477
+ limitOrder: {
478
+ address: '0x83B1cF411f57F7373bBFF81dCE81437e768F4252',
479
+ },
480
+ nftManager: {
481
+ address: '0x9d9386c042F194B460Ec424a1e57ACDE25f5C4b1',
482
+ },
483
+ weth9: {
484
+ address: '0x542fDA317318eBF1d3DEAf76E0b632741A7e677d',
485
+ },
486
+ },
487
+ };
488
+
489
+ const scroll = {
490
+ ...scroll$1,
491
+ blockTimeSeconds: 3,
492
+ logoUrl: 'https://assets.oku.trade/scroll-logo.png',
493
+ defaultPool: '0xff577f0e828a878743ecc5e2632cbf65cecf17cf',
494
+ defaultToken0: '0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4',
495
+ defaultToken1: '0x5300000000000000000000000000000000000004',
496
+ tokenList: [
497
+ { symbol: 'USDC', address: '0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4' },
498
+ { symbol: 'WETH', address: '0x5300000000000000000000000000000000000004' },
499
+ { symbol: 'USDT', address: '0xf55bec9cafdbe8730f096aa55dad6d22d44099df' },
500
+ { symbol: 'WBTC', address: '0x3c1bca5a656e69edcd0d4e36bebb3fcdaca60cf1' },
501
+ { symbol: 'DAI', address: '0xca77eb3fefe3725dc33bccb54edefc3d9f764f97' }
502
+ ],
503
+ stables: ['0x06efdbff2a14a7c8e15944d1f4a48f9f95f663a4', '0xf55bec9cafdbe8730f096aa55dad6d22d44099df', '0xca77eb3fefe3725dc33bccb54edefc3d9f764f97'],
504
+ watchlist: [
505
+ '0xff577f0e828a878743ecc5e2632cbf65cecf17cf',
506
+ ],
507
+ internalName: 'scroll',
508
+ contracts: {
509
+ ...scroll$1.contracts,
510
+ limitOrder: {
511
+ address: '0xeC3E5eeC51D8C3D4f03DABB84B4Db313a739f377',
512
+ },
513
+ nftManager: {
514
+ address: '0xB39002E4033b162fAc607fc3471E205FA2aE5967',
515
+ },
516
+ weth9: {
517
+ address: '0x5300000000000000000000000000000000000004',
518
+ },
519
+ },
520
+ };
521
+
522
+ const zkSync = {
523
+ ...zkSync$1,
524
+ blockTimeSeconds: 2,
525
+ logoUrl: 'https://assets.oku.trade/zksync-logo.svg',
526
+ defaultPool: '0xff577f0e828a878743ecc5e2632cbf65cecf17cf',
527
+ defaultToken0: '0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4',
528
+ defaultToken1: '0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91',
529
+ tokenList: [
530
+ { symbol: 'WETH', address: '0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91' },
531
+ { symbol: 'USDC', address: '0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4' },
532
+ ],
533
+ stables: ['0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4', '0x503234F203fC7Eb888EEC8513210612a43Cf6115'],
534
+ watchlist: [
535
+ '0xff577f0e828a878743ecc5e2632cbf65cecf17cf',
536
+ '0x50b0b9e02aa6f72a70fefbdb50bdc2f27e594135',
537
+ '0x3f618967492945c02d5222d333e903345fde741a',
538
+ '0xc99bcff6564bafc70ba1b53c53a03541f780a546',
539
+ '0x1fa900dbb20ed45d18883849c00632bca16f6610',
540
+ ],
541
+ internalName: 'zksync',
542
+ contracts: {
543
+ ...zkSync$1.contracts,
544
+ limitOrder: {
545
+ address: '0x0FD66bD1e0974e2535CB424E6675D60aC52a84Fa',
546
+ },
547
+ nftManager: {
548
+ address: '0x0616e5762c1E7Dc3723c50663dF10a162D690a86',
549
+ },
550
+ weth9: {
551
+ address: '0x5aea5775959fbc2557cc8789bc1bf90a239d9a91',
552
+ },
553
+ },
554
+ };
555
+
556
+ export { arbitrum, base, boba, bsc, filecoin, mainnet, moonbeam, optimism, polygon, rootstock, scroll, zkSync };
@@ -1,2 +1,2 @@
1
1
  import { IChainInfo } from '..';
2
- export declare const boba: IChainInfo;
2
+ export declare const base: IChainInfo;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @file Automatically generated by barrelsby.
3
+ */
4
+ export * from "./arbitrum";
5
+ export * from "./base";
6
+ export * from "./boba";
7
+ export * from "./bsc";
8
+ export * from "./filecoin";
9
+ export * from "./mainnet";
10
+ export * from "./moonbeam";
11
+ export * from "./optimism";
12
+ export * from "./polygon";
13
+ export * from "./rootstock";
14
+ export * from "./scroll";
15
+ export * from "./zksync";
@@ -1,14 +1,5 @@
1
1
  import { Chain, ChainContract } from 'viem';
2
- export { optimism } from './definitions/optimism.js';
3
- export { arbitrum } from './definitions/arbitrum.js';
4
- export { bsc } from './definitions/bsc.js';
5
- export { boba } from './definitions/boba.js';
6
- export { moonbeam } from './definitions/moonbeam.js';
7
- export { filecoin } from './definitions/filecoin.js';
8
- export { zkSync } from './definitions/zksync.js';
9
- export { polygon } from './definitions/polygon.js';
10
- export { mainnet } from './definitions/mainnet.js';
11
- export { rootstock } from './definitions/rootstock.js';
2
+ export * from './definitions/';
12
3
  export interface IChainInfo extends Chain {
13
4
  logoUrl: string;
14
5
  defaultPool: string;
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@gfxlabs/oku-chains",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/types/index.d.ts",
7
7
  "scripts": {
8
- "build": "npx rollup -c",
8
+ "generate-barrels": "barrelsby --delete --directory './src/definitions/'",
9
+ "build": "yarn generate-barrels && npx rollup -c",
9
10
  "prepack": "yarn build",
10
11
  "clean": "rm -rf dist",
11
12
  "semantic-release": "npx semantic-release",
@@ -37,6 +38,7 @@
37
38
  },
38
39
  "packageManager": "yarn@4.0.2",
39
40
  "dependencies": {
41
+ "barrelsby": "^2.8.1",
40
42
  "viem": "^1.19.11"
41
43
  }
42
44
  }