@pimlico/alto 0.0.0-main.20250326T131157 → 0.0.0-main.20250326T205022

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 (97) hide show
  1. package/esm/cli/config/bundler.d.ts +12 -6
  2. package/esm/cli/config/bundler.js +2 -1
  3. package/esm/cli/config/bundler.js.map +1 -1
  4. package/esm/cli/config/options.js +8 -2
  5. package/esm/cli/config/options.js.map +1 -1
  6. package/esm/cli/deploySimulationsContract.d.ts +7 -2
  7. package/esm/cli/deploySimulationsContract.js +56 -19
  8. package/esm/cli/deploySimulationsContract.js.map +1 -1
  9. package/esm/cli/handler.js +21 -5
  10. package/esm/cli/handler.js.map +1 -1
  11. package/esm/executor/executorManager.js.map +1 -1
  12. package/esm/mempool/mempool.d.ts +38 -4
  13. package/esm/mempool/mempool.js +29 -4
  14. package/esm/mempool/mempool.js.map +1 -1
  15. package/esm/rpc/createMethodHandler.d.ts +1 -1
  16. package/esm/rpc/estimation/gasEstimationsV07.d.ts +5 -4
  17. package/esm/rpc/estimation/gasEstimationsV07.js +78 -31
  18. package/esm/rpc/estimation/gasEstimationsV07.js.map +1 -1
  19. package/esm/rpc/methods/debug_bundler_dumpMempool.d.ts +373 -44
  20. package/esm/rpc/methods/debug_bundler_getStakeStatus.js +11 -3
  21. package/esm/rpc/methods/debug_bundler_getStakeStatus.js.map +1 -1
  22. package/esm/rpc/methods/eth_estimateUserOperationGas.d.ts +686 -94
  23. package/esm/rpc/methods/eth_getUserOperationByHash.d.ts +671 -78
  24. package/esm/rpc/methods/eth_sendUserOperation.d.ts +336 -40
  25. package/esm/rpc/methods/eth_sendUserOperation.js +6 -1
  26. package/esm/rpc/methods/eth_sendUserOperation.js.map +1 -1
  27. package/esm/rpc/methods/pimlico_sendUserOperationNow.d.ts +336 -40
  28. package/esm/rpc/methods/pimlico_sendUserOperationNow.js +12 -2
  29. package/esm/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -1
  30. package/esm/rpc/rpcHandler.js +20 -4
  31. package/esm/rpc/rpcHandler.js.map +1 -1
  32. package/esm/rpc/validation/SafeValidator.js +5 -2
  33. package/esm/rpc/validation/SafeValidator.js.map +1 -1
  34. package/esm/rpc/validation/TracerResultParserV07.js +42 -20
  35. package/esm/rpc/validation/TracerResultParserV07.js.map +1 -1
  36. package/esm/store/createMemoryOutstandingStore.js +12 -2
  37. package/esm/store/createMemoryOutstandingStore.js.map +1 -1
  38. package/esm/store/createMempoolStore.js +10 -8
  39. package/esm/store/createMempoolStore.js.map +1 -1
  40. package/esm/types/contracts/PimlicoEntryPointSimulations.d.ts +2 -1
  41. package/esm/types/contracts/PimlicoEntryPointSimulations.js +2 -1
  42. package/esm/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
  43. package/esm/types/schemas.d.ts +11240 -5385
  44. package/esm/types/schemas.js +90 -8
  45. package/esm/types/schemas.js.map +1 -1
  46. package/esm/utils/userop.d.ts +23 -3
  47. package/esm/utils/userop.js +85 -7
  48. package/esm/utils/userop.js.map +1 -1
  49. package/lib/cli/config/bundler.d.ts +12 -6
  50. package/lib/cli/config/bundler.js +2 -1
  51. package/lib/cli/config/bundler.js.map +1 -1
  52. package/lib/cli/config/options.js +8 -2
  53. package/lib/cli/config/options.js.map +1 -1
  54. package/lib/cli/deploySimulationsContract.d.ts +7 -2
  55. package/lib/cli/deploySimulationsContract.js +55 -18
  56. package/lib/cli/deploySimulationsContract.js.map +1 -1
  57. package/lib/cli/handler.js +21 -5
  58. package/lib/cli/handler.js.map +1 -1
  59. package/lib/executor/executorManager.js.map +1 -1
  60. package/lib/mempool/mempool.d.ts +38 -4
  61. package/lib/mempool/mempool.js +29 -4
  62. package/lib/mempool/mempool.js.map +1 -1
  63. package/lib/rpc/createMethodHandler.d.ts +1 -1
  64. package/lib/rpc/estimation/gasEstimationsV07.d.ts +5 -4
  65. package/lib/rpc/estimation/gasEstimationsV07.js +77 -30
  66. package/lib/rpc/estimation/gasEstimationsV07.js.map +1 -1
  67. package/lib/rpc/methods/debug_bundler_dumpMempool.d.ts +373 -44
  68. package/lib/rpc/methods/debug_bundler_getStakeStatus.js +10 -2
  69. package/lib/rpc/methods/debug_bundler_getStakeStatus.js.map +1 -1
  70. package/lib/rpc/methods/eth_estimateUserOperationGas.d.ts +686 -94
  71. package/lib/rpc/methods/eth_getUserOperationByHash.d.ts +671 -78
  72. package/lib/rpc/methods/eth_sendUserOperation.d.ts +336 -40
  73. package/lib/rpc/methods/eth_sendUserOperation.js +6 -1
  74. package/lib/rpc/methods/eth_sendUserOperation.js.map +1 -1
  75. package/lib/rpc/methods/pimlico_sendUserOperationNow.d.ts +336 -40
  76. package/lib/rpc/methods/pimlico_sendUserOperationNow.js +12 -2
  77. package/lib/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -1
  78. package/lib/rpc/rpcHandler.js +20 -4
  79. package/lib/rpc/rpcHandler.js.map +1 -1
  80. package/lib/rpc/validation/SafeValidator.js +4 -1
  81. package/lib/rpc/validation/SafeValidator.js.map +1 -1
  82. package/lib/rpc/validation/TracerResultParserV07.js +41 -19
  83. package/lib/rpc/validation/TracerResultParserV07.js.map +1 -1
  84. package/lib/store/createMemoryOutstandingStore.js +12 -2
  85. package/lib/store/createMemoryOutstandingStore.js.map +1 -1
  86. package/lib/store/createMempoolStore.js +10 -8
  87. package/lib/store/createMempoolStore.js.map +1 -1
  88. package/lib/types/contracts/PimlicoEntryPointSimulations.d.ts +2 -1
  89. package/lib/types/contracts/PimlicoEntryPointSimulations.js +3 -2
  90. package/lib/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
  91. package/lib/types/schemas.d.ts +11240 -5385
  92. package/lib/types/schemas.js +90 -8
  93. package/lib/types/schemas.js.map +1 -1
  94. package/lib/utils/userop.d.ts +23 -3
  95. package/lib/utils/userop.js +87 -7
  96. package/lib/utils/userop.js.map +1 -1
  97. package/package.json +2 -2
