@pimlico/alto 0.0.0-main.20250214T151652 → 0.0.0-main.20250225T152738

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 (197) hide show
  1. package/esm/cli/config/bundler.d.ts +6 -0
  2. package/esm/cli/config/bundler.js +1 -0
  3. package/esm/cli/config/bundler.js.map +1 -1
  4. package/esm/cli/config/options.js +5 -0
  5. package/esm/cli/config/options.js.map +1 -1
  6. package/esm/cli/setupServer.js +4 -4
  7. package/esm/cli/setupServer.js.map +1 -1
  8. package/esm/executor/executorManager.d.ts +9 -9
  9. package/esm/handlers/gasPriceManager.js +6 -0
  10. package/esm/handlers/gasPriceManager.js.map +1 -1
  11. package/esm/mempool/index.d.ts +1 -0
  12. package/esm/mempool/index.js +1 -0
  13. package/esm/mempool/index.js.map +1 -1
  14. package/esm/{rpc → mempool}/nonceQueuer.d.ts +1 -1
  15. package/esm/mempool/nonceQueuer.js.map +1 -0
  16. package/esm/mempool/reputationManager.d.ts +3 -2
  17. package/esm/mempool/reputationManager.js.map +1 -1
  18. package/esm/rpc/createMethodHandler.d.ts +31 -0
  19. package/esm/rpc/createMethodHandler.js +30 -0
  20. package/esm/rpc/createMethodHandler.js.map +1 -0
  21. package/esm/rpc/index.d.ts +0 -1
  22. package/esm/rpc/index.js +0 -1
  23. package/esm/rpc/index.js.map +1 -1
  24. package/esm/rpc/methods/debug_bundler_clearReputation.d.ts +22 -0
  25. package/esm/rpc/methods/debug_bundler_clearReputation.js +12 -0
  26. package/esm/rpc/methods/debug_bundler_clearReputation.js.map +1 -0
  27. package/esm/rpc/methods/debug_bundler_clearState.d.ts +22 -0
  28. package/esm/rpc/methods/debug_bundler_clearState.js +13 -0
  29. package/esm/rpc/methods/debug_bundler_clearState.js.map +1 -0
  30. package/esm/rpc/methods/debug_bundler_dumpMempool.d.ts +468 -0
  31. package/esm/rpc/methods/debug_bundler_dumpMempool.js +13 -0
  32. package/esm/rpc/methods/debug_bundler_dumpMempool.js.map +1 -0
  33. package/esm/rpc/methods/debug_bundler_dumpReputation.d.ts +57 -0
  34. package/esm/rpc/methods/debug_bundler_dumpReputation.js +13 -0
  35. package/esm/rpc/methods/debug_bundler_dumpReputation.js.map +1 -0
  36. package/esm/rpc/methods/debug_bundler_getStakeStatus.d.ts +79 -0
  37. package/esm/rpc/methods/debug_bundler_getStakeStatus.js +14 -0
  38. package/esm/rpc/methods/debug_bundler_getStakeStatus.js.map +1 -0
  39. package/esm/rpc/methods/debug_bundler_sendBundleNow.d.ts +22 -0
  40. package/esm/rpc/methods/debug_bundler_sendBundleNow.js +12 -0
  41. package/esm/rpc/methods/debug_bundler_sendBundleNow.js.map +1 -0
  42. package/esm/rpc/methods/debug_bundler_setBundlingMode.d.ts +22 -0
  43. package/esm/rpc/methods/debug_bundler_setBundlingMode.js +13 -0
  44. package/esm/rpc/methods/debug_bundler_setBundlingMode.js.map +1 -0
  45. package/esm/rpc/methods/debug_bundler_setReputation.d.ts +46 -0
  46. package/esm/rpc/methods/debug_bundler_setReputation.js +13 -0
  47. package/esm/rpc/methods/debug_bundler_setReputation.js.map +1 -0
  48. package/esm/rpc/methods/eth_chainId.d.ts +22 -0
  49. package/esm/rpc/methods/eth_chainId.js +10 -0
  50. package/esm/rpc/methods/eth_chainId.js.map +1 -0
  51. package/esm/rpc/methods/eth_estimateUserOperationGas.d.ts +979 -0
  52. package/esm/rpc/methods/eth_estimateUserOperationGas.js +18 -0
  53. package/esm/rpc/methods/eth_estimateUserOperationGas.js.map +1 -0
  54. package/esm/rpc/methods/eth_getUserOperationByHash.d.ts +878 -0
  55. package/esm/rpc/methods/eth_getUserOperationByHash.js +98 -0
  56. package/esm/rpc/methods/eth_getUserOperationByHash.js.map +1 -0
  57. package/esm/rpc/methods/eth_getUserOperationReceipt.d.ts +412 -0
  58. package/esm/rpc/methods/eth_getUserOperationReceipt.js +11 -0
  59. package/esm/rpc/methods/eth_getUserOperationReceipt.js.map +1 -0
  60. package/esm/rpc/methods/eth_sendUserOperation.d.ts +422 -0
  61. package/esm/rpc/methods/eth_sendUserOperation.js +30 -0
  62. package/esm/rpc/methods/eth_sendUserOperation.js.map +1 -0
  63. package/esm/rpc/methods/eth_supportedEntryPoints.d.ts +22 -0
  64. package/esm/rpc/methods/eth_supportedEntryPoints.js +10 -0
  65. package/esm/rpc/methods/eth_supportedEntryPoints.js.map +1 -0
  66. package/esm/rpc/methods/index.d.ts +3 -0
  67. package/esm/rpc/methods/index.js +45 -0
  68. package/esm/rpc/methods/index.js.map +1 -0
  69. package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.d.ts +979 -0
  70. package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js +20 -0
  71. package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js.map +1 -0
  72. package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.d.ts +422 -0
  73. package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.js +16 -0
  74. package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.js.map +1 -0
  75. package/esm/rpc/methods/pimlico_getUserOperationGasPrice.d.ts +131 -0
  76. package/esm/rpc/methods/pimlico_getUserOperationGasPrice.js +30 -0
  77. package/esm/rpc/methods/pimlico_getUserOperationGasPrice.js.map +1 -0
  78. package/esm/rpc/methods/pimlico_getUserOperationStatus.d.ts +43 -0
  79. package/esm/rpc/methods/pimlico_getUserOperationStatus.js +11 -0
  80. package/esm/rpc/methods/pimlico_getUserOperationStatus.js.map +1 -0
  81. package/esm/rpc/methods/pimlico_sendUserOperationNow.d.ts +812 -0
  82. package/esm/rpc/methods/pimlico_sendUserOperationNow.js +41 -0
  83. package/esm/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -0
  84. package/esm/rpc/rpcHandler.d.ts +13 -104
  85. package/esm/rpc/rpcHandler.js +34 -373
  86. package/esm/rpc/rpcHandler.js.map +1 -1
  87. package/esm/rpc/server.d.ts +2 -2
  88. package/esm/rpc/server.js +1 -1
  89. package/esm/rpc/server.js.map +1 -1
  90. package/esm/rpc/validation/TracerResultParserV07.js +5 -5
  91. package/esm/rpc/validation/TracerResultParserV07.js.map +1 -1
  92. package/esm/types/schemas.d.ts +9368 -3502
  93. package/esm/types/schemas.js +213 -273
  94. package/esm/types/schemas.js.map +1 -1
  95. package/esm/utils/userop.d.ts +9 -9
  96. package/esm/utils/userop.js.map +1 -1
  97. package/lib/cli/config/bundler.d.ts +6 -0
  98. package/lib/cli/config/bundler.js +1 -0
  99. package/lib/cli/config/bundler.js.map +1 -1
  100. package/lib/cli/config/options.js +5 -0
  101. package/lib/cli/config/options.js.map +1 -1
  102. package/lib/cli/setupServer.js +3 -3
  103. package/lib/cli/setupServer.js.map +1 -1
  104. package/lib/executor/executorManager.d.ts +9 -9
  105. package/lib/handlers/gasPriceManager.js +6 -0
  106. package/lib/handlers/gasPriceManager.js.map +1 -1
  107. package/lib/mempool/index.d.ts +1 -0
  108. package/lib/mempool/index.js +1 -0
  109. package/lib/mempool/index.js.map +1 -1
  110. package/lib/{rpc → mempool}/nonceQueuer.d.ts +1 -1
  111. package/lib/mempool/nonceQueuer.js.map +1 -0
  112. package/lib/mempool/reputationManager.d.ts +3 -2
  113. package/lib/mempool/reputationManager.js.map +1 -1
  114. package/lib/rpc/createMethodHandler.d.ts +31 -0
  115. package/lib/rpc/createMethodHandler.js +34 -0
  116. package/lib/rpc/createMethodHandler.js.map +1 -0
  117. package/lib/rpc/index.d.ts +0 -1
  118. package/lib/rpc/index.js +0 -1
  119. package/lib/rpc/index.js.map +1 -1
  120. package/lib/rpc/methods/debug_bundler_clearReputation.d.ts +22 -0
  121. package/lib/rpc/methods/debug_bundler_clearReputation.js +15 -0
  122. package/lib/rpc/methods/debug_bundler_clearReputation.js.map +1 -0
  123. package/lib/rpc/methods/debug_bundler_clearState.d.ts +22 -0
  124. package/lib/rpc/methods/debug_bundler_clearState.js +16 -0
  125. package/lib/rpc/methods/debug_bundler_clearState.js.map +1 -0
  126. package/lib/rpc/methods/debug_bundler_dumpMempool.d.ts +468 -0
  127. package/lib/rpc/methods/debug_bundler_dumpMempool.js +16 -0
  128. package/lib/rpc/methods/debug_bundler_dumpMempool.js.map +1 -0
  129. package/lib/rpc/methods/debug_bundler_dumpReputation.d.ts +57 -0
  130. package/lib/rpc/methods/debug_bundler_dumpReputation.js +16 -0
  131. package/lib/rpc/methods/debug_bundler_dumpReputation.js.map +1 -0
  132. package/lib/rpc/methods/debug_bundler_getStakeStatus.d.ts +79 -0
  133. package/lib/rpc/methods/debug_bundler_getStakeStatus.js +17 -0
  134. package/lib/rpc/methods/debug_bundler_getStakeStatus.js.map +1 -0
  135. package/lib/rpc/methods/debug_bundler_sendBundleNow.d.ts +22 -0
  136. package/lib/rpc/methods/debug_bundler_sendBundleNow.js +15 -0
  137. package/lib/rpc/methods/debug_bundler_sendBundleNow.js.map +1 -0
  138. package/lib/rpc/methods/debug_bundler_setBundlingMode.d.ts +22 -0
  139. package/lib/rpc/methods/debug_bundler_setBundlingMode.js +16 -0
  140. package/lib/rpc/methods/debug_bundler_setBundlingMode.js.map +1 -0
  141. package/lib/rpc/methods/debug_bundler_setReputation.d.ts +46 -0
  142. package/lib/rpc/methods/debug_bundler_setReputation.js +16 -0
  143. package/lib/rpc/methods/debug_bundler_setReputation.js.map +1 -0
  144. package/lib/rpc/methods/eth_chainId.d.ts +22 -0
  145. package/lib/rpc/methods/eth_chainId.js +13 -0
  146. package/lib/rpc/methods/eth_chainId.js.map +1 -0
  147. package/lib/rpc/methods/eth_estimateUserOperationGas.d.ts +979 -0
  148. package/lib/rpc/methods/eth_estimateUserOperationGas.js +21 -0
  149. package/lib/rpc/methods/eth_estimateUserOperationGas.js.map +1 -0
  150. package/lib/rpc/methods/eth_getUserOperationByHash.d.ts +878 -0
  151. package/lib/rpc/methods/eth_getUserOperationByHash.js +101 -0
  152. package/lib/rpc/methods/eth_getUserOperationByHash.js.map +1 -0
  153. package/lib/rpc/methods/eth_getUserOperationReceipt.d.ts +412 -0
  154. package/lib/rpc/methods/eth_getUserOperationReceipt.js +14 -0
  155. package/lib/rpc/methods/eth_getUserOperationReceipt.js.map +1 -0
  156. package/lib/rpc/methods/eth_sendUserOperation.d.ts +422 -0
  157. package/lib/rpc/methods/eth_sendUserOperation.js +33 -0
  158. package/lib/rpc/methods/eth_sendUserOperation.js.map +1 -0
  159. package/lib/rpc/methods/eth_supportedEntryPoints.d.ts +22 -0
  160. package/lib/rpc/methods/eth_supportedEntryPoints.js +13 -0
  161. package/lib/rpc/methods/eth_supportedEntryPoints.js.map +1 -0
  162. package/lib/rpc/methods/index.d.ts +3 -0
  163. package/lib/rpc/methods/index.js +49 -0
  164. package/lib/rpc/methods/index.js.map +1 -0
  165. package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.d.ts +979 -0
  166. package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js +23 -0
  167. package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js.map +1 -0
  168. package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.d.ts +422 -0
  169. package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.js +19 -0
  170. package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.js.map +1 -0
  171. package/lib/rpc/methods/pimlico_getUserOperationGasPrice.d.ts +131 -0
  172. package/lib/rpc/methods/pimlico_getUserOperationGasPrice.js +33 -0
  173. package/lib/rpc/methods/pimlico_getUserOperationGasPrice.js.map +1 -0
  174. package/lib/rpc/methods/pimlico_getUserOperationStatus.d.ts +43 -0
  175. package/lib/rpc/methods/pimlico_getUserOperationStatus.js +14 -0
  176. package/lib/rpc/methods/pimlico_getUserOperationStatus.js.map +1 -0
  177. package/lib/rpc/methods/pimlico_sendUserOperationNow.d.ts +812 -0
  178. package/lib/rpc/methods/pimlico_sendUserOperationNow.js +44 -0
  179. package/lib/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -0
  180. package/lib/rpc/rpcHandler.d.ts +13 -104
  181. package/lib/rpc/rpcHandler.js +31 -370
  182. package/lib/rpc/rpcHandler.js.map +1 -1
  183. package/lib/rpc/server.d.ts +2 -2
  184. package/lib/rpc/server.js +1 -1
  185. package/lib/rpc/server.js.map +1 -1
  186. package/lib/rpc/validation/TracerResultParserV07.js +4 -4
  187. package/lib/rpc/validation/TracerResultParserV07.js.map +1 -1
  188. package/lib/types/schemas.d.ts +9368 -3502
  189. package/lib/types/schemas.js +261 -348
  190. package/lib/types/schemas.js.map +1 -1
  191. package/lib/utils/userop.d.ts +9 -9
  192. package/lib/utils/userop.js.map +1 -1
  193. package/package.json +2 -1
  194. package/esm/rpc/nonceQueuer.js.map +0 -1
  195. package/lib/rpc/nonceQueuer.js.map +0 -1
  196. /package/esm/{rpc → mempool}/nonceQueuer.js +0 -0
  197. /package/lib/{rpc → mempool}/nonceQueuer.js +0 -0
