@pimlico/alto 0.0.6 → 0.0.8

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 (292) hide show
  1. package/esm/cli/alto.js +3 -1
  2. package/esm/cli/alto.js.map +1 -1
  3. package/esm/cli/config/bundler.d.ts +348 -306
  4. package/esm/cli/config/bundler.js +26 -7
  5. package/esm/cli/config/bundler.js.map +1 -1
  6. package/esm/cli/config/options.d.ts +2 -1
  7. package/esm/cli/config/options.js +46 -8
  8. package/esm/cli/config/options.js.map +1 -1
  9. package/esm/cli/customTransport.js +40 -7
  10. package/esm/cli/customTransport.js.map +1 -1
  11. package/esm/cli/deploySimulationsContract.d.ts +8 -0
  12. package/esm/cli/deploySimulationsContract.js +26 -0
  13. package/esm/cli/deploySimulationsContract.js.map +1 -0
  14. package/esm/cli/handler.d.ts +2 -2
  15. package/esm/cli/handler.js +67 -89
  16. package/esm/cli/handler.js.map +1 -1
  17. package/esm/cli/instrumentation.js +4 -2
  18. package/esm/cli/instrumentation.js.map +1 -1
  19. package/esm/cli/parseArgs.d.ts +8 -0
  20. package/esm/cli/parseArgs.js +21 -0
  21. package/esm/cli/parseArgs.js.map +1 -0
  22. package/esm/cli/setupServer.d.ts +4 -9
  23. package/esm/cli/setupServer.js +98 -82
  24. package/esm/cli/setupServer.js.map +1 -1
  25. package/esm/createConfig.d.ts +15 -0
  26. package/esm/createConfig.js +8 -0
  27. package/esm/createConfig.js.map +1 -0
  28. package/esm/executor/executor.d.ts +29 -13
  29. package/esm/executor/executor.js +110 -72
  30. package/esm/executor/executor.js.map +1 -1
  31. package/esm/executor/executorManager.d.ts +14 -10
  32. package/esm/executor/executorManager.js +42 -42
  33. package/esm/executor/executorManager.js.map +1 -1
  34. package/esm/executor/senderManager.d.ts +11 -6
  35. package/esm/executor/senderManager.js +25 -32
  36. package/esm/executor/senderManager.js.map +1 -1
  37. package/esm/executor/utilityWalletMonitor.d.ts +9 -5
  38. package/esm/executor/utilityWalletMonitor.js +8 -8
  39. package/esm/executor/utilityWalletMonitor.js.map +1 -1
  40. package/esm/executor/utils.d.ts +2 -1
  41. package/esm/executor/utils.js +7 -2
  42. package/esm/executor/utils.js.map +1 -1
  43. package/esm/handlers/arbitrumGasPriceManager.d.ts +11 -0
  44. package/esm/handlers/arbitrumGasPriceManager.js +29 -0
  45. package/esm/handlers/arbitrumGasPriceManager.js.map +1 -0
  46. package/esm/handlers/eventManager.d.ts +7 -3
  47. package/esm/handlers/eventManager.js +24 -16
  48. package/esm/handlers/eventManager.js.map +1 -1
  49. package/esm/handlers/gasPriceManager.d.ts +14 -27
  50. package/esm/handlers/gasPriceManager.js +81 -135
  51. package/esm/handlers/gasPriceManager.js.map +1 -1
  52. package/esm/handlers/mantleGasPriceManager.d.ts +20 -0
  53. package/esm/handlers/mantleGasPriceManager.js +28 -0
  54. package/esm/handlers/mantleGasPriceManager.js.map +1 -0
  55. package/esm/mempool/mempool.d.ts +13 -10
  56. package/esm/mempool/mempool.js +29 -26
  57. package/esm/mempool/mempool.js.map +1 -1
  58. package/esm/mempool/reputationManager.d.ts +4 -6
  59. package/esm/mempool/reputationManager.js +25 -29
  60. package/esm/mempool/reputationManager.js.map +1 -1
  61. package/esm/mempool/store.d.ts +1 -1
  62. package/esm/rpc/estimation/gasEstimationHandler.d.ts +24 -0
  63. package/esm/rpc/estimation/gasEstimationHandler.js +48 -0
  64. package/esm/rpc/estimation/gasEstimationHandler.js.map +1 -0
  65. package/esm/rpc/estimation/gasEstimationsV06.d.ts +19 -0
  66. package/esm/rpc/estimation/gasEstimationsV06.js +146 -0
  67. package/esm/rpc/estimation/gasEstimationsV06.js.map +1 -0
  68. package/esm/rpc/estimation/gasEstimationsV07.d.ts +88 -0
  69. package/esm/rpc/estimation/gasEstimationsV07.js +429 -0
  70. package/esm/rpc/estimation/gasEstimationsV07.js.map +1 -0
  71. package/esm/rpc/estimation/types.d.ts +113 -0
  72. package/esm/rpc/estimation/types.js +122 -0
  73. package/esm/rpc/estimation/types.js.map +1 -0
  74. package/esm/rpc/nonceQueuer.d.ts +10 -6
  75. package/esm/rpc/nonceQueuer.js +10 -10
  76. package/esm/rpc/nonceQueuer.js.map +1 -1
  77. package/esm/rpc/rpcHandler.d.ts +19 -16
  78. package/esm/rpc/rpcHandler.js +83 -72
  79. package/esm/rpc/rpcHandler.js.map +1 -1
  80. package/esm/rpc/server.d.ts +9 -7
  81. package/esm/rpc/server.js +27 -26
  82. package/esm/rpc/server.js.map +1 -1
  83. package/esm/rpc/validation/SafeValidator.d.ts +11 -6
  84. package/esm/rpc/validation/SafeValidator.js +16 -14
  85. package/esm/rpc/validation/SafeValidator.js.map +1 -1
  86. package/esm/rpc/validation/TracerResultParserV06.d.ts +1 -1
  87. package/esm/rpc/validation/TracerResultParserV06.js.map +1 -1
  88. package/esm/rpc/validation/TracerResultParserV07.d.ts +1 -1
  89. package/esm/rpc/validation/TracerResultParserV07.js +1 -1
  90. package/esm/rpc/validation/TracerResultParserV07.js.map +1 -1
  91. package/esm/rpc/validation/UnsafeValidator.d.ts +14 -17
  92. package/esm/rpc/validation/UnsafeValidator.js +49 -42
  93. package/esm/rpc/validation/UnsafeValidator.js.map +1 -1
  94. package/esm/types/contracts/ArbitrumL1FeeAbi.d.ts +32 -0
  95. package/esm/types/contracts/ArbitrumL1FeeAbi.js +42 -0
  96. package/esm/types/contracts/ArbitrumL1FeeAbi.js.map +1 -0
  97. package/esm/types/contracts/EntryPointSimulationsV6.d.ts +34 -0
  98. package/esm/types/contracts/EntryPointSimulationsV6.js +48 -0
  99. package/esm/types/contracts/EntryPointSimulationsV6.js.map +1 -0
  100. package/esm/types/contracts/EntryPointSimulationsV7.d.ts +1370 -0
  101. package/esm/types/contracts/{EntryPointSimulations.js → EntryPointSimulationsV7.js} +197 -385
  102. package/esm/types/contracts/EntryPointSimulationsV7.js.map +1 -0
  103. package/esm/types/contracts/IAccountExecute.d.ts +53 -0
  104. package/esm/types/contracts/IAccountExecute.js +68 -0
  105. package/esm/types/contracts/IAccountExecute.js.map +1 -0
  106. package/esm/types/contracts/MantleBvmGasPriceOracle.d.ts +219 -0
  107. package/esm/types/contracts/MantleBvmGasPriceOracle.js +177 -0
  108. package/esm/types/contracts/MantleBvmGasPriceOracle.js.map +1 -0
  109. package/esm/types/contracts/OpL1FeeAbi.d.ts +26 -0
  110. package/esm/types/contracts/OpL1FeeAbi.js +29 -0
  111. package/esm/types/contracts/OpL1FeeAbi.js.map +1 -0
  112. package/esm/types/contracts/PimlicoEntryPointSimulations.d.ts +1 -1
  113. package/esm/types/contracts/PimlicoEntryPointSimulations.js +1 -1
  114. package/esm/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
  115. package/esm/types/contracts/index.d.ts +5 -1
  116. package/esm/types/contracts/index.js +5 -1
  117. package/esm/types/contracts/index.js.map +1 -1
  118. package/esm/types/interfaces.d.ts +2 -2
  119. package/esm/types/schemas.d.ts +94 -94
  120. package/esm/types/schemas.js +3 -3
  121. package/esm/types/schemas.js.map +1 -1
  122. package/esm/types/utils.d.ts +1 -1
  123. package/esm/utils/bigInt.js +2 -2
  124. package/esm/utils/bigInt.js.map +1 -1
  125. package/esm/utils/helpers.js +1 -1
  126. package/esm/utils/helpers.js.map +1 -1
  127. package/esm/utils/rpc-reply.d.ts +1 -1
  128. package/esm/utils/timedQueue.d.ts +12 -0
  129. package/esm/utils/timedQueue.js +51 -0
  130. package/esm/utils/timedQueue.js.map +1 -0
  131. package/esm/utils/userop.d.ts +2 -2
  132. package/esm/utils/userop.js +2 -2
  133. package/esm/utils/userop.js.map +1 -1
  134. package/esm/utils/validation.d.ts +14 -6
  135. package/esm/utils/validation.js +115 -132
  136. package/esm/utils/validation.js.map +1 -1
  137. package/lib/cli/alto.js +2 -0
  138. package/lib/cli/alto.js.map +1 -1
  139. package/lib/cli/config/bundler.d.ts +348 -306
  140. package/lib/cli/config/bundler.js +26 -7
  141. package/lib/cli/config/bundler.js.map +1 -1
  142. package/lib/cli/config/options.d.ts +2 -1
  143. package/lib/cli/config/options.js +47 -9
  144. package/lib/cli/config/options.js.map +1 -1
  145. package/lib/cli/customTransport.js +38 -5
  146. package/lib/cli/customTransport.js.map +1 -1
  147. package/lib/cli/deploySimulationsContract.d.ts +8 -0
  148. package/lib/cli/deploySimulationsContract.js +30 -0
  149. package/lib/cli/deploySimulationsContract.js.map +1 -0
  150. package/lib/cli/handler.d.ts +2 -2
  151. package/lib/cli/handler.js +66 -88
  152. package/lib/cli/handler.js.map +1 -1
  153. package/lib/cli/instrumentation.js +4 -2
  154. package/lib/cli/instrumentation.js.map +1 -1
  155. package/lib/cli/parseArgs.d.ts +8 -0
  156. package/lib/cli/parseArgs.js +25 -0
  157. package/lib/cli/parseArgs.js.map +1 -0
  158. package/lib/cli/setupServer.d.ts +4 -9
  159. package/lib/cli/setupServer.js +98 -82
  160. package/lib/cli/setupServer.js.map +1 -1
  161. package/lib/createConfig.d.ts +15 -0
  162. package/lib/createConfig.js +12 -0
  163. package/lib/createConfig.js.map +1 -0
  164. package/lib/executor/executor.d.ts +29 -13
  165. package/lib/executor/executor.js +106 -68
  166. package/lib/executor/executor.js.map +1 -1
  167. package/lib/executor/executorManager.d.ts +14 -10
  168. package/lib/executor/executorManager.js +40 -40
  169. package/lib/executor/executorManager.js.map +1 -1
  170. package/lib/executor/senderManager.d.ts +11 -6
  171. package/lib/executor/senderManager.js +25 -32
  172. package/lib/executor/senderManager.js.map +1 -1
  173. package/lib/executor/utilityWalletMonitor.d.ts +9 -5
  174. package/lib/executor/utilityWalletMonitor.js +8 -8
  175. package/lib/executor/utilityWalletMonitor.js.map +1 -1
  176. package/lib/executor/utils.d.ts +2 -1
  177. package/lib/executor/utils.js +9 -3
  178. package/lib/executor/utils.js.map +1 -1
  179. package/lib/handlers/arbitrumGasPriceManager.d.ts +11 -0
  180. package/lib/handlers/arbitrumGasPriceManager.js +33 -0
  181. package/lib/handlers/arbitrumGasPriceManager.js.map +1 -0
  182. package/lib/handlers/eventManager.d.ts +7 -3
  183. package/lib/handlers/eventManager.js +24 -16
  184. package/lib/handlers/eventManager.js.map +1 -1
  185. package/lib/handlers/gasPriceManager.d.ts +14 -27
  186. package/lib/handlers/gasPriceManager.js +80 -134
  187. package/lib/handlers/gasPriceManager.js.map +1 -1
  188. package/lib/handlers/mantleGasPriceManager.d.ts +20 -0
  189. package/lib/handlers/mantleGasPriceManager.js +32 -0
  190. package/lib/handlers/mantleGasPriceManager.js.map +1 -0
  191. package/lib/mempool/mempool.d.ts +13 -10
  192. package/lib/mempool/mempool.js +28 -25
  193. package/lib/mempool/mempool.js.map +1 -1
  194. package/lib/mempool/reputationManager.d.ts +4 -6
  195. package/lib/mempool/reputationManager.js +25 -29
  196. package/lib/mempool/reputationManager.js.map +1 -1
  197. package/lib/mempool/store.d.ts +1 -1
  198. package/lib/rpc/estimation/gasEstimationHandler.d.ts +24 -0
  199. package/lib/rpc/estimation/gasEstimationHandler.js +52 -0
  200. package/lib/rpc/estimation/gasEstimationHandler.js.map +1 -0
  201. package/lib/rpc/estimation/gasEstimationsV06.d.ts +19 -0
  202. package/lib/rpc/estimation/gasEstimationsV06.js +150 -0
  203. package/lib/rpc/estimation/gasEstimationsV06.js.map +1 -0
  204. package/lib/rpc/estimation/gasEstimationsV07.d.ts +88 -0
  205. package/lib/rpc/estimation/gasEstimationsV07.js +435 -0
  206. package/lib/rpc/estimation/gasEstimationsV07.js.map +1 -0
  207. package/lib/rpc/estimation/types.d.ts +113 -0
  208. package/lib/rpc/estimation/types.js +125 -0
  209. package/lib/rpc/estimation/types.js.map +1 -0
  210. package/lib/rpc/nonceQueuer.d.ts +10 -6
  211. package/lib/rpc/nonceQueuer.js +9 -9
  212. package/lib/rpc/nonceQueuer.js.map +1 -1
  213. package/lib/rpc/rpcHandler.d.ts +19 -16
  214. package/lib/rpc/rpcHandler.js +82 -71
  215. package/lib/rpc/rpcHandler.js.map +1 -1
  216. package/lib/rpc/server.d.ts +9 -7
  217. package/lib/rpc/server.js +26 -25
  218. package/lib/rpc/server.js.map +1 -1
  219. package/lib/rpc/validation/SafeValidator.d.ts +11 -6
  220. package/lib/rpc/validation/SafeValidator.js +16 -14
  221. package/lib/rpc/validation/SafeValidator.js.map +1 -1
  222. package/lib/rpc/validation/TracerResultParserV06.d.ts +1 -1
  223. package/lib/rpc/validation/TracerResultParserV07.d.ts +1 -1
  224. package/lib/rpc/validation/TracerResultParserV07.js +1 -1
  225. package/lib/rpc/validation/TracerResultParserV07.js.map +1 -1
  226. package/lib/rpc/validation/UnsafeValidator.d.ts +14 -17
  227. package/lib/rpc/validation/UnsafeValidator.js +49 -42
  228. package/lib/rpc/validation/UnsafeValidator.js.map +1 -1
  229. package/lib/types/contracts/ArbitrumL1FeeAbi.d.ts +32 -0
  230. package/lib/types/contracts/ArbitrumL1FeeAbi.js +45 -0
  231. package/lib/types/contracts/ArbitrumL1FeeAbi.js.map +1 -0
  232. package/lib/types/contracts/EntryPointSimulationsV6.d.ts +34 -0
  233. package/lib/types/contracts/EntryPointSimulationsV6.js +51 -0
  234. package/lib/types/contracts/EntryPointSimulationsV6.js.map +1 -0
  235. package/lib/types/contracts/EntryPointSimulationsV7.d.ts +1370 -0
  236. package/lib/types/contracts/{EntryPointSimulations.js → EntryPointSimulationsV7.js} +198 -386
  237. package/lib/types/contracts/EntryPointSimulationsV7.js.map +1 -0
  238. package/lib/types/contracts/IAccountExecute.d.ts +53 -0
  239. package/lib/types/contracts/IAccountExecute.js +71 -0
  240. package/lib/types/contracts/IAccountExecute.js.map +1 -0
  241. package/lib/types/contracts/MantleBvmGasPriceOracle.d.ts +219 -0
  242. package/lib/types/contracts/MantleBvmGasPriceOracle.js +180 -0
  243. package/lib/types/contracts/MantleBvmGasPriceOracle.js.map +1 -0
  244. package/lib/types/contracts/OpL1FeeAbi.d.ts +26 -0
  245. package/lib/types/contracts/OpL1FeeAbi.js +32 -0
  246. package/lib/types/contracts/OpL1FeeAbi.js.map +1 -0
  247. package/lib/types/contracts/PimlicoEntryPointSimulations.d.ts +1 -1
  248. package/lib/types/contracts/PimlicoEntryPointSimulations.js +1 -1
  249. package/lib/types/contracts/PimlicoEntryPointSimulations.js.map +1 -1
  250. package/lib/types/contracts/index.d.ts +5 -1
  251. package/lib/types/contracts/index.js +5 -1
  252. package/lib/types/contracts/index.js.map +1 -1
  253. package/lib/types/interfaces.d.ts +2 -2
  254. package/lib/types/schemas.d.ts +94 -94
  255. package/lib/types/schemas.js +3 -3
  256. package/lib/types/schemas.js.map +1 -1
  257. package/lib/types/utils.d.ts +1 -1
  258. package/lib/utils/bigInt.js +2 -2
  259. package/lib/utils/bigInt.js.map +1 -1
  260. package/lib/utils/rpc-reply.d.ts +1 -1
  261. package/lib/utils/timedQueue.d.ts +12 -0
  262. package/lib/utils/timedQueue.js +55 -0
  263. package/lib/utils/timedQueue.js.map +1 -0
  264. package/lib/utils/userop.d.ts +2 -2
  265. package/lib/utils/userop.js +1 -1
  266. package/lib/utils/userop.js.map +1 -1
  267. package/lib/utils/validation.d.ts +14 -6
  268. package/lib/utils/validation.js +118 -134
  269. package/lib/utils/validation.js.map +1 -1
  270. package/package.json +1 -1
  271. package/esm/rpc/EntryPointSimulationsV07.d.ts +0 -62
  272. package/esm/rpc/EntryPointSimulationsV07.js +0 -410
  273. package/esm/rpc/EntryPointSimulationsV07.js.map +0 -1
  274. package/esm/rpc/ExecuteSimulator.d.ts +0 -37
  275. package/esm/rpc/ExecuteSimulator.js +0 -48
  276. package/esm/rpc/ExecuteSimulator.js.map +0 -1
  277. package/esm/rpc/gasEstimation.d.ts +0 -17
  278. package/esm/rpc/gasEstimation.js +0 -419
  279. package/esm/rpc/gasEstimation.js.map +0 -1
  280. package/esm/types/contracts/EntryPointSimulations.d.ts +0 -152
  281. package/esm/types/contracts/EntryPointSimulations.js.map +0 -1
  282. package/lib/rpc/EntryPointSimulationsV07.d.ts +0 -62
  283. package/lib/rpc/EntryPointSimulationsV07.js +0 -417
  284. package/lib/rpc/EntryPointSimulationsV07.js.map +0 -1
  285. package/lib/rpc/ExecuteSimulator.d.ts +0 -37
  286. package/lib/rpc/ExecuteSimulator.js +0 -51
  287. package/lib/rpc/ExecuteSimulator.js.map +0 -1
  288. package/lib/rpc/gasEstimation.d.ts +0 -17
  289. package/lib/rpc/gasEstimation.js +0 -426
  290. package/lib/rpc/gasEstimation.js.map +0 -1
  291. package/lib/types/contracts/EntryPointSimulations.d.ts +0 -152
  292. package/lib/types/contracts/EntryPointSimulations.js.map +0 -1