@@ -19,7 +19,7 @@ export declare const pimlicoSendUserOperationNowHandler: {
19
19
  nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
20
20
  r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
21
21
  s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
22
- v: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
22
+ v: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
23
23
  yParity: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
24
24
  }, "strip", import("zod").ZodTypeAny, {
25
25
  nonce: number;
@@ -27,23 +27,23 @@ export declare const pimlicoSendUserOperationNowHandler: {
27
27
  chainId: number;
28
28
  r: `0x${string}`;
29
29
  s: `0x${string}`;
30
- v: bigint;
31
30
  yParity: number;
31
+ v?: bigint | undefined;
32
32
  }, {
33
33
  nonce: string | number | bigint;
34
34
  contractAddress: string;
35
35
  chainId: string | number | bigint;
36
36
  r: string;
37
37
  s: string;
38
- v: string | number | bigint;
39
38
  yParity: string | number | bigint;
39
+ v?: string | number | bigint | undefined;
40
40
  }>, import("zod").ZodObject<{
41
41
  address: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
42
42
  chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
43
43
  nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
44
44
  r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
45
45
  s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
46
- v: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
46
+ v: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
47
47
  yParity: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
48
48
  }, "strip", import("zod").ZodTypeAny, {
49
49
  address: `0x${string}`;
@@ -51,16 +51,16 @@ export declare const pimlicoSendUserOperationNowHandler: {
51
51
  chainId: number;
52
52
  r: `0x${string}`;
53
53
  s: `0x${string}`;
54
- v: bigint;
55
54
  yParity: number;
55
+ v?: bigint | undefined;
56
56
  }, {
57
57
  address: string;
58
58
  nonce: string | number | bigint;
59
59
  chainId: string | number | bigint;
60
60
  r: string;
61
61
  s: string;
62
- v: string | number | bigint;
63
62
  yParity: string | number | bigint;
63
+ v?: string | number | bigint | undefined;
64
64
  }>]>>>;
65
65
  }, "strict", import("zod").ZodTypeAny, {
66
66
  sender: `0x${string}`;
@@ -80,16 +80,16 @@ export declare const pimlicoSendUserOperationNowHandler: {
80
80
  chainId: number;
81
81
  r: `0x${string}`;
82
82
  s: `0x${string}`;
83
- v: bigint;
84
83
  yParity: number;
84
+ v?: bigint | undefined;
85
85
  } | {
86
86
  address: `0x${string}`;
87
87
  nonce: number;
88
88
  chainId: number;
89
89
  r: `0x${string}`;
90
90
  s: `0x${string}`;
91
- v: bigint;
92
91
  yParity: number;
92
+ v?: bigint | undefined;
93
93
  } | null | undefined;
94
94
  }, {
95
95
  sender: string;
@@ -109,16 +109,16 @@ export declare const pimlicoSendUserOperationNowHandler: {
109
109
  chainId: string | number | bigint;
110
110
  r: string;
111
111
  s: string;
112
- v: string | number | bigint;
113
112
  yParity: string | number | bigint;
113
+ v?: string | number | bigint | undefined;
114
114
  } | {
115
115
  address: string;
116
116
  nonce: string | number | bigint;
117
117
  chainId: string | number | bigint;
118
118
  r: string;
119
119
  s: string;
120
- v: string | number | bigint;
121
120
  yParity: string | number | bigint;
121
+ v?: string | number | bigint | undefined;
122
122
  } | null | undefined;
123
123
  }>, {
124
124
  sender: `0x${string}`;
@@ -138,16 +138,16 @@ export declare const pimlicoSendUserOperationNowHandler: {
138
138
  chainId: number;
139
139
  r: `0x${string}`;
140
140
  s: `0x${string}`;
141
- v: bigint;
142
141
  yParity: number;
142
+ v?: bigint | undefined;
143
143
  } | {
144
144
  address: `0x${string}`;
145
145
  nonce: number;
146
146
  chainId: number;
147
147
  r: `0x${string}`;
148
148
  s: `0x${string}`;
149
- v: bigint;
150
149
  yParity: number;
150
+ v?: bigint | undefined;
151
151
  } | null | undefined;
152
152
  }, {
153
153
  sender: string;
@@ -167,16 +167,16 @@ export declare const pimlicoSendUserOperationNowHandler: {
167
167
  chainId: string | number | bigint;
168
168
  r: string;
169
169
  s: string;
170
- v: string | number | bigint;
171
170
  yParity: string | number | bigint;
171
+ v?: string | number | bigint | undefined;
172
172
  } | {
173
173
  address: string;
174
174
  nonce: string | number | bigint;
175
175
  chainId: string | number | bigint;
176
176
  r: string;
177
177
  s: string;
178
- v: string | number | bigint;
179
178
  yParity: string | number | bigint;
179
+ v?: string | number | bigint | undefined;
180
180
  } | null | undefined;
181
181
  }>, import("zod").ZodEffects<import("zod").ZodObject<{
182
182
  sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
@@ -200,7 +200,7 @@ export declare const pimlicoSendUserOperationNowHandler: {
200
200
  nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
201
201
  r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
202
202
  s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
203
- v: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
203
+ v: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
204
204
  yParity: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
205
205
  }, "strip", import("zod").ZodTypeAny, {
206
206
  nonce: number;
@@ -208,23 +208,23 @@ export declare const pimlicoSendUserOperationNowHandler: {
208
208
  chainId: number;
209
209
  r: `0x${string}`;
210
210
  s: `0x${string}`;
211
- v: bigint;
212
211
  yParity: number;
212
+ v?: bigint | undefined;
213
213
  }, {
214
214
  nonce: string | number | bigint;
215
215
  contractAddress: string;
216
216
  chainId: string | number | bigint;
217
217
  r: string;
218
218
  s: string;
219
- v: string | number | bigint;
220
219
  yParity: string | number | bigint;
220
+ v?: string | number | bigint | undefined;
221
221
  }>, import("zod").ZodObject<{
222
222
  address: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
223
223
  chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
224
224
  nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
225
225
  r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
226
226
  s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
227
- v: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
227
+ v: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
228
228
  yParity: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
229
229
  }, "strip", import("zod").ZodTypeAny, {
230
230
  address: `0x${string}`;
@@ -232,16 +232,16 @@ export declare const pimlicoSendUserOperationNowHandler: {
232
232
  chainId: number;
233
233
  r: `0x${string}`;
234
234
  s: `0x${string}`;
235
- v: bigint;
236
235
  yParity: number;
236
+ v?: bigint | undefined;
237
237
  }, {
238
238
  address: string;
239
239
  nonce: string | number | bigint;
240
240
  chainId: string | number | bigint;
241
241
  r: string;
242
242
  s: string;
243
- v: string | number | bigint;
244
243
  yParity: string | number | bigint;
244
+ v?: string | number | bigint | undefined;
245
245
  }>]>>>;
246
246
  }, "strict", import("zod").ZodTypeAny, {
247
247
  sender: `0x${string}`;
@@ -265,16 +265,16 @@ export declare const pimlicoSendUserOperationNowHandler: {
265
265
  chainId: number;
266
266
  r: `0x${string}`;
267
267
  s: `0x${string}`;
268
- v: bigint;
269
268
  yParity: number;
269
+ v?: bigint | undefined;
270
270
  } | {
271
271
  address: `0x${string}`;
272
272
  nonce: number;
273
273
  chainId: number;
274
274
  r: `0x${string}`;
275
275
  s: `0x${string}`;
276
- v: bigint;
277
276
  yParity: number;
277
+ v?: bigint | undefined;
278
278
  } | null | undefined;
279
279
  }, {
280
280
  sender: string;
@@ -298,16 +298,16 @@ export declare const pimlicoSendUserOperationNowHandler: {
298
298
  chainId: string | number | bigint;
299
299
  r: string;
300
300
  s: string;
301
- v: string | number | bigint;
302
301
  yParity: string | number | bigint;
302
+ v?: string | number | bigint | undefined;
303
303
  } | {
304
304
  address: string;
305
305
  nonce: string | number | bigint;
306
306
  chainId: string | number | bigint;
307
307
  r: string;
308
308
  s: string;
309
- v: string | number | bigint;
310
309
  yParity: string | number | bigint;
310
+ v?: string | number | bigint | undefined;
311
311
  } | null | undefined;
312
312
  }>, {
313
313
  sender: `0x${string}`;
@@ -331,16 +331,16 @@ export declare const pimlicoSendUserOperationNowHandler: {
331
331
  chainId: number;
332
332
  r: `0x${string}`;
333
333
  s: `0x${string}`;
334
- v: bigint;
335
334
  yParity: number;
335
+ v?: bigint | undefined;
336
336
  } | {
337
337
  address: `0x${string}`;
338
338
  nonce: number;
339
339
  chainId: number;
340
340
  r: `0x${string}`;
341
341
  s: `0x${string}`;
342
- v: bigint;
343
342
  yParity: number;
343
+ v?: bigint | undefined;
344
344
  } | null | undefined;
345
345
  }, {
346
346
  sender: string;
@@ -364,16 +364,213 @@ export declare const pimlicoSendUserOperationNowHandler: {
364
364
  chainId: string | number | bigint;
365
365
  r: string;
366
366
  s: string;
367
- v: string | number | bigint;
368
367
  yParity: string | number | bigint;
368
+ v?: string | number | bigint | undefined;
369
369
  } | {
370
370
  address: string;
371
371
  nonce: string | number | bigint;
372
372
  chainId: string | number | bigint;
373
373
  r: string;
374
374
  s: string;
375
- v: string | number | bigint;
376
375
  yParity: string | number | bigint;
376
+ v?: string | number | bigint | undefined;
377
+ } | null | undefined;
378
+ }>, import("zod").ZodEffects<import("zod").ZodObject<{
379
+ sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
380
+ nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
381
+ factory: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, import("zod").ZodLiteral<"0x7702">]>>>, `0x${string}` | null, string | null | undefined>;
382
+ factoryData: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
383
+ callData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
384
+ callGasLimit: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
385
+ verificationGasLimit: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
386
+ preVerificationGas: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
387
+ maxFeePerGas: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
388
+ maxPriorityFeePerGas: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
389
+ paymaster: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
390
+ paymasterVerificationGasLimit: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
391
+ paymasterPostOpGasLimit: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
392
+ paymasterData: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
393
+ signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
394
+ eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
395
+ contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
396
+ chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
397
+ nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
398
+ r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
399
+ s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
400
+ v: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
401
+ yParity: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
402
+ }, "strip", import("zod").ZodTypeAny, {
403
+ nonce: number;
404
+ contractAddress: `0x${string}`;
405
+ chainId: number;
406
+ r: `0x${string}`;
407
+ s: `0x${string}`;
408
+ yParity: number;
409
+ v?: bigint | undefined;
410
+ }, {
411
+ nonce: string | number | bigint;
412
+ contractAddress: string;
413
+ chainId: string | number | bigint;
414
+ r: string;
415
+ s: string;
416
+ yParity: string | number | bigint;
417
+ v?: string | number | bigint | undefined;
418
+ }>, import("zod").ZodObject<{
419
+ address: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
420
+ chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
421
+ nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
422
+ r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
423
+ s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
424
+ v: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
425
+ yParity: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
426
+ }, "strip", import("zod").ZodTypeAny, {
427
+ address: `0x${string}`;
428
+ nonce: number;
429
+ chainId: number;
430
+ r: `0x${string}`;
431
+ s: `0x${string}`;
432
+ yParity: number;
433
+ v?: bigint | undefined;
434
+ }, {
435
+ address: string;
436
+ nonce: string | number | bigint;
437
+ chainId: string | number | bigint;
438
+ r: string;
439
+ s: string;
440
+ yParity: string | number | bigint;
441
+ v?: string | number | bigint | undefined;
442
+ }>]>>>;
443
+ }, "strict", import("zod").ZodTypeAny, {
444
+ sender: `0x${string}`;
445
+ factory: `0x${string}` | null;
446
+ paymaster: `0x${string}` | null;
447
+ nonce: bigint;
448
+ callData: `0x${string}`;
449
+ callGasLimit: bigint;
450
+ verificationGasLimit: bigint;
451
+ preVerificationGas: bigint;
452
+ maxFeePerGas: bigint;
453
+ maxPriorityFeePerGas: bigint;
454
+ signature: `0x${string}`;
455
+ paymasterVerificationGasLimit: bigint | null;
456
+ paymasterPostOpGasLimit: bigint | null;
457
+ factoryData: `0x${string}` | null;
458
+ paymasterData: `0x${string}` | null;
459
+ eip7702Auth?: {
460
+ nonce: number;
461
+ contractAddress: `0x${string}`;
462
+ chainId: number;
463
+ r: `0x${string}`;
464
+ s: `0x${string}`;
465
+ yParity: number;
466
+ v?: bigint | undefined;
467
+ } | {
468
+ address: `0x${string}`;
469
+ nonce: number;
470
+ chainId: number;
471
+ r: `0x${string}`;
472
+ s: `0x${string}`;
473
+ yParity: number;
474
+ v?: bigint | undefined;
475
+ } | null | undefined;
476
+ }, {
477
+ sender: string;
478
+ nonce: string | number | bigint;
479
+ callData: string;
480
+ callGasLimit: string | number | bigint;
481
+ verificationGasLimit: string | number | bigint;
482
+ preVerificationGas: string | number | bigint;
483
+ maxFeePerGas: string | number | bigint;
484
+ maxPriorityFeePerGas: string | number | bigint;
485
+ signature: string;
486
+ factory?: string | null | undefined;
487
+ factoryData?: string | null | undefined;
488
+ paymaster?: string | null | undefined;
489
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
490
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
491
+ paymasterData?: string | null | undefined;
492
+ eip7702Auth?: {
493
+ nonce: string | number | bigint;
494
+ contractAddress: string;
495
+ chainId: string | number | bigint;
496
+ r: string;
497
+ s: string;
498
+ yParity: string | number | bigint;
499
+ v?: string | number | bigint | undefined;
500
+ } | {
501
+ address: string;
502
+ nonce: string | number | bigint;
503
+ chainId: string | number | bigint;
504
+ r: string;
505
+ s: string;
506
+ yParity: string | number | bigint;
507
+ v?: string | number | bigint | undefined;
508
+ } | null | undefined;
509
+ }>, {
510
+ sender: `0x${string}`;
511
+ factory: `0x${string}` | null;
512
+ paymaster: `0x${string}` | null;
513
+ nonce: bigint;
514
+ callData: `0x${string}`;
515
+ callGasLimit: bigint;
516
+ verificationGasLimit: bigint;
517
+ preVerificationGas: bigint;
518
+ maxFeePerGas: bigint;
519
+ maxPriorityFeePerGas: bigint;
520
+ signature: `0x${string}`;
521
+ paymasterVerificationGasLimit: bigint | null;
522
+ paymasterPostOpGasLimit: bigint | null;
523
+ factoryData: `0x${string}` | null;
524
+ paymasterData: `0x${string}` | null;
525
+ eip7702Auth?: {
526
+ nonce: number;
527
+ contractAddress: `0x${string}`;
528
+ chainId: number;
529
+ r: `0x${string}`;
530
+ s: `0x${string}`;
531
+ yParity: number;
532
+ v?: bigint | undefined;
533
+ } | {
534
+ address: `0x${string}`;
535
+ nonce: number;
536
+ chainId: number;
537
+ r: `0x${string}`;
538
+ s: `0x${string}`;
539
+ yParity: number;
540
+ v?: bigint | undefined;
541
+ } | null | undefined;
542
+ }, {
543
+ sender: string;
544
+ nonce: string | number | bigint;
545
+ callData: string;
546
+ callGasLimit: string | number | bigint;
547
+ verificationGasLimit: string | number | bigint;
548
+ preVerificationGas: string | number | bigint;
549
+ maxFeePerGas: string | number | bigint;
550
+ maxPriorityFeePerGas: string | number | bigint;
551
+ signature: string;
552
+ factory?: string | null | undefined;
553
+ factoryData?: string | null | undefined;
554
+ paymaster?: string | null | undefined;
555
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
556
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
557
+ paymasterData?: string | null | undefined;
558
+ eip7702Auth?: {
559
+ nonce: string | number | bigint;
560
+ contractAddress: string;
561
+ chainId: string | number | bigint;
562
+ r: string;
563
+ s: string;
564
+ yParity: string | number | bigint;
565
+ v?: string | number | bigint | undefined;
566
+ } | {
567
+ address: string;
568
+ nonce: string | number | bigint;
569
+ chainId: string | number | bigint;
570
+ r: string;
571
+ s: string;
572
+ yParity: string | number | bigint;
573
+ v?: string | number | bigint | undefined;
377
574
  } | null | undefined;
378
575
  }>]>, import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>], null>;
