@pimlico/alto 0.0.0-main.20250325T180358 → 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 (107) 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/executor.js +1 -1
  12. package/esm/executor/executor.js.map +1 -1
  13. package/esm/executor/executorManager.js.map +1 -1
  14. package/esm/executor/utils.d.ts +1 -1
  15. package/esm/executor/utils.js +24 -2
  16. package/esm/executor/utils.js.map +1 -1
  17. package/esm/mempool/mempool.d.ts +38 -4
  18. package/esm/mempool/mempool.js +29 -4
  19. package/esm/mempool/mempool.js.map +1 -1
  20. package/esm/rpc/createMethodHandler.d.ts +1 -1
  21. package/esm/rpc/estimation/gasEstimationsV07.d.ts +5 -4
  22. package/esm/rpc/estimation/gasEstimationsV07.js +78 -31
  23. package/esm/rpc/estimation/gasEstimationsV07.js.map +1 -1
  24. package/esm/rpc/methods/debug_bundler_dumpMempool.d.ts +373 -44
  25. package/esm/rpc/methods/debug_bundler_getStakeStatus.js +11 -3
  26. package/esm/rpc/methods/debug_bundler_getStakeStatus.js.map +1 -1
  27. package/esm/rpc/methods/eth_estimateUserOperationGas.d.ts +686 -94
  28. package/esm/rpc/methods/eth_getUserOperationByHash.d.ts +671 -78
  29. package/esm/rpc/methods/eth_sendUserOperation.d.ts +336 -40
  30. package/esm/rpc/methods/eth_sendUserOperation.js +6 -1
  31. package/esm/rpc/methods/eth_sendUserOperation.js.map +1 -1
  32. package/esm/rpc/methods/pimlico_sendUserOperationNow.d.ts +336 -40
  33. package/esm/rpc/methods/pimlico_sendUserOperationNow.js +12 -2
  34. package/esm/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -1
  35. package/esm/rpc/rpcHandler.js +20 -4
  36. package/esm/rpc/rpcHandler.js.map +1 -1
  37. package/esm/rpc/validation/SafeValidator.js +5 -2
  38. package/esm/rpc/validation/SafeValidator.js.map +1 -1
  39. package/esm/rpc/validation/TracerResultParserV07.js +42 -20
  40. package/esm/rpc/validation/TracerResultParserV07.js.map +1 -1
  41. package/esm/store/createMemoryOutstandingStore.js +12 -2
  42. package/esm/store/createMemoryOutstandingStore.js.map +1 -1
  43. package/esm/store/createMempoolStore.js +10 -8
  44. package/esm/store/createMempoolStore.js.map +1 -1
  45. package/esm/types/contracts/PimlicoEntryPointSimulations.d.ts +2 -1
  46. package/esm/types/contracts/PimlicoEntryPointSimulations.js +2 -1
  47. package/esm/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
  48. package/esm/types/schemas.d.ts +11240 -5385
  49. package/esm/types/schemas.js +90 -8
  50. package/esm/types/schemas.js.map +1 -1
  51. package/esm/utils/userop.d.ts +23 -3
  52. package/esm/utils/userop.js +85 -7
  53. package/esm/utils/userop.js.map +1 -1
  54. package/lib/cli/config/bundler.d.ts +12 -6
  55. package/lib/cli/config/bundler.js +2 -1
  56. package/lib/cli/config/bundler.js.map +1 -1
  57. package/lib/cli/config/options.js +8 -2
  58. package/lib/cli/config/options.js.map +1 -1
  59. package/lib/cli/deploySimulationsContract.d.ts +7 -2
  60. package/lib/cli/deploySimulationsContract.js +55 -18
  61. package/lib/cli/deploySimulationsContract.js.map +1 -1
  62. package/lib/cli/handler.js +21 -5
  63. package/lib/cli/handler.js.map +1 -1
  64. package/lib/executor/executor.js +1 -1
  65. package/lib/executor/executor.js.map +1 -1
  66. package/lib/executor/executorManager.js.map +1 -1
  67. package/lib/executor/utils.d.ts +1 -1
  68. package/lib/executor/utils.js +23 -1
  69. package/lib/executor/utils.js.map +1 -1
  70. package/lib/mempool/mempool.d.ts +38 -4
  71. package/lib/mempool/mempool.js +29 -4
  72. package/lib/mempool/mempool.js.map +1 -1
  73. package/lib/rpc/createMethodHandler.d.ts +1 -1
  74. package/lib/rpc/estimation/gasEstimationsV07.d.ts +5 -4
  75. package/lib/rpc/estimation/gasEstimationsV07.js +77 -30
  76. package/lib/rpc/estimation/gasEstimationsV07.js.map +1 -1
  77. package/lib/rpc/methods/debug_bundler_dumpMempool.d.ts +373 -44
  78. package/lib/rpc/methods/debug_bundler_getStakeStatus.js +10 -2
  79. package/lib/rpc/methods/debug_bundler_getStakeStatus.js.map +1 -1
  80. package/lib/rpc/methods/eth_estimateUserOperationGas.d.ts +686 -94
  81. package/lib/rpc/methods/eth_getUserOperationByHash.d.ts +671 -78
  82. package/lib/rpc/methods/eth_sendUserOperation.d.ts +336 -40
  83. package/lib/rpc/methods/eth_sendUserOperation.js +6 -1
  84. package/lib/rpc/methods/eth_sendUserOperation.js.map +1 -1
  85. package/lib/rpc/methods/pimlico_sendUserOperationNow.d.ts +336 -40
  86. package/lib/rpc/methods/pimlico_sendUserOperationNow.js +12 -2
  87. package/lib/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -1
  88. package/lib/rpc/rpcHandler.js +20 -4
  89. package/lib/rpc/rpcHandler.js.map +1 -1
  90. package/lib/rpc/validation/SafeValidator.js +4 -1
  91. package/lib/rpc/validation/SafeValidator.js.map +1 -1
  92. package/lib/rpc/validation/TracerResultParserV07.js +41 -19
  93. package/lib/rpc/validation/TracerResultParserV07.js.map +1 -1
  94. package/lib/store/createMemoryOutstandingStore.js +12 -2
  95. package/lib/store/createMemoryOutstandingStore.js.map +1 -1
  96. package/lib/store/createMempoolStore.js +10 -8
  97. package/lib/store/createMempoolStore.js.map +1 -1
  98. package/lib/types/contracts/PimlicoEntryPointSimulations.d.ts +2 -1
  99. package/lib/types/contracts/PimlicoEntryPointSimulations.js +3 -2
  100. package/lib/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
  101. package/lib/types/schemas.d.ts +11240 -5385
  102. package/lib/types/schemas.js +90 -8
  103. package/lib/types/schemas.js.map +1 -1
  104. package/lib/utils/userop.d.ts +23 -3
  105. package/lib/utils/userop.js +87 -7
  106. package/lib/utils/userop.js.map +1 -1
  107. package/package.json +2 -2
