@pimlico/alto 0.0.0-staging.20240606T101741 → 0.0.0-staging.20240606T103333

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 (220) hide show
  1. package/esm/cli/alto.d.ts +6 -0
  2. package/esm/cli/alto.js +92 -0
  3. package/esm/cli/alto.js.map +1 -0
  4. package/esm/cli/config/bundler.d.ts +391 -0
  5. package/esm/cli/config/bundler.js +132 -0
  6. package/esm/cli/config/bundler.js.map +1 -0
  7. package/esm/cli/config/index.d.ts +3 -0
  8. package/esm/cli/config/index.js +3 -0
  9. package/esm/cli/config/index.js.map +1 -0
  10. package/esm/cli/config/options.d.ts +11 -0
  11. package/esm/cli/config/options.js +336 -0
  12. package/esm/cli/config/options.js.map +1 -0
  13. package/esm/cli/customTransport.d.ts +14 -0
  14. package/esm/cli/customTransport.js +53 -0
  15. package/esm/cli/customTransport.js.map +1 -0
  16. package/esm/cli/handler.d.ts +3 -0
  17. package/esm/cli/handler.js +116 -0
  18. package/esm/cli/handler.js.map +1 -0
  19. package/esm/cli/index.d.ts +4 -0
  20. package/esm/cli/index.js +4 -0
  21. package/esm/cli/index.js.map +1 -0
  22. package/esm/cli/instrumentation.d.ts +2 -0
  23. package/esm/cli/instrumentation.js +39 -0
  24. package/esm/cli/instrumentation.js.map +1 -0
  25. package/esm/cli/setupServer.d.ts +17 -0
  26. package/esm/cli/setupServer.js +155 -0
  27. package/esm/cli/setupServer.js.map +1 -0
  28. package/esm/cli/util.d.ts +22 -0
  29. package/esm/cli/util.js +30 -0
  30. package/esm/cli/util.js.map +1 -0
  31. package/esm/executor/executor.d.ts +54 -0
  32. package/esm/executor/executor.js +637 -0
  33. package/esm/executor/executor.js.map +1 -0
  34. package/esm/executor/executorManager.d.ts +34 -0
  35. package/esm/executor/executorManager.js +401 -0
  36. package/esm/executor/executorManager.js.map +1 -0
  37. package/esm/executor/index.d.ts +5 -0
  38. package/esm/executor/index.js +5 -0
  39. package/esm/executor/index.js.map +1 -0
  40. package/esm/executor/senderManager.d.ts +17 -0
  41. package/esm/executor/senderManager.js +160 -0
  42. package/esm/executor/senderManager.js.map +1 -0
  43. package/esm/executor/test/utils.d.ts +13 -0
  44. package/esm/executor/test/utils.js +75 -0
  45. package/esm/executor/test/utils.js.map +1 -0
  46. package/esm/executor/utils.d.ts +32 -0
  47. package/esm/executor/utils.js +239 -0
  48. package/esm/executor/utils.js.map +1 -0
  49. package/esm/index.d.ts +2 -0
  50. package/esm/index.js +2 -0
  51. package/esm/index.js.map +1 -0
  52. package/esm/mempool/index.d.ts +5 -0
  53. package/esm/mempool/index.js +5 -0
  54. package/esm/mempool/index.js.map +1 -0
  55. package/esm/mempool/mempool.d.ts +64 -0
  56. package/esm/mempool/mempool.js +489 -0
  57. package/esm/mempool/mempool.js.map +1 -0
  58. package/esm/mempool/monitoring.d.ts +10 -0
  59. package/esm/mempool/monitoring.js +34 -0
  60. package/esm/mempool/monitoring.js.map +1 -0
  61. package/esm/mempool/nullMempool.d.ts +15 -0
  62. package/esm/mempool/nullMempool.js +36 -0
  63. package/esm/mempool/nullMempool.js.map +1 -0
  64. package/esm/mempool/reputationManager.d.ts +115 -0
  65. package/esm/mempool/reputationManager.js +397 -0
  66. package/esm/mempool/reputationManager.js.map +1 -0
  67. package/esm/mempool/store.d.ts +22 -0
  68. package/esm/mempool/store.js +123 -0
  69. package/esm/mempool/store.js.map +1 -0
  70. package/esm/rpc/EntryPointSimulationsV07.d.ts +58 -0
  71. package/esm/rpc/EntryPointSimulationsV07.js +407 -0
  72. package/esm/rpc/EntryPointSimulationsV07.js.map +1 -0
  73. package/esm/rpc/ExecuteSimulator.d.ts +37 -0
  74. package/esm/rpc/ExecuteSimulator.js +48 -0
  75. package/esm/rpc/ExecuteSimulator.js.map +1 -0
  76. package/esm/rpc/gasEstimation.d.ts +17 -0
  77. package/esm/rpc/gasEstimation.js +410 -0
  78. package/esm/rpc/gasEstimation.js.map +1 -0
  79. package/esm/rpc/index.d.ts +5 -0
  80. package/esm/rpc/index.js +5 -0
  81. package/esm/rpc/index.js.map +1 -0
  82. package/esm/rpc/nonceQueuer.d.ts +25 -0
  83. package/esm/rpc/nonceQueuer.js +135 -0
  84. package/esm/rpc/nonceQueuer.js.map +1 -0
  85. package/esm/rpc/rpcHandler.d.ts +64 -0
  86. package/esm/rpc/rpcHandler.js +727 -0
  87. package/esm/rpc/rpcHandler.js.map +1 -0
  88. package/esm/rpc/server.d.ts +31 -0
  89. package/esm/rpc/server.js +238 -0
  90. package/esm/rpc/server.js.map +1 -0
  91. package/esm/rpc/validation/BundlerCollectorTracerV06.d.ts +102 -0
  92. package/esm/rpc/validation/BundlerCollectorTracerV06.js +255 -0
  93. package/esm/rpc/validation/BundlerCollectorTracerV06.js.map +1 -0
  94. package/esm/rpc/validation/BundlerCollectorTracerV07.d.ts +102 -0
  95. package/esm/rpc/validation/BundlerCollectorTracerV07.js +254 -0
  96. package/esm/rpc/validation/BundlerCollectorTracerV07.js.map +1 -0
  97. package/esm/rpc/validation/SafeValidator.d.ts +35 -0
  98. package/esm/rpc/validation/SafeValidator.js +487 -0
  99. package/esm/rpc/validation/SafeValidator.js.map +1 -0
  100. package/esm/rpc/validation/TracerResultParserV06.d.ts +13 -0
  101. package/esm/rpc/validation/TracerResultParserV06.js +578 -0
  102. package/esm/rpc/validation/TracerResultParserV06.js.map +1 -0
  103. package/esm/rpc/validation/TracerResultParserV07.d.ts +33 -0
  104. package/esm/rpc/validation/TracerResultParserV07.js +557 -0
  105. package/esm/rpc/validation/TracerResultParserV07.js.map +1 -0
  106. package/esm/rpc/validation/UnsafeValidator.d.ts +63 -0
  107. package/esm/rpc/validation/UnsafeValidator.js +257 -0
  108. package/esm/rpc/validation/UnsafeValidator.js.map +1 -0
  109. package/esm/rpc/validation/index.d.ts +3 -0
  110. package/esm/rpc/validation/index.js +3 -0
  111. package/esm/rpc/validation/index.js.map +1 -0
  112. package/esm/rpc/validation/tracer.d.ts +122 -0
  113. package/esm/rpc/validation/tracer.js +82 -0
  114. package/esm/rpc/validation/tracer.js.map +1 -0
  115. package/esm/types/contracts/BundleBulker.d.ts +120 -0
  116. package/esm/types/contracts/BundleBulker.js +157 -0
  117. package/esm/types/contracts/BundleBulker.js.map +1 -0
  118. package/esm/types/contracts/CallEngine.d.ts +28 -0
  119. package/esm/types/contracts/CallEngine.js +37 -0
  120. package/esm/types/contracts/CallEngine.js.map +1 -0
  121. package/esm/types/contracts/CodeHashGetter.d.ts +37 -0
  122. package/esm/types/contracts/CodeHashGetter.js +45 -0
  123. package/esm/types/contracts/CodeHashGetter.js.map +1 -0
  124. package/esm/types/contracts/EntryPoint.d.ts +1789 -0
  125. package/esm/types/contracts/EntryPoint.js +2304 -0
  126. package/esm/types/contracts/EntryPoint.js.map +1 -0
  127. package/esm/types/contracts/EntryPointSimulations.d.ts +153 -0
  128. package/esm/types/contracts/EntryPointSimulations.js +15 -0
  129. package/esm/types/contracts/EntryPointSimulations.js.map +1 -0
  130. package/esm/types/contracts/IOpInflator.d.ts +61 -0
  131. package/esm/types/contracts/IOpInflator.js +80 -0
  132. package/esm/types/contracts/IOpInflator.js.map +1 -0
  133. package/esm/types/contracts/IPaymaster.d.ts +3 -0
  134. package/esm/types/contracts/IPaymaster.js +117 -0
  135. package/esm/types/contracts/IPaymaster.js.map +1 -0
  136. package/esm/types/contracts/Inflator.d.ts +65 -0
  137. package/esm/types/contracts/Inflator.js +84 -0
  138. package/esm/types/contracts/Inflator.js.map +1 -0
  139. package/esm/types/contracts/PerOpInflator.d.ts +176 -0
  140. package/esm/types/contracts/PerOpInflator.js +229 -0
  141. package/esm/types/contracts/PerOpInflator.js.map +1 -0
  142. package/esm/types/contracts/PimlicoEntryPointSimulations.d.ts +23 -0
  143. package/esm/types/contracts/PimlicoEntryPointSimulations.js +33 -0
  144. package/esm/types/contracts/PimlicoEntryPointSimulations.js.map +1 -0
  145. package/esm/types/contracts/SenderCreator.d.ts +4 -0
  146. package/esm/types/contracts/SenderCreator.js +23 -0
  147. package/esm/types/contracts/SenderCreator.js.map +1 -0
  148. package/esm/types/contracts/SimpleAccountFactory.d.ts +57 -0
  149. package/esm/types/contracts/SimpleAccountFactory.js +76 -0
  150. package/esm/types/contracts/SimpleAccountFactory.js.map +1 -0
  151. package/esm/types/contracts/TestOpcodesAccount.d.ts +4 -0
  152. package/esm/types/contracts/TestOpcodesAccount.js +281 -0
  153. package/esm/types/contracts/TestOpcodesAccount.js.map +1 -0
  154. package/esm/types/contracts/TestOpcodesAccountFactory.d.ts +4 -0
  155. package/esm/types/contracts/TestOpcodesAccountFactory.js +23 -0
  156. package/esm/types/contracts/TestOpcodesAccountFactory.js.map +1 -0
  157. package/esm/types/contracts/TestStorageAccount.d.ts +4 -0
  158. package/esm/types/contracts/TestStorageAccount.js +313 -0
  159. package/esm/types/contracts/TestStorageAccount.js.map +1 -0
  160. package/esm/types/contracts/index.d.ts +17 -0
  161. package/esm/types/contracts/index.js +17 -0
  162. package/esm/types/contracts/index.js.map +1 -0
  163. package/esm/types/gasPrice.d.ts +110 -0
  164. package/esm/types/gasPrice.js +52 -0
  165. package/esm/types/gasPrice.js.map +1 -0
  166. package/esm/types/index.d.ts +11 -0
  167. package/esm/types/index.js +11 -0
  168. package/esm/types/index.js.map +1 -0
  169. package/esm/types/interfaces.d.ts +26 -0
  170. package/esm/types/interfaces.js +2 -0
  171. package/esm/types/interfaces.js.map +1 -0
  172. package/esm/types/mempool.d.ts +78 -0
  173. package/esm/types/mempool.js +16 -0
  174. package/esm/types/mempool.js.map +1 -0
  175. package/esm/types/schemas.d.ts +4791 -0
  176. package/esm/types/schemas.js +497 -0
  177. package/esm/types/schemas.js.map +1 -0
  178. package/esm/types/test/validationTestErrors.d.ts +3 -0
  179. package/esm/types/test/validationTestErrors.js +229 -0
  180. package/esm/types/test/validationTestErrors.js.map +1 -0
  181. package/esm/types/utils.d.ts +24 -0
  182. package/esm/types/utils.js +30 -0
  183. package/esm/types/utils.js.map +1 -0
  184. package/esm/types/validation.d.ts +14327 -0
  185. package/esm/types/validation.js +304 -0
  186. package/esm/types/validation.js.map +1 -0
  187. package/esm/utils/bigInt.d.ts +3 -0
  188. package/esm/utils/bigInt.js +9 -0
  189. package/esm/utils/bigInt.js.map +1 -0
  190. package/esm/utils/compressionHandler.d.ts +11 -0
  191. package/esm/utils/compressionHandler.js +39 -0
  192. package/esm/utils/compressionHandler.js.map +1 -0
  193. package/esm/utils/gasPriceManager.d.ts +34 -0
  194. package/esm/utils/gasPriceManager.js +338 -0
  195. package/esm/utils/gasPriceManager.js.map +1 -0
  196. package/esm/utils/helpers.d.ts +4 -0
  197. package/esm/utils/helpers.js +13 -0
  198. package/esm/utils/helpers.js.map +1 -0
  199. package/esm/utils/index.d.ts +11 -0
  200. package/esm/utils/index.js +10 -0
  201. package/esm/utils/index.js.map +1 -0
  202. package/esm/utils/logger.d.ts +6 -0
  203. package/esm/utils/logger.js +76 -0
  204. package/esm/utils/logger.js.map +1 -0
  205. package/esm/utils/metrics.d.ts +22 -0
  206. package/esm/utils/metrics.js +150 -0
  207. package/esm/utils/metrics.js.map +1 -0
  208. package/esm/utils/rpc-reply.d.ts +17 -0
  209. package/esm/utils/rpc-reply.js +41 -0
  210. package/esm/utils/rpc-reply.js.map +1 -0
  211. package/esm/utils/test.d.ts +17 -0
  212. package/esm/utils/test.js +130 -0
  213. package/esm/utils/test.js.map +1 -0
  214. package/esm/utils/userop.d.ts +49 -0
  215. package/esm/utils/userop.js +408 -0
  216. package/esm/utils/userop.js.map +1 -0
  217. package/esm/utils/validation.d.ts +65 -0
  218. package/esm/utils/validation.js +461 -0
  219. package/esm/utils/validation.js.map +1 -0
  220. package/package.json +70 -66
@@ -0,0 +1,61 @@
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
@@ -0,0 +1,80 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,3 @@
1
+ import type { Abi, AbiConstructor } from "abitype";
2
+ export declare const PaymasterAbi: Exclude<Abi, AbiConstructor>;
3
+ //# sourceMappingURL=IPaymaster.d.ts.map
@@ -0,0 +1,117 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,65 @@
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
@@ -0,0 +1,84 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,176 @@
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