@gfxlabs/oku-chains 1.9.10 → 1.10.0

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.
Files changed (54) hide show
  1. package/dist/browser.js +79 -0
  2. package/dist/index-mjs.js +80 -2
  3. package/dist/index.js +79 -0
  4. package/dist/types/definitions/arbitrum.d.ts +205 -0
  5. package/dist/types/definitions/avalanche.d.ts +147 -0
  6. package/dist/types/definitions/base.d.ts +468 -0
  7. package/dist/types/definitions/blast.d.ts +410 -0
  8. package/dist/types/definitions/bob.d.ts +408 -0
  9. package/dist/types/definitions/boba.d.ts +140 -0
  10. package/dist/types/definitions/bsc.d.ts +186 -0
  11. package/dist/types/definitions/celo.d.ts +993 -0
  12. package/dist/types/definitions/corn.d.ts +137 -0
  13. package/dist/types/definitions/etherlink.d.ts +145 -0
  14. package/dist/types/definitions/filecoin.d.ts +143 -0
  15. package/dist/types/definitions/gnosis.d.ts +178 -0
  16. package/dist/types/definitions/goat.d.ts +125 -0
  17. package/dist/types/definitions/hemi.d.ts +144 -0
  18. package/dist/types/definitions/hyperevem.d.ts +113 -0
  19. package/dist/types/definitions/index.d.ts +49 -0
  20. package/dist/types/definitions/lens.d.ts +131 -0
  21. package/dist/types/definitions/lightlink.d.ts +135 -0
  22. package/dist/types/definitions/linea.d.ts +176 -0
  23. package/dist/types/definitions/lisk.d.ts +387 -0
  24. package/dist/types/definitions/mainnet.d.ts +220 -0
  25. package/dist/types/definitions/manta.d.ts +137 -0
  26. package/dist/types/definitions/mantle.d.ts +155 -0
  27. package/dist/types/definitions/matchain.d.ts +114 -0
  28. package/dist/types/definitions/metal.d.ts +387 -0
  29. package/dist/types/definitions/monad.d.ts +146 -0
  30. package/dist/types/definitions/moonbeam.d.ts +149 -0
  31. package/dist/types/definitions/nibiru.d.ts +121 -0
  32. package/dist/types/definitions/optimism.d.ts +484 -0
  33. package/dist/types/definitions/plasma.d.ts +121 -0
  34. package/dist/types/definitions/polygon.d.ts +197 -0
  35. package/dist/types/definitions/redbelly.d.ts +118 -0
  36. package/dist/types/definitions/ronin.d.ts +129 -0
  37. package/dist/types/definitions/rootstock.d.ts +158 -0
  38. package/dist/types/definitions/saga.d.ts +122 -0
  39. package/dist/types/definitions/scroll.d.ts +167 -0
  40. package/dist/types/definitions/sei.d.ts +171 -0
  41. package/dist/types/definitions/sonic.d.ts +158 -0
  42. package/dist/types/definitions/taiko.d.ts +156 -0
  43. package/dist/types/definitions/telos.d.ts +141 -0
  44. package/dist/types/definitions/tronShasta.d.ts +99 -0
  45. package/dist/types/definitions/unichain.d.ts +419 -0
  46. package/dist/types/definitions/worldchain.d.ts +413 -0
  47. package/dist/types/definitions/xdc.d.ts +126 -0
  48. package/dist/types/definitions/zerog.d.ts +119 -0
  49. package/dist/types/definitions/zkevm.d.ts +143 -0
  50. package/dist/types/definitions/zksync.d.ts +545 -0
  51. package/dist/types/script/supported.d.ts +1 -0
  52. package/dist/types/spec/index.d.ts +207 -0
  53. package/dist/types/util/index.d.ts +3 -0
  54. package/package.json +2 -2
