@pimlico/alto 0.0.0-main.20250214T163421 → 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 (183) 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/index.d.ts +0 -1
  15. package/esm/rpc/index.js +0 -1
  16. package/esm/rpc/index.js.map +1 -1
  17. package/esm/rpc/methods/debug_bundler_clearReputation.d.ts +22 -0
  18. package/esm/rpc/methods/debug_bundler_clearReputation.js +12 -0
  19. package/esm/rpc/methods/debug_bundler_clearReputation.js.map +1 -0
  20. package/esm/rpc/methods/debug_bundler_clearState.d.ts +22 -0
  21. package/esm/rpc/methods/debug_bundler_clearState.js +13 -0
  22. package/esm/rpc/methods/debug_bundler_clearState.js.map +1 -0
  23. package/esm/rpc/methods/debug_bundler_dumpMempool.d.ts +468 -0
  24. package/esm/rpc/methods/debug_bundler_dumpMempool.js +13 -0
  25. package/esm/rpc/methods/debug_bundler_dumpMempool.js.map +1 -0
  26. package/esm/rpc/methods/debug_bundler_dumpReputation.d.ts +57 -0
  27. package/esm/rpc/methods/debug_bundler_dumpReputation.js +13 -0
  28. package/esm/rpc/methods/debug_bundler_dumpReputation.js.map +1 -0
  29. package/esm/rpc/methods/debug_bundler_getStakeStatus.d.ts +79 -0
  30. package/esm/rpc/methods/debug_bundler_getStakeStatus.js +14 -0
  31. package/esm/rpc/methods/debug_bundler_getStakeStatus.js.map +1 -0
  32. package/esm/rpc/methods/debug_bundler_sendBundleNow.d.ts +22 -0
  33. package/esm/rpc/methods/debug_bundler_sendBundleNow.js +12 -0
  34. package/esm/rpc/methods/debug_bundler_sendBundleNow.js.map +1 -0
  35. package/esm/rpc/methods/debug_bundler_setBundlingMode.d.ts +22 -0
  36. package/esm/rpc/methods/debug_bundler_setBundlingMode.js +13 -0
  37. package/esm/rpc/methods/debug_bundler_setBundlingMode.js.map +1 -0
  38. package/esm/rpc/methods/debug_bundler_setReputation.d.ts +46 -0
  39. package/esm/rpc/methods/debug_bundler_setReputation.js +13 -0
  40. package/esm/rpc/methods/debug_bundler_setReputation.js.map +1 -0
  41. package/esm/rpc/methods/eth_chainId.d.ts +22 -0
  42. package/esm/rpc/methods/eth_chainId.js +10 -0
  43. package/esm/rpc/methods/eth_chainId.js.map +1 -0
  44. package/esm/rpc/methods/eth_estimateUserOperationGas.d.ts +979 -0
  45. package/esm/rpc/methods/eth_estimateUserOperationGas.js +18 -0
  46. package/esm/rpc/methods/eth_estimateUserOperationGas.js.map +1 -0
  47. package/esm/rpc/methods/eth_getUserOperationByHash.d.ts +878 -0
  48. package/esm/rpc/methods/eth_getUserOperationByHash.js +98 -0
  49. package/esm/rpc/methods/eth_getUserOperationByHash.js.map +1 -0
  50. package/esm/rpc/methods/eth_getUserOperationReceipt.d.ts +412 -0
  51. package/esm/rpc/methods/eth_getUserOperationReceipt.js +11 -0
  52. package/esm/rpc/methods/eth_getUserOperationReceipt.js.map +1 -0
  53. package/esm/rpc/methods/eth_sendUserOperation.d.ts +422 -0
  54. package/esm/rpc/methods/eth_sendUserOperation.js +30 -0
  55. package/esm/rpc/methods/eth_sendUserOperation.js.map +1 -0
  56. package/esm/rpc/methods/eth_supportedEntryPoints.d.ts +22 -0
  57. package/esm/rpc/methods/eth_supportedEntryPoints.js +10 -0
  58. package/esm/rpc/methods/eth_supportedEntryPoints.js.map +1 -0
  59. package/esm/rpc/methods/index.d.ts +3 -0
  60. package/esm/rpc/methods/index.js +45 -0
  61. package/esm/rpc/methods/index.js.map +1 -0
  62. package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.d.ts +979 -0
  63. package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js +20 -0
  64. package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js.map +1 -0
  65. package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.d.ts +422 -0
  66. package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.js +16 -0
  67. package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.js.map +1 -0
  68. package/esm/rpc/methods/pimlico_getUserOperationGasPrice.d.ts +131 -0
  69. package/esm/rpc/methods/pimlico_getUserOperationGasPrice.js +30 -0
  70. package/esm/rpc/methods/pimlico_getUserOperationGasPrice.js.map +1 -0
  71. package/esm/rpc/methods/pimlico_getUserOperationStatus.d.ts +43 -0
  72. package/esm/rpc/methods/pimlico_getUserOperationStatus.js +11 -0
  73. package/esm/rpc/methods/pimlico_getUserOperationStatus.js.map +1 -0
  74. package/esm/rpc/methods/pimlico_sendUserOperationNow.d.ts +812 -0
  75. package/esm/rpc/methods/pimlico_sendUserOperationNow.js +41 -0
  76. package/esm/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -0
  77. package/esm/rpc/rpcHandler.d.ts +13 -104
  78. package/esm/rpc/rpcHandler.js +33 -372
  79. package/esm/rpc/rpcHandler.js.map +1 -1
  80. package/esm/rpc/server.d.ts +2 -2
  81. package/esm/rpc/server.js +1 -1
  82. package/esm/rpc/server.js.map +1 -1
  83. package/esm/rpc/validation/TracerResultParserV07.js +5 -5
  84. package/esm/rpc/validation/TracerResultParserV07.js.map +1 -1
  85. package/esm/types/schemas.d.ts +9368 -3502
  86. package/esm/types/schemas.js +213 -273
  87. package/esm/types/schemas.js.map +1 -1
  88. package/esm/utils/userop.d.ts +9 -9
  89. package/esm/utils/userop.js.map +1 -1
  90. package/lib/cli/setupServer.js +3 -3
  91. package/lib/cli/setupServer.js.map +1 -1
  92. package/lib/executor/executorManager.d.ts +9 -9
  93. package/lib/mempool/index.d.ts +1 -0
  94. package/lib/mempool/index.js +1 -0
  95. package/lib/mempool/index.js.map +1 -1
  96. package/lib/{rpc → mempool}/nonceQueuer.d.ts +1 -1
  97. package/lib/mempool/nonceQueuer.js.map +1 -0
  98. package/lib/mempool/reputationManager.d.ts +3 -2
  99. package/lib/mempool/reputationManager.js.map +1 -1
  100. package/lib/rpc/createMethodHandler.d.ts +31 -0
  101. package/lib/rpc/createMethodHandler.js +34 -0
  102. package/lib/rpc/createMethodHandler.js.map +1 -0
  103. package/lib/rpc/index.d.ts +0 -1
  104. package/lib/rpc/index.js +0 -1
  105. package/lib/rpc/index.js.map +1 -1
  106. package/lib/rpc/methods/debug_bundler_clearReputation.d.ts +22 -0
  107. package/lib/rpc/methods/debug_bundler_clearReputation.js +15 -0
  108. package/lib/rpc/methods/debug_bundler_clearReputation.js.map +1 -0
  109. package/lib/rpc/methods/debug_bundler_clearState.d.ts +22 -0
  110. package/lib/rpc/methods/debug_bundler_clearState.js +16 -0
  111. package/lib/rpc/methods/debug_bundler_clearState.js.map +1 -0
  112. package/lib/rpc/methods/debug_bundler_dumpMempool.d.ts +468 -0
  113. package/lib/rpc/methods/debug_bundler_dumpMempool.js +16 -0
  114. package/lib/rpc/methods/debug_bundler_dumpMempool.js.map +1 -0
  115. package/lib/rpc/methods/debug_bundler_dumpReputation.d.ts +57 -0
  116. package/lib/rpc/methods/debug_bundler_dumpReputation.js +16 -0
  117. package/lib/rpc/methods/debug_bundler_dumpReputation.js.map +1 -0
  118. package/lib/rpc/methods/debug_bundler_getStakeStatus.d.ts +79 -0
  119. package/lib/rpc/methods/debug_bundler_getStakeStatus.js +17 -0
  120. package/lib/rpc/methods/debug_bundler_getStakeStatus.js.map +1 -0
  121. package/lib/rpc/methods/debug_bundler_sendBundleNow.d.ts +22 -0
  122. package/lib/rpc/methods/debug_bundler_sendBundleNow.js +15 -0
  123. package/lib/rpc/methods/debug_bundler_sendBundleNow.js.map +1 -0
  124. package/lib/rpc/methods/debug_bundler_setBundlingMode.d.ts +22 -0
  125. package/lib/rpc/methods/debug_bundler_setBundlingMode.js +16 -0
  126. package/lib/rpc/methods/debug_bundler_setBundlingMode.js.map +1 -0
  127. package/lib/rpc/methods/debug_bundler_setReputation.d.ts +46 -0
  128. package/lib/rpc/methods/debug_bundler_setReputation.js +16 -0
  129. package/lib/rpc/methods/debug_bundler_setReputation.js.map +1 -0
  130. package/lib/rpc/methods/eth_chainId.d.ts +22 -0
  131. package/lib/rpc/methods/eth_chainId.js +13 -0
  132. package/lib/rpc/methods/eth_chainId.js.map +1 -0
  133. package/lib/rpc/methods/eth_estimateUserOperationGas.d.ts +979 -0
  134. package/lib/rpc/methods/eth_estimateUserOperationGas.js +21 -0
  135. package/lib/rpc/methods/eth_estimateUserOperationGas.js.map +1 -0
  136. package/lib/rpc/methods/eth_getUserOperationByHash.d.ts +878 -0
  137. package/lib/rpc/methods/eth_getUserOperationByHash.js +101 -0
  138. package/lib/rpc/methods/eth_getUserOperationByHash.js.map +1 -0
  139. package/lib/rpc/methods/eth_getUserOperationReceipt.d.ts +412 -0
  140. package/lib/rpc/methods/eth_getUserOperationReceipt.js +14 -0
  141. package/lib/rpc/methods/eth_getUserOperationReceipt.js.map +1 -0
  142. package/lib/rpc/methods/eth_sendUserOperation.d.ts +422 -0
  143. package/lib/rpc/methods/eth_sendUserOperation.js +33 -0
  144. package/lib/rpc/methods/eth_sendUserOperation.js.map +1 -0
  145. package/lib/rpc/methods/eth_supportedEntryPoints.d.ts +22 -0
  146. package/lib/rpc/methods/eth_supportedEntryPoints.js +13 -0
  147. package/lib/rpc/methods/eth_supportedEntryPoints.js.map +1 -0
  148. package/lib/rpc/methods/index.d.ts +3 -0
  149. package/lib/rpc/methods/index.js +49 -0
  150. package/lib/rpc/methods/index.js.map +1 -0
  151. package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.d.ts +979 -0
  152. package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js +23 -0
  153. package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js.map +1 -0
  154. package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.d.ts +422 -0
  155. package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.js +19 -0
  156. package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.js.map +1 -0
  157. package/lib/rpc/methods/pimlico_getUserOperationGasPrice.d.ts +131 -0
  158. package/lib/rpc/methods/pimlico_getUserOperationGasPrice.js +33 -0
  159. package/lib/rpc/methods/pimlico_getUserOperationGasPrice.js.map +1 -0
  160. package/lib/rpc/methods/pimlico_getUserOperationStatus.d.ts +43 -0
  161. package/lib/rpc/methods/pimlico_getUserOperationStatus.js +14 -0
  162. package/lib/rpc/methods/pimlico_getUserOperationStatus.js.map +1 -0
  163. package/lib/rpc/methods/pimlico_sendUserOperationNow.d.ts +812 -0
  164. package/lib/rpc/methods/pimlico_sendUserOperationNow.js +44 -0
  165. package/lib/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -0
  166. package/lib/rpc/rpcHandler.d.ts +13 -104
  167. package/lib/rpc/rpcHandler.js +30 -369
  168. package/lib/rpc/rpcHandler.js.map +1 -1
  169. package/lib/rpc/server.d.ts +2 -2
  170. package/lib/rpc/server.js +1 -1
  171. package/lib/rpc/server.js.map +1 -1
  172. package/lib/rpc/validation/TracerResultParserV07.js +4 -4
  173. package/lib/rpc/validation/TracerResultParserV07.js.map +1 -1
  174. package/lib/types/schemas.d.ts +9368 -3502
  175. package/lib/types/schemas.js +261 -348
  176. package/lib/types/schemas.js.map +1 -1
  177. package/lib/utils/userop.d.ts +9 -9
  178. package/lib/utils/userop.js.map +1 -1
  179. package/package.json +2 -1
  180. package/esm/rpc/nonceQueuer.js.map +0 -1
  181. package/lib/rpc/nonceQueuer.js.map +0 -1
  182. /package/esm/{rpc → mempool}/nonceQueuer.js +0 -0
  183. /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,30 @@