@@ -19,7 +19,7 @@ export declare const ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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 ethSendUserOperationHandler: {
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").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
@@ -397,16 +594,16 @@ export declare const ethSendUserOperationHandler: {
397
594
  chainId: number;
398
595
  r: `0x${string}`;
399
596
  s: `0x${string}`;
400
- v: bigint;
401
597
  yParity: number;
598
+ v?: bigint | undefined;
402
599
  } | {
403
600
  address: `0x${string}`;
404
601
  nonce: number;
405
602
  chainId: number;
406
603
  r: `0x${string}`;
407
604
  s: `0x${string}`;
408
- v: bigint;
409
605
  yParity: number;
606
+ v?: bigint | undefined;
410
607
  } | null | undefined;
411
608
  } | {
412
609
  sender: `0x${string}`;
@@ -430,16 +627,49 @@ export declare const ethSendUserOperationHandler: {
430
627
  chainId: number;
431
628
  r: `0x${string}`;
432
629
  s: `0x${string}`;
433
- v: bigint;
434
630
  yParity: number;
631
+ v?: bigint | undefined;
435
632
  } | {
436
633
  address: `0x${string}`;
437
634
  nonce: number;
438
635
  chainId: number;
439
636
  r: `0x${string}`;
440
637
  s: `0x${string}`;
441
- v: bigint;
442
638
  yParity: number;
639
+ v?: bigint | undefined;
640
+ } | null | undefined;
641
+ } | {
642
+ sender: `0x${string}`;
643
+ factory: `0x${string}` | null;
644
+ paymaster: `0x${string}` | null;
645
+ nonce: bigint;
646
+ callData: `0x${string}`;
647
+ callGasLimit: bigint;
648
+ verificationGasLimit: bigint;
649
+ preVerificationGas: bigint;
650
+ maxFeePerGas: bigint;
651
+ maxPriorityFeePerGas: bigint;
652
+ signature: `0x${string}`;
653
+ paymasterVerificationGasLimit: bigint | null;
654
+ paymasterPostOpGasLimit: bigint | null;
655
+ factoryData: `0x${string}` | null;
656
+ paymasterData: `0x${string}` | null;
657
+ eip7702Auth?: {
658
+ nonce: number;
659
+ contractAddress: `0x${string}`;
660
+ chainId: number;
661
+ r: `0x${string}`;
662
+ s: `0x${string}`;
663
+ yParity: number;
664
+ v?: bigint | undefined;
665
+ } | {
666
+ address: `0x${string}`;
667
+ nonce: number;
668
+ chainId: number;
669
+ r: `0x${string}`;
670
+ s: `0x${string}`;
671
+ yParity: number;
672
+ v?: bigint | undefined;
443
673
  } | null | undefined;
444
674
  }, `0x${string}`];
445
675
  method: "eth_sendUserOperation";