@@ -0,0 +1,413 @@
1
+ export declare const worldchain: Readonly<{
2
+ blockTimeSeconds: 2;
3
+ launchTime: 0;
4
+ transactionType: "eip1559";
5
+ sortIndex: 15;
6
+ logoUrl: "https://cms.oku.trade/cdn/public/chains/worldchain-logo.svg";
7
+ deprecated: false;
8
+ liteChain: true;
9
+ safeReorgDistance: 90000;
10
+ blockAid: "";
11
+ externalId: {
12
+ tenderly: string;
13
+ };
14
+ markets: {
15
+ zeroex: true;
16
+ };
17
+ bridges: {
18
+ chainlink: {
19
+ atlasNetworkName: string;
20
+ routerAddress: string;
21
+ chainSelector: bigint;
22
+ tokenAdminRegistry: string;
23
+ };
24
+ wormhole: {
25
+ chain: string;
26
+ timeToFinalize: number;
27
+ };
28
+ };
29
+ oracles: {};
30
+ morpho: {
31
+ deployBlock: number;
32
+ morpho: "0xE741BC7c34758b4caE05062794E8Ae24978AF432";
33
+ publicAllocator: "0xef9889B4e443DEd35FA0Bd060f2104Cca94e6A43";
34
+ mmFactory11: "0xae5b0884bfff430493D6C844B9fd052Af7d79278";
35
+ bundler3: "0x3D07BF2FFb23248034bF704F3a4786F1ffE2a448";
36
+ };
37
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
38
+ uniswap: {
39
+ deployBlock: number;
40
+ poolFactory: "0x7a5028BDa40e7B173C278C5342087826455ea25a";
41
+ permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3";
42
+ multicall2: "0x0a22c04215c97E3F532F4eF30e0aD9458792dAB9";
43
+ tickLens: "0xE61df0CaC9d85876aCE5E3037005D80943570623";
44
+ nonfungiblePositionManager: "0xec12a9F9a09f50550686363766Cc153D03c27b5e";
45
+ positionsNFT: "0xec12a9F9a09f50550686363766Cc153D03c27b5e";
46
+ positionsNFTDeployBlock: number;
47
+ universalRouter: "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D";
48
+ wrappedNativeAddress: "0x4200000000000000000000000000000000000006";
49
+ wrappedNativeSymbol: string;
50
+ wrappedNativeName: string;
51
+ wrappedNativeDecimals: number;
52
+ nativeCurrencyName: string;
53
+ };
54
+ token: {
55
+ wethAddress: "0x4200000000000000000000000000000000000006";
56
+ usdcAddress: "0x79a02482a880bce3f13e09da970dc34db4cd24d1";
57
+ wbtcAddress: "0x03c7054bcb39f7b2e5b2c7acb37583e32d70cfa3";
58
+ };
59
+ oku: {
60
+ router: "0x25cf2128F603754179379351B805B4F8C0B8dCA4";
61
+ pricing: {
62
+ nativeWrappedToken: "0x4200000000000000000000000000000000000006";
63
+ nativeWrappedName: string;
64
+ };
65
+ };
66
+ defaultPool: "0x610E319b3A3Ab56A0eD5562927D37c233774ba39";
67
+ defaultToken0: "0x4200000000000000000000000000000000000006";
68
+ defaultToken1: "0x79a02482a880bce3f13e09da970dc34db4cd24d1";
69
+ tokenList: ({
70
+ symbol: string;
71
+ address: "0x4200000000000000000000000000000000000006";
72
+ } | {
73
+ symbol: string;
74
+ address: "0x79a02482a880bce3f13e09da970dc34db4cd24d1";
75
+ } | {
76
+ symbol: string;
77
+ address: "0x03c7054bcb39f7b2e5b2c7acb37583e32d70cfa3";
78
+ })[];
79
+ stables: "0x79a02482a880bce3f13e09da970dc34db4cd24d1"[];
80
+ watchlist: never[];
81
+ internalName: "worldchain";
82
+ nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/eth.png";
83
+ contracts: {
84
+ limitOrder: {
85
+ address: "0x0000000000000000000000000000000000000000";
86
+ };
87
+ nftManager: {
88
+ address: "0xec12a9F9a09f50550686363766Cc153D03c27b5e";
89
+ };
90
+ weth9: {
91
+ address: "0x4200000000000000000000000000000000000006";
92
+ };
93
+ multicall2: {
94
+ address: "0x0a22c04215c97E3F532F4eF30e0aD9458792dAB9";
95
+ };
96
+ multicall3: {
97
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11";
98
+ };
99
+ disputeGameFactory: {
100
+ readonly 1: {
101
+ readonly address: "0x069c4c579671f8c120b1327a73217D01Ea2EC5ea";
102
+ };
103
+ };
104
+ l2OutputOracle: {
105
+ readonly 1: {
106
+ readonly address: "0x19A6d1E9034596196295CF148509796978343c5D";
107
+ };
108
+ };
109
+ portal: {
110
+ readonly 1: {
111
+ readonly address: "0xd5ec14a83B7d95BE1E2Ac12523e2dEE12Cbeea6C";
112
+ };
113
+ };
114
+ l1StandardBridge: {
115
+ readonly 1: {
116
+ readonly address: "0x470458C91978D2d929704489Ad730DC3E3001113";
117
+ };
118
+ };
119
+ gasPriceOracle: {
120
+ readonly address: "0x420000000000000000000000000000000000000F";
121
+ };
122
+ l1Block: {
123
+ readonly address: "0x4200000000000000000000000000000000000015";
124
+ };
125
+ l2CrossDomainMessenger: {
126
+ readonly address: "0x4200000000000000000000000000000000000007";
127
+ };
128
+ l2Erc721Bridge: {
129
+ readonly address: "0x4200000000000000000000000000000000000014";
130
+ };
131
+ l2StandardBridge: {
132
+ readonly address: "0x4200000000000000000000000000000000000010";
133
+ };
134
+ l2ToL1MessagePasser: {
135
+ readonly address: "0x4200000000000000000000000000000000000016";
136
+ };
137
+ };
138
+ blockExplorers: {
139
+ readonly default: {
140
+ readonly name: "Worldscan";
141
+ readonly url: "https://worldscan.org";
142
+ readonly apiUrl: "https://api.worldscan.org/api";
143
+ };
144
+ readonly blockscout: {
145
+ readonly name: "Blockscout";
146
+ readonly url: "https://worldchain-mainnet.explorer.alchemy.com";
147
+ readonly apiUrl: "https://worldchain-mainnet.explorer.alchemy.com/api";
148
+ };
149
+ };
150
+ blockTime: 2000;
151
+ ensTlds?: readonly string[] | undefined;
152
+ id: 480;
153
+ name: "World Chain";
154
+ nativeCurrency: {
155
+ readonly name: "Ether";
156
+ readonly symbol: "ETH";
157
+ readonly decimals: 18;
158
+ };
159
+ experimental_preconfirmationTime?: number | undefined | undefined | undefined;
160
+ rpcUrls: {
161
+ readonly default: {
162
+ readonly http: readonly ["https://worldchain-mainnet.g.alchemy.com/public"];
163
+ };
164
+ };
165
+ sourceId: 1;
166
+ testnet: false;
167
+ custom?: Record<string, unknown> | undefined;
168
+ extendSchema?: Record<string, unknown> | undefined;
169
+ fees?: import("viem").ChainFees<undefined> | undefined;
170
+ formatters: {
171
+ readonly block: {
172
+ exclude: [] | undefined;
173
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
174
+ baseFeePerGas: bigint | null;
175
+ blobGasUsed: bigint;
176
+ difficulty: bigint;
177
+ excessBlobGas: bigint;
178
+ extraData: import("viem").Hex;
179
+ gasLimit: bigint;
180
+ gasUsed: bigint;
181
+ hash: `0x${string}` | null;
182
+ logsBloom: `0x${string}` | null;
183
+ miner: import("viem").Address;
184
+ mixHash: import("viem").Hash;
185
+ nonce: `0x${string}` | null;
186
+ number: bigint | null;
187
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
188
+ parentHash: import("viem").Hash;
189
+ receiptsRoot: import("viem").Hex;
190
+ sealFields: import("viem").Hex[];
191
+ sha3Uncles: import("viem").Hash;
192
+ size: bigint;
193
+ stateRoot: import("viem").Hash;
194
+ timestamp: bigint;
195
+ totalDifficulty: bigint | null;
196
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
197
+ transactionsRoot: import("viem").Hash;
198
+ uncles: import("viem").Hash[];
199
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
200
+ withdrawalsRoot?: `0x${string}` | undefined;
201
+ } & {};
202
+ type: "block";
203
+ };
204
+ readonly transaction: {
205
+ exclude: [] | undefined;
206
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
207
+ blockHash: `0x${string}` | null;
208
+ blockNumber: bigint | null;
209
+ from: import("viem").Address;
210
+ gas: bigint;
211
+ hash: import("viem").Hash;
212
+ input: import("viem").Hex;
213
+ nonce: number;
214
+ r: import("viem").Hex;
215
+ s: import("viem").Hex;
216
+ to: import("viem").Address | null;
217
+ transactionIndex: number | null;
218
+ typeHex: import("viem").Hex | null;
219
+ v: bigint;
220
+ value: bigint;
221
+ yParity: number;
222
+ gasPrice?: undefined | undefined;
223
+ maxFeePerBlobGas?: undefined | undefined;
224
+ maxFeePerGas: bigint;
225
+ maxPriorityFeePerGas: bigint;
226
+ isSystemTx?: boolean;
227
+ mint?: bigint | undefined | undefined;
228
+ sourceHash: import("viem").Hex;
229
+ type: "deposit";
230
+ } | {
231
+ r: import("viem").Hex;
232
+ s: import("viem").Hex;
233
+ v: bigint;
234
+ value: bigint;
235
+ gas: bigint;
236
+ to: import("viem").Address | null;
237
+ from: import("viem").Address;
238
+ nonce: number;
239
+ blockHash: `0x${string}` | null;
240
+ blockNumber: bigint | null;
241
+ transactionIndex: number | null;
242
+ hash: import("viem").Hash;
243
+ input: import("viem").Hex;
244
+ typeHex: import("viem").Hex | null;
245
+ accessList?: undefined | undefined;
246
+ authorizationList?: undefined | undefined;
247
+ blobVersionedHashes?: undefined | undefined;
248
+ chainId?: number | undefined;
249
+ yParity?: undefined | undefined;
250
+ type: "legacy";
251
+ gasPrice: bigint;
252
+ maxFeePerBlobGas?: undefined | undefined;
253
+ maxFeePerGas?: undefined | undefined;
254
+ maxPriorityFeePerGas?: undefined | undefined;
255
+ isSystemTx?: undefined | undefined;
256
+ mint?: undefined | undefined;
257
+ sourceHash?: undefined | undefined;
258
+ } | {
259
+ blockHash: `0x${string}` | null;
260
+ blockNumber: bigint | null;
261
+ from: import("viem").Address;
262
+ gas: bigint;
263
+ hash: import("viem").Hash;
264
+ input: import("viem").Hex;
265
+ nonce: number;
266
+ r: import("viem").Hex;
267
+ s: import("viem").Hex;
268
+ to: import("viem").Address | null;
269
+ transactionIndex: number | null;
270
+ typeHex: import("viem").Hex | null;
271
+ v: bigint;
272
+ value: bigint;
273
+ yParity: number;
274
+ accessList: import("viem").AccessList;
275
+ authorizationList?: undefined | undefined;
276
+ blobVersionedHashes?: undefined | undefined;
277
+ chainId: number;
278
+ type: "eip2930";
279
+ gasPrice: bigint;
280
+ maxFeePerBlobGas?: undefined | undefined;
281
+ maxFeePerGas?: undefined | undefined;
282
+ maxPriorityFeePerGas?: undefined | undefined;
283
+ isSystemTx?: undefined | undefined;
284
+ mint?: undefined | undefined;
285
+ sourceHash?: undefined | undefined;
286
+ } | {
287
+ blockHash: `0x${string}` | null;
288
+ blockNumber: bigint | null;
289
+ from: import("viem").Address;
290
+ gas: bigint;
291
+ hash: import("viem").Hash;
292
+ input: import("viem").Hex;
293
+ nonce: number;
294
+ r: import("viem").Hex;
295
+ s: import("viem").Hex;
296
+ to: import("viem").Address | null;
297
+ transactionIndex: number | null;
298
+ typeHex: import("viem").Hex | null;
299
+ v: bigint;
300
+ value: bigint;
301
+ yParity: number;
302
+ accessList: import("viem").AccessList;
303
+ authorizationList?: undefined | undefined;
304
+ blobVersionedHashes?: undefined | undefined;
305
+ chainId: number;
306
+ type: "eip1559";
307
+ gasPrice?: undefined | undefined;
308
+ maxFeePerBlobGas?: undefined | undefined;
309
+ maxFeePerGas: bigint;
310
+ maxPriorityFeePerGas: bigint;
311
+ isSystemTx?: undefined | undefined;
312
+ mint?: undefined | undefined;
313
+ sourceHash?: undefined | undefined;
314
+ } | {
315
+ blockHash: `0x${string}` | null;
316
+ blockNumber: bigint | null;
317
+ from: import("viem").Address;
318
+ gas: bigint;
319
+ hash: import("viem").Hash;
320
+ input: import("viem").Hex;
321
+ nonce: number;
322
+ r: import("viem").Hex;
323
+ s: import("viem").Hex;
324
+ to: import("viem").Address | null;
325
+ transactionIndex: number | null;
326
+ typeHex: import("viem").Hex | null;
327
+ v: bigint;
328
+ value: bigint;
329
+ yParity: number;
330
+ accessList: import("viem").AccessList;
331
+ authorizationList?: undefined | undefined;
332
+ blobVersionedHashes: readonly import("viem").Hex[];
333
+ chainId: number;
334
+ type: "eip4844";
335
+ gasPrice?: undefined | undefined;
336
+ maxFeePerBlobGas: bigint;
337
+ maxFeePerGas: bigint;
338
+ maxPriorityFeePerGas: bigint;
339
+ isSystemTx?: undefined | undefined;
340
+ mint?: undefined | undefined;
341
+ sourceHash?: undefined | undefined;
342
+ } | {
343
+ blockHash: `0x${string}` | null;
344
+ blockNumber: bigint | null;
345
+ from: import("viem").Address;
346
+ gas: bigint;
347
+ hash: import("viem").Hash;
348
+ input: import("viem").Hex;
349
+ nonce: number;
350
+ r: import("viem").Hex;
351
+ s: import("viem").Hex;
352
+ to: import("viem").Address | null;
353
+ transactionIndex: number | null;
354
+ typeHex: import("viem").Hex | null;
355
+ v: bigint;
356
+ value: bigint;
357
+ yParity: number;
358
+ accessList: import("viem").AccessList;
359
+ authorizationList: import("viem").SignedAuthorizationList;
360
+ blobVersionedHashes?: undefined | undefined;
361
+ chainId: number;
362
+ type: "eip7702";
363
+ gasPrice?: undefined | undefined;
364
+ maxFeePerBlobGas?: undefined | undefined;
365
+ maxFeePerGas: bigint;
366
+ maxPriorityFeePerGas: bigint;
367
+ isSystemTx?: undefined | undefined;
368
+ mint?: undefined | undefined;
369
+ sourceHash?: undefined | undefined;
370
+ }) & {};
371
+ type: "transaction";
372
+ };
373
+ readonly transactionReceipt: {
374
+ exclude: [] | undefined;
375
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
376
+ blobGasPrice?: bigint | undefined;
377
+ blobGasUsed?: bigint | undefined;
378
+ blockHash: import("viem").Hash;
379
+ blockNumber: bigint;
380
+ contractAddress: import("viem").Address | null | undefined;
381
+ cumulativeGasUsed: bigint;
382
+ effectiveGasPrice: bigint;
383
+ from: import("viem").Address;
384
+ gasUsed: bigint;
385
+ logs: import("viem").Log<bigint, number, false>[];
386
+ logsBloom: import("viem").Hex;
387
+ root?: `0x${string}` | undefined;
388
+ status: "success" | "reverted";
389
+ to: import("viem").Address | null;
390
+ transactionHash: import("viem").Hash;
391
+ transactionIndex: number;
392
+ type: import("viem").TransactionType;
393
+ l1GasPrice: bigint | null;
394
+ l1GasUsed: bigint | null;
395
+ l1Fee: bigint | null;
396
+ l1FeeScalar: number | null;
397
+ } & {};
398
+ type: "transactionReceipt";
399
+ };
400
+ };
401
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
402
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
403
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
404
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
405
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
406
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
407
+ }] | undefined | undefined;
408
+ serializers: {
409
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
410
+ };
411
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined | undefined;
412
+ network: "worldchain";
413
+ }>;
@@ -0,0 +1,126 @@
1
+ export declare const xdc: Readonly<{
2
+ name: "XDC";
3
+ rpcUrls: {
4
+ default: {
5
+ http: string[];
6
+ };
7
+ };
8
+ blockTimeSeconds: 2;
9
+ launchTime: 1746453600;
10
+ transactionType: "legacy";
11
+ sortIndex: 15;
12
+ logoUrl: "https://cms.oku.trade/cdn/public/chains/xdc-logo.svg";
13
+ deprecated: false;
14
+ safeReorgDistance: 90000;
15
+ blockAid: "";
16
+ externalId: {};
17
+ markets: {
18
+ icecreamswap: true;
19
+ };
20
+ bridges: {
21
+ stargate: {
22
+ endpointID: number;
23
+ tokens: {
24
+ name: string;
25
+ type: string;
26
+ id: number;
27
+ address: string;
28
+ }[];
29
+ };
30
+ };
31
+ oracles: {};
32
+ morpho: {};
33
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
34
+ uniswap: {
35
+ deployBlock: number;
36
+ poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D";
37
+ permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578";
38
+ multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
39
+ tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641";
40
+ nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
41
+ positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
42
+ positionsNFTDeployBlock: number;
43
+ universalRouter: "0x738fD6d10bCc05c230388B4027CAd37f82fe2AF2";
44
+ wrappedNativeAddress: "0x951857744785e80e2de051c32ee7b25f9c458c42";
45
+ wrappedNativeSymbol: string;
46
+ wrappedNativeName: string;
47
+ wrappedNativeDecimals: number;
48
+ nativeCurrencyName: string;
49
+ };
50
+ token: {
51
+ wethAddress: "0x951857744785e80e2de051c32ee7b25f9c458c42";
52
+ usdcAddress: "0xfa2958cb79b0491cc627c1557f441ef849ca8eb1";
53
+ };
54
+ oku: {
55
+ limitOrderRegistry: "0x1b35fba9357fd9bda7ed0429c8bbabe1e8cc88fc";
56
+ limitOrderRegistryDeployBlock: number;
57
+ pricing: {
58
+ nativeWrappedToken: "0x951857744785e80e2de051c32ee7b25f9c458c42";
59
+ nativeWrappedName: string;
60
+ };
61
+ };
62
+ defaultPool: "0x29f804974da123e8e48acb107be76b9f2ce1b408";
63
+ defaultToken0: "0x951857744785e80e2de051c32ee7b25f9c458c42";
64
+ defaultToken1: "0xfa2958cb79b0491cc627c1557f441ef849ca8eb1";
65
+ tokenList: ({
66
+ symbol: string;
67
+ address: "0x951857744785e80e2de051c32ee7b25f9c458c42";
68
+ } | {
69
+ symbol: string;
70
+ address: "0xfa2958cb79b0491cc627c1557f441ef849ca8eb1";
71
+ } | {
72
+ symbol: string;
73
+ address: "0x2a8e898b6242355c290e1f4fc966b8788729a4d4";
74
+ })[];
75
+ stables: ("0xfa2958cb79b0491cc627c1557f441ef849ca8eb1" | "0x2a8e898b6242355c290e1f4fc966b8788729a4d4" | "0xd4b5f10d61916bd6e0860144a91ac658de8a1437")[];
76
+ watchlist: ("0x1e5aec37f6df6653c3342df75edd92beb3fb9846" | "0x9149b4e074f101ca0514b1d30fc78f181e21d409" | "0xd68fdf3cbe9f48422a15899318dd5cb921f92037" | "0x97bb50ace84058254df2e2f6482f5549e80b7267" | "0x9fb200504e3e9eb9b8e332fa21e47a657adfa099" | "0x898488dc884ee5ece8079499f4c7ddc5c281e85f")[];
77
+ internalName: "xdc";
78
+ nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/xdc.png";
79
+ contracts: {
80
+ limitOrder: {
81
+ address: "0x1b35fba9357fd9bda7ed0429c8bbabe1e8cc88fc";
82
+ };
83
+ nftManager: {
84
+ address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
85
+ };
86
+ weth9: {
87
+ address: "0x951857744785e80e2de051c32ee7b25f9c458c42";
88
+ };
89
+ multicall2: {
90
+ address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
91
+ };
92
+ multicall3: {
93
+ address: "0x0b1795cca8e4ec4df02346a082df54d437f8d9af";
94
+ };
95
+ };
96
+ blockExplorers: {
97
+ readonly default: {
98
+ readonly name: "XDCScan";
99
+ readonly url: "https://xdcscan.com";
100
+ };
101
+ };
102
+ blockTime?: number | undefined | undefined | undefined;
103
+ ensTlds?: readonly string[] | undefined;
104
+ id: 50;
105
+ nativeCurrency: {
106
+ readonly decimals: 18;
107
+ readonly name: "XDC";
108
+ readonly symbol: "XDC";
109
+ };
110
+ experimental_preconfirmationTime?: number | undefined | undefined | undefined;
111
+ sourceId?: number | undefined | undefined | undefined;
112
+ testnet?: boolean | undefined | undefined | undefined;
113
+ custom?: Record<string, unknown> | undefined;
114
+ extendSchema?: Record<string, unknown> | undefined;
115
+ fees?: import("viem").ChainFees<undefined> | undefined;
116
+ formatters?: undefined | undefined;
117
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
118
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
119
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
120
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
121
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
122
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
123
+ }] | undefined | undefined;
124
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
125
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined | undefined;
126
+ }>;
@@ -0,0 +1,119 @@
1
+ export declare const zerog: Readonly<{
2
+ name: "0G";
3
+ blockTimeSeconds: 35;
4
+ launchTime: 1733882663;
5
+ transactionType: "eip1559";
6
+ sortIndex: 15;
7
+ logoUrl: "https://cms.oku.trade/cdn/public/chains/zerog-logo.svg";
8
+ deprecated: false;
9
+ safeReorgDistance: 90000;
10
+ blockAid: "";
11
+ externalId: {
12
+ tenderly: string;
13
+ };
14
+ markets: {};
15
+ bridges: {
16
+ chainlink: {
17
+ atlasNetworkName: string;
18
+ routerAddress: string;
19
+ chainSelector: bigint;
20
+ tokenAdminRegistry: string;
21
+ };
22
+ };
23
+ oracles: {};
24
+ morpho: {};
25
+ initCodeHash: "0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54";
26
+ uniswap: {
27
+ deployBlock: number;
28
+ poolFactory: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D";
29
+ permit2: "0xB952578f3520EE8Ea45b7914994dcf4702cEe578";
30
+ multicall2: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
31
+ tickLens: "0xB3309C48F8407651D918ca3Da4C45DE40109E641";
32
+ nonfungiblePositionManager: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
33
+ positionsNFT: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
34
+ positionsNFTDeployBlock: number;
35
+ universalRouter: "0x1b35fbA9357fD9bda7ed0429C8BbAbe1e8CC88fc";
36
+ wrappedNativeAddress: "0x1cd0690ff9a693f5ef2dd976660a8dafc81a109c";
37
+ wrappedNativeSymbol: string;
38
+ wrappedNativeName: string;
39
+ wrappedNativeDecimals: number;
40
+ nativeCurrencyName: string;
41
+ };
42
+ token: {
43
+ wethAddress: "0x1cd0690ff9a693f5ef2dd976660a8dafc81a109c";
44
+ };
45
+ oku: {
46
+ limitOrderRegistry: "0x9db70e29712cc8af10c2b597bada6784544ff407";
47
+ limitOrderRegistryDeployBlock: number;
48
+ pricing: {
49
+ nativeWrappedToken: "0x1cd0690ff9a693f5ef2dd976660a8dafc81a109c";
50
+ nativeWrappedName: string;
51
+ };
52
+ };
53
+ defaultPool: "0x5c1e4669c5208adc0163273d51928890b663237f";
54
+ defaultToken0: "0x1cd0690ff9a693f5ef2dd976660a8dafc81a109c";
55
+ defaultToken1: "0x1f3aa82227281ca364bfb3d253b0f1af1da6473e";
56
+ tokenList: ({
57
+ symbol: string;
58
+ address: "0x1f3aa82227281ca364bfb3d253b0f1af1da6473e";
59
+ } | {
60
+ symbol: string;
61
+ address: "0x1cd0690ff9a693f5ef2dd976660a8dafc81a109c";
62
+ })[];
63
+ stables: "0x1f3aa82227281ca364bfb3d253b0f1af1da6473e"[];
64
+ watchlist: "0x5c1e4669c5208adc0163273d51928890b663237f"[];
65
+ internalName: "zerog";
66
+ nativeLogoUrl: "https://cms.oku.trade/cdn/public/natives/0g.svg";
67
+ contracts: {
68
+ limitOrder: {
69
+ address: "0x9db70e29712cc8af10c2b597bada6784544ff407";
70
+ };
71
+ nftManager: {
72
+ address: "0x743E03cceB4af2efA3CC76838f6E8B50B63F184c";
73
+ };
74
+ weth9: {
75
+ address: "0x1cd0690ff9a693f5ef2dd976660a8dafc81a109c";
76
+ };
77
+ multicall2: {
78
+ address: "0x5d6b0f5335ec95cD2aB7E52f2A0750dd86502435";
79
+ };
80
+ multicall3: {
81
+ address: "0xcA11bde05977b3631167028862bE2a173976CA11";
82
+ };
83
+ };
84
+ blockExplorers: {
85
+ readonly default: {
86
+ readonly name: "0G BlockChain Explorer";
87
+ readonly url: "https://chainscan.0g.ai";
88
+ };
89
+ };
90
+ blockTime?: number | undefined | undefined | undefined;
91
+ ensTlds?: readonly string[] | undefined;
92
+ id: 16661;
93
+ nativeCurrency: {
94
+ readonly name: "0G";
95
+ readonly symbol: "0G";
96
+ readonly decimals: 18;
97
+ };
98
+ experimental_preconfirmationTime?: number | undefined | undefined | undefined;
99
+ rpcUrls: {
100
+ readonly default: {
101
+ readonly http: readonly ["https://evmrpc.0g.ai"];
102
+ };
103
+ };
104
+ sourceId?: number | undefined | undefined | undefined;
105
+ testnet: false;
106
+ custom?: Record<string, unknown> | undefined;
107
+ extendSchema?: Record<string, unknown> | undefined;
108
+ fees?: import("viem").ChainFees<undefined> | undefined;
109
+ formatters?: undefined | undefined;
110
+ prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
111
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
112
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
113
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
114
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
115
+ runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
116
+ }] | undefined | undefined;
117
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
118
+ verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined | undefined;
119
+ }>;