@pimlico/alto 0.0.0-staging.20240606T110517 → 0.0.2

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 (230) hide show
  1. package/LICENSE +674 -0
  2. package/lib/executor/executor.js +6 -0
  3. package/lib/executor/executor.js.map +1 -1
  4. package/lib/executor/executorManager.js +1 -0
  5. package/lib/executor/executorManager.js.map +1 -1
  6. package/lib/executor/utils.js +3 -1
  7. package/lib/executor/utils.js.map +1 -1
  8. package/lib/rpc/server.js +2 -1
  9. package/lib/rpc/server.js.map +1 -1
  10. package/lib/types/mempool.d.ts +2 -1
  11. package/package.json +11 -12
  12. package/esm/cli/alto.d.ts +0 -6
  13. package/esm/cli/alto.js +0 -92
  14. package/esm/cli/alto.js.map +0 -1
  15. package/esm/cli/config/bundler.d.ts +0 -391
  16. package/esm/cli/config/bundler.js +0 -132
  17. package/esm/cli/config/bundler.js.map +0 -1
  18. package/esm/cli/config/index.d.ts +0 -3
  19. package/esm/cli/config/index.js +0 -3
  20. package/esm/cli/config/index.js.map +0 -1
  21. package/esm/cli/config/options.d.ts +0 -11
  22. package/esm/cli/config/options.js +0 -336
  23. package/esm/cli/config/options.js.map +0 -1
  24. package/esm/cli/customTransport.d.ts +0 -14
  25. package/esm/cli/customTransport.js +0 -53
  26. package/esm/cli/customTransport.js.map +0 -1
  27. package/esm/cli/handler.d.ts +0 -3
  28. package/esm/cli/handler.js +0 -116
  29. package/esm/cli/handler.js.map +0 -1
  30. package/esm/cli/index.d.ts +0 -4
  31. package/esm/cli/index.js +0 -4
  32. package/esm/cli/index.js.map +0 -1
  33. package/esm/cli/instrumentation.d.ts +0 -2
  34. package/esm/cli/instrumentation.js +0 -39
  35. package/esm/cli/instrumentation.js.map +0 -1
  36. package/esm/cli/setupServer.d.ts +0 -17
  37. package/esm/cli/setupServer.js +0 -155
  38. package/esm/cli/setupServer.js.map +0 -1
  39. package/esm/cli/util.d.ts +0 -22
  40. package/esm/cli/util.js +0 -30
  41. package/esm/cli/util.js.map +0 -1
  42. package/esm/executor/executor.d.ts +0 -54
  43. package/esm/executor/executor.js +0 -637
  44. package/esm/executor/executor.js.map +0 -1
  45. package/esm/executor/executorManager.d.ts +0 -34
  46. package/esm/executor/executorManager.js +0 -401
  47. package/esm/executor/executorManager.js.map +0 -1
  48. package/esm/executor/index.d.ts +0 -5
  49. package/esm/executor/index.js +0 -5
  50. package/esm/executor/index.js.map +0 -1
  51. package/esm/executor/senderManager.d.ts +0 -17
  52. package/esm/executor/senderManager.js +0 -160
  53. package/esm/executor/senderManager.js.map +0 -1
  54. package/esm/executor/test/utils.d.ts +0 -13
  55. package/esm/executor/test/utils.js +0 -75
  56. package/esm/executor/test/utils.js.map +0 -1
  57. package/esm/executor/utils.d.ts +0 -32
  58. package/esm/executor/utils.js +0 -239
  59. package/esm/executor/utils.js.map +0 -1
  60. package/esm/index.d.ts +0 -2
  61. package/esm/index.js +0 -2
  62. package/esm/index.js.map +0 -1
  63. package/esm/mempool/index.d.ts +0 -5
  64. package/esm/mempool/index.js +0 -5
  65. package/esm/mempool/index.js.map +0 -1
  66. package/esm/mempool/mempool.d.ts +0 -64
  67. package/esm/mempool/mempool.js +0 -489
  68. package/esm/mempool/mempool.js.map +0 -1
  69. package/esm/mempool/monitoring.d.ts +0 -10
  70. package/esm/mempool/monitoring.js +0 -34
  71. package/esm/mempool/monitoring.js.map +0 -1
  72. package/esm/mempool/nullMempool.d.ts +0 -15
  73. package/esm/mempool/nullMempool.js +0 -36
  74. package/esm/mempool/nullMempool.js.map +0 -1
  75. package/esm/mempool/reputationManager.d.ts +0 -115
  76. package/esm/mempool/reputationManager.js +0 -397
  77. package/esm/mempool/reputationManager.js.map +0 -1
  78. package/esm/mempool/store.d.ts +0 -22
  79. package/esm/mempool/store.js +0 -123
  80. package/esm/mempool/store.js.map +0 -1
  81. package/esm/rpc/EntryPointSimulationsV07.d.ts +0 -58
  82. package/esm/rpc/EntryPointSimulationsV07.js +0 -407
  83. package/esm/rpc/EntryPointSimulationsV07.js.map +0 -1
  84. package/esm/rpc/ExecuteSimulator.d.ts +0 -37
  85. package/esm/rpc/ExecuteSimulator.js +0 -48
  86. package/esm/rpc/ExecuteSimulator.js.map +0 -1
  87. package/esm/rpc/gasEstimation.d.ts +0 -17
  88. package/esm/rpc/gasEstimation.js +0 -410
  89. package/esm/rpc/gasEstimation.js.map +0 -1
  90. package/esm/rpc/index.d.ts +0 -5
  91. package/esm/rpc/index.js +0 -5
  92. package/esm/rpc/index.js.map +0 -1
  93. package/esm/rpc/nonceQueuer.d.ts +0 -25
  94. package/esm/rpc/nonceQueuer.js +0 -135
  95. package/esm/rpc/nonceQueuer.js.map +0 -1
  96. package/esm/rpc/rpcHandler.d.ts +0 -64
  97. package/esm/rpc/rpcHandler.js +0 -727
  98. package/esm/rpc/rpcHandler.js.map +0 -1
  99. package/esm/rpc/server.d.ts +0 -31
  100. package/esm/rpc/server.js +0 -238
  101. package/esm/rpc/server.js.map +0 -1
  102. package/esm/rpc/validation/BundlerCollectorTracerV06.d.ts +0 -102
  103. package/esm/rpc/validation/BundlerCollectorTracerV06.js +0 -255
  104. package/esm/rpc/validation/BundlerCollectorTracerV06.js.map +0 -1
  105. package/esm/rpc/validation/BundlerCollectorTracerV07.d.ts +0 -102
  106. package/esm/rpc/validation/BundlerCollectorTracerV07.js +0 -254
  107. package/esm/rpc/validation/BundlerCollectorTracerV07.js.map +0 -1
  108. package/esm/rpc/validation/SafeValidator.d.ts +0 -35
  109. package/esm/rpc/validation/SafeValidator.js +0 -487
  110. package/esm/rpc/validation/SafeValidator.js.map +0 -1
  111. package/esm/rpc/validation/TracerResultParserV06.d.ts +0 -13
  112. package/esm/rpc/validation/TracerResultParserV06.js +0 -578
  113. package/esm/rpc/validation/TracerResultParserV06.js.map +0 -1
  114. package/esm/rpc/validation/TracerResultParserV07.d.ts +0 -33
  115. package/esm/rpc/validation/TracerResultParserV07.js +0 -557
  116. package/esm/rpc/validation/TracerResultParserV07.js.map +0 -1
  117. package/esm/rpc/validation/UnsafeValidator.d.ts +0 -63
  118. package/esm/rpc/validation/UnsafeValidator.js +0 -257
  119. package/esm/rpc/validation/UnsafeValidator.js.map +0 -1
  120. package/esm/rpc/validation/index.d.ts +0 -3
  121. package/esm/rpc/validation/index.js +0 -3
  122. package/esm/rpc/validation/index.js.map +0 -1
  123. package/esm/rpc/validation/tracer.d.ts +0 -122
  124. package/esm/rpc/validation/tracer.js +0 -82
  125. package/esm/rpc/validation/tracer.js.map +0 -1
  126. package/esm/types/contracts/BundleBulker.d.ts +0 -120
  127. package/esm/types/contracts/BundleBulker.js +0 -157
  128. package/esm/types/contracts/BundleBulker.js.map +0 -1
  129. package/esm/types/contracts/CallEngine.d.ts +0 -28
  130. package/esm/types/contracts/CallEngine.js +0 -37
  131. package/esm/types/contracts/CallEngine.js.map +0 -1
  132. package/esm/types/contracts/CodeHashGetter.d.ts +0 -37
  133. package/esm/types/contracts/CodeHashGetter.js +0 -45
  134. package/esm/types/contracts/CodeHashGetter.js.map +0 -1
  135. package/esm/types/contracts/EntryPoint.d.ts +0 -1789
  136. package/esm/types/contracts/EntryPoint.js +0 -2304
  137. package/esm/types/contracts/EntryPoint.js.map +0 -1
  138. package/esm/types/contracts/EntryPointSimulations.d.ts +0 -153
  139. package/esm/types/contracts/EntryPointSimulations.js +0 -15
  140. package/esm/types/contracts/EntryPointSimulations.js.map +0 -1
  141. package/esm/types/contracts/IOpInflator.d.ts +0 -61
  142. package/esm/types/contracts/IOpInflator.js +0 -80
  143. package/esm/types/contracts/IOpInflator.js.map +0 -1
  144. package/esm/types/contracts/IPaymaster.d.ts +0 -3
  145. package/esm/types/contracts/IPaymaster.js +0 -117
  146. package/esm/types/contracts/IPaymaster.js.map +0 -1
  147. package/esm/types/contracts/Inflator.d.ts +0 -65
  148. package/esm/types/contracts/Inflator.js +0 -84
  149. package/esm/types/contracts/Inflator.js.map +0 -1
  150. package/esm/types/contracts/PerOpInflator.d.ts +0 -176
  151. package/esm/types/contracts/PerOpInflator.js +0 -229
  152. package/esm/types/contracts/PerOpInflator.js.map +0 -1
  153. package/esm/types/contracts/PimlicoEntryPointSimulations.d.ts +0 -23
  154. package/esm/types/contracts/PimlicoEntryPointSimulations.js +0 -33
  155. package/esm/types/contracts/PimlicoEntryPointSimulations.js.map +0 -1
  156. package/esm/types/contracts/SenderCreator.d.ts +0 -4
  157. package/esm/types/contracts/SenderCreator.js +0 -23
  158. package/esm/types/contracts/SenderCreator.js.map +0 -1
  159. package/esm/types/contracts/SimpleAccountFactory.d.ts +0 -57
  160. package/esm/types/contracts/SimpleAccountFactory.js +0 -76
  161. package/esm/types/contracts/SimpleAccountFactory.js.map +0 -1
  162. package/esm/types/contracts/TestOpcodesAccount.d.ts +0 -4
  163. package/esm/types/contracts/TestOpcodesAccount.js +0 -281
  164. package/esm/types/contracts/TestOpcodesAccount.js.map +0 -1
  165. package/esm/types/contracts/TestOpcodesAccountFactory.d.ts +0 -4
  166. package/esm/types/contracts/TestOpcodesAccountFactory.js +0 -23
  167. package/esm/types/contracts/TestOpcodesAccountFactory.js.map +0 -1
  168. package/esm/types/contracts/TestStorageAccount.d.ts +0 -4
  169. package/esm/types/contracts/TestStorageAccount.js +0 -313
  170. package/esm/types/contracts/TestStorageAccount.js.map +0 -1
  171. package/esm/types/contracts/index.d.ts +0 -17
  172. package/esm/types/contracts/index.js +0 -17
  173. package/esm/types/contracts/index.js.map +0 -1
  174. package/esm/types/gasPrice.d.ts +0 -110
  175. package/esm/types/gasPrice.js +0 -52
  176. package/esm/types/gasPrice.js.map +0 -1
  177. package/esm/types/index.d.ts +0 -11
  178. package/esm/types/index.js +0 -11
  179. package/esm/types/index.js.map +0 -1
  180. package/esm/types/interfaces.d.ts +0 -26
  181. package/esm/types/interfaces.js +0 -2
  182. package/esm/types/interfaces.js.map +0 -1
  183. package/esm/types/mempool.d.ts +0 -78
  184. package/esm/types/mempool.js +0 -16
  185. package/esm/types/mempool.js.map +0 -1
  186. package/esm/types/schemas.d.ts +0 -4791
  187. package/esm/types/schemas.js +0 -497
  188. package/esm/types/schemas.js.map +0 -1
  189. package/esm/types/test/validationTestErrors.d.ts +0 -3
  190. package/esm/types/test/validationTestErrors.js +0 -229
  191. package/esm/types/test/validationTestErrors.js.map +0 -1
  192. package/esm/types/utils.d.ts +0 -24
  193. package/esm/types/utils.js +0 -30
  194. package/esm/types/utils.js.map +0 -1
  195. package/esm/types/validation.d.ts +0 -14327
  196. package/esm/types/validation.js +0 -304
  197. package/esm/types/validation.js.map +0 -1
  198. package/esm/utils/bigInt.d.ts +0 -3
  199. package/esm/utils/bigInt.js +0 -9
  200. package/esm/utils/bigInt.js.map +0 -1
  201. package/esm/utils/compressionHandler.d.ts +0 -11
  202. package/esm/utils/compressionHandler.js +0 -39
  203. package/esm/utils/compressionHandler.js.map +0 -1
  204. package/esm/utils/gasPriceManager.d.ts +0 -34
  205. package/esm/utils/gasPriceManager.js +0 -338
  206. package/esm/utils/gasPriceManager.js.map +0 -1
  207. package/esm/utils/helpers.d.ts +0 -4
  208. package/esm/utils/helpers.js +0 -13
  209. package/esm/utils/helpers.js.map +0 -1
  210. package/esm/utils/index.d.ts +0 -11
  211. package/esm/utils/index.js +0 -10
  212. package/esm/utils/index.js.map +0 -1
  213. package/esm/utils/logger.d.ts +0 -6
  214. package/esm/utils/logger.js +0 -76
  215. package/esm/utils/logger.js.map +0 -1
  216. package/esm/utils/metrics.d.ts +0 -22
  217. package/esm/utils/metrics.js +0 -150
  218. package/esm/utils/metrics.js.map +0 -1
  219. package/esm/utils/rpc-reply.d.ts +0 -17
  220. package/esm/utils/rpc-reply.js +0 -41
  221. package/esm/utils/rpc-reply.js.map +0 -1
  222. package/esm/utils/test.d.ts +0 -17
  223. package/esm/utils/test.js +0 -130
  224. package/esm/utils/test.js.map +0 -1
  225. package/esm/utils/userop.d.ts +0 -49
  226. package/esm/utils/userop.js +0 -408
  227. package/esm/utils/userop.js.map +0 -1
  228. package/esm/utils/validation.d.ts +0 -65
  229. package/esm/utils/validation.js +0 -461
  230. package/esm/utils/validation.js.map +0 -1