379
576
  result: import("zod").ZodUnion<[import("zod").ZodObject<{
@@ -655,16 +852,16 @@ export declare const pimlicoSendUserOperationNowHandler: {
655
852
  chainId: number;
656
853
  r: `0x${string}`;
657
854
  s: `0x${string}`;
658
- v: bigint;
659
855
  yParity: number;
856
+ v?: bigint | undefined;
660
857
  } | {
661
858
  address: `0x${string}`;
662
859
  nonce: number;
663
860
  chainId: number;
664
861
  r: `0x${string}`;
665
862
  s: `0x${string}`;
666
- v: bigint;
667
863
  yParity: number;
864
+ v?: bigint | undefined;
668
865
  } | null | undefined;
669
866
  } | {
670
867
  sender: `0x${string}`;
@@ -688,16 +885,49 @@ export declare const pimlicoSendUserOperationNowHandler: {
688
885
  chainId: number;
689
886
  r: `0x${string}`;
690
887
  s: `0x${string}`;
691
- v: bigint;
692
888
  yParity: number;
889
+ v?: bigint | undefined;
693
890
  } | {
694
891
  address: `0x${string}`;
695
892
  nonce: number;
696
893
  chainId: number;
697
894
  r: `0x${string}`;
698
895
  s: `0x${string}`;
699
- v: bigint;
700
896
  yParity: number;
897
+ v?: bigint | undefined;
898
+ } | null | undefined;
899
+ } | {
900
+ sender: `0x${string}`;
901
+ factory: `0x${string}` | null;
902
+ paymaster: `0x${string}` | null;
903
+ nonce: bigint;
904
+ callData: `0x${string}`;
905
+ callGasLimit: bigint;
906
+ verificationGasLimit: bigint;
907
+ preVerificationGas: bigint;
908
+ maxFeePerGas: bigint;
909
+ maxPriorityFeePerGas: bigint;
910
+ signature: `0x${string}`;
911
+ paymasterVerificationGasLimit: bigint | null;
912
+ paymasterPostOpGasLimit: bigint | null;
913
+ factoryData: `0x${string}` | null;
914
+ paymasterData: `0x${string}` | null;
915
+ eip7702Auth?: {
916
+ nonce: number;
917
+ contractAddress: `0x${string}`;
918
+ chainId: number;
919
+ r: `0x${string}`;
920
+ s: `0x${string}`;
921
+ yParity: number;
922
+ v?: bigint | undefined;
923
+ } | {
924
+ address: `0x${string}`;
925
+ nonce: number;
926
+ chainId: number;
927
+ r: `0x${string}`;
928
+ s: `0x${string}`;
929
+ yParity: number;
930
+ v?: bigint | undefined;
701
931
  } | null | undefined;
702
932
  }, `0x${string}`];
