@pimlico/alto 0.0.0-main.20250324T173034 → 0.0.0-main.20250324T205246

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 (39) hide show
  1. package/esm/executor/executor.d.ts +2 -2
  2. package/esm/executor/executor.js +6 -1
  3. package/esm/executor/executor.js.map +1 -1
  4. package/esm/executor/utils.d.ts +4 -4
  5. package/esm/executor/utils.js +16 -4
  6. package/esm/executor/utils.js.map +1 -1
  7. package/esm/mempool/mempool.d.ts +16 -0
  8. package/esm/rpc/methods/debug_bundler_dumpMempool.d.ts +180 -4
  9. package/esm/rpc/methods/eth_estimateUserOperationGas.d.ts +328 -8
  10. package/esm/rpc/methods/eth_getUserOperationByHash.d.ts +308 -4
  11. package/esm/rpc/methods/eth_sendUserOperation.d.ts +164 -4
  12. package/esm/rpc/methods/pimlico_sendUserOperationNow.d.ts +164 -4
  13. package/esm/rpc/rpcHandler.js +11 -1
  14. package/esm/rpc/rpcHandler.js.map +1 -1
  15. package/esm/types/schemas.d.ts +3279 -95
  16. package/esm/types/schemas.js +20 -9
  17. package/esm/types/schemas.js.map +1 -1
  18. package/esm/utils/helpers.js +11 -1
  19. package/esm/utils/helpers.js.map +1 -1
  20. package/lib/executor/executor.d.ts +2 -2
  21. package/lib/executor/executor.js +6 -1
  22. package/lib/executor/executor.js.map +1 -1
  23. package/lib/executor/utils.d.ts +4 -4
  24. package/lib/executor/utils.js +16 -4
  25. package/lib/executor/utils.js.map +1 -1
  26. package/lib/mempool/mempool.d.ts +16 -0
  27. package/lib/rpc/methods/debug_bundler_dumpMempool.d.ts +180 -4
  28. package/lib/rpc/methods/eth_estimateUserOperationGas.d.ts +328 -8
  29. package/lib/rpc/methods/eth_getUserOperationByHash.d.ts +308 -4
  30. package/lib/rpc/methods/eth_sendUserOperation.d.ts +164 -4
  31. package/lib/rpc/methods/pimlico_sendUserOperationNow.d.ts +164 -4
  32. package/lib/rpc/rpcHandler.js +11 -1
  33. package/lib/rpc/rpcHandler.js.map +1 -1
  34. package/lib/types/schemas.d.ts +3279 -95
  35. package/lib/types/schemas.js +20 -9
  36. package/lib/types/schemas.js.map +1 -1
  37. package/lib/utils/helpers.js +11 -1
  38. package/lib/utils/helpers.js.map +1 -1
  39. package/package.json +1 -1