@@ -1,61 +0,0 @@
1
- export declare const IOpInflatorAbi: readonly [{
2
- readonly type: "function";
3
- readonly name: "inflate";
4
- readonly inputs: readonly [{
5
- readonly name: "compressed";
6
- readonly type: "bytes";
7
- readonly internalType: "bytes";
8
- }];
9
- readonly outputs: readonly [{
10
- readonly name: "op";
11
- readonly type: "tuple";
12
- readonly internalType: "struct UserOperation";
13
- readonly components: readonly [{
14
- readonly name: "sender";
15
- readonly type: "address";
16
- readonly internalType: "address";
17
- }, {
18
- readonly name: "nonce";
19
- readonly type: "uint256";
20
- readonly internalType: "uint256";
21
- }, {
22
- readonly name: "initCode";
23
- readonly type: "bytes";
24
- readonly internalType: "bytes";
25
- }, {
26
- readonly name: "callData";
27
- readonly type: "bytes";
28
- readonly internalType: "bytes";
29
- }, {
30
- readonly name: "callGasLimit";
31
- readonly type: "uint256";
32
- readonly internalType: "uint256";
33
- }, {
34
- readonly name: "verificationGasLimit";
35
- readonly type: "uint256";
36
- readonly internalType: "uint256";
37
- }, {
38
- readonly name: "preVerificationGas";
39
- readonly type: "uint256";
40
- readonly internalType: "uint256";
41
- }, {
42
- readonly name: "maxFeePerGas";
43
- readonly type: "uint256";
44
- readonly internalType: "uint256";
45
- }, {
46
- readonly name: "maxPriorityFeePerGas";
47
- readonly type: "uint256";
48
- readonly internalType: "uint256";
49
- }, {
50
- readonly name: "paymasterAndData";
51
- readonly type: "bytes";
52
- readonly internalType: "bytes";
53
- }, {
54
- readonly name: "signature";
55
- readonly type: "bytes";
56
- readonly internalType: "bytes";
57
- }];
58
- }];
59
- readonly stateMutability: "view";
60
- }];
61
- //# sourceMappingURL=IOpInflator.d.ts.map
@@ -1,80 +0,0 @@
1
- // biome-ignore lint/style/useNamingConvention: conform to interface naming schema
2
- export const IOpInflatorAbi = [
3
- {
4
- type: "function",
5
- name: "inflate",
6
- inputs: [
7
- {
8
- name: "compressed",
9
- type: "bytes",
10
- internalType: "bytes"
11
- }
12
- ],
13
- outputs: [
14
- {
15
- name: "op",
16
- type: "tuple",
17
- internalType: "struct UserOperation",
18
- components: [
19
- {
20
- name: "sender",
21
- type: "address",
22
- internalType: "address"
23
- },
24
- {
25
- name: "nonce",
26
- type: "uint256",
27
- internalType: "uint256"
28
- },
29
- {
30
- name: "initCode",
31
- type: "bytes",
32
- internalType: "bytes"
33
- },
34
- {
35
- name: "callData",
36
- type: "bytes",
37
- internalType: "bytes"
38
- },
39
- {
40
- name: "callGasLimit",
41
- type: "uint256",
42
- internalType: "uint256"
43
- },
44
- {
45
- name: "verificationGasLimit",
46
- type: "uint256",
47
- internalType: "uint256"
48
- },
49
- {
50
- name: "preVerificationGas",
51
- type: "uint256",
52
- internalType: "uint256"
53
- },
54
- {
55
- name: "maxFeePerGas",
56
- type: "uint256",
57
- internalType: "uint256"
58
- },
59
- {
60
- name: "maxPriorityFeePerGas",
61
- type: "uint256",
62
- internalType: "uint256"
63
- },
64
- {
65
- name: "paymasterAndData",
66
- type: "bytes",
67
- internalType: "bytes"
68
- },
69
- {
70
- name: "signature",
71
- type: "bytes",
72
- internalType: "bytes"
73
- }
74
- ]
75
- }
76
- ],
77
- stateMutability: "view"
78
- }
79
- ];
80
- //# sourceMappingURL=IOpInflator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IOpInflator.js","sourceRoot":"","sources":["../../../types/contracts/IOpInflator.ts"],"names":[],"mappings":"AAAA,kFAAkF;AAClF,MAAM,CAAC,MAAM,cAAc,GAAG;IAC1B;QACI,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,MAAM,EAAE;YACJ;gBACI,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,OAAO;gBACb,YAAY,EAAE,OAAO;aACxB;SACJ;QACD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,OAAO;gBACb,YAAY,EAAE,sBAAsB;gBACpC,UAAU,EAAE;oBACR;wBACI,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,OAAO;wBACb,YAAY,EAAE,OAAO;qBACxB;oBACD;wBACI,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,OAAO;wBACb,YAAY,EAAE,OAAO;qBACxB;oBACD;wBACI,IAAI,EAAE,cAAc;wBACpB,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,sBAAsB;wBAC5B,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,oBAAoB;wBAC1B,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,cAAc;wBACpB,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,sBAAsB;wBAC5B,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,kBAAkB;wBACxB,IAAI,EAAE,OAAO;wBACb,YAAY,EAAE,OAAO;qBACxB;oBACD;wBACI,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,OAAO;wBACb,YAAY,EAAE,OAAO;qBACxB;iBACJ;aACJ;SACJ;QACD,eAAe,EAAE,MAAM;KAC1B;CACK,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { Abi, AbiConstructor } from "abitype";
2
- export declare const PaymasterAbi: Exclude<Abi, AbiConstructor>;
3
- //# sourceMappingURL=IPaymaster.d.ts.map
@@ -1,117 +0,0 @@
1
- export const PaymasterAbi = [
2
- {
3
- inputs: [
4
- {
5
- internalType: "enum IPaymaster.PostOpMode",
6
- name: "mode",
7
- type: "uint8"
8
- },
9
- {
10
- internalType: "bytes",
11
- name: "context",
12
- type: "bytes"
13
- },
14
- {
15
- internalType: "uint256",
16
- name: "actualGasCost",
17
- type: "uint256"
18
- }
19
- ],
20
- name: "postOp",
21
- outputs: [],
22
- stateMutability: "nonpayable",
23
- type: "function"
24
- },
25
- {
26
- inputs: [
27
- {
28
- components: [
29
- {
30
- internalType: "address",
31
- name: "sender",
32
- type: "address"
33
- },
34
- {
35
- internalType: "uint256",
36
- name: "nonce",
37
- type: "uint256"
38
- },
39
- {
40
- internalType: "bytes",
41
- name: "initCode",
42
- type: "bytes"
43
- },
44
- {
45
- internalType: "bytes",
46
- name: "callData",
47
- type: "bytes"
48
- },
49
- {
50
- internalType: "uint256",
51
- name: "callGasLimit",
52
- type: "uint256"
53
- },
54
- {
55
- internalType: "uint256",
56
- name: "verificationGasLimit",
57
- type: "uint256"
58
- },
59
- {
60
- internalType: "uint256",
61
- name: "preVerificationGas",
62
- type: "uint256"
63
- },
64
- {
65
- internalType: "uint256",
66
- name: "maxFeePerGas",
67
- type: "uint256"
68
- },
69
- {
70
- internalType: "uint256",
71
- name: "maxPriorityFeePerGas",
72
- type: "uint256"
73
- },
74
- {
75
- internalType: "bytes",
76
- name: "paymasterAndData",
77
- type: "bytes"
78
- },
79
- {
80
- internalType: "bytes",
81
- name: "signature",
82
- type: "bytes"
83
- }
84
- ],
85
- internalType: "struct UserOperation",
86
- name: "userOp",
87
- type: "tuple"
88
- },
89
- {
90
- internalType: "bytes32",
91
- name: "userOpHash",
92
- type: "bytes32"
93
- },
94
- {
95
- internalType: "uint256",
96
- name: "maxCost",
97
- type: "uint256"
98
- }
99
- ],
100
- name: "validatePaymasterUserOp",
101
- outputs: [
102
- {
103
- internalType: "bytes",
104
- name: "context",
105
- type: "bytes"
106
- },
107
- {
108
- internalType: "uint256",
109
- name: "validationData",
110
- type: "uint256"
111
- }
112
- ],
113
- stateMutability: "nonpayable",
114
- type: "function"
115
- }
116
- ];
117
- //# sourceMappingURL=IPaymaster.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IPaymaster.js","sourceRoot":"","sources":["../../../types/contracts/IPaymaster.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAiC;IACtD;QACI,MAAM,EAAE;YACJ;gBACI,YAAY,EAAE,4BAA4B;gBAC1C,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,OAAO;aAChB;YACD;gBACI,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;aAChB;YACD;gBACI,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,SAAS;aAClB;SACJ;QACD,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACnB;IACD;QACI,MAAM,EAAE;YACJ;gBACI,UAAU,EAAE;oBACR;wBACI,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,SAAS;qBAClB;oBACD;wBACI,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,SAAS;qBAClB;oBACD;wBACI,YAAY,EAAE,OAAO;wBACrB,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,OAAO;qBAChB;oBACD;wBACI,YAAY,EAAE,OAAO;wBACrB,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,OAAO;qBAChB;oBACD;wBACI,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,cAAc;wBACpB,IAAI,EAAE,SAAS;qBAClB;oBACD;wBACI,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,sBAAsB;wBAC5B,IAAI,EAAE,SAAS;qBAClB;oBACD;wBACI,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,oBAAoB;wBAC1B,IAAI,EAAE,SAAS;qBAClB;oBACD;wBACI,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,cAAc;wBACpB,IAAI,EAAE,SAAS;qBAClB;oBACD;wBACI,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,sBAAsB;wBAC5B,IAAI,EAAE,SAAS;qBAClB;oBACD;wBACI,YAAY,EAAE,OAAO;wBACrB,IAAI,EAAE,kBAAkB;wBACxB,IAAI,EAAE,OAAO;qBAChB;oBACD;wBACI,YAAY,EAAE,OAAO;wBACrB,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,OAAO;qBAChB;iBACJ;gBACD,YAAY,EAAE,sBAAsB;gBACpC,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,OAAO;aAChB;YACD;gBACI,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;aAClB;YACD;gBACI,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAClB;SACJ;QACD,IAAI,EAAE,yBAAyB;QAC/B,OAAO,EAAE;YACL;gBACI,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;aAChB;YACD;gBACI,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAClB;SACJ;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACnB;CACK,CAAA"}
@@ -1,65 +0,0 @@
1
- export declare const InflatorAbi: readonly [{
2
- readonly type: "function";
3
- readonly name: "inflate";
4
- readonly inputs: readonly [{
5
- readonly name: "compressed";
6
- readonly type: "bytes";
7
- readonly internalType: "bytes";
8
- }];
9
- readonly outputs: readonly [{
10
- readonly name: "ops";
11
- readonly type: "tuple[]";
12
- readonly internalType: "struct UserOperation[]";
13
- readonly components: readonly [{
14
- readonly name: "sender";
15
- readonly type: "address";
16
- readonly internalType: "address";
17
- }, {
18
- readonly name: "nonce";
19
- readonly type: "uint256";
20
- readonly internalType: "uint256";
21
- }, {
22
- readonly name: "initCode";
23
- readonly type: "bytes";
24
- readonly internalType: "bytes";
25
- }, {
26
- readonly name: "callData";
27
- readonly type: "bytes";
28
- readonly internalType: "bytes";
29
- }, {
30
- readonly name: "callGasLimit";
31
- readonly type: "uint256";
32
- readonly internalType: "uint256";
33
- }, {
34
- readonly name: "verificationGasLimit";
35
- readonly type: "uint256";
36
- readonly internalType: "uint256";
37
- }, {
38
- readonly name: "preVerificationGas";
39
- readonly type: "uint256";
40
- readonly internalType: "uint256";
41
- }, {
42
- readonly name: "maxFeePerGas";
43
- readonly type: "uint256";
44
- readonly internalType: "uint256";
45
- }, {
46
- readonly name: "maxPriorityFeePerGas";
47
- readonly type: "uint256";
48
- readonly internalType: "uint256";
49
- }, {
50
- readonly name: "paymasterAndData";
51
- readonly type: "bytes";
52
- readonly internalType: "bytes";
53
- }, {
54
- readonly name: "signature";
55
- readonly type: "bytes";
56
- readonly internalType: "bytes";
57
- }];
58
- }, {
59
- readonly name: "beneficiary";
60
- readonly type: "address";
61
- readonly internalType: "address payable";
62
- }];
63
- readonly stateMutability: "view";
64
- }];
65
- //# sourceMappingURL=Inflator.d.ts.map
@@ -1,84 +0,0 @@
1
- export const InflatorAbi = [
2
- {
3
- type: "function",
4
- name: "inflate",
5
- inputs: [
6
- {
7
- name: "compressed",
8
- type: "bytes",
9
- internalType: "bytes"
10
- }
11
- ],
12
- outputs: [
13
- {
14
- name: "ops",
15
- type: "tuple[]",
16
- internalType: "struct UserOperation[]",
17
- components: [
18
- {
19
- name: "sender",
20
- type: "address",
21
- internalType: "address"
22
- },
23
- {
24
- name: "nonce",
25
- type: "uint256",
26
- internalType: "uint256"
27
- },
28
- {
29
- name: "initCode",
30
- type: "bytes",
31
- internalType: "bytes"
32
- },
33
- {
34
- name: "callData",
35
- type: "bytes",
36
- internalType: "bytes"
37
- },
38
- {
39
- name: "callGasLimit",
40
- type: "uint256",
41
- internalType: "uint256"
42
- },
43
- {
44
- name: "verificationGasLimit",
45
- type: "uint256",
46
- internalType: "uint256"
47
- },
48
- {
49
- name: "preVerificationGas",
50
- type: "uint256",
51
- internalType: "uint256"
52
- },
53
- {
54
- name: "maxFeePerGas",
55
- type: "uint256",
56
- internalType: "uint256"
57
- },
58
- {
59
- name: "maxPriorityFeePerGas",
60
- type: "uint256",
61
- internalType: "uint256"
62
- },
63
- {
64
- name: "paymasterAndData",
65
- type: "bytes",
66
- internalType: "bytes"
67
- },
68
- {
69
- name: "signature",
70
- type: "bytes",
71
- internalType: "bytes"
72
- }
73
- ]
74
- },
75
- {
76
- name: "beneficiary",
77
- type: "address",
78
- internalType: "address payable"
79
- }
80
- ],
81
- stateMutability: "view"
82
- }
83
- ];
84
- //# sourceMappingURL=Inflator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inflator.js","sourceRoot":"","sources":["../../../types/contracts/Inflator.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB;QACI,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,MAAM,EAAE;YACJ;gBACI,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,OAAO;gBACb,YAAY,EAAE,OAAO;aACxB;SACJ;QACD,OAAO,EAAE;YACL;gBACI,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,wBAAwB;gBACtC,UAAU,EAAE;oBACR;wBACI,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,OAAO;wBACb,YAAY,EAAE,OAAO;qBACxB;oBACD;wBACI,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,OAAO;wBACb,YAAY,EAAE,OAAO;qBACxB;oBACD;wBACI,IAAI,EAAE,cAAc;wBACpB,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,sBAAsB;wBAC5B,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,oBAAoB;wBAC1B,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,cAAc;wBACpB,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,sBAAsB;wBAC5B,IAAI,EAAE,SAAS;wBACf,YAAY,EAAE,SAAS;qBAC1B;oBACD;wBACI,IAAI,EAAE,kBAAkB;wBACxB,IAAI,EAAE,OAAO;wBACb,YAAY,EAAE,OAAO;qBACxB;oBACD;wBACI,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,OAAO;wBACb,YAAY,EAAE,OAAO;qBACxB;iBACJ;aACJ;YACD;gBACI,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,iBAAiB;aAClC;SACJ;QACD,eAAe,EAAE,MAAM;KAC1B;CACK,CAAA"}
@@ -1,176 +0,0 @@
1
- export declare const PerOpInflatorAbi: readonly [{
2
- readonly type: "constructor";
3
- readonly inputs: readonly [{
4
- readonly name: "_owner";
5
- readonly type: "address";
6
- readonly internalType: "address";
7
- }];
8
- readonly stateMutability: "nonpayable";
9
- }, {
10
- readonly type: "function";
11
- readonly name: "beneficiary";
12
- readonly inputs: readonly [];
13
- readonly outputs: readonly [{
14
- readonly name: "";
15
- readonly type: "address";
16
- readonly internalType: "address payable";
17
- }];
18
- readonly stateMutability: "view";
19
- }, {
20
- readonly type: "function";
21
- readonly name: "idToInflator";
22
- readonly inputs: readonly [{
23
- readonly name: "";
24
- readonly type: "uint32";
25
- readonly internalType: "uint32";
26
- }];
27
- readonly outputs: readonly [{
28
- readonly name: "";
29
- readonly type: "address";
30
- readonly internalType: "contract IOpInflator";
31
- }];
32
- readonly stateMutability: "view";
33
- }, {
34
- readonly type: "function";
35
- readonly name: "inflate";
36
- readonly inputs: readonly [{
37
- readonly name: "compressed";
38
- readonly type: "bytes";
39
- readonly internalType: "bytes";
40
- }];
41
- readonly outputs: readonly [{
42
- readonly name: "";
43
- readonly type: "tuple[]";
44
- readonly internalType: "struct UserOperation[]";
45
- readonly components: readonly [{
46
- readonly name: "sender";
47
- readonly type: "address";
48
- readonly internalType: "address";
49
- }, {
50
- readonly name: "nonce";
51
- readonly type: "uint256";
52
- readonly internalType: "uint256";
53
- }, {
54
- readonly name: "initCode";
55
- readonly type: "bytes";
56
- readonly internalType: "bytes";
57
- }, {
58
- readonly name: "callData";
59
- readonly type: "bytes";
60
- readonly internalType: "bytes";
61
- }, {
62
- readonly name: "callGasLimit";
63
- readonly type: "uint256";
64
- readonly internalType: "uint256";
65
- }, {
66
- readonly name: "verificationGasLimit";
67
- readonly type: "uint256";
68
- readonly internalType: "uint256";
69
- }, {
70
- readonly name: "preVerificationGas";
71
- readonly type: "uint256";
72
- readonly internalType: "uint256";
73
- }, {
74
- readonly name: "maxFeePerGas";
75
- readonly type: "uint256";
76
- readonly internalType: "uint256";
77
- }, {
78
- readonly name: "maxPriorityFeePerGas";
79
- readonly type: "uint256";
80
- readonly internalType: "uint256";
81
- }, {
82
- readonly name: "paymasterAndData";
83
- readonly type: "bytes";
84
- readonly internalType: "bytes";
85
- }, {
86
- readonly name: "signature";
87
- readonly type: "bytes";
88
- readonly internalType: "bytes";
89
- }];
90
- }, {
91
- readonly name: "";
92
- readonly type: "address";
93
- readonly internalType: "address payable";
94
- }];
95
- readonly stateMutability: "view";
96
- }, {
97
- readonly type: "function";
98
- readonly name: "inflatorToID";
99
- readonly inputs: readonly [{
100
- readonly name: "";
101
- readonly type: "address";
102
- readonly internalType: "contract IOpInflator";
103
- }];
104
- readonly outputs: readonly [{
105
- readonly name: "";
106
- readonly type: "uint32";
107
- readonly internalType: "uint32";
108
- }];
109
- readonly stateMutability: "view";
110
- }, {
111
- readonly type: "function";
112
- readonly name: "owner";
113
- readonly inputs: readonly [];
114
- readonly outputs: readonly [{
115
- readonly name: "";
116
- readonly type: "address";
117
- readonly internalType: "address";
118
- }];
119
- readonly stateMutability: "view";
120
- }, {
121
- readonly type: "function";
122
- readonly name: "registerOpInflator";
123
- readonly inputs: readonly [{
124
- readonly name: "inflatorId";
125
- readonly type: "uint32";
126
- readonly internalType: "uint32";
127
- }, {
128
- readonly name: "inflator";
129
- readonly type: "address";
130
- readonly internalType: "contract IOpInflator";
131
- }];
132
- readonly outputs: readonly [];
133
- readonly stateMutability: "nonpayable";
134
- }, {
135
- readonly type: "function";
136
- readonly name: "renounceOwnership";
137
- readonly inputs: readonly [];
138
- readonly outputs: readonly [];
139
- readonly stateMutability: "nonpayable";
140
- }, {
141
- readonly type: "function";
142
- readonly name: "setBeneficiary";
143
- readonly inputs: readonly [{
144
- readonly name: "_beneficiary";
145
- readonly type: "address";
146
- readonly internalType: "address payable";
147
- }];
148
- readonly outputs: readonly [];
149
- readonly stateMutability: "nonpayable";
150
- }, {
151
- readonly type: "function";
152
- readonly name: "transferOwnership";
153
- readonly inputs: readonly [{
154
- readonly name: "newOwner";
155
- readonly type: "address";
156
- readonly internalType: "address";
157
- }];
158
- readonly outputs: readonly [];
159
- readonly stateMutability: "nonpayable";
160
- }, {
161
- readonly type: "event";
162
- readonly name: "OwnershipTransferred";
163
- readonly inputs: readonly [{
164
- readonly name: "previousOwner";
165
- readonly type: "address";
166
- readonly indexed: true;
167
- readonly internalType: "address";
168
- }, {
169
- readonly name: "newOwner";
170
- readonly type: "address";
171
- readonly indexed: true;
172
- readonly internalType: "address";
173
- }];
174
- readonly anonymous: false;
175
- }];
176
- //# sourceMappingURL=PerOpInflator.d.ts.map