@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,422 @@
1
+ export declare const ethSendUserOperationHandler: {
2
+ schema: import("zod").ZodObject<{
3
+ method: import("zod").ZodLiteral<"eth_sendUserOperation">;
4
+ params: import("zod").ZodTuple<[import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodObject<{
5
+ sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
6
+ 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>;
7
+ initCode: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
8
+ callData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
9
+ 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>;
10
+ 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>;
11
+ 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>;
12
+ 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>;
13
+ 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>;
14
+ paymasterAndData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
15
+ signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
16
+ eip7702auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
17
+ contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
18
+ 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>;
19
+ nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
20
+ r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
21
+ s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
22
+ v: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
23
+ yParity: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
24
+ }, "strip", import("zod").ZodTypeAny, {
25
+ nonce: number;
26
+ contractAddress: `0x${string}`;
27
+ chainId: number;
28
+ r: `0x${string}`;
29
+ s: `0x${string}`;
30
+ v: bigint;
31
+ yParity: number;
32
+ }, {
33
+ nonce: string | number | bigint;
34
+ contractAddress: string;
35
+ chainId: string | number | bigint;
36
+ r: string;
37
+ s: string;
38
+ v: string | number | bigint;
39
+ yParity: string | number | bigint;
40
+ }>>>;
41
+ }, "strict", import("zod").ZodTypeAny, {
42
+ sender: `0x${string}`;
43
+ nonce: bigint;
44
+ initCode: `0x${string}`;
45
+ paymasterAndData: `0x${string}`;
46
+ callData: `0x${string}`;
47
+ callGasLimit: bigint;
48
+ verificationGasLimit: bigint;
49
+ preVerificationGas: bigint;
50
+ maxFeePerGas: bigint;
51
+ maxPriorityFeePerGas: bigint;
52
+ signature: `0x${string}`;
53
+ eip7702auth?: {
54
+ nonce: number;
55
+ contractAddress: `0x${string}`;
56
+ chainId: number;
57
+ r: `0x${string}`;
58
+ s: `0x${string}`;
59
+ v: bigint;
60
+ yParity: number;
61
+ } | null | undefined;
62
+ }, {
63
+ sender: string;
64
+ nonce: string | number | bigint;
65
+ initCode: string;
66
+ paymasterAndData: string;
67
+ callData: string;
68
+ callGasLimit: string | number | bigint;
69
+ verificationGasLimit: string | number | bigint;
70
+ preVerificationGas: string | number | bigint;
71
+ maxFeePerGas: string | number | bigint;
72
+ maxPriorityFeePerGas: string | number | bigint;
73
+ signature: string;
74
+ eip7702auth?: {
75
+ nonce: string | number | bigint;
76
+ contractAddress: string;
77
+ chainId: string | number | bigint;
78
+ r: string;
79
+ s: string;
80
+ v: string | number | bigint;
81
+ yParity: string | number | bigint;
82
+ } | null | undefined;
83
+ }>, {
84
+ sender: `0x${string}`;
85
+ nonce: bigint;
86
+ initCode: `0x${string}`;
87
+ paymasterAndData: `0x${string}`;
88
+ callData: `0x${string}`;
89
+ callGasLimit: bigint;
90
+ verificationGasLimit: bigint;
91
+ preVerificationGas: bigint;
92
+ maxFeePerGas: bigint;
93
+ maxPriorityFeePerGas: bigint;
94
+ signature: `0x${string}`;
95
+ eip7702auth?: {
96
+ nonce: number;
97
+ contractAddress: `0x${string}`;
98
+ chainId: number;
99
+ r: `0x${string}`;
100
+ s: `0x${string}`;
101
+ v: bigint;
102
+ yParity: number;
103
+ } | null | undefined;
104
+ }, {
105
+ sender: string;
106
+ nonce: string | number | bigint;
107
+ initCode: string;
108
+ paymasterAndData: string;
109
+ callData: string;
110
+ callGasLimit: string | number | bigint;
111
+ verificationGasLimit: string | number | bigint;
112
+ preVerificationGas: string | number | bigint;
113
+ maxFeePerGas: string | number | bigint;
114
+ maxPriorityFeePerGas: string | number | bigint;
115
+ signature: string;
116
+ eip7702auth?: {
117
+ nonce: string | number | bigint;
118
+ contractAddress: string;
119
+ chainId: string | number | bigint;
120
+ r: string;
121
+ s: string;
122
+ v: string | number | bigint;
123
+ yParity: string | number | bigint;
124
+ } | null | undefined;
125
+ }>, import("zod").ZodEffects<import("zod").ZodObject<{
126
+ sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
127
+ 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>;
128
+ 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>;
129
+ 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>;
130
+ callData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
131
+ 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>;
132
+ 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>;
133
+ 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>;
134
+ 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>;
135
+ 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>;
136
+ 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>;
137
+ 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>;
138
+ 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>;
139
+ 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>;
140
+ signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
141
+ eip7702auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
142
+ contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
143
+ 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>;
144
+ 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>;
145
+ r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
146
+ s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
147
+ 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>;
148
+ 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>;
149
+ }, "strip", import("zod").ZodTypeAny, {
150
+ nonce: number;
151
+ contractAddress: `0x${string}`;
152
+ chainId: number;
153
+ r: `0x${string}`;
154
+ s: `0x${string}`;
155
+ v: bigint;
156
+ yParity: number;
157
+ }, {
158
+ nonce: string | number | bigint;
159
+ contractAddress: string;
160
+ chainId: string | number | bigint;
161
+ r: string;
162
+ s: string;
163
+ v: string | number | bigint;
164
+ yParity: string | number | bigint;
165
+ }>>>;
166
+ }, "strict", import("zod").ZodTypeAny, {
167
+ sender: `0x${string}`;
168
+ factory: `0x${string}` | null;
169
+ paymaster: `0x${string}` | null;
170
+ nonce: bigint;
171
+ callData: `0x${string}`;
172
+ callGasLimit: bigint;
173
+ verificationGasLimit: bigint;
174
+ preVerificationGas: bigint;
175
+ maxFeePerGas: bigint;
176
+ maxPriorityFeePerGas: bigint;
177
+ signature: `0x${string}`;
178
+ paymasterVerificationGasLimit: bigint | null;
179
+ paymasterPostOpGasLimit: bigint | null;
180
+ factoryData: `0x${string}` | null;
181
+ paymasterData: `0x${string}` | null;
182
+ eip7702auth?: {
183
+ nonce: number;
184
+ contractAddress: `0x${string}`;
185
+ chainId: number;
186
+ r: `0x${string}`;
187
+ s: `0x${string}`;
188
+ v: bigint;
189
+ yParity: number;
190
+ } | null | undefined;
191
+ }, {
192
+ sender: string;
193
+ nonce: string | number | bigint;
194
+ callData: string;
195
+ callGasLimit: string | number | bigint;
196
+ verificationGasLimit: string | number | bigint;
197
+ preVerificationGas: string | number | bigint;
198
+ maxFeePerGas: string | number | bigint;
199
+ maxPriorityFeePerGas: string | number | bigint;
200
+ signature: string;
201
+ factory?: string | null | undefined;
202
+ factoryData?: string | null | undefined;
203
+ paymaster?: string | null | undefined;
204
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
205
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
206
+ paymasterData?: string | null | undefined;
207
+ eip7702auth?: {
208
+ nonce: string | number | bigint;
209
+ contractAddress: string;
210
+ chainId: string | number | bigint;
211
+ r: string;
212
+ s: string;
213
+ v: string | number | bigint;
214
+ yParity: string | number | bigint;
215
+ } | null | undefined;
216
+ }>, {
217
+ sender: `0x${string}`;
218
+ factory: `0x${string}` | null;
219
+ paymaster: `0x${string}` | null;
220
+ nonce: bigint;
221
+ callData: `0x${string}`;
222
+ callGasLimit: bigint;
223
+ verificationGasLimit: bigint;
224
+ preVerificationGas: bigint;
225
+ maxFeePerGas: bigint;
226
+ maxPriorityFeePerGas: bigint;
227
+ signature: `0x${string}`;
228
+ paymasterVerificationGasLimit: bigint | null;
229
+ paymasterPostOpGasLimit: bigint | null;
230
+ factoryData: `0x${string}` | null;
231
+ paymasterData: `0x${string}` | null;
232
+ eip7702auth?: {
233
+ nonce: number;
234
+ contractAddress: `0x${string}`;
235
+ chainId: number;
236
+ r: `0x${string}`;
237
+ s: `0x${string}`;
238
+ v: bigint;
239
+ yParity: number;
240
+ } | null | undefined;
241
+ }, {
242
+ sender: string;
243
+ nonce: string | number | bigint;
244
+ callData: string;
245
+ callGasLimit: string | number | bigint;
246
+ verificationGasLimit: string | number | bigint;
247
+ preVerificationGas: string | number | bigint;
248
+ maxFeePerGas: string | number | bigint;
249
+ maxPriorityFeePerGas: string | number | bigint;
250
+ signature: string;
251
+ factory?: string | null | undefined;
252
+ factoryData?: string | null | undefined;
253
+ paymaster?: string | null | undefined;
254
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
255
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
256
+ paymasterData?: string | null | undefined;
257
+ eip7702auth?: {
258
+ nonce: string | number | bigint;
259
+ contractAddress: string;
260
+ chainId: string | number | bigint;
261
+ r: string;
262
+ s: string;
263
+ v: string | number | bigint;
264
+ yParity: string | number | bigint;
265
+ } | null | undefined;
266
+ }>]>, import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>], null>;
267
+ result: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
268
+ }, "strip", import("zod").ZodTypeAny, {
269
+ result: `0x${string}`;
270
+ params: [{
271
+ sender: `0x${string}`;
272
+ nonce: bigint;
273
+ initCode: `0x${string}`;
274
+ paymasterAndData: `0x${string}`;
275
+ callData: `0x${string}`;
276
+ callGasLimit: bigint;
277
+ verificationGasLimit: bigint;
278
+ preVerificationGas: bigint;
279
+ maxFeePerGas: bigint;
280
+ maxPriorityFeePerGas: bigint;
281
+ signature: `0x${string}`;
282
+ eip7702auth?: {
283
+ nonce: number;
284
+ contractAddress: `0x${string}`;
285
+ chainId: number;
286
+ r: `0x${string}`;
287
+ s: `0x${string}`;
288
+ v: bigint;
289
+ yParity: number;
290
+ } | null | undefined;
291
+ } | {
292
+ sender: `0x${string}`;
293
+ factory: `0x${string}` | null;
294
+ paymaster: `0x${string}` | null;
295
+ nonce: bigint;
296
+ callData: `0x${string}`;
297
+ callGasLimit: bigint;
298
+ verificationGasLimit: bigint;
299
+ preVerificationGas: bigint;
300
+ maxFeePerGas: bigint;
301
+ maxPriorityFeePerGas: bigint;
302
+ signature: `0x${string}`;
303
+ paymasterVerificationGasLimit: bigint | null;
304
+ paymasterPostOpGasLimit: bigint | null;
305
+ factoryData: `0x${string}` | null;
306
+ paymasterData: `0x${string}` | null;
307
+ eip7702auth?: {
308
+ nonce: number;
309
+ contractAddress: `0x${string}`;
310
+ chainId: number;
311
+ r: `0x${string}`;
312
+ s: `0x${string}`;
313
+ v: bigint;
314
+ yParity: number;
315
+ } | null | undefined;
316
+ }, `0x${string}`];
317
+ method: "eth_sendUserOperation";
318
+ }, {
319
+ result: string;
320
+ params: [{
321
+ sender: string;
322
+ nonce: string | number | bigint;
323
+ initCode: string;
324
+ paymasterAndData: string;
325
+ callData: string;
326
+ callGasLimit: string | number | bigint;
327
+ verificationGasLimit: string | number | bigint;
328
+ preVerificationGas: string | number | bigint;
329
+ maxFeePerGas: string | number | bigint;
330
+ maxPriorityFeePerGas: string | number | bigint;
331
+ signature: string;
332
+ eip7702auth?: {
333
+ nonce: string | number | bigint;
334
+ contractAddress: string;
335
+ chainId: string | number | bigint;
336
+ r: string;
337
+ s: string;
338
+ v: string | number | bigint;
339
+ yParity: string | number | bigint;
340
+ } | null | undefined;
341
+ } | {
342
+ sender: string;
343
+ nonce: string | number | bigint;
344
+ callData: string;
345
+ callGasLimit: string | number | bigint;
346
+ verificationGasLimit: string | number | bigint;
347
+ preVerificationGas: string | number | bigint;
348
+ maxFeePerGas: string | number | bigint;
349
+ maxPriorityFeePerGas: string | number | bigint;
350
+ signature: string;
351
+ factory?: string | null | undefined;
352
+ factoryData?: string | null | undefined;
353
+ paymaster?: string | null | undefined;
354
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
355
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
356
+ paymasterData?: string | null | undefined;
357
+ eip7702auth?: {
358
+ nonce: string | number | bigint;
359
+ contractAddress: string;
360
+ chainId: string | number | bigint;
361
+ r: string;
362
+ s: string;
363
+ v: string | number | bigint;
364
+ yParity: string | number | bigint;
365
+ } | null | undefined;
366
+ }, string];
367
+ method: "eth_sendUserOperation";
368
+ }>;
369
+ method: "eth_sendUserOperation";
370
+ handler: (args: {
371
+ rpcHandler: import("../index.js").RpcHandler;
372
+ params: readonly [import("type-fest/source/readonly-deep").ReadonlyObjectDeep<{
373
+ sender: `0x${string}`;
374
+ nonce: bigint;
375
+ initCode: `0x${string}`;
376
+ paymasterAndData: `0x${string}`;
377
+ callData: `0x${string}`;
378
+ callGasLimit: bigint;
379
+ verificationGasLimit: bigint;
380
+ preVerificationGas: bigint;
381
+ maxFeePerGas: bigint;
382
+ maxPriorityFeePerGas: bigint;
383
+ signature: `0x${string}`;
384
+ eip7702auth?: {
385
+ nonce: number;
386
+ contractAddress: `0x${string}`;
387
+ chainId: number;
388
+ r: `0x${string}`;
389
+ s: `0x${string}`;
390
+ v: bigint;
391
+ yParity: number;
392
+ } | null | undefined;
393
+ }> | import("type-fest/source/readonly-deep").ReadonlyObjectDeep<{
394
+ sender: `0x${string}`;
395
+ factory: `0x${string}` | null;
396
+ paymaster: `0x${string}` | null;
397
+ nonce: bigint;
398
+ callData: `0x${string}`;
399
+ callGasLimit: bigint;
400
+ verificationGasLimit: bigint;
401
+ preVerificationGas: bigint;
402
+ maxFeePerGas: bigint;
403
+ maxPriorityFeePerGas: bigint;
404
+ signature: `0x${string}`;
405
+ paymasterVerificationGasLimit: bigint | null;
406
+ paymasterPostOpGasLimit: bigint | null;
407
+ factoryData: `0x${string}` | null;
408
+ paymasterData: `0x${string}` | null;
409
+ eip7702auth?: {
410
+ nonce: number;
411
+ contractAddress: `0x${string}`;
412
+ chainId: number;
413
+ r: `0x${string}`;
414
+ s: `0x${string}`;
415
+ v: bigint;
416
+ yParity: number;
417
+ } | null | undefined;
418
+ }>, `0x${string}`];
419
+ apiVersion: import("../../types/index.js").ApiVersion;
420
+ }) => `0x${string}` | Promise<`0x${string}`>;
421
+ };
422
+ //# sourceMappingURL=eth_sendUserOperation.d.ts.map
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ethSendUserOperationHandler = void 0;
4
+ const userop_1 = require("../../utils/userop.js");
5
+ const createMethodHandler_1 = require("../createMethodHandler.js");
6
+ const types_1 = require("../../types/index.js");
7
+ exports.ethSendUserOperationHandler = (0, createMethodHandler_1.createMethodHandler)({
8
+ method: "eth_sendUserOperation",
9
+ schema: types_1.sendUserOperationSchema,
10
+ handler: async ({ rpcHandler, params, apiVersion }) => {
11
+ const [userOperation, entryPoint] = params;
12
+ const hash = (0, userop_1.getUserOperationHash)(userOperation, entryPoint, rpcHandler.config.publicClient.chain.id);
13
+ rpcHandler.eventManager.emitReceived(hash);
14
+ let status = "rejected";
15
+ try {
16
+ status = await rpcHandler.addToMempoolIfValid(userOperation, entryPoint, apiVersion);
17
+ return hash;
18
+ }
19
+ catch (error) {
20
+ status = "rejected";
21
+ throw error;
22
+ }
23
+ finally {
24
+ rpcHandler.metrics.userOperationsReceived
25
+ .labels({
26
+ status,
27
+ type: "regular"
28
+ })
29
+ .inc();
30
+ }
31
+ }
32
+ });
33
+ //# sourceMappingURL=eth_sendUserOperation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eth_sendUserOperation.js","sourceRoot":"","sources":["../../../rpc/methods/eth_sendUserOperation.ts"],"names":[],"mappings":";;;AAAA,+CAAyD;AACzD,gEAA4D;AAC5D,uCAAqD;AAExC,QAAA,2BAA2B,GAAG,IAAA,yCAAmB,EAAC;IAC3D,MAAM,EAAE,uBAAuB;IAC/B,MAAM,EAAE,+BAAuB;IAC/B,OAAO,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,EAAE;QAClD,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,GAAG,MAAM,CAAA;QAE1C,MAAM,IAAI,GAAG,IAAA,6BAAoB,EAC7B,aAAa,EACb,UAAU,EACV,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,CAC1C,CAAA;QACD,UAAU,CAAC,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,CAAA;QAE1C,IAAI,MAAM,GAAoC,UAAU,CAAA;QACxD,IAAI,CAAC;YACD,MAAM,GAAG,MAAM,UAAU,CAAC,mBAAmB,CACzC,aAAa,EACb,UAAU,EACV,UAAU,CACb,CAAA;YAED,OAAO,IAAI,CAAA;QACf,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,MAAM,GAAG,UAAU,CAAA;YACnB,MAAM,KAAK,CAAA;QACf,CAAC;gBAAS,CAAC;YACP,UAAU,CAAC,OAAO,CAAC,sBAAsB;iBACpC,MAAM,CAAC;gBACJ,MAAM;gBACN,IAAI,EAAE,SAAS;aAClB,CAAC;iBACD,GAAG,EAAE,CAAA;QACd,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"}
@@ -0,0 +1,22 @@
1
+ export declare const ethSupportedEntryPointsHandler: {
2
+ schema: import("zod").ZodObject<{
3
+ method: import("zod").ZodLiteral<"eth_supportedEntryPoints">;
4
+ params: import("zod").ZodTuple<[], null>;
5
+ result: import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, "many">;
6
+ }, "strip", import("zod").ZodTypeAny, {
7
+ result: `0x${string}`[];
8
+ params: [];
9
+ method: "eth_supportedEntryPoints";
10
+ }, {
11
+ result: string[];
12
+ params: [];
13
+ method: "eth_supportedEntryPoints";
14
+ }>;
15
+ method: "eth_supportedEntryPoints";
16
+ handler: (args: {
17
+ rpcHandler: import("../index.js").RpcHandler;
18
+ params: readonly [];
19
+ apiVersion: import("../../types/index.js").ApiVersion;
20
+ }) => `0x${string}`[] | Promise<`0x${string}`[]>;
21
+ };
22
+ //# sourceMappingURL=eth_supportedEntryPoints.d.ts.map
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ethSupportedEntryPointsHandler = void 0;
4
+ const createMethodHandler_1 = require("../createMethodHandler.js");
5
+ const types_1 = require("../../types/index.js");
6
+ exports.ethSupportedEntryPointsHandler = (0, createMethodHandler_1.createMethodHandler)({
7
+ method: "eth_supportedEntryPoints",
8
+ schema: types_1.supportedEntryPointsSchema,
9
+ handler: ({ rpcHandler }) => {
10
+ return rpcHandler.config.entrypoints;
11
+ }
12
+ });
13
+ //# sourceMappingURL=eth_supportedEntryPoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eth_supportedEntryPoints.js","sourceRoot":"","sources":["../../../rpc/methods/eth_supportedEntryPoints.ts"],"names":[],"mappings":";;;AAAA,gEAA4D;AAC5D,uCAAwD;AAE3C,QAAA,8BAA8B,GAAG,IAAA,yCAAmB,EAAC;IAC9D,MAAM,EAAE,0BAA0B;IAClC,MAAM,EAAE,kCAA0B;IAClC,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE;QACxB,OAAO,UAAU,CAAC,MAAM,CAAC,WAAW,CAAA;IACxC,CAAC;CACJ,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { RpcHandler } from "../rpcHandler.js";
2
+ export declare function registerHandlers(rpcHandler: RpcHandler): void;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.registerHandlers = void 0;
4
+ const eth_chainId_1 = require("./eth_chainId.js");
5
+ const eth_estimateUserOperationGas_1 = require("./eth_estimateUserOperationGas.js");
6
+ const eth_getUserOperationByHash_1 = require("./eth_getUserOperationByHash.js");
7
+ const eth_getUserOperationReceipt_1 = require("./eth_getUserOperationReceipt.js");
8
+ const eth_sendUserOperation_1 = require("./eth_sendUserOperation.js");
9
+ const eth_supportedEntryPoints_1 = require("./eth_supportedEntryPoints.js");
10
+ const debug_bundler_clearReputation_1 = require("./debug_bundler_clearReputation.js");
11
+ const debug_bundler_clearState_1 = require("./debug_bundler_clearState.js");
12
+ const debug_bundler_dumpMempool_1 = require("./debug_bundler_dumpMempool.js");
13
+ const debug_bundler_dumpReputation_1 = require("./debug_bundler_dumpReputation.js");
14
+ const debug_bundler_getStakeStatus_1 = require("./debug_bundler_getStakeStatus.js");
15
+ const debug_bundler_sendBundleNow_1 = require("./debug_bundler_sendBundleNow.js");
16
+ const debug_bundler_setBundlingMode_1 = require("./debug_bundler_setBundlingMode.js");
17
+ const debug_bundler_setReputation_1 = require("./debug_bundler_setReputation.js");
18
+ const pimlico_getUserOperationGasPrice_1 = require("./pimlico_getUserOperationGasPrice.js");
19
+ const pimlico_getUserOperationStatus_1 = require("./pimlico_getUserOperationStatus.js");
20
+ const pimlico_sendUserOperationNow_1 = require("./pimlico_sendUserOperationNow.js");
21
+ const pimlico_experimental_estimateUserOperationGas7702_1 = require("./pimlico_experimental_estimateUserOperationGas7702.js");
22
+ const pimlico_experimental_sendUserOperation7702_1 = require("./pimlico_experimental_sendUserOperation7702.js");
23
+ function registerHandlers(rpcHandler) {
24
+ // eth_* namespace
25
+ rpcHandler.registerHandler(eth_chainId_1.ethChainIdHandler);
26
+ rpcHandler.registerHandler(eth_estimateUserOperationGas_1.ethEstimateUserOperationGasHandler);
27
+ rpcHandler.registerHandler(eth_getUserOperationByHash_1.ethGetUserOperationByHashHandler);
28
+ rpcHandler.registerHandler(eth_getUserOperationReceipt_1.ethGetUserOperationReceiptHandler);
29
+ rpcHandler.registerHandler(eth_sendUserOperation_1.ethSendUserOperationHandler);
30
+ rpcHandler.registerHandler(eth_supportedEntryPoints_1.ethSupportedEntryPointsHandler);
31
+ // bundler_debug_* namespace
32
+ rpcHandler.registerHandler(debug_bundler_clearReputation_1.debugClearReputationHandler);
33
+ rpcHandler.registerHandler(debug_bundler_clearState_1.debugBundlerClearStateHandler);
34
+ rpcHandler.registerHandler(debug_bundler_dumpMempool_1.debugBundlerDumpMempoolHandler);
35
+ rpcHandler.registerHandler(debug_bundler_dumpReputation_1.debugBundlerDumpReputationHandler);
36
+ rpcHandler.registerHandler(debug_bundler_getStakeStatus_1.debugGetStakeStatusHandler);
37
+ rpcHandler.registerHandler(debug_bundler_sendBundleNow_1.debugBundlerSendBundleNowHandler);
38
+ rpcHandler.registerHandler(debug_bundler_setBundlingMode_1.debugBundlerSetBundlingModeHandler);
39
+ rpcHandler.registerHandler(debug_bundler_setReputation_1.debugSetReputationHandler);
40
+ // pimlico_* namespace
41
+ rpcHandler.registerHandler(pimlico_getUserOperationGasPrice_1.pimlicoGetUserOperationGasPriceHandler);
42
+ rpcHandler.registerHandler(pimlico_getUserOperationStatus_1.pimlicoGetUserOperationStatusHandler);
43
+ rpcHandler.registerHandler(pimlico_sendUserOperationNow_1.pimlicoSendUserOperationNowHandler);
44
+ // pilico_experimental_* namespace
45
+ rpcHandler.registerHandler(pimlico_experimental_estimateUserOperationGas7702_1.experimentalEstimateUserOperationGas7702Handler);
46
+ rpcHandler.registerHandler(pimlico_experimental_sendUserOperation7702_1.experimentalSendUserOperation7702Handler);
47
+ }
48
+ exports.registerHandlers = registerHandlers;
49
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../rpc/methods/index.ts"],"names":[],"mappings":";;;AACA,+CAAiD;AACjD,iFAAmF;AACnF,6EAA+E;AAC/E,+EAAiF;AACjF,mEAAqE;AACrE,yEAA2E;AAC3E,mFAA6E;AAC7E,yEAA0E;AAC1E,2EAA4E;AAC5E,iFAAkF;AAClF,iFAA2E;AAC3E,+EAAgF;AAChF,mFAAoF;AACpF,+EAAyE;AACzE,yFAA2F;AAC3F,qFAAuF;AACvF,iFAAmF;AACnF,2HAAqH;AACrH,6GAAuG;AAEvG,SAAgB,gBAAgB,CAAC,UAAsB;IACnD,kBAAkB;IAClB,UAAU,CAAC,eAAe,CAAC,+BAAiB,CAAC,CAAA;IAC7C,UAAU,CAAC,eAAe,CAAC,iEAAkC,CAAC,CAAA;IAC9D,UAAU,CAAC,eAAe,CAAC,6DAAgC,CAAC,CAAA;IAC5D,UAAU,CAAC,eAAe,CAAC,+DAAiC,CAAC,CAAA;IAC7D,UAAU,CAAC,eAAe,CAAC,mDAA2B,CAAC,CAAA;IACvD,UAAU,CAAC,eAAe,CAAC,yDAA8B,CAAC,CAAA;IAE1D,4BAA4B;IAC5B,UAAU,CAAC,eAAe,CAAC,2DAA2B,CAAC,CAAA;IACvD,UAAU,CAAC,eAAe,CAAC,wDAA6B,CAAC,CAAA;IACzD,UAAU,CAAC,eAAe,CAAC,0DAA8B,CAAC,CAAA;IAC1D,UAAU,CAAC,eAAe,CAAC,gEAAiC,CAAC,CAAA;IAC7D,UAAU,CAAC,eAAe,CAAC,yDAA0B,CAAC,CAAA;IACtD,UAAU,CAAC,eAAe,CAAC,8DAAgC,CAAC,CAAA;IAC5D,UAAU,CAAC,eAAe,CAAC,kEAAkC,CAAC,CAAA;IAC9D,UAAU,CAAC,eAAe,CAAC,uDAAyB,CAAC,CAAA;IAErD,sBAAsB;IACtB,UAAU,CAAC,eAAe,CAAC,yEAAsC,CAAC,CAAA;IAClE,UAAU,CAAC,eAAe,CAAC,qEAAoC,CAAC,CAAA;IAChE,UAAU,CAAC,eAAe,CAAC,iEAAkC,CAAC,CAAA;IAE9D,kCAAkC;IAClC,UAAU,CAAC,eAAe,CAAC,mGAA+C,CAAC,CAAA;IAC3E,UAAU,CAAC,eAAe,CAAC,qFAAwC,CAAC,CAAA;AACxE,CAAC;AA3BD,4CA2BC"}