@gfxlabs/oku-chains 1.9.10 → 1.9.11

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