703
933
  method: "pimlico_sendUserOperationNow";
@@ -765,16 +995,49 @@ export declare const pimlicoSendUserOperationNowHandler: {
765
995
  chainId: string | number | bigint;
766
996
  r: string;
767
997
  s: string;
768
- v: string | number | bigint;
769
998
  yParity: string | number | bigint;
999
+ v?: string | number | bigint | undefined;
1000
+ } | {
1001
+ address: string;
1002
+ nonce: string | number | bigint;
1003
+ chainId: string | number | bigint;
1004
+ r: string;
1005
+ s: string;
1006
+ yParity: string | number | bigint;
1007
+ v?: string | number | bigint | undefined;
1008
+ } | null | undefined;
1009
+ } | {
1010
+ sender: string;
1011
+ nonce: string | number | bigint;
1012
+ callData: string;
1013
+ callGasLimit: string | number | bigint;
1014
+ verificationGasLimit: string | number | bigint;
1015
+ preVerificationGas: string | number | bigint;
1016
+ maxFeePerGas: string | number | bigint;
1017
+ maxPriorityFeePerGas: string | number | bigint;
1018
+ signature: string;
1019
+ factory?: string | null | undefined;
1020
+ factoryData?: string | null | undefined;
1021
+ paymaster?: string | null | undefined;
1022
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1023
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1024
+ paymasterData?: string | null | undefined;
1025
+ eip7702Auth?: {
1026
+ nonce: string | number | bigint;
1027
+ contractAddress: string;
1028
+ chainId: string | number | bigint;
1029
+ r: string;
1030
+ s: string;
1031
+ yParity: string | number | bigint;
1032
+ v?: string | number | bigint | undefined;
770
1033
  } | {
771
1034
  address: string;
772
1035
  nonce: string | number | bigint;
773
1036
  chainId: string | number | bigint;
774
1037
  r: string;
775
1038
  s: string;
776
- v: string | number | bigint;
777
1039
  yParity: string | number | bigint;
1040
+ v?: string | number | bigint | undefined;
778
1041
  } | null | undefined;
779
1042
  } | {
780
1043
  sender: string;
@@ -798,16 +1061,16 @@ export declare const pimlicoSendUserOperationNowHandler: {
798
1061
  chainId: string | number | bigint;
799
1062
  r: string;
800
1063
  s: string;
801
- v: string | number | bigint;
802
1064
  yParity: string | number | bigint;
1065
+ v?: string | number | bigint | undefined;
803
1066
  } | {
804
1067
  address: string;
805
1068
  nonce: string | number | bigint;
806
1069
  chainId: string | number | bigint;
807
1070
  r: string;
808
1071
  s: string;
809
- v: string | number | bigint;
810
1072
  yParity: string | number | bigint;
1073
+ v?: string | number | bigint | undefined;
811
1074
  } | null | undefined;
812
1075
  }, string];
