@pimlico/alto 0.0.0-main.20250428T212302 → 0.0.0-main.20250429T114818
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,316 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TestStorageAccountBytecode = exports.TestStorageAccountAbi = void 0;
|
|
4
|
-
exports.TestStorageAccountAbi = [
|
|
5
|
-
{
|
|
6
|
-
anonymous: false,
|
|
7
|
-
inputs: [
|
|
8
|
-
{
|
|
9
|
-
indexed: false,
|
|
10
|
-
internalType: "uint256",
|
|
11
|
-
name: "oldState",
|
|
12
|
-
type: "uint256"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
indexed: false,
|
|
16
|
-
internalType: "uint256",
|
|
17
|
-
name: "newState",
|
|
18
|
-
type: "uint256"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
name: "State",
|
|
22
|
-
type: "event"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
anonymous: false,
|
|
26
|
-
inputs: [
|
|
27
|
-
{
|
|
28
|
-
indexed: false,
|
|
29
|
-
internalType: "address",
|
|
30
|
-
name: "eventSender",
|
|
31
|
-
type: "address"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
name: "TestMessage",
|
|
35
|
-
type: "event"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
inputs: [
|
|
39
|
-
{
|
|
40
|
-
internalType: "contract IEntryPoint",
|
|
41
|
-
name: "entryPoint",
|
|
42
|
-
type: "address"
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
name: "addStake",
|
|
46
|
-
outputs: [],
|
|
47
|
-
stateMutability: "payable",
|
|
48
|
-
type: "function"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
inputs: [],
|
|
52
|
-
name: "coin",
|
|
53
|
-
outputs: [
|
|
54
|
-
{
|
|
55
|
-
internalType: "contract TestCoin",
|
|
56
|
-
name: "",
|
|
57
|
-
type: "address"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
stateMutability: "view",
|
|
61
|
-
type: "function"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
inputs: [
|
|
65
|
-
{
|
|
66
|
-
internalType: "enum IPaymaster.PostOpMode",
|
|
67
|
-
name: "",
|
|
68
|
-
type: "uint8"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
internalType: "bytes",
|
|
72
|
-
name: "",
|
|
73
|
-
type: "bytes"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
internalType: "uint256",
|
|
77
|
-
name: "",
|
|
78
|
-
type: "uint256"
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
name: "postOp",
|
|
82
|
-
outputs: [],
|
|
83
|
-
stateMutability: "nonpayable",
|
|
84
|
-
type: "function"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
inputs: [
|
|
88
|
-
{
|
|
89
|
-
internalType: "string",
|
|
90
|
-
name: "rule",
|
|
91
|
-
type: "string"
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
name: "runRule",
|
|
95
|
-
outputs: [
|
|
96
|
-
{
|
|
97
|
-
internalType: "uint256",
|
|
98
|
-
name: "",
|
|
99
|
-
type: "uint256"
|
|
100
|
-
}
|
|
101
|
-
],
|
|
102
|
-
stateMutability: "nonpayable",
|
|
103
|
-
type: "function"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
inputs: [
|
|
107
|
-
{
|
|
108
|
-
internalType: "contract TestCoin",
|
|
109
|
-
name: "_coin",
|
|
110
|
-
type: "address"
|
|
111
|
-
}
|
|
112
|
-
],
|
|
113
|
-
name: "setCoin",
|
|
114
|
-
outputs: [
|
|
115
|
-
{
|
|
116
|
-
internalType: "uint256",
|
|
117
|
-
name: "",
|
|
118
|
-
type: "uint256"
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
stateMutability: "nonpayable",
|
|
122
|
-
type: "function"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
inputs: [
|
|
126
|
-
{
|
|
127
|
-
internalType: "uint256",
|
|
128
|
-
name: "_state",
|
|
129
|
-
type: "uint256"
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
name: "setState",
|
|
133
|
-
outputs: [],
|
|
134
|
-
stateMutability: "nonpayable",
|
|
135
|
-
type: "function"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
inputs: [
|
|
139
|
-
{
|
|
140
|
-
components: [
|
|
141
|
-
{
|
|
142
|
-
internalType: "address",
|
|
143
|
-
name: "sender",
|
|
144
|
-
type: "address"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
internalType: "uint256",
|
|
148
|
-
name: "nonce",
|
|
149
|
-
type: "uint256"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
internalType: "bytes",
|
|
153
|
-
name: "initCode",
|
|
154
|
-
type: "bytes"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
internalType: "bytes",
|
|
158
|
-
name: "callData",
|
|
159
|
-
type: "bytes"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
internalType: "uint256",
|
|
163
|
-
name: "callGasLimit",
|
|
164
|
-
type: "uint256"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
internalType: "uint256",
|
|
168
|
-
name: "verificationGasLimit",
|
|
169
|
-
type: "uint256"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
internalType: "uint256",
|
|
173
|
-
name: "preVerificationGas",
|
|
174
|
-
type: "uint256"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
internalType: "uint256",
|
|
178
|
-
name: "maxFeePerGas",
|
|
179
|
-
type: "uint256"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
internalType: "uint256",
|
|
183
|
-
name: "maxPriorityFeePerGas",
|
|
184
|
-
type: "uint256"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
internalType: "bytes",
|
|
188
|
-
name: "paymasterAndData",
|
|
189
|
-
type: "bytes"
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
internalType: "bytes",
|
|
193
|
-
name: "signature",
|
|
194
|
-
type: "bytes"
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
internalType: "struct UserOperation",
|
|
198
|
-
name: "userOp",
|
|
199
|
-
type: "tuple"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
internalType: "bytes32",
|
|
203
|
-
name: "userOpHash",
|
|
204
|
-
type: "bytes32"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
internalType: "uint256",
|
|
208
|
-
name: "maxCost",
|
|
209
|
-
type: "uint256"
|
|
210
|
-
}
|
|
211
|
-
],
|
|
212
|
-
name: "validatePaymasterUserOp",
|
|
213
|
-
outputs: [
|
|
214
|
-
{
|
|
215
|
-
internalType: "bytes",
|
|
216
|
-
name: "context",
|
|
217
|
-
type: "bytes"
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
internalType: "uint256",
|
|
221
|
-
name: "deadline",
|
|
222
|
-
type: "uint256"
|
|
223
|
-
}
|
|
224
|
-
],
|
|
225
|
-
stateMutability: "nonpayable",
|
|
226
|
-
type: "function"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
inputs: [
|
|
230
|
-
{
|
|
231
|
-
components: [
|
|
232
|
-
{
|
|
233
|
-
internalType: "address",
|
|
234
|
-
name: "sender",
|
|
235
|
-
type: "address"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
internalType: "uint256",
|
|
239
|
-
name: "nonce",
|
|
240
|
-
type: "uint256"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
internalType: "bytes",
|
|
244
|
-
name: "initCode",
|
|
245
|
-
type: "bytes"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
internalType: "bytes",
|
|
249
|
-
name: "callData",
|
|
250
|
-
type: "bytes"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
internalType: "uint256",
|
|
254
|
-
name: "callGasLimit",
|
|
255
|
-
type: "uint256"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
internalType: "uint256",
|
|
259
|
-
name: "verificationGasLimit",
|
|
260
|
-
type: "uint256"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
internalType: "uint256",
|
|
264
|
-
name: "preVerificationGas",
|
|
265
|
-
type: "uint256"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
internalType: "uint256",
|
|
269
|
-
name: "maxFeePerGas",
|
|
270
|
-
type: "uint256"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
internalType: "uint256",
|
|
274
|
-
name: "maxPriorityFeePerGas",
|
|
275
|
-
type: "uint256"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
internalType: "bytes",
|
|
279
|
-
name: "paymasterAndData",
|
|
280
|
-
type: "bytes"
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
internalType: "bytes",
|
|
284
|
-
name: "signature",
|
|
285
|
-
type: "bytes"
|
|
286
|
-
}
|
|
287
|
-
],
|
|
288
|
-
internalType: "struct UserOperation",
|
|
289
|
-
name: "userOp",
|
|
290
|
-
type: "tuple"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
internalType: "bytes32",
|
|
294
|
-
name: "",
|
|
295
|
-
type: "bytes32"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
internalType: "uint256",
|
|
299
|
-
name: "missingAccountFunds",
|
|
300
|
-
type: "uint256"
|
|
301
|
-
}
|
|
302
|
-
],
|
|
303
|
-
name: "validateUserOp",
|
|
304
|
-
outputs: [
|
|
305
|
-
{
|
|
306
|
-
internalType: "uint256",
|
|
307
|
-
name: "",
|
|
308
|
-
type: "uint256"
|
|
309
|
-
}
|
|
310
|
-
],
|
|
311
|
-
stateMutability: "nonpayable",
|
|
312
|
-
type: "function"
|
|
313
|
-
}
|
|
314
|
-
];
|
|
315
|
-
exports.TestStorageAccountBytecode = "0x608060405234801561001057600080fd5b50611103806100206000396000f3fe60806040526004361061007b5760003560e01c8063a9a234091161004e578063a9a2340914610140578063a9e966b714610161578063cd330fb014610181578063f465c77e146101a157600080fd5b8063107679041461008057806311df9995146100955780633a871cdd146100d257806382e46b7514610100575b600080fd5b61009361008e366004610d1a565b6101cf565b005b3480156100a157600080fd5b506001546100b5906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100de57600080fd5b506100f26100ed366004610d3e565b61022d565b6040519081526020016100c9565b34801561010c57600080fd5b506100f261011b366004610d1a565b600180546001600160a01b0319166001600160a01b0392909216919091179055600090565b34801561014c57600080fd5b5061009361015b366004610d92565b50505050565b34801561016d57600080fd5b5061009361017c366004610e21565b6102d7565b34801561018d57600080fd5b506100f261019c366004610e50565b610318565b3480156101ad57600080fd5b506101c16101bc366004610d3e565b610a40565b6040516100c9929190610f59565b604051621cb65b60e51b8152600160048201526001600160a01b03821690630396cb609034906024016000604051808303818588803b15801561021157600080fd5b505af1158015610225573d6000803e3d6000fd5b505050505050565b6000811561028157604051600090339084908381818185875af1925050503d8060008114610277576040519150601f19603f3d011682016040523d82523d6000602084013e61027c565b606091505b505050505b6102cc610292610140860186610f7b565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061031892505050565b506000949350505050565b60005460408051918252602082018390527fe56f542cbdb0e18291d73ec9fd0b443112d0b4f547479e1303ffbc1007cc4f0f910160405180910390a1600055565b604080518082019091526006815265373ab6b132b960d11b6020918201528151908201206000907ff648814c67221440671fd7c2de979db4020a9320fb7985ff79ca8e7dced277f80361036c575043919050565b60408051808201909152600c81526b3130b630b731b296b9b2b63360a11b6020918201528251908301207fe1eb40348c4d42c6f93b840cbedec69afb249b96fd8af4bcbeed87fcef3815d80361042f576001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a08231906024015b602060405180830381865afa158015610405573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104299190610fc9565b92915050565b60408051808201909152600981526836b4b73a16b9b2b63360b91b6020918201528251908301207f39509d2173ec8a4262a15fa569ebaeed05ddef813417dbd2877e415703355b6e036104c7576001546040516335313c2160e11b81523060048201526001600160a01b0390911690636a627842906024015b6020604051808303816000875af1158015610405573d6000803e3d6000fd5b60408051808201909152600981526862616c616e63652d3160b81b6020918201528251908301207f48bf62c98ebd199a8c4fa7e17d20fdbda06a014deb397741460366ff7e1e07550361054557600180546040516370a0823160e01b815260048101929092526001600160a01b0316906370a08231906024016103e8565b6040805180820190915260068152656d696e742d3160d01b6020918201528251908301207ff794573481a09002e3e46f42daa5499159620e2a2cc3f5bdd26c0a2669544d93036105c057600180546040516335313c2160e11b815260048101929092526001600160a01b031690636a627842906024016104a8565b6040805180820190915260098152683932b0b216b9b2b63360b91b6020918201528251908301207fe747e51a5f7ad590b9fccede410368a5290f3882b98279585394331e760e1f270361061e5750506001546001600160a01b031690565b60408051808201909152601081526f616c6c6f77616e63652d73656c662d3160801b6020918201528251908301207fcc3befdbd4c845f2f5f48ac59e621de2a47c26950d22d6092b4c2ffafdfc7f9f036106a95760018054604051636eb1769f60e11b815230600482015260248101929092526001600160a01b03169063dd62ed3e906044016103e8565b60408051808201909152601081526f30b63637bbb0b731b2969896b9b2b63360811b6020918201528251908301207f46b549298973374f07ae868394b73f37c1cf6f25e976e36f99f1abbe6a5284e6036107345760018054604051636eb1769f60e11b815260048101929092523060248301526001600160a01b03169063dd62ed3e906044016103e8565b60408051808201909152600b81526a39ba393ab1ba16b9b2b63360a91b6020918201528251908301207e05e75ff00cb9bce888bba342b06e4b9d4695ba7caf0afdef7ef8cf6735bb7d036107fe5760015460405160016222a30f60e01b031981523060048201526001600160a01b039091169063ffdd5cf1906024015b6060604051808303816000875af11580156107d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f49190610fe2565b6040015192915050565b6040805180820190915260088152677374727563742d3160c01b6020918201528251908301207f416c09f102f2ef6799166d01fa870b6995b38e93784afdbdda0c68b94ab7eadd0361087e576001805460405160016222a30f60e01b0319815260048101929092526001600160a01b03169063ffdd5cf1906024016107b1565b60408051808201909152600c81526b1a5b9b995c8b5c995d995c9d60a21b6020918201528251908301207fc78ed5b2fc828eecd2c4fb3d39653e18c93b7d1815a5571aa088439dec36211a0361096c5760015460408051640100000000600160c01b03602084811b919091166325d9185c17831b908201526000926001600160a01b0316910160408051601f198184030181529082905261091e9161103e565b6000604051808303816000865af19150503d806000811461095b576040519150601f19603f3d011682016040523d82523d6000602084013e610960565b606091505b50600095945050505050565b6040805180820190915260038152626f6f6760e81b6020918201528251908301207f106495a8f613c9fc38a970d5fb1d6be2ed483721cd6d69eb72a826a46ca87b0503610a3757600160009054906101000a90046001600160a01b03166001600160a01b0316633b6a02f66127106040518263ffffffff1660e01b815260040160206040518083038160008887f193505050508015610a28575060408051601f3d908101601f19168201909252610a2591810190610fc9565b60015b15610a2f57505b506000919050565b61042982610b31565b6060600080610a53610120870187610f7b565b610a6191601490829061105a565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505060408051808201909152600e81526d1c1bdcdd13dc0b58dbdb9d195e1d60921b60209182015283519084012092935050507fa5c5a2573a01687081241ad21c031e4220a49723dbd63e3fcdfcf266f286434203610b1857505060408051808201909152600c81526b1cdbdb594b58dbdb9d195e1d60a21b602082015290506000610b29565b610b23868686610c80565b92509250505b935093915050565b6040805160208082019092526000908190528251918301919091207fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47003610b7a57506000919050565b6040805180820190915260028152616f6b60f01b6020918201528251908301207f14502d3ab34ae28d404da8f6ec0501c6f295f66caa41e122cfa9b1291bc0f9e803610bc857506000919050565b60408051808201909152600481526319985a5b60e21b6020918201528251908301207f3b2564d7e0fe091d49b4c20f4632191e4ed6986bf993849879abfef9465def2503610c495760405162461bcd60e51b81526020600482015260096024820152686661696c2072756c6560b81b60448201526064015b60405180910390fd5b81604051602001610c5a9190611084565b60408051601f198184030181529082905262461bcd60e51b8252610c40916004016110ba565b6060600080610c93610120870187610f7b565b610ca191601490829061105a565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929350610ce492508391506103189050565b50506040805160208101909152600080825290969095509350505050565b6001600160a01b0381168114610d1757600080fd5b50565b600060208284031215610d2c57600080fd5b8135610d3781610d02565b9392505050565b600080600060608486031215610d5357600080fd5b833567ffffffffffffffff811115610d6a57600080fd5b84016101608187031215610d7d57600080fd5b95602085013595506040909401359392505050565b60008060008060608587031215610da857600080fd5b843560038110610db757600080fd5b9350602085013567ffffffffffffffff80821115610dd457600080fd5b818701915087601f830112610de857600080fd5b813581811115610df757600080fd5b886020828501011115610e0957600080fd5b95986020929092019750949560400135945092505050565b600060208284031215610e3357600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600060208284031215610e6257600080fd5b813567ffffffffffffffff80821115610e7a57600080fd5b818401915084601f830112610e8e57600080fd5b813581811115610ea057610ea0610e3a565b604051601f8201601f19908116603f01168101908382118183101715610ec857610ec8610e3a565b81604052828152876020848701011115610ee157600080fd5b826020860160208301376000928101602001929092525095945050505050565b60005b83811015610f1c578181015183820152602001610f04565b8381111561015b5750506000910152565b60008151808452610f45816020860160208601610f01565b601f01601f19169290920160200192915050565b604081526000610f6c6040830185610f2d565b90508260208301529392505050565b6000808335601e19843603018112610f9257600080fd5b83018035915067ffffffffffffffff821115610fad57600080fd5b602001915036819003821315610fc257600080fd5b9250929050565b600060208284031215610fdb57600080fd5b5051919050565b600060608284031215610ff457600080fd5b6040516060810181811067ffffffffffffffff8211171561101757611017610e3a565b80604052508251815260208301516020820152604083015160408201528091505092915050565b60008251611050818460208701610f01565b9190910192915050565b6000808585111561106a57600080fd5b8386111561107757600080fd5b5050820193919092039150565b6d03ab735b737bbb710393ab6329d160951b8152600082516110ad81600e850160208701610f01565b91909101600e0192915050565b602081526000610d376020830184610f2d56fea2646970667358221220574b6029aec2914882063fae6590155da5a4c11dc20c39e193b554aa58e9d09364736f6c634300080f0033";
|
|
316
|
-
//# sourceMappingURL=TestStorageAccount.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TestStorageAccount.js","sourceRoot":"","sources":["../../../types/contracts/TestStorageAccount.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAiC;IAC/D;QACI,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACJ;gBACI,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAClB;YACD;gBACI,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAClB;SACJ;QACD,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,OAAO;KAChB;IACD;QACI,SAAS,EAAE,KAAK;QACh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-1,17 +0,0 @@
|
|
|
1
|
-
export * from "./CallEngine.js";
|
|
2
|
-
export * from "./EntryPoint.js";
|
|
3
|
-
export * from "./IPaymaster.js";
|
|
4
|
-
export * from "./SenderCreator.js";
|
|
5
|
-
export * from "./SimpleAccountFactory.js";
|
|
6
|
-
export * from "./TestOpcodesAccount.js";
|
|
7
|
-
export * from "./TestOpcodesAccountFactory.js";
|
|
8
|
-
export * from "./TestStorageAccount.js";
|
|
9
|
-
export * from "./SimpleAccountFactory.js";
|
|
10
|
-
export * from "./CodeHashGetter.js";
|
|
11
|
-
export * from "./EntryPointSimulationsV6.js";
|
|
12
|
-
export * from "./EntryPointSimulationsV7.js";
|
|
13
|
-
export * from "./PimlicoEntryPointSimulations.js";
|
|
14
|
-
export * from "./ArbitrumL1FeeAbi.js";
|
|
15
|
-
export * from "./MantleBvmGasPriceOracle.js";
|
|
16
|
-
export * from "./OpL1FeeAbi.js";
|
|
17
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./CallEngine.js"), exports);
|
|
18
|
-
__exportStar(require("./EntryPoint.js"), exports);
|
|
19
|
-
__exportStar(require("./IPaymaster.js"), exports);
|
|
20
|
-
__exportStar(require("./SenderCreator.js"), exports);
|
|
21
|
-
__exportStar(require("./SimpleAccountFactory.js"), exports);
|
|
22
|
-
__exportStar(require("./TestOpcodesAccount.js"), exports);
|
|
23
|
-
__exportStar(require("./TestOpcodesAccountFactory.js"), exports);
|
|
24
|
-
__exportStar(require("./TestStorageAccount.js"), exports);
|
|
25
|
-
__exportStar(require("./SimpleAccountFactory.js"), exports);
|
|
26
|
-
__exportStar(require("./CodeHashGetter.js"), exports);
|
|
27
|
-
__exportStar(require("./EntryPointSimulationsV6.js"), exports);
|
|
28
|
-
__exportStar(require("./EntryPointSimulationsV7.js"), exports);
|
|
29
|
-
__exportStar(require("./PimlicoEntryPointSimulations.js"), exports);
|
|
30
|
-
__exportStar(require("./ArbitrumL1FeeAbi.js"), exports);
|
|
31
|
-
__exportStar(require("./MantleBvmGasPriceOracle.js"), exports);
|
|
32
|
-
__exportStar(require("./OpL1FeeAbi.js"), exports);
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,+CAA4B;AAC5B,+CAA4B;AAC5B,kDAA+B;AAC/B,yDAAsC;AACtC,uDAAoC;AACpC,8DAA2C;AAC3C,uDAAoC;AACpC,yDAAsC;AACtC,mDAAgC;AAChC,4DAAyC;AACzC,4DAAyC;AACzC,iEAA8C;AAC9C,qDAAkC;AAClC,4DAAyC;AACzC,+CAA4B"}
|
package/lib/types/gasPrice.d.ts
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
declare const gasPrice: z.ZodEffects<z.ZodObject<{
|
|
3
|
-
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, bigint, string | number>;
|
|
4
|
-
maxPriorityFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, bigint, string | number>;
|
|
5
|
-
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
maxFee: bigint;
|
|
7
|
-
maxPriorityFee: bigint;
|
|
8
|
-
}, {
|
|
9
|
-
maxFee: string | number;
|
|
10
|
-
maxPriorityFee: string | number;
|
|
11
|
-
}>, {
|
|
12
|
-
maxFeePerGas: bigint;
|
|
13
|
-
maxPriorityFeePerGas: bigint;
|
|
14
|
-
}, {
|
|
15
|
-
maxFee: string | number;
|
|
16
|
-
maxPriorityFee: string | number;
|
|
17
|
-
}>;
|
|
18
|
-
export declare const gasStationResult: z.ZodObject<{
|
|
19
|
-
safeLow: z.ZodEffects<z.ZodObject<{
|
|
20
|
-
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, bigint, string | number>;
|
|
21
|
-
maxPriorityFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, bigint, string | number>;
|
|
22
|
-
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
maxFee: bigint;
|
|
24
|
-
maxPriorityFee: bigint;
|
|
25
|
-
}, {
|
|
26
|
-
maxFee: string | number;
|
|
27
|
-
maxPriorityFee: string | number;
|
|
28
|
-
}>, {
|
|
29
|
-
maxFeePerGas: bigint;
|
|
30
|
-
maxPriorityFeePerGas: bigint;
|
|
31
|
-
}, {
|
|
32
|
-
maxFee: string | number;
|
|
33
|
-
maxPriorityFee: string | number;
|
|
34
|
-
}>;
|
|
35
|
-
standard: z.ZodEffects<z.ZodObject<{
|
|
36
|
-
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, bigint, string | number>;
|
|
37
|
-
maxPriorityFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, bigint, string | number>;
|
|
38
|
-
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
maxFee: bigint;
|
|
40
|
-
maxPriorityFee: bigint;
|
|
41
|
-
}, {
|
|
42
|
-
maxFee: string | number;
|
|
43
|
-
maxPriorityFee: string | number;
|
|
44
|
-
}>, {
|
|
45
|
-
maxFeePerGas: bigint;
|
|
46
|
-
maxPriorityFeePerGas: bigint;
|
|
47
|
-
}, {
|
|
48
|
-
maxFee: string | number;
|
|
49
|
-
maxPriorityFee: string | number;
|
|
50
|
-
}>;
|
|
51
|
-
fast: z.ZodEffects<z.ZodObject<{
|
|
52
|
-
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, bigint, string | number>;
|
|
53
|
-
maxPriorityFee: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, bigint, string | number>;
|
|
54
|
-
}, "strip", z.ZodTypeAny, {
|
|
55
|
-
maxFee: bigint;
|
|
56
|
-
maxPriorityFee: bigint;
|
|
57
|
-
}, {
|
|
58
|
-
maxFee: string | number;
|
|
59
|
-
maxPriorityFee: string | number;
|
|
60
|
-
}>, {
|
|
61
|
-
maxFeePerGas: bigint;
|
|
62
|
-
maxPriorityFeePerGas: bigint;
|
|
63
|
-
}, {
|
|
64
|
-
maxFee: string | number;
|
|
65
|
-
maxPriorityFee: string | number;
|
|
66
|
-
}>;
|
|
67
|
-
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
safeLow: {
|
|
69
|
-
maxFeePerGas: bigint;
|
|
70
|
-
maxPriorityFeePerGas: bigint;
|
|
71
|
-
};
|
|
72
|
-
standard: {
|
|
73
|
-
maxFeePerGas: bigint;
|
|
74
|
-
maxPriorityFeePerGas: bigint;
|
|
75
|
-
};
|
|
76
|
-
fast: {
|
|
77
|
-
maxFeePerGas: bigint;
|
|
78
|
-
maxPriorityFeePerGas: bigint;
|
|
79
|
-
};
|
|
80
|
-
}, {
|
|
81
|
-
safeLow: {
|
|
82
|
-
maxFee: string | number;
|
|
83
|
-
maxPriorityFee: string | number;
|
|
84
|
-
};
|
|
85
|
-
standard: {
|
|
86
|
-
maxFee: string | number;
|
|
87
|
-
maxPriorityFee: string | number;
|
|
88
|
-
};
|
|
89
|
-
fast: {
|
|
90
|
-
maxFee: string | number;
|
|
91
|
-
maxPriorityFee: string | number;
|
|
92
|
-
};
|
|
93
|
-
}>;
|
|
94
|
-
export declare const gasPriceMultipliers: z.ZodObject<{
|
|
95
|
-
slow: z.ZodBigInt;
|
|
96
|
-
standard: z.ZodBigInt;
|
|
97
|
-
fast: z.ZodBigInt;
|
|
98
|
-
}, "strip", z.ZodTypeAny, {
|
|
99
|
-
standard: bigint;
|
|
100
|
-
fast: bigint;
|
|
101
|
-
slow: bigint;
|
|
102
|
-
}, {
|
|
103
|
-
standard: bigint;
|
|
104
|
-
fast: bigint;
|
|
105
|
-
slow: bigint;
|
|
106
|
-
}>;
|
|
107
|
-
export type GasPriceMultipliers = z.infer<typeof gasPriceMultipliers>;
|
|
108
|
-
export type GasPriceParameters = z.infer<typeof gasPrice>;
|
|
109
|
-
export {};
|
|
110
|
-
//# sourceMappingURL=gasPrice.d.ts.map
|
package/lib/types/gasPrice.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// {"safeLow":{"maxPriorityFee":32.70666665266667,"maxFee":32.70666666866667},"standard":{"maxPriorityFee":33.10666665266667,"maxFee":33.10666666866667},"fast":{"maxPriorityFee":34.54799998386667,"maxFee":34.54799999986667},"estimatedBaseFee":1.6e-8,"blockTime":2,"blockNumber":36422482}
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.gasPriceMultipliers = exports.gasStationResult = void 0;
|
|
5
|
-
// {
|
|
6
|
-
// "safeLow": {
|
|
7
|
-
// "maxPriorityFee": 10.474218399333333,
|
|
8
|
-
// "maxFee": 10.474218415333333
|
|
9
|
-
// },
|
|
10
|
-
// "standard": {
|
|
11
|
-
// "maxPriorityFee": 10.674218398266666,
|
|
12
|
-
// "maxFee": 10.674218414266665
|
|
13
|
-
// },
|
|
14
|
-
// "fast": {
|
|
15
|
-
// "maxPriorityFee": 15.771550529,
|
|
16
|
-
// "maxFee": 15.771550545
|
|
17
|
-
// },
|
|
18
|
-
// "estimatedBaseFee": 1.6e-08,
|
|
19
|
-
// "blockTime": 2,
|
|
20
|
-
// "blockNumber": 36422513
|
|
21
|
-
// }
|
|
22
|
-
const viem_1 = require("viem");
|
|
23
|
-
const zod_1 = require("zod");
|
|
24
|
-
const gasPrice = zod_1.z
|
|
25
|
-
.object({
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
maxFee: zod_1.z
|
|
28
|
-
.union([zod_1.z.number(), zod_1.z.string()])
|
|
29
|
-
.transform((val) => (0, viem_1.parseGwei)(`${val}`)),
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
maxPriorityFee: zod_1.z
|
|
32
|
-
.union([zod_1.z.number(), zod_1.z.string()])
|
|
33
|
-
.transform((val) => (0, viem_1.parseGwei)(`${val}`))
|
|
34
|
-
})
|
|
35
|
-
.transform((val) => {
|
|
36
|
-
return {
|
|
37
|
-
maxFeePerGas: val.maxFee,
|
|
38
|
-
maxPriorityFeePerGas: val.maxPriorityFee
|
|
39
|
-
};
|
|
40
|
-
});
|
|
41
|
-
exports.gasStationResult = zod_1.z.object({
|
|
42
|
-
safeLow: gasPrice,
|
|
43
|
-
standard: gasPrice,
|
|
44
|
-
fast: gasPrice
|
|
45
|
-
// @ts-ignore
|
|
46
|
-
// estimatedBaseFee: z.union([z.number(), z.string()]).transform((val) => parseGwei(`${val}`)),
|
|
47
|
-
// blockTime: z.number(),
|
|
48
|
-
// blockNumber: z.number()
|
|
49
|
-
});
|
|
50
|
-
exports.gasPriceMultipliers = zod_1.z.object({
|
|
51
|
-
slow: (0, zod_1.bigint)(),
|
|
52
|
-
standard: (0, zod_1.bigint)(),
|
|
53
|
-
fast: (0, zod_1.bigint)()
|
|
54
|
-
});
|
|
55
|
-
//# sourceMappingURL=gas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B;IACzB,0BAA0B;CAC7B,CAAC,CAAA;AAEW,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,IAAA,YAAM,GAAE;IACd,QAAQ,EAAE,IAAA,YAAM,GAAE;IAClB,IAAI,EAAE,IAAA,YAAM,GAAE;CACjB,CAAC,CAAA"}
|
package/lib/types/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "./contracts/index.js";
|
|
2
|
-
export * from "./gasPrice.js";
|
|
3
|
-
export * from "./mempool.js";
|
|
4
|
-
export * from "./utils.js";
|
|
5
|
-
export * from "./validation.js";
|
|
6
|
-
export * from "./schemas.js";
|
|
7
|
-
export * from "./validation.js";
|
|
8
|
-
export * from "./gasPrice.js";
|
|
9
|
-
export * from "./mempool.js";
|
|
10
|
-
export * from "./interfaces.js";
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
package/lib/types/index.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./contracts/index.js"), exports);
|
|
18
|
-
__exportStar(require("./gasPrice.js"), exports);
|
|
19
|
-
__exportStar(require("./mempool.js"), exports);
|
|
20
|
-
__exportStar(require("./utils.js"), exports);
|
|
21
|
-
__exportStar(require("./validation.js"), exports);
|
|
22
|
-
__exportStar(require("./schemas.js"), exports);
|
|
23
|
-
__exportStar(require("./validation.js"), exports);
|
|
24
|
-
__exportStar(require("./gasPrice.js"), exports);
|
|
25
|
-
__exportStar(require("./mempool.js"), exports);
|
|
26
|
-
__exportStar(require("./interfaces.js"), exports);
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
package/lib/types/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,6CAA0B;AAC1B,4CAAyB;AACzB,0CAAuB;AACvB,+CAA4B;AAC5B,4CAAyB;AACzB,+CAA4B;AAC5B,6CAA0B;AAC1B,4CAAyB;AACzB,+CAA4B"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { Address } from "viem";
|
|
2
|
-
import type { SimulateHandleOpResult } from "../rpc/estimation/types.js";
|
|
3
|
-
import type { ReferencedCodeHashes, StateOverrides, UserOperation, UserOperationV06, UserOperationV07 } from "./schemas.js";
|
|
4
|
-
import type * as validation from "./validation.js";
|
|
5
|
-
export interface InterfaceValidator {
|
|
6
|
-
validateHandleOp(args: {
|
|
7
|
-
userOperation: UserOperation;
|
|
8
|
-
entryPoint: Address;
|
|
9
|
-
queuedUserOperations: UserOperation[];
|
|
10
|
-
stateOverrides?: StateOverrides;
|
|
11
|
-
}): Promise<SimulateHandleOpResult<"execution">>;
|
|
12
|
-
getExecutionResult(args: {
|
|
13
|
-
userOperation: UserOperation;
|
|
14
|
-
entryPoint: Address;
|
|
15
|
-
queuedUserOperations: UserOperation[];
|
|
16
|
-
stateOverrides?: StateOverrides;
|
|
17
|
-
}): Promise<SimulateHandleOpResult<"execution">>;
|
|
18
|
-
getValidationResultV06(args: {
|
|
19
|
-
userOperation: UserOperationV06;
|
|
20
|
-
entryPoint: Address;
|
|
21
|
-
codeHashes?: ReferencedCodeHashes;
|
|
22
|
-
}): Promise<(validation.ValidationResult | validation.ValidationResultWithAggregation) & {
|
|
23
|
-
storageMap: validation.StorageMap;
|
|
24
|
-
referencedContracts?: ReferencedCodeHashes;
|
|
25
|
-
}>;
|
|
26
|
-
getValidationResultV07(args: {
|
|
27
|
-
userOperation: UserOperationV07;
|
|
28
|
-
queuedUserOperations: UserOperation[];
|
|
29
|
-
entryPoint: Address;
|
|
30
|
-
codeHashes?: ReferencedCodeHashes;
|
|
31
|
-
}): Promise<(validation.ValidationResult | validation.ValidationResultWithAggregation) & {
|
|
32
|
-
storageMap: validation.StorageMap;
|
|
33
|
-
referencedContracts?: ReferencedCodeHashes;
|
|
34
|
-
}>;
|
|
35
|
-
getValidationResult(args: {
|
|
36
|
-
userOperation: UserOperation;
|
|
37
|
-
queuedUserOperations: UserOperation[];
|
|
38
|
-
entryPoint: Address;
|
|
39
|
-
codeHashes?: ReferencedCodeHashes;
|
|
40
|
-
}): Promise<(validation.ValidationResult | validation.ValidationResultWithAggregation) & {
|
|
41
|
-
storageMap: validation.StorageMap;
|
|
42
|
-
referencedContracts?: ReferencedCodeHashes;
|
|
43
|
-
}>;
|
|
44
|
-
validatePreVerificationGas(args: {
|
|
45
|
-
userOperation: UserOperation;
|
|
46
|
-
entryPoint: Address;
|
|
47
|
-
}): Promise<void>;
|
|
48
|
-
validateUserOperation(args: {
|
|
49
|
-
userOperation: UserOperation;
|
|
50
|
-
queuedUserOperations: UserOperation[];
|
|
51
|
-
entryPoint: Address;
|
|
52
|
-
referencedContracts?: ReferencedCodeHashes;
|
|
53
|
-
}): Promise<(validation.ValidationResult | validation.ValidationResultWithAggregation) & {
|
|
54
|
-
storageMap: validation.StorageMap;
|
|
55
|
-
referencedContracts?: ReferencedCodeHashes;
|
|
56
|
-
}>;
|
|
57
|
-
}
|
|
58
|
-
//# sourceMappingURL=interfaces.d.ts.map
|