@pimlico/alto 0.0.0-main.20250428T212302 → 0.0.0-main.20250429T114818

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 (384) hide show
  1. package/contracts/EIP712.sol/EIP712.json +1 -0
  2. package/contracts/ERC165.sol/ERC165.json +1 -0
  3. package/contracts/Eip7702Support.sol/Eip7702Support.json +1 -0
  4. package/contracts/EntryPoint.sol/EntryPoint.json +1 -0
  5. package/contracts/EntryPointCodeOverride.sol/EntryPointCodeOverride.json +1 -0
  6. package/contracts/EntryPointSimulations.sol/EntryPointSimulations.json +1 -0
  7. package/contracts/Exec.sol/Exec.json +1 -0
  8. package/contracts/IAccount.sol/IAccount.json +1 -0
  9. package/contracts/IAccountExecute.sol/IAccountExecute.json +1 -0
  10. package/contracts/IAggregator.sol/IAggregator.json +1 -0
  11. package/contracts/IERC165.sol/IERC165.json +1 -0
  12. package/contracts/IERC5267.sol/IERC5267.json +1 -0
  13. package/contracts/IEntryPoint.sol/IEntryPoint.json +1 -0
  14. package/contracts/IEntryPointSimulations.sol/IEntryPointSimulations.json +1 -0
  15. package/contracts/INonceManager.sol/INonceManager.json +1 -0
  16. package/contracts/IPaymaster.sol/IPaymaster.json +1 -0
  17. package/contracts/ISenderCreator.sol/ISenderCreator.json +1 -0
  18. package/contracts/IStakeManager.sol/IStakeManager.json +1 -0
  19. package/contracts/Math.sol/Math.json +1 -0
  20. package/contracts/MessageHashUtils.sol/MessageHashUtils.json +1 -0
  21. package/contracts/NonceManager.sol/NonceManager.json +1 -0
  22. package/contracts/Panic.sol/Panic.json +1 -0
  23. package/contracts/PimlicoEntryPointSimulationsV7.sol/PimlicoEntryPointSimulationsV7.json +1 -0
  24. package/contracts/PimlicoEntryPointSimulationsV8.sol/PimlicoEntryPointSimulationsV8.json +1 -0
  25. package/contracts/ReentrancyGuard.sol/ReentrancyGuard.json +1 -0
  26. package/contracts/ReentrancyGuardTransient.sol/ReentrancyGuardTransient.json +1 -0
  27. package/contracts/SafeCast.sol/SafeCast.json +1 -0
  28. package/contracts/SenderCreator.sol/SenderCreator.json +1 -0
  29. package/contracts/ShortStrings.sol/ShortStrings.json +1 -0
  30. package/contracts/SignedMath.sol/SignedMath.json +1 -0
  31. package/contracts/StakeManager.sol/StakeManager.json +1 -0
  32. package/contracts/StorageSlot.sol/StorageSlot.json +1 -0
  33. package/contracts/Strings.sol/Strings.json +1 -0
  34. package/contracts/TransientSlot.sol/TransientSlot.json +1 -0
  35. package/contracts/UserOperation.sol/UserOperationLib.json +1 -0
  36. package/contracts/UserOperationLib.sol/UserOperationLib.json +1 -0
  37. package/contracts/build-info/0c52dc19c74a9a932ddddcca463ce398.json +1 -0
  38. package/contracts/build-info/a1d9af887789a0ade8ffbc8b045f0780.json +1 -0
  39. package/contracts/interfaces/IEntryPoint.sol/IEntryPoint.json +1 -0
  40. package/esm/cli/deploySimulationsContract.js +14 -5
  41. package/esm/cli/deploySimulationsContract.js.map +1 -1
  42. package/package.json +2 -1
  43. package/lib/cli/alto.d.ts +0 -7
  44. package/lib/cli/alto.js +0 -141
  45. package/lib/cli/alto.js.map +0 -1
  46. package/lib/cli/config/bundler.d.ts +0 -2872
  47. package/lib/cli/config/bundler.js +0 -242
  48. package/lib/cli/config/bundler.js.map +0 -1
  49. package/lib/cli/config/index.d.ts +0 -3
  50. package/lib/cli/config/index.js +0 -19
  51. package/lib/cli/config/index.js.map +0 -1
  52. package/lib/cli/config/options.d.ts +0 -13
  53. package/lib/cli/config/options.js +0 -587
  54. package/lib/cli/config/options.js.map +0 -1
  55. package/lib/cli/customTransport.d.ts +0 -14
  56. package/lib/cli/customTransport.js +0 -94
  57. package/lib/cli/customTransport.js.map +0 -1
  58. package/lib/cli/deploySimulationsContract.d.ts +0 -13
  59. package/lib/cli/deploySimulationsContract.js +0 -100
  60. package/lib/cli/deploySimulationsContract.js.map +0 -1
  61. package/lib/cli/handler.d.ts +0 -3
  62. package/lib/cli/handler.js +0 -157
  63. package/lib/cli/handler.js.map +0 -1
  64. package/lib/cli/index.d.ts +0 -4
  65. package/lib/cli/index.js +0 -20
  66. package/lib/cli/index.js.map +0 -1
  67. package/lib/cli/instrumentation.d.ts +0 -2
  68. package/lib/cli/instrumentation.js +0 -47
  69. package/lib/cli/instrumentation.js.map +0 -1
  70. package/lib/cli/parseArgs.d.ts +0 -8
  71. package/lib/cli/parseArgs.js +0 -25
  72. package/lib/cli/parseArgs.js.map +0 -1
  73. package/lib/cli/setupServer.d.ts +0 -13
  74. package/lib/cli/setupServer.js +0 -266
  75. package/lib/cli/setupServer.js.map +0 -1
  76. package/lib/cli/util.d.ts +0 -22
  77. package/lib/cli/util.js +0 -34
  78. package/lib/cli/util.js.map +0 -1
  79. package/lib/createConfig.d.ts +0 -16
  80. package/lib/createConfig.js +0 -13
  81. package/lib/createConfig.js.map +0 -1
  82. package/lib/executor/executor.d.ts +0 -65
  83. package/lib/executor/executor.js +0 -301
  84. package/lib/executor/executor.js.map +0 -1
  85. package/lib/executor/executorManager.d.ts +0 -108
  86. package/lib/executor/executorManager.js +0 -702
  87. package/lib/executor/executorManager.js.map +0 -1
  88. package/lib/executor/fastlane.d.ts +0 -9
  89. package/lib/executor/fastlane.js +0 -41
  90. package/lib/executor/fastlane.js.map +0 -1
  91. package/lib/executor/filterOpsAndEStimateGas.d.ts +0 -29
  92. package/lib/executor/filterOpsAndEStimateGas.js +0 -225
  93. package/lib/executor/filterOpsAndEStimateGas.js.map +0 -1
  94. package/lib/executor/index.d.ts +0 -5
  95. package/lib/executor/index.js +0 -21
  96. package/lib/executor/index.js.map +0 -1
  97. package/lib/executor/senderManager/createMemorySenderManager.d.ts +0 -8
  98. package/lib/executor/senderManager/createMemorySenderManager.js +0 -45
  99. package/lib/executor/senderManager/createMemorySenderManager.js.map +0 -1
  100. package/lib/executor/senderManager/createRedisSenderManager.d.ts +0 -8
  101. package/lib/executor/senderManager/createRedisSenderManager.js +0 -85
  102. package/lib/executor/senderManager/createRedisSenderManager.js.map +0 -1
  103. package/lib/executor/senderManager/flushOnStartUp.d.ts +0 -9
  104. package/lib/executor/senderManager/flushOnStartUp.js +0 -37
  105. package/lib/executor/senderManager/flushOnStartUp.js.map +0 -1
  106. package/lib/executor/senderManager/index.d.ts +0 -15
  107. package/lib/executor/senderManager/index.js +0 -25
  108. package/lib/executor/senderManager/index.js.map +0 -1
  109. package/lib/executor/senderManager/validateAndRefill.d.ts +0 -11
  110. package/lib/executor/senderManager/validateAndRefill.js +0 -115
  111. package/lib/executor/senderManager/validateAndRefill.js.map +0 -1
  112. package/lib/executor/utilityWalletMonitor.d.ts +0 -19
  113. package/lib/executor/utilityWalletMonitor.js +0 -42
  114. package/lib/executor/utilityWalletMonitor.js.map +0 -1
  115. package/lib/executor/utils.d.ts +0 -34
  116. package/lib/executor/utils.js +0 -167
  117. package/lib/executor/utils.js.map +0 -1
  118. package/lib/handlers/arbitrumGasPriceManager.d.ts +0 -14
  119. package/lib/handlers/arbitrumGasPriceManager.js +0 -39
  120. package/lib/handlers/arbitrumGasPriceManager.js.map +0 -1
  121. package/lib/handlers/eventManager.d.ts +0 -29
  122. package/lib/handlers/eventManager.js +0 -225
  123. package/lib/handlers/eventManager.js.map +0 -1
  124. package/lib/handlers/gasPriceManager.d.ts +0 -36
  125. package/lib/handlers/gasPriceManager.js +0 -391
  126. package/lib/handlers/gasPriceManager.js.map +0 -1
  127. package/lib/handlers/index.d.ts +0 -3
  128. package/lib/handlers/index.js +0 -19
  129. package/lib/handlers/index.js.map +0 -1
  130. package/lib/handlers/mantleGasPriceManager.d.ts +0 -23
  131. package/lib/handlers/mantleGasPriceManager.js +0 -44
  132. package/lib/handlers/mantleGasPriceManager.js.map +0 -1
  133. package/lib/handlers/optimismManager.d.ts +0 -10
  134. package/lib/handlers/optimismManager.js +0 -21
  135. package/lib/handlers/optimismManager.js.map +0 -1
  136. package/lib/index.d.ts +0 -2
  137. package/lib/index.js +0 -4
  138. package/lib/index.js.map +0 -1
  139. package/lib/mempool/index.d.ts +0 -4
  140. package/lib/mempool/index.js +0 -20
  141. package/lib/mempool/index.js.map +0 -1
  142. package/lib/mempool/mempool.d.ts +0 -191
  143. package/lib/mempool/mempool.js +0 -499
  144. package/lib/mempool/mempool.js.map +0 -1
  145. package/lib/mempool/monitoring.d.ts +0 -14
  146. package/lib/mempool/monitoring.js +0 -101
  147. package/lib/mempool/monitoring.js.map +0 -1
  148. package/lib/mempool/reputationManager.d.ts +0 -121
  149. package/lib/mempool/reputationManager.js +0 -472
  150. package/lib/mempool/reputationManager.js.map +0 -1
  151. package/lib/rpc/createMethodHandler.d.ts +0 -31
  152. package/lib/rpc/createMethodHandler.js +0 -34
  153. package/lib/rpc/createMethodHandler.js.map +0 -1
  154. package/lib/rpc/estimation/gasEstimationHandler.d.ts +0 -30
  155. package/lib/rpc/estimation/gasEstimationHandler.js +0 -50
  156. package/lib/rpc/estimation/gasEstimationHandler.js.map +0 -1
  157. package/lib/rpc/estimation/gasEstimationsV06.d.ts +0 -19
  158. package/lib/rpc/estimation/gasEstimationsV06.js +0 -148
  159. package/lib/rpc/estimation/gasEstimationsV06.js.map +0 -1
  160. package/lib/rpc/estimation/gasEstimationsV07.d.ts +0 -101
  161. package/lib/rpc/estimation/gasEstimationsV07.js +0 -727
  162. package/lib/rpc/estimation/gasEstimationsV07.js.map +0 -1
  163. package/lib/rpc/estimation/types.d.ts +0 -120
  164. package/lib/rpc/estimation/types.js +0 -125
  165. package/lib/rpc/estimation/types.js.map +0 -1
  166. package/lib/rpc/index.d.ts +0 -4
  167. package/lib/rpc/index.js +0 -20
  168. package/lib/rpc/index.js.map +0 -1
  169. package/lib/rpc/methods/debug_bundler_clearReputation.d.ts +0 -22
  170. package/lib/rpc/methods/debug_bundler_clearReputation.js +0 -15
  171. package/lib/rpc/methods/debug_bundler_clearReputation.js.map +0 -1
  172. package/lib/rpc/methods/debug_bundler_clearState.d.ts +0 -22
  173. package/lib/rpc/methods/debug_bundler_clearState.js +0 -16
  174. package/lib/rpc/methods/debug_bundler_clearState.js.map +0 -1
  175. package/lib/rpc/methods/debug_bundler_dumpMempool.d.ts +0 -973
  176. package/lib/rpc/methods/debug_bundler_dumpMempool.js +0 -16
  177. package/lib/rpc/methods/debug_bundler_dumpMempool.js.map +0 -1
  178. package/lib/rpc/methods/debug_bundler_dumpReputation.d.ts +0 -57
  179. package/lib/rpc/methods/debug_bundler_dumpReputation.js +0 -16
  180. package/lib/rpc/methods/debug_bundler_dumpReputation.js.map +0 -1
  181. package/lib/rpc/methods/debug_bundler_getStakeStatus.d.ts +0 -79
  182. package/lib/rpc/methods/debug_bundler_getStakeStatus.js +0 -25
  183. package/lib/rpc/methods/debug_bundler_getStakeStatus.js.map +0 -1
  184. package/lib/rpc/methods/debug_bundler_sendBundleNow.d.ts +0 -22
  185. package/lib/rpc/methods/debug_bundler_sendBundleNow.js +0 -15
  186. package/lib/rpc/methods/debug_bundler_sendBundleNow.js.map +0 -1
  187. package/lib/rpc/methods/debug_bundler_setBundlingMode.d.ts +0 -22
  188. package/lib/rpc/methods/debug_bundler_setBundlingMode.js +0 -16
  189. package/lib/rpc/methods/debug_bundler_setBundlingMode.js.map +0 -1
  190. package/lib/rpc/methods/debug_bundler_setReputation.d.ts +0 -46
  191. package/lib/rpc/methods/debug_bundler_setReputation.js +0 -16
  192. package/lib/rpc/methods/debug_bundler_setReputation.js.map +0 -1
  193. package/lib/rpc/methods/eth_chainId.d.ts +0 -22
  194. package/lib/rpc/methods/eth_chainId.js +0 -13
  195. package/lib/rpc/methods/eth_chainId.js.map +0 -1
  196. package/lib/rpc/methods/eth_estimateUserOperationGas.d.ts +0 -1891
  197. package/lib/rpc/methods/eth_estimateUserOperationGas.js +0 -26
  198. package/lib/rpc/methods/eth_estimateUserOperationGas.js.map +0 -1
  199. package/lib/rpc/methods/eth_getUserOperationByHash.d.ts +0 -1775
  200. package/lib/rpc/methods/eth_getUserOperationByHash.js +0 -101
  201. package/lib/rpc/methods/eth_getUserOperationByHash.js.map +0 -1
  202. package/lib/rpc/methods/eth_getUserOperationReceipt.d.ts +0 -412
  203. package/lib/rpc/methods/eth_getUserOperationReceipt.js +0 -14
  204. package/lib/rpc/methods/eth_getUserOperationReceipt.js.map +0 -1
  205. package/lib/rpc/methods/eth_sendUserOperation.d.ts +0 -878
  206. package/lib/rpc/methods/eth_sendUserOperation.js +0 -44
  207. package/lib/rpc/methods/eth_sendUserOperation.js.map +0 -1
  208. package/lib/rpc/methods/eth_supportedEntryPoints.d.ts +0 -22
  209. package/lib/rpc/methods/eth_supportedEntryPoints.js +0 -13
  210. package/lib/rpc/methods/eth_supportedEntryPoints.js.map +0 -1
  211. package/lib/rpc/methods/index.d.ts +0 -3
  212. package/lib/rpc/methods/index.js +0 -44
  213. package/lib/rpc/methods/index.js.map +0 -1
  214. package/lib/rpc/methods/pimlico_getUserOperationGasPrice.d.ts +0 -131
  215. package/lib/rpc/methods/pimlico_getUserOperationGasPrice.js +0 -33
  216. package/lib/rpc/methods/pimlico_getUserOperationGasPrice.js.map +0 -1
  217. package/lib/rpc/methods/pimlico_getUserOperationStatus.d.ts +0 -43
  218. package/lib/rpc/methods/pimlico_getUserOperationStatus.js +0 -14
  219. package/lib/rpc/methods/pimlico_getUserOperationStatus.js.map +0 -1
  220. package/lib/rpc/methods/pimlico_sendUserOperationNow.d.ts +0 -1268
  221. package/lib/rpc/methods/pimlico_sendUserOperationNow.js +0 -55
  222. package/lib/rpc/methods/pimlico_sendUserOperationNow.js.map +0 -1
  223. package/lib/rpc/rpcHandler.d.ts +0 -75
  224. package/lib/rpc/rpcHandler.js +0 -391
  225. package/lib/rpc/rpcHandler.js.map +0 -1
  226. package/lib/rpc/server.d.ts +0 -26
  227. package/lib/rpc/server.js +0 -283
  228. package/lib/rpc/server.js.map +0 -1
  229. package/lib/rpc/validation/BundlerCollectorTracerV06.d.ts +0 -102
  230. package/lib/rpc/validation/BundlerCollectorTracerV06.js +0 -262
  231. package/lib/rpc/validation/BundlerCollectorTracerV06.js.map +0 -1
  232. package/lib/rpc/validation/BundlerCollectorTracerV07.d.ts +0 -102
  233. package/lib/rpc/validation/BundlerCollectorTracerV07.js +0 -261
  234. package/lib/rpc/validation/BundlerCollectorTracerV07.js.map +0 -1
  235. package/lib/rpc/validation/SafeValidator.d.ts +0 -51
  236. package/lib/rpc/validation/SafeValidator.js +0 -327
  237. package/lib/rpc/validation/SafeValidator.js.map +0 -1
  238. package/lib/rpc/validation/TracerResultParserV06.d.ts +0 -13
  239. package/lib/rpc/validation/TracerResultParserV06.js +0 -582
  240. package/lib/rpc/validation/TracerResultParserV06.js.map +0 -1
  241. package/lib/rpc/validation/TracerResultParserV07.d.ts +0 -33
  242. package/lib/rpc/validation/TracerResultParserV07.js +0 -599
  243. package/lib/rpc/validation/TracerResultParserV07.js.map +0 -1
  244. package/lib/rpc/validation/UnsafeValidator.d.ts +0 -97
  245. package/lib/rpc/validation/UnsafeValidator.js +0 -303
  246. package/lib/rpc/validation/UnsafeValidator.js.map +0 -1
  247. package/lib/rpc/validation/index.d.ts +0 -3
  248. package/lib/rpc/validation/index.js +0 -19
  249. package/lib/rpc/validation/index.js.map +0 -1
  250. package/lib/rpc/validation/tracer.d.ts +0 -125
  251. package/lib/rpc/validation/tracer.js +0 -112
  252. package/lib/rpc/validation/tracer.js.map +0 -1
  253. package/lib/store/createMemoryOutstandingStore.d.ts +0 -28
  254. package/lib/store/createMemoryOutstandingStore.js +0 -236
  255. package/lib/store/createMemoryOutstandingStore.js.map +0 -1
  256. package/lib/store/createMempoolStore.d.ts +0 -8
  257. package/lib/store/createMempoolStore.js +0 -199
  258. package/lib/store/createMempoolStore.js.map +0 -1
  259. package/lib/store/createRedisOutstandingStore.d.ts +0 -27
  260. package/lib/store/createRedisOutstandingStore.js +0 -349
  261. package/lib/store/createRedisOutstandingStore.js.map +0 -1
  262. package/lib/store/createRedisStore.d.ts +0 -9
  263. package/lib/store/createRedisStore.js +0 -138
  264. package/lib/store/createRedisStore.js.map +0 -1
  265. package/lib/store/createStore.d.ts +0 -6
  266. package/lib/store/createStore.js +0 -70
  267. package/lib/store/createStore.js.map +0 -1
  268. package/lib/store/index.d.ts +0 -81
  269. package/lib/store/index.js +0 -6
  270. package/lib/store/index.js.map +0 -1
  271. package/lib/types/contracts/ArbitrumL1FeeAbi.d.ts +0 -32
  272. package/lib/types/contracts/ArbitrumL1FeeAbi.js +0 -45
  273. package/lib/types/contracts/ArbitrumL1FeeAbi.js.map +0 -1
  274. package/lib/types/contracts/CallEngine.d.ts +0 -28
  275. package/lib/types/contracts/CallEngine.js +0 -40
  276. package/lib/types/contracts/CallEngine.js.map +0 -1
  277. package/lib/types/contracts/CodeHashGetter.d.ts +0 -37
  278. package/lib/types/contracts/CodeHashGetter.js +0 -48
  279. package/lib/types/contracts/CodeHashGetter.js.map +0 -1
  280. package/lib/types/contracts/EntryPoint.d.ts +0 -1789
  281. package/lib/types/contracts/EntryPoint.js +0 -2307
  282. package/lib/types/contracts/EntryPoint.js.map +0 -1
  283. package/lib/types/contracts/EntryPointSimulationsV6.d.ts +0 -34
  284. package/lib/types/contracts/EntryPointSimulationsV6.js +0 -51
  285. package/lib/types/contracts/EntryPointSimulationsV6.js.map +0 -1
  286. package/lib/types/contracts/EntryPointSimulationsV7.d.ts +0 -2076
  287. package/lib/types/contracts/EntryPointSimulationsV7.js +0 -2678
  288. package/lib/types/contracts/EntryPointSimulationsV7.js.map +0 -1
  289. package/lib/types/contracts/IAccountExecute.d.ts +0 -53
  290. package/lib/types/contracts/IAccountExecute.js +0 -71
  291. package/lib/types/contracts/IAccountExecute.js.map +0 -1
  292. package/lib/types/contracts/IPaymaster.d.ts +0 -3
  293. package/lib/types/contracts/IPaymaster.js +0 -120
  294. package/lib/types/contracts/IPaymaster.js.map +0 -1
  295. package/lib/types/contracts/MantleBvmGasPriceOracle.d.ts +0 -219
  296. package/lib/types/contracts/MantleBvmGasPriceOracle.js +0 -180
  297. package/lib/types/contracts/MantleBvmGasPriceOracle.js.map +0 -1
  298. package/lib/types/contracts/OpL1FeeAbi.d.ts +0 -114
  299. package/lib/types/contracts/OpL1FeeAbi.js +0 -77
  300. package/lib/types/contracts/OpL1FeeAbi.js.map +0 -1
  301. package/lib/types/contracts/PimlicoEntryPointSimulations.d.ts +0 -25
  302. package/lib/types/contracts/PimlicoEntryPointSimulations.js +0 -42
  303. package/lib/types/contracts/PimlicoEntryPointSimulations.js.map +0 -1
  304. package/lib/types/contracts/SenderCreator.d.ts +0 -4
  305. package/lib/types/contracts/SenderCreator.js +0 -26
  306. package/lib/types/contracts/SenderCreator.js.map +0 -1
  307. package/lib/types/contracts/SimpleAccountFactory.d.ts +0 -57
  308. package/lib/types/contracts/SimpleAccountFactory.js +0 -79
  309. package/lib/types/contracts/SimpleAccountFactory.js.map +0 -1
  310. package/lib/types/contracts/TestOpcodesAccount.d.ts +0 -4
  311. package/lib/types/contracts/TestOpcodesAccount.js +0 -284
  312. package/lib/types/contracts/TestOpcodesAccount.js.map +0 -1
  313. package/lib/types/contracts/TestOpcodesAccountFactory.d.ts +0 -4
  314. package/lib/types/contracts/TestOpcodesAccountFactory.js +0 -26
  315. package/lib/types/contracts/TestOpcodesAccountFactory.js.map +0 -1
  316. package/lib/types/contracts/TestStorageAccount.d.ts +0 -4
  317. package/lib/types/contracts/TestStorageAccount.js +0 -316
  318. package/lib/types/contracts/TestStorageAccount.js.map +0 -1
  319. package/lib/types/contracts/index.d.ts +0 -17
  320. package/lib/types/contracts/index.js +0 -33
  321. package/lib/types/contracts/index.js.map +0 -1
  322. package/lib/types/gasPrice.d.ts +0 -110
  323. package/lib/types/gasPrice.js +0 -55
  324. package/lib/types/gasPrice.js.map +0 -1
  325. package/lib/types/index.d.ts +0 -11
  326. package/lib/types/index.js +0 -27
  327. package/lib/types/index.js.map +0 -1
  328. package/lib/types/interfaces.d.ts +0 -58
  329. package/lib/types/interfaces.js +0 -3
  330. package/lib/types/interfaces.js.map +0 -1
  331. package/lib/types/mempool.d.ts +0 -60
  332. package/lib/types/mempool.js +0 -11
  333. package/lib/types/mempool.js.map +0 -1
  334. package/lib/types/schemas.d.ts +0 -20785
  335. package/lib/types/schemas.js +0 -679
  336. package/lib/types/schemas.js.map +0 -1
  337. package/lib/types/utils.d.ts +0 -25
  338. package/lib/types/utils.js +0 -35
  339. package/lib/types/utils.js.map +0 -1
  340. package/lib/types/validation.d.ts +0 -14327
  341. package/lib/types/validation.js +0 -312
  342. package/lib/types/validation.js.map +0 -1
  343. package/lib/utils/asyncTimeout.d.ts +0 -5
  344. package/lib/utils/asyncTimeout.js +0 -51
  345. package/lib/utils/asyncTimeout.js.map +0 -1
  346. package/lib/utils/bigInt.d.ts +0 -8
  347. package/lib/utils/bigInt.js +0 -24
  348. package/lib/utils/bigInt.js.map +0 -1
  349. package/lib/utils/eip7702.d.ts +0 -4
  350. package/lib/utils/eip7702.js +0 -21
  351. package/lib/utils/eip7702.js.map +0 -1
  352. package/lib/utils/fastify-rpc-decorators.d.ts +0 -19
  353. package/lib/utils/fastify-rpc-decorators.js +0 -23
  354. package/lib/utils/fastify-rpc-decorators.js.map +0 -1
  355. package/lib/utils/helpers.d.ts +0 -15
  356. package/lib/utils/helpers.js +0 -59
  357. package/lib/utils/helpers.js.map +0 -1
  358. package/lib/utils/index.d.ts +0 -9
  359. package/lib/utils/index.js +0 -24
  360. package/lib/utils/index.js.map +0 -1
  361. package/lib/utils/logger.d.ts +0 -6
  362. package/lib/utils/logger.js +0 -85
  363. package/lib/utils/logger.js.map +0 -1
  364. package/lib/utils/metrics.d.ts +0 -29
  365. package/lib/utils/metrics.js +0 -199
  366. package/lib/utils/metrics.js.map +0 -1
  367. package/lib/utils/minMaxQueue/createMemoryMinMaxQueue.d.ts +0 -6
  368. package/lib/utils/minMaxQueue/createMemoryMinMaxQueue.js +0 -57
  369. package/lib/utils/minMaxQueue/createMemoryMinMaxQueue.js.map +0 -1
  370. package/lib/utils/minMaxQueue/createRedisMinMaxQueue.d.ts +0 -7
  371. package/lib/utils/minMaxQueue/createRedisMinMaxQueue.js +0 -105
  372. package/lib/utils/minMaxQueue/createRedisMinMaxQueue.js.map +0 -1
  373. package/lib/utils/minMaxQueue/index.d.ts +0 -12
  374. package/lib/utils/minMaxQueue/index.js +0 -16
  375. package/lib/utils/minMaxQueue/index.js.map +0 -1
  376. package/lib/utils/rpc-reply.d.ts +0 -16
  377. package/lib/utils/rpc-reply.js +0 -41
  378. package/lib/utils/rpc-reply.js.map +0 -1
  379. package/lib/utils/userop.d.ts +0 -138
  380. package/lib/utils/userop.js +0 -620
  381. package/lib/utils/userop.js.map +0 -1
  382. package/lib/utils/validation.d.ts +0 -76
  383. package/lib/utils/validation.js +0 -491
  384. package/lib/utils/validation.js.map +0 -1
