@pimlico/alto 0.0.0-main.20250428T104157 → 0.0.0-main.20250429T114818
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/EIP712.sol/EIP712.json +1 -0
- package/contracts/ERC165.sol/ERC165.json +1 -0
- package/contracts/Eip7702Support.sol/Eip7702Support.json +1 -0
- package/contracts/EntryPoint.sol/EntryPoint.json +1 -0
- package/contracts/EntryPointCodeOverride.sol/EntryPointCodeOverride.json +1 -0
- package/contracts/EntryPointSimulations.sol/EntryPointSimulations.json +1 -0
- package/contracts/Exec.sol/Exec.json +1 -0
- package/contracts/IAccount.sol/IAccount.json +1 -0
- package/contracts/IAccountExecute.sol/IAccountExecute.json +1 -0
- package/contracts/IAggregator.sol/IAggregator.json +1 -0
- package/contracts/IERC165.sol/IERC165.json +1 -0
- package/contracts/IERC5267.sol/IERC5267.json +1 -0
- package/contracts/IEntryPoint.sol/IEntryPoint.json +1 -0
- package/contracts/IEntryPointSimulations.sol/IEntryPointSimulations.json +1 -0
- package/contracts/INonceManager.sol/INonceManager.json +1 -0
- package/contracts/IPaymaster.sol/IPaymaster.json +1 -0
- package/contracts/ISenderCreator.sol/ISenderCreator.json +1 -0
- package/contracts/IStakeManager.sol/IStakeManager.json +1 -0
- package/contracts/Math.sol/Math.json +1 -0
- package/contracts/MessageHashUtils.sol/MessageHashUtils.json +1 -0
- package/contracts/NonceManager.sol/NonceManager.json +1 -0
- package/contracts/Panic.sol/Panic.json +1 -0
- package/contracts/PimlicoEntryPointSimulationsV7.sol/PimlicoEntryPointSimulationsV7.json +1 -0
- package/contracts/PimlicoEntryPointSimulationsV8.sol/PimlicoEntryPointSimulationsV8.json +1 -0
- package/contracts/ReentrancyGuard.sol/ReentrancyGuard.json +1 -0
- package/contracts/ReentrancyGuardTransient.sol/ReentrancyGuardTransient.json +1 -0
- package/contracts/SafeCast.sol/SafeCast.json +1 -0
- package/contracts/SenderCreator.sol/SenderCreator.json +1 -0
- package/contracts/ShortStrings.sol/ShortStrings.json +1 -0
- package/contracts/SignedMath.sol/SignedMath.json +1 -0
- package/contracts/StakeManager.sol/StakeManager.json +1 -0
- package/contracts/StorageSlot.sol/StorageSlot.json +1 -0
- package/contracts/Strings.sol/Strings.json +1 -0
- package/contracts/TransientSlot.sol/TransientSlot.json +1 -0
- package/contracts/UserOperation.sol/UserOperationLib.json +1 -0
- package/contracts/UserOperationLib.sol/UserOperationLib.json +1 -0
- package/contracts/build-info/0c52dc19c74a9a932ddddcca463ce398.json +1 -0
- package/contracts/build-info/a1d9af887789a0ade8ffbc8b045f0780.json +1 -0
- package/contracts/interfaces/IEntryPoint.sol/IEntryPoint.json +1 -0
- package/esm/cli/deploySimulationsContract.js +14 -5
- package/esm/cli/deploySimulationsContract.js.map +1 -1
- package/package.json +2 -1
- package/lib/cli/alto.d.ts +0 -7
- package/lib/cli/alto.js +0 -141
- package/lib/cli/alto.js.map +0 -1
- package/lib/cli/config/bundler.d.ts +0 -2872
- package/lib/cli/config/bundler.js +0 -242
- package/lib/cli/config/bundler.js.map +0 -1
- package/lib/cli/config/index.d.ts +0 -3
- package/lib/cli/config/index.js +0 -19
- package/lib/cli/config/index.js.map +0 -1
- package/lib/cli/config/options.d.ts +0 -13
- package/lib/cli/config/options.js +0 -587
- package/lib/cli/config/options.js.map +0 -1
- package/lib/cli/customTransport.d.ts +0 -14
- package/lib/cli/customTransport.js +0 -94
- package/lib/cli/customTransport.js.map +0 -1
- package/lib/cli/deploySimulationsContract.d.ts +0 -13
- package/lib/cli/deploySimulationsContract.js +0 -100
- package/lib/cli/deploySimulationsContract.js.map +0 -1
- package/lib/cli/handler.d.ts +0 -3
- package/lib/cli/handler.js +0 -157
- package/lib/cli/handler.js.map +0 -1
- package/lib/cli/index.d.ts +0 -4
- package/lib/cli/index.js +0 -20
- package/lib/cli/index.js.map +0 -1
- package/lib/cli/instrumentation.d.ts +0 -2
- package/lib/cli/instrumentation.js +0 -47
- package/lib/cli/instrumentation.js.map +0 -1
- package/lib/cli/parseArgs.d.ts +0 -8
- package/lib/cli/parseArgs.js +0 -25
- package/lib/cli/parseArgs.js.map +0 -1
- package/lib/cli/setupServer.d.ts +0 -13
- package/lib/cli/setupServer.js +0 -266
- package/lib/cli/setupServer.js.map +0 -1
- package/lib/cli/util.d.ts +0 -22
- package/lib/cli/util.js +0 -34
- package/lib/cli/util.js.map +0 -1
- package/lib/createConfig.d.ts +0 -16
- package/lib/createConfig.js +0 -13
- package/lib/createConfig.js.map +0 -1
- package/lib/executor/executor.d.ts +0 -65
- package/lib/executor/executor.js +0 -301
- package/lib/executor/executor.js.map +0 -1
- package/lib/executor/executorManager.d.ts +0 -108
- package/lib/executor/executorManager.js +0 -702
- package/lib/executor/executorManager.js.map +0 -1
- package/lib/executor/fastlane.d.ts +0 -9
- package/lib/executor/fastlane.js +0 -41
- package/lib/executor/fastlane.js.map +0 -1
- package/lib/executor/filterOpsAndEStimateGas.d.ts +0 -29
- package/lib/executor/filterOpsAndEStimateGas.js +0 -225
- package/lib/executor/filterOpsAndEStimateGas.js.map +0 -1
- package/lib/executor/index.d.ts +0 -5
- package/lib/executor/index.js +0 -21
- package/lib/executor/index.js.map +0 -1
- package/lib/executor/senderManager/createMemorySenderManager.d.ts +0 -8
- package/lib/executor/senderManager/createMemorySenderManager.js +0 -45
- package/lib/executor/senderManager/createMemorySenderManager.js.map +0 -1
- package/lib/executor/senderManager/createRedisSenderManager.d.ts +0 -8
- package/lib/executor/senderManager/createRedisSenderManager.js +0 -85
- package/lib/executor/senderManager/createRedisSenderManager.js.map +0 -1
- package/lib/executor/senderManager/flushOnStartUp.d.ts +0 -9
- package/lib/executor/senderManager/flushOnStartUp.js +0 -37
- package/lib/executor/senderManager/flushOnStartUp.js.map +0 -1
- package/lib/executor/senderManager/index.d.ts +0 -15
- package/lib/executor/senderManager/index.js +0 -25
- package/lib/executor/senderManager/index.js.map +0 -1
- package/lib/executor/senderManager/validateAndRefill.d.ts +0 -11
- package/lib/executor/senderManager/validateAndRefill.js +0 -115
- package/lib/executor/senderManager/validateAndRefill.js.map +0 -1
- package/lib/executor/utilityWalletMonitor.d.ts +0 -19
- package/lib/executor/utilityWalletMonitor.js +0 -42
- package/lib/executor/utilityWalletMonitor.js.map +0 -1
- package/lib/executor/utils.d.ts +0 -34
- package/lib/executor/utils.js +0 -167
- package/lib/executor/utils.js.map +0 -1
- package/lib/handlers/arbitrumGasPriceManager.d.ts +0 -14
- package/lib/handlers/arbitrumGasPriceManager.js +0 -39
- package/lib/handlers/arbitrumGasPriceManager.js.map +0 -1
- package/lib/handlers/eventManager.d.ts +0 -29
- package/lib/handlers/eventManager.js +0 -225
- package/lib/handlers/eventManager.js.map +0 -1
- package/lib/handlers/gasPriceManager.d.ts +0 -36
- package/lib/handlers/gasPriceManager.js +0 -391
- package/lib/handlers/gasPriceManager.js.map +0 -1
- package/lib/handlers/index.d.ts +0 -3
- package/lib/handlers/index.js +0 -19
- package/lib/handlers/index.js.map +0 -1
- package/lib/handlers/mantleGasPriceManager.d.ts +0 -23
- package/lib/handlers/mantleGasPriceManager.js +0 -44
- package/lib/handlers/mantleGasPriceManager.js.map +0 -1
- package/lib/handlers/optimismManager.d.ts +0 -10
- package/lib/handlers/optimismManager.js +0 -21
- package/lib/handlers/optimismManager.js.map +0 -1
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -4
- package/lib/index.js.map +0 -1
- package/lib/mempool/index.d.ts +0 -4
- package/lib/mempool/index.js +0 -20
- package/lib/mempool/index.js.map +0 -1
- package/lib/mempool/mempool.d.ts +0 -191
- package/lib/mempool/mempool.js +0 -499
- package/lib/mempool/mempool.js.map +0 -1
- package/lib/mempool/monitoring.d.ts +0 -14
- package/lib/mempool/monitoring.js +0 -101
- package/lib/mempool/monitoring.js.map +0 -1
- package/lib/mempool/reputationManager.d.ts +0 -121
- package/lib/mempool/reputationManager.js +0 -472
- package/lib/mempool/reputationManager.js.map +0 -1
- package/lib/rpc/createMethodHandler.d.ts +0 -31
- package/lib/rpc/createMethodHandler.js +0 -34
- package/lib/rpc/createMethodHandler.js.map +0 -1
- package/lib/rpc/estimation/gasEstimationHandler.d.ts +0 -30
- package/lib/rpc/estimation/gasEstimationHandler.js +0 -50
- package/lib/rpc/estimation/gasEstimationHandler.js.map +0 -1
- package/lib/rpc/estimation/gasEstimationsV06.d.ts +0 -19
- package/lib/rpc/estimation/gasEstimationsV06.js +0 -148
- package/lib/rpc/estimation/gasEstimationsV06.js.map +0 -1
- package/lib/rpc/estimation/gasEstimationsV07.d.ts +0 -101
- package/lib/rpc/estimation/gasEstimationsV07.js +0 -727
- package/lib/rpc/estimation/gasEstimationsV07.js.map +0 -1
- package/lib/rpc/estimation/types.d.ts +0 -120
- package/lib/rpc/estimation/types.js +0 -125
- package/lib/rpc/estimation/types.js.map +0 -1
- package/lib/rpc/index.d.ts +0 -4
- package/lib/rpc/index.js +0 -20
- package/lib/rpc/index.js.map +0 -1
- package/lib/rpc/methods/debug_bundler_clearReputation.d.ts +0 -22
- package/lib/rpc/methods/debug_bundler_clearReputation.js +0 -15
- package/lib/rpc/methods/debug_bundler_clearReputation.js.map +0 -1
- package/lib/rpc/methods/debug_bundler_clearState.d.ts +0 -22
- package/lib/rpc/methods/debug_bundler_clearState.js +0 -16
- package/lib/rpc/methods/debug_bundler_clearState.js.map +0 -1
- package/lib/rpc/methods/debug_bundler_dumpMempool.d.ts +0 -973
- package/lib/rpc/methods/debug_bundler_dumpMempool.js +0 -16
- package/lib/rpc/methods/debug_bundler_dumpMempool.js.map +0 -1
- package/lib/rpc/methods/debug_bundler_dumpReputation.d.ts +0 -57
- package/lib/rpc/methods/debug_bundler_dumpReputation.js +0 -16
- package/lib/rpc/methods/debug_bundler_dumpReputation.js.map +0 -1
- package/lib/rpc/methods/debug_bundler_getStakeStatus.d.ts +0 -79
- package/lib/rpc/methods/debug_bundler_getStakeStatus.js +0 -25
- package/lib/rpc/methods/debug_bundler_getStakeStatus.js.map +0 -1
- package/lib/rpc/methods/debug_bundler_sendBundleNow.d.ts +0 -22
- package/lib/rpc/methods/debug_bundler_sendBundleNow.js +0 -15
- package/lib/rpc/methods/debug_bundler_sendBundleNow.js.map +0 -1
- package/lib/rpc/methods/debug_bundler_setBundlingMode.d.ts +0 -22
- package/lib/rpc/methods/debug_bundler_setBundlingMode.js +0 -16
- package/lib/rpc/methods/debug_bundler_setBundlingMode.js.map +0 -1
- package/lib/rpc/methods/debug_bundler_setReputation.d.ts +0 -46
- package/lib/rpc/methods/debug_bundler_setReputation.js +0 -16
- package/lib/rpc/methods/debug_bundler_setReputation.js.map +0 -1
- package/lib/rpc/methods/eth_chainId.d.ts +0 -22
- package/lib/rpc/methods/eth_chainId.js +0 -13
- package/lib/rpc/methods/eth_chainId.js.map +0 -1
- package/lib/rpc/methods/eth_estimateUserOperationGas.d.ts +0 -1891
- package/lib/rpc/methods/eth_estimateUserOperationGas.js +0 -26
- package/lib/rpc/methods/eth_estimateUserOperationGas.js.map +0 -1
- package/lib/rpc/methods/eth_getUserOperationByHash.d.ts +0 -1775
- package/lib/rpc/methods/eth_getUserOperationByHash.js +0 -101
- package/lib/rpc/methods/eth_getUserOperationByHash.js.map +0 -1
- package/lib/rpc/methods/eth_getUserOperationReceipt.d.ts +0 -412
- package/lib/rpc/methods/eth_getUserOperationReceipt.js +0 -14
- package/lib/rpc/methods/eth_getUserOperationReceipt.js.map +0 -1
- package/lib/rpc/methods/eth_sendUserOperation.d.ts +0 -878
- package/lib/rpc/methods/eth_sendUserOperation.js +0 -44
- package/lib/rpc/methods/eth_sendUserOperation.js.map +0 -1
- package/lib/rpc/methods/eth_supportedEntryPoints.d.ts +0 -22
- package/lib/rpc/methods/eth_supportedEntryPoints.js +0 -13
- package/lib/rpc/methods/eth_supportedEntryPoints.js.map +0 -1
- package/lib/rpc/methods/index.d.ts +0 -3
- package/lib/rpc/methods/index.js +0 -44
- package/lib/rpc/methods/index.js.map +0 -1
- package/lib/rpc/methods/pimlico_getUserOperationGasPrice.d.ts +0 -131
- package/lib/rpc/methods/pimlico_getUserOperationGasPrice.js +0 -33
- package/lib/rpc/methods/pimlico_getUserOperationGasPrice.js.map +0 -1
- package/lib/rpc/methods/pimlico_getUserOperationStatus.d.ts +0 -43
- package/lib/rpc/methods/pimlico_getUserOperationStatus.js +0 -14
- package/lib/rpc/methods/pimlico_getUserOperationStatus.js.map +0 -1
- package/lib/rpc/methods/pimlico_sendUserOperationNow.d.ts +0 -1268
- package/lib/rpc/methods/pimlico_sendUserOperationNow.js +0 -55
- package/lib/rpc/methods/pimlico_sendUserOperationNow.js.map +0 -1
- package/lib/rpc/rpcHandler.d.ts +0 -75
- package/lib/rpc/rpcHandler.js +0 -391
- package/lib/rpc/rpcHandler.js.map +0 -1
- package/lib/rpc/server.d.ts +0 -26
- package/lib/rpc/server.js +0 -283
- package/lib/rpc/server.js.map +0 -1
- package/lib/rpc/validation/BundlerCollectorTracerV06.d.ts +0 -102
- package/lib/rpc/validation/BundlerCollectorTracerV06.js +0 -262
- package/lib/rpc/validation/BundlerCollectorTracerV06.js.map +0 -1
- package/lib/rpc/validation/BundlerCollectorTracerV07.d.ts +0 -102
- package/lib/rpc/validation/BundlerCollectorTracerV07.js +0 -261
- package/lib/rpc/validation/BundlerCollectorTracerV07.js.map +0 -1
- package/lib/rpc/validation/SafeValidator.d.ts +0 -51
- package/lib/rpc/validation/SafeValidator.js +0 -327
- package/lib/rpc/validation/SafeValidator.js.map +0 -1
- package/lib/rpc/validation/TracerResultParserV06.d.ts +0 -13
- package/lib/rpc/validation/TracerResultParserV06.js +0 -582
- package/lib/rpc/validation/TracerResultParserV06.js.map +0 -1
- package/lib/rpc/validation/TracerResultParserV07.d.ts +0 -33
- package/lib/rpc/validation/TracerResultParserV07.js +0 -599
- package/lib/rpc/validation/TracerResultParserV07.js.map +0 -1
- package/lib/rpc/validation/UnsafeValidator.d.ts +0 -97
- package/lib/rpc/validation/UnsafeValidator.js +0 -303
- package/lib/rpc/validation/UnsafeValidator.js.map +0 -1
- package/lib/rpc/validation/index.d.ts +0 -3
- package/lib/rpc/validation/index.js +0 -19
- package/lib/rpc/validation/index.js.map +0 -1
- package/lib/rpc/validation/tracer.d.ts +0 -125
- package/lib/rpc/validation/tracer.js +0 -112
- package/lib/rpc/validation/tracer.js.map +0 -1
- package/lib/store/createMemoryOutstandingStore.d.ts +0 -28
- package/lib/store/createMemoryOutstandingStore.js +0 -236
- package/lib/store/createMemoryOutstandingStore.js.map +0 -1
- package/lib/store/createMempoolStore.d.ts +0 -8
- package/lib/store/createMempoolStore.js +0 -199
- package/lib/store/createMempoolStore.js.map +0 -1
- package/lib/store/createRedisOutstandingStore.d.ts +0 -27
- package/lib/store/createRedisOutstandingStore.js +0 -349
- package/lib/store/createRedisOutstandingStore.js.map +0 -1
- package/lib/store/createRedisStore.d.ts +0 -9
- package/lib/store/createRedisStore.js +0 -138
- package/lib/store/createRedisStore.js.map +0 -1
- package/lib/store/createStore.d.ts +0 -6
- package/lib/store/createStore.js +0 -70
- package/lib/store/createStore.js.map +0 -1
- package/lib/store/index.d.ts +0 -81
- package/lib/store/index.js +0 -6
- package/lib/store/index.js.map +0 -1
- package/lib/types/contracts/ArbitrumL1FeeAbi.d.ts +0 -32
- package/lib/types/contracts/ArbitrumL1FeeAbi.js +0 -45
- package/lib/types/contracts/ArbitrumL1FeeAbi.js.map +0 -1
- package/lib/types/contracts/CallEngine.d.ts +0 -28
- package/lib/types/contracts/CallEngine.js +0 -40
- package/lib/types/contracts/CallEngine.js.map +0 -1
- package/lib/types/contracts/CodeHashGetter.d.ts +0 -37
- package/lib/types/contracts/CodeHashGetter.js +0 -48
- package/lib/types/contracts/CodeHashGetter.js.map +0 -1
- package/lib/types/contracts/EntryPoint.d.ts +0 -1789
- package/lib/types/contracts/EntryPoint.js +0 -2307
- package/lib/types/contracts/EntryPoint.js.map +0 -1
- package/lib/types/contracts/EntryPointSimulationsV6.d.ts +0 -34
- package/lib/types/contracts/EntryPointSimulationsV6.js +0 -51
- package/lib/types/contracts/EntryPointSimulationsV6.js.map +0 -1
- package/lib/types/contracts/EntryPointSimulationsV7.d.ts +0 -2076
- package/lib/types/contracts/EntryPointSimulationsV7.js +0 -2678
- package/lib/types/contracts/EntryPointSimulationsV7.js.map +0 -1
- package/lib/types/contracts/IAccountExecute.d.ts +0 -53
- package/lib/types/contracts/IAccountExecute.js +0 -71
- package/lib/types/contracts/IAccountExecute.js.map +0 -1
- package/lib/types/contracts/IPaymaster.d.ts +0 -3
- package/lib/types/contracts/IPaymaster.js +0 -120
- package/lib/types/contracts/IPaymaster.js.map +0 -1
- package/lib/types/contracts/MantleBvmGasPriceOracle.d.ts +0 -219
- package/lib/types/contracts/MantleBvmGasPriceOracle.js +0 -180
- package/lib/types/contracts/MantleBvmGasPriceOracle.js.map +0 -1
- package/lib/types/contracts/OpL1FeeAbi.d.ts +0 -114
- package/lib/types/contracts/OpL1FeeAbi.js +0 -77
- package/lib/types/contracts/OpL1FeeAbi.js.map +0 -1
- package/lib/types/contracts/PimlicoEntryPointSimulations.d.ts +0 -25
- package/lib/types/contracts/PimlicoEntryPointSimulations.js +0 -42
- package/lib/types/contracts/PimlicoEntryPointSimulations.js.map +0 -1
- package/lib/types/contracts/SenderCreator.d.ts +0 -4
- package/lib/types/contracts/SenderCreator.js +0 -26
- package/lib/types/contracts/SenderCreator.js.map +0 -1
- package/lib/types/contracts/SimpleAccountFactory.d.ts +0 -57
- package/lib/types/contracts/SimpleAccountFactory.js +0 -79
- package/lib/types/contracts/SimpleAccountFactory.js.map +0 -1
- package/lib/types/contracts/TestOpcodesAccount.d.ts +0 -4
- package/lib/types/contracts/TestOpcodesAccount.js +0 -284
- package/lib/types/contracts/TestOpcodesAccount.js.map +0 -1
- package/lib/types/contracts/TestOpcodesAccountFactory.d.ts +0 -4
- package/lib/types/contracts/TestOpcodesAccountFactory.js +0 -26
- package/lib/types/contracts/TestOpcodesAccountFactory.js.map +0 -1
- package/lib/types/contracts/TestStorageAccount.d.ts +0 -4
- package/lib/types/contracts/TestStorageAccount.js +0 -316
- package/lib/types/contracts/TestStorageAccount.js.map +0 -1
- package/lib/types/contracts/index.d.ts +0 -17
- package/lib/types/contracts/index.js +0 -33
- package/lib/types/contracts/index.js.map +0 -1
- package/lib/types/gasPrice.d.ts +0 -110
- package/lib/types/gasPrice.js +0 -55
- package/lib/types/gasPrice.js.map +0 -1
- package/lib/types/index.d.ts +0 -11
- package/lib/types/index.js +0 -27
- package/lib/types/index.js.map +0 -1
- package/lib/types/interfaces.d.ts +0 -58
- package/lib/types/interfaces.js +0 -3
- package/lib/types/interfaces.js.map +0 -1
- package/lib/types/mempool.d.ts +0 -60
- package/lib/types/mempool.js +0 -11
- package/lib/types/mempool.js.map +0 -1
- package/lib/types/schemas.d.ts +0 -20785
- package/lib/types/schemas.js +0 -679
- package/lib/types/schemas.js.map +0 -1
- package/lib/types/utils.d.ts +0 -25
- package/lib/types/utils.js +0 -35
- package/lib/types/utils.js.map +0 -1
- package/lib/types/validation.d.ts +0 -14327
- package/lib/types/validation.js +0 -312
- package/lib/types/validation.js.map +0 -1
- package/lib/utils/asyncTimeout.d.ts +0 -5
- package/lib/utils/asyncTimeout.js +0 -51
- package/lib/utils/asyncTimeout.js.map +0 -1
- package/lib/utils/bigInt.d.ts +0 -8
- package/lib/utils/bigInt.js +0 -24
- package/lib/utils/bigInt.js.map +0 -1
- package/lib/utils/eip7702.d.ts +0 -4
- package/lib/utils/eip7702.js +0 -21
- package/lib/utils/eip7702.js.map +0 -1
- package/lib/utils/fastify-rpc-decorators.d.ts +0 -19
- package/lib/utils/fastify-rpc-decorators.js +0 -23
- package/lib/utils/fastify-rpc-decorators.js.map +0 -1
- package/lib/utils/helpers.d.ts +0 -15
- package/lib/utils/helpers.js +0 -59
- package/lib/utils/helpers.js.map +0 -1
- package/lib/utils/index.d.ts +0 -9
- package/lib/utils/index.js +0 -24
- package/lib/utils/index.js.map +0 -1
- package/lib/utils/logger.d.ts +0 -6
- package/lib/utils/logger.js +0 -85
- package/lib/utils/logger.js.map +0 -1
- package/lib/utils/metrics.d.ts +0 -29
- package/lib/utils/metrics.js +0 -199
- package/lib/utils/metrics.js.map +0 -1
- package/lib/utils/minMaxQueue/createMemoryMinMaxQueue.d.ts +0 -6
- package/lib/utils/minMaxQueue/createMemoryMinMaxQueue.js +0 -57
- package/lib/utils/minMaxQueue/createMemoryMinMaxQueue.js.map +0 -1
- package/lib/utils/minMaxQueue/createRedisMinMaxQueue.d.ts +0 -7
- package/lib/utils/minMaxQueue/createRedisMinMaxQueue.js +0 -105
- package/lib/utils/minMaxQueue/createRedisMinMaxQueue.js.map +0 -1
- package/lib/utils/minMaxQueue/index.d.ts +0 -12
- package/lib/utils/minMaxQueue/index.js +0 -16
- package/lib/utils/minMaxQueue/index.js.map +0 -1
- package/lib/utils/rpc-reply.d.ts +0 -16
- package/lib/utils/rpc-reply.js +0 -41
- package/lib/utils/rpc-reply.js.map +0 -1
- package/lib/utils/userop.d.ts +0 -138
- package/lib/utils/userop.js +0 -620
- package/lib/utils/userop.js.map +0 -1
- package/lib/utils/validation.d.ts +0 -76
- package/lib/utils/validation.js +0 -491
- package/lib/utils/validation.js.map +0 -1
|
@@ -1,587 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bundlerCommand = exports.debugOptions = exports.logOptions = exports.rpcOptions = exports.serverOptions = exports.compatibilityOptions = exports.executorOptions = exports.gasEstimationOptions = exports.mempoolOptions = exports.bundlerOptions = void 0;
|
|
4
|
-
const handler_1 = require("../handler.js");
|
|
5
|
-
exports.bundlerOptions = {
|
|
6
|
-
entrypoints: {
|
|
7
|
-
description: "EntryPoint contract addresses split by commas",
|
|
8
|
-
type: "string",
|
|
9
|
-
alias: "e",
|
|
10
|
-
require: true
|
|
11
|
-
},
|
|
12
|
-
"deterministic-deployer-address": {
|
|
13
|
-
description: "Address of the deterministic deployer contract",
|
|
14
|
-
type: "string",
|
|
15
|
-
alias: "d",
|
|
16
|
-
require: false,
|
|
17
|
-
default: "0x4e59b44847b379578588920ca78fbf26c0b4956c"
|
|
18
|
-
},
|
|
19
|
-
"min-entity-stake": {
|
|
20
|
-
description: "Minimum stake required for a relay (in 10e18)",
|
|
21
|
-
type: "number",
|
|
22
|
-
require: true,
|
|
23
|
-
default: 1
|
|
24
|
-
},
|
|
25
|
-
"min-entity-unstake-delay": {
|
|
26
|
-
description: "Minimum unstake delay (seconds)",
|
|
27
|
-
type: "number",
|
|
28
|
-
require: true,
|
|
29
|
-
default: 1
|
|
30
|
-
},
|
|
31
|
-
"safe-mode": {
|
|
32
|
-
description: "Enable safe mode (enforcing all ERC-4337 rules)",
|
|
33
|
-
type: "boolean",
|
|
34
|
-
require: true,
|
|
35
|
-
default: true
|
|
36
|
-
},
|
|
37
|
-
"gas-price-bump": {
|
|
38
|
-
description: "Amount to multiply the gas prices fetched from the node",
|
|
39
|
-
type: "string",
|
|
40
|
-
require: false,
|
|
41
|
-
default: "100"
|
|
42
|
-
},
|
|
43
|
-
"gas-price-expiry": {
|
|
44
|
-
description: "Maximum that the gas prices fetched using pimlico_getUserOperationGasPrice will be accepted for (seconds)",
|
|
45
|
-
type: "number",
|
|
46
|
-
require: false,
|
|
47
|
-
default: 20
|
|
48
|
-
},
|
|
49
|
-
"gas-price-multipliers": {
|
|
50
|
-
description: "Amount to multiply the gas prices fetched using pimlico_getUserOperationGasPrice (format: slow,standard,fast)",
|
|
51
|
-
type: "string",
|
|
52
|
-
require: false,
|
|
53
|
-
default: "100,100,100"
|
|
54
|
-
},
|
|
55
|
-
"gas-price-refresh-interval": {
|
|
56
|
-
description: "How to often to refresh the gas prices (seconds). If 0, then gas prices are refreshed on every request",
|
|
57
|
-
type: "number",
|
|
58
|
-
require: false,
|
|
59
|
-
default: 0
|
|
60
|
-
},
|
|
61
|
-
"mempool-max-parallel-ops": {
|
|
62
|
-
description: "Maximum amount of parallel user ops to keep in the meempool (same sender, different nonce keys)",
|
|
63
|
-
type: "number",
|
|
64
|
-
require: false,
|
|
65
|
-
default: 10
|
|
66
|
-
},
|
|
67
|
-
"mempool-max-queued-ops": {
|
|
68
|
-
description: "Maximum amount of sequential user ops to keep in the mempool (same sender and nonce key, different nonce values)",
|
|
69
|
-
type: "number",
|
|
70
|
-
require: false,
|
|
71
|
-
default: 0
|
|
72
|
-
},
|
|
73
|
-
"enforce-unique-senders-per-bundle": {
|
|
74
|
-
description: "Include user ops with the same sender in the single bundle",
|
|
75
|
-
type: "boolean",
|
|
76
|
-
require: false,
|
|
77
|
-
default: true
|
|
78
|
-
},
|
|
79
|
-
"max-gas-per-bundle": {
|
|
80
|
-
description: "Maximum amount of gas per bundle",
|
|
81
|
-
type: "string",
|
|
82
|
-
require: false,
|
|
83
|
-
default: "20000000"
|
|
84
|
-
},
|
|
85
|
-
"rpc-methods": {
|
|
86
|
-
description: "Supported RPC methods split by commas",
|
|
87
|
-
type: "string",
|
|
88
|
-
require: false,
|
|
89
|
-
default: null
|
|
90
|
-
},
|
|
91
|
-
"enable-instant-bundling-endpoint": {
|
|
92
|
-
description: "Should the bundler enable the pimlico_sendUserOperationNow endpoint",
|
|
93
|
-
type: "boolean",
|
|
94
|
-
default: false
|
|
95
|
-
},
|
|
96
|
-
"should-check-prefund": {
|
|
97
|
-
description: "Should the bundler check userOp's prefund before accepting it",
|
|
98
|
-
type: "boolean",
|
|
99
|
-
default: true
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
exports.mempoolOptions = {
|
|
103
|
-
"redis-mempool-url": {
|
|
104
|
-
description: "Redis connection URL (required if redis-mempool is enabled)",
|
|
105
|
-
type: "string",
|
|
106
|
-
require: false
|
|
107
|
-
},
|
|
108
|
-
"redis-mempool-concurrency": {
|
|
109
|
-
description: "Number of concurrent jobs to process",
|
|
110
|
-
type: "number",
|
|
111
|
-
require: false,
|
|
112
|
-
default: 10
|
|
113
|
-
},
|
|
114
|
-
"redis-mempool-queue-name": {
|
|
115
|
-
description: "Redis mempool queue name",
|
|
116
|
-
type: "string",
|
|
117
|
-
require: false,
|
|
118
|
-
default: "outstanding-mempool"
|
|
119
|
-
},
|
|
120
|
-
"redis-gas-price-queue-url": {
|
|
121
|
-
description: "Redis connection URL (required if redis-gas-price-queue is enabled)",
|
|
122
|
-
type: "string",
|
|
123
|
-
require: false
|
|
124
|
-
},
|
|
125
|
-
"redis-gas-price-queue-name": {
|
|
126
|
-
description: "Queue name to store gas prices",
|
|
127
|
-
type: "string",
|
|
128
|
-
require: false,
|
|
129
|
-
default: "gas-price"
|
|
130
|
-
},
|
|
131
|
-
"redis-sender-manager-url": {
|
|
132
|
-
description: "Redis connection URL (required if redis-sender-manager is enabled)",
|
|
133
|
-
type: "string",
|
|
134
|
-
require: false
|
|
135
|
-
},
|
|
136
|
-
"redis-sender-manager-queue-name": {
|
|
137
|
-
description: "Queue name to executors",
|
|
138
|
-
type: "string",
|
|
139
|
-
require: false,
|
|
140
|
-
default: "sender-manager"
|
|
141
|
-
},
|
|
142
|
-
"mempool-max-parallel-ops": {
|
|
143
|
-
description: "Maximum amount of parallel user ops to keep in the mempool (same sender, different nonce keys)",
|
|
144
|
-
type: "number",
|
|
145
|
-
require: false,
|
|
146
|
-
default: 10
|
|
147
|
-
},
|
|
148
|
-
"mempool-max-queued-ops": {
|
|
149
|
-
description: "Maximum amount of sequential user ops to keep in the mempool (same sender and nonce key, different nonce values)",
|
|
150
|
-
type: "number",
|
|
151
|
-
require: false,
|
|
152
|
-
default: 0
|
|
153
|
-
},
|
|
154
|
-
"enforce-unique-senders-per-bundle": {
|
|
155
|
-
description: "Include user ops with the same sender in the single bundle",
|
|
156
|
-
type: "boolean",
|
|
157
|
-
require: false,
|
|
158
|
-
default: true
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
exports.gasEstimationOptions = {
|
|
162
|
-
"entrypoint-simulation-contract-v7": {
|
|
163
|
-
description: "Address of the EntryPoint simulations contract for v7",
|
|
164
|
-
type: "string",
|
|
165
|
-
alias: "c",
|
|
166
|
-
require: false
|
|
167
|
-
},
|
|
168
|
-
"entrypoint-simulation-contract-v8": {
|
|
169
|
-
description: "Address of the EntryPoint simulations contract for v8",
|
|
170
|
-
type: "string",
|
|
171
|
-
alias: "c",
|
|
172
|
-
require: false
|
|
173
|
-
},
|
|
174
|
-
"binary-search-tolerance-delta": {
|
|
175
|
-
description: "Defines the threshold for when to stop the gas estimation binary search",
|
|
176
|
-
type: "string",
|
|
177
|
-
require: false,
|
|
178
|
-
default: "10000"
|
|
179
|
-
},
|
|
180
|
-
"binary-search-gas-allowance": {
|
|
181
|
-
description: "Added to the initial minimum gas to determine the upper bound of the binary search",
|
|
182
|
-
type: "string",
|
|
183
|
-
require: false,
|
|
184
|
-
default: "30000000"
|
|
185
|
-
},
|
|
186
|
-
"v6-call-gas-limit-multiplier": {
|
|
187
|
-
description: "Amount to multiply the callGasLimits fetched from simulations for v6 userOperations",
|
|
188
|
-
type: "string",
|
|
189
|
-
require: true,
|
|
190
|
-
default: "100"
|
|
191
|
-
},
|
|
192
|
-
"v6-verification-gas-limit-multiplier": {
|
|
193
|
-
description: "Amount to multiply the verificationGasLimit fetched from simulations for v6 userOperations",
|
|
194
|
-
type: "string",
|
|
195
|
-
require: true,
|
|
196
|
-
default: "100"
|
|
197
|
-
},
|
|
198
|
-
"v7-call-gas-limit-multiplier": {
|
|
199
|
-
description: "Amount to multiply the callGasLimit fetched from simulations for v7 userOperations",
|
|
200
|
-
type: "string",
|
|
201
|
-
require: true,
|
|
202
|
-
default: "100"
|
|
203
|
-
},
|
|
204
|
-
"v7-verification-gas-limit-multiplier": {
|
|
205
|
-
description: "Amount to multiply the verificationGasLimits fetched from simulations for v7 userOperations",
|
|
206
|
-
type: "string",
|
|
207
|
-
require: true,
|
|
208
|
-
default: "130"
|
|
209
|
-
},
|
|
210
|
-
"v7-paymaster-verification-gas-limit-multiplier": {
|
|
211
|
-
description: "Amount to multiply the paymasterVerificationGas limits fetched from simulations for v7 userOperations",
|
|
212
|
-
type: "string",
|
|
213
|
-
require: true,
|
|
214
|
-
default: "130"
|
|
215
|
-
},
|
|
216
|
-
"v7-paymaster-post-op-gas-limit-multiplier": {
|
|
217
|
-
description: "Amount to multiply the paymasterPostOp limits fetched from simulations for v7 userOperations",
|
|
218
|
-
type: "string",
|
|
219
|
-
require: true,
|
|
220
|
-
default: "120"
|
|
221
|
-
},
|
|
222
|
-
"paymaster-gas-limit-multiplier": {
|
|
223
|
-
description: "Amount to multiply the paymaster gas limits fetched from simulations",
|
|
224
|
-
type: "string",
|
|
225
|
-
require: true,
|
|
226
|
-
default: "110"
|
|
227
|
-
},
|
|
228
|
-
"simulation-call-gas-limit": {
|
|
229
|
-
description: "UserOperation's callGasLimit used during gas estimation simulations",
|
|
230
|
-
type: "string",
|
|
231
|
-
require: true,
|
|
232
|
-
default: "10000000"
|
|
233
|
-
},
|
|
234
|
-
"simulation-verification-gas-limit": {
|
|
235
|
-
description: "UserOperation's verificationGasLimit used during gas estimation simulations",
|
|
236
|
-
type: "string",
|
|
237
|
-
require: true,
|
|
238
|
-
default: "10000000"
|
|
239
|
-
},
|
|
240
|
-
"simulation-paymaster-verification-gas-limit": {
|
|
241
|
-
description: "UserOperation's paymasterVerificationGasLimit used during gas estimation simulations",
|
|
242
|
-
type: "string",
|
|
243
|
-
require: true,
|
|
244
|
-
default: "5000000"
|
|
245
|
-
},
|
|
246
|
-
"simulation-paymaster-post-op-gas-limit": {
|
|
247
|
-
description: "UserOperation's paymasterPostOpGasLimit used during gas estimation simulations",
|
|
248
|
-
type: "string",
|
|
249
|
-
require: true,
|
|
250
|
-
default: "2000000"
|
|
251
|
-
},
|
|
252
|
-
"eth-call-sender-address": {
|
|
253
|
-
description: "For permissioned chains, eth_call simulations require a whitelisted address as the sender",
|
|
254
|
-
type: "string"
|
|
255
|
-
},
|
|
256
|
-
"split-simulation-calls": {
|
|
257
|
-
description: "Should the bundler split estimation simulations into smaller calls.",
|
|
258
|
-
type: "boolean",
|
|
259
|
-
default: false
|
|
260
|
-
}
|
|
261
|
-
};
|
|
262
|
-
exports.executorOptions = {
|
|
263
|
-
"enable-fastlane": {
|
|
264
|
-
description: "Enable bundling v0.6 userOperations using the pfl_sendRawTransactionConditional endpoint",
|
|
265
|
-
type: "boolean",
|
|
266
|
-
default: false
|
|
267
|
-
},
|
|
268
|
-
"resubmit-stuck-timeout": {
|
|
269
|
-
description: "Amount of time before retrying a failed userOperation (in ms)",
|
|
270
|
-
type: "number",
|
|
271
|
-
require: true,
|
|
272
|
-
default: 10_000
|
|
273
|
-
},
|
|
274
|
-
"aa95-gas-multiplier": {
|
|
275
|
-
description: "Amount to multiply the current gas limit by if the bundling tx fails due to AA95",
|
|
276
|
-
type: "string",
|
|
277
|
-
require: false,
|
|
278
|
-
default: "125"
|
|
279
|
-
},
|
|
280
|
-
"resubmit-multiplier-ceiling": {
|
|
281
|
-
description: "Maximum multiplier for gasPrice when resubmitting transactions",
|
|
282
|
-
type: "string",
|
|
283
|
-
require: false,
|
|
284
|
-
default: "300"
|
|
285
|
-
},
|
|
286
|
-
"gas-limit-rounding-multiple": {
|
|
287
|
-
description: "Value to round transaction gas limit to the nearest multiple of",
|
|
288
|
-
type: "string",
|
|
289
|
-
require: false,
|
|
290
|
-
default: "4337"
|
|
291
|
-
},
|
|
292
|
-
"refilling-wallets": {
|
|
293
|
-
description: "Enable refilling wallets",
|
|
294
|
-
type: "boolean",
|
|
295
|
-
require: false,
|
|
296
|
-
default: true
|
|
297
|
-
},
|
|
298
|
-
"executor-gas-multiplier": {
|
|
299
|
-
description: "Amount to scale the gas estimations used for bundling",
|
|
300
|
-
type: "string",
|
|
301
|
-
default: "100"
|
|
302
|
-
},
|
|
303
|
-
"no-profit-bundling": {
|
|
304
|
-
description: "Bundle tx such that all beneficiary fees are spent on gas fees",
|
|
305
|
-
type: "boolean",
|
|
306
|
-
default: false
|
|
307
|
-
},
|
|
308
|
-
"refill-helper-contract": {
|
|
309
|
-
description: "Address of the Executor refill helper contract",
|
|
310
|
-
type: "string",
|
|
311
|
-
require: false
|
|
312
|
-
},
|
|
313
|
-
"executor-private-keys": {
|
|
314
|
-
description: "Private keys of the executor accounts split by commas",
|
|
315
|
-
type: "string",
|
|
316
|
-
alias: "x",
|
|
317
|
-
require: true
|
|
318
|
-
},
|
|
319
|
-
"utility-private-key": {
|
|
320
|
-
description: "Private key of the utility account",
|
|
321
|
-
type: "string",
|
|
322
|
-
alias: "u",
|
|
323
|
-
require: false
|
|
324
|
-
},
|
|
325
|
-
"utility-wallet-monitor": {
|
|
326
|
-
description: "Either to enable utility wallet monitor or not",
|
|
327
|
-
type: "boolean",
|
|
328
|
-
default: true
|
|
329
|
-
},
|
|
330
|
-
"utility-wallet-monitor-interval": {
|
|
331
|
-
description: "Interval for checking utility wallet balance",
|
|
332
|
-
type: "number",
|
|
333
|
-
default: 15 * 1000 // 15 seconds
|
|
334
|
-
},
|
|
335
|
-
"max-executors": {
|
|
336
|
-
description: "Maximum number of executor accounts to use from the list of executor private keys",
|
|
337
|
-
type: "number",
|
|
338
|
-
require: false
|
|
339
|
-
},
|
|
340
|
-
"min-executor-balance": {
|
|
341
|
-
description: "Minimum balance required for each executor account (below which the utility account will refill)",
|
|
342
|
-
type: "string"
|
|
343
|
-
},
|
|
344
|
-
"executor-refill-interval": {
|
|
345
|
-
description: "Interval to refill the signer balance (seconds)",
|
|
346
|
-
type: "number",
|
|
347
|
-
require: true,
|
|
348
|
-
default: 60 * 20
|
|
349
|
-
},
|
|
350
|
-
"transaction-underpriced-multiplier": {
|
|
351
|
-
description: "GasPrice Multiplier to use when retrying in event of Transaction Underpriced error",
|
|
352
|
-
type: "string",
|
|
353
|
-
require: false,
|
|
354
|
-
default: "150"
|
|
355
|
-
},
|
|
356
|
-
"send-handle-ops-retry-count": {
|
|
357
|
-
description: "Number of times to retry calling sendHandleOps transaction",
|
|
358
|
-
type: "number",
|
|
359
|
-
require: false,
|
|
360
|
-
default: 3
|
|
361
|
-
}
|
|
362
|
-
};
|
|
363
|
-
exports.compatibilityOptions = {
|
|
364
|
-
"chain-type": {
|
|
365
|
-
description: "Indicates what type of chain the bundler is running on",
|
|
366
|
-
type: "string",
|
|
367
|
-
choices: ["default", "op-stack", "arbitrum", "hedera", "mantle"],
|
|
368
|
-
default: "default"
|
|
369
|
-
},
|
|
370
|
-
"legacy-transactions": {
|
|
371
|
-
description: "Send a legacy transactions instead of an EIP-1559 transactions",
|
|
372
|
-
type: "boolean",
|
|
373
|
-
require: true,
|
|
374
|
-
default: false
|
|
375
|
-
},
|
|
376
|
-
"balance-override": {
|
|
377
|
-
description: "Override the sender native token balance during estimation",
|
|
378
|
-
type: "boolean",
|
|
379
|
-
require: true,
|
|
380
|
-
default: true
|
|
381
|
-
},
|
|
382
|
-
"flush-stuck-transactions-during-startup": {
|
|
383
|
-
description: "Flush stuck transactions with old nonces during bundler startup",
|
|
384
|
-
type: "boolean",
|
|
385
|
-
require: true,
|
|
386
|
-
default: false
|
|
387
|
-
},
|
|
388
|
-
"fixed-gas-limit-for-estimation": {
|
|
389
|
-
description: "Use a fixed value for gas limits during bundle transaction gas limit estimations",
|
|
390
|
-
type: "string",
|
|
391
|
-
require: false
|
|
392
|
-
},
|
|
393
|
-
"api-version": {
|
|
394
|
-
description: "API version (used for internal Pimlico versioning compatibility)",
|
|
395
|
-
type: "string",
|
|
396
|
-
require: true,
|
|
397
|
-
default: "v1,v2"
|
|
398
|
-
},
|
|
399
|
-
"is-gas-free-chain": {
|
|
400
|
-
description: "Indicates if the chain uses 0 for maxFee/maxPriorityFee",
|
|
401
|
-
type: "boolean",
|
|
402
|
-
default: false
|
|
403
|
-
},
|
|
404
|
-
"default-api-version": {
|
|
405
|
-
description: "Default API version",
|
|
406
|
-
type: "string",
|
|
407
|
-
require: false,
|
|
408
|
-
default: "v1"
|
|
409
|
-
},
|
|
410
|
-
"floor-max-fee-per-gas": {
|
|
411
|
-
description: "Minimum value for maxFeePerGas to enforce (in gwei)",
|
|
412
|
-
type: "string",
|
|
413
|
-
require: false
|
|
414
|
-
},
|
|
415
|
-
"floor-max-priority-fee-per-gas": {
|
|
416
|
-
description: "Minimum value for maxPriorityFeePerGas to enforce (in gwei)",
|
|
417
|
-
type: "string",
|
|
418
|
-
require: false
|
|
419
|
-
}
|
|
420
|
-
};
|
|
421
|
-
exports.serverOptions = {
|
|
422
|
-
port: {
|
|
423
|
-
description: "Port to listen on",
|
|
424
|
-
type: "number",
|
|
425
|
-
require: true,
|
|
426
|
-
default: 3000
|
|
427
|
-
},
|
|
428
|
-
timeout: {
|
|
429
|
-
description: "Timeout for incoming requests (in ms)",
|
|
430
|
-
type: "number",
|
|
431
|
-
require: false
|
|
432
|
-
},
|
|
433
|
-
"websocket-max-payload-size": {
|
|
434
|
-
description: "Maximum payload size for websocket messages in bytes (default to 1MB)",
|
|
435
|
-
type: "number",
|
|
436
|
-
require: false
|
|
437
|
-
},
|
|
438
|
-
websocket: {
|
|
439
|
-
description: "Enable websocket server",
|
|
440
|
-
type: "boolean",
|
|
441
|
-
require: false
|
|
442
|
-
}
|
|
443
|
-
};
|
|
444
|
-
exports.rpcOptions = {
|
|
445
|
-
"rpc-url": {
|
|
446
|
-
description: "RPC url to connect to",
|
|
447
|
-
type: "string",
|
|
448
|
-
alias: "r",
|
|
449
|
-
require: true
|
|
450
|
-
},
|
|
451
|
-
"send-transaction-rpc-url": {
|
|
452
|
-
description: "RPC url to send transactions to (e.g. flashbots relay)",
|
|
453
|
-
type: "string",
|
|
454
|
-
require: false
|
|
455
|
-
},
|
|
456
|
-
"polling-interval": {
|
|
457
|
-
description: "Polling interval for querying for new blocks (ms)",
|
|
458
|
-
type: "number",
|
|
459
|
-
require: true,
|
|
460
|
-
default: 1000
|
|
461
|
-
},
|
|
462
|
-
"max-block-range": {
|
|
463
|
-
description: "Max block range for getLogs calls",
|
|
464
|
-
type: "number",
|
|
465
|
-
default: 2000,
|
|
466
|
-
require: false
|
|
467
|
-
},
|
|
468
|
-
"block-tag-support": {
|
|
469
|
-
description: "Disable sending block tag when sending eth_estimateGas call",
|
|
470
|
-
type: "boolean",
|
|
471
|
-
require: false,
|
|
472
|
-
default: true
|
|
473
|
-
},
|
|
474
|
-
"code-override-support": {
|
|
475
|
-
description: "Does the RPC support code overrides",
|
|
476
|
-
type: "boolean",
|
|
477
|
-
require: false,
|
|
478
|
-
default: true
|
|
479
|
-
}
|
|
480
|
-
};
|
|
481
|
-
exports.logOptions = {
|
|
482
|
-
"redis-queue-endpoint": {
|
|
483
|
-
description: "redis queue endpoint",
|
|
484
|
-
type: "string",
|
|
485
|
-
require: false
|
|
486
|
-
},
|
|
487
|
-
"redis-event-manager-queue-name": {
|
|
488
|
-
description: "redis event manager queue name",
|
|
489
|
-
type: "string",
|
|
490
|
-
require: false,
|
|
491
|
-
default: "UserOperationStatusBullEventsQueue"
|
|
492
|
-
},
|
|
493
|
-
json: {
|
|
494
|
-
description: "Log in JSON format",
|
|
495
|
-
type: "boolean",
|
|
496
|
-
require: true,
|
|
497
|
-
default: false
|
|
498
|
-
},
|
|
499
|
-
"log-level": {
|
|
500
|
-
description: "Default log level",
|
|
501
|
-
type: "string",
|
|
502
|
-
require: true,
|
|
503
|
-
choices: ["trace", "debug", "info", "warn", "error", "fatal"],
|
|
504
|
-
default: "info"
|
|
505
|
-
},
|
|
506
|
-
"public-client-log-level": {
|
|
507
|
-
description: "Log level for the publicClient module",
|
|
508
|
-
type: "string",
|
|
509
|
-
choices: ["trace", "debug", "info", "warn", "error", "fatal"],
|
|
510
|
-
require: false
|
|
511
|
-
},
|
|
512
|
-
"wallet-client-log-level": {
|
|
513
|
-
description: "Log level for the walletClient module",
|
|
514
|
-
type: "string",
|
|
515
|
-
choices: ["trace", "debug", "info", "warn", "error", "fatal"],
|
|
516
|
-
require: false
|
|
517
|
-
},
|
|
518
|
-
"rpc-log-level": {
|
|
519
|
-
description: "Log level for the rpc module",
|
|
520
|
-
type: "string",
|
|
521
|
-
choices: ["trace", "debug", "info", "warn", "error", "fatal"],
|
|
522
|
-
require: false
|
|
523
|
-
},
|
|
524
|
-
"mempool-log-level": {
|
|
525
|
-
description: "Log level for the mempool module",
|
|
526
|
-
type: "string",
|
|
527
|
-
choices: ["trace", "debug", "info", "warn", "error", "fatal"],
|
|
528
|
-
require: false
|
|
529
|
-
},
|
|
530
|
-
"executor-log-level": {
|
|
531
|
-
description: "Log level for the executor module",
|
|
532
|
-
type: "string",
|
|
533
|
-
choices: ["trace", "debug", "info", "warn", "error", "fatal"],
|
|
534
|
-
require: false
|
|
535
|
-
},
|
|
536
|
-
"reputation-manager-log-level": {
|
|
537
|
-
description: "Log level for the executor module",
|
|
538
|
-
type: "string",
|
|
539
|
-
choices: ["trace", "debug", "info", "warn", "error", "fatal"],
|
|
540
|
-
require: false
|
|
541
|
-
},
|
|
542
|
-
"nonce-queuer-log-level": {
|
|
543
|
-
description: "Log level for the executor module",
|
|
544
|
-
type: "string",
|
|
545
|
-
choices: ["trace", "debug", "info", "warn", "error", "fatal"],
|
|
546
|
-
require: false
|
|
547
|
-
}
|
|
548
|
-
};
|
|
549
|
-
exports.debugOptions = {
|
|
550
|
-
"bundle-mode": {
|
|
551
|
-
description: "Set if the bundler bundle user operations automatically or only when calling debug_bundler_sendBundleNow.",
|
|
552
|
-
type: "string",
|
|
553
|
-
require: true,
|
|
554
|
-
default: "auto",
|
|
555
|
-
choices: ["auto", "manual"]
|
|
556
|
-
},
|
|
557
|
-
"enable-debug-endpoints": {
|
|
558
|
-
description: "Enable debug endpoints",
|
|
559
|
-
type: "boolean",
|
|
560
|
-
require: true,
|
|
561
|
-
default: false
|
|
562
|
-
},
|
|
563
|
-
"expiration-check": {
|
|
564
|
-
description: "Should the node make expiration checks",
|
|
565
|
-
type: "boolean",
|
|
566
|
-
require: true,
|
|
567
|
-
default: true
|
|
568
|
-
},
|
|
569
|
-
"dangerous-skip-user-operation-validation": {
|
|
570
|
-
description: "Skip user operation validation, use with caution",
|
|
571
|
-
type: "boolean",
|
|
572
|
-
require: true,
|
|
573
|
-
default: false
|
|
574
|
-
},
|
|
575
|
-
"deploy-simulations-contract": {
|
|
576
|
-
description: "Should the bundler deploy the simulations contract on startup",
|
|
577
|
-
type: "boolean",
|
|
578
|
-
require: true,
|
|
579
|
-
default: true
|
|
580
|
-
}
|
|
581
|
-
};
|
|
582
|
-
exports.bundlerCommand = {
|
|
583
|
-
command: "$0",
|
|
584
|
-
describe: "Starts the bundler",
|
|
585
|
-
handler: handler_1.bundlerHandler
|
|
586
|
-
};
|
|
587
|
-
//# sourceMappingURL=options.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../cli/config/options.ts"],"names":[],"mappings":";;;AAAA,wCAA2C;AAe9B,QAAA,cAAc,GAAyC;IAChE,WAAW,EAAE;QACT,WAAW,EAAE,+CAA+C;QAC5D,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,GAAG;QACV,OAAO,EAAE,IAAI;KAChB;IACD,gCAAgC,EAAE;QAC9B,WAAW,EAAE,gDAAgD;QAC7D,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,GAAG;QACV,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,4CAA4C;KACxD;IACD,kBAAkB,EAAE;QAChB,WAAW,EAAE,+CAA+C;QAC5D,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,CAAC;KACb;IACD,0BAA0B,EAAE;QACxB,WAAW,EAAE,iCAAiC;QAC9C,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,CAAC;KACb;IACD,WAAW,EAAE;QACT,WAAW,EAAE,iDAAiD;QAC9D,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,IAAI;KAChB;IACD,gBAAgB,EAAE;QACd,WAAW,EAAE,yDAAyD;QACtE,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,KAAK;KACjB;IACD,kBAAkB,EAAE;QAChB,WAAW,EACP,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E,wBAAwB;QACrC,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,KAAK;KACjB;IACD,kBAAkB,EAAE;QAChB,WAAW,EAAE,wCAAwC;QACrD,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,IAAI;KAChB;IACD,0CAA0C,EAAE;QACxC,WAAW,EAAE,kDAAkD;QAC/D,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,KAAK;KACjB;IACD,6BAA6B,EAAE;QAC3B,WAAW,EACP,+DAA+D;QACnE,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,IAAI;KAChB;CACJ,CAAA;AAEY,QAAA,cAAc,GAA8B;IACrD,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,oBAAoB;IAC9B,OAAO,EAAE,wBAAc;CAC1B,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Logger } from "../utils/index.js";
|
|
2
|
-
import { type HttpTransport, type HttpTransportConfig } from "viem";
|
|
3
|
-
export type RpcRequest = {
|
|
4
|
-
jsonrpc?: "2.0" | undefined;
|
|
5
|
-
method: string;
|
|
6
|
-
params?: any | undefined;
|
|
7
|
-
id?: number | undefined;
|
|
8
|
-
};
|
|
9
|
-
export declare function customTransport(
|
|
10
|
-
/** URL of the JSON-RPC API. Defaults to the chain's public RPC URL. */
|
|
11
|
-
url_: string, config: HttpTransportConfig & {
|
|
12
|
-
logger: Logger;
|
|
13
|
-
}): HttpTransport;
|
|
14
|
-
//# sourceMappingURL=customTransport.d.ts.map
|