1
+ import { getUserOperationHash } from "../../utils/userop.js";
2
+ import { createMethodHandler } from "../createMethodHandler.js";
3
+ import { sendUserOperationSchema } from "../../types/index.js";
4
+ export const ethSendUserOperationHandler = createMethodHandler({
5
+ method: "eth_sendUserOperation",
6
+ schema: sendUserOperationSchema,
7
+ handler: async ({ rpcHandler, params, apiVersion }) => {
8
+ const [userOperation, entryPoint] = params;
9
+ const hash = getUserOperationHash(userOperation, entryPoint, rpcHandler.config.publicClient.chain.id);
10
+ rpcHandler.eventManager.emitReceived(hash);
11
+ let status = "rejected";
12
+ try {
13
+ status = await rpcHandler.addToMempoolIfValid(userOperation, entryPoint, apiVersion);
14
+ return hash;
15
+ }
16
+ catch (error) {
17
+ status = "rejected";
18
+ throw error;
19
+ }
20
+ finally {
21
+ rpcHandler.metrics.userOperationsReceived
22
+ .labels({
23
+ status,
24
+ type: "regular"
25
+ })
26
+ .inc();
27
+ }
28
+ }
29
+ });
30
+ //# 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,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC;IAC3D,MAAM,EAAE,uBAAuB;IAC/B,MAAM,EAAE,uBAAuB;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,oBAAoB,CAC7B,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,10 @@
1
+ import { createMethodHandler } from "../createMethodHandler.js";
2
+ import { supportedEntryPointsSchema } from "../../types/index.js";
3
+ export const ethSupportedEntryPointsHandler = createMethodHandler({
4
+ method: "eth_supportedEntryPoints",
5
+ schema: supportedEntryPointsSchema,
6
+ handler: ({ rpcHandler }) => {
7
+ return rpcHandler.config.entrypoints;
8
+ }
9
+ });
10
+ //# 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,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAExD,MAAM,CAAC,MAAM,8BAA8B,GAAG,mBAAmB,CAAC;IAC9D,MAAM,EAAE,0BAA0B;IAClC,MAAM,EAAE,0BAA0B;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,45 @@
1
+ import { ethChainIdHandler } from "./eth_chainId.js";
2
+ import { ethEstimateUserOperationGasHandler } from "./eth_estimateUserOperationGas.js";
3
+ import { ethGetUserOperationByHashHandler } from "./eth_getUserOperationByHash.js";
4
+ import { ethGetUserOperationReceiptHandler } from "./eth_getUserOperationReceipt.js";
5
+ import { ethSendUserOperationHandler } from "./eth_sendUserOperation.js";
6
+ import { ethSupportedEntryPointsHandler } from "./eth_supportedEntryPoints.js";
7
+ import { debugClearReputationHandler } from "./debug_bundler_clearReputation.js";
8
+ import { debugBundlerClearStateHandler } from "./debug_bundler_clearState.js";
9
+ import { debugBundlerDumpMempoolHandler } from "./debug_bundler_dumpMempool.js";
10
+ import { debugBundlerDumpReputationHandler } from "./debug_bundler_dumpReputation.js";
11
+ import { debugGetStakeStatusHandler } from "./debug_bundler_getStakeStatus.js";
12
+ import { debugBundlerSendBundleNowHandler } from "./debug_bundler_sendBundleNow.js";
13
+ import { debugBundlerSetBundlingModeHandler } from "./debug_bundler_setBundlingMode.js";
14
+ import { debugSetReputationHandler } from "./debug_bundler_setReputation.js";
15
+ import { pimlicoGetUserOperationGasPriceHandler } from "./pimlico_getUserOperationGasPrice.js";
16
+ import { pimlicoGetUserOperationStatusHandler } from "./pimlico_getUserOperationStatus.js";
17
+ import { pimlicoSendUserOperationNowHandler } from "./pimlico_sendUserOperationNow.js";
18
+ import { experimentalEstimateUserOperationGas7702Handler } from "./pimlico_experimental_estimateUserOperationGas7702.js";
19
+ import { experimentalSendUserOperation7702Handler } from "./pimlico_experimental_sendUserOperation7702.js";
20
+ export function registerHandlers(rpcHandler) {
21
+ // eth_* namespace
22
+ rpcHandler.registerHandler(ethChainIdHandler);
23
+ rpcHandler.registerHandler(ethEstimateUserOperationGasHandler);
24
+ rpcHandler.registerHandler(ethGetUserOperationByHashHandler);
25
+ rpcHandler.registerHandler(ethGetUserOperationReceiptHandler);
26
+ rpcHandler.registerHandler(ethSendUserOperationHandler);
27
+ rpcHandler.registerHandler(ethSupportedEntryPointsHandler);
28
+ // bundler_debug_* namespace
29
+ rpcHandler.registerHandler(debugClearReputationHandler);
30
+ rpcHandler.registerHandler(debugBundlerClearStateHandler);
31
+ rpcHandler.registerHandler(debugBundlerDumpMempoolHandler);
32
+ rpcHandler.registerHandler(debugBundlerDumpReputationHandler);
33
+ rpcHandler.registerHandler(debugGetStakeStatusHandler);
34
+ rpcHandler.registerHandler(debugBundlerSendBundleNowHandler);
35
+ rpcHandler.registerHandler(debugBundlerSetBundlingModeHandler);
36
+ rpcHandler.registerHandler(debugSetReputationHandler);
37
+ // pimlico_* namespace
38
+ rpcHandler.registerHandler(pimlicoGetUserOperationGasPriceHandler);
39
+ rpcHandler.registerHandler(pimlicoGetUserOperationStatusHandler);
40
+ rpcHandler.registerHandler(pimlicoSendUserOperationNowHandler);
41
+ // pilico_experimental_* namespace
42
+ rpcHandler.registerHandler(experimentalEstimateUserOperationGas7702Handler);
43
+ rpcHandler.registerHandler(experimentalSendUserOperation7702Handler);
44
+ }
45
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../rpc/methods/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAAE,kCAAkC,EAAE,MAAM,gCAAgC,CAAA;AACnF,OAAO,EAAE,gCAAgC,EAAE,MAAM,8BAA8B,CAAA;AAC/E,OAAO,EAAE,iCAAiC,EAAE,MAAM,+BAA+B,CAAA;AACjF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAA;AACrE,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAA;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAA;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAA;AAC1E,OAAO,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAA;AAC5E,OAAO,EAAE,iCAAiC,EAAE,MAAM,gCAAgC,CAAA;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAA;AAC3E,OAAO,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAA;AAChF,OAAO,EAAE,kCAAkC,EAAE,MAAM,iCAAiC,CAAA;AACpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAA;AACzE,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAA;AAC3F,OAAO,EAAE,oCAAoC,EAAE,MAAM,kCAAkC,CAAA;AACvF,OAAO,EAAE,kCAAkC,EAAE,MAAM,gCAAgC,CAAA;AACnF,OAAO,EAAE,+CAA+C,EAAE,MAAM,qDAAqD,CAAA;AACrH,OAAO,EAAE,wCAAwC,EAAE,MAAM,8CAA8C,CAAA;AAEvG,MAAM,UAAU,gBAAgB,CAAC,UAAsB;IACnD,kBAAkB;IAClB,UAAU,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAA;IAC7C,UAAU,CAAC,eAAe,CAAC,kCAAkC,CAAC,CAAA;IAC9D,UAAU,CAAC,eAAe,CAAC,gCAAgC,CAAC,CAAA;IAC5D,UAAU,CAAC,eAAe,CAAC,iCAAiC,CAAC,CAAA;IAC7D,UAAU,CAAC,eAAe,CAAC,2BAA2B,CAAC,CAAA;IACvD,UAAU,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAA;IAE1D,4BAA4B;IAC5B,UAAU,CAAC,eAAe,CAAC,2BAA2B,CAAC,CAAA;IACvD,UAAU,CAAC,eAAe,CAAC,6BAA6B,CAAC,CAAA;IACzD,UAAU,CAAC,eAAe,CAAC,8BAA8B,CAAC,CAAA;IAC1D,UAAU,CAAC,eAAe,CAAC,iCAAiC,CAAC,CAAA;IAC7D,UAAU,CAAC,eAAe,CAAC,0BAA0B,CAAC,CAAA;IACtD,UAAU,CAAC,eAAe,CAAC,gCAAgC,CAAC,CAAA;IAC5D,UAAU,CAAC,eAAe,CAAC,kCAAkC,CAAC,CAAA;IAC9D,UAAU,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAA;IAErD,sBAAsB;IACtB,UAAU,CAAC,eAAe,CAAC,sCAAsC,CAAC,CAAA;IAClE,UAAU,CAAC,eAAe,CAAC,oCAAoC,CAAC,CAAA;IAChE,UAAU,CAAC,eAAe,CAAC,kCAAkC,CAAC,CAAA;IAE9D,kCAAkC;IAClC,UAAU,CAAC,eAAe,CAAC,+CAA+C,CAAC,CAAA;IAC3E,UAAU,CAAC,eAAe,CAAC,wCAAwC,CAAC,CAAA;AACxE,CAAC"}