@@ -1,2678 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EntryPointV07SimulationsAbi = void 0;
4
- exports.EntryPointV07SimulationsAbi = [
5
- {
6
- "type": "constructor",
7
- "inputs": [],
8
- "stateMutability": "nonpayable"
9
- },
10
- {
11
- "type": "receive",
12
- "stateMutability": "payable"
13
- },
14
- {
15
- "type": "function",
16
- "name": "_paymasterValidation",
17
- "inputs": [
18
- {
19
- "name": "opIndex",
20
- "type": "uint256",
21
- "internalType": "uint256"
22
- },
23
- {
24
- "name": "userOp",
25
- "type": "tuple",
26
- "internalType": "struct PackedUserOperation",
27
- "components": [
28
- {
29
- "name": "sender",
30
- "type": "address",
31
- "internalType": "address"
32
- },
33
- {
34
- "name": "nonce",
35
- "type": "uint256",
36
- "internalType": "uint256"
37
- },
38
- {
39
- "name": "initCode",
40
- "type": "bytes",
41
- "internalType": "bytes"
42
- },
43
- {
44
- "name": "callData",
45
- "type": "bytes",
46
- "internalType": "bytes"
47
- },
48
- {
49
- "name": "accountGasLimits",
50
- "type": "bytes32",
51
- "internalType": "bytes32"
52
- },
53
- {
54
- "name": "preVerificationGas",
55
- "type": "uint256",
56
- "internalType": "uint256"
57
- },
58
- {
59
- "name": "gasFees",
60
- "type": "bytes32",
61
- "internalType": "bytes32"
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": "outOpInfo",
77
- "type": "tuple",
78
- "internalType": "struct EntryPoint.UserOpInfo",
79
- "components": [
80
- {
81
- "name": "mUserOp",
82
- "type": "tuple",
83
- "internalType": "struct EntryPoint.MemoryUserOp",
84
- "components": [
85
- {
86
- "name": "sender",
87
- "type": "address",
88
- "internalType": "address"
89
- },
90
- {
91
- "name": "nonce",
92
- "type": "uint256",
93
- "internalType": "uint256"
94
- },
95
- {
96
- "name": "verificationGasLimit",
97
- "type": "uint256",
98
- "internalType": "uint256"
99
- },
100
- {
101
- "name": "callGasLimit",
102
- "type": "uint256",
103
- "internalType": "uint256"
104
- },
105
- {
106
- "name": "paymasterVerificationGasLimit",
107
- "type": "uint256",
108
- "internalType": "uint256"
109
- },
110
- {
111
- "name": "paymasterPostOpGasLimit",
112
- "type": "uint256",
113
- "internalType": "uint256"
114
- },
115
- {
116
- "name": "preVerificationGas",
117
- "type": "uint256",
118
- "internalType": "uint256"
119
- },
120
- {
121
- "name": "paymaster",
122
- "type": "address",
123
- "internalType": "address"
124
- },
125
- {
126
- "name": "maxFeePerGas",
127
- "type": "uint256",
128
- "internalType": "uint256"
129
- },
130
- {
131
- "name": "maxPriorityFeePerGas",
132
- "type": "uint256",
133
- "internalType": "uint256"
134
- }
135
- ]
136
- },
137
- {
138
- "name": "userOpHash",
139
- "type": "bytes32",
140
- "internalType": "bytes32"
141
- },
142
- {
143
- "name": "prefund",
144
- "type": "uint256",
145
- "internalType": "uint256"
146
- },
147
- {
148
- "name": "contextOffset",
149
- "type": "uint256",
150
- "internalType": "uint256"
151
- },
152
- {
153
- "name": "preOpGas",
154
- "type": "uint256",
155
- "internalType": "uint256"
156
- }
157
- ]
158
- }
159
- ],
160
- "outputs": [
161
- {
162
- "name": "validationData",
163
- "type": "uint256",
164
- "internalType": "uint256"
165
- },
166
- {
167
- "name": "paymasterValidationData",
168
- "type": "uint256",
169
- "internalType": "uint256"
170
- },
171
- {
172
- "name": "paymasterVerificationGasLimit",
173
- "type": "uint256",
174
- "internalType": "uint256"
175
- }
176
- ],
177
- "stateMutability": "nonpayable"
178
- },
179
- {
180
- "type": "function",
181
- "name": "_validatePrepayment",
182
- "inputs": [
183
- {
184
- "name": "opIndex",
185
- "type": "uint256",
186
- "internalType": "uint256"
187
- },
188
- {
189
- "name": "userOp",
190
- "type": "tuple",
191
- "internalType": "struct PackedUserOperation",
192
- "components": [
193
- {
194
- "name": "sender",
195
- "type": "address",
196
- "internalType": "address"
197
- },
198
- {
199
- "name": "nonce",
200
- "type": "uint256",
201
- "internalType": "uint256"
202
- },
203
- {
204
- "name": "initCode",
205
- "type": "bytes",
206
- "internalType": "bytes"
207
- },
208
- {
209
- "name": "callData",
210
- "type": "bytes",
211
- "internalType": "bytes"
212
- },
213
- {
214
- "name": "accountGasLimits",
215
- "type": "bytes32",
216
- "internalType": "bytes32"
217
- },
218
- {
219
- "name": "preVerificationGas",
220
- "type": "uint256",
221
- "internalType": "uint256"
222
- },
223
- {
224
- "name": "gasFees",
225
- "type": "bytes32",
226
- "internalType": "bytes32"
227
- },
228
- {
229
- "name": "paymasterAndData",
230
- "type": "bytes",
231
- "internalType": "bytes"
232
- },
233
- {
234
- "name": "signature",
235
- "type": "bytes",
236
- "internalType": "bytes"
237
- }
238
- ]
239
- },
240
- {
241
- "name": "outOpInfo",
242
- "type": "tuple",
243
- "internalType": "struct EntryPoint.UserOpInfo",
244
- "components": [
245
- {
246
- "name": "mUserOp",
247
- "type": "tuple",
248
- "internalType": "struct EntryPoint.MemoryUserOp",
249
- "components": [
250
- {
251
- "name": "sender",
252
- "type": "address",
253
- "internalType": "address"
254
- },
255
- {
256
- "name": "nonce",
257
- "type": "uint256",
258
- "internalType": "uint256"
259
- },
260
- {
261
- "name": "verificationGasLimit",
262
- "type": "uint256",
263
- "internalType": "uint256"
264
- },
265
- {
266
- "name": "callGasLimit",
267
- "type": "uint256",
268
- "internalType": "uint256"
269
- },
270
- {
271
- "name": "paymasterVerificationGasLimit",
272
- "type": "uint256",
273
- "internalType": "uint256"
274
- },
275
- {
276
- "name": "paymasterPostOpGasLimit",
277
- "type": "uint256",
278
- "internalType": "uint256"
279
- },
280
- {
281
- "name": "preVerificationGas",
282
- "type": "uint256",
283
- "internalType": "uint256"
284
- },
285
- {
286
- "name": "paymaster",
287
- "type": "address",
288
- "internalType": "address"
289
- },
290
- {
291
- "name": "maxFeePerGas",
292
- "type": "uint256",
293
- "internalType": "uint256"
294
- },
295
- {
296
- "name": "maxPriorityFeePerGas",
297
- "type": "uint256",
298
- "internalType": "uint256"
299
- }
300
- ]
301
- },
302
- {
303
- "name": "userOpHash",
304
- "type": "bytes32",
305
- "internalType": "bytes32"
306
- },
307
- {
308
- "name": "prefund",
309
- "type": "uint256",
310
- "internalType": "uint256"
311
- },
312
- {
313
- "name": "contextOffset",
314
- "type": "uint256",
315
- "internalType": "uint256"
316
- },
317
- {
318
- "name": "preOpGas",
319
- "type": "uint256",
320
- "internalType": "uint256"
321
- }
322
- ]
323
- },
324
- {
325
- "name": "validatePaymasterPrepayment",
326
- "type": "bool",
327
- "internalType": "bool"
328
- }
329
- ],
330
- "outputs": [
331
- {
332
- "name": "validationData",
333
- "type": "uint256",
334
- "internalType": "uint256"
335
- },
336
- {
337
- "name": "paymasterValidationData",
338
- "type": "uint256",
339
- "internalType": "uint256"
340
- },
341
- {
342
- "name": "paymasterVerificationGasLimit",
343
- "type": "uint256",
344
- "internalType": "uint256"
345
- }
346
- ],
347
- "stateMutability": "nonpayable"
348
- },
349
- {
350
- "type": "function",
351
- "name": "addStake",
352
- "inputs": [
353
- {
354
- "name": "unstakeDelaySec",
355
- "type": "uint32",
356
- "internalType": "uint32"
357
- }
358
- ],
359
- "outputs": [],
360
- "stateMutability": "payable"
361
- },
362
- {
363
- "type": "function",
364
- "name": "balanceOf",
365
- "inputs": [
366
- {
367
- "name": "account",
368
- "type": "address",
369
- "internalType": "address"
370
- }
371
- ],
372
- "outputs": [
373
- {
374
- "name": "",
375
- "type": "uint256",
376
- "internalType": "uint256"
377
- }
378
- ],
379
- "stateMutability": "view"
380
- },
381
- {
382
- "type": "function",
383
- "name": "binarySearchCallGasLimit",
384
- "inputs": [
385
- {
386
- "name": "queuedUserOps",
387
- "type": "tuple[]",
388
- "internalType": "struct SimulationArgs[]",
389
- "components": [
390
- {
391
- "name": "op",
392
- "type": "tuple",
393
- "internalType": "struct PackedUserOperation",
394
- "components": [
395
- {
396
- "name": "sender",
397
- "type": "address",
398
- "internalType": "address"
399
- },
400
- {
401
- "name": "nonce",
402
- "type": "uint256",
403
- "internalType": "uint256"
404
- },
405
- {
406
- "name": "initCode",
407
- "type": "bytes",
408
- "internalType": "bytes"
409
- },
410
- {
411
- "name": "callData",
412
- "type": "bytes",
413
- "internalType": "bytes"
414
- },
415
- {
416
- "name": "accountGasLimits",
417
- "type": "bytes32",
418
- "internalType": "bytes32"
419
- },
420
- {
421
- "name": "preVerificationGas",
422
- "type": "uint256",
423
- "internalType": "uint256"
424
- },
425
- {
426
- "name": "gasFees",
427
- "type": "bytes32",
428
- "internalType": "bytes32"
429
- },
430
- {
431
- "name": "paymasterAndData",
432
- "type": "bytes",
433
- "internalType": "bytes"
434
- },
435
- {
436
- "name": "signature",
437
- "type": "bytes",
438
- "internalType": "bytes"
439
- }
440
- ]
441
- },
442
- {
443
- "name": "target",
444
- "type": "address",
445
- "internalType": "address"
446
- },
447
- {
448
- "name": "targetCallData",
449
- "type": "bytes",
450
- "internalType": "bytes"
451
- }
452
- ]
453
- },
454
- {
455
- "name": "targetUserOp",
456
- "type": "tuple",
457
- "internalType": "struct SimulationArgs",
458
- "components": [
459
- {
460
- "name": "op",
461
- "type": "tuple",
462
- "internalType": "struct PackedUserOperation",
463
- "components": [
464
- {
465
- "name": "sender",
466
- "type": "address",
467
- "internalType": "address"
468
- },
469
- {
470
- "name": "nonce",
471
- "type": "uint256",
472
- "internalType": "uint256"
473
- },
474
- {
475
- "name": "initCode",
476
- "type": "bytes",
477
- "internalType": "bytes"
478
- },
479
- {
480
- "name": "callData",
481
- "type": "bytes",
482
- "internalType": "bytes"
483
- },
484
- {
485
- "name": "accountGasLimits",
486
- "type": "bytes32",
487
- "internalType": "bytes32"
488
- },
489
- {
490
- "name": "preVerificationGas",
491
- "type": "uint256",
492
- "internalType": "uint256"
493
- },
494
- {
495
- "name": "gasFees",
496
- "type": "bytes32",
497
- "internalType": "bytes32"
498
- },
499
- {
500
- "name": "paymasterAndData",
501
- "type": "bytes",
502
- "internalType": "bytes"
503
- },
504
- {
505
- "name": "signature",
506
- "type": "bytes",
507
- "internalType": "bytes"
508
- }
509
- ]
510
- },
511
- {
512
- "name": "target",
513
- "type": "address",
514
- "internalType": "address"
515
- },
516
- {
517
- "name": "targetCallData",
518
- "type": "bytes",
519
- "internalType": "bytes"
520
- }
521
- ]
522
- },
523
- {
524
- "name": "entryPoint",
525
- "type": "address",
526
- "internalType": "address"
527
- },
528
- {
529
- "name": "initialMinGas",
530
- "type": "uint256",
531
- "internalType": "uint256"
532
- },
533
- {
534
- "name": "toleranceDelta",
535
- "type": "uint256",
536
- "internalType": "uint256"
537
- },
538
- {
539
- "name": "gasAllowance",
540
- "type": "uint256",
541
- "internalType": "uint256"
542
- }
543
- ],
544
- "outputs": [
545
- {
546
- "name": "",
547
- "type": "tuple",
548
- "internalType": "struct IEntryPointSimulations.TargetCallResult",
549
- "components": [
550
- {
551
- "name": "gasUsed",
552
- "type": "uint256",
553
- "internalType": "uint256"
554
- },
555
- {
556
- "name": "success",
557
- "type": "bool",
558
- "internalType": "bool"
559
- },
560
- {
561
- "name": "returnData",
562
- "type": "bytes",
563
- "internalType": "bytes"
564
- }
565
- ]
566
- }
567
- ],
568
- "stateMutability": "nonpayable"
569
- },
570
- {
571
- "type": "function",
572
- "name": "binarySearchPaymasterVerificationGasLimit",
573
- "inputs": [
574
- {
575
- "name": "queuedUserOps",
576
- "type": "tuple[]",
577
- "internalType": "struct SimulationArgs[]",
578
- "components": [
579
- {
580
- "name": "op",
581
- "type": "tuple",
582
- "internalType": "struct PackedUserOperation",
583
- "components": [
584
- {
585
- "name": "sender",
586
- "type": "address",
587
- "internalType": "address"
588
- },
589
- {
590
- "name": "nonce",
591
- "type": "uint256",
592
- "internalType": "uint256"
593
- },
594
- {
595
- "name": "initCode",
596
- "type": "bytes",
597
- "internalType": "bytes"
598
- },
599
- {
600
- "name": "callData",
601
- "type": "bytes",
602
- "internalType": "bytes"
603
- },
604
- {
605
- "name": "accountGasLimits",
606
- "type": "bytes32",
607
- "internalType": "bytes32"
608
- },
609
- {
610
- "name": "preVerificationGas",
611
- "type": "uint256",
612
- "internalType": "uint256"
613
- },
614
- {
615
- "name": "gasFees",
616
- "type": "bytes32",
617
- "internalType": "bytes32"
618
- },
619
- {
620
- "name": "paymasterAndData",
621
- "type": "bytes",
622
- "internalType": "bytes"
623
- },
624
- {
625
- "name": "signature",
626
- "type": "bytes",
627
- "internalType": "bytes"
628
- }
629
- ]
630
- },
631
- {
632
- "name": "target",
633
- "type": "address",
634
- "internalType": "address"
635
- },
636
- {
637
- "name": "targetCallData",
638
- "type": "bytes",
639
- "internalType": "bytes"
640
- }
641
- ]
642
- },
643
- {
644
- "name": "targetUserOp",
645
- "type": "tuple",
646
- "internalType": "struct SimulationArgs",
647
- "components": [
648
- {
649
- "name": "op",
650
- "type": "tuple",
651
- "internalType": "struct PackedUserOperation",
652
- "components": [
653
- {
654
- "name": "sender",
655
- "type": "address",
656
- "internalType": "address"
657
- },
658
- {
659
- "name": "nonce",
660
- "type": "uint256",
661
- "internalType": "uint256"
662
- },
663
- {
664
- "name": "initCode",
665
- "type": "bytes",
666
- "internalType": "bytes"
667
- },
668
- {
669
- "name": "callData",
670
- "type": "bytes",
671
- "internalType": "bytes"
672
- },
673
- {
674
- "name": "accountGasLimits",
675
- "type": "bytes32",
676
- "internalType": "bytes32"
677
- },
678
- {
679
- "name": "preVerificationGas",
680
- "type": "uint256",
681
- "internalType": "uint256"
682
- },
683
- {
684
- "name": "gasFees",
685
- "type": "bytes32",
686
- "internalType": "bytes32"
687
- },
688
- {
689
- "name": "paymasterAndData",
690
- "type": "bytes",
691
- "internalType": "bytes"
692
- },
693
- {
694
- "name": "signature",
695
- "type": "bytes",
696
- "internalType": "bytes"
697
- }
698
- ]
699
- },
700
- {
701
- "name": "target",
702
- "type": "address",
703
- "internalType": "address"
704
- },
705
- {
706
- "name": "targetCallData",
707
- "type": "bytes",
708
- "internalType": "bytes"
709
- }
710
- ]
711
- },
712
- {
713
- "name": "entryPoint",
714
- "type": "address",
715
- "internalType": "address"
716
- },
717
- {
718
- "name": "initialMinGas",
719
- "type": "uint256",
720
- "internalType": "uint256"
721
- },
722
- {
723
- "name": "toleranceDelta",
724
- "type": "uint256",
725
- "internalType": "uint256"
726
- },
727
- {
728
- "name": "gasAllowance",
729
- "type": "uint256",
730
- "internalType": "uint256"
731
- }
732
- ],
733
- "outputs": [
734
- {
735
- "name": "",
736
- "type": "tuple",
737
- "internalType": "struct IEntryPointSimulations.TargetCallResult",
738
- "components": [
739
- {
740
- "name": "gasUsed",
741
- "type": "uint256",
742
- "internalType": "uint256"
743
- },
744
- {
745
- "name": "success",
746
- "type": "bool",
747
- "internalType": "bool"
748
- },
749
- {
750
- "name": "returnData",
751
- "type": "bytes",
752
- "internalType": "bytes"
753
- }
754
- ]
755
- }
756
- ],
757
- "stateMutability": "nonpayable"
758
- },
759
- {
760
- "type": "function",
761
- "name": "binarySearchVerificationGasLimit",
762
- "inputs": [
763
- {
764
- "name": "queuedUserOps",
765
- "type": "tuple[]",
766
- "internalType": "struct SimulationArgs[]",
767
- "components": [
768
- {
769
- "name": "op",
770
- "type": "tuple",
771
- "internalType": "struct PackedUserOperation",
772
- "components": [
773
- {
774
- "name": "sender",
775
- "type": "address",
776
- "internalType": "address"
777
- },
778
- {
779
- "name": "nonce",
780
- "type": "uint256",
781
- "internalType": "uint256"
782
- },
783
- {
784
- "name": "initCode",
785
- "type": "bytes",
786
- "internalType": "bytes"
787
- },
788
- {
789
- "name": "callData",
790
- "type": "bytes",
791
- "internalType": "bytes"
792
- },
793
- {
794
- "name": "accountGasLimits",
795
- "type": "bytes32",
796
- "internalType": "bytes32"
797
- },
798
- {
799
- "name": "preVerificationGas",
800
- "type": "uint256",
801
- "internalType": "uint256"
802
- },
803
- {
804
- "name": "gasFees",
805
- "type": "bytes32",
806
- "internalType": "bytes32"
807
- },
808
- {
809
- "name": "paymasterAndData",
810
- "type": "bytes",
811
- "internalType": "bytes"
812
- },
813
- {
814
- "name": "signature",
815
- "type": "bytes",
816
- "internalType": "bytes"
817
- }
818
- ]
819
- },
820
- {
821
- "name": "target",
822
- "type": "address",
823
- "internalType": "address"
824
- },
825
- {
826
- "name": "targetCallData",
827
- "type": "bytes",
828
- "internalType": "bytes"
829
- }
830
- ]
831
- },
832
- {
833
- "name": "targetUserOp",
834
- "type": "tuple",
835
- "internalType": "struct SimulationArgs",
836
- "components": [
837
- {
838
- "name": "op",
839
- "type": "tuple",
840
- "internalType": "struct PackedUserOperation",
841
- "components": [
842
- {
843
- "name": "sender",
844
- "type": "address",
845
- "internalType": "address"
846
- },
847
- {
848
- "name": "nonce",
849
- "type": "uint256",
850
- "internalType": "uint256"
851
- },
852
- {
853
- "name": "initCode",
854
- "type": "bytes",
855
- "internalType": "bytes"
856
- },
857
- {
858
- "name": "callData",
859
- "type": "bytes",
860
- "internalType": "bytes"
861
- },
862
- {
863
- "name": "accountGasLimits",
864
- "type": "bytes32",
865
- "internalType": "bytes32"
866
- },
867
- {
868
- "name": "preVerificationGas",
869
- "type": "uint256",
870
- "internalType": "uint256"
871
- },
872
- {
873
- "name": "gasFees",
874
- "type": "bytes32",
875
- "internalType": "bytes32"
876
- },
877
- {
878
- "name": "paymasterAndData",
879
- "type": "bytes",
880
- "internalType": "bytes"
881
- },
882
- {
883
- "name": "signature",
884
- "type": "bytes",
885
- "internalType": "bytes"
886
- }
887
- ]
888
- },
889
- {
890
- "name": "target",
891
- "type": "address",
892
- "internalType": "address"
893
- },
894
- {
895
- "name": "targetCallData",
896
- "type": "bytes",
897
- "internalType": "bytes"
898
- }
899
- ]
900
- },
901
- {
902
- "name": "entryPoint",
903
- "type": "address",
904
- "internalType": "address"
905
- },
906
- {
907
- "name": "initialMinGas",
908
- "type": "uint256",
909
- "internalType": "uint256"
910
- },
911
- {
912
- "name": "toleranceDelta",
913
- "type": "uint256",
914
- "internalType": "uint256"
915
- },
916
- {
917
- "name": "gasAllowance",
918
- "type": "uint256",
919
- "internalType": "uint256"
920
- }
921
- ],
922
- "outputs": [
923
- {
924
- "name": "",
925
- "type": "tuple",
926
- "internalType": "struct IEntryPointSimulations.TargetCallResult",
927
- "components": [
928
- {
929
- "name": "gasUsed",
930
- "type": "uint256",
931
- "internalType": "uint256"
932
- },
933
- {
934
- "name": "success",
935
- "type": "bool",
936
- "internalType": "bool"
937
- },
938
- {
939
- "name": "returnData",
940
- "type": "bytes",
941
- "internalType": "bytes"
942
- }
943
- ]
944
- }
945
- ],
946
- "stateMutability": "nonpayable"
947
- },
948
- {
949
- "type": "function",
950
- "name": "depositTo",
951
- "inputs": [
952
- {
953
- "name": "account",
954
- "type": "address",
955
- "internalType": "address"
956
- }
957
- ],
958
- "outputs": [],
959
- "stateMutability": "payable"
960
- },
961
- {
962
- "type": "function",
963
- "name": "deposits",
964
- "inputs": [
965
- {
966
- "name": "",
967
- "type": "address",
968
- "internalType": "address"
969
- }
970
- ],
971
- "outputs": [
972
- {
973
- "name": "deposit",
974
- "type": "uint256",
975
- "internalType": "uint256"
976
- },
977
- {
978
- "name": "staked",
979
- "type": "bool",
980
- "internalType": "bool"
981
- },
982
- {
983
- "name": "stake",
984
- "type": "uint112",
985
- "internalType": "uint112"
986
- },
987
- {
988
- "name": "unstakeDelaySec",
989
- "type": "uint32",
990
- "internalType": "uint32"
991
- },
992
- {
993
- "name": "withdrawTime",
994
- "type": "uint48",
995
- "internalType": "uint48"
996
- }
997
- ],
998
- "stateMutability": "view"
999
- },
1000
- {
1001
- "type": "function",
1002
- "name": "getDepositInfo",
1003
- "inputs": [
1004
- {
1005
- "name": "account",
1006
- "type": "address",
1007
- "internalType": "address"
1008
- }
1009
- ],
1010
- "outputs": [
1011
- {
1012
- "name": "info",
1013
- "type": "tuple",
1014
- "internalType": "struct IStakeManager.DepositInfo",
1015
- "components": [
1016
- {
1017
- "name": "deposit",
1018
- "type": "uint256",
1019
- "internalType": "uint256"
1020
- },
1021
- {
1022
- "name": "staked",
1023
- "type": "bool",
1024
- "internalType": "bool"
1025
- },
1026
- {
1027
- "name": "stake",
1028
- "type": "uint112",
1029
- "internalType": "uint112"
1030
- },
1031
- {
1032
- "name": "unstakeDelaySec",
1033
- "type": "uint32",
1034
- "internalType": "uint32"
1035
- },
1036
- {
1037
- "name": "withdrawTime",
1038
- "type": "uint48",
1039
- "internalType": "uint48"
1040
- }
1041
- ]
1042
- }
1043
- ],
1044
- "stateMutability": "view"
1045
- },
1046
- {
1047
- "type": "function",
1048
- "name": "getNonce",
1049
- "inputs": [
1050
- {
1051
- "name": "sender",
1052
- "type": "address",
1053
- "internalType": "address"
1054
- },
1055
- {
1056
- "name": "key",
1057
- "type": "uint192",
1058
- "internalType": "uint192"
1059
- }
1060
- ],
1061
- "outputs": [
1062
- {
1063
- "name": "nonce",
1064
- "type": "uint256",
1065
- "internalType": "uint256"
1066
- }
1067
- ],
1068
- "stateMutability": "view"
1069
- },
1070
- {
1071
- "type": "function",
1072
- "name": "getUserOpHash",
1073
- "inputs": [
1074
- {
1075
- "name": "userOp",
1076
- "type": "tuple",
1077
- "internalType": "struct PackedUserOperation",
1078
- "components": [
1079
- {
1080
- "name": "sender",
1081
- "type": "address",
1082
- "internalType": "address"
1083
- },
1084
- {
1085
- "name": "nonce",
1086
- "type": "uint256",
1087
- "internalType": "uint256"
1088
- },
1089
- {
1090
- "name": "initCode",
1091
- "type": "bytes",
1092
- "internalType": "bytes"
1093
- },
1094
- {
1095
- "name": "callData",
1096
- "type": "bytes",
1097
- "internalType": "bytes"
1098
- },
1099
- {
1100
- "name": "accountGasLimits",
1101
- "type": "bytes32",
1102
- "internalType": "bytes32"
1103
- },
1104
- {
1105
- "name": "preVerificationGas",
1106
- "type": "uint256",
1107
- "internalType": "uint256"
1108
- },
1109
- {
1110
- "name": "gasFees",
1111
- "type": "bytes32",
1112
- "internalType": "bytes32"
1113
- },
1114
- {
1115
- "name": "paymasterAndData",
1116
- "type": "bytes",
1117
- "internalType": "bytes"
1118
- },
1119
- {
1120
- "name": "signature",
1121
- "type": "bytes",
1122
- "internalType": "bytes"
1123
- }
1124
- ]
1125
- }
1126
- ],
1127
- "outputs": [
1128
- {
1129
- "name": "",
1130
- "type": "bytes32",
1131
- "internalType": "bytes32"
1132
- }
1133
- ],
1134
- "stateMutability": "view"
1135
- },
1136
- {
1137
- "type": "function",
1138
- "name": "incrementNonce",
1139
- "inputs": [
1140
- {
1141
- "name": "key",
1142
- "type": "uint192",
1143
- "internalType": "uint192"
1144
- }
1145
- ],
1146
- "outputs": [],
1147
- "stateMutability": "nonpayable"
1148
- },
1149
- {
1150
- "type": "function",
1151
- "name": "innerHandleOp",
1152
- "inputs": [
1153
- {
1154
- "name": "callData",
1155
- "type": "bytes",
1156
- "internalType": "bytes"
1157
- },
1158
- {
1159
- "name": "opInfo",
1160
- "type": "tuple",
1161
- "internalType": "struct EntryPoint.UserOpInfo",
1162
- "components": [
1163
- {
1164
- "name": "mUserOp",
1165
- "type": "tuple",
1166
- "internalType": "struct EntryPoint.MemoryUserOp",
1167
- "components": [
1168
- {
1169
- "name": "sender",
1170
- "type": "address",
1171
- "internalType": "address"
1172
- },
1173
- {
1174
- "name": "nonce",
1175
- "type": "uint256",
1176
- "internalType": "uint256"
1177
- },
1178
- {
1179
- "name": "verificationGasLimit",
1180
- "type": "uint256",
1181
- "internalType": "uint256"
1182
- },
1183
- {
1184
- "name": "callGasLimit",
1185
- "type": "uint256",
1186
- "internalType": "uint256"
1187
- },
1188
- {
1189
- "name": "paymasterVerificationGasLimit",
1190
- "type": "uint256",
1191
- "internalType": "uint256"
1192
- },
1193
- {
1194
- "name": "paymasterPostOpGasLimit",
1195
- "type": "uint256",
1196
- "internalType": "uint256"
1197
- },
1198
- {
1199
- "name": "preVerificationGas",
1200
- "type": "uint256",
1201
- "internalType": "uint256"
1202
- },
1203
- {
1204
- "name": "paymaster",
1205
- "type": "address",
1206
- "internalType": "address"
1207
- },
1208
- {
1209
- "name": "maxFeePerGas",
1210
- "type": "uint256",
1211
- "internalType": "uint256"
1212
- },
1213
- {
1214
- "name": "maxPriorityFeePerGas",
1215
- "type": "uint256",
1216
- "internalType": "uint256"
1217
- }
1218
- ]
1219
- },
1220
- {
1221
- "name": "userOpHash",
1222
- "type": "bytes32",
1223
- "internalType": "bytes32"
1224
- },
1225
- {
1226
- "name": "prefund",
1227
- "type": "uint256",
1228
- "internalType": "uint256"
1229
- },
1230
- {
1231
- "name": "contextOffset",
1232
- "type": "uint256",
1233
- "internalType": "uint256"
1234
- },
1235
- {
1236
- "name": "preOpGas",
1237
- "type": "uint256",
1238
- "internalType": "uint256"
1239
- }
1240
- ]
1241
- },
1242
- {
1243
- "name": "context",
1244
- "type": "bytes",
1245
- "internalType": "bytes"
1246
- },
1247
- {
1248
- "name": "preGas",
1249
- "type": "uint256",
1250
- "internalType": "uint256"
1251
- }
1252
- ],
1253
- "outputs": [
1254
- {
1255
- "name": "actualGasCost",
1256
- "type": "uint256",
1257
- "internalType": "uint256"
1258
- },
1259
- {
1260
- "name": "paymasterPostOpGasLimit",
1261
- "type": "uint256",
1262
- "internalType": "uint256"
1263
- }
1264
- ],
1265
- "stateMutability": "nonpayable"
1266
- },
1267
- {
1268
- "type": "function",
1269
- "name": "nonceSequenceNumber",
1270
- "inputs": [
1271
- {
1272
- "name": "",
1273
- "type": "address",
1274
- "internalType": "address"
1275
- },
1276
- {
1277
- "name": "",
1278
- "type": "uint192",
1279
- "internalType": "uint192"
1280
- }
1281
- ],
1282
- "outputs": [
1283
- {
1284
- "name": "",
1285
- "type": "uint256",
1286
- "internalType": "uint256"
1287
- }
1288
- ],
1289
- "stateMutability": "view"
1290
- },
1291
- {
1292
- "type": "function",
1293
- "name": "simulateCall",
1294
- "inputs": [
1295
- {
1296
- "name": "entryPoint",
1297
- "type": "address",
1298
- "internalType": "address"
1299
- },
1300
- {
1301
- "name": "payload",
1302
- "type": "bytes",
1303
- "internalType": "bytes"
1304
- },
1305
- {
1306
- "name": "gas",
1307
- "type": "uint256",
1308
- "internalType": "uint256"
1309
- }
1310
- ],
1311
- "outputs": [
1312
- {
1313
- "name": "success",
1314
- "type": "bool",
1315
- "internalType": "bool"
1316
- },
1317
- {
1318
- "name": "result",
1319
- "type": "bytes",
1320
- "internalType": "bytes"
1321
- }
1322
- ],
1323
- "stateMutability": "nonpayable"
1324
- },
1325
- {
1326
- "type": "function",
1327
- "name": "simulateCallAndRevert",
1328
- "inputs": [
1329
- {
1330
- "name": "target",
1331
- "type": "address",
1332
- "internalType": "address"
1333
- },
1334
- {
1335
- "name": "data",
1336
- "type": "bytes",
1337
- "internalType": "bytes"
1338
- },
1339
- {
1340
- "name": "gas",
1341
- "type": "uint256",
1342
- "internalType": "uint256"
1343
- }
1344
- ],
1345
- "outputs": [],
1346
- "stateMutability": "nonpayable"
1347
- },
1348
- {
1349
- "type": "function",
1350
- "name": "simulateHandleOp",
1351
- "inputs": [
1352
- {
1353
- "name": "op",
1354
- "type": "tuple",
1355
- "internalType": "struct PackedUserOperation",
1356
- "components": [
1357
- {
1358
- "name": "sender",
1359
- "type": "address",
1360
- "internalType": "address"
1361
- },
1362
- {
1363
- "name": "nonce",
1364
- "type": "uint256",
1365
- "internalType": "uint256"
1366
- },
1367
- {
1368
- "name": "initCode",
1369
- "type": "bytes",
1370
- "internalType": "bytes"
1371
- },
1372
- {
1373
- "name": "callData",
1374
- "type": "bytes",
1375
- "internalType": "bytes"
1376
- },
1377
- {
1378
- "name": "accountGasLimits",
1379
- "type": "bytes32",
1380
- "internalType": "bytes32"
1381
- },
1382
- {
1383
- "name": "preVerificationGas",
1384
- "type": "uint256",
1385
- "internalType": "uint256"
1386
- },
1387
- {
1388
- "name": "gasFees",
1389
- "type": "bytes32",
1390
- "internalType": "bytes32"
1391
- },
1392
- {
1393
- "name": "paymasterAndData",
1394
- "type": "bytes",
1395
- "internalType": "bytes"
1396
- },
1397
- {
1398
- "name": "signature",
1399
- "type": "bytes",
1400
- "internalType": "bytes"
1401
- }
1402
- ]
1403
- },
1404
- {
1405
- "name": "target",
1406
- "type": "address",
1407
- "internalType": "address"
1408
- },
1409
- {
1410
- "name": "targetCallData",
1411
- "type": "bytes",
1412
- "internalType": "bytes"
1413
- }
1414
- ],
1415
- "outputs": [
1416
- {
1417
- "name": "",
1418
- "type": "tuple",
1419
- "internalType": "struct IEntryPointSimulations.ExecutionResult",
1420
- "components": [
1421
- {
1422
- "name": "preOpGas",
1423
- "type": "uint256",
1424
- "internalType": "uint256"
1425
- },
1426
- {
1427
- "name": "paid",
1428
- "type": "uint256",
1429
- "internalType": "uint256"
1430
- },
1431
- {
1432
- "name": "accountValidationData",
1433
- "type": "uint256",
1434
- "internalType": "uint256"
1435
- },
1436
- {
1437
- "name": "paymasterValidationData",
1438
- "type": "uint256",
1439
- "internalType": "uint256"
1440
- },
1441
- {
1442
- "name": "paymasterVerificationGasLimit",
1443
- "type": "uint256",
1444
- "internalType": "uint256"
1445
- },
1446
- {
1447
- "name": "paymasterPostOpGasLimit",
1448
- "type": "uint256",
1449
- "internalType": "uint256"
1450
- },
1451
- {
1452
- "name": "targetSuccess",
1453
- "type": "bool",
1454
- "internalType": "bool"
1455
- },
1456
- {
1457
- "name": "targetResult",
1458
- "type": "bytes",
1459
- "internalType": "bytes"
1460
- }
1461
- ]
1462
- }
1463
- ],
1464
- "stateMutability": "nonpayable"
1465
- },
1466
- {
1467
- "type": "function",
1468
- "name": "simulateHandleOpBulk",
1469
- "inputs": [
1470
- {
1471
- "name": "ops",
1472
- "type": "tuple[]",
1473
- "internalType": "struct PackedUserOperation[]",
1474
- "components": [
1475
- {
1476
- "name": "sender",
1477
- "type": "address",
1478
- "internalType": "address"
1479
- },
1480
- {
1481
- "name": "nonce",
1482
- "type": "uint256",
1483
- "internalType": "uint256"
1484
- },
1485
- {
1486
- "name": "initCode",
1487
- "type": "bytes",
1488
- "internalType": "bytes"
1489
- },
1490
- {
1491
- "name": "callData",
1492
- "type": "bytes",
1493
- "internalType": "bytes"
1494
- },
1495
- {
1496
- "name": "accountGasLimits",
1497
- "type": "bytes32",
1498
- "internalType": "bytes32"
1499
- },
1500
- {
1501
- "name": "preVerificationGas",
1502
- "type": "uint256",
1503
- "internalType": "uint256"
1504
- },
1505
- {
1506
- "name": "gasFees",
1507
- "type": "bytes32",
1508
- "internalType": "bytes32"
1509
- },
1510
- {
1511
- "name": "paymasterAndData",
1512
- "type": "bytes",
1513
- "internalType": "bytes"
1514
- },
1515
- {
1516
- "name": "signature",
1517
- "type": "bytes",
1518
- "internalType": "bytes"
1519
- }
1520
- ]
1521
- }
1522
- ],
1523
- "outputs": [
1524
- {
1525
- "name": "",
1526
- "type": "tuple[]",
1527
- "internalType": "struct IEntryPointSimulations.ExecutionResult[]",
1528
- "components": [
1529
- {
1530
- "name": "preOpGas",
1531
- "type": "uint256",
1532
- "internalType": "uint256"
1533
- },
1534
- {
1535
- "name": "paid",
1536
- "type": "uint256",
1537
- "internalType": "uint256"
1538
- },
1539
- {
1540
- "name": "accountValidationData",
1541
- "type": "uint256",
1542
- "internalType": "uint256"
1543
- },
1544
- {
1545
- "name": "paymasterValidationData",
1546
- "type": "uint256",
1547
- "internalType": "uint256"
1548
- },
1549
- {
1550
- "name": "paymasterVerificationGasLimit",
1551
- "type": "uint256",
1552
- "internalType": "uint256"
1553
- },
1554
- {
1555
- "name": "paymasterPostOpGasLimit",
1556
- "type": "uint256",
1557
- "internalType": "uint256"
1558
- },
1559
- {
1560
- "name": "targetSuccess",
1561
- "type": "bool",
1562
- "internalType": "bool"
1563
- },
1564
- {
1565
- "name": "targetResult",
1566
- "type": "bytes",
1567
- "internalType": "bytes"
1568
- }
1569
- ]
1570
- }
1571
- ],
1572
- "stateMutability": "nonpayable"
1573
- },
1574
- {
1575
- "type": "function",
1576
- "name": "simulateHandleOpLast",
1577
- "inputs": [
1578
- {
1579
- "name": "ops",
1580
- "type": "tuple[]",
1581
- "internalType": "struct PackedUserOperation[]",
1582
- "components": [
1583
- {
1584
- "name": "sender",
1585
- "type": "address",
1586
- "internalType": "address"
1587
- },
1588
- {
1589
- "name": "nonce",
1590
- "type": "uint256",
1591
- "internalType": "uint256"
1592
- },
1593
- {
1594
- "name": "initCode",
1595
- "type": "bytes",
1596
- "internalType": "bytes"
1597
- },
1598
- {
1599
- "name": "callData",
1600
- "type": "bytes",
1601
- "internalType": "bytes"
1602
- },
1603
- {
1604
- "name": "accountGasLimits",
1605
- "type": "bytes32",
1606
- "internalType": "bytes32"
1607
- },
1608
- {
1609
- "name": "preVerificationGas",
1610
- "type": "uint256",
1611
- "internalType": "uint256"
1612
- },
1613
- {
1614
- "name": "gasFees",
1615
- "type": "bytes32",
1616
- "internalType": "bytes32"
1617
- },
1618
- {
1619
- "name": "paymasterAndData",
1620
- "type": "bytes",
1621
- "internalType": "bytes"
1622
- },
1623
- {
1624
- "name": "signature",
1625
- "type": "bytes",
1626
- "internalType": "bytes"
1627
- }
1628
- ]
1629
- }
1630
- ],
1631
- "outputs": [
1632
- {
1633
- "name": "",
1634
- "type": "tuple",
1635
- "internalType": "struct IEntryPointSimulations.ExecutionResult",
1636
- "components": [
1637
- {
1638
- "name": "preOpGas",
1639
- "type": "uint256",
1640
- "internalType": "uint256"
1641
- },
1642
- {
1643
- "name": "paid",
1644
- "type": "uint256",
1645
- "internalType": "uint256"
1646
- },
1647
- {
1648
- "name": "accountValidationData",
1649
- "type": "uint256",
1650
- "internalType": "uint256"
1651
- },
1652
- {
1653
- "name": "paymasterValidationData",
1654
- "type": "uint256",
1655
- "internalType": "uint256"
1656
- },
1657
- {
1658
- "name": "paymasterVerificationGasLimit",
1659
- "type": "uint256",
1660
- "internalType": "uint256"
1661
- },
1662
- {
1663
- "name": "paymasterPostOpGasLimit",
1664
- "type": "uint256",
1665
- "internalType": "uint256"
1666
- },
1667
- {
1668
- "name": "targetSuccess",
1669
- "type": "bool",
1670
- "internalType": "bool"
1671
- },
1672
- {
1673
- "name": "targetResult",
1674
- "type": "bytes",
1675
- "internalType": "bytes"
1676
- }
1677
- ]
1678
- }
1679
- ],
1680
- "stateMutability": "nonpayable"
1681
- },
1682
- {
1683
- "type": "function",
1684
- "name": "simulateValidation",
1685
- "inputs": [
1686
- {
1687
- "name": "userOp",
1688
- "type": "tuple",
1689
- "internalType": "struct PackedUserOperation",
1690
- "components": [
1691
- {
1692
- "name": "sender",
1693
- "type": "address",
1694
- "internalType": "address"
1695
- },
1696
- {
1697
- "name": "nonce",
1698
- "type": "uint256",
1699
- "internalType": "uint256"
1700
- },
1701
- {
1702
- "name": "initCode",
1703
- "type": "bytes",
1704
- "internalType": "bytes"
1705
- },
1706
- {
1707
- "name": "callData",
1708
- "type": "bytes",
1709
- "internalType": "bytes"
1710
- },
1711
- {
1712
- "name": "accountGasLimits",
1713
- "type": "bytes32",
1714
- "internalType": "bytes32"
1715
- },
1716
- {
1717
- "name": "preVerificationGas",
1718
- "type": "uint256",
1719
- "internalType": "uint256"
1720
- },
1721
- {
1722
- "name": "gasFees",
1723
- "type": "bytes32",
1724
- "internalType": "bytes32"
1725
- },
1726
- {
1727
- "name": "paymasterAndData",
1728
- "type": "bytes",
1729
- "internalType": "bytes"
1730
- },
1731
- {
1732
- "name": "signature",
1733
- "type": "bytes",
1734
- "internalType": "bytes"
1735
- }
1736
- ]
1737
- }
1738
- ],
1739
- "outputs": [
1740
- {
1741
- "name": "",
1742
- "type": "tuple",
1743
- "internalType": "struct IEntryPointSimulations.ValidationResult",
1744
- "components": [
1745
- {
1746
- "name": "returnInfo",
1747
- "type": "tuple",
1748
- "internalType": "struct IEntryPoint.ReturnInfo",
1749
- "components": [
1750
- {
1751
- "name": "preOpGas",
1752
- "type": "uint256",
1753
- "internalType": "uint256"
1754
- },
1755
- {
1756
- "name": "prefund",
1757
- "type": "uint256",
1758
- "internalType": "uint256"
1759
- },
1760
- {
1761
- "name": "accountValidationData",
1762
- "type": "uint256",
1763
- "internalType": "uint256"
1764
- },
1765
- {
1766
- "name": "paymasterValidationData",
1767
- "type": "uint256",
1768
- "internalType": "uint256"
1769
- },
1770
- {
1771
- "name": "paymasterContext",
1772
- "type": "bytes",
1773
- "internalType": "bytes"
1774
- }
1775
- ]
1776
- },
1777
- {
1778
- "name": "senderInfo",
1779
- "type": "tuple",
1780
- "internalType": "struct IStakeManager.StakeInfo",
1781
- "components": [
1782
- {
1783
- "name": "stake",
1784
- "type": "uint256",
1785
- "internalType": "uint256"
1786
- },
1787
- {
1788
- "name": "unstakeDelaySec",
1789
- "type": "uint256",
1790
- "internalType": "uint256"
1791
- }
1792
- ]
1793
- },
1794
- {
1795
- "name": "factoryInfo",
1796
- "type": "tuple",
1797
- "internalType": "struct IStakeManager.StakeInfo",
1798
- "components": [
1799
- {
1800
- "name": "stake",
1801
- "type": "uint256",
1802
- "internalType": "uint256"
1803
- },
1804
- {
1805
- "name": "unstakeDelaySec",
1806
- "type": "uint256",
1807
- "internalType": "uint256"
1808
- }
1809
- ]
1810
- },
1811
- {
1812
- "name": "paymasterInfo",
1813
- "type": "tuple",
1814
- "internalType": "struct IStakeManager.StakeInfo",
1815
- "components": [
1816
- {
1817
- "name": "stake",
1818
- "type": "uint256",
1819
- "internalType": "uint256"
1820
- },
1821
- {
1822
- "name": "unstakeDelaySec",
1823
- "type": "uint256",
1824
- "internalType": "uint256"
1825
- }
1826
- ]
1827
- },
1828
- {
1829
- "name": "aggregatorInfo",
1830
- "type": "tuple",
1831
- "internalType": "struct IEntryPoint.AggregatorStakeInfo",
1832
- "components": [
1833
- {
1834
- "name": "aggregator",
1835
- "type": "address",
1836
- "internalType": "address"
1837
- },
1838
- {
1839
- "name": "stakeInfo",
1840
- "type": "tuple",
1841
- "internalType": "struct IStakeManager.StakeInfo",
1842
- "components": [
1843
- {
1844
- "name": "stake",
1845
- "type": "uint256",
1846
- "internalType": "uint256"
1847
- },
1848
- {
1849
- "name": "unstakeDelaySec",
1850
- "type": "uint256",
1851
- "internalType": "uint256"
1852
- }
1853
- ]
1854
- }
1855
- ]
1856
- }
1857
- ]
1858
- }
1859
- ],
1860
- "stateMutability": "nonpayable"
1861
- },
1862
- {
1863
- "type": "function",
1864
- "name": "simulateValidationBulk",
1865
- "inputs": [
1866
- {
1867
- "name": "userOps",
1868
- "type": "tuple[]",
1869
- "internalType": "struct PackedUserOperation[]",
1870
- "components": [
1871
- {
1872
- "name": "sender",
1873
- "type": "address",
1874
- "internalType": "address"
1875
- },
1876
- {
1877
- "name": "nonce",
1878
- "type": "uint256",
1879
- "internalType": "uint256"
1880
- },
1881
- {
1882
- "name": "initCode",
1883
- "type": "bytes",
1884
- "internalType": "bytes"
1885
- },
1886
- {
1887
- "name": "callData",
1888
- "type": "bytes",
1889
- "internalType": "bytes"
1890
- },
1891
- {
1892
- "name": "accountGasLimits",
1893
- "type": "bytes32",
1894
- "internalType": "bytes32"
1895
- },
1896
- {
1897
- "name": "preVerificationGas",
1898
- "type": "uint256",
1899
- "internalType": "uint256"
1900
- },
1901
- {
1902
- "name": "gasFees",
1903
- "type": "bytes32",
1904
- "internalType": "bytes32"
1905
- },
1906
- {
1907
- "name": "paymasterAndData",
1908
- "type": "bytes",
1909
- "internalType": "bytes"
1910
- },
1911
- {
1912
- "name": "signature",
1913
- "type": "bytes",
1914
- "internalType": "bytes"
1915
- }
1916
- ]
1917
- }
1918
- ],
1919
- "outputs": [
1920
- {
1921
- "name": "",
1922
- "type": "tuple[]",
1923
- "internalType": "struct IEntryPointSimulations.ValidationResult[]",
1924
- "components": [
1925
- {
1926
- "name": "returnInfo",
1927
- "type": "tuple",
1928
- "internalType": "struct IEntryPoint.ReturnInfo",
1929
- "components": [
1930
- {
1931
- "name": "preOpGas",
1932
- "type": "uint256",
1933
- "internalType": "uint256"
1934
- },
1935
- {
1936
- "name": "prefund",
1937
- "type": "uint256",
1938
- "internalType": "uint256"
1939
- },
1940
- {
1941
- "name": "accountValidationData",
1942
- "type": "uint256",
1943
- "internalType": "uint256"
1944
- },
1945
- {
1946
- "name": "paymasterValidationData",
1947
- "type": "uint256",
1948
- "internalType": "uint256"
1949
- },
1950
- {
1951
- "name": "paymasterContext",
1952
- "type": "bytes",
1953
- "internalType": "bytes"
1954
- }
1955
- ]
1956
- },
1957
- {
1958
- "name": "senderInfo",
1959
- "type": "tuple",
1960
- "internalType": "struct IStakeManager.StakeInfo",
1961
- "components": [
1962
- {
1963
- "name": "stake",
1964
- "type": "uint256",
1965
- "internalType": "uint256"
1966
- },
1967
- {
1968
- "name": "unstakeDelaySec",
1969
- "type": "uint256",
1970
- "internalType": "uint256"
1971
- }
1972
- ]
1973
- },
1974
- {
1975
- "name": "factoryInfo",
1976
- "type": "tuple",
1977
- "internalType": "struct IStakeManager.StakeInfo",
1978
- "components": [
1979
- {
1980
- "name": "stake",
1981
- "type": "uint256",
1982
- "internalType": "uint256"
1983
- },
1984
- {
1985
- "name": "unstakeDelaySec",
1986
- "type": "uint256",
1987
- "internalType": "uint256"
1988
- }
1989
- ]
1990
- },
1991
- {
1992
- "name": "paymasterInfo",
1993
- "type": "tuple",
1994
- "internalType": "struct IStakeManager.StakeInfo",
1995
- "components": [
1996
- {
1997
- "name": "stake",
1998
- "type": "uint256",
1999
- "internalType": "uint256"
2000
- },
2001
- {
2002
- "name": "unstakeDelaySec",
2003
- "type": "uint256",
2004
- "internalType": "uint256"
2005
- }
2006
- ]
2007
- },
2008
- {
2009
- "name": "aggregatorInfo",
2010
- "type": "tuple",
2011
- "internalType": "struct IEntryPoint.AggregatorStakeInfo",
2012
- "components": [
2013
- {
2014
- "name": "aggregator",
2015
- "type": "address",
2016
- "internalType": "address"
2017
- },
2018
- {
2019
- "name": "stakeInfo",
2020
- "type": "tuple",
2021
- "internalType": "struct IStakeManager.StakeInfo",
2022
- "components": [
2023
- {
2024
- "name": "stake",
2025
- "type": "uint256",
2026
- "internalType": "uint256"
2027
- },
2028
- {
2029
- "name": "unstakeDelaySec",
2030
- "type": "uint256",
2031
- "internalType": "uint256"
2032
- }
2033
- ]
2034
- }
2035
- ]
2036
- }
2037
- ]
2038
- }
2039
- ],
2040
- "stateMutability": "nonpayable"
2041
- },
2042
- {
2043
- "type": "function",
2044
- "name": "simulateValidationLast",
2045
- "inputs": [
2046
- {
2047
- "name": "userOps",
2048
- "type": "tuple[]",
2049
- "internalType": "struct PackedUserOperation[]",
2050
- "components": [
2051
- {
2052
- "name": "sender",
2053
- "type": "address",
2054
- "internalType": "address"
2055
- },
2056
- {
2057
- "name": "nonce",
2058
- "type": "uint256",
2059
- "internalType": "uint256"
2060
- },
2061
- {
2062
- "name": "initCode",
2063
- "type": "bytes",
2064
- "internalType": "bytes"
2065
- },
2066
- {
2067
- "name": "callData",
2068
- "type": "bytes",
2069
- "internalType": "bytes"
2070
- },
2071
- {
2072
- "name": "accountGasLimits",
2073
- "type": "bytes32",
2074
- "internalType": "bytes32"
2075
- },
2076
- {
2077
- "name": "preVerificationGas",
2078
- "type": "uint256",
2079
- "internalType": "uint256"
2080
- },
2081
- {
2082
- "name": "gasFees",
2083
- "type": "bytes32",
2084
- "internalType": "bytes32"
2085
- },
2086
- {
2087
- "name": "paymasterAndData",
2088
- "type": "bytes",
2089
- "internalType": "bytes"
2090
- },
2091
- {
2092
- "name": "signature",
2093
- "type": "bytes",
2094
- "internalType": "bytes"
2095
- }
2096
- ]
2097
- }
2098
- ],
2099
- "outputs": [
2100
- {
2101
- "name": "",
2102
- "type": "tuple",
2103
- "internalType": "struct IEntryPointSimulations.ValidationResult",
2104
- "components": [
2105
- {
2106
- "name": "returnInfo",
2107
- "type": "tuple",
2108
- "internalType": "struct IEntryPoint.ReturnInfo",
2109
- "components": [
2110
- {
2111
- "name": "preOpGas",
2112
- "type": "uint256",
2113
- "internalType": "uint256"
2114
- },
2115
- {
2116
- "name": "prefund",
2117
- "type": "uint256",
2118
- "internalType": "uint256"
2119
- },
2120
- {
2121
- "name": "accountValidationData",
2122
- "type": "uint256",
2123
- "internalType": "uint256"
2124
- },
2125
- {
2126
- "name": "paymasterValidationData",
2127
- "type": "uint256",
2128
- "internalType": "uint256"
2129
- },
2130
- {
2131
- "name": "paymasterContext",
2132
- "type": "bytes",
2133
- "internalType": "bytes"
2134
- }
2135
- ]
2136
- },
2137
- {
2138
- "name": "senderInfo",
2139
- "type": "tuple",
2140
- "internalType": "struct IStakeManager.StakeInfo",
2141
- "components": [
2142
- {
2143
- "name": "stake",
2144
- "type": "uint256",
2145
- "internalType": "uint256"
2146
- },
2147
- {
2148
- "name": "unstakeDelaySec",
2149
- "type": "uint256",
2150
- "internalType": "uint256"
2151
- }
2152
- ]
2153
- },
2154
- {
2155
- "name": "factoryInfo",
2156
- "type": "tuple",
2157
- "internalType": "struct IStakeManager.StakeInfo",
2158
- "components": [
2159
- {
2160
- "name": "stake",
2161
- "type": "uint256",
2162
- "internalType": "uint256"
2163
- },
2164
- {
2165
- "name": "unstakeDelaySec",
2166
- "type": "uint256",
2167
- "internalType": "uint256"
2168
- }
2169
- ]
2170
- },
2171
- {
2172
- "name": "paymasterInfo",
2173
- "type": "tuple",
2174
- "internalType": "struct IStakeManager.StakeInfo",
2175
- "components": [
2176
- {
2177
- "name": "stake",
2178
- "type": "uint256",
2179
- "internalType": "uint256"
2180
- },
2181
- {
2182
- "name": "unstakeDelaySec",
2183
- "type": "uint256",
2184
- "internalType": "uint256"
2185
- }
2186
- ]
2187
- },
2188
- {
2189
- "name": "aggregatorInfo",
2190
- "type": "tuple",
2191
- "internalType": "struct IEntryPoint.AggregatorStakeInfo",
2192
- "components": [
2193
- {
2194
- "name": "aggregator",
2195
- "type": "address",
2196
- "internalType": "address"
2197
- },
2198
- {
2199
- "name": "stakeInfo",
2200
- "type": "tuple",
2201
- "internalType": "struct IStakeManager.StakeInfo",
2202
- "components": [
2203
- {
2204
- "name": "stake",
2205
- "type": "uint256",
2206
- "internalType": "uint256"
2207
- },
2208
- {
2209
- "name": "unstakeDelaySec",
2210
- "type": "uint256",
2211
- "internalType": "uint256"
2212
- }
2213
- ]
2214
- }
2215
- ]
2216
- }
2217
- ]
2218
- }
2219
- ],
2220
- "stateMutability": "nonpayable"
2221
- },
2222
- {
2223
- "type": "function",
2224
- "name": "unlockStake",
2225
- "inputs": [],
2226
- "outputs": [],
2227
- "stateMutability": "nonpayable"
2228
- },
2229
- {
2230
- "type": "function",
2231
- "name": "withdrawStake",
2232
- "inputs": [
2233
- {
2234
- "name": "withdrawAddress",
2235
- "type": "address",
2236
- "internalType": "address payable"
2237
- }
2238
- ],
2239
- "outputs": [],
2240
- "stateMutability": "nonpayable"
2241
- },
2242
- {
2243
- "type": "function",
2244
- "name": "withdrawTo",
2245
- "inputs": [
2246
- {
2247
- "name": "withdrawAddress",
2248
- "type": "address",
2249
- "internalType": "address payable"
2250
- },
2251
- {
2252
- "name": "withdrawAmount",
2253
- "type": "uint256",
2254
- "internalType": "uint256"
2255
- }
2256
- ],
2257
- "outputs": [],
2258
- "stateMutability": "nonpayable"
2259
- },
2260
- {
2261
- "type": "event",
2262
- "name": "AccountDeployed",
2263
- "inputs": [
2264
- {
2265
- "name": "userOpHash",
2266
- "type": "bytes32",
2267
- "indexed": true,
2268
- "internalType": "bytes32"
2269
- },
2270
- {
2271
- "name": "sender",
2272
- "type": "address",
2273
- "indexed": true,
2274
- "internalType": "address"
2275
- },
2276
- {
2277
- "name": "factory",
2278
- "type": "address",
2279
- "indexed": false,
2280
- "internalType": "address"
2281
- },
2282
- {
2283
- "name": "paymaster",
2284
- "type": "address",
2285
- "indexed": false,
2286
- "internalType": "address"
2287
- }
2288
- ],
2289
- "anonymous": false
2290
- },
2291
- {
2292
- "type": "event",
2293
- "name": "BeforeExecution",
2294
- "inputs": [],
2295
- "anonymous": false
2296
- },
2297
- {
2298
- "type": "event",
2299
- "name": "Deposited",
2300
- "inputs": [
2301
- {
2302
- "name": "account",
2303
- "type": "address",
2304
- "indexed": true,
2305
- "internalType": "address"
2306
- },
2307
- {
2308
- "name": "totalDeposit",
2309
- "type": "uint256",
2310
- "indexed": false,
2311
- "internalType": "uint256"
2312
- }
2313
- ],
2314
- "anonymous": false
2315
- },
2316
- {
2317
- "type": "event",
2318
- "name": "PostOpRevertReason",
2319
- "inputs": [
2320
- {
2321
- "name": "userOpHash",
2322
- "type": "bytes32",
2323
- "indexed": true,
2324
- "internalType": "bytes32"
2325
- },
2326
- {
2327
- "name": "sender",
2328
- "type": "address",
2329
- "indexed": true,
2330
- "internalType": "address"
2331
- },
2332
- {
2333
- "name": "nonce",
2334
- "type": "uint256",
2335
- "indexed": false,
2336
- "internalType": "uint256"
2337
- },
2338
- {
2339
- "name": "revertReason",
2340
- "type": "bytes",
2341
- "indexed": false,
2342
- "internalType": "bytes"
2343
- }
2344
- ],
2345
- "anonymous": false
2346
- },
2347
- {
2348
- "type": "event",
2349
- "name": "SignatureAggregatorChanged",
2350
- "inputs": [
2351
- {
2352
- "name": "aggregator",
2353
- "type": "address",
2354
- "indexed": true,
2355
- "internalType": "address"
2356
- }
2357
- ],
2358
- "anonymous": false
2359
- },
2360
- {
2361
- "type": "event",
2362
- "name": "StakeLocked",
2363
- "inputs": [
2364
- {
2365
- "name": "account",
2366
- "type": "address",
2367
- "indexed": true,
2368
- "internalType": "address"
2369
- },
2370
- {
2371
- "name": "totalStaked",
2372
- "type": "uint256",
2373
- "indexed": false,
2374
- "internalType": "uint256"
2375
- },
2376
- {
2377
- "name": "unstakeDelaySec",
2378
- "type": "uint256",
2379
- "indexed": false,
2380
- "internalType": "uint256"
2381
- }
2382
- ],
2383
- "anonymous": false
2384
- },
2385
- {
2386
- "type": "event",
2387
- "name": "StakeUnlocked",
2388
- "inputs": [
2389
- {
2390
- "name": "account",
2391
- "type": "address",
2392
- "indexed": true,
2393
- "internalType": "address"
2394
- },
2395
- {
2396
- "name": "withdrawTime",
2397
- "type": "uint256",
2398
- "indexed": false,
2399
- "internalType": "uint256"
2400
- }
2401
- ],
2402
- "anonymous": false
2403
- },
2404
- {
2405
- "type": "event",
2406
- "name": "StakeWithdrawn",
2407
- "inputs": [
2408
- {
2409
- "name": "account",
2410
- "type": "address",
2411
- "indexed": true,
2412
- "internalType": "address"
2413
- },
2414
- {
2415
- "name": "withdrawAddress",
2416
- "type": "address",
2417
- "indexed": false,
2418
- "internalType": "address"
2419
- },
2420
- {
2421
- "name": "amount",
2422
- "type": "uint256",
2423
- "indexed": false,
2424
- "internalType": "uint256"
2425
- }
2426
- ],
2427
- "anonymous": false
2428
- },
2429
- {
2430
- "type": "event",
2431
- "name": "UserOperationEvent",
2432
- "inputs": [
2433
- {
2434
- "name": "userOpHash",
2435
- "type": "bytes32",
2436
- "indexed": true,
2437
- "internalType": "bytes32"
2438
- },
2439
- {
2440
- "name": "sender",
2441
- "type": "address",
2442
- "indexed": true,
2443
- "internalType": "address"
2444
- },
2445
- {
2446
- "name": "paymaster",
2447
- "type": "address",
2448
- "indexed": true,
2449
- "internalType": "address"
2450
- },
2451
- {
2452
- "name": "nonce",
2453
- "type": "uint256",
2454
- "indexed": false,
2455
- "internalType": "uint256"
2456
- },
2457
- {
2458
- "name": "success",
2459
- "type": "bool",
2460
- "indexed": false,
2461
- "internalType": "bool"
2462
- },
2463
- {
2464
- "name": "actualGasCost",
2465
- "type": "uint256",
2466
- "indexed": false,
2467
- "internalType": "uint256"
2468
- },
2469
- {
2470
- "name": "actualGasUsed",
2471
- "type": "uint256",
2472
- "indexed": false,
2473
- "internalType": "uint256"
2474
- }
2475
- ],
2476
- "anonymous": false
2477
- },
2478
- {
2479
- "type": "event",
2480
- "name": "UserOperationPrefundTooLow",
2481
- "inputs": [
2482
- {
2483
- "name": "userOpHash",
2484
- "type": "bytes32",
2485
- "indexed": true,
2486
- "internalType": "bytes32"
2487
- },
2488
- {
2489
- "name": "sender",
2490
- "type": "address",
2491
- "indexed": true,
2492
- "internalType": "address"
2493
- },
2494
- {
2495
- "name": "nonce",
2496
- "type": "uint256",
2497
- "indexed": false,
2498
- "internalType": "uint256"
2499
- }
2500
- ],
2501
- "anonymous": false
2502
- },
2503
- {
2504
- "type": "event",
2505
- "name": "UserOperationRevertReason",
2506
- "inputs": [
2507
- {
2508
- "name": "userOpHash",
2509
- "type": "bytes32",
2510
- "indexed": true,
2511
- "internalType": "bytes32"
2512
- },
2513
- {
2514
- "name": "sender",
2515
- "type": "address",
2516
- "indexed": true,
2517
- "internalType": "address"
2518
- },
2519
- {
2520
- "name": "nonce",
2521
- "type": "uint256",
2522
- "indexed": false,
2523
- "internalType": "uint256"
2524
- },
2525
- {
2526
- "name": "revertReason",
2527
- "type": "bytes",
2528
- "indexed": false,
2529
- "internalType": "bytes"
2530
- }
2531
- ],
2532
- "anonymous": false
2533
- },
2534
- {
2535
- "type": "event",
2536
- "name": "Withdrawn",
2537
- "inputs": [
2538
- {
2539
- "name": "account",
2540
- "type": "address",
2541
- "indexed": true,
2542
- "internalType": "address"
2543
- },
2544
- {
2545
- "name": "withdrawAddress",
2546
- "type": "address",
2547
- "indexed": false,
2548
- "internalType": "address"
2549
- },
2550
- {
2551
- "name": "amount",
2552
- "type": "uint256",
2553
- "indexed": false,
2554
- "internalType": "uint256"
2555
- }
2556
- ],
2557
- "anonymous": false
2558
- },
2559
- {
2560
- "type": "error",
2561
- "name": "CallPhaseReverted",
2562
- "inputs": [
2563
- {
2564
- "name": "reason",
2565
- "type": "bytes",
2566
- "internalType": "bytes"
2567
- }
2568
- ]
2569
- },
2570
- {
2571
- "type": "error",
2572
- "name": "FailedOp",
2573
- "inputs": [
2574
- {
2575
- "name": "opIndex",
2576
- "type": "uint256",
2577
- "internalType": "uint256"
2578
- },
2579
- {
2580
- "name": "reason",
2581
- "type": "string",
2582
- "internalType": "string"
2583
- }
2584
- ]
2585
- },
2586
- {
2587
- "type": "error",
2588
- "name": "FailedOpWithRevert",
2589
- "inputs": [
2590
- {
2591
- "name": "opIndex",
2592
- "type": "uint256",
2593
- "internalType": "uint256"
2594
- },
2595
- {
2596
- "name": "reason",
2597
- "type": "string",
2598
- "internalType": "string"
2599
- },
2600
- {
2601
- "name": "inner",
2602
- "type": "bytes",
2603
- "internalType": "bytes"
2604
- }
2605
- ]
2606
- },
2607
- {
2608
- "type": "error",
2609
- "name": "PostOpReverted",
2610
- "inputs": [
2611
- {
2612
- "name": "returnData",
2613
- "type": "bytes",
2614
- "internalType": "bytes"
2615
- }
2616
- ]
2617
- },
2618
- {
2619
- "type": "error",
2620
- "name": "ReentrancyGuardReentrantCall",
2621
- "inputs": []
2622
- },
2623
- {
2624
- "type": "error",
2625
- "name": "SenderAddressResult",
2626
- "inputs": [
2627
- {
2628
- "name": "sender",
2629
- "type": "address",
2630
- "internalType": "address"
2631
- }
2632
- ]
2633
- },
2634
- {
2635
- "type": "error",
2636
- "name": "SignatureValidationFailed",
2637
- "inputs": [
2638
- {
2639
- "name": "aggregator",
2640
- "type": "address",
2641
- "internalType": "address"
2642
- }
2643
- ]
2644
- },
2645
- {
2646
- "type": "error",
2647
- "name": "SimulationOutOfGas",
2648
- "inputs": [
2649
- {
2650
- "name": "optimalGas",
2651
- "type": "uint256",
2652
- "internalType": "uint256"
2653
- },
2654
- {
2655
- "name": "minGas",
2656
- "type": "uint256",
2657
- "internalType": "uint256"
2658
- },
2659
- {
2660
- "name": "maxGas",
2661
- "type": "uint256",
2662
- "internalType": "uint256"
2663
- }
2664
- ]
2665
- },
2666
- {
2667
- "type": "error",
2668
- "name": "innerCallResult",
2669
- "inputs": [
2670
- {
2671
- "name": "remainingGas",
2672
- "type": "uint256",
2673
- "internalType": "uint256"
2674
- }
2675
- ]
2676
- }
2677
- ];
2678
- //# sourceMappingURL=EntryPointSimulationsV7.js.map