@@ -14,7 +14,7 @@ export declare const debugBundlerDumpMempoolHandler: {
14
14
  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>;
15
15
  paymasterAndData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
16
16
  signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
17
- eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
17
+ eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
18
18
  contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
19
19
  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>;
20
20
  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>;
@@ -38,7 +38,31 @@ export declare const debugBundlerDumpMempoolHandler: {
38
38
  s: string;
39
39
  v: string | number | bigint;
40
40
  yParity: string | number | bigint;
41
- }>>>;
41
+ }>, import("zod").ZodObject<{
42
+ address: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
43
+ 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>;
44
+ 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>;
45
+ r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
46
+ s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
47
+ 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>;
48
+ 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>;
49
+ }, "strip", import("zod").ZodTypeAny, {
50
+ address: `0x${string}`;
51
+ nonce: number;
52
+ chainId: number;
53
+ r: `0x${string}`;
54
+ s: `0x${string}`;
55
+ v: bigint;
56
+ yParity: number;
57
+ }, {
58
+ address: string;
59
+ nonce: string | number | bigint;
60
+ chainId: string | number | bigint;
61
+ r: string;
62
+ s: string;
63
+ v: string | number | bigint;
64
+ yParity: string | number | bigint;
65
+ }>]>>>;
42
66
  }, "strict", import("zod").ZodTypeAny, {
43
67
  sender: `0x${string}`;
44
68
  nonce: bigint;
@@ -59,6 +83,14 @@ export declare const debugBundlerDumpMempoolHandler: {
59
83
  s: `0x${string}`;
60
84
  v: bigint;
61
85
  yParity: number;
86
+ } | {
87
+ address: `0x${string}`;
88
+ nonce: number;
89
+ chainId: number;
90
+ r: `0x${string}`;
91
+ s: `0x${string}`;
92
+ v: bigint;
93
+ yParity: number;
62
94
  } | null | undefined;
63
95
  }, {
64
96
  sender: string;
@@ -80,6 +112,14 @@ export declare const debugBundlerDumpMempoolHandler: {
80
112
  s: string;
81
113
  v: string | number | bigint;
82
114
  yParity: string | number | bigint;
115
+ } | {
116
+ address: string;
117
+ nonce: string | number | bigint;
118
+ chainId: string | number | bigint;
119
+ r: string;
120
+ s: string;
121
+ v: string | number | bigint;
122
+ yParity: string | number | bigint;
83
123
  } | null | undefined;
84
124
  }>, {
85
125
  sender: `0x${string}`;
@@ -101,6 +141,14 @@ export declare const debugBundlerDumpMempoolHandler: {
101
141
  s: `0x${string}`;
102
142
  v: bigint;
103
143
  yParity: number;
144
+ } | {
145
+ address: `0x${string}`;
146
+ nonce: number;
147
+ chainId: number;
148
+ r: `0x${string}`;
149
+ s: `0x${string}`;
150
+ v: bigint;
151
+ yParity: number;
104
152
  } | null | undefined;
105
153
  }, {
106
154
  sender: string;
@@ -122,6 +170,14 @@ export declare const debugBundlerDumpMempoolHandler: {
122
170
  s: string;
123
171
  v: string | number | bigint;
124
172
  yParity: string | number | bigint;
173
+ } | {
174
+ address: string;
175
+ nonce: string | number | bigint;
176
+ chainId: string | number | bigint;
177
+ r: string;
178
+ s: string;
179
+ v: string | number | bigint;
180
+ yParity: string | number | bigint;
125
181
  } | null | undefined;
126
182
  }>, import("zod").ZodEffects<import("zod").ZodObject<{
127
183
  sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
@@ -139,7 +195,7 @@ export declare const debugBundlerDumpMempoolHandler: {
139
195
  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>;
140
196
  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>;
141
197
  signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
142
- eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
198
+ eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
143
199
  contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
144
200
  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>;
145
201
  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>;
@@ -163,7 +219,31 @@ export declare const debugBundlerDumpMempoolHandler: {
163
219
  s: string;
164
220
  v: string | number | bigint;
165
221
  yParity: string | number | bigint;
166
- }>>>;
222
+ }>, import("zod").ZodObject<{
223
+ address: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
224
+ 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>;
225
+ 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>;
226
+ r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
227
+ s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
228
+ 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>;
229
+ 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>;
230
+ }, "strip", import("zod").ZodTypeAny, {
231
+ address: `0x${string}`;
232
+ nonce: number;
233
+ chainId: number;
234
+ r: `0x${string}`;
235
+ s: `0x${string}`;
236
+ v: bigint;
237
+ yParity: number;
238
+ }, {
239
+ address: string;
240
+ nonce: string | number | bigint;
241
+ chainId: string | number | bigint;
242
+ r: string;
243
+ s: string;
244
+ v: string | number | bigint;
245
+ yParity: string | number | bigint;
246
+ }>]>>>;
167
247
  }, "strict", import("zod").ZodTypeAny, {
168
248
  sender: `0x${string}`;
169
249
  factory: `0x${string}` | null;
@@ -188,6 +268,14 @@ export declare const debugBundlerDumpMempoolHandler: {
188
268
  s: `0x${string}`;
189
269
  v: bigint;
190
270
  yParity: number;
271
+ } | {
272
+ address: `0x${string}`;
273
+ nonce: number;
274
+ chainId: number;
275
+ r: `0x${string}`;
276
+ s: `0x${string}`;
277
+ v: bigint;
278
+ yParity: number;
191
279
  } | null | undefined;
192
280
  }, {
193
281
  sender: string;
@@ -213,6 +301,14 @@ export declare const debugBundlerDumpMempoolHandler: {
213
301
  s: string;
214
302
  v: string | number | bigint;
215
303
  yParity: string | number | bigint;
304
+ } | {
305
+ address: string;
306
+ nonce: string | number | bigint;
307
+ chainId: string | number | bigint;
308
+ r: string;
309
+ s: string;
310
+ v: string | number | bigint;
311
+ yParity: string | number | bigint;
216
312
  } | null | undefined;
217
313
  }>, {
218
314
  sender: `0x${string}`;
@@ -238,6 +334,14 @@ export declare const debugBundlerDumpMempoolHandler: {
238
334
  s: `0x${string}`;
239
335
  v: bigint;
240
336
  yParity: number;
337
+ } | {
338
+ address: `0x${string}`;
339
+ nonce: number;
340
+ chainId: number;
341
+ r: `0x${string}`;
342
+ s: `0x${string}`;
343
+ v: bigint;
344
+ yParity: number;
241
345
  } | null | undefined;
242
346
  }, {
243
347
  sender: string;
@@ -263,6 +367,14 @@ export declare const debugBundlerDumpMempoolHandler: {
263
367
  s: string;
264
368
  v: string | number | bigint;
265
369
  yParity: string | number | bigint;
370
+ } | {
371
+ address: string;
372
+ nonce: string | number | bigint;
373
+ chainId: string | number | bigint;
374
+ r: string;
375
+ s: string;
376
+ v: string | number | bigint;
377
+ yParity: string | number | bigint;
266
378
  } | null | undefined;
267
379
  }>]>, "many">;
