@pimlico/alto 0.0.18 → 0.0.20

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