813
1076
  method: "pimlico_sendUserOperationNow";
@@ -833,16 +1096,49 @@ export declare const pimlicoSendUserOperationNowHandler: {
833
1096
  chainId: number;
834
1097
  r: `0x${string}`;
835
1098
  s: `0x${string}`;
836
- v: bigint;
837
1099
  yParity: number;
1100
+ v?: bigint | undefined;
1101
+ } | {
1102
+ address: `0x${string}`;
1103
+ nonce: number;
1104
+ chainId: number;
1105
+ r: `0x${string}`;
1106
+ s: `0x${string}`;
1107
+ yParity: number;
1108
+ v?: bigint | undefined;
1109
+ } | null | undefined;
1110
+ }> | import("type-fest/source/readonly-deep").ReadonlyObjectDeep<{
1111
+ sender: `0x${string}`;
1112
+ factory: `0x${string}` | null;
1113
+ paymaster: `0x${string}` | null;
1114
+ nonce: bigint;
1115
+ callData: `0x${string}`;
1116
+ callGasLimit: bigint;
1117
+ verificationGasLimit: bigint;
1118
+ preVerificationGas: bigint;
1119
+ maxFeePerGas: bigint;
1120
+ maxPriorityFeePerGas: bigint;
1121
+ signature: `0x${string}`;
1122
+ paymasterVerificationGasLimit: bigint | null;
1123
+ paymasterPostOpGasLimit: bigint | null;
1124
+ factoryData: `0x${string}` | null;
1125
+ paymasterData: `0x${string}` | null;
1126
+ eip7702Auth?: {
1127
+ nonce: number;
1128
+ contractAddress: `0x${string}`;
1129
+ chainId: number;
1130
+ r: `0x${string}`;
1131
+ s: `0x${string}`;
1132
+ yParity: number;
1133
+ v?: bigint | undefined;
838
1134
  } | {
839
1135
  address: `0x${string}`;
840
1136
  nonce: number;
841
1137
  chainId: number;
842
1138
  r: `0x${string}`;
843
1139
  s: `0x${string}`;
844
- v: bigint;
845
1140
  yParity: number;
1141
+ v?: bigint | undefined;
846
1142
  } | null | undefined;
847
1143
  }> | import("type-fest/source/readonly-deep").ReadonlyObjectDeep<{
848
1144
  sender: `0x${string}`;
@@ -866,16 +1162,16 @@ export declare const pimlicoSendUserOperationNowHandler: {
866
1162
  chainId: number;
867
1163
  r: `0x${string}`;
868
1164
  s: `0x${string}`;
869
- v: bigint;
870
1165
  yParity: number;
1166
+ v?: bigint | undefined;
871
1167
  } | {
872
1168
  address: `0x${string}`;
873
1169
  nonce: number;
874
1170
  chainId: number;
875
1171
  r: `0x${string}`;
876
1172
  s: `0x${string}`;
877
- v: bigint;
878
1173
  yParity: number;
1174
+ v?: bigint | undefined;
879
1175
  } | null | undefined;
880
1176
  }>, `0x${string}`];
881
1177
  apiVersion: import("../../types/index.js").ApiVersion;