@gfxlabs/oku-chains 1.12.7 → 1.12.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 (54) hide show
  1. package/dist/browser.js +13 -0
  2. package/dist/index-mjs.js +13 -0
  3. package/dist/index.js +13 -0
  4. package/dist/types/definitions/arbitrum.d.ts +3 -0
  5. package/dist/types/definitions/avalanche.d.ts +2 -0
  6. package/dist/types/definitions/base.d.ts +11 -0
  7. package/dist/types/definitions/blast.d.ts +10 -0
  8. package/dist/types/definitions/bob.d.ts +10 -0
  9. package/dist/types/definitions/boba.d.ts +3 -0
  10. package/dist/types/definitions/bsc.d.ts +2 -0
  11. package/dist/types/definitions/celo.d.ts +18 -0
  12. package/dist/types/definitions/corn.d.ts +2 -0
  13. package/dist/types/definitions/etherlink.d.ts +2 -0
  14. package/dist/types/definitions/filecoin.d.ts +3 -0
  15. package/dist/types/definitions/gensyn.d.ts +3 -0
  16. package/dist/types/definitions/gnosis.d.ts +2 -0
  17. package/dist/types/definitions/goat.d.ts +2 -0
  18. package/dist/types/definitions/hemi.d.ts +3 -0
  19. package/dist/types/definitions/hyperevem.d.ts +2 -0
  20. package/dist/types/definitions/lens.d.ts +2 -0
  21. package/dist/types/definitions/lightlink.d.ts +2 -0
  22. package/dist/types/definitions/linea.d.ts +3 -0
  23. package/dist/types/definitions/lisk.d.ts +10 -0
  24. package/dist/types/definitions/mainnet.d.ts +2 -0
  25. package/dist/types/definitions/manta.d.ts +2 -0
  26. package/dist/types/definitions/mantle.d.ts +3 -0
  27. package/dist/types/definitions/matchain.d.ts +2 -0
  28. package/dist/types/definitions/metal.d.ts +10 -0
  29. package/dist/types/definitions/monad.d.ts +7 -5
  30. package/dist/types/definitions/moonbeam.d.ts +3 -1
  31. package/dist/types/definitions/nibiru.d.ts +3 -0
  32. package/dist/types/definitions/optimism.d.ts +11 -0
  33. package/dist/types/definitions/pharos.d.ts +2 -0
  34. package/dist/types/definitions/plasma.d.ts +2 -0
  35. package/dist/types/definitions/polygon.d.ts +2 -0
  36. package/dist/types/definitions/redbelly.d.ts +3 -0
  37. package/dist/types/definitions/ronin.d.ts +2 -0
  38. package/dist/types/definitions/rootstock.d.ts +2 -0
  39. package/dist/types/definitions/saga.d.ts +2 -0
  40. package/dist/types/definitions/scroll.d.ts +2 -0
  41. package/dist/types/definitions/sei.d.ts +2 -0
  42. package/dist/types/definitions/sonic.d.ts +2 -0
  43. package/dist/types/definitions/taiko.d.ts +2 -0
  44. package/dist/types/definitions/telos.d.ts +3 -0
  45. package/dist/types/definitions/tronShasta.d.ts +2 -0
  46. package/dist/types/definitions/unichain.d.ts +11 -0
  47. package/dist/types/definitions/worldchain.d.ts +26 -16
  48. package/dist/types/definitions/xdc.d.ts +2 -0
  49. package/dist/types/definitions/zerog.d.ts +2 -0
  50. package/dist/types/definitions/zkevm.d.ts +2 -0
  51. package/dist/types/definitions/zksync.d.ts +20 -11
  52. package/dist/types/index.d.ts +252 -24
  53. package/dist/types/non-evm/bitcoin.d.ts +2 -0
  54. package/package.json +2 -2