@@ -0,0 +1,13 @@
1
+ import { createMethodHandler } from "../createMethodHandler.js";
2
+ import { debugClearStateSchema } from "../../types/index.js";
3
+ export const debugBundlerClearStateHandler = createMethodHandler({
4
+ schema: debugClearStateSchema,
5
+ method: "debug_bundler_clearState",
6
+ handler: async ({ rpcHandler }) => {
7
+ rpcHandler.ensureDebugEndpointsAreEnabled("debug_bundler_clearState");
8
+ rpcHandler.mempool.clear();
9
+ rpcHandler.reputationManager.clearEntityCount();
10
+ return "ok";
11
+ }
12
+ });
13
+ //# sourceMappingURL=debug_bundler_clearState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug_bundler_clearState.js","sourceRoot":"","sources":["../../../rpc/methods/debug_bundler_clearState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD,MAAM,CAAC,MAAM,6BAA6B,GAAG,mBAAmB,CAAC;IAC7D,MAAM,EAAE,qBAAqB;IAC7B,MAAM,EAAE,0BAA0B;IAClC,OAAO,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;QAC9B,UAAU,CAAC,8BAA8B,CAAC,0BAA0B,CAAC,CAAA;QACrE,UAAU,CAAC,OAAO,CAAC,KAAK,EAAE,CAAA;QAC1B,UAAU,CAAC,iBAAiB,CAAC,gBAAgB,EAAE,CAAA;QAE/C,OAAO,IAAa,CAAA;IACxB,CAAC;CACJ,CAAC,CAAA"}
@@ -0,0 +1,468 @@
1
+ export declare const debugBundlerDumpMempoolHandler: {
2
+ schema: import("zod").ZodObject<{
3
+ method: import("zod").ZodLiteral<"debug_bundler_dumpMempool">;
4
+ params: import("zod").ZodTuple<[import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>], null>;
5
+ result: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodObject<{
6
+ sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
7
+ 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>;
8
+ initCode: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
9
+ callData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
10
+ 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>;
11
+ 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>;
12
+ 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>;
13
+ 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>;
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
+ paymasterAndData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
16
+ signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
17
+ eip7702auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
18
+ contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
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
+ 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>;
21
+ r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
22
+ s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
23
+ 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>;
24
+ 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>;
25
+ }, "strip", import("zod").ZodTypeAny, {
26
+ nonce: number;
27
+ contractAddress: `0x${string}`;
28
+ chainId: number;
29
+ r: `0x${string}`;
30
+ s: `0x${string}`;
31
+ v: bigint;
32
+ yParity: number;
33
+ }, {
34
+ nonce: string | number | bigint;
35
+ contractAddress: string;
36
+ chainId: string | number | bigint;
37
+ r: string;
38
+ s: string;
39
+ v: string | number | bigint;
40
+ yParity: string | number | bigint;
41
+ }>>>;
42
+ }, "strict", import("zod").ZodTypeAny, {
43
+ sender: `0x${string}`;
44
+ nonce: bigint;
45
+ initCode: `0x${string}`;
46
+ paymasterAndData: `0x${string}`;
47
+ callData: `0x${string}`;
48
+ callGasLimit: bigint;
49
+ verificationGasLimit: bigint;
50
+ preVerificationGas: bigint;
51
+ maxFeePerGas: bigint;
52
+ maxPriorityFeePerGas: bigint;
53
+ signature: `0x${string}`;
54
+ eip7702auth?: {
55
+ nonce: number;
56
+ contractAddress: `0x${string}`;
57
+ chainId: number;
58
+ r: `0x${string}`;
59
+ s: `0x${string}`;
60
+ v: bigint;
61
+ yParity: number;
62
+ } | null | undefined;
63
+ }, {
64
+ sender: string;
65
+ nonce: string | number | bigint;
66
+ initCode: string;
67
+ paymasterAndData: string;
68
+ callData: string;
69
+ callGasLimit: string | number | bigint;
70
+ verificationGasLimit: string | number | bigint;
71
+ preVerificationGas: string | number | bigint;
72
+ maxFeePerGas: string | number | bigint;
73
+ maxPriorityFeePerGas: string | number | bigint;
74
+ signature: string;
75
+ eip7702auth?: {
76
+ nonce: string | number | bigint;
77
+ contractAddress: string;
78
+ chainId: string | number | bigint;
79
+ r: string;
80
+ s: string;
81
+ v: string | number | bigint;
82
+ yParity: string | number | bigint;
83
+ } | null | undefined;
84
+ }>, {
85
+ sender: `0x${string}`;
86
+ nonce: bigint;
87
+ initCode: `0x${string}`;
88
+ paymasterAndData: `0x${string}`;
89
+ callData: `0x${string}`;
90
+ callGasLimit: bigint;
91
+ verificationGasLimit: bigint;
92
+ preVerificationGas: bigint;
93
+ maxFeePerGas: bigint;
94
+ maxPriorityFeePerGas: bigint;
95
+ signature: `0x${string}`;
96
+ eip7702auth?: {
97
+ nonce: number;
98
+ contractAddress: `0x${string}`;
99
+ chainId: number;
100
+ r: `0x${string}`;
101
+ s: `0x${string}`;
102
+ v: bigint;
103
+ yParity: number;
104
+ } | null | undefined;
105
+ }, {
106
+ sender: string;
107
+ nonce: string | number | bigint;
108
+ initCode: string;
109
+ paymasterAndData: string;
110
+ callData: string;
111
+ callGasLimit: string | number | bigint;
112
+ verificationGasLimit: string | number | bigint;
113
+ preVerificationGas: string | number | bigint;
114
+ maxFeePerGas: string | number | bigint;
115
+ maxPriorityFeePerGas: string | number | bigint;
116
+ signature: string;
117
+ eip7702auth?: {
118
+ nonce: string | number | bigint;
119
+ contractAddress: string;
120
+ chainId: string | number | bigint;
121
+ r: string;
122
+ s: string;
123
+ v: string | number | bigint;
124
+ yParity: string | number | bigint;
125
+ } | null | undefined;
126
+ }>, import("zod").ZodEffects<import("zod").ZodObject<{
127
+ sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
128
+ 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>;
129
+ factory: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
130
+ 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>;
131
+ callData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
132
+ 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>;
133
+ 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>;
134
+ 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>;
135
+ 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>;
136
+ 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>;
137
+ 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>;
138
+ 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>;
139
+ 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
+ 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
+ signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
142
+ eip7702auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
143
+ contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
144
+ 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
+ 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>;
146
+ r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
147
+ s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
148
+ 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>;
149
+ 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>;
150
+ }, "strip", import("zod").ZodTypeAny, {
151
+ nonce: number;
152
+ contractAddress: `0x${string}`;
153
+ chainId: number;
154
+ r: `0x${string}`;
155
+ s: `0x${string}`;
156
+ v: bigint;
157
+ yParity: number;
158
+ }, {
159
+ nonce: string | number | bigint;
160
+ contractAddress: string;
161
+ chainId: string | number | bigint;
162
+ r: string;
163
+ s: string;
164
+ v: string | number | bigint;
165
+ yParity: string | number | bigint;
166
+ }>>>;
167
+ }, "strict", import("zod").ZodTypeAny, {
168
+ sender: `0x${string}`;
169
+ factory: `0x${string}` | null;
170
+ paymaster: `0x${string}` | null;
171
+ nonce: bigint;
172
+ callData: `0x${string}`;
173
+ callGasLimit: bigint;
174
+ verificationGasLimit: bigint;
175
+ preVerificationGas: bigint;
176
+ maxFeePerGas: bigint;
177
+ maxPriorityFeePerGas: bigint;
178
+ signature: `0x${string}`;
179
+ paymasterVerificationGasLimit: bigint | null;
180
+ paymasterPostOpGasLimit: bigint | null;
181
+ factoryData: `0x${string}` | null;
182
+ paymasterData: `0x${string}` | null;
183
+ eip7702auth?: {
184
+ nonce: number;
185
+ contractAddress: `0x${string}`;
186
+ chainId: number;
187
+ r: `0x${string}`;
188
+ s: `0x${string}`;
189
+ v: bigint;
190
+ yParity: number;
191
+ } | null | undefined;
192
+ }, {
193
+ sender: string;
194
+ nonce: string | number | bigint;
195
+ callData: string;
196
+ callGasLimit: string | number | bigint;
197
+ verificationGasLimit: string | number | bigint;
198
+ preVerificationGas: string | number | bigint;
199
+ maxFeePerGas: string | number | bigint;
200
+ maxPriorityFeePerGas: string | number | bigint;
201
+ signature: string;
202
+ factory?: string | null | undefined;
203
+ factoryData?: string | null | undefined;
204
+ paymaster?: string | null | undefined;
205
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
206
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
207
+ paymasterData?: string | null | undefined;
208
+ eip7702auth?: {
209
+ nonce: string | number | bigint;
210
+ contractAddress: string;
211
+ chainId: string | number | bigint;
212
+ r: string;
213
+ s: string;
214
+ v: string | number | bigint;
215
+ yParity: string | number | bigint;
216
+ } | null | undefined;
217
+ }>, {
218
+ sender: `0x${string}`;
219
+ factory: `0x${string}` | null;
220
+ paymaster: `0x${string}` | null;
221
+ nonce: bigint;
222
+ callData: `0x${string}`;
223
+ callGasLimit: bigint;
224
+ verificationGasLimit: bigint;
225
+ preVerificationGas: bigint;
226
+ maxFeePerGas: bigint;
227
+ maxPriorityFeePerGas: bigint;
228
+ signature: `0x${string}`;
229
+ paymasterVerificationGasLimit: bigint | null;
230
+ paymasterPostOpGasLimit: bigint | null;
231
+ factoryData: `0x${string}` | null;
232
+ paymasterData: `0x${string}` | null;
233
+ eip7702auth?: {
234
+ nonce: number;
235
+ contractAddress: `0x${string}`;
236
+ chainId: number;
237
+ r: `0x${string}`;
238
+ s: `0x${string}`;
239
+ v: bigint;
240
+ yParity: number;
241
+ } | null | undefined;
242
+ }, {
243
+ sender: string;
244
+ nonce: string | number | bigint;
245
+ callData: string;
246
+ callGasLimit: string | number | bigint;
247
+ verificationGasLimit: string | number | bigint;
248
+ preVerificationGas: string | number | bigint;
249
+ maxFeePerGas: string | number | bigint;
250
+ maxPriorityFeePerGas: string | number | bigint;
251
+ signature: string;
252
+ factory?: string | null | undefined;
253
+ factoryData?: string | null | undefined;
254
+ paymaster?: string | null | undefined;
255
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
256
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
257
+ paymasterData?: string | null | undefined;
258
+ eip7702auth?: {
259
+ nonce: string | number | bigint;
260
+ contractAddress: string;
261
+ chainId: string | number | bigint;
262
+ r: string;
263
+ s: string;
264
+ v: string | number | bigint;
265
+ yParity: string | number | bigint;
266
+ } | null | undefined;
267
+ }>]>, "many">;
268
+ }, "strip", import("zod").ZodTypeAny, {
269
+ result: ({
270
+ sender: `0x${string}`;
271
+ nonce: bigint;
272
+ initCode: `0x${string}`;
273
+ paymasterAndData: `0x${string}`;
274
+ callData: `0x${string}`;
275
+ callGasLimit: bigint;
276
+ verificationGasLimit: bigint;
277
+ preVerificationGas: bigint;
278
+ maxFeePerGas: bigint;
279
+ maxPriorityFeePerGas: bigint;
280
+ signature: `0x${string}`;
281
+ eip7702auth?: {
282
+ nonce: number;
283
+ contractAddress: `0x${string}`;
284
+ chainId: number;
285
+ r: `0x${string}`;
286
+ s: `0x${string}`;
287
+ v: bigint;
288
+ yParity: number;
289
+ } | null | undefined;
290
+ } | {
291
+ sender: `0x${string}`;
292
+ factory: `0x${string}` | null;
293
+ paymaster: `0x${string}` | null;
294
+ nonce: bigint;
295
+ callData: `0x${string}`;
296
+ callGasLimit: bigint;
297
+ verificationGasLimit: bigint;
298
+ preVerificationGas: bigint;
299
+ maxFeePerGas: bigint;
300
+ maxPriorityFeePerGas: bigint;
301
+ signature: `0x${string}`;
302
+ paymasterVerificationGasLimit: bigint | null;
303
+ paymasterPostOpGasLimit: bigint | null;
304
+ factoryData: `0x${string}` | null;
305
+ paymasterData: `0x${string}` | null;
306
+ eip7702auth?: {
307
+ nonce: number;
308
+ contractAddress: `0x${string}`;
309
+ chainId: number;
310
+ r: `0x${string}`;
311
+ s: `0x${string}`;
312
+ v: bigint;
313
+ yParity: number;
314
+ } | null | undefined;
315
+ })[];
316
+ params: [`0x${string}`];
317
+ method: "debug_bundler_dumpMempool";
318
+ }, {
319
+ result: ({
320
+ sender: string;
321
+ nonce: string | number | bigint;
322
+ initCode: string;
323
+ paymasterAndData: string;
324
+ callData: string;
325
+ callGasLimit: string | number | bigint;
326
+ verificationGasLimit: string | number | bigint;
327
+ preVerificationGas: string | number | bigint;
328
+ maxFeePerGas: string | number | bigint;
329
+ maxPriorityFeePerGas: string | number | bigint;
330
+ signature: string;
331
+ eip7702auth?: {
332
+ nonce: string | number | bigint;
333
+ contractAddress: string;
334
+ chainId: string | number | bigint;
335
+ r: string;
336
+ s: string;
337
+ v: string | number | bigint;
338
+ yParity: string | number | bigint;
339
+ } | null | undefined;
340
+ } | {
341
+ sender: string;
342
+ nonce: string | number | bigint;
343
+ callData: string;
344
+ callGasLimit: string | number | bigint;
345
+ verificationGasLimit: string | number | bigint;
346
+ preVerificationGas: string | number | bigint;
347
+ maxFeePerGas: string | number | bigint;
348
+ maxPriorityFeePerGas: string | number | bigint;
349
+ signature: string;
350
+ factory?: string | null | undefined;
351
+ factoryData?: string | null | undefined;
352
+ paymaster?: string | null | undefined;
353
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
354
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
355
+ paymasterData?: string | null | undefined;
356
+ eip7702auth?: {
357
+ nonce: string | number | bigint;
358
+ contractAddress: string;
359
+ chainId: string | number | bigint;
360
+ r: string;
361
+ s: string;
362
+ v: string | number | bigint;
363
+ yParity: string | number | bigint;
364
+ } | null | undefined;
365
+ })[];
366
+ params: [string];
367
+ method: "debug_bundler_dumpMempool";
368
+ }>;
369
+ method: "debug_bundler_dumpMempool";
370
+ handler: (args: {
371
+ rpcHandler: import("../index.js").RpcHandler;
372
+ params: readonly [`0x${string}`];
373
+ apiVersion: import("../../types/index.js").ApiVersion;
374
+ }) => ({
375
+ sender: `0x${string}`;
376
+ nonce: bigint;
377
+ initCode: `0x${string}`;
378
+ paymasterAndData: `0x${string}`;
379
+ callData: `0x${string}`;
380
+ callGasLimit: bigint;
381
+ verificationGasLimit: bigint;
382
+ preVerificationGas: bigint;
383
+ maxFeePerGas: bigint;
384
+ maxPriorityFeePerGas: bigint;
385
+ signature: `0x${string}`;
386
+ eip7702auth?: {
387
+ nonce: number;
388
+ contractAddress: `0x${string}`;
389
+ chainId: number;
390
+ r: `0x${string}`;
391
+ s: `0x${string}`;
392
+ v: bigint;
393
+ yParity: number;
394
+ } | null | undefined;
395
+ } | {
396
+ sender: `0x${string}`;
397
+ factory: `0x${string}` | null;
398
+ paymaster: `0x${string}` | null;
399
+ nonce: bigint;
400
+ callData: `0x${string}`;
401
+ callGasLimit: bigint;
402
+ verificationGasLimit: bigint;
403
+ preVerificationGas: bigint;
404
+ maxFeePerGas: bigint;
405
+ maxPriorityFeePerGas: bigint;
406
+ signature: `0x${string}`;
407
+ paymasterVerificationGasLimit: bigint | null;
408
+ paymasterPostOpGasLimit: bigint | null;
409
+ factoryData: `0x${string}` | null;
410
+ paymasterData: `0x${string}` | null;
411
+ eip7702auth?: {
412
+ nonce: number;
413
+ contractAddress: `0x${string}`;
414
+ chainId: number;
415
+ r: `0x${string}`;
416
+ s: `0x${string}`;
417
+ v: bigint;
418
+ yParity: number;
419
+ } | null | undefined;
420
+ })[] | Promise<({
421
+ sender: `0x${string}`;
422
+ nonce: bigint;
423
+ initCode: `0x${string}`;
424
+ paymasterAndData: `0x${string}`;
425
+ callData: `0x${string}`;
426
+ callGasLimit: bigint;
427
+ verificationGasLimit: bigint;
428
+ preVerificationGas: bigint;
429
+ maxFeePerGas: bigint;
430
+ maxPriorityFeePerGas: bigint;
431
+ signature: `0x${string}`;
432
+ eip7702auth?: {
433
+ nonce: number;
434
+ contractAddress: `0x${string}`;
435
+ chainId: number;
436
+ r: `0x${string}`;
437
+ s: `0x${string}`;
438
+ v: bigint;
439
+ yParity: number;
440
+ } | null | undefined;
441
+ } | {
442
+ sender: `0x${string}`;
443
+ factory: `0x${string}` | null;
444
+ paymaster: `0x${string}` | null;
445
+ nonce: bigint;
446
+ callData: `0x${string}`;
447
+ callGasLimit: bigint;
448
+ verificationGasLimit: bigint;
449
+ preVerificationGas: bigint;
450
+ maxFeePerGas: bigint;
451
+ maxPriorityFeePerGas: bigint;
452
+ signature: `0x${string}`;
453
+ paymasterVerificationGasLimit: bigint | null;
454
+ paymasterPostOpGasLimit: bigint | null;
455
+ factoryData: `0x${string}` | null;
456
+ paymasterData: `0x${string}` | null;
457
+ eip7702auth?: {
458
+ nonce: number;
459
+ contractAddress: `0x${string}`;
460
+ chainId: number;
461
+ r: `0x${string}`;
462
+ s: `0x${string}`;
463
+ v: bigint;
464
+ yParity: number;
465
+ } | null | undefined;
466
+ })[]>;
467
+ };
468
+ //# sourceMappingURL=debug_bundler_dumpMempool.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { createMethodHandler } from "../createMethodHandler.js";
2
+ import { debugDumpMempoolSchema } from "../../types/index.js";
3
+ export const debugBundlerDumpMempoolHandler = createMethodHandler({
4
+ schema: debugDumpMempoolSchema,
5
+ method: "debug_bundler_dumpMempool",
6
+ handler: async ({ rpcHandler, params }) => {
7
+ const [entryPoint] = params;
8
+ rpcHandler.ensureDebugEndpointsAreEnabled("debug_bundler_dumpMempool");
9
+ rpcHandler.ensureEntryPointIsSupported(entryPoint);
10
+ return Promise.resolve(rpcHandler.mempool.dumpOutstanding());
11
+ }
12
+ });
13
+ //# sourceMappingURL=debug_bundler_dumpMempool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug_bundler_dumpMempool.js","sourceRoot":"","sources":["../../../rpc/methods/debug_bundler_dumpMempool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,CAAC,MAAM,8BAA8B,GAAG,mBAAmB,CAAC;IAC9D,MAAM,EAAE,sBAAsB;IAC9B,MAAM,EAAE,2BAA2B;IACnC,OAAO,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE;QACtC,MAAM,CAAC,UAAU,CAAC,GAAG,MAAM,CAAA;QAC3B,UAAU,CAAC,8BAA8B,CAAC,2BAA2B,CAAC,CAAA;QACtE,UAAU,CAAC,2BAA2B,CAAC,UAAU,CAAC,CAAA;QAElD,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,CAAA;IAChE,CAAC;CACJ,CAAC,CAAA"}
@@ -0,0 +1,57 @@
1
+ export declare const debugBundlerDumpReputationHandler: {
2
+ schema: import("zod").ZodObject<{
3
+ method: import("zod").ZodLiteral<"debug_bundler_dumpReputation">;
4
+ params: import("zod").ZodTuple<[import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>], null>;
5
+ result: import("zod").ZodArray<import("zod").ZodObject<{
6
+ address: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
7
+ opsSeen: 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>;
8
+ opsIncluded: 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>;
9
+ status: 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>>;
10
+ }, "strip", import("zod").ZodTypeAny, {
11
+ address: `0x${string}`;
12
+ opsSeen: bigint;
13
+ opsIncluded: bigint;
14
+ status?: bigint | undefined;
15
+ }, {
16
+ address: string;
17
+ opsSeen: string | number | bigint;
18
+ opsIncluded: string | number | bigint;
19
+ status?: string | number | bigint | undefined;
20
+ }>, "many">;
21
+ }, "strip", import("zod").ZodTypeAny, {
22
+ result: {
23
+ address: `0x${string}`;
24
+ opsSeen: bigint;
25
+ opsIncluded: bigint;
26
+ status?: bigint | undefined;
27
+ }[];
28
+ params: [`0x${string}`];
29
+ method: "debug_bundler_dumpReputation";
30
+ }, {
31
+ result: {
32
+ address: string;
33
+ opsSeen: string | number | bigint;
34
+ opsIncluded: string | number | bigint;
35
+ status?: string | number | bigint | undefined;
36
+ }[];
37
+ params: [string];
38
+ method: "debug_bundler_dumpReputation";
39
+ }>;
40
+ method: "debug_bundler_dumpReputation";
41
+ handler: (args: {
42
+ rpcHandler: import("../index.js").RpcHandler;
43
+ params: readonly [`0x${string}`];
44
+ apiVersion: import("../../types/index.js").ApiVersion;
45
+ }) => {
46
+ address: `0x${string}`;
47
+ opsSeen: bigint;
48
+ opsIncluded: bigint;
49
+ status?: bigint | undefined;
50
+ }[] | Promise<{
51
+ address: `0x${string}`;
52
+ opsSeen: bigint;
53
+ opsIncluded: bigint;
54
+ status?: bigint | undefined;
55
+ }[]>;
56
+ };
57
+ //# sourceMappingURL=debug_bundler_dumpReputation.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { createMethodHandler } from "../createMethodHandler.js";
2
+ import { debugDumpReputationSchema } from "../../types/index.js";
3
+ export const debugBundlerDumpReputationHandler = createMethodHandler({
4
+ schema: debugDumpReputationSchema,
5
+ method: "debug_bundler_dumpReputation",
6
+ handler: async ({ rpcHandler, params }) => {
7
+ const [entryPoint] = params;
8
+ rpcHandler.ensureDebugEndpointsAreEnabled("debug_bundler_setReputation");
9
+ rpcHandler.ensureEntryPointIsSupported(entryPoint);
10
+ return rpcHandler.reputationManager.dumpReputations(entryPoint);
11
+ }
12
+ });
13
+ //# sourceMappingURL=debug_bundler_dumpReputation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug_bundler_dumpReputation.js","sourceRoot":"","sources":["../../../rpc/methods/debug_bundler_dumpReputation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,CAAC,MAAM,iCAAiC,GAAG,mBAAmB,CAAC;IACjE,MAAM,EAAE,yBAAyB;IACjC,MAAM,EAAE,8BAA8B;IACtC,OAAO,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE;QACtC,MAAM,CAAC,UAAU,CAAC,GAAG,MAAM,CAAA;QAC3B,UAAU,CAAC,8BAA8B,CAAC,6BAA6B,CAAC,CAAA;QACxE,UAAU,CAAC,2BAA2B,CAAC,UAAU,CAAC,CAAA;QAElD,OAAO,UAAU,CAAC,iBAAiB,CAAC,eAAe,CAAC,UAAU,CAAC,CAAA;IACnE,CAAC;CACJ,CAAC,CAAA"}
@@ -0,0 +1,79 @@
1
+ export declare const debugGetStakeStatusHandler: {
2
+ schema: import("zod").ZodObject<{
3
+ method: import("zod").ZodLiteral<"debug_bundler_getStakeStatus">;
4
+ params: import("zod").ZodTuple<[import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>], null>;
5
+ result: import("zod").ZodObject<{
6
+ stakeInfo: import("zod").ZodObject<{
7
+ addr: import("zod").ZodString;
8
+ stake: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, string, string | number | bigint>;
9
+ unstakeDelaySec: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, string, string | number | bigint>;
10
+ }, "strip", import("zod").ZodTypeAny, {
11
+ stake: string;
12
+ unstakeDelaySec: string;
13
+ addr: string;
14
+ }, {
15
+ stake: string | number | bigint;
16
+ unstakeDelaySec: string | number | bigint;
17
+ addr: string;
18
+ }>;
19
+ isStaked: import("zod").ZodBoolean;
20
+ }, "strip", import("zod").ZodTypeAny, {
21
+ stakeInfo: {
22
+ stake: string;
23
+ unstakeDelaySec: string;
24
+ addr: string;
25
+ };
26
+ isStaked: boolean;
27
+ }, {
28
+ stakeInfo: {
29
+ stake: string | number | bigint;
30
+ unstakeDelaySec: string | number | bigint;
31
+ addr: string;
32
+ };
33
+ isStaked: boolean;
34
+ }>;
35
+ }, "strip", import("zod").ZodTypeAny, {
36
+ result: {
37
+ stakeInfo: {
38
+ stake: string;
39
+ unstakeDelaySec: string;
40
+ addr: string;
41
+ };
42
+ isStaked: boolean;
43
+ };
44
+ params: [`0x${string}`, `0x${string}`];
45
+ method: "debug_bundler_getStakeStatus";
46
+ }, {
47
+ result: {
48
+ stakeInfo: {
49
+ stake: string | number | bigint;
50
+ unstakeDelaySec: string | number | bigint;
51
+ addr: string;
52
+ };
53
+ isStaked: boolean;
54
+ };
55
+ params: [string, string];
56
+ method: "debug_bundler_getStakeStatus";
57
+ }>;
58
+ method: "debug_bundler_getStakeStatus";
59
+ handler: (args: {
60
+ rpcHandler: import("../index.js").RpcHandler;
61
+ params: readonly [`0x${string}`, `0x${string}`];
62
+ apiVersion: import("../../types/index.js").ApiVersion;
63
+ }) => {
64
+ stakeInfo: {
65
+ stake: string;
66
+ unstakeDelaySec: string;
67
+ addr: string;
68
+ };
69
+ isStaked: boolean;
70
+ } | Promise<{
71
+ stakeInfo: {
72
+ stake: string;
73
+ unstakeDelaySec: string;
74
+ addr: string;
75
+ };
76
+ isStaked: boolean;
77
+ }>;
78
+ };
79
+ //# sourceMappingURL=debug_bundler_getStakeStatus.d.ts.map