@pimlico/alto 0.0.0-main.20250214T163421 → 0.0.0-main.20250225T164854

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/setupServer.js +4 -4
  2. package/esm/cli/setupServer.js.map +1 -1
  3. package/esm/executor/executorManager.d.ts +9 -9
  4. package/esm/mempool/index.d.ts +1 -0
  5. package/esm/mempool/index.js +1 -0
  6. package/esm/mempool/index.js.map +1 -1
  7. package/esm/{rpc → mempool}/nonceQueuer.d.ts +1 -1
  8. package/esm/mempool/nonceQueuer.js.map +1 -0
  9. package/esm/mempool/reputationManager.d.ts +3 -2
  10. package/esm/mempool/reputationManager.js.map +1 -1
  11. package/esm/rpc/createMethodHandler.d.ts +31 -0
  12. package/esm/rpc/createMethodHandler.js +30 -0
  13. package/esm/rpc/createMethodHandler.js.map +1 -0
  14. package/esm/rpc/estimation/gasEstimationHandler.d.ts +3 -3
  15. package/esm/rpc/estimation/gasEstimationHandler.js +17 -10
  16. package/esm/rpc/estimation/gasEstimationHandler.js.map +1 -1
  17. package/esm/rpc/index.d.ts +0 -1
  18. package/esm/rpc/index.js +0 -1
  19. package/esm/rpc/index.js.map +1 -1
  20. package/esm/rpc/methods/debug_bundler_clearReputation.d.ts +22 -0
  21. package/esm/rpc/methods/debug_bundler_clearReputation.js +12 -0
  22. package/esm/rpc/methods/debug_bundler_clearReputation.js.map +1 -0
  23. package/esm/rpc/methods/debug_bundler_clearState.d.ts +22 -0
  24. package/esm/rpc/methods/debug_bundler_clearState.js +13 -0
  25. package/esm/rpc/methods/debug_bundler_clearState.js.map +1 -0
  26. package/esm/rpc/methods/debug_bundler_dumpMempool.d.ts +468 -0
  27. package/esm/rpc/methods/debug_bundler_dumpMempool.js +13 -0
  28. package/esm/rpc/methods/debug_bundler_dumpMempool.js.map +1 -0
  29. package/esm/rpc/methods/debug_bundler_dumpReputation.d.ts +57 -0
  30. package/esm/rpc/methods/debug_bundler_dumpReputation.js +13 -0
  31. package/esm/rpc/methods/debug_bundler_dumpReputation.js.map +1 -0
  32. package/esm/rpc/methods/debug_bundler_getStakeStatus.d.ts +79 -0
  33. package/esm/rpc/methods/debug_bundler_getStakeStatus.js +14 -0
  34. package/esm/rpc/methods/debug_bundler_getStakeStatus.js.map +1 -0
  35. package/esm/rpc/methods/debug_bundler_sendBundleNow.d.ts +22 -0
  36. package/esm/rpc/methods/debug_bundler_sendBundleNow.js +12 -0
  37. package/esm/rpc/methods/debug_bundler_sendBundleNow.js.map +1 -0
  38. package/esm/rpc/methods/debug_bundler_setBundlingMode.d.ts +22 -0
  39. package/esm/rpc/methods/debug_bundler_setBundlingMode.js +13 -0
  40. package/esm/rpc/methods/debug_bundler_setBundlingMode.js.map +1 -0
  41. package/esm/rpc/methods/debug_bundler_setReputation.d.ts +46 -0
  42. package/esm/rpc/methods/debug_bundler_setReputation.js +13 -0
  43. package/esm/rpc/methods/debug_bundler_setReputation.js.map +1 -0
  44. package/esm/rpc/methods/eth_chainId.d.ts +22 -0
  45. package/esm/rpc/methods/eth_chainId.js +10 -0
  46. package/esm/rpc/methods/eth_chainId.js.map +1 -0
  47. package/esm/rpc/methods/eth_estimateUserOperationGas.d.ts +979 -0
  48. package/esm/rpc/methods/eth_estimateUserOperationGas.js +18 -0
  49. package/esm/rpc/methods/eth_estimateUserOperationGas.js.map +1 -0
  50. package/esm/rpc/methods/eth_getUserOperationByHash.d.ts +878 -0
  51. package/esm/rpc/methods/eth_getUserOperationByHash.js +98 -0
  52. package/esm/rpc/methods/eth_getUserOperationByHash.js.map +1 -0
  53. package/esm/rpc/methods/eth_getUserOperationReceipt.d.ts +412 -0
  54. package/esm/rpc/methods/eth_getUserOperationReceipt.js +11 -0
  55. package/esm/rpc/methods/eth_getUserOperationReceipt.js.map +1 -0
  56. package/esm/rpc/methods/eth_sendUserOperation.d.ts +422 -0
  57. package/esm/rpc/methods/eth_sendUserOperation.js +30 -0
  58. package/esm/rpc/methods/eth_sendUserOperation.js.map +1 -0
  59. package/esm/rpc/methods/eth_supportedEntryPoints.d.ts +22 -0
  60. package/esm/rpc/methods/eth_supportedEntryPoints.js +10 -0
  61. package/esm/rpc/methods/eth_supportedEntryPoints.js.map +1 -0
  62. package/esm/rpc/methods/index.d.ts +3 -0
  63. package/esm/rpc/methods/index.js +45 -0
  64. package/esm/rpc/methods/index.js.map +1 -0
  65. package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.d.ts +979 -0
  66. package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js +20 -0
  67. package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js.map +1 -0
  68. package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.d.ts +422 -0
  69. package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.js +16 -0
  70. package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.js.map +1 -0
  71. package/esm/rpc/methods/pimlico_getUserOperationGasPrice.d.ts +131 -0
  72. package/esm/rpc/methods/pimlico_getUserOperationGasPrice.js +30 -0
  73. package/esm/rpc/methods/pimlico_getUserOperationGasPrice.js.map +1 -0
  74. package/esm/rpc/methods/pimlico_getUserOperationStatus.d.ts +43 -0
  75. package/esm/rpc/methods/pimlico_getUserOperationStatus.js +11 -0
  76. package/esm/rpc/methods/pimlico_getUserOperationStatus.js.map +1 -0
  77. package/esm/rpc/methods/pimlico_sendUserOperationNow.d.ts +812 -0
  78. package/esm/rpc/methods/pimlico_sendUserOperationNow.js +41 -0
  79. package/esm/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -0
  80. package/esm/rpc/rpcHandler.d.ts +13 -104
  81. package/esm/rpc/rpcHandler.js +35 -374
  82. package/esm/rpc/rpcHandler.js.map +1 -1
  83. package/esm/rpc/server.d.ts +2 -2
  84. package/esm/rpc/server.js +1 -1
  85. package/esm/rpc/server.js.map +1 -1
  86. package/esm/rpc/validation/TracerResultParserV07.js +5 -5
  87. package/esm/rpc/validation/TracerResultParserV07.js.map +1 -1
  88. package/esm/rpc/validation/UnsafeValidator.d.ts +2 -2
  89. package/esm/rpc/validation/UnsafeValidator.js +3 -3
  90. package/esm/rpc/validation/UnsafeValidator.js.map +1 -1
  91. package/esm/types/interfaces.d.ts +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/setupServer.js +3 -3
  98. package/lib/cli/setupServer.js.map +1 -1
  99. package/lib/executor/executorManager.d.ts +9 -9
  100. package/lib/mempool/index.d.ts +1 -0
  101. package/lib/mempool/index.js +1 -0
  102. package/lib/mempool/index.js.map +1 -1
  103. package/lib/{rpc → mempool}/nonceQueuer.d.ts +1 -1
  104. package/lib/mempool/nonceQueuer.js.map +1 -0
  105. package/lib/mempool/reputationManager.d.ts +3 -2
  106. package/lib/mempool/reputationManager.js.map +1 -1
  107. package/lib/rpc/createMethodHandler.d.ts +31 -0
  108. package/lib/rpc/createMethodHandler.js +34 -0
  109. package/lib/rpc/createMethodHandler.js.map +1 -0
  110. package/lib/rpc/estimation/gasEstimationHandler.d.ts +3 -3
  111. package/lib/rpc/estimation/gasEstimationHandler.js +16 -9
  112. package/lib/rpc/estimation/gasEstimationHandler.js.map +1 -1
  113. package/lib/rpc/index.d.ts +0 -1
  114. package/lib/rpc/index.js +0 -1
  115. package/lib/rpc/index.js.map +1 -1
  116. package/lib/rpc/methods/debug_bundler_clearReputation.d.ts +22 -0
  117. package/lib/rpc/methods/debug_bundler_clearReputation.js +15 -0
  118. package/lib/rpc/methods/debug_bundler_clearReputation.js.map +1 -0
  119. package/lib/rpc/methods/debug_bundler_clearState.d.ts +22 -0
  120. package/lib/rpc/methods/debug_bundler_clearState.js +16 -0
  121. package/lib/rpc/methods/debug_bundler_clearState.js.map +1 -0
  122. package/lib/rpc/methods/debug_bundler_dumpMempool.d.ts +468 -0
  123. package/lib/rpc/methods/debug_bundler_dumpMempool.js +16 -0
  124. package/lib/rpc/methods/debug_bundler_dumpMempool.js.map +1 -0
  125. package/lib/rpc/methods/debug_bundler_dumpReputation.d.ts +57 -0
  126. package/lib/rpc/methods/debug_bundler_dumpReputation.js +16 -0
  127. package/lib/rpc/methods/debug_bundler_dumpReputation.js.map +1 -0
  128. package/lib/rpc/methods/debug_bundler_getStakeStatus.d.ts +79 -0
  129. package/lib/rpc/methods/debug_bundler_getStakeStatus.js +17 -0
  130. package/lib/rpc/methods/debug_bundler_getStakeStatus.js.map +1 -0
  131. package/lib/rpc/methods/debug_bundler_sendBundleNow.d.ts +22 -0
  132. package/lib/rpc/methods/debug_bundler_sendBundleNow.js +15 -0
  133. package/lib/rpc/methods/debug_bundler_sendBundleNow.js.map +1 -0
  134. package/lib/rpc/methods/debug_bundler_setBundlingMode.d.ts +22 -0
  135. package/lib/rpc/methods/debug_bundler_setBundlingMode.js +16 -0
  136. package/lib/rpc/methods/debug_bundler_setBundlingMode.js.map +1 -0
  137. package/lib/rpc/methods/debug_bundler_setReputation.d.ts +46 -0
  138. package/lib/rpc/methods/debug_bundler_setReputation.js +16 -0
  139. package/lib/rpc/methods/debug_bundler_setReputation.js.map +1 -0
  140. package/lib/rpc/methods/eth_chainId.d.ts +22 -0
  141. package/lib/rpc/methods/eth_chainId.js +13 -0
  142. package/lib/rpc/methods/eth_chainId.js.map +1 -0
  143. package/lib/rpc/methods/eth_estimateUserOperationGas.d.ts +979 -0
  144. package/lib/rpc/methods/eth_estimateUserOperationGas.js +21 -0
  145. package/lib/rpc/methods/eth_estimateUserOperationGas.js.map +1 -0
  146. package/lib/rpc/methods/eth_getUserOperationByHash.d.ts +878 -0
  147. package/lib/rpc/methods/eth_getUserOperationByHash.js +101 -0
  148. package/lib/rpc/methods/eth_getUserOperationByHash.js.map +1 -0
  149. package/lib/rpc/methods/eth_getUserOperationReceipt.d.ts +412 -0
  150. package/lib/rpc/methods/eth_getUserOperationReceipt.js +14 -0
  151. package/lib/rpc/methods/eth_getUserOperationReceipt.js.map +1 -0
  152. package/lib/rpc/methods/eth_sendUserOperation.d.ts +422 -0
  153. package/lib/rpc/methods/eth_sendUserOperation.js +33 -0
  154. package/lib/rpc/methods/eth_sendUserOperation.js.map +1 -0
  155. package/lib/rpc/methods/eth_supportedEntryPoints.d.ts +22 -0
  156. package/lib/rpc/methods/eth_supportedEntryPoints.js +13 -0
  157. package/lib/rpc/methods/eth_supportedEntryPoints.js.map +1 -0
  158. package/lib/rpc/methods/index.d.ts +3 -0
  159. package/lib/rpc/methods/index.js +49 -0
  160. package/lib/rpc/methods/index.js.map +1 -0
  161. package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.d.ts +979 -0
  162. package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js +23 -0
  163. package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js.map +1 -0
  164. package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.d.ts +422 -0
  165. package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.js +19 -0
  166. package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.js.map +1 -0
  167. package/lib/rpc/methods/pimlico_getUserOperationGasPrice.d.ts +131 -0
  168. package/lib/rpc/methods/pimlico_getUserOperationGasPrice.js +33 -0
  169. package/lib/rpc/methods/pimlico_getUserOperationGasPrice.js.map +1 -0
  170. package/lib/rpc/methods/pimlico_getUserOperationStatus.d.ts +43 -0
  171. package/lib/rpc/methods/pimlico_getUserOperationStatus.js +14 -0
  172. package/lib/rpc/methods/pimlico_getUserOperationStatus.js.map +1 -0
  173. package/lib/rpc/methods/pimlico_sendUserOperationNow.d.ts +812 -0
  174. package/lib/rpc/methods/pimlico_sendUserOperationNow.js +44 -0
  175. package/lib/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -0
  176. package/lib/rpc/rpcHandler.d.ts +13 -104
  177. package/lib/rpc/rpcHandler.js +32 -371
  178. package/lib/rpc/rpcHandler.js.map +1 -1
  179. package/lib/rpc/server.d.ts +2 -2
  180. package/lib/rpc/server.js +1 -1
  181. package/lib/rpc/server.js.map +1 -1
  182. package/lib/rpc/validation/TracerResultParserV07.js +4 -4
  183. package/lib/rpc/validation/TracerResultParserV07.js.map +1 -1
  184. package/lib/rpc/validation/UnsafeValidator.d.ts +2 -2
  185. package/lib/rpc/validation/UnsafeValidator.js +3 -3
  186. package/lib/rpc/validation/UnsafeValidator.js.map +1 -1
  187. package/lib/types/interfaces.d.ts +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,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.debugClearReputationHandler = void 0;