@@ -463,16 +693,49 @@ export declare const ethSendUserOperationHandler: {
463
693
  chainId: string | number | bigint;
464
694
  r: string;
465
695
  s: string;
466
- v: string | number | bigint;
467
696
  yParity: string | number | bigint;
697
+ v?: string | number | bigint | undefined;
698
+ } | {
699
+ address: string;
700
+ nonce: string | number | bigint;
701
+ chainId: string | number | bigint;
702
+ r: string;
703
+ s: string;
704
+ yParity: string | number | bigint;
705
+ v?: string | number | bigint | undefined;
706
+ } | null | undefined;
707
+ } | {
708
+ sender: string;
709
+ nonce: string | number | bigint;
710
+ callData: string;
711
+ callGasLimit: string | number | bigint;
712
+ verificationGasLimit: string | number | bigint;
713
+ preVerificationGas: string | number | bigint;
714
+ maxFeePerGas: string | number | bigint;
715
+ maxPriorityFeePerGas: string | number | bigint;
716
+ signature: string;
717
+ factory?: string | null | undefined;
718
+ factoryData?: string | null | undefined;
719
+ paymaster?: string | null | undefined;
720
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
721
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
722
+ paymasterData?: string | null | undefined;
723
+ eip7702Auth?: {
724
+ nonce: string | number | bigint;
725
+ contractAddress: string;
726
+ chainId: string | number | bigint;
727
+ r: string;
728
+ s: string;
729
+ yParity: string | number | bigint;
730
+ v?: string | number | bigint | undefined;
468
731
  } | {
469
732
  address: string;
470
733
  nonce: string | number | bigint;
471
734
  chainId: string | number | bigint;
472
735
  r: string;
473
736
  s: string;
474
- v: string | number | bigint;
475
737
  yParity: string | number | bigint;
738
+ v?: string | number | bigint | undefined;
476
739
  } | null | undefined;
477
740
  } | {
478
741
  sender: string;
@@ -496,16 +759,16 @@ export declare const ethSendUserOperationHandler: {
496
759
  chainId: string | number | bigint;
497
760
  r: string;
498
761
  s: string;
499
- v: string | number | bigint;
500
762
  yParity: string | number | bigint;
763
+ v?: string | number | bigint | undefined;
501
764
  } | {
502
765
  address: string;
503
766
  nonce: string | number | bigint;
504
767
  chainId: string | number | bigint;
505
768
  r: string;
506
769
  s: string;
507
- v: string | number | bigint;
508
770
  yParity: string | number | bigint;
771
+ v?: string | number | bigint | undefined;
509
772
  } | null | undefined;
510
773
  }, string];
511
774
  method: "eth_sendUserOperation";
@@ -531,16 +794,49 @@ export declare const ethSendUserOperationHandler: {
531
794
  chainId: number;
532
795
  r: `0x${string}`;
533
796
  s: `0x${string}`;
534
- v: bigint;
535
797
  yParity: number;
798
+ v?: bigint | undefined;
799
+ } | {
800
+ address: `0x${string}`;
801
+ nonce: number;
802
+ chainId: number;
803
+ r: `0x${string}`;
804
+ s: `0x${string}`;
805
+ yParity: number;
806
+ v?: bigint | undefined;
807
+ } | null | undefined;
808
+ }> | import("type-fest/source/readonly-deep").ReadonlyObjectDeep<{
809
+ sender: `0x${string}`;
810
+ factory: `0x${string}` | null;
811
+ paymaster: `0x${string}` | null;
812
+ nonce: bigint;
813
+ callData: `0x${string}`;
814
+ callGasLimit: bigint;
815
+ verificationGasLimit: bigint;
816
+ preVerificationGas: bigint;
817
+ maxFeePerGas: bigint;
818
+ maxPriorityFeePerGas: bigint;
819
+ signature: `0x${string}`;
820
+ paymasterVerificationGasLimit: bigint | null;
821
+ paymasterPostOpGasLimit: bigint | null;
822
+ factoryData: `0x${string}` | null;
823
+ paymasterData: `0x${string}` | null;
824
+ eip7702Auth?: {
825
+ nonce: number;
826
+ contractAddress: `0x${string}`;
827
+ chainId: number;
828
+ r: `0x${string}`;
829
+ s: `0x${string}`;
830
+ yParity: number;
831
+ v?: bigint | undefined;
536
832
  } | {
537
833
  address: `0x${string}`;
538
834
  nonce: number;
539
835
  chainId: number;
540
836
  r: `0x${string}`;
541
837
  s: `0x${string}`;
542
- v: bigint;
543
838
  yParity: number;
839
+ v?: bigint | undefined;
544
840
  } | null | undefined;
545
841
  }> | import("type-fest/source/readonly-deep").ReadonlyObjectDeep<{
546
842
  sender: `0x${string}`;
@@ -564,16 +860,16 @@ export declare const ethSendUserOperationHandler: {
564
860
  chainId: number;
565
861
  r: `0x${string}`;
566
862
  s: `0x${string}`;
567
- v: bigint;
568
863
  yParity: number;
864
+ v?: bigint | undefined;
569
865
  } | {
570
866
  address: `0x${string}`;
571
867
  nonce: number;
572
868
  chainId: number;
573
869
  r: `0x${string}`;
574
870
  s: `0x${string}`;
575
- v: bigint;
576
871
  yParity: number;
872
+ v?: bigint | undefined;
577
873
  } | null | undefined;
578
874
  }>, `0x${string}`];
579
875
  apiVersion: import("../../types/index.js").ApiVersion;