@pimlico/alto 0.0.19 → 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 (337) hide show
  1. package/contracts/EIP712.sol/EIP712.json +1 -1
  2. package/contracts/ERC165.sol/ERC165.json +1 -1
  3. package/contracts/ERC20.sol/ERC20.json +1 -1
  4. package/contracts/Eip7702Support.sol/Eip7702Support.json +1 -1
  5. package/contracts/EntryPoint.sol/EntryPoint.json +1 -1
  6. package/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride06.json +1 -1
  7. package/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride07.json +1 -1
  8. package/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride08.json +1 -1
  9. package/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride09.json +1 -0
  10. package/contracts/EntryPointGasEstimationOverride.sol/EntryPointGasEstimationOverride06.json +1 -1
  11. package/contracts/EntryPointSimulations.sol/EntryPointSimulations07.json +1 -1
  12. package/contracts/EntryPointSimulations.sol/EntryPointSimulations08.json +1 -1
  13. package/contracts/EntryPointSimulations.sol/EntryPointSimulations09.json +1 -0
  14. package/contracts/Exec.sol/Exec.json +1 -1
  15. package/contracts/IAccount.sol/IAccount.json +1 -1
  16. package/contracts/IAccountExecute.sol/IAccountExecute.json +1 -1
  17. package/contracts/IAggregator.sol/IAggregator.json +1 -1
  18. package/contracts/IERC165.sol/IERC165.json +1 -1
  19. package/contracts/IERC5267.sol/IERC5267.json +1 -1
  20. package/contracts/IEntryPoint.sol/IEntryPoint.json +1 -1
  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 -1
  24. package/contracts/INonceManager.sol/INonceManager.json +1 -1
  25. package/contracts/IPaymaster.sol/IPaymaster.json +1 -1
  26. package/contracts/ISenderCreator.sol/ISenderCreator.json +1 -1
  27. package/contracts/IStakeManager.sol/IStakeManager.json +1 -1
  28. package/contracts/LibBytes.sol/LibBytes.json +1 -1
  29. package/contracts/Math.sol/Math.json +1 -1
  30. package/contracts/MessageHashUtils.sol/MessageHashUtils.json +1 -1
  31. package/contracts/NonceManager.sol/NonceManager.json +1 -1
  32. package/contracts/Panic.sol/Panic.json +1 -1
  33. package/contracts/PimlicoSimulations.sol/PimlicoSimulations.json +1 -1
  34. package/contracts/ReentrancyGuard.sol/ReentrancyGuard.json +1 -1
  35. package/contracts/ReentrancyGuardTransient.sol/ReentrancyGuardTransient.json +1 -1
  36. package/contracts/SafeCast.sol/SafeCast.json +1 -1
  37. package/contracts/SenderCreator.sol/SenderCreator.json +1 -1
  38. package/contracts/ShortStrings.sol/ShortStrings.json +1 -1
  39. package/contracts/SignedMath.sol/SignedMath.json +1 -1
  40. package/contracts/SimulationOverrideHelper.sol/SimulationOverrideHelper.json +1 -0
  41. package/contracts/StakeManager.sol/StakeManager.json +1 -1
  42. package/contracts/StorageSlot.sol/StorageSlot.json +1 -1
  43. package/contracts/Strings.sol/Strings.json +1 -1
  44. package/contracts/TransientSlot.sol/TransientSlot.json +1 -1
  45. package/contracts/UserOperation.sol/UserOperationLib.json +1 -1
  46. package/contracts/UserOperationLib.sol/UserOperationLib.json +1 -1
  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/{880955d5786bfdae.json → 8dbf8a4ad39019b5.json} +1 -1
  54. package/contracts/contracts/interfaces/IAggregator.sol/IAggregator.json +1 -1
  55. package/contracts/contracts/interfaces/IEntryPoint.sol/IEntryPoint.json +1 -1
  56. package/contracts/contracts/interfaces/INonceManager.sol/INonceManager.json +1 -1
  57. package/contracts/contracts/interfaces/IStakeManager.sol/IStakeManager.json +1 -1
  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 -1
  66. package/contracts/interfaces/IEntryPoint.sol/IEntryPoint.json +1 -1
  67. package/contracts/interfaces/INonceManager.sol/INonceManager.json +1 -1
  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 -1
  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 -1
  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 +13 -6
  80. package/esm/cli/alto.js.map +1 -1
  81. package/esm/cli/config/bundler.d.ts +190 -148
  82. package/esm/cli/config/bundler.js +72 -83
  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 +105 -68
  86. package/esm/cli/config/options.js.map +1 -1
  87. package/esm/cli/customTransport.d.ts +3 -3
  88. package/esm/cli/deploySimulationsContract.d.ts +1 -0
  89. package/esm/cli/deploySimulationsContract.js +41 -5
  90. package/esm/cli/deploySimulationsContract.js.map +1 -1
  91. package/esm/cli/handler.js +48 -52
  92. package/esm/cli/handler.js.map +1 -1
  93. package/esm/cli/setupServer.js +46 -47
  94. package/esm/cli/setupServer.js.map +1 -1
  95. package/esm/cli/shutDown.d.ts +20 -0
  96. package/esm/cli/shutDown.js +260 -0
  97. package/esm/cli/shutDown.js.map +1 -0
  98. package/esm/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride06.json +1 -1
  99. package/esm/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride07.json +1 -1
  100. package/esm/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride08.json +1 -1
  101. package/esm/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride09.json +1 -0
  102. package/esm/contracts/EntryPointGasEstimationOverride.sol/EntryPointGasEstimationOverride06.json +1 -1
  103. package/esm/contracts/EntryPointSimulations.sol/EntryPointSimulations07.json +1 -1
  104. package/esm/contracts/EntryPointSimulations.sol/EntryPointSimulations08.json +1 -1
  105. package/esm/contracts/EntryPointSimulations.sol/EntryPointSimulations09.json +1 -0
  106. package/esm/contracts/PimlicoSimulations.sol/PimlicoSimulations.json +1 -1
  107. package/esm/createConfig.d.ts +9 -2
  108. package/esm/createConfig.js.map +1 -1
  109. package/esm/executor/{userOpMonitor.d.ts → bundleManager.d.ts} +38 -32
  110. package/esm/executor/{userOpMonitor.js → bundleManager.js} +127 -99
  111. package/esm/executor/bundleManager.js.map +1 -0
  112. package/esm/executor/executor.d.ts +4 -3
  113. package/esm/executor/executor.js +33 -20
  114. package/esm/executor/executor.js.map +1 -1
  115. package/esm/executor/executorManager.d.ts +17 -15
  116. package/esm/executor/executorManager.js +130 -55
  117. package/esm/executor/executorManager.js.map +1 -1
  118. package/esm/executor/filterOpsAndEstimateGas.d.ts +17 -2
  119. package/esm/executor/filterOpsAndEstimateGas.js +100 -77
  120. package/esm/executor/filterOpsAndEstimateGas.js.map +1 -1
  121. package/esm/executor/index.d.ts +1 -0
  122. package/esm/executor/index.js +1 -0
  123. package/esm/executor/index.js.map +1 -1
  124. package/esm/executor/senderManager/createMemorySenderManager.js +13 -0
  125. package/esm/executor/senderManager/createMemorySenderManager.js.map +1 -1
  126. package/esm/executor/senderManager/createRedisSenderManager.d.ts +2 -1
  127. package/esm/executor/senderManager/createRedisSenderManager.js +3 -6
  128. package/esm/executor/senderManager/createRedisSenderManager.js.map +1 -1
  129. package/esm/executor/senderManager/flushOnStartUp.js +4 -4
  130. package/esm/executor/senderManager/flushOnStartUp.js.map +1 -1
  131. package/esm/executor/senderManager/index.d.ts +1 -0
  132. package/esm/executor/senderManager/index.js +6 -2
  133. package/esm/executor/senderManager/index.js.map +1 -1
  134. package/esm/executor/senderManager/validateAndRefill.js +2 -2
  135. package/esm/executor/senderManager/validateAndRefill.js.map +1 -1
  136. package/esm/executor/utilityWalletMonitor.d.ts +4 -4
  137. package/esm/executor/utilityWalletMonitor.js +1 -1
  138. package/esm/executor/utilityWalletMonitor.js.map +1 -1
  139. package/esm/executor/utils.d.ts +7 -2
  140. package/esm/executor/utils.js +57 -26
  141. package/esm/executor/utils.js.map +1 -1
  142. package/esm/handlers/arbitrumGasPriceManager.d.ts +3 -2
  143. package/esm/handlers/arbitrumGasPriceManager.js +6 -2
  144. package/esm/handlers/arbitrumGasPriceManager.js.map +1 -1
  145. package/esm/handlers/eventManager.d.ts +9 -9
  146. package/esm/handlers/eventManager.js +59 -60
  147. package/esm/handlers/eventManager.js.map +1 -1
  148. package/esm/handlers/gasPriceManager.d.ts +8 -9
  149. package/esm/handlers/gasPriceManager.js +68 -80
  150. package/esm/handlers/gasPriceManager.js.map +1 -1
  151. package/esm/handlers/mantleGasPriceManager.d.ts +4 -4
  152. package/esm/handlers/mantleGasPriceManager.js +4 -4
  153. package/esm/handlers/mantleGasPriceManager.js.map +1 -1
  154. package/esm/handlers/optimismManager.d.ts +1 -1
  155. package/esm/handlers/optimismManager.js +1 -1
  156. package/esm/handlers/optimismManager.js.map +1 -1
  157. package/esm/mempool/index.d.ts +1 -1
  158. package/esm/mempool/index.js +1 -1
  159. package/esm/mempool/index.js.map +1 -1
  160. package/esm/mempool/mempool.d.ts +57 -22
  161. package/esm/mempool/mempool.js +180 -134
  162. package/esm/mempool/mempool.js.map +1 -1
  163. package/esm/mempool/reputationManager.d.ts +14 -14
  164. package/esm/mempool/reputationManager.js +36 -39
  165. package/esm/mempool/reputationManager.js.map +1 -1
  166. package/esm/mempool/statusManager.d.ts +20 -0
  167. package/esm/mempool/statusManager.js +143 -0
  168. package/esm/mempool/statusManager.js.map +1 -0
  169. package/esm/receiptCache/createMemoryReceiptCache.d.ts +3 -0
  170. package/esm/receiptCache/createMemoryReceiptCache.js +30 -0
  171. package/esm/receiptCache/createMemoryReceiptCache.js.map +1 -0
  172. package/esm/receiptCache/createRedisReceiptCache.d.ts +10 -0
  173. package/esm/receiptCache/createRedisReceiptCache.js +56 -0
  174. package/esm/receiptCache/createRedisReceiptCache.js.map +1 -0
  175. package/esm/receiptCache/index.d.ts +11 -0
  176. package/esm/receiptCache/index.js +21 -0
  177. package/esm/receiptCache/index.js.map +1 -0
  178. package/esm/rpc/createMethodHandler.js.map +1 -1
  179. package/esm/rpc/estimation/gasEstimationHandler.d.ts +2 -4
  180. package/esm/rpc/estimation/gasEstimationHandler.js.map +1 -1
  181. package/esm/rpc/estimation/gasEstimations06.d.ts +6 -7
  182. package/esm/rpc/estimation/gasEstimations06.js +1 -5
  183. package/esm/rpc/estimation/gasEstimations06.js.map +1 -1
  184. package/esm/rpc/estimation/gasEstimations07.d.ts +13 -41
  185. package/esm/rpc/estimation/gasEstimations07.js +27 -34
  186. package/esm/rpc/estimation/gasEstimations07.js.map +1 -1
  187. package/esm/{utils/preVerificationGasCalulator.d.ts → rpc/estimation/preVerificationGasCalculator.d.ts} +20 -6
  188. package/esm/{utils/preVerificationGasCalulator.js → rpc/estimation/preVerificationGasCalculator.js} +95 -47
  189. package/esm/rpc/estimation/preVerificationGasCalculator.js.map +1 -0
  190. package/esm/rpc/estimation/types.d.ts +4 -2
  191. package/esm/rpc/estimation/utils.d.ts +10 -8
  192. package/esm/rpc/estimation/utils.js +54 -48
  193. package/esm/rpc/estimation/utils.js.map +1 -1
  194. package/esm/rpc/methods/boost_sendUserOperation.d.ts +304 -0
  195. package/esm/rpc/methods/debug_bundler_clearReputation.js +1 -1
  196. package/esm/rpc/methods/debug_bundler_clearReputation.js.map +1 -1
  197. package/esm/rpc/methods/debug_bundler_clearState.js +1 -1
  198. package/esm/rpc/methods/debug_bundler_clearState.js.map +1 -1
  199. package/esm/rpc/methods/debug_bundler_dumpMempool.d.ts +338 -0
  200. package/esm/rpc/methods/debug_bundler_dumpReputation.js +1 -1
  201. package/esm/rpc/methods/debug_bundler_dumpReputation.js.map +1 -1
  202. package/esm/rpc/methods/eth_estimateUserOperationGas.d.ts +622 -14
  203. package/esm/rpc/methods/eth_estimateUserOperationGas.js +50 -29
  204. package/esm/rpc/methods/eth_estimateUserOperationGas.js.map +1 -1
  205. package/esm/rpc/methods/eth_getUserOperationByHash.d.ts +621 -11
  206. package/esm/rpc/methods/eth_getUserOperationByHash.js.map +1 -1
  207. package/esm/rpc/methods/eth_getUserOperationReceipt.d.ts +26 -26
  208. package/esm/rpc/methods/eth_getUserOperationReceipt.js +1 -1
  209. package/esm/rpc/methods/eth_sendUserOperation.d.ts +305 -1
  210. package/esm/rpc/methods/eth_sendUserOperation.js +132 -36
  211. package/esm/rpc/methods/eth_sendUserOperation.js.map +1 -1
  212. package/esm/rpc/methods/pimlico_getUserOperationStatus.js +1 -1
  213. package/esm/rpc/methods/pimlico_getUserOperationStatus.js.map +1 -1
  214. package/esm/rpc/methods/pimlico_sendUserOperationNow.d.ts +330 -26
  215. package/esm/rpc/methods/pimlico_sendUserOperationNow.js +15 -27
  216. package/esm/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -1
  217. package/esm/rpc/methods/pimlico_simulateAssetChange.d.ts +620 -12
  218. package/esm/rpc/methods/pimlico_simulateAssetChange.js +14 -19
  219. package/esm/rpc/methods/pimlico_simulateAssetChange.js.map +1 -1
  220. package/esm/rpc/rpcHandler.d.ts +21 -22
  221. package/esm/rpc/rpcHandler.js +15 -17
  222. package/esm/rpc/rpcHandler.js.map +1 -1
  223. package/esm/rpc/server.d.ts +5 -5
  224. package/esm/rpc/server.js +15 -11
  225. package/esm/rpc/server.js.map +1 -1
  226. package/esm/rpc/validation/BundlerCollectorTracerV06.js +1 -1
  227. package/esm/rpc/validation/BundlerCollectorTracerV06.js.map +1 -1
  228. package/esm/rpc/validation/BundlerCollectorTracerV07.js +1 -1
  229. package/esm/rpc/validation/BundlerCollectorTracerV07.js.map +1 -1
  230. package/esm/rpc/validation/SafeValidator.d.ts +13 -14
  231. package/esm/rpc/validation/SafeValidator.js +24 -24
  232. package/esm/rpc/validation/SafeValidator.js.map +1 -1
  233. package/esm/rpc/validation/TracerResultParserV06.d.ts +2 -2
  234. package/esm/rpc/validation/TracerResultParserV06.js +11 -11
  235. package/esm/rpc/validation/TracerResultParserV06.js.map +1 -1
  236. package/esm/rpc/validation/TracerResultParserV07.d.ts +2 -2
  237. package/esm/rpc/validation/TracerResultParserV07.js +13 -13
  238. package/esm/rpc/validation/TracerResultParserV07.js.map +1 -1
  239. package/esm/rpc/validation/UnsafeValidator.d.ts +18 -14
  240. package/esm/rpc/validation/UnsafeValidator.js +71 -40
  241. package/esm/rpc/validation/UnsafeValidator.js.map +1 -1
  242. package/esm/store/createMempoolStore.d.ts +1 -1
  243. package/esm/store/createMempoolStore.js +63 -139
  244. package/esm/store/createMempoolStore.js.map +1 -1
  245. package/esm/store/index.d.ts +4 -75
  246. package/esm/store/index.js +4 -1
  247. package/esm/store/index.js.map +1 -1
  248. package/esm/store/outstanding/index.d.ts +13 -0
  249. package/esm/store/outstanding/index.js +16 -0
  250. package/esm/store/outstanding/index.js.map +1 -0
  251. package/esm/store/{createMemoryOutstandingStore.d.ts → outstanding/memory.d.ts} +14 -13
  252. package/esm/store/outstanding/memory.js +263 -0
  253. package/esm/store/outstanding/memory.js.map +1 -0
  254. package/esm/store/outstanding/redis.d.ts +11 -0
  255. package/esm/store/outstanding/redis.js +229 -0
  256. package/esm/store/outstanding/redis.js.map +1 -0
  257. package/esm/store/outstanding/types.d.ts +19 -0
  258. package/esm/store/outstanding/types.js +2 -0
  259. package/esm/store/outstanding/types.js.map +1 -0
  260. package/esm/store/processing/index.d.ts +11 -0
  261. package/esm/store/processing/index.js +17 -0
  262. package/esm/store/processing/index.js.map +1 -0
  263. package/esm/store/processing/memory.d.ts +16 -0
  264. package/esm/store/processing/memory.js +58 -0
  265. package/esm/store/processing/memory.js.map +1 -0
  266. package/esm/store/processing/redis.d.ts +23 -0
  267. package/esm/store/processing/redis.js +85 -0
  268. package/esm/store/processing/redis.js.map +1 -0
  269. package/esm/store/processing/types.d.ts +10 -0
  270. package/esm/store/processing/types.js +2 -0
  271. package/esm/store/processing/types.js.map +1 -0
  272. package/esm/store/types.d.ts +50 -0
  273. package/esm/store/types.js +2 -0
  274. package/esm/store/types.js.map +1 -0
  275. package/esm/types/contracts/PimlicoSimulations.d.ts +81 -0
  276. package/esm/types/contracts/PimlicoSimulations.js +105 -0
  277. package/esm/types/contracts/PimlicoSimulations.js.map +1 -1
  278. package/esm/types/gasPrice.js +0 -18
  279. package/esm/types/gasPrice.js.map +1 -1
  280. package/esm/types/interfaces.d.ts +15 -10
  281. package/esm/types/mempool.d.ts +3 -0
  282. package/esm/types/schemas.d.ts +13174 -4732
  283. package/esm/types/schemas.js +113 -25
  284. package/esm/types/schemas.js.map +1 -1
  285. package/esm/types/utils.d.ts +2 -5
  286. package/esm/types/utils.js +16 -18
  287. package/esm/types/utils.js.map +1 -1
  288. package/esm/types/validation.d.ts +7646 -6912
  289. package/esm/types/validation.js +122 -152
  290. package/esm/types/validation.js.map +1 -1
  291. package/esm/utils/eip7702.d.ts +2 -1
  292. package/esm/utils/eip7702.js +14 -8
  293. package/esm/utils/eip7702.js.map +1 -1
  294. package/esm/utils/entryPointOverrides.js +18 -4
  295. package/esm/utils/entryPointOverrides.js.map +1 -1
  296. package/esm/utils/helpers.d.ts +2 -1
  297. package/esm/utils/helpers.js +30 -11
  298. package/esm/utils/helpers.js.map +1 -1
  299. package/esm/utils/index.d.ts +0 -1
  300. package/esm/utils/index.js +0 -1
  301. package/esm/utils/index.js.map +1 -1
  302. package/esm/utils/metrics.d.ts +2 -1
  303. package/esm/utils/metrics.js +15 -8
  304. package/esm/utils/metrics.js.map +1 -1
  305. package/esm/utils/minMaxQueue/createMemoryMinMaxQueue.js +8 -9
  306. package/esm/utils/minMaxQueue/createMemoryMinMaxQueue.js.map +1 -1
  307. package/esm/utils/minMaxQueue/createRedisMinMaxQueue.d.ts +24 -2
  308. package/esm/utils/minMaxQueue/createRedisMinMaxQueue.js +85 -64
  309. package/esm/utils/minMaxQueue/createRedisMinMaxQueue.js.map +1 -1
  310. package/esm/utils/minMaxQueue/index.d.ts +2 -2
  311. package/esm/utils/minMaxQueue/index.js +4 -3
  312. package/esm/utils/minMaxQueue/index.js.map +1 -1
  313. package/esm/utils/rpc-reply.d.ts +3 -3
  314. package/esm/utils/rpc-reply.js.map +1 -1
  315. package/esm/utils/toViemStateOverrides.js +7 -7
  316. package/esm/utils/toViemStateOverrides.js.map +1 -1
  317. package/esm/utils/userop.d.ts +87 -55
  318. package/esm/utils/userop.js +138 -248
  319. package/esm/utils/userop.js.map +1 -1
  320. package/package.json +4 -2
  321. package/contracts/build-info/7710b5a048396e70.json +0 -1
  322. package/esm/executor/userOpMonitor.js.map +0 -1
  323. package/esm/mempool/monitoring.d.ts +0 -15
  324. package/esm/mempool/monitoring.js +0 -118
  325. package/esm/mempool/monitoring.js.map +0 -1
  326. package/esm/store/createMemoryOutstandingStore.js +0 -240
  327. package/esm/store/createMemoryOutstandingStore.js.map +0 -1
  328. package/esm/store/createRedisOutstandingStore.d.ts +0 -27
  329. package/esm/store/createRedisOutstandingStore.js +0 -344
  330. package/esm/store/createRedisOutstandingStore.js.map +0 -1
  331. package/esm/store/createRedisStore.d.ts +0 -9
  332. package/esm/store/createRedisStore.js +0 -131
  333. package/esm/store/createRedisStore.js.map +0 -1
  334. package/esm/store/createStore.d.ts +0 -6
  335. package/esm/store/createStore.js +0 -66
  336. package/esm/store/createStore.js.map +0 -1
  337. package/esm/utils/preVerificationGasCalulator.js.map +0 -1