4
+ const createMethodHandler_1 = require("../createMethodHandler.js");
5
+ const types_1 = require("../../types/index.js");
6
+ exports.debugClearReputationHandler = (0, createMethodHandler_1.createMethodHandler)({
7
+ schema: types_1.debugClearReputationSchema,
8
+ method: "debug_bundler_clearReputation",
9
+ handler: async ({ rpcHandler }) => {
10
+ rpcHandler.ensureDebugEndpointsAreEnabled("debug_bundler_clearReputation");
11
+ rpcHandler.reputationManager.clear();
12
+ return "ok";
13
+ }
14
+ });
15
+ //# sourceMappingURL=debug_bundler_clearReputation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug_bundler_clearReputation.js","sourceRoot":"","sources":["../../../rpc/methods/debug_bundler_clearReputation.ts"],"names":[],"mappings":";;;AAAA,gEAA4D;AAC5D,uCAAwD;AAE3C,QAAA,2BAA2B,GAAG,IAAA,yCAAmB,EAAC;IAC3D,MAAM,EAAE,kCAA0B;IAClC,MAAM,EAAE,+BAA+B;IACvC,OAAO,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;QAC9B,UAAU,CAAC,8BAA8B,CAAC,+BAA+B,CAAC,CAAA;QAC1E,UAAU,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAA;QAEpC,OAAO,IAAa,CAAA;IACxB,CAAC;CACJ,CAAC,CAAA"}
@@ -0,0 +1,22 @@
1
+ export declare const debugBundlerClearStateHandler: {
2
+ schema: import("zod").ZodObject<{
3
+ method: import("zod").ZodLiteral<"debug_bundler_clearState">;
4
+ params: import("zod").ZodTuple<[], null>;
5
+ result: import("zod").ZodLiteral<"ok">;
6
+ }, "strip", import("zod").ZodTypeAny, {
7
+ result: "ok";
8
+ params: [];
9
+ method: "debug_bundler_clearState";
10
+ }, {
11
+ result: "ok";
12
+ params: [];
13
+ method: "debug_bundler_clearState";
14
+ }>;
15
+ method: "debug_bundler_clearState";
16
+ handler: (args: {
17
+ rpcHandler: import("../index.js").RpcHandler;
18
+ params: readonly [];
19
+ apiVersion: import("../../types/index.js").ApiVersion;
20
+ }) => "ok" | Promise<"ok">;
21
+ };
22
+ //# sourceMappingURL=debug_bundler_clearState.d.ts.map
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.debugBundlerClearStateHandler = void 0;
4
+ const createMethodHandler_1 = require("../createMethodHandler.js");
5
+ const types_1 = require("../../types/index.js");
6
+ exports.debugBundlerClearStateHandler = (0, createMethodHandler_1.createMethodHandler)({
7
+ schema: types_1.debugClearStateSchema,
8
+ method: "debug_bundler_clearState",
9
+ handler: async ({ rpcHandler }) => {
10
+ rpcHandler.ensureDebugEndpointsAreEnabled("debug_bundler_clearState");
11
+ rpcHandler.mempool.clear();
12
+ rpcHandler.reputationManager.clearEntityCount();
13
+ return "ok";
14
+ }
15
+ });
16
+ //# 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,gEAA4D;AAC5D,uCAAmD;AAEtC,QAAA,6BAA6B,GAAG,IAAA,yCAAmB,EAAC;IAC7D,MAAM,EAAE,6BAAqB;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,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.debugBundlerDumpMempoolHandler = void 0;
4
+ const createMethodHandler_1 = require("../createMethodHandler.js");
5
+ const types_1 = require("../../types/index.js");
6
+ exports.debugBundlerDumpMempoolHandler = (0, createMethodHandler_1.createMethodHandler)({
7
+ schema: types_1.debugDumpMempoolSchema,
8
+ method: "debug_bundler_dumpMempool",
9
+ handler: async ({ rpcHandler, params }) => {
10
+ const [entryPoint] = params;
11
+ rpcHandler.ensureDebugEndpointsAreEnabled("debug_bundler_dumpMempool");
12
+ rpcHandler.ensureEntryPointIsSupported(entryPoint);
13
+ return Promise.resolve(rpcHandler.mempool.dumpOutstanding());
14
+ }
15
+ });
16
+ //# 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,gEAA4D;AAC5D,uCAAoD;AAEvC,QAAA,8BAA8B,GAAG,IAAA,yCAAmB,EAAC;IAC9D,MAAM,EAAE,8BAAsB;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,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.debugBundlerDumpReputationHandler = void 0;
4
+ const createMethodHandler_1 = require("../createMethodHandler.js");
5
+ const types_1 = require("../../types/index.js");
6
+ exports.debugBundlerDumpReputationHandler = (0, createMethodHandler_1.createMethodHandler)({
7
+ schema: types_1.debugDumpReputationSchema,
8
+ method: "debug_bundler_dumpReputation",
9
+ handler: async ({ rpcHandler, params }) => {
10
+ const [entryPoint] = params;
11
+ rpcHandler.ensureDebugEndpointsAreEnabled("debug_bundler_setReputation");
12
+ rpcHandler.ensureEntryPointIsSupported(entryPoint);
13
+ return rpcHandler.reputationManager.dumpReputations(entryPoint);
14
+ }
15
+ });
16
+ //# 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,gEAA4D;AAC5D,uCAAuD;AAE1C,QAAA,iCAAiC,GAAG,IAAA,yCAAmB,EAAC;IACjE,MAAM,EAAE,iCAAyB;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"}