@@ -0,0 +1,1370 @@
1
+ export declare const EntryPointV07SimulationsAbi: readonly [{
2
+ readonly type: "constructor";
3
+ readonly inputs: readonly [];
4
+ readonly stateMutability: "nonpayable";
5
+ }, {
6
+ readonly type: "receive";
7
+ readonly stateMutability: "payable";
8
+ }, {
9
+ readonly type: "function";
10
+ readonly name: "addStake";
11
+ readonly inputs: readonly [{
12
+ readonly name: "unstakeDelaySec";
13
+ readonly type: "uint32";
14
+ readonly internalType: "uint32";
15
+ }];
16
+ readonly outputs: readonly [];
17
+ readonly stateMutability: "payable";
18
+ }, {
19
+ readonly type: "function";
20
+ readonly name: "balanceOf";
21
+ readonly inputs: readonly [{
22
+ readonly name: "account";
23
+ readonly type: "address";
24
+ readonly internalType: "address";
25
+ }];
26
+ readonly outputs: readonly [{
27
+ readonly name: "";
28
+ readonly type: "uint256";
29
+ readonly internalType: "uint256";
30
+ }];
31
+ readonly stateMutability: "view";
32
+ }, {
33
+ readonly type: "function";
34
+ readonly name: "depositTo";
35
+ readonly inputs: readonly [{
36
+ readonly name: "account";
37
+ readonly type: "address";
38
+ readonly internalType: "address";
39
+ }];
40
+ readonly outputs: readonly [];
41
+ readonly stateMutability: "payable";
42
+ }, {
43
+ readonly type: "function";
44
+ readonly name: "deposits";
45
+ readonly inputs: readonly [{
46
+ readonly name: "";
47
+ readonly type: "address";
48
+ readonly internalType: "address";
49
+ }];
50
+ readonly outputs: readonly [{
51
+ readonly name: "deposit";
52
+ readonly type: "uint256";
53
+ readonly internalType: "uint256";
54
+ }, {
55
+ readonly name: "staked";
56
+ readonly type: "bool";
57
+ readonly internalType: "bool";
58
+ }, {
59
+ readonly name: "stake";
60
+ readonly type: "uint112";
61
+ readonly internalType: "uint112";
62
+ }, {
63
+ readonly name: "unstakeDelaySec";
64
+ readonly type: "uint32";
65
+ readonly internalType: "uint32";
66
+ }, {
67
+ readonly name: "withdrawTime";
68
+ readonly type: "uint48";
69
+ readonly internalType: "uint48";
70
+ }];
71
+ readonly stateMutability: "view";
72
+ }, {
73
+ readonly type: "function";
74
+ readonly name: "getDepositInfo";
75
+ readonly inputs: readonly [{
76
+ readonly name: "account";
77
+ readonly type: "address";
78
+ readonly internalType: "address";
79
+ }];
80
+ readonly outputs: readonly [{
81
+ readonly name: "info";
82
+ readonly type: "tuple";
83
+ readonly internalType: "struct IStakeManager.DepositInfo";
84
+ readonly components: readonly [{
85
+ readonly name: "deposit";
86
+ readonly type: "uint256";
87
+ readonly internalType: "uint256";
88
+ }, {
89
+ readonly name: "staked";
90
+ readonly type: "bool";
91
+ readonly internalType: "bool";
92
+ }, {
93
+ readonly name: "stake";
94
+ readonly type: "uint112";
95
+ readonly internalType: "uint112";
96
+ }, {
97
+ readonly name: "unstakeDelaySec";
98
+ readonly type: "uint32";
99
+ readonly internalType: "uint32";
100
+ }, {
101
+ readonly name: "withdrawTime";
102
+ readonly type: "uint48";
103
+ readonly internalType: "uint48";
104
+ }];
105
+ }];
106
+ readonly stateMutability: "view";
107
+ }, {
108
+ readonly type: "function";
109
+ readonly name: "getNonce";
110
+ readonly inputs: readonly [{
111
+ readonly name: "sender";
112
+ readonly type: "address";
113
+ readonly internalType: "address";
114
+ }, {
115
+ readonly name: "key";
116
+ readonly type: "uint192";
117
+ readonly internalType: "uint192";
118
+ }];
119
+ readonly outputs: readonly [{
120
+ readonly name: "nonce";
121
+ readonly type: "uint256";
122
+ readonly internalType: "uint256";
123
+ }];
124
+ readonly stateMutability: "view";
125
+ }, {
126
+ readonly type: "function";
127
+ readonly name: "getUserOpHash";
128
+ readonly inputs: readonly [{
129
+ readonly name: "userOp";
130
+ readonly type: "tuple";
131
+ readonly internalType: "struct PackedUserOperation";
132
+ readonly components: readonly [{
133
+ readonly name: "sender";
134
+ readonly type: "address";
135
+ readonly internalType: "address";
136
+ }, {
137
+ readonly name: "nonce";
138
+ readonly type: "uint256";
139
+ readonly internalType: "uint256";
140
+ }, {
141
+ readonly name: "initCode";
142
+ readonly type: "bytes";
143
+ readonly internalType: "bytes";
144
+ }, {
145
+ readonly name: "callData";
146
+ readonly type: "bytes";
147
+ readonly internalType: "bytes";
148
+ }, {
149
+ readonly name: "accountGasLimits";
150
+ readonly type: "bytes32";
151
+ readonly internalType: "bytes32";
152
+ }, {
153
+ readonly name: "preVerificationGas";
154
+ readonly type: "uint256";
155
+ readonly internalType: "uint256";
156
+ }, {
157
+ readonly name: "gasFees";
158
+ readonly type: "bytes32";
159
+ readonly internalType: "bytes32";
160
+ }, {
161
+ readonly name: "paymasterAndData";
162
+ readonly type: "bytes";
163
+ readonly internalType: "bytes";
164
+ }, {
165
+ readonly name: "signature";
166
+ readonly type: "bytes";
167
+ readonly internalType: "bytes";
168
+ }];
169
+ }];
170
+ readonly outputs: readonly [{
171
+ readonly name: "";
172
+ readonly type: "bytes32";
173
+ readonly internalType: "bytes32";
174
+ }];
175
+ readonly stateMutability: "view";
176
+ }, {
177
+ readonly type: "function";
178
+ readonly name: "incrementNonce";
179
+ readonly inputs: readonly [{
180
+ readonly name: "key";
181
+ readonly type: "uint192";
182
+ readonly internalType: "uint192";
183
+ }];
184
+ readonly outputs: readonly [];
185
+ readonly stateMutability: "nonpayable";
186
+ }, {
187
+ readonly type: "function";
188
+ readonly name: "innerHandleOp";
189
+ readonly inputs: readonly [{
190
+ readonly name: "callData";
191
+ readonly type: "bytes";
192
+ readonly internalType: "bytes";
193
+ }, {
194
+ readonly name: "opInfo";
195
+ readonly type: "tuple";
196
+ readonly internalType: "struct EntryPoint.UserOpInfo";
197
+ readonly components: readonly [{
198
+ readonly name: "mUserOp";
199
+ readonly type: "tuple";
200
+ readonly internalType: "struct EntryPoint.MemoryUserOp";
201
+ readonly components: readonly [{
202
+ readonly name: "sender";
203
+ readonly type: "address";
204
+ readonly internalType: "address";
205
+ }, {
206
+ readonly name: "nonce";
207
+ readonly type: "uint256";
208
+ readonly internalType: "uint256";
209
+ }, {
210
+ readonly name: "verificationGasLimit";
211
+ readonly type: "uint256";
212
+ readonly internalType: "uint256";
213
+ }, {
214
+ readonly name: "callGasLimit";
215
+ readonly type: "uint256";
216
+ readonly internalType: "uint256";
217
+ }, {
218
+ readonly name: "paymasterVerificationGasLimit";
219
+ readonly type: "uint256";
220
+ readonly internalType: "uint256";
221
+ }, {
222
+ readonly name: "paymasterPostOpGasLimit";
223
+ readonly type: "uint256";
224
+ readonly internalType: "uint256";
225
+ }, {
226
+ readonly name: "preVerificationGas";
227
+ readonly type: "uint256";
228
+ readonly internalType: "uint256";
229
+ }, {
230
+ readonly name: "paymaster";
231
+ readonly type: "address";
232
+ readonly internalType: "address";
233
+ }, {
234
+ readonly name: "maxFeePerGas";
235
+ readonly type: "uint256";
236
+ readonly internalType: "uint256";
237
+ }, {
238
+ readonly name: "maxPriorityFeePerGas";
239
+ readonly type: "uint256";
240
+ readonly internalType: "uint256";
241
+ }];
242
+ }, {
243
+ readonly name: "userOpHash";
244
+ readonly type: "bytes32";
245
+ readonly internalType: "bytes32";
246
+ }, {
247
+ readonly name: "prefund";
248
+ readonly type: "uint256";
249
+ readonly internalType: "uint256";
250
+ }, {
251
+ readonly name: "contextOffset";
252
+ readonly type: "uint256";
253
+ readonly internalType: "uint256";
254
+ }, {
255
+ readonly name: "preOpGas";
256
+ readonly type: "uint256";
257
+ readonly internalType: "uint256";
258
+ }];
259
+ }, {
260
+ readonly name: "context";
261
+ readonly type: "bytes";
262
+ readonly internalType: "bytes";
263
+ }, {
264
+ readonly name: "preGas";
265
+ readonly type: "uint256";
266
+ readonly internalType: "uint256";
267
+ }];
268
+ readonly outputs: readonly [{
269
+ readonly name: "actualGasCost";
270
+ readonly type: "uint256";
271
+ readonly internalType: "uint256";
272
+ }, {
273
+ readonly name: "paymasterPostOpGasLimit";
274
+ readonly type: "uint256";
275
+ readonly internalType: "uint256";
276
+ }];
277
+ readonly stateMutability: "nonpayable";
278
+ }, {
279
+ readonly type: "function";
280
+ readonly name: "nonceSequenceNumber";
281
+ readonly inputs: readonly [{
282
+ readonly name: "";
283
+ readonly type: "address";
284
+ readonly internalType: "address";
285
+ }, {
286
+ readonly name: "";
287
+ readonly type: "uint192";
288
+ readonly internalType: "uint192";
289
+ }];
290
+ readonly outputs: readonly [{
291
+ readonly name: "";
292
+ readonly type: "uint256";
293
+ readonly internalType: "uint256";
294
+ }];
295
+ readonly stateMutability: "view";
296
+ }, {
297
+ readonly type: "function";
298
+ readonly name: "simulateCall";
299
+ readonly inputs: readonly [{
300
+ readonly name: "entryPoint";
301
+ readonly type: "address";
302
+ readonly internalType: "address";
303
+ }, {
304
+ readonly name: "target";
305
+ readonly type: "address";
306
+ readonly internalType: "address";
307
+ }, {
308
+ readonly name: "data";
309
+ readonly type: "bytes";
310
+ readonly internalType: "bytes";
311
+ }, {
312
+ readonly name: "gas";
313
+ readonly type: "uint256";
314
+ readonly internalType: "uint256";
315
+ }];
316
+ readonly outputs: readonly [{
317
+ readonly name: "success";
318
+ readonly type: "bool";
319
+ readonly internalType: "bool";
320
+ }, {
321
+ readonly name: "result";
322
+ readonly type: "bytes";
323
+ readonly internalType: "bytes";
324
+ }];
325
+ readonly stateMutability: "nonpayable";
326
+ }, {
327
+ readonly type: "function";
328
+ readonly name: "simulateCallAndRevert";
329
+ readonly inputs: readonly [{
330
+ readonly name: "target";
331
+ readonly type: "address";
332
+ readonly internalType: "address";
333
+ }, {
334
+ readonly name: "data";
335
+ readonly type: "bytes";
336
+ readonly internalType: "bytes";
337
+ }, {
338
+ readonly name: "gas";
339
+ readonly type: "uint256";
340
+ readonly internalType: "uint256";
341
+ }];
342
+ readonly outputs: readonly [];
343
+ readonly stateMutability: "nonpayable";
344
+ }, {
345
+ readonly type: "function";
346
+ readonly name: "simulateCallData";
347
+ readonly inputs: readonly [{
348
+ readonly name: "queuedUserOps";
349
+ readonly type: "tuple[]";
350
+ readonly internalType: "struct SimulationArgs[]";
351
+ readonly components: readonly [{
352
+ readonly name: "op";
353
+ readonly type: "tuple";
354
+ readonly internalType: "struct PackedUserOperation";
355
+ readonly components: readonly [{
356
+ readonly name: "sender";
357
+ readonly type: "address";
358
+ readonly internalType: "address";
359
+ }, {
360
+ readonly name: "nonce";
361
+ readonly type: "uint256";
362
+ readonly internalType: "uint256";
363
+ }, {
364
+ readonly name: "initCode";
365
+ readonly type: "bytes";
366
+ readonly internalType: "bytes";
367
+ }, {
368
+ readonly name: "callData";
369
+ readonly type: "bytes";
370
+ readonly internalType: "bytes";
371
+ }, {
372
+ readonly name: "accountGasLimits";
373
+ readonly type: "bytes32";
374
+ readonly internalType: "bytes32";
375
+ }, {
376
+ readonly name: "preVerificationGas";
377
+ readonly type: "uint256";
378
+ readonly internalType: "uint256";
379
+ }, {
380
+ readonly name: "gasFees";
381
+ readonly type: "bytes32";
382
+ readonly internalType: "bytes32";
383
+ }, {
384
+ readonly name: "paymasterAndData";
385
+ readonly type: "bytes";
386
+ readonly internalType: "bytes";
387
+ }, {
388
+ readonly name: "signature";
389
+ readonly type: "bytes";
390
+ readonly internalType: "bytes";
391
+ }];
392
+ }, {
393
+ readonly name: "target";
394
+ readonly type: "address";
395
+ readonly internalType: "address";
396
+ }, {
397
+ readonly name: "targetCallData";
398
+ readonly type: "bytes";
399
+ readonly internalType: "bytes";
400
+ }];
401
+ }, {
402
+ readonly name: "targetUserOp";
403
+ readonly type: "tuple";
404
+ readonly internalType: "struct SimulationArgs";
405
+ readonly components: readonly [{
406
+ readonly name: "op";
407
+ readonly type: "tuple";
408
+ readonly internalType: "struct PackedUserOperation";
409
+ readonly components: readonly [{
410
+ readonly name: "sender";
411
+ readonly type: "address";
412
+ readonly internalType: "address";
413
+ }, {
414
+ readonly name: "nonce";
415
+ readonly type: "uint256";
416
+ readonly internalType: "uint256";
417
+ }, {
418
+ readonly name: "initCode";
419
+ readonly type: "bytes";
420
+ readonly internalType: "bytes";
421
+ }, {
422
+ readonly name: "callData";
423
+ readonly type: "bytes";
424
+ readonly internalType: "bytes";
425
+ }, {
426
+ readonly name: "accountGasLimits";
427
+ readonly type: "bytes32";
428
+ readonly internalType: "bytes32";
429
+ }, {
430
+ readonly name: "preVerificationGas";
431
+ readonly type: "uint256";
432
+ readonly internalType: "uint256";
433
+ }, {
434
+ readonly name: "gasFees";
435
+ readonly type: "bytes32";
436
+ readonly internalType: "bytes32";
437
+ }, {
438
+ readonly name: "paymasterAndData";
439
+ readonly type: "bytes";
440
+ readonly internalType: "bytes";
441
+ }, {
442
+ readonly name: "signature";
443
+ readonly type: "bytes";
444
+ readonly internalType: "bytes";
445
+ }];
446
+ }, {
447
+ readonly name: "target";
448
+ readonly type: "address";
449
+ readonly internalType: "address";
450
+ }, {
451
+ readonly name: "targetCallData";
452
+ readonly type: "bytes";
453
+ readonly internalType: "bytes";
454
+ }];
455
+ }, {
456
+ readonly name: "entryPoint";
457
+ readonly type: "address";
458
+ readonly internalType: "address";
459
+ }, {
460
+ readonly name: "initialMinGas";
461
+ readonly type: "uint256";
462
+ readonly internalType: "uint256";
463
+ }, {
464
+ readonly name: "toleranceDelta";
465
+ readonly type: "uint256";
466
+ readonly internalType: "uint256";
467
+ }, {
468
+ readonly name: "gasAllowance";
469
+ readonly type: "uint256";
470
+ readonly internalType: "uint256";
471
+ }];
472
+ readonly outputs: readonly [{
473
+ readonly name: "";
474
+ readonly type: "tuple";
475
+ readonly internalType: "struct IEntryPointSimulations.TargetCallResult";
476
+ readonly components: readonly [{
477
+ readonly name: "gasUsed";
478
+ readonly type: "uint256";
479
+ readonly internalType: "uint256";
480
+ }, {
481
+ readonly name: "success";
482
+ readonly type: "bool";
483
+ readonly internalType: "bool";
484
+ }, {
485
+ readonly name: "returnData";
486
+ readonly type: "bytes";
487
+ readonly internalType: "bytes";
488
+ }];
489
+ }];
490
+ readonly stateMutability: "nonpayable";
491
+ }, {
492
+ readonly type: "function";
493
+ readonly name: "simulateHandleOp";
494
+ readonly inputs: readonly [{
495
+ readonly name: "op";
496
+ readonly type: "tuple";
497
+ readonly internalType: "struct PackedUserOperation";
498
+ readonly components: readonly [{
499
+ readonly name: "sender";
500
+ readonly type: "address";
501
+ readonly internalType: "address";
502
+ }, {
503
+ readonly name: "nonce";
504
+ readonly type: "uint256";
505
+ readonly internalType: "uint256";
506
+ }, {
507
+ readonly name: "initCode";
508
+ readonly type: "bytes";
509
+ readonly internalType: "bytes";
510
+ }, {
511
+ readonly name: "callData";
512
+ readonly type: "bytes";
513
+ readonly internalType: "bytes";
514
+ }, {
515
+ readonly name: "accountGasLimits";
516
+ readonly type: "bytes32";
517
+ readonly internalType: "bytes32";
518
+ }, {
519
+ readonly name: "preVerificationGas";
520
+ readonly type: "uint256";
521
+ readonly internalType: "uint256";
522
+ }, {
523
+ readonly name: "gasFees";
524
+ readonly type: "bytes32";
525
+ readonly internalType: "bytes32";
526
+ }, {
527
+ readonly name: "paymasterAndData";
528
+ readonly type: "bytes";
529
+ readonly internalType: "bytes";
530
+ }, {
531
+ readonly name: "signature";
532
+ readonly type: "bytes";
533
+ readonly internalType: "bytes";
534
+ }];
535
+ }];
536
+ readonly outputs: readonly [{
537
+ readonly name: "";
538
+ readonly type: "tuple";
539
+ readonly internalType: "struct IEntryPointSimulations.ExecutionResult";
540
+ readonly components: readonly [{
541
+ readonly name: "preOpGas";
542
+ readonly type: "uint256";
543
+ readonly internalType: "uint256";
544
+ }, {
545
+ readonly name: "paid";
546
+ readonly type: "uint256";
547
+ readonly internalType: "uint256";
548
+ }, {
549
+ readonly name: "accountValidationData";
550
+ readonly type: "uint256";
551
+ readonly internalType: "uint256";
552
+ }, {
553
+ readonly name: "paymasterValidationData";
554
+ readonly type: "uint256";
555
+ readonly internalType: "uint256";
556
+ }, {
557
+ readonly name: "paymasterVerificationGasLimit";
558
+ readonly type: "uint256";
559
+ readonly internalType: "uint256";
560
+ }, {
561
+ readonly name: "paymasterPostOpGasLimit";
562
+ readonly type: "uint256";
563
+ readonly internalType: "uint256";
564
+ }, {
565
+ readonly name: "targetSuccess";
566
+ readonly type: "bool";
567
+ readonly internalType: "bool";
568
+ }, {
569
+ readonly name: "targetResult";
570
+ readonly type: "bytes";
571
+ readonly internalType: "bytes";
572
+ }];
573
+ }];
574
+ readonly stateMutability: "nonpayable";
575
+ }, {
576
+ readonly type: "function";
577
+ readonly name: "simulateHandleOpBulk";
578
+ readonly inputs: readonly [{
579
+ readonly name: "ops";
580
+ readonly type: "tuple[]";
581
+ readonly internalType: "struct PackedUserOperation[]";
582
+ readonly components: readonly [{
583
+ readonly name: "sender";
584
+ readonly type: "address";
585
+ readonly internalType: "address";
586
+ }, {
587
+ readonly name: "nonce";
588
+ readonly type: "uint256";
589
+ readonly internalType: "uint256";
590
+ }, {
591
+ readonly name: "initCode";
592
+ readonly type: "bytes";
593
+ readonly internalType: "bytes";
594
+ }, {
595
+ readonly name: "callData";
596
+ readonly type: "bytes";
597
+ readonly internalType: "bytes";
598
+ }, {
599
+ readonly name: "accountGasLimits";
600
+ readonly type: "bytes32";
601
+ readonly internalType: "bytes32";
602
+ }, {
603
+ readonly name: "preVerificationGas";
604
+ readonly type: "uint256";
605
+ readonly internalType: "uint256";
606
+ }, {
607
+ readonly name: "gasFees";
608
+ readonly type: "bytes32";
609
+ readonly internalType: "bytes32";
610
+ }, {
611
+ readonly name: "paymasterAndData";
612
+ readonly type: "bytes";
613
+ readonly internalType: "bytes";
614
+ }, {
615
+ readonly name: "signature";
616
+ readonly type: "bytes";
617
+ readonly internalType: "bytes";
618
+ }];
619
+ }];
620
+ readonly outputs: readonly [{
621
+ readonly name: "";
622
+ readonly type: "tuple[]";
623
+ readonly internalType: "struct IEntryPointSimulations.ExecutionResult[]";
624
+ readonly components: readonly [{
625
+ readonly name: "preOpGas";
626
+ readonly type: "uint256";
627
+ readonly internalType: "uint256";
628
+ }, {
629
+ readonly name: "paid";
630
+ readonly type: "uint256";
631
+ readonly internalType: "uint256";
632
+ }, {
633
+ readonly name: "accountValidationData";
634
+ readonly type: "uint256";
635
+ readonly internalType: "uint256";
636
+ }, {
637
+ readonly name: "paymasterValidationData";
638
+ readonly type: "uint256";
639
+ readonly internalType: "uint256";
640
+ }, {
641
+ readonly name: "paymasterVerificationGasLimit";
642
+ readonly type: "uint256";
643
+ readonly internalType: "uint256";
644
+ }, {
645
+ readonly name: "paymasterPostOpGasLimit";
646
+ readonly type: "uint256";
647
+ readonly internalType: "uint256";
648
+ }, {
649
+ readonly name: "targetSuccess";
650
+ readonly type: "bool";
651
+ readonly internalType: "bool";
652
+ }, {
653
+ readonly name: "targetResult";
654
+ readonly type: "bytes";
655
+ readonly internalType: "bytes";
656
+ }];
657
+ }];
658
+ readonly stateMutability: "nonpayable";
659
+ }, {
660
+ readonly type: "function";
661
+ readonly name: "simulateHandleOpLast";
662
+ readonly inputs: readonly [{
663
+ readonly name: "ops";
664
+ readonly type: "tuple[]";
665
+ readonly internalType: "struct PackedUserOperation[]";
666
+ readonly components: readonly [{
667
+ readonly name: "sender";
668
+ readonly type: "address";
669
+ readonly internalType: "address";
670
+ }, {
671
+ readonly name: "nonce";
672
+ readonly type: "uint256";
673
+ readonly internalType: "uint256";
674
+ }, {
675
+ readonly name: "initCode";
676
+ readonly type: "bytes";
677
+ readonly internalType: "bytes";
678
+ }, {
679
+ readonly name: "callData";
680
+ readonly type: "bytes";
681
+ readonly internalType: "bytes";
682
+ }, {
683
+ readonly name: "accountGasLimits";
684
+ readonly type: "bytes32";
685
+ readonly internalType: "bytes32";
686
+ }, {
687
+ readonly name: "preVerificationGas";
688
+ readonly type: "uint256";
689
+ readonly internalType: "uint256";
690
+ }, {
691
+ readonly name: "gasFees";
692
+ readonly type: "bytes32";
693
+ readonly internalType: "bytes32";
694
+ }, {
695
+ readonly name: "paymasterAndData";
696
+ readonly type: "bytes";
697
+ readonly internalType: "bytes";
698
+ }, {
699
+ readonly name: "signature";
700
+ readonly type: "bytes";
701
+ readonly internalType: "bytes";
702
+ }];
703
+ }];
704
+ readonly outputs: readonly [{
705
+ readonly name: "";
706
+ readonly type: "tuple";
707
+ readonly internalType: "struct IEntryPointSimulations.ExecutionResult";
708
+ readonly components: readonly [{
709
+ readonly name: "preOpGas";
710
+ readonly type: "uint256";
711
+ readonly internalType: "uint256";
712
+ }, {
713
+ readonly name: "paid";
714
+ readonly type: "uint256";
715
+ readonly internalType: "uint256";
716
+ }, {
717
+ readonly name: "accountValidationData";
718
+ readonly type: "uint256";
719
+ readonly internalType: "uint256";
720
+ }, {
721
+ readonly name: "paymasterValidationData";
722
+ readonly type: "uint256";
723
+ readonly internalType: "uint256";
724
+ }, {
725
+ readonly name: "paymasterVerificationGasLimit";
726
+ readonly type: "uint256";
727
+ readonly internalType: "uint256";
728
+ }, {
729
+ readonly name: "paymasterPostOpGasLimit";
730
+ readonly type: "uint256";
731
+ readonly internalType: "uint256";
732
+ }, {
733
+ readonly name: "targetSuccess";
734
+ readonly type: "bool";
735
+ readonly internalType: "bool";
736
+ }, {
737
+ readonly name: "targetResult";
738
+ readonly type: "bytes";
739
+ readonly internalType: "bytes";
740
+ }];
741
+ }];
742
+ readonly stateMutability: "nonpayable";
743
+ }, {
744
+ readonly type: "function";
745
+ readonly name: "simulateValidation";
746
+ readonly inputs: readonly [{
747
+ readonly name: "userOp";
748
+ readonly type: "tuple";
749
+ readonly internalType: "struct PackedUserOperation";
750
+ readonly components: readonly [{
751
+ readonly name: "sender";
752
+ readonly type: "address";
753
+ readonly internalType: "address";
754
+ }, {
755
+ readonly name: "nonce";
756
+ readonly type: "uint256";
757
+ readonly internalType: "uint256";
758
+ }, {
759
+ readonly name: "initCode";
760
+ readonly type: "bytes";
761
+ readonly internalType: "bytes";
762
+ }, {
763
+ readonly name: "callData";
764
+ readonly type: "bytes";
765
+ readonly internalType: "bytes";
766
+ }, {
767
+ readonly name: "accountGasLimits";
768
+ readonly type: "bytes32";
769
+ readonly internalType: "bytes32";
770
+ }, {
771
+ readonly name: "preVerificationGas";
772
+ readonly type: "uint256";
773
+ readonly internalType: "uint256";
774
+ }, {
775
+ readonly name: "gasFees";
776
+ readonly type: "bytes32";
777
+ readonly internalType: "bytes32";
778
+ }, {
779
+ readonly name: "paymasterAndData";
780
+ readonly type: "bytes";
781
+ readonly internalType: "bytes";
782
+ }, {
783
+ readonly name: "signature";
784
+ readonly type: "bytes";
785
+ readonly internalType: "bytes";
786
+ }];
787
+ }];
788
+ readonly outputs: readonly [{
789
+ readonly name: "";
790
+ readonly type: "tuple";
791
+ readonly internalType: "struct IEntryPointSimulations.ValidationResult";
792
+ readonly components: readonly [{
793
+ readonly name: "returnInfo";
794
+ readonly type: "tuple";
795
+ readonly internalType: "struct IEntryPoint.ReturnInfo";
796
+ readonly components: readonly [{
797
+ readonly name: "preOpGas";
798
+ readonly type: "uint256";
799
+ readonly internalType: "uint256";
800
+ }, {
801
+ readonly name: "prefund";
802
+ readonly type: "uint256";
803
+ readonly internalType: "uint256";
804
+ }, {
805
+ readonly name: "accountValidationData";
806
+ readonly type: "uint256";
807
+ readonly internalType: "uint256";
808
+ }, {
809
+ readonly name: "paymasterValidationData";
810
+ readonly type: "uint256";
811
+ readonly internalType: "uint256";
812
+ }, {
813
+ readonly name: "paymasterContext";
814
+ readonly type: "bytes";
815
+ readonly internalType: "bytes";
816
+ }];
817
+ }, {
818
+ readonly name: "senderInfo";
819
+ readonly type: "tuple";
820
+ readonly internalType: "struct IStakeManager.StakeInfo";
821
+ readonly components: readonly [{
822
+ readonly name: "stake";
823
+ readonly type: "uint256";
824
+ readonly internalType: "uint256";
825
+ }, {
826
+ readonly name: "unstakeDelaySec";
827
+ readonly type: "uint256";
828
+ readonly internalType: "uint256";
829
+ }];
830
+ }, {
831
+ readonly name: "factoryInfo";
832
+ readonly type: "tuple";
833
+ readonly internalType: "struct IStakeManager.StakeInfo";
834
+ readonly components: readonly [{
835
+ readonly name: "stake";
836
+ readonly type: "uint256";
837
+ readonly internalType: "uint256";
838
+ }, {
839
+ readonly name: "unstakeDelaySec";
840
+ readonly type: "uint256";
841
+ readonly internalType: "uint256";
842
+ }];
843
+ }, {
844
+ readonly name: "paymasterInfo";
845
+ readonly type: "tuple";
846
+ readonly internalType: "struct IStakeManager.StakeInfo";
847
+ readonly components: readonly [{
848
+ readonly name: "stake";
849
+ readonly type: "uint256";
850
+ readonly internalType: "uint256";
851
+ }, {
852
+ readonly name: "unstakeDelaySec";
853
+ readonly type: "uint256";
854
+ readonly internalType: "uint256";
855
+ }];
856
+ }, {
857
+ readonly name: "aggregatorInfo";
858
+ readonly type: "tuple";
859
+ readonly internalType: "struct IEntryPoint.AggregatorStakeInfo";
860
+ readonly components: readonly [{
861
+ readonly name: "aggregator";
862
+ readonly type: "address";
863
+ readonly internalType: "address";
864
+ }, {
865
+ readonly name: "stakeInfo";
866
+ readonly type: "tuple";
867
+ readonly internalType: "struct IStakeManager.StakeInfo";
868
+ readonly components: readonly [{
869
+ readonly name: "stake";
870
+ readonly type: "uint256";
871
+ readonly internalType: "uint256";
872
+ }, {
873
+ readonly name: "unstakeDelaySec";
874
+ readonly type: "uint256";
875
+ readonly internalType: "uint256";
876
+ }];
877
+ }];
878
+ }];
879
+ }];
880
+ readonly stateMutability: "nonpayable";
881
+ }, {
882
+ readonly type: "function";
883
+ readonly name: "simulateValidationLast";
884
+ readonly inputs: readonly [{
885
+ readonly name: "userOps";
886
+ readonly type: "tuple[]";
887
+ readonly internalType: "struct PackedUserOperation[]";
888
+ readonly components: readonly [{
889
+ readonly name: "sender";
890
+ readonly type: "address";
891
+ readonly internalType: "address";
892
+ }, {
893
+ readonly name: "nonce";
894
+ readonly type: "uint256";
895
+ readonly internalType: "uint256";
896
+ }, {
897
+ readonly name: "initCode";
898
+ readonly type: "bytes";
899
+ readonly internalType: "bytes";
900
+ }, {
901
+ readonly name: "callData";
902
+ readonly type: "bytes";
903
+ readonly internalType: "bytes";
904
+ }, {
905
+ readonly name: "accountGasLimits";
906
+ readonly type: "bytes32";
907
+ readonly internalType: "bytes32";
908
+ }, {
909
+ readonly name: "preVerificationGas";
910
+ readonly type: "uint256";
911
+ readonly internalType: "uint256";
912
+ }, {
913
+ readonly name: "gasFees";
914
+ readonly type: "bytes32";
915
+ readonly internalType: "bytes32";
916
+ }, {
917
+ readonly name: "paymasterAndData";
918
+ readonly type: "bytes";
919
+ readonly internalType: "bytes";
920
+ }, {
921
+ readonly name: "signature";
922
+ readonly type: "bytes";
923
+ readonly internalType: "bytes";
924
+ }];
925
+ }];
926
+ readonly outputs: readonly [{
927
+ readonly name: "";
928
+ readonly type: "tuple";
929
+ readonly internalType: "struct IEntryPointSimulations.ValidationResult";
930
+ readonly components: readonly [{
931
+ readonly name: "returnInfo";
932
+ readonly type: "tuple";
933
+ readonly internalType: "struct IEntryPoint.ReturnInfo";
934
+ readonly components: readonly [{
935
+ readonly name: "preOpGas";
936
+ readonly type: "uint256";
937
+ readonly internalType: "uint256";
938
+ }, {
939
+ readonly name: "prefund";
940
+ readonly type: "uint256";
941
+ readonly internalType: "uint256";
942
+ }, {
943
+ readonly name: "accountValidationData";
944
+ readonly type: "uint256";
945
+ readonly internalType: "uint256";
946
+ }, {
947
+ readonly name: "paymasterValidationData";
948
+ readonly type: "uint256";
949
+ readonly internalType: "uint256";
950
+ }, {
951
+ readonly name: "paymasterContext";
952
+ readonly type: "bytes";
953
+ readonly internalType: "bytes";
954
+ }];
955
+ }, {
956
+ readonly name: "senderInfo";
957
+ readonly type: "tuple";
958
+ readonly internalType: "struct IStakeManager.StakeInfo";
959
+ readonly components: readonly [{
960
+ readonly name: "stake";
961
+ readonly type: "uint256";
962
+ readonly internalType: "uint256";
963
+ }, {
964
+ readonly name: "unstakeDelaySec";
965
+ readonly type: "uint256";
966
+ readonly internalType: "uint256";
967
+ }];
968
+ }, {
969
+ readonly name: "factoryInfo";
970
+ readonly type: "tuple";
971
+ readonly internalType: "struct IStakeManager.StakeInfo";
972
+ readonly components: readonly [{
973
+ readonly name: "stake";
974
+ readonly type: "uint256";
975
+ readonly internalType: "uint256";
976
+ }, {
977
+ readonly name: "unstakeDelaySec";
978
+ readonly type: "uint256";
979
+ readonly internalType: "uint256";
980
+ }];
981
+ }, {
982
+ readonly name: "paymasterInfo";
983
+ readonly type: "tuple";
984
+ readonly internalType: "struct IStakeManager.StakeInfo";
985
+ readonly components: readonly [{
986
+ readonly name: "stake";
987
+ readonly type: "uint256";
988
+ readonly internalType: "uint256";
989
+ }, {
990
+ readonly name: "unstakeDelaySec";
991
+ readonly type: "uint256";
992
+ readonly internalType: "uint256";
993
+ }];
994
+ }, {
995
+ readonly name: "aggregatorInfo";
996
+ readonly type: "tuple";
997
+ readonly internalType: "struct IEntryPoint.AggregatorStakeInfo";
998
+ readonly components: readonly [{
999
+ readonly name: "aggregator";
1000
+ readonly type: "address";
1001
+ readonly internalType: "address";
1002
+ }, {
1003
+ readonly name: "stakeInfo";
1004
+ readonly type: "tuple";
1005
+ readonly internalType: "struct IStakeManager.StakeInfo";
1006
+ readonly components: readonly [{
1007
+ readonly name: "stake";
1008
+ readonly type: "uint256";
1009
+ readonly internalType: "uint256";
1010
+ }, {
1011
+ readonly name: "unstakeDelaySec";
1012
+ readonly type: "uint256";
1013
+ readonly internalType: "uint256";
1014
+ }];
1015
+ }];
1016
+ }];
1017
+ }];
1018
+ readonly stateMutability: "nonpayable";
1019
+ }, {
1020
+ readonly type: "function";
1021
+ readonly name: "unlockStake";
1022
+ readonly inputs: readonly [];
1023
+ readonly outputs: readonly [];
1024
+ readonly stateMutability: "nonpayable";
1025
+ }, {
1026
+ readonly type: "function";
1027
+ readonly name: "withdrawStake";
1028
+ readonly inputs: readonly [{
1029
+ readonly name: "withdrawAddress";
1030
+ readonly type: "address";
1031
+ readonly internalType: "address payable";
1032
+ }];
1033
+ readonly outputs: readonly [];
1034
+ readonly stateMutability: "nonpayable";
1035
+ }, {
1036
+ readonly type: "function";
1037
+ readonly name: "withdrawTo";
1038
+ readonly inputs: readonly [{
1039
+ readonly name: "withdrawAddress";
1040
+ readonly type: "address";
1041
+ readonly internalType: "address payable";
1042
+ }, {
1043
+ readonly name: "withdrawAmount";
1044
+ readonly type: "uint256";
1045
+ readonly internalType: "uint256";
1046
+ }];
1047
+ readonly outputs: readonly [];
1048
+ readonly stateMutability: "nonpayable";
1049
+ }, {
1050
+ readonly type: "event";
1051
+ readonly name: "AccountDeployed";
1052
+ readonly inputs: readonly [{
1053
+ readonly name: "userOpHash";
1054
+ readonly type: "bytes32";
1055
+ readonly indexed: true;
1056
+ readonly internalType: "bytes32";
1057
+ }, {
1058
+ readonly name: "sender";
1059
+ readonly type: "address";
1060
+ readonly indexed: true;
1061
+ readonly internalType: "address";
1062
+ }, {
1063
+ readonly name: "factory";
1064
+ readonly type: "address";
1065
+ readonly indexed: false;
1066
+ readonly internalType: "address";
1067
+ }, {
1068
+ readonly name: "paymaster";
1069
+ readonly type: "address";
1070
+ readonly indexed: false;
1071
+ readonly internalType: "address";
1072
+ }];
1073
+ readonly anonymous: false;
1074
+ }, {
1075
+ readonly type: "event";
1076
+ readonly name: "BeforeExecution";
1077
+ readonly inputs: readonly [];
1078
+ readonly anonymous: false;
1079
+ }, {
1080
+ readonly type: "event";
1081
+ readonly name: "Deposited";
1082
+ readonly inputs: readonly [{
1083
+ readonly name: "account";
1084
+ readonly type: "address";
1085
+ readonly indexed: true;
1086
+ readonly internalType: "address";
1087
+ }, {
1088
+ readonly name: "totalDeposit";
1089
+ readonly type: "uint256";
1090
+ readonly indexed: false;
1091
+ readonly internalType: "uint256";
1092
+ }];
1093
+ readonly anonymous: false;
1094
+ }, {
1095
+ readonly type: "event";
1096
+ readonly name: "PostOpRevertReason";
1097
+ readonly inputs: readonly [{
1098
+ readonly name: "userOpHash";
1099
+ readonly type: "bytes32";
1100
+ readonly indexed: true;
1101
+ readonly internalType: "bytes32";
1102
+ }, {
1103
+ readonly name: "sender";
1104
+ readonly type: "address";
1105
+ readonly indexed: true;
1106
+ readonly internalType: "address";
1107
+ }, {
1108
+ readonly name: "nonce";
1109
+ readonly type: "uint256";
1110
+ readonly indexed: false;
1111
+ readonly internalType: "uint256";
1112
+ }, {
1113
+ readonly name: "revertReason";
1114
+ readonly type: "bytes";
1115
+ readonly indexed: false;
1116
+ readonly internalType: "bytes";
1117
+ }];
1118
+ readonly anonymous: false;
1119
+ }, {
1120
+ readonly type: "event";
1121
+ readonly name: "SignatureAggregatorChanged";
1122
+ readonly inputs: readonly [{
1123
+ readonly name: "aggregator";
1124
+ readonly type: "address";
1125
+ readonly indexed: true;
1126
+ readonly internalType: "address";
1127
+ }];
1128
+ readonly anonymous: false;
1129
+ }, {
1130
+ readonly type: "event";
1131
+ readonly name: "StakeLocked";
1132
+ readonly inputs: readonly [{
1133
+ readonly name: "account";
1134
+ readonly type: "address";
1135
+ readonly indexed: true;
1136
+ readonly internalType: "address";
1137
+ }, {
1138
+ readonly name: "totalStaked";
1139
+ readonly type: "uint256";
1140
+ readonly indexed: false;
1141
+ readonly internalType: "uint256";
1142
+ }, {
1143
+ readonly name: "unstakeDelaySec";
1144
+ readonly type: "uint256";
1145
+ readonly indexed: false;
1146
+ readonly internalType: "uint256";
1147
+ }];
1148
+ readonly anonymous: false;
1149
+ }, {
1150
+ readonly type: "event";
1151
+ readonly name: "StakeUnlocked";
1152
+ readonly inputs: readonly [{
1153
+ readonly name: "account";
1154
+ readonly type: "address";
1155
+ readonly indexed: true;
1156
+ readonly internalType: "address";
1157
+ }, {
1158
+ readonly name: "withdrawTime";
1159
+ readonly type: "uint256";
1160
+ readonly indexed: false;
1161
+ readonly internalType: "uint256";
1162
+ }];
1163
+ readonly anonymous: false;
1164
+ }, {
1165
+ readonly type: "event";
1166
+ readonly name: "StakeWithdrawn";
1167
+ readonly inputs: readonly [{
1168
+ readonly name: "account";
1169
+ readonly type: "address";
1170
+ readonly indexed: true;
1171
+ readonly internalType: "address";
1172
+ }, {
1173
+ readonly name: "withdrawAddress";
1174
+ readonly type: "address";
1175
+ readonly indexed: false;
1176
+ readonly internalType: "address";
1177
+ }, {
1178
+ readonly name: "amount";
1179
+ readonly type: "uint256";
1180
+ readonly indexed: false;
1181
+ readonly internalType: "uint256";
1182
+ }];
1183
+ readonly anonymous: false;
1184
+ }, {
1185
+ readonly type: "event";
1186
+ readonly name: "UserOperationEvent";
1187
+ readonly inputs: readonly [{
1188
+ readonly name: "userOpHash";
1189
+ readonly type: "bytes32";
1190
+ readonly indexed: true;
1191
+ readonly internalType: "bytes32";
1192
+ }, {
1193
+ readonly name: "sender";
1194
+ readonly type: "address";
1195
+ readonly indexed: true;
1196
+ readonly internalType: "address";
1197
+ }, {
1198
+ readonly name: "paymaster";
1199
+ readonly type: "address";
1200
+ readonly indexed: true;
1201
+ readonly internalType: "address";
1202
+ }, {
1203
+ readonly name: "nonce";
1204
+ readonly type: "uint256";
1205
+ readonly indexed: false;
1206
+ readonly internalType: "uint256";
1207
+ }, {
1208
+ readonly name: "success";
1209
+ readonly type: "bool";
1210
+ readonly indexed: false;
1211
+ readonly internalType: "bool";
1212
+ }, {
1213
+ readonly name: "actualGasCost";
1214
+ readonly type: "uint256";
1215
+ readonly indexed: false;
1216
+ readonly internalType: "uint256";
1217
+ }, {
1218
+ readonly name: "actualGasUsed";
1219
+ readonly type: "uint256";
1220
+ readonly indexed: false;
1221
+ readonly internalType: "uint256";
1222
+ }];
1223
+ readonly anonymous: false;
1224
+ }, {
1225
+ readonly type: "event";
1226
+ readonly name: "UserOperationPrefundTooLow";
1227
+ readonly inputs: readonly [{
1228
+ readonly name: "userOpHash";
1229
+ readonly type: "bytes32";
1230
+ readonly indexed: true;
1231
+ readonly internalType: "bytes32";
1232
+ }, {
1233
+ readonly name: "sender";
1234
+ readonly type: "address";
1235
+ readonly indexed: true;
1236
+ readonly internalType: "address";
1237
+ }, {
1238
+ readonly name: "nonce";
1239
+ readonly type: "uint256";
1240
+ readonly indexed: false;
1241
+ readonly internalType: "uint256";
1242
+ }];
1243
+ readonly anonymous: false;
1244
+ }, {
1245
+ readonly type: "event";
1246
+ readonly name: "UserOperationRevertReason";
1247
+ readonly inputs: readonly [{
1248
+ readonly name: "userOpHash";
1249
+ readonly type: "bytes32";
1250
+ readonly indexed: true;
1251
+ readonly internalType: "bytes32";
1252
+ }, {
1253
+ readonly name: "sender";
1254
+ readonly type: "address";
1255
+ readonly indexed: true;
1256
+ readonly internalType: "address";
1257
+ }, {
1258
+ readonly name: "nonce";
1259
+ readonly type: "uint256";
1260
+ readonly indexed: false;
1261
+ readonly internalType: "uint256";
1262
+ }, {
1263
+ readonly name: "revertReason";
1264
+ readonly type: "bytes";
1265
+ readonly indexed: false;
1266
+ readonly internalType: "bytes";
1267
+ }];
1268
+ readonly anonymous: false;
1269
+ }, {
1270
+ readonly type: "event";
1271
+ readonly name: "Withdrawn";
1272
+ readonly inputs: readonly [{
1273
+ readonly name: "account";
1274
+ readonly type: "address";
1275
+ readonly indexed: true;
1276
+ readonly internalType: "address";
1277
+ }, {
1278
+ readonly name: "withdrawAddress";
1279
+ readonly type: "address";
1280
+ readonly indexed: false;
1281
+ readonly internalType: "address";
1282
+ }, {
1283
+ readonly name: "amount";
1284
+ readonly type: "uint256";
1285
+ readonly indexed: false;
1286
+ readonly internalType: "uint256";
1287
+ }];
1288
+ readonly anonymous: false;
1289
+ }, {
1290
+ readonly type: "error";
1291
+ readonly name: "FailedOp";
1292
+ readonly inputs: readonly [{
1293
+ readonly name: "opIndex";
1294
+ readonly type: "uint256";
1295
+ readonly internalType: "uint256";
1296
+ }, {
1297
+ readonly name: "reason";
1298
+ readonly type: "string";
1299
+ readonly internalType: "string";
1300
+ }];
1301
+ }, {
1302
+ readonly type: "error";
1303
+ readonly name: "FailedOpWithRevert";
1304
+ readonly inputs: readonly [{
1305
+ readonly name: "opIndex";
1306
+ readonly type: "uint256";
1307
+ readonly internalType: "uint256";
1308
+ }, {
1309
+ readonly name: "reason";
1310
+ readonly type: "string";
1311
+ readonly internalType: "string";
1312
+ }, {
1313
+ readonly name: "inner";
1314
+ readonly type: "bytes";
1315
+ readonly internalType: "bytes";
1316
+ }];
1317
+ }, {
1318
+ readonly type: "error";
1319
+ readonly name: "PostOpReverted";
1320
+ readonly inputs: readonly [{
1321
+ readonly name: "returnData";
1322
+ readonly type: "bytes";
1323
+ readonly internalType: "bytes";
1324
+ }];
1325
+ }, {
1326
+ readonly type: "error";
1327
+ readonly name: "ReentrancyGuardReentrantCall";
1328
+ readonly inputs: readonly [];
1329
+ }, {
1330
+ readonly type: "error";
1331
+ readonly name: "SenderAddressResult";
1332
+ readonly inputs: readonly [{
1333
+ readonly name: "sender";
1334
+ readonly type: "address";
1335
+ readonly internalType: "address";
1336
+ }];
1337
+ }, {
1338
+ readonly type: "error";
1339
+ readonly name: "SignatureValidationFailed";
1340
+ readonly inputs: readonly [{
1341
+ readonly name: "aggregator";
1342
+ readonly type: "address";
1343
+ readonly internalType: "address";
1344
+ }];
1345
+ }, {
1346
+ readonly type: "error";
1347
+ readonly name: "SimulationOutOfGas";
1348
+ readonly inputs: readonly [{
1349
+ readonly name: "optimalGas";
1350
+ readonly type: "uint256";
1351
+ readonly internalType: "uint256";
1352
+ }, {
1353
+ readonly name: "minGas";
1354
+ readonly type: "uint256";
1355
+ readonly internalType: "uint256";
1356
+ }, {
1357
+ readonly name: "maxGas";
1358
+ readonly type: "uint256";
1359
+ readonly internalType: "uint256";
1360
+ }];
1361
+ }, {
1362
+ readonly type: "error";
1363
+ readonly name: "innerCallResult";
1364
+ readonly inputs: readonly [{
1365
+ readonly name: "remainingGas";
1366
+ readonly type: "uint256";
1367
+ readonly internalType: "uint256";
1368
+ }];
1369
+ }];
1370
+ //# sourceMappingURL=EntryPointSimulationsV7.d.ts.map