268
380
  }, "strip", import("zod").ZodTypeAny, {
@@ -286,6 +398,14 @@ export declare const debugBundlerDumpMempoolHandler: {
286
398
  s: `0x${string}`;
287
399
  v: bigint;
288
400
  yParity: number;
401
+ } | {
402
+ address: `0x${string}`;
403
+ nonce: number;
404
+ chainId: number;
405
+ r: `0x${string}`;
406
+ s: `0x${string}`;
407
+ v: bigint;
408
+ yParity: number;
289
409
  } | null | undefined;
290
410
  } | {
291
411
  sender: `0x${string}`;
@@ -311,6 +431,14 @@ export declare const debugBundlerDumpMempoolHandler: {
311
431
  s: `0x${string}`;
312
432
  v: bigint;
313
433
  yParity: number;
434
+ } | {
435
+ address: `0x${string}`;
436
+ nonce: number;
437
+ chainId: number;
438
+ r: `0x${string}`;
439
+ s: `0x${string}`;
440
+ v: bigint;
441
+ yParity: number;
314
442
  } | null | undefined;
315
443
  })[];
316
444
  params: [`0x${string}`];
@@ -336,6 +464,14 @@ export declare const debugBundlerDumpMempoolHandler: {
336
464
  s: string;
337
465
  v: string | number | bigint;
338
466
  yParity: string | number | bigint;
467
+ } | {
468
+ address: string;
469
+ nonce: string | number | bigint;
470
+ chainId: string | number | bigint;
471
+ r: string;
472
+ s: string;
473
+ v: string | number | bigint;
474
+ yParity: string | number | bigint;
339
475
  } | null | undefined;
340
476
  } | {
341
477
  sender: string;
@@ -361,6 +497,14 @@ export declare const debugBundlerDumpMempoolHandler: {
361
497
  s: string;
362
498
  v: string | number | bigint;
363
499
  yParity: string | number | bigint;
500
+ } | {
501
+ address: string;
502
+ nonce: string | number | bigint;
503
+ chainId: string | number | bigint;
504
+ r: string;
505
+ s: string;
506
+ v: string | number | bigint;
507
+ yParity: string | number | bigint;
364
508
  } | null | undefined;
365
509
  })[];
366
510
  params: [string];
@@ -391,6 +535,14 @@ export declare const debugBundlerDumpMempoolHandler: {
391
535
  s: `0x${string}`;
392
536
  v: bigint;
393
537
  yParity: number;
538
+ } | {
539
+ address: `0x${string}`;
540
+ nonce: number;
541
+ chainId: number;
542
+ r: `0x${string}`;
543
+ s: `0x${string}`;
544
+ v: bigint;
545
+ yParity: number;
394
546
  } | null | undefined;
395
547
  } | {
396
548
  sender: `0x${string}`;
@@ -416,6 +568,14 @@ export declare const debugBundlerDumpMempoolHandler: {
416
568
  s: `0x${string}`;
417
569
  v: bigint;
418
570
  yParity: number;
571
+ } | {
572
+ address: `0x${string}`;
573
+ nonce: number;
574
+ chainId: number;
575
+ r: `0x${string}`;
576
+ s: `0x${string}`;
577
+ v: bigint;
578
+ yParity: number;
419
579
  } | null | undefined;
420
580
  })[] | Promise<({
421
581
  sender: `0x${string}`;
@@ -437,6 +597,14 @@ export declare const debugBundlerDumpMempoolHandler: {
437
597
  s: `0x${string}`;
438
598
  v: bigint;
439
599
  yParity: number;
600
+ } | {
601
+ address: `0x${string}`;
602
+ nonce: number;
603
+ chainId: number;
604
+ r: `0x${string}`;
605
+ s: `0x${string}`;
606
+ v: bigint;
607
+ yParity: number;
440
608
  } | null | undefined;
441
609
  } | {
442
610
  sender: `0x${string}`;
@@ -462,6 +630,14 @@ export declare const debugBundlerDumpMempoolHandler: {
462
630
  s: `0x${string}`;
463
631
  v: bigint;
464
632
  yParity: number;
633
+ } | {
634
+ address: `0x${string}`;
635
+ nonce: number;
636
+ chainId: number;
637
+ r: `0x${string}`;
638
+ s: `0x${string}`;
639
+ v: bigint;
640
+ yParity: number;
465
641
  } | null | undefined;
466
642
  })[]>;
467
643
  };