@@ -18,10 +18,7 @@ export const bundlerArgsSchema = z.object({
18
18
  "safe-mode": z.boolean(),
19
19
  "min-entity-stake": z.number().int().min(0),
20
20
  "min-entity-unstake-delay": z.number().int().min(0),
21
- "gas-price-bump": z
22
- .string()
23
- .transform((val) => BigInt(val))
24
- .default("100"),
21
+ "gas-price-bump": z.string().transform(BigInt).default("100"),
25
22
  "gas-price-expiry": z.number().int().min(0),
26
23
  "gas-price-multipliers": z
27
24
  .string()
@@ -32,10 +29,8 @@ export const bundlerArgsSchema = z.object({
32
29
  "mempool-max-parallel-ops": z.number().int().min(0).default(10),
33
30
  "mempool-max-queued-ops": z.number().int().min(0).default(0),
34
31
  "enforce-unique-senders-per-bundle": z.boolean().default(true),
35
- "max-gas-per-bundle": z
36
- .string()
37
- .transform((val) => BigInt(val))
38
- .default("20000000"),
32
+ "max-gas-per-user-op": z.string().transform(BigInt).default("20000000"),
33
+ "max-gas-per-bundle": z.string().transform(BigInt).default("20000000"),
39
34
  "rpc-methods": z
40
35
  .string()
41
36
  .nullable()
@@ -59,22 +54,24 @@ export const bundlerArgsSchema = z.object({
59
54
  }, `Unknown method specified, available methods: ${rpcMethodNames.join(",")}`),
60
55
  "enable-instant-bundling-endpoint": z.boolean(),
61
56
  "rpc-gas-estimate": z.boolean(),
62
- "flashblocks-enabled": z.boolean()
57
+ "flashblocks-preconfirmation-time": z.number().optional(),
58
+ "receipt-cache-ttl": z.number().int().min(0).optional().default(60000) // Default to 1 minute
63
59
  });
64
60
  export const executorArgsSchema = z.object({
61
+ "max-bundle-count": z.number().int().min(1).optional(),
65
62
  "resubmit-stuck-timeout": z.number().int().min(0).default(15_000),
63
+ "max-resubmits": z.number().int().min(0).optional(),
66
64
  "refilling-wallets": z.boolean().default(true),
67
65
  "refill-helper-contract": addressSchema.optional(),
68
- "no-profit-bundling": z.boolean(),
69
66
  "utility-private-key": hexData32Schema
70
67
  .transform((val) => privateKeyToAccount(val))
71
68
  .optional(),
72
69
  "utility-wallet-monitor": z.boolean(),
73
70
  "utility-wallet-monitor-interval": z.number(),
74
- "resubmit-multiplier-ceiling": z.string().transform((val) => BigInt(val)),
71
+ "resubmit-multiplier-ceiling": z.string().transform(BigInt),
75
72
  "gas-limit-rounding-multiple": z
76
73
  .string()
77
- .transform((val) => BigInt(val))
74
+ .transform(BigInt)
78
75
  .refine((value) => value > 0n, "Gas limit rounding multiple must be a positive number")
79
76
  .optional()
80
77
  .default("4337"),
@@ -90,25 +87,14 @@ export const executorArgsSchema = z.object({
90
87
  .map((val) => privateKeyToAccount(val)))
91
88
  ]),
92
89
  "max-executors": z.number().int().min(0).optional(),
93
- "min-executor-balance": z
94
- .string()
95
- .transform((val) => BigInt(val))
96
- .optional(),
90
+ "min-executor-balance": z.string().transform(BigInt).optional(),
97
91
  "executor-refill-interval": z.number().int().min(0),
98
- "executor-gas-multiplier": z.string().transform((val) => BigInt(val)),
92
+ "executor-gas-multiplier": z.string().transform(BigInt),
99
93
  "send-handle-ops-retry-count": z.number().int().default(3),
100
- "transaction-underpriced-multiplier": z
101
- .string()
102
- .transform((val) => BigInt(val)),
103
- "bundler-initial-commission": z
104
- .string()
105
- .transform((val) => BigInt(val))
106
- .default("10"),
107
- "arbitrum-gas-bid-multiplier": z
108
- .string()
109
- .transform((val) => BigInt(val))
110
- .default("5"),
111
- "binary-search-max-retries": z.number().int().min(1).default(3)
94
+ "transaction-underpriced-multiplier": z.string().transform(BigInt),
95
+ "bundler-initial-commission": z.string().transform(BigInt).default("10"),
96
+ "binary-search-max-retries": z.number().int().min(1).default(3),
97
+ "private-endpoint-submission-attempts": z.number().int().min(0).default(3)
112
98
  });
113
99
  export const compatibilityArgsSchema = z.object({
114
100
  "chain-type": z.enum([
@@ -117,7 +103,8 @@ export const compatibilityArgsSchema = z.object({
117
103
  "arbitrum",
118
104
  "hedera",
119
105
  "mantle",
120
- "etherlink"
106
+ "etherlink",
107
+ "monad"
121
108
  ]),
122
109
  "legacy-transactions": z.boolean(),
123
110
  "api-version": z
@@ -133,10 +120,7 @@ export const compatibilityArgsSchema = z.object({
133
120
  "balance-override": z.boolean(),
134
121
  "flush-stuck-transactions-during-startup": z.boolean(),
135
122
  "is-gas-free-chain": z.boolean(),
136
- "fixed-gas-limit-for-estimation": z
137
- .string()
138
- .transform((val) => BigInt(val))
139
- .optional(),
123
+ "fixed-gas-limit-for-estimation": z.string().transform(BigInt).optional(),
140
124
  "floor-max-fee-per-gas": z
141
125
  .string()
142
126
  .transform((val) => parseGwei(val))
@@ -145,7 +129,12 @@ export const compatibilityArgsSchema = z.object({
145
129
  .string()
146
130
  .transform((val) => parseGwei(val))
147
131
  .optional(),
148
- "supports-eip7623": z.boolean().default(false)
132
+ "static-max-priority-fee-per-gas": z
133
+ .string()
134
+ .transform((val) => parseGwei(val))
135
+ .optional(),
136
+ "supports-eip7623": z.boolean().default(false),
137
+ "arbitrum-base-fee-multiplier": z.string().transform(BigInt).default("150")
149
138
  });
150
139
  export const serverArgsSchema = z.object({
151
140
  port: z.number().int().min(0),
@@ -168,8 +157,6 @@ export const rpcArgsSchema = z.object({
168
157
  "code-override-support": z.boolean().optional().default(true)
169
158
  });
170
159
  export const logArgsSchema = z.object({
171
- "redis-queue-endpoint": z.string().optional(),
172
- "redis-event-manager-queue-name": z.preprocess((v) => (v === "" ? undefined : v), z.string().optional()),
173
160
  json: z.boolean(),
174
161
  "log-level": logLevel,
175
162
  "public-client-log-level": logLevel.optional(),
@@ -187,69 +174,70 @@ export const debugArgsSchema = z.object({
187
174
  "enable-debug-endpoints": z.boolean(),
188
175
  "expiration-check": z.boolean(),
189
176
  "dangerous-skip-user-operation-validation": z.boolean(),
190
- "deploy-simulations-contract": z.boolean()
177
+ "deploy-simulations-contract": z.boolean(),
178
+ "enable-cors": z.boolean()
191
179
  });
192
180
  export const gasEstimationArgsSchema = z.object({
193
181
  "pimlico-simulation-contract": z.preprocess((v) => (v === "" ? undefined : v), addressSchema.optional()),
194
182
  "entrypoint-simulation-contract-v7": z.preprocess((v) => (v === "" ? undefined : v), addressSchema.optional()),
195
183
  "entrypoint-simulation-contract-v8": z.preprocess((v) => (v === "" ? undefined : v), addressSchema.optional()),
184
+ "entrypoint-simulation-contract-v9": z.preprocess((v) => (v === "" ? undefined : v), addressSchema.optional()),
196
185
  "binary-search-tolerance-delta": z
197
186
  .string()
198
- .transform((val) => BigInt(val))
187
+ .transform(BigInt)
199
188
  .default("1000"),
200
189
  "binary-search-gas-allowance": z
201
190
  .string()
202
- .transform((val) => BigInt(val))
191
+ .transform(BigInt)
203
192
  .default("1000000"),
204
- "v6-call-gas-limit-multiplier": z.string().transform((val) => BigInt(val)),
205
- "v6-verification-gas-limit-multiplier": z
206
- .string()
207
- .transform((val) => BigInt(val)),
208
- "v6-pre-verification-gas-limit-multiplier": z
209
- .string()
210
- .transform((val) => BigInt(val)),
211
- "v7-call-gas-limit-multiplier": z.string().transform((val) => BigInt(val)),
212
- "v7-verification-gas-limit-multiplier": z
213
- .string()
214
- .transform((val) => BigInt(val)),
193
+ "v6-call-gas-limit-multiplier": z.string().transform(BigInt),
194
+ "v6-verification-gas-limit-multiplier": z.string().transform(BigInt),
195
+ "v6-pre-verification-gas-limit-multiplier": z.string().transform(BigInt),
196
+ "v7-call-gas-limit-multiplier": z.string().transform(BigInt),
197
+ "v7-verification-gas-limit-multiplier": z.string().transform(BigInt),
215
198
  "v7-paymaster-verification-gas-limit-multiplier": z
216
199
  .string()
217
- .transform((val) => BigInt(val)),
218
- "v7-paymaster-post-op-gas-limit-multiplier": z
219
- .string()
220
- .transform((val) => BigInt(val)),
221
- "v7-pre-verification-gas-limit-multiplier": z
222
- .string()
223
- .transform((val) => BigInt(val)),
224
- "simulation-call-gas-limit": z.string().transform((val) => BigInt(val)),
225
- "simulation-verification-gas-limit": z
226
- .string()
227
- .transform((val) => BigInt(val)),
228
- "simulation-paymaster-verification-gas-limit": z
229
- .string()
230
- .transform((val) => BigInt(val)),
231
- "simulation-paymaster-post-op-gas-limit": z
232
- .string()
233
- .transform((val) => BigInt(val)),
234
- "paymaster-gas-limit-multiplier": z
235
- .string()
236
- .transform((val) => BigInt(val)),
200
+ .transform(BigInt),
201
+ "v7-paymaster-post-op-gas-limit-multiplier": z.string().transform(BigInt),
202
+ "v7-pre-verification-gas-limit-multiplier": z.string().transform(BigInt),
203
+ "simulation-call-gas-limit": z.string().transform(BigInt),
204
+ "simulation-verification-gas-limit": z.string().transform(BigInt),
205
+ "simulation-paymaster-verification-gas-limit": z.string().transform(BigInt),
206
+ "simulation-paymaster-post-op-gas-limit": z.string().transform(BigInt),
237
207
  "eth-call-sender-address": addressSchema.optional(),
238
- "split-simulation-calls": z.boolean()
208
+ "split-simulation-calls": z.boolean(),
209
+ "call-gas-limit-floor": z.string().transform(BigInt).default("50000")
239
210
  });
240
211
  export const mempoolArgsSchema = z.object({
241
- "redis-mempool-url": z.string().optional(),
242
- "redis-mempool-concurrency": z.number().int().min(0).default(10),
243
- "redis-mempool-queue-name": z.string(),
244
- "redis-op-status-url": z.string().optional(),
245
- "redis-op-status-queue-name": z.string(),
246
- "redis-sender-manager-url": z.string().optional(),
247
- "redis-sender-manager-queue-name": z.string(),
248
- "redis-gas-price-queue-url": z.string().optional(),
249
- "redis-gas-price-queue-name": z.string(),
212
+ "restoration-queue-timeout": z
213
+ .number()
214
+ .int()
215
+ .min(0)
216
+ .default(30 * 60 * 1000), // Default 30 minutes
250
217
  "mempool-max-parallel-ops": z.number().int().min(0).default(10),
251
218
  "mempool-max-queued-ops": z.number().int().min(0).default(0),
252
- "enforce-unique-senders-per-bundle": z.boolean().default(true)
219
+ "mempool-pop-batch-size": z.number().int().min(1).default(10),
220
+ "enforce-unique-senders-per-bundle": z.boolean().default(true),
221
+ "ignored-paymasters": z
222
+ .string()
223
+ .optional()
224
+ .transform((val) => {
225
+ if (!val)
226
+ return [];
227
+ return val
228
+ .split(",")
229
+ .map((address) => addressSchema.parse(address.trim()));
230
+ })
231
+ .default("")
232
+ });
233
+ export const redisArgsSchema = z.object({
234
+ "enable-horizontal-scaling": z.boolean().default(false),
235
+ "enable-redis-receipt-cache": z.boolean().default(false),
236
+ "redis-key-prefix": z.string().default("alto"),
237
+ "redis-endpoint": z.string().optional(),
238
+ "redis-events-queue-endpoint": z.string().optional(),
239
+ "redis-events-queue-name": z.string().optional(),
240
+ "redis-events-queue-flush-interval": z.number().default(1000)
253
241
  });
254
242
  export const optionArgsSchema = z.object({
255
243
  ...bundlerArgsSchema.shape,
@@ -260,6 +248,7 @@ export const optionArgsSchema = z.object({
260
248
  ...debugArgsSchema.shape,
261
249
  ...gasEstimationArgsSchema.shape,
262
250
  ...executorArgsSchema.shape,
263
- ...mempoolArgsSchema.shape
251
+ ...mempoolArgsSchema.shape,
252
+ ...redisArgsSchema.shape
264
253
  });
265
254
  //# sourceMappingURL=bundler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundler.js","sourceRoot":"","sources":["../../../cli/config/bundler.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,aAAa,EACb,oBAAoB,EACpB,4BAA4B,EAC5B,eAAe,EAClB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAY,SAAS,EAAE,MAAM,MAAM,CAAA;AAC1C,OAAO,EAAgB,mB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CAAC,OAAO,CAAC,KAAK,CAAC;IACxD,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;IAC9C,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,6BAA6B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpD,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,mCAAmC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;CAChE,CAAC,CAAA;AAmCF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,GAAG,iBAAiB,CAAC,KAAK;IAC1B,GAAG,uBAAuB,CAAC,KAAK;IAChC,GAAG,aAAa,CAAC,KAAK;IACtB,GAAG,gBAAgB,CAAC,KAAK;IACzB,GAAG,aAAa,CAAC,KAAK;IACtB,GAAG,eAAe,CAAC,KAAK;IACxB,GAAG,uBAAuB,CAAC,KAAK;IAChC,GAAG,kBAAkB,CAAC,KAAK;IAC3B,GAAG,iBAAiB,CAAC,KAAK;IAC1B,GAAG,eAAe,CAAC,KAAK;CAC3B,CAAC,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import type { CliCommand, CliCommandOptions } from "../util.js";
2
- import type { IBundlerArgsInput, ICompatibilityArgsInput, IDebugArgsInput, IExecutorArgsInput, IGasEstimationArgsInput, ILogArgsInput, IMempoolArgsInput, IOptionsInput, IRpcArgsInput, IServerArgsInput } from "./bundler.js";
2
+ import type { IBundlerArgsInput, ICompatibilityArgsInput, IDebugArgsInput, IExecutorArgsInput, IGasEstimationArgsInput, ILogArgsInput, IMempoolArgsInput, IOptionsInput, IRedisArgsInput, IRpcArgsInput, IServerArgsInput } from "./bundler.js";
3
3
  export declare const bundlerOptions: CliCommandOptions<IBundlerArgsInput>;
4
+ export declare const redisOptions: CliCommandOptions<IRedisArgsInput>;
4
5
  export declare const mempoolOptions: CliCommandOptions<IMempoolArgsInput>;
5
6
  export declare const gasEstimationOptions: CliCommandOptions<IGasEstimationArgsInput>;
6
7
  export declare const executorOptions: CliCommandOptions<IExecutorArgsInput>;
@@ -73,6 +73,12 @@ export const bundlerOptions = {
73
73
  require: false,
74
74
  default: true
75
75
  },
76
+ "max-gas-per-user-op": {
77
+ description: "Maximum amount of gas per user operation",
78
+ type: "string",
79
+ require: false,
80
+ default: "20000000"
81
+ },
76
82
  "max-gas-per-bundle": {
77
83
  description: "Maximum amount of gas per bundle",
78
84
  type: "string",
@@ -95,62 +101,66 @@ export const bundlerOptions = {
95
101
  type: "boolean",
96
102
  default: false
97
103
  },
98
- "flashblocks-enabled": {
99
- description: "Enable flashblocks. Overrides some RPC calls parameters.",
100
- type: "boolean",
101
- default: false
104
+ "flashblocks-preconfirmation-time": {
105
+ description: "Time in milliseconds for preconfirmation (flashblocks)",
106
+ type: "number",
107
+ default: undefined
108
+ },
109
+ "receipt-cache-ttl": {
110
+ description: "TTL for the user operation receipt cache in milliseconds",
111
+ type: "number",
112
+ default: 60000,
113
+ require: false
102
114
  }
103
115
  };
104
- export const mempoolOptions = {
105
- "redis-mempool-url": {
106
- description: "Redis connection URL (required if redis-mempool is enabled)",
107
- type: "string",
108
- require: false
116
+ export const redisOptions = {
117
+ "enable-horizontal-scaling": {
118
+ description: "Enable horizontal scaling using Redis",
119
+ type: "boolean",
120
+ require: false,
121
+ default: false
109
122
  },
110
- "redis-mempool-concurrency": {
111
- description: "Number of concurrent jobs to process",
112
- type: "number",
123
+ "enable-redis-receipt-cache": {
124
+ description: "Enable Redis for user operation receipt cache",
125
+ type: "boolean",
113
126
  require: false,
114
- default: 10
127
+ default: false
115
128
  },
116
- "redis-mempool-queue-name": {
117
- description: "Redis mempool queue name",
129
+ "redis-key-prefix": {
130
+ description: "Redis key prefix for all Redis data structures",
118
131
  type: "string",
119
132
  require: false,
120
- default: "outstanding-mempool"
133
+ default: "alto"
121
134
  },
122
- "redis-op-status-url": {
123
- description: "Redis connection URL for user operation status tracking",
135
+ "redis-endpoint": {
136
+ description: "Common Redis connection URL for all Redis operations (except userOp events)",
124
137
  type: "string",
125
138
  require: false
126
139
  },
127
- "redis-op-status-queue-name": {
128
- description: "Queue name for user operation status",
129
- type: "string",
130
- require: false,
131
- default: "userop-status"
132
- },
133
- "redis-gas-price-queue-url": {
134
- description: "Redis connection URL (required if redis-gas-price-queue is enabled)",
140
+ "redis-events-queue-endpoint": {
141
+ description: "Redis endpoint for userOp events queue",
135
142
  type: "string",
136
143
  require: false
137
144
  },
138
- "redis-gas-price-queue-name": {
139
- description: "Queue name to store gas prices",
145
+ "redis-events-queue-name": {
146
+ description: "Queue name for userOp events",
140
147
  type: "string",
141
148
  require: false,
142
- default: "gas-price"
143
- },
144
- "redis-sender-manager-url": {
145
- description: "Redis connection URL (required if redis-sender-manager is enabled)",
146
- type: "string",
147
- require: false
149
+ default: "UserOperationStatusBullEventsQueue"
148
150
  },
149
- "redis-sender-manager-queue-name": {
150
- description: "Queue name to executors",
151
- type: "string",
151
+ "redis-events-queue-flush-interval": {
152
+ description: "Interval in milliseconds to flush batched events to Redis (default: 1000ms)",
153
+ type: "number",
154
+ require: false,
155
+ default: 1000
156
+ }
157
+ };
158
+ export const mempoolOptions = {
159
+ "restoration-queue-timeout": {
160
+ description: "Timeout in milliseconds for listening to mempool restoration queue (default: 30 minutes)",
161
+ type: "number",
152
162
  require: false,
153
- default: "sender-manager"
163
+ default: 30 * 60 * 1000
154
164
  },
155
165
  "mempool-max-parallel-ops": {
156
166
  description: "Maximum amount of parallel user ops to keep in the mempool (same sender, different nonce keys)",
@@ -164,11 +174,22 @@ export const mempoolOptions = {
164
174
  require: false,
165
175
  default: 0
166
176
  },
177
+ "mempool-pop-batch-size": {
178
+ description: "Number of user operations to pop from the mempool at once for bundling",
179
+ type: "number",
180
+ require: false,
181
+ default: 10
182
+ },
167
183
  "enforce-unique-senders-per-bundle": {
168
184
  description: "Include user ops with the same sender in the single bundle",
169
185
  type: "boolean",
170
186
  require: false,
171
187
  default: true
188
+ },
189
+ "ignored-paymasters": {
190
+ description: "Comma-separated list of paymaster addresses to ignore when checking for queued user operations",
191
+ type: "string",
192
+ require: false
172
193
  }
173
194
  };
174
195
  export const gasEstimationOptions = {
@@ -186,7 +207,11 @@ export const gasEstimationOptions = {
186
207
  "entrypoint-simulation-contract-v8": {
187
208
  description: "Address of the EntryPoint simulations contract for v0.8",
188
209
  type: "string",
189
- alias: "c",
210
+ require: false
211
+ },
212
+ "entrypoint-simulation-contract-v9": {
213
+ description: "Address of the EntryPoint simulations contract for v0.9",
214
+ type: "string",
190
215
  require: false
191
216
  },
192
217
  "binary-search-tolerance-delta": {
@@ -249,12 +274,6 @@ export const gasEstimationOptions = {
249
274
  require: true,
250
275
  default: "110"
251
276
  },
252
- "paymaster-gas-limit-multiplier": {
253
- description: "Amount to multiply the paymaster gas limits fetched from simulations",
254
- type: "string",
255
- require: true,
256
- default: "110"
257
- },
258
277
  "simulation-call-gas-limit": {
259
278
  description: "UserOperation's callGasLimit used during gas estimation simulations",
260
279
  type: "string",
@@ -287,15 +306,31 @@ export const gasEstimationOptions = {
287
306
  description: "Should the bundler split estimation simulations into smaller calls.",
288
307
  type: "boolean",
289
308
  default: false
309
+ },
310
+ "call-gas-limit-floor": {
311
+ description: "Minimum callGasLimit to enforce when there are queued user operations",
312
+ type: "string",
313
+ require: false,
314
+ default: "50000"
290
315
  }
291
316
  };
292
317
  export const executorOptions = {
318
+ "max-bundle-count": {
319
+ description: "Maximum number of bundles when calling mempool's process function",
320
+ type: "number",
321
+ require: false
322
+ },
293
323
  "resubmit-stuck-timeout": {
294
324
  description: "Amount of time before retrying a failed userOperation (in ms)",
295
325
  type: "number",
296
326
  require: true,
297
327
  default: 10_000
298
328
  },
329
+ "max-resubmits": {
330
+ description: "Maximum number of times to resubmit a userOperation before dropping it (optional, no limit if not set)",
331
+ type: "number",
332
+ require: false
333
+ },
299
334
  "resubmit-multiplier-ceiling": {
300
335
  description: "Maximum multiplier for gasPrice when resubmitting transactions",
301
336
  type: "string",
@@ -319,11 +354,6 @@ export const executorOptions = {
319
354
  type: "string",
320
355
  default: "100"
321
356
  },
322
- "no-profit-bundling": {
323
- description: "Bundle tx such that all beneficiary fees are spent on gas fees",
324
- type: "boolean",
325
- default: false
326
- },
327
357
  "refill-helper-contract": {
328
358
  description: "Address of the Executor refill helper contract",
329
359
  type: "string",
@@ -384,17 +414,17 @@ export const executorOptions = {
384
414
  require: false,
385
415
  default: "10"
386
416
  },
387
- "arbitrum-gas-bid-multiplier": {
388
- description: "Multiplier for gas bid on Arbitrum networks to account for baseFee fluctuations",
389
- type: "string",
390
- require: false,
391
- default: "5"
392
- },
393
417
  "binary-search-max-retries": {
394
418
  description: "Maximum number of retries for binary search operations during gas estimation",
395
419
  type: "number",
396
420
  require: false,
397
421
  default: 3
422
+ },
423
+ "private-endpoint-submission-attempts": {
424
+ description: "Number of submission attempts to use private RPC endpoint before switching to public",
425
+ type: "number",
426
+ require: false,
427
+ default: 3
398
428
  }
399
429
  };
400
430
  export const compatibilityOptions = {
@@ -407,7 +437,8 @@ export const compatibilityOptions = {
407
437
  "arbitrum",
408
438
  "hedera",
409
439
  "mantle",
410
- "etherlink"
440
+ "etherlink",
441
+ "monad"
411
442
  ],
412
443
  default: "default"
413
444
  },
@@ -461,11 +492,22 @@ export const compatibilityOptions = {
461
492
  type: "string",
462
493
  require: false
463
494
  },
495
+ "static-max-priority-fee-per-gas": {
496
+ description: "Static maxPriorityFeePerGas value (in gwei) instead of RPC estimation",
497
+ type: "string",
498
+ require: false
499
+ },
464
500
  "supports-eip7623": {
465
501
  description: "Whether the chain supports EIP-7623 (Increase calldata cost to reduce maximum block size)",
466
502
  type: "boolean",
467
503
  require: false,
468
504
  default: false
505
+ },
506
+ "arbitrum-base-fee-multiplier": {
507
+ description: "Multiplier for gas bids on Arbitrum networks to account for baseFee fluctuations",
508
+ type: "string",
509
+ require: false,
510
+ default: "150"
469
511
  }
470
512
  };
471
513
  export const serverOptions = {
@@ -541,17 +583,6 @@ export const rpcOptions = {
541
583
  }
542
584
  };
543
585
  export const logOptions = {
544
- "redis-queue-endpoint": {
545
- description: "redis queue endpoint",
546
- type: "string",
547
- require: false
548
- },
549
- "redis-event-manager-queue-name": {
550
- description: "redis event manager queue name",
551
- type: "string",
552
- require: false,
553
- default: "UserOperationStatusBullEventsQueue"
554
- },
555
586
  json: {
556
587
  description: "Log in JSON format",
557
588
  type: "boolean",
@@ -651,6 +682,12 @@ export const debugOptions = {
651
682
  type: "boolean",
652
683
  require: true,
653
684
  default: true
685
+ },
686
+ "enable-cors": {
687
+ description: "Enable CORS for local bundler access",
688
+ type: "boolean",
689
+ require: true,
690
+ default: false
654
691
  }
655
692
  };
656
693
  export const bundlerCommand = {