@@ -106,8 +106,10 @@ export declare const pharos: Readonly<{
106
106
  fees?: import("viem").ChainFees<undefined> | undefined;
107
107
  formatters?: undefined;
108
108
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
109
+ client: import("viem").Client;
109
110
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
110
111
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
112
+ client: import("viem").Client;
111
113
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
112
114
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
113
115
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -116,8 +116,10 @@ export declare const plasma: Readonly<{
116
116
  fees?: import("viem").ChainFees<undefined> | undefined;
117
117
  formatters?: undefined | undefined;
118
118
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
119
+ client: import("viem").Client;
119
120
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
120
121
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
122
+ client: import("viem").Client;
121
123
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
122
124
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
123
125
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -192,8 +192,10 @@ export declare const polygon: Readonly<{
192
192
  fees?: import("viem").ChainFees<undefined> | undefined;
193
193
  formatters?: undefined | undefined;
194
194
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
195
+ client: import("viem").Client;
195
196
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
196
197
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
198
+ client: import("viem").Client;
197
199
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
198
200
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
199
201
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -40,6 +40,7 @@ export declare const redbelly: Readonly<{
40
40
  usdcAddress: "0x8201c02d4AB2214471E8C3AD6475C8b0CD9F2D06";
41
41
  };
42
42
  oku: {
43
+ router11: "0x25132a6F4f0A993d62e57D0510df1395729125ad";
43
44
  limitOrderRegistry: "0x9db70E29712Cc8Af10c2B597BaDA6784544FF407";
44
45
  limitOrderRegistryDeployBlock: number;
45
46
  pricing: {
@@ -113,8 +114,10 @@ export declare const redbelly: Readonly<{
113
114
  fees?: import("viem").ChainFees<undefined> | undefined;
114
115
  formatters?: undefined | undefined;
115
116
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
117
+ client: import("viem").Client;
116
118
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
117
119
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
120
+ client: import("viem").Client;
118
121
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
119
122
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
120
123
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -123,8 +123,10 @@ export declare const ronin: Readonly<{
123
123
  fees?: import("viem").ChainFees<undefined> | undefined;
124
124
  formatters?: undefined | undefined;
125
125
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
126
+ client: import("viem").Client;
126
127
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
127
128
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
129
+ client: import("viem").Client;
128
130
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
129
131
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
130
132
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -152,8 +152,10 @@ export declare const rootstock: Readonly<{
152
152
  fees?: import("viem").ChainFees<undefined> | undefined;
153
153
  formatters?: undefined | undefined;
154
154
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
155
+ client: import("viem").Client;
155
156
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
156
157
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
158
+ client: import("viem").Client;
157
159
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
158
160
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
159
161
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -116,8 +116,10 @@ export declare const saga: Readonly<{
116
116
  fees?: import("viem").ChainFees<undefined> | undefined;
117
117
  formatters?: undefined | undefined;
118
118
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
119
+ client: import("viem").Client;
119
120
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
120
121
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
122
+ client: import("viem").Client;
121
123
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
122
124
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
123
125
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -161,8 +161,10 @@ export declare const scroll: Readonly<{
161
161
  fees?: import("viem").ChainFees<undefined> | undefined;
162
162
  formatters?: undefined | undefined;
163
163
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
164
+ client: import("viem").Client;
164
165
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
165
166
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
167
+ client: import("viem").Client;
166
168
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
167
169
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
168
170
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -171,8 +171,10 @@ export declare const sei: Readonly<{
171
171
  fees?: import("viem").ChainFees<undefined> | undefined;
172
172
  formatters?: undefined | undefined;
173
173
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
174
+ client: import("viem").Client;
174
175
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
175
176
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
177
+ client: import("viem").Client;
176
178
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
177
179
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
178
180
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -152,8 +152,10 @@ export declare const sonic: Readonly<{
152
152
  fees?: import("viem").ChainFees<undefined> | undefined;
153
153
  formatters?: undefined | undefined;
154
154
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
155
+ client: import("viem").Client;
155
156
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
156
157
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
158
+ client: import("viem").Client;
157
159
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
158
160
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
159
161
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -150,8 +150,10 @@ export declare const taiko: Readonly<{
150
150
  fees?: import("viem").ChainFees<undefined> | undefined;
151
151
  formatters?: undefined | undefined;
152
152
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
153
+ client: import("viem").Client;
153
154
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
154
155
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
156
+ client: import("viem").Client;
155
157
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
156
158
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
157
159
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -53,6 +53,7 @@ export declare const telos: Readonly<{
53
53
  usdcAddress: "0xF1815bd50389c46847f0Bda824eC8da914045D14";
54
54
  };
55
55
  oku: {
56
+ router11: "0x25132a6F4f0A993d62e57D0510df1395729125ad";
56
57
  limitOrderRegistry: "0x1b35fbA9357fD9bda7ed0429C8BbAbe1e8CC88fc";
57
58
  limitOrderRegistryDeployBlock: number;
58
59
  pricing: {
@@ -136,8 +137,10 @@ export declare const telos: Readonly<{
136
137
  fees?: import("viem").ChainFees<undefined> | undefined;
137
138
  formatters?: undefined | undefined;
138
139
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
140
+ client: import("viem").Client;
139
141
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
140
142
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
143
+ client: import("viem").Client;
141
144
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
142
145
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
143
146
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -92,8 +92,10 @@ export declare const tronShasta: Readonly<{
92
92
  fees?: import("viem").ChainFees<undefined> | undefined;
93
93
  formatters?: undefined | undefined;
94
94
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
95
+ client: import("viem").Client;
95
96
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
96
97
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
98
+ client: import("viem").Client;
97
99
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
98
100
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
99
101
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -80,6 +80,7 @@ export declare const unichain: Readonly<{
80
80
  wethAddress: "0x4200000000000000000000000000000000000006";
81
81
  };
82
82
  oku: {
83
+ router11: "0x25132a6F4f0A993d62e57D0510df1395729125ad";
83
84
  limitOrderRegistry: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D";
84
85
  limitOrderRegistryDeployBlock: number;
85
86
  pricing: {
@@ -220,6 +221,7 @@ export declare const unichain: Readonly<{
220
221
  format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
221
222
  blockHash: `0x${string}` | null;
222
223
  blockNumber: bigint | null;
224
+ blockTimestamp?: bigint | undefined;
223
225
  from: import("abitype").Address;
224
226
  gas: bigint;
225
227
  hash: import("viem").Hash;
@@ -252,6 +254,7 @@ export declare const unichain: Readonly<{
252
254
  value: bigint;
253
255
  blockHash: `0x${string}` | null;
254
256
  blockNumber: bigint | null;
257
+ blockTimestamp?: bigint | undefined;
255
258
  hash: import("viem").Hash;
256
259
  input: import("viem").Hex;
257
260
  transactionIndex: number | null;
@@ -272,6 +275,7 @@ export declare const unichain: Readonly<{
272
275
  } | {
273
276
  blockHash: `0x${string}` | null;
274
277
  blockNumber: bigint | null;
278
+ blockTimestamp?: bigint | undefined;
275
279
  from: import("abitype").Address;
276
280
  gas: bigint;
277
281
  hash: import("viem").Hash;
@@ -300,6 +304,7 @@ export declare const unichain: Readonly<{
300
304
  } | {
301
305
  blockHash: `0x${string}` | null;
302
306
  blockNumber: bigint | null;
307
+ blockTimestamp?: bigint | undefined;
303
308
  from: import("abitype").Address;
304
309
  gas: bigint;
305
310
  hash: import("viem").Hash;
@@ -328,6 +333,7 @@ export declare const unichain: Readonly<{
328
333
  } | {
329
334
  blockHash: `0x${string}` | null;
330
335
  blockNumber: bigint | null;
336
+ blockTimestamp?: bigint | undefined;
331
337
  from: import("abitype").Address;
332
338
  gas: bigint;
333
339
  hash: import("viem").Hash;
@@ -356,6 +362,7 @@ export declare const unichain: Readonly<{
356
362
  } | {
357
363
  blockHash: `0x${string}` | null;
358
364
  blockNumber: bigint | null;
365
+ blockTimestamp?: bigint | undefined;
359
366
  from: import("abitype").Address;
360
367
  gas: bigint;
361
368
  hash: import("viem").Hash;
@@ -405,6 +412,8 @@ export declare const unichain: Readonly<{
405
412
  transactionHash: import("viem").Hash;
406
413
  transactionIndex: number;
407
414
  type: import("viem").TransactionType;
415
+ depositNonce?: bigint | undefined | undefined;
416
+ depositReceiptVersion?: number | undefined | undefined;
408
417
  l1GasPrice: bigint | null;
409
418
  l1GasUsed: bigint | null;
410
419
  l1Fee: bigint | null;
@@ -414,8 +423,10 @@ export declare const unichain: Readonly<{
414
423
  };
415
424
  };
416
425
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
426
+ client: import("viem").Client;
417
427
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
418
428
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
429
+ client: import("viem").Client;
419
430
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
420
431
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
421
432
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -188,7 +188,7 @@ export declare const worldchain: Readonly<{
188
188
  gasUsed: bigint;
189
189
  hash: `0x${string}` | null;
190
190
  logsBloom: `0x${string}` | null;
191
- miner: import("viem").Address;
191
+ miner: import("abitype").Address;
192
192
  mixHash: import("viem").Hash;
193
193
  nonce: `0x${string}` | null;
194
194
  number: bigint | null;
@@ -214,14 +214,15 @@ export declare const worldchain: Readonly<{
214
214
  format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
215
215
  blockHash: `0x${string}` | null;
216
216
  blockNumber: bigint | null;
217
- from: import("viem").Address;
217
+ blockTimestamp?: bigint | undefined;
218
+ from: import("abitype").Address;
218
219
  gas: bigint;
219
220
  hash: import("viem").Hash;
220
221
  input: import("viem").Hex;
221
222
  nonce: number;
222
223
  r: import("viem").Hex;
223
224
  s: import("viem").Hex;
224
- to: import("viem").Address | null;
225
+ to: import("abitype").Address | null;
225
226
  transactionIndex: number | null;
226
227
  typeHex: import("viem").Hex | null;
227
228
  v: bigint;
@@ -239,13 +240,14 @@ export declare const worldchain: Readonly<{
239
240
  r: import("viem").Hex;
240
241
  s: import("viem").Hex;
241
242
  v: bigint;
242
- to: import("viem").Address | null;
243
- from: import("viem").Address;
243
+ to: import("abitype").Address | null;
244
+ from: import("abitype").Address;
244
245
  gas: bigint;
245
246
  nonce: number;
246
247
  value: bigint;
247
248
  blockHash: `0x${string}` | null;
248
249
  blockNumber: bigint | null;
250
+ blockTimestamp?: bigint | undefined;
249
251
  hash: import("viem").Hash;
250
252
  input: import("viem").Hex;
251
253
  transactionIndex: number | null;
@@ -266,14 +268,15 @@ export declare const worldchain: Readonly<{
266
268
  } | {
267
269
  blockHash: `0x${string}` | null;
268
270
  blockNumber: bigint | null;
269
- from: import("viem").Address;
271
+ blockTimestamp?: bigint | undefined;
272
+ from: import("abitype").Address;
270
273
  gas: bigint;
271
274
  hash: import("viem").Hash;
272
275
  input: import("viem").Hex;
273
276
  nonce: number;
274
277
  r: import("viem").Hex;
275
278
  s: import("viem").Hex;
276
- to: import("viem").Address | null;
279
+ to: import("abitype").Address | null;
277
280
  transactionIndex: number | null;
278
281
  typeHex: import("viem").Hex | null;
279
282
  v: bigint;
@@ -294,14 +297,15 @@ export declare const worldchain: Readonly<{
294
297
  } | {
295
298
  blockHash: `0x${string}` | null;
296
299
  blockNumber: bigint | null;
297
- from: import("viem").Address;
300
+ blockTimestamp?: bigint | undefined;
301
+ from: import("abitype").Address;
298
302
  gas: bigint;
299
303
  hash: import("viem").Hash;
300
304
  input: import("viem").Hex;
301
305
  nonce: number;
302
306
  r: import("viem").Hex;
303
307
  s: import("viem").Hex;
304
- to: import("viem").Address | null;
308
+ to: import("abitype").Address | null;
305
309
  transactionIndex: number | null;
306
310
  typeHex: import("viem").Hex | null;
307
311
  v: bigint;
@@ -322,14 +326,15 @@ export declare const worldchain: Readonly<{
322
326
  } | {
323
327
  blockHash: `0x${string}` | null;
324
328
  blockNumber: bigint | null;
325
- from: import("viem").Address;
329
+ blockTimestamp?: bigint | undefined;
330
+ from: import("abitype").Address;
326
331
  gas: bigint;
327
332
  hash: import("viem").Hash;
328
333
  input: import("viem").Hex;
329
334
  nonce: number;
330
335
  r: import("viem").Hex;
331
336
  s: import("viem").Hex;
332
- to: import("viem").Address | null;
337
+ to: import("abitype").Address | null;
333
338
  transactionIndex: number | null;
334
339
  typeHex: import("viem").Hex | null;
335
340
  v: bigint;
@@ -350,14 +355,15 @@ export declare const worldchain: Readonly<{
350
355
  } | {
351
356
  blockHash: `0x${string}` | null;
352
357
  blockNumber: bigint | null;
353
- from: import("viem").Address;
358
+ blockTimestamp?: bigint | undefined;
359
+ from: import("abitype").Address;
354
360
  gas: bigint;
355
361
  hash: import("viem").Hash;
356
362
  input: import("viem").Hex;
357
363
  nonce: number;
358
364
  r: import("viem").Hex;
359
365
  s: import("viem").Hex;
360
- to: import("viem").Address | null;
366
+ to: import("abitype").Address | null;
361
367
  transactionIndex: number | null;
362
368
  typeHex: import("viem").Hex | null;
363
369
  v: bigint;
@@ -386,19 +392,21 @@ export declare const worldchain: Readonly<{
386
392
  blockHash: import("viem").Hash;
387
393
  blockNumber: bigint;
388
394
  blockTimestamp?: bigint | undefined;
389
- contractAddress: import("viem").Address | null | undefined;
395
+ contractAddress: import("abitype").Address | null | undefined;
390
396
  cumulativeGasUsed: bigint;
391
397
  effectiveGasPrice: bigint;
392
- from: import("viem").Address;
398
+ from: import("abitype").Address;
393
399
  gasUsed: bigint;
394
400
  logs: import("viem").Log<bigint, number, false>[];
395
401
  logsBloom: import("viem").Hex;
396
402
  root?: `0x${string}` | undefined;
397
403
  status: "success" | "reverted";
398
- to: import("viem").Address | null;
404
+ to: import("abitype").Address | null;
399
405
  transactionHash: import("viem").Hash;
400
406
  transactionIndex: number;
401
407
  type: import("viem").TransactionType;
408
+ depositNonce?: bigint | undefined | undefined;
409
+ depositReceiptVersion?: number | undefined | undefined;
402
410
  l1GasPrice: bigint | null;
403
411
  l1GasUsed: bigint | null;
404
412
  l1Fee: bigint | null;
@@ -408,8 +416,10 @@ export declare const worldchain: Readonly<{
408
416
  };
409
417
  };
410
418
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
419
+ client: import("viem").Client;
411
420
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
412
421
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
422
+ client: import("viem").Client;
413
423
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
414
424
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
415
425
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -128,8 +128,10 @@ export declare const xdc: Readonly<{
128
128
  fees?: import("viem").ChainFees<undefined> | undefined;
129
129
  formatters?: undefined | undefined;
130
130
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
131
+ client: import("viem").Client;
131
132
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
132
133
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
134
+ client: import("viem").Client;
133
135
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
134
136
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
135
137
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -120,8 +120,10 @@ export declare const zerog: Readonly<{
120
120
  fees?: import("viem").ChainFees<undefined> | undefined;
121
121
  formatters?: undefined | undefined;
122
122
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
123
+ client: import("viem").Client;
123
124
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
124
125
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
126
+ client: import("viem").Client;
125
127
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
126
128
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
127
129
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -137,8 +137,10 @@ export declare const polygonZkEvm: Readonly<{
137
137
  fees?: import("viem").ChainFees<undefined> | undefined;
138
138
  formatters?: undefined | undefined;
139
139
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
140
+ client: import("viem").Client;
140
141
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
141
142
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
143
+ client: import("viem").Client;
142
144
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
143
145
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
144
146
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
@@ -144,14 +144,14 @@ export declare const zkSync: Readonly<{
144
144
  sourceId?: number | undefined | undefined | undefined;
145
145
  testnet?: boolean | undefined | undefined | undefined;
146
146
  custom: {
147
- readonly getEip712Domain: import("viem/zksync").EIP712DomainFn<import("viem/chains").ZkSyncTransactionSerializable, import("viem/chains").ZkSyncEIP712TransactionSignable>;
147
+ readonly getEip712Domain: import("viem/zksync").EIP712DomainFn<import("viem/zksync").ZkSyncTransactionSerializable, import("viem/zksync").ZkSyncEIP712TransactionSignable>;
148
148
  };
149
149
  extendSchema?: Record<string, unknown> | undefined;
150
150
  fees?: import("viem").ChainFees<undefined> | undefined;
151
151
  formatters: {
152
152
  readonly block: {
153
153
  exclude: [] | undefined;
154
- format: (args: import("viem/chains").ZkSyncRpcBlock, action?: string | undefined) => {
154
+ format: (args: import("viem/zksync").ZkSyncRpcBlock, action?: string | undefined) => {
155
155
  baseFeePerGas: bigint | null;
156
156
  blobGasUsed: bigint;
157
157
  difficulty: bigint;
@@ -174,7 +174,7 @@ export declare const zkSync: Readonly<{
174
174
  stateRoot: import("viem").Hash;
175
175
  timestamp: bigint;
176
176
  totalDifficulty: bigint | null;
177
- transactions: `0x${string}`[] | import("viem/chains").ZkSyncTransaction<boolean>[];
177
+ transactions: `0x${string}`[] | import("viem/zksync").ZkSyncTransaction<boolean>[];
178
178
  transactionsRoot: import("viem").Hash;
179
179
  uncles: import("viem").Hash[];
180
180
  withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
@@ -186,7 +186,7 @@ export declare const zkSync: Readonly<{
186
186
  };
187
187
  readonly transaction: {
188
188
  exclude: [] | undefined;
189
- format: (args: import("viem/chains").ZkSyncRpcTransaction, action?: string | undefined) => ({
189
+ format: (args: import("viem/zksync").ZkSyncRpcTransaction, action?: string | undefined) => ({
190
190
  r: import("viem").Hex;
191
191
  s: import("viem").Hex;
192
192
  v: bigint;
@@ -197,6 +197,7 @@ export declare const zkSync: Readonly<{
197
197
  value: bigint;
198
198
  blockHash: `0x${string}` | null;
199
199
  blockNumber: bigint | null;
200
+ blockTimestamp?: bigint | undefined;
200
201
  hash: import("viem").Hash;
201
202
  input: import("viem").Hex;
202
203
  transactionIndex: number | null;
@@ -216,6 +217,7 @@ export declare const zkSync: Readonly<{
216
217
  } | {
217
218
  blockHash: `0x${string}` | null;
218
219
  blockNumber: bigint | null;
220
+ blockTimestamp?: bigint | undefined;
219
221
  from: import("abitype").Address;
220
222
  gas: bigint;
221
223
  hash: import("viem").Hash;
@@ -243,6 +245,7 @@ export declare const zkSync: Readonly<{
243
245
  } | {
244
246
  blockHash: `0x${string}` | null;
245
247
  blockNumber: bigint | null;
248
+ blockTimestamp?: bigint | undefined;
246
249
  from: import("abitype").Address;
247
250
  gas: bigint;
248
251
  hash: import("viem").Hash;
@@ -270,6 +273,7 @@ export declare const zkSync: Readonly<{
270
273
  } | {
271
274
  blockHash: `0x${string}` | null;
272
275
  blockNumber: bigint | null;
276
+ blockTimestamp?: bigint | undefined;
273
277
  from: import("abitype").Address;
274
278
  gas: bigint;
275
279
  hash: import("viem").Hash;
@@ -297,6 +301,7 @@ export declare const zkSync: Readonly<{
297
301
  } | {
298
302
  blockHash: `0x${string}` | null;
299
303
  blockNumber: bigint | null;
304
+ blockTimestamp?: bigint | undefined;
300
305
  from: import("abitype").Address;
301
306
  gas: bigint;
302
307
  hash: import("viem").Hash;
@@ -324,6 +329,7 @@ export declare const zkSync: Readonly<{
324
329
  } | {
325
330
  blockHash: `0x${string}` | null;
326
331
  blockNumber: bigint | null;
332
+ blockTimestamp?: bigint | undefined;
327
333
  from: import("abitype").Address;
328
334
  gas: bigint;
329
335
  hash: import("viem").Hash;
@@ -347,6 +353,7 @@ export declare const zkSync: Readonly<{
347
353
  } | {
348
354
  blockHash: `0x${string}` | null;
349
355
  blockNumber: bigint | null;
356
+ blockTimestamp?: bigint | undefined;
350
357
  from: import("abitype").Address;
351
358
  gas: bigint;
352
359
  hash: import("viem").Hash;
@@ -372,16 +379,16 @@ export declare const zkSync: Readonly<{
372
379
  };
373
380
  readonly transactionReceipt: {
374
381
  exclude: [] | undefined;
375
- format: (args: import("viem/chains").ZkSyncRpcTransactionReceipt, action?: string | undefined) => {
376
- type: import("viem/chains").ZkSyncTransactionType;
382
+ format: (args: import("viem/zksync").ZkSyncRpcTransactionReceipt, action?: string | undefined) => {
383
+ type: import("viem/zksync").ZkSyncTransactionType;
377
384
  contractAddress: import("abitype").Address | null | undefined;
378
385
  to: import("abitype").Address | null;
379
386
  from: import("abitype").Address;
380
387
  blockHash: import("viem").Hash;
381
388
  blockNumber: bigint;
389
+ blockTimestamp?: bigint | undefined;
382
390
  transactionIndex: number;
383
391
  status: "success" | "reverted";
384
- blockTimestamp?: bigint | undefined;
385
392
  transactionHash: import("viem").Hash;
386
393
  logsBloom: import("viem").Hex;
387
394
  blobGasUsed?: bigint | undefined;
@@ -392,14 +399,14 @@ export declare const zkSync: Readonly<{
392
399
  root?: `0x${string}` | undefined;
393
400
  l1BatchNumber: bigint | null;
394
401
  l1BatchTxIndex: bigint | null;
395
- logs: import("viem/chains").ZkSyncLog[];
396
- l2ToL1Logs: import("viem/chains").ZkSyncL2ToL1Log[];
402
+ logs: import("viem/zksync").ZkSyncLog[];
403
+ l2ToL1Logs: import("viem/zksync").ZkSyncL2ToL1Log[];
397
404
  } & {};
398
405
  type: "transactionReceipt";
399
406
  };
400
407
  readonly transactionRequest: {
401
408
  exclude: ("paymaster" | "gasPerPubdata" | "factoryDeps" | "paymasterInput" | "customSignature")[] | undefined;
402
- format: (args: import("viem/chains").ZkSyncTransactionRequest, action?: string | undefined) => ({
409
+ format: (args: import("viem/zksync").ZkSyncTransactionRequest, action?: string | undefined) => ({
403
410
  data?: `0x${string}` | undefined;
404
411
  from?: `0x${string}` | undefined;
405
412
  gas?: `0x${string}` | undefined;
@@ -525,7 +532,7 @@ export declare const zkSync: Readonly<{
525
532
  maxFeePerBlobGas?: undefined | undefined;
526
533
  maxFeePerGas?: `0x${string}` | undefined;
527
534
  maxPriorityFeePerGas?: `0x${string}` | undefined;
528
- eip712Meta: import("viem/chains").ZkSyncEip712Meta;
535
+ eip712Meta: import("viem/zksync").ZkSyncEip712Meta;
529
536
  }) & {
530
537
  paymaster: never;
531
538
  gasPerPubdata: never;
@@ -537,8 +544,10 @@ export declare const zkSync: Readonly<{
537
544
  };
538
545
  };
539
546
  prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
547
+ client: import("viem").Client;
540
548
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
541
549
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
550
+ client: import("viem").Client;
542
551
  phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
543
552
  }) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
544
553
  runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];