@pimlico/alto 0.0.0-main.20250303T125310 → 0.0.0-main.20250324T173034
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/esm/cli/alto.js +5 -3
- package/esm/cli/alto.js.map +1 -1
- package/esm/cli/config/bundler.d.ts +93 -36
- package/esm/cli/config/bundler.js +18 -3
- package/esm/cli/config/bundler.js.map +1 -1
- package/esm/cli/config/options.d.ts +2 -1
- package/esm/cli/config/options.js +65 -5
- package/esm/cli/config/options.js.map +1 -1
- package/esm/cli/handler.js +3 -4
- package/esm/cli/handler.js.map +1 -1
- package/esm/cli/setupServer.d.ts +1 -1
- package/esm/cli/setupServer.js +109 -49
- package/esm/cli/setupServer.js.map +1 -1
- package/esm/createConfig.d.ts +1 -0
- package/esm/createConfig.js +1 -0
- package/esm/createConfig.js.map +1 -1
- package/esm/executor/executor.d.ts +3 -3
- package/esm/executor/executor.js +1 -3
- package/esm/executor/executor.js.map +1 -1
- package/esm/executor/executorManager.d.ts +14 -12
- package/esm/executor/executorManager.js +131 -97
- package/esm/executor/executorManager.js.map +1 -1
- package/esm/executor/index.d.ts +1 -1
- package/esm/executor/index.js +1 -1
- package/esm/executor/senderManager/createMemorySenderManager.d.ts +8 -0
- package/esm/executor/senderManager/createMemorySenderManager.js +41 -0
- package/esm/executor/senderManager/createMemorySenderManager.js.map +1 -0
- package/esm/executor/senderManager/createRedisSenderManager.d.ts +8 -0
- package/esm/executor/senderManager/createRedisSenderManager.js +78 -0
- package/esm/executor/senderManager/createRedisSenderManager.js.map +1 -0
- package/esm/executor/senderManager/flushOnStartUp.d.ts +9 -0
- package/esm/executor/senderManager/flushOnStartUp.js +33 -0
- package/esm/executor/senderManager/flushOnStartUp.js.map +1 -0
- package/esm/executor/senderManager/index.d.ts +15 -0
- package/esm/executor/senderManager/index.js +20 -0
- package/esm/executor/senderManager/index.js.map +1 -0
- package/esm/executor/senderManager/validateAndRefill.d.ts +11 -0
- package/esm/executor/senderManager/validateAndRefill.js +111 -0
- package/esm/executor/senderManager/validateAndRefill.js.map +1 -0
- package/esm/executor/utils.d.ts +8 -2
- package/esm/executor/utils.js +9 -1
- package/esm/executor/utils.js.map +1 -1
- package/esm/handlers/arbitrumGasPriceManager.d.ts +7 -4
- package/esm/handlers/arbitrumGasPriceManager.js +19 -13
- package/esm/handlers/arbitrumGasPriceManager.js.map +1 -1
- package/esm/handlers/eventManager.js +5 -4
- package/esm/handlers/eventManager.js.map +1 -1
- package/esm/handlers/gasPriceManager.d.ts +1 -4
- package/esm/handlers/gasPriceManager.js +81 -48
- package/esm/handlers/gasPriceManager.js.map +1 -1
- package/esm/handlers/mantleGasPriceManager.d.ts +6 -3
- package/esm/handlers/mantleGasPriceManager.js +23 -11
- package/esm/handlers/mantleGasPriceManager.js.map +1 -1
- package/esm/handlers/optimismManager.d.ts +5 -2
- package/esm/handlers/optimismManager.js +8 -5
- package/esm/handlers/optimismManager.js.map +1 -1
- package/esm/mempool/index.d.ts +0 -1
- package/esm/mempool/index.js +0 -1
- package/esm/mempool/index.js.map +1 -1
- package/esm/mempool/mempool.d.ts +95 -27
- package/esm/mempool/mempool.js +132 -252
- package/esm/mempool/mempool.js.map +1 -1
- package/esm/mempool/monitoring.d.ts +8 -4
- package/esm/mempool/monitoring.js +72 -9
- package/esm/mempool/monitoring.js.map +1 -1
- package/esm/rpc/estimation/gasEstimationHandler.d.ts +10 -4
- package/esm/rpc/estimation/gasEstimationHandler.js +16 -19
- package/esm/rpc/estimation/gasEstimationHandler.js.map +1 -1
- package/esm/rpc/estimation/gasEstimationsV07.d.ts +7 -0
- package/esm/rpc/estimation/gasEstimationsV07.js +69 -4
- package/esm/rpc/estimation/gasEstimationsV07.js.map +1 -1
- package/esm/rpc/methods/debug_bundler_clearReputation.js.map +1 -1
- package/esm/rpc/methods/debug_bundler_dumpMempool.js +2 -2
- package/esm/rpc/methods/debug_bundler_dumpMempool.js.map +1 -1
- package/esm/rpc/methods/debug_bundler_setBundlingMode.js.map +1 -1
- package/esm/rpc/methods/eth_chainId.js +1 -1
- package/esm/rpc/methods/eth_chainId.js.map +1 -1
- package/esm/rpc/methods/eth_sendUserOperation.js +2 -2
- package/esm/rpc/methods/eth_sendUserOperation.js.map +1 -1
- package/esm/rpc/methods/index.js +0 -5
- package/esm/rpc/methods/index.js.map +1 -1
- package/esm/rpc/methods/pimlico_sendUserOperationNow.js +2 -3
- package/esm/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -1
- package/esm/rpc/rpcHandler.d.ts +4 -7
- package/esm/rpc/rpcHandler.js +38 -37
- package/esm/rpc/rpcHandler.js.map +1 -1
- package/esm/rpc/validation/SafeValidator.js +2 -2
- package/esm/rpc/validation/SafeValidator.js.map +1 -1
- package/esm/rpc/validation/UnsafeValidator.d.ts +7 -2
- package/esm/rpc/validation/UnsafeValidator.js +20 -4
- package/esm/rpc/validation/UnsafeValidator.js.map +1 -1
- package/esm/store/createMemoryOutstandingStore.d.ts +28 -0
- package/esm/store/createMemoryOutstandingStore.js +221 -0
- package/esm/store/createMemoryOutstandingStore.js.map +1 -0
- package/esm/store/createMempoolStore.d.ts +8 -0
- package/esm/store/createMempoolStore.js +193 -0
- package/esm/store/createMempoolStore.js.map +1 -0
- package/esm/store/createRedisOutstandingStore.d.ts +27 -0
- package/esm/store/createRedisOutstandingStore.js +344 -0
- package/esm/store/createRedisOutstandingStore.js.map +1 -0
- package/esm/store/createRedisStore.d.ts +9 -0
- package/esm/store/createRedisStore.js +131 -0
- package/esm/store/createRedisStore.js.map +1 -0
- package/esm/store/createStore.d.ts +6 -0
- package/esm/store/createStore.js +66 -0
- package/esm/store/createStore.js.map +1 -0
- package/esm/store/index.d.ts +81 -0
- package/esm/store/index.js +2 -0
- package/esm/store/index.js.map +1 -0
- package/esm/types/interfaces.d.ts +7 -3
- package/esm/types/mempool.d.ts +2 -15
- package/esm/types/mempool.js.map +1 -1
- package/esm/types/schemas.d.ts +4617 -7632
- package/esm/types/schemas.js +19 -42
- package/esm/types/schemas.js.map +1 -1
- package/esm/utils/minMaxQueue/createMemoryMinMaxQueue.d.ts +6 -0
- package/esm/utils/minMaxQueue/createMemoryMinMaxQueue.js +53 -0
- package/esm/utils/minMaxQueue/createMemoryMinMaxQueue.js.map +1 -0
- package/esm/utils/minMaxQueue/createRedisMinMaxQueue.d.ts +7 -0
- package/esm/utils/minMaxQueue/createRedisMinMaxQueue.js +98 -0
- package/esm/utils/minMaxQueue/createRedisMinMaxQueue.js.map +1 -0
- package/esm/utils/minMaxQueue/index.d.ts +12 -0
- package/esm/utils/minMaxQueue/index.js +12 -0
- package/esm/utils/minMaxQueue/index.js.map +1 -0
- package/esm/utils/validation.js +8 -10
- package/esm/utils/validation.js.map +1 -1
- package/lib/cli/alto.js +3 -1
- package/lib/cli/alto.js.map +1 -1
- package/lib/cli/config/bundler.d.ts +93 -36
- package/lib/cli/config/bundler.js +19 -4
- package/lib/cli/config/bundler.js.map +1 -1
- package/lib/cli/config/options.d.ts +2 -1
- package/lib/cli/config/options.js +66 -6
- package/lib/cli/config/options.js.map +1 -1
- package/lib/cli/handler.js +3 -4
- package/lib/cli/handler.js.map +1 -1
- package/lib/cli/setupServer.d.ts +1 -1
- package/lib/cli/setupServer.js +108 -48
- package/lib/cli/setupServer.js.map +1 -1
- package/lib/createConfig.d.ts +1 -0
- package/lib/createConfig.js +1 -0
- package/lib/createConfig.js.map +1 -1
- package/lib/executor/executor.d.ts +3 -3
- package/lib/executor/executor.js +1 -3
- package/lib/executor/executor.js.map +1 -1
- package/lib/executor/executorManager.d.ts +14 -12
- package/lib/executor/executorManager.js +131 -97
- package/lib/executor/executorManager.js.map +1 -1
- package/lib/executor/index.d.ts +1 -1
- package/lib/executor/index.js +1 -1
- package/lib/executor/senderManager/createMemorySenderManager.d.ts +8 -0
- package/lib/executor/senderManager/createMemorySenderManager.js +45 -0
- package/lib/executor/senderManager/createMemorySenderManager.js.map +1 -0
- package/lib/executor/senderManager/createRedisSenderManager.d.ts +8 -0
- package/lib/executor/senderManager/createRedisSenderManager.js +85 -0
- package/lib/executor/senderManager/createRedisSenderManager.js.map +1 -0
- package/lib/executor/senderManager/flushOnStartUp.d.ts +9 -0
- package/lib/executor/senderManager/flushOnStartUp.js +37 -0
- package/lib/executor/senderManager/flushOnStartUp.js.map +1 -0
- package/lib/executor/senderManager/index.d.ts +15 -0
- package/lib/executor/senderManager/index.js +25 -0
- package/lib/executor/senderManager/index.js.map +1 -0
- package/lib/executor/senderManager/validateAndRefill.d.ts +11 -0
- package/lib/executor/senderManager/validateAndRefill.js +115 -0
- package/lib/executor/senderManager/validateAndRefill.js.map +1 -0
- package/lib/executor/utils.d.ts +8 -2
- package/lib/executor/utils.js +9 -1
- package/lib/executor/utils.js.map +1 -1
- package/lib/handlers/arbitrumGasPriceManager.d.ts +7 -4
- package/lib/handlers/arbitrumGasPriceManager.js +19 -13
- package/lib/handlers/arbitrumGasPriceManager.js.map +1 -1
- package/lib/handlers/eventManager.js +5 -4
- package/lib/handlers/eventManager.js.map +1 -1
- package/lib/handlers/gasPriceManager.d.ts +1 -4
- package/lib/handlers/gasPriceManager.js +81 -48
- package/lib/handlers/gasPriceManager.js.map +1 -1
- package/lib/handlers/mantleGasPriceManager.d.ts +6 -3
- package/lib/handlers/mantleGasPriceManager.js +23 -11
- package/lib/handlers/mantleGasPriceManager.js.map +1 -1
- package/lib/handlers/optimismManager.d.ts +5 -2
- package/lib/handlers/optimismManager.js +8 -5
- package/lib/handlers/optimismManager.js.map +1 -1
- package/lib/mempool/index.d.ts +0 -1
- package/lib/mempool/index.js +0 -1
- package/lib/mempool/index.js.map +1 -1
- package/lib/mempool/mempool.d.ts +95 -27
- package/lib/mempool/mempool.js +133 -253
- package/lib/mempool/mempool.js.map +1 -1
- package/lib/mempool/monitoring.d.ts +8 -4
- package/lib/mempool/monitoring.js +72 -9
- package/lib/mempool/monitoring.js.map +1 -1
- package/lib/rpc/estimation/gasEstimationHandler.d.ts +10 -4
- package/lib/rpc/estimation/gasEstimationHandler.js +15 -18
- package/lib/rpc/estimation/gasEstimationHandler.js.map +1 -1
- package/lib/rpc/estimation/gasEstimationsV07.d.ts +7 -0
- package/lib/rpc/estimation/gasEstimationsV07.js +69 -4
- package/lib/rpc/estimation/gasEstimationsV07.js.map +1 -1
- package/lib/rpc/methods/debug_bundler_clearReputation.js.map +1 -1
- package/lib/rpc/methods/debug_bundler_dumpMempool.js +2 -2
- package/lib/rpc/methods/debug_bundler_dumpMempool.js.map +1 -1
- package/lib/rpc/methods/debug_bundler_setBundlingMode.js.map +1 -1
- package/lib/rpc/methods/eth_chainId.js +1 -1
- package/lib/rpc/methods/eth_chainId.js.map +1 -1
- package/lib/rpc/methods/eth_sendUserOperation.js +2 -2
- package/lib/rpc/methods/eth_sendUserOperation.js.map +1 -1
- package/lib/rpc/methods/index.js +0 -5
- package/lib/rpc/methods/index.js.map +1 -1
- package/lib/rpc/methods/pimlico_sendUserOperationNow.js +2 -3
- package/lib/rpc/methods/pimlico_sendUserOperationNow.js.map +1 -1
- package/lib/rpc/rpcHandler.d.ts +4 -7
- package/lib/rpc/rpcHandler.js +38 -37
- package/lib/rpc/rpcHandler.js.map +1 -1
- package/lib/rpc/validation/SafeValidator.js +2 -2
- package/lib/rpc/validation/SafeValidator.js.map +1 -1
- package/lib/rpc/validation/UnsafeValidator.d.ts +7 -2
- package/lib/rpc/validation/UnsafeValidator.js +20 -4
- package/lib/rpc/validation/UnsafeValidator.js.map +1 -1
- package/lib/store/createMemoryOutstandingStore.d.ts +28 -0
- package/lib/store/createMemoryOutstandingStore.js +226 -0
- package/lib/store/createMemoryOutstandingStore.js.map +1 -0
- package/lib/store/createMempoolStore.d.ts +8 -0
- package/lib/store/createMempoolStore.js +197 -0
- package/lib/store/createMempoolStore.js.map +1 -0
- package/lib/store/createRedisOutstandingStore.d.ts +27 -0
- package/lib/store/createRedisOutstandingStore.js +349 -0
- package/lib/store/createRedisOutstandingStore.js.map +1 -0
- package/lib/store/createRedisStore.d.ts +9 -0
- package/lib/store/createRedisStore.js +138 -0
- package/lib/store/createRedisStore.js.map +1 -0
- package/lib/store/createStore.d.ts +6 -0
- package/lib/store/createStore.js +70 -0
- package/lib/store/createStore.js.map +1 -0
- package/lib/store/index.d.ts +81 -0
- package/lib/store/index.js +6 -0
- package/lib/store/index.js.map +1 -0
- package/lib/types/interfaces.d.ts +7 -3
- package/lib/types/mempool.d.ts +2 -15
- package/lib/types/mempool.js.map +1 -1
- package/lib/types/schemas.d.ts +4617 -7632
- package/lib/types/schemas.js +24 -47
- package/lib/types/schemas.js.map +1 -1
- package/lib/utils/minMaxQueue/createMemoryMinMaxQueue.d.ts +6 -0
- package/lib/utils/minMaxQueue/createMemoryMinMaxQueue.js +57 -0
- package/lib/utils/minMaxQueue/createMemoryMinMaxQueue.js.map +1 -0
- package/lib/utils/minMaxQueue/createRedisMinMaxQueue.d.ts +7 -0
- package/lib/utils/minMaxQueue/createRedisMinMaxQueue.js +105 -0
- package/lib/utils/minMaxQueue/createRedisMinMaxQueue.js.map +1 -0
- package/lib/utils/minMaxQueue/index.d.ts +12 -0
- package/lib/utils/minMaxQueue/index.js +16 -0
- package/lib/utils/minMaxQueue/index.js.map +1 -0
- package/lib/utils/validation.js +8 -10
- package/lib/utils/validation.js.map +1 -1
- package/package.json +2 -2
- package/esm/executor/senderManager.d.ts +0 -26
- package/esm/executor/senderManager.js +0 -216
- package/esm/executor/senderManager.js.map +0 -1
- package/esm/mempool/nonceQueuer.d.ts +0 -32
- package/esm/mempool/nonceQueuer.js +0 -143
- package/esm/mempool/nonceQueuer.js.map +0 -1
- package/esm/mempool/store.d.ts +0 -22
- package/esm/mempool/store.js +0 -124
- package/esm/mempool/store.js.map +0 -1
- package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.d.ts +0 -979
- package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js +0 -22
- package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js.map +0 -1
- package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.d.ts +0 -422
- package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.js +0 -19
- package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.js.map +0 -1
- package/esm/utils/slidingWindowTimedQueue.d.ts +0 -12
- package/esm/utils/slidingWindowTimedQueue.js +0 -48
- package/esm/utils/slidingWindowTimedQueue.js.map +0 -1
- package/lib/executor/senderManager.d.ts +0 -26
- package/lib/executor/senderManager.js +0 -220
- package/lib/executor/senderManager.js.map +0 -1
- package/lib/mempool/nonceQueuer.d.ts +0 -32
- package/lib/mempool/nonceQueuer.js +0 -147
- package/lib/mempool/nonceQueuer.js.map +0 -1
- package/lib/mempool/store.d.ts +0 -22
- package/lib/mempool/store.js +0 -128
- package/lib/mempool/store.js.map +0 -1
- package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.d.ts +0 -979
- package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js +0 -25
- package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js.map +0 -1
- package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.d.ts +0 -422
- package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.js +0 -22
- package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.js.map +0 -1
- package/lib/utils/slidingWindowTimedQueue.d.ts +0 -12
- package/lib/utils/slidingWindowTimedQueue.js +0 -52
- package/lib/utils/slidingWindowTimedQueue.js.map +0 -1
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { createMethodHandler } from "../createMethodHandler.js";
|
|
2
|
-
import { pimlicoExperimentalEstimateUserOperationGas7702Schema } from "../../types/index.js";
|
|
3
|
-
export const experimentalEstimateUserOperationGas7702Handler = createMethodHandler({
|
|
4
|
-
method: "pimlico_experimental_estimateUserOperationGas7702",
|
|
5
|
-
schema: pimlicoExperimentalEstimateUserOperationGas7702Schema,
|
|
6
|
-
handler: async ({ apiVersion, rpcHandler, params }) => {
|
|
7
|
-
rpcHandler.ensureExperimentalEndpointsAreEnabled("pimlico_experimental_estimateUserOperationGas7702");
|
|
8
|
-
const userOperation = params[0];
|
|
9
|
-
const entryPoint = params[1];
|
|
10
|
-
const stateOverrides = params[2];
|
|
11
|
-
await rpcHandler.validateEip7702Auth({
|
|
12
|
-
userOperation
|
|
13
|
-
});
|
|
14
|
-
return await rpcHandler.estimateGas({
|
|
15
|
-
apiVersion,
|
|
16
|
-
userOperation,
|
|
17
|
-
entryPoint,
|
|
18
|
-
stateOverrides
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
//# sourceMappingURL=pimlico_experimental_estimateUserOperationGas7702.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pimlico_experimental_estimateUserOperationGas7702.js","sourceRoot":"","sources":["../../../rpc/methods/pimlico_experimental_estimateUserOperationGas7702.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAE,qDAAqD,EAAE,MAAM,aAAa,CAAA;AAEnF,MAAM,CAAC,MAAM,+CAA+C,GACxD,mBAAmB,CAAC;IAChB,MAAM,EAAE,mDAAmD;IAC3D,MAAM,EAAE,qDAAqD;IAC7D,OAAO,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE;QAClD,UAAU,CAAC,qCAAqC,CAC5C,mDAAmD,CACtD,CAAA;QAED,MAAM,aAAa,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QAC/B,MAAM,UAAU,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QAC5B,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QAEhC,MAAM,UAAU,CAAC,mBAAmB,CAAC;YACjC,aAAa;SAChB,CAAC,CAAA;QAEF,OAAO,MAAM,UAAU,CAAC,WAAW,CAAC;YAChC,UAAU;YACV,aAAa;YACb,UAAU;YACV,cAAc;SACjB,CAAC,CAAA;IACN,CAAC;CACJ,CAAC,CAAA"}
|
|
@@ -1,422 +0,0 @@
|
|
|
1
|
-
export declare const experimentalSendUserOperation7702Handler: {
|
|
2
|
-
schema: import("zod").ZodObject<{
|
|
3
|
-
method: import("zod").ZodLiteral<"pimlico_experimental_sendUserOperation7702">;
|
|
4
|
-
params: import("zod").ZodTuple<[import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodObject<{
|
|
5
|
-
sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
6
|
-
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
7
|
-
initCode: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
8
|
-
callData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
9
|
-
callGasLimit: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
10
|
-
verificationGasLimit: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
11
|
-
preVerificationGas: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
12
|
-
maxPriorityFeePerGas: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
13
|
-
maxFeePerGas: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
14
|
-
paymasterAndData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
15
|
-
signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
16
|
-
eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
17
|
-
contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
18
|
-
chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
19
|
-
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
20
|
-
r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
21
|
-
s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
22
|
-
v: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
23
|
-
yParity: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
24
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
25
|
-
nonce: number;
|
|
26
|
-
contractAddress: `0x${string}`;
|
|
27
|
-
chainId: number;
|
|
28
|
-
r: `0x${string}`;
|
|
29
|
-
s: `0x${string}`;
|
|
30
|
-
v: bigint;
|
|
31
|
-
yParity: number;
|
|
32
|
-
}, {
|
|
33
|
-
nonce: string | number | bigint;
|
|
34
|
-
contractAddress: string;
|
|
35
|
-
chainId: string | number | bigint;
|
|
36
|
-
r: string;
|
|
37
|
-
s: string;
|
|
38
|
-
v: string | number | bigint;
|
|
39
|
-
yParity: string | number | bigint;
|
|
40
|
-
}>>>;
|
|
41
|
-
}, "strict", import("zod").ZodTypeAny, {
|
|
42
|
-
sender: `0x${string}`;
|
|
43
|
-
nonce: bigint;
|
|
44
|
-
initCode: `0x${string}`;
|
|
45
|
-
paymasterAndData: `0x${string}`;
|
|
46
|
-
callData: `0x${string}`;
|
|
47
|
-
callGasLimit: bigint;
|
|
48
|
-
verificationGasLimit: bigint;
|
|
49
|
-
preVerificationGas: bigint;
|
|
50
|
-
maxFeePerGas: bigint;
|
|
51
|
-
maxPriorityFeePerGas: bigint;
|
|
52
|
-
signature: `0x${string}`;
|
|
53
|
-
eip7702Auth?: {
|
|
54
|
-
nonce: number;
|
|
55
|
-
contractAddress: `0x${string}`;
|
|
56
|
-
chainId: number;
|
|
57
|
-
r: `0x${string}`;
|
|
58
|
-
s: `0x${string}`;
|
|
59
|
-
v: bigint;
|
|
60
|
-
yParity: number;
|
|
61
|
-
} | null | undefined;
|
|
62
|
-
}, {
|
|
63
|
-
sender: string;
|
|
64
|
-
nonce: string | number | bigint;
|
|
65
|
-
initCode: string;
|
|
66
|
-
paymasterAndData: string;
|
|
67
|
-
callData: string;
|
|
68
|
-
callGasLimit: string | number | bigint;
|
|
69
|
-
verificationGasLimit: string | number | bigint;
|
|
70
|
-
preVerificationGas: string | number | bigint;
|
|
71
|
-
maxFeePerGas: string | number | bigint;
|
|
72
|
-
maxPriorityFeePerGas: string | number | bigint;
|
|
73
|
-
signature: string;
|
|
74
|
-
eip7702Auth?: {
|
|
75
|
-
nonce: string | number | bigint;
|
|
76
|
-
contractAddress: string;
|
|
77
|
-
chainId: string | number | bigint;
|
|
78
|
-
r: string;
|
|
79
|
-
s: string;
|
|
80
|
-
v: string | number | bigint;
|
|
81
|
-
yParity: string | number | bigint;
|
|
82
|
-
} | null | undefined;
|
|
83
|
-
}>, {
|
|
84
|
-
sender: `0x${string}`;
|
|
85
|
-
nonce: bigint;
|
|
86
|
-
initCode: `0x${string}`;
|
|
87
|
-
paymasterAndData: `0x${string}`;
|
|
88
|
-
callData: `0x${string}`;
|
|
89
|
-
callGasLimit: bigint;
|
|
90
|
-
verificationGasLimit: bigint;
|
|
91
|
-
preVerificationGas: bigint;
|
|
92
|
-
maxFeePerGas: bigint;
|
|
93
|
-
maxPriorityFeePerGas: bigint;
|
|
94
|
-
signature: `0x${string}`;
|
|
95
|
-
eip7702Auth?: {
|
|
96
|
-
nonce: number;
|
|
97
|
-
contractAddress: `0x${string}`;
|
|
98
|
-
chainId: number;
|
|
99
|
-
r: `0x${string}`;
|
|
100
|
-
s: `0x${string}`;
|
|
101
|
-
v: bigint;
|
|
102
|
-
yParity: number;
|
|
103
|
-
} | null | undefined;
|
|
104
|
-
}, {
|
|
105
|
-
sender: string;
|
|
106
|
-
nonce: string | number | bigint;
|
|
107
|
-
initCode: string;
|
|
108
|
-
paymasterAndData: string;
|
|
109
|
-
callData: string;
|
|
110
|
-
callGasLimit: string | number | bigint;
|
|
111
|
-
verificationGasLimit: string | number | bigint;
|
|
112
|
-
preVerificationGas: string | number | bigint;
|
|
113
|
-
maxFeePerGas: string | number | bigint;
|
|
114
|
-
maxPriorityFeePerGas: string | number | bigint;
|
|
115
|
-
signature: string;
|
|
116
|
-
eip7702Auth?: {
|
|
117
|
-
nonce: string | number | bigint;
|
|
118
|
-
contractAddress: string;
|
|
119
|
-
chainId: string | number | bigint;
|
|
120
|
-
r: string;
|
|
121
|
-
s: string;
|
|
122
|
-
v: string | number | bigint;
|
|
123
|
-
yParity: string | number | bigint;
|
|
124
|
-
} | null | undefined;
|
|
125
|
-
}>, import("zod").ZodEffects<import("zod").ZodObject<{
|
|
126
|
-
sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
127
|
-
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
128
|
-
factory: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
129
|
-
factoryData: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
130
|
-
callData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
131
|
-
callGasLimit: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
132
|
-
verificationGasLimit: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
133
|
-
preVerificationGas: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
134
|
-
maxFeePerGas: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
135
|
-
maxPriorityFeePerGas: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
136
|
-
paymaster: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
137
|
-
paymasterVerificationGasLimit: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
|
|
138
|
-
paymasterPostOpGasLimit: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
|
|
139
|
-
paymasterData: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
140
|
-
signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
141
|
-
eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
142
|
-
contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
143
|
-
chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
144
|
-
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
145
|
-
r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
146
|
-
s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
147
|
-
v: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
148
|
-
yParity: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
149
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
150
|
-
nonce: number;
|
|
151
|
-
contractAddress: `0x${string}`;
|
|
152
|
-
chainId: number;
|
|
153
|
-
r: `0x${string}`;
|
|
154
|
-
s: `0x${string}`;
|
|
155
|
-
v: bigint;
|
|
156
|
-
yParity: number;
|
|
157
|
-
}, {
|
|
158
|
-
nonce: string | number | bigint;
|
|
159
|
-
contractAddress: string;
|
|
160
|
-
chainId: string | number | bigint;
|
|
161
|
-
r: string;
|
|
162
|
-
s: string;
|
|
163
|
-
v: string | number | bigint;
|
|
164
|
-
yParity: string | number | bigint;
|
|
165
|
-
}>>>;
|
|
166
|
-
}, "strict", import("zod").ZodTypeAny, {
|
|
167
|
-
sender: `0x${string}`;
|
|
168
|
-
factory: `0x${string}` | null;
|
|
169
|
-
paymaster: `0x${string}` | null;
|
|
170
|
-
nonce: bigint;
|
|
171
|
-
callData: `0x${string}`;
|
|
172
|
-
callGasLimit: bigint;
|
|
173
|
-
verificationGasLimit: bigint;
|
|
174
|
-
preVerificationGas: bigint;
|
|
175
|
-
maxFeePerGas: bigint;
|
|
176
|
-
maxPriorityFeePerGas: bigint;
|
|
177
|
-
signature: `0x${string}`;
|
|
178
|
-
paymasterVerificationGasLimit: bigint | null;
|
|
179
|
-
paymasterPostOpGasLimit: bigint | null;
|
|
180
|
-
factoryData: `0x${string}` | null;
|
|
181
|
-
paymasterData: `0x${string}` | null;
|
|
182
|
-
eip7702Auth?: {
|
|
183
|
-
nonce: number;
|
|
184
|
-
contractAddress: `0x${string}`;
|
|
185
|
-
chainId: number;
|
|
186
|
-
r: `0x${string}`;
|
|
187
|
-
s: `0x${string}`;
|
|
188
|
-
v: bigint;
|
|
189
|
-
yParity: number;
|
|
190
|
-
} | null | undefined;
|
|
191
|
-
}, {
|
|
192
|
-
sender: string;
|
|
193
|
-
nonce: string | number | bigint;
|
|
194
|
-
callData: string;
|
|
195
|
-
callGasLimit: string | number | bigint;
|
|
196
|
-
verificationGasLimit: string | number | bigint;
|
|
197
|
-
preVerificationGas: string | number | bigint;
|
|
198
|
-
maxFeePerGas: string | number | bigint;
|
|
199
|
-
maxPriorityFeePerGas: string | number | bigint;
|
|
200
|
-
signature: string;
|
|
201
|
-
factory?: string | null | undefined;
|
|
202
|
-
factoryData?: string | null | undefined;
|
|
203
|
-
paymaster?: string | null | undefined;
|
|
204
|
-
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
205
|
-
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
206
|
-
paymasterData?: string | null | undefined;
|
|
207
|
-
eip7702Auth?: {
|
|
208
|
-
nonce: string | number | bigint;
|
|
209
|
-
contractAddress: string;
|
|
210
|
-
chainId: string | number | bigint;
|
|
211
|
-
r: string;
|
|
212
|
-
s: string;
|
|
213
|
-
v: string | number | bigint;
|
|
214
|
-
yParity: string | number | bigint;
|
|
215
|
-
} | null | undefined;
|
|
216
|
-
}>, {
|
|
217
|
-
sender: `0x${string}`;
|
|
218
|
-
factory: `0x${string}` | null;
|
|
219
|
-
paymaster: `0x${string}` | null;
|
|
220
|
-
nonce: bigint;
|
|
221
|
-
callData: `0x${string}`;
|
|
222
|
-
callGasLimit: bigint;
|
|
223
|
-
verificationGasLimit: bigint;
|
|
224
|
-
preVerificationGas: bigint;
|
|
225
|
-
maxFeePerGas: bigint;
|
|
226
|
-
maxPriorityFeePerGas: bigint;
|
|
227
|
-
signature: `0x${string}`;
|
|
228
|
-
paymasterVerificationGasLimit: bigint | null;
|
|
229
|
-
paymasterPostOpGasLimit: bigint | null;
|
|
230
|
-
factoryData: `0x${string}` | null;
|
|
231
|
-
paymasterData: `0x${string}` | null;
|
|
232
|
-
eip7702Auth?: {
|
|
233
|
-
nonce: number;
|
|
234
|
-
contractAddress: `0x${string}`;
|
|
235
|
-
chainId: number;
|
|
236
|
-
r: `0x${string}`;
|
|
237
|
-
s: `0x${string}`;
|
|
238
|
-
v: bigint;
|
|
239
|
-
yParity: number;
|
|
240
|
-
} | null | undefined;
|
|
241
|
-
}, {
|
|
242
|
-
sender: string;
|
|
243
|
-
nonce: string | number | bigint;
|
|
244
|
-
callData: string;
|
|
245
|
-
callGasLimit: string | number | bigint;
|
|
246
|
-
verificationGasLimit: string | number | bigint;
|
|
247
|
-
preVerificationGas: string | number | bigint;
|
|
248
|
-
maxFeePerGas: string | number | bigint;
|
|
249
|
-
maxPriorityFeePerGas: string | number | bigint;
|
|
250
|
-
signature: string;
|
|
251
|
-
factory?: string | null | undefined;
|
|
252
|
-
factoryData?: string | null | undefined;
|
|
253
|
-
paymaster?: string | null | undefined;
|
|
254
|
-
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
255
|
-
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
256
|
-
paymasterData?: string | null | undefined;
|
|
257
|
-
eip7702Auth?: {
|
|
258
|
-
nonce: string | number | bigint;
|
|
259
|
-
contractAddress: string;
|
|
260
|
-
chainId: string | number | bigint;
|
|
261
|
-
r: string;
|
|
262
|
-
s: string;
|
|
263
|
-
v: string | number | bigint;
|
|
264
|
-
yParity: string | number | bigint;
|
|
265
|
-
} | null | undefined;
|
|
266
|
-
}>]>, import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>], null>;
|
|
267
|
-
result: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
268
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
269
|
-
result: `0x${string}`;
|
|
270
|
-
params: [{
|
|
271
|
-
sender: `0x${string}`;
|
|
272
|
-
nonce: bigint;
|
|
273
|
-
initCode: `0x${string}`;
|
|
274
|
-
paymasterAndData: `0x${string}`;
|
|
275
|
-
callData: `0x${string}`;
|
|
276
|
-
callGasLimit: bigint;
|
|
277
|
-
verificationGasLimit: bigint;
|
|
278
|
-
preVerificationGas: bigint;
|
|
279
|
-
maxFeePerGas: bigint;
|
|
280
|
-
maxPriorityFeePerGas: bigint;
|
|
281
|
-
signature: `0x${string}`;
|
|
282
|
-
eip7702Auth?: {
|
|
283
|
-
nonce: number;
|
|
284
|
-
contractAddress: `0x${string}`;
|
|
285
|
-
chainId: number;
|
|
286
|
-
r: `0x${string}`;
|
|
287
|
-
s: `0x${string}`;
|
|
288
|
-
v: bigint;
|
|
289
|
-
yParity: number;
|
|
290
|
-
} | null | undefined;
|
|
291
|
-
} | {
|
|
292
|
-
sender: `0x${string}`;
|
|
293
|
-
factory: `0x${string}` | null;
|
|
294
|
-
paymaster: `0x${string}` | null;
|
|
295
|
-
nonce: bigint;
|
|
296
|
-
callData: `0x${string}`;
|
|
297
|
-
callGasLimit: bigint;
|
|
298
|
-
verificationGasLimit: bigint;
|
|
299
|
-
preVerificationGas: bigint;
|
|
300
|
-
maxFeePerGas: bigint;
|
|
301
|
-
maxPriorityFeePerGas: bigint;
|
|
302
|
-
signature: `0x${string}`;
|
|
303
|
-
paymasterVerificationGasLimit: bigint | null;
|
|
304
|
-
paymasterPostOpGasLimit: bigint | null;
|
|
305
|
-
factoryData: `0x${string}` | null;
|
|
306
|
-
paymasterData: `0x${string}` | null;
|
|
307
|
-
eip7702Auth?: {
|
|
308
|
-
nonce: number;
|
|
309
|
-
contractAddress: `0x${string}`;
|
|
310
|
-
chainId: number;
|
|
311
|
-
r: `0x${string}`;
|
|
312
|
-
s: `0x${string}`;
|
|
313
|
-
v: bigint;
|
|
314
|
-
yParity: number;
|
|
315
|
-
} | null | undefined;
|
|
316
|
-
}, `0x${string}`];
|
|
317
|
-
method: "pimlico_experimental_sendUserOperation7702";
|
|
318
|
-
}, {
|
|
319
|
-
result: string;
|
|
320
|
-
params: [{
|
|
321
|
-
sender: string;
|
|
322
|
-
nonce: string | number | bigint;
|
|
323
|
-
initCode: string;
|
|
324
|
-
paymasterAndData: string;
|
|
325
|
-
callData: string;
|
|
326
|
-
callGasLimit: string | number | bigint;
|
|
327
|
-
verificationGasLimit: string | number | bigint;
|
|
328
|
-
preVerificationGas: string | number | bigint;
|
|
329
|
-
maxFeePerGas: string | number | bigint;
|
|
330
|
-
maxPriorityFeePerGas: string | number | bigint;
|
|
331
|
-
signature: string;
|
|
332
|
-
eip7702Auth?: {
|
|
333
|
-
nonce: string | number | bigint;
|
|
334
|
-
contractAddress: string;
|
|
335
|
-
chainId: string | number | bigint;
|
|
336
|
-
r: string;
|
|
337
|
-
s: string;
|
|
338
|
-
v: string | number | bigint;
|
|
339
|
-
yParity: string | number | bigint;
|
|
340
|
-
} | null | undefined;
|
|
341
|
-
} | {
|
|
342
|
-
sender: string;
|
|
343
|
-
nonce: string | number | bigint;
|
|
344
|
-
callData: string;
|
|
345
|
-
callGasLimit: string | number | bigint;
|
|
346
|
-
verificationGasLimit: string | number | bigint;
|
|
347
|
-
preVerificationGas: string | number | bigint;
|
|
348
|
-
maxFeePerGas: string | number | bigint;
|
|
349
|
-
maxPriorityFeePerGas: string | number | bigint;
|
|
350
|
-
signature: string;
|
|
351
|
-
factory?: string | null | undefined;
|
|
352
|
-
factoryData?: string | null | undefined;
|
|
353
|
-
paymaster?: string | null | undefined;
|
|
354
|
-
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
355
|
-
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
356
|
-
paymasterData?: string | null | undefined;
|
|
357
|
-
eip7702Auth?: {
|
|
358
|
-
nonce: string | number | bigint;
|
|
359
|
-
contractAddress: string;
|
|
360
|
-
chainId: string | number | bigint;
|
|
361
|
-
r: string;
|
|
362
|
-
s: string;
|
|
363
|
-
v: string | number | bigint;
|
|
364
|
-
yParity: string | number | bigint;
|
|
365
|
-
} | null | undefined;
|
|
366
|
-
}, string];
|
|
367
|
-
method: "pimlico_experimental_sendUserOperation7702";
|
|
368
|
-
}>;
|
|
369
|
-
method: "pimlico_experimental_sendUserOperation7702";
|
|
370
|
-
handler: (args: {
|
|
371
|
-
rpcHandler: import("../index.js").RpcHandler;
|
|
372
|
-
params: readonly [import("type-fest/source/readonly-deep").ReadonlyObjectDeep<{
|
|
373
|
-
sender: `0x${string}`;
|
|
374
|
-
nonce: bigint;
|
|
375
|
-
initCode: `0x${string}`;
|
|
376
|
-
paymasterAndData: `0x${string}`;
|
|
377
|
-
callData: `0x${string}`;
|
|
378
|
-
callGasLimit: bigint;
|
|
379
|
-
verificationGasLimit: bigint;
|
|
380
|
-
preVerificationGas: bigint;
|
|
381
|
-
maxFeePerGas: bigint;
|
|
382
|
-
maxPriorityFeePerGas: bigint;
|
|
383
|
-
signature: `0x${string}`;
|
|
384
|
-
eip7702Auth?: {
|
|
385
|
-
nonce: number;
|
|
386
|
-
contractAddress: `0x${string}`;
|
|
387
|
-
chainId: number;
|
|
388
|
-
r: `0x${string}`;
|
|
389
|
-
s: `0x${string}`;
|
|
390
|
-
v: bigint;
|
|
391
|
-
yParity: number;
|
|
392
|
-
} | null | undefined;
|
|
393
|
-
}> | import("type-fest/source/readonly-deep").ReadonlyObjectDeep<{
|
|
394
|
-
sender: `0x${string}`;
|
|
395
|
-
factory: `0x${string}` | null;
|
|
396
|
-
paymaster: `0x${string}` | null;
|
|
397
|
-
nonce: bigint;
|
|
398
|
-
callData: `0x${string}`;
|
|
399
|
-
callGasLimit: bigint;
|
|
400
|
-
verificationGasLimit: bigint;
|
|
401
|
-
preVerificationGas: bigint;
|
|
402
|
-
maxFeePerGas: bigint;
|
|
403
|
-
maxPriorityFeePerGas: bigint;
|
|
404
|
-
signature: `0x${string}`;
|
|
405
|
-
paymasterVerificationGasLimit: bigint | null;
|
|
406
|
-
paymasterPostOpGasLimit: bigint | null;
|
|
407
|
-
factoryData: `0x${string}` | null;
|
|
408
|
-
paymasterData: `0x${string}` | null;
|
|
409
|
-
eip7702Auth?: {
|
|
410
|
-
nonce: number;
|
|
411
|
-
contractAddress: `0x${string}`;
|
|
412
|
-
chainId: number;
|
|
413
|
-
r: `0x${string}`;
|
|
414
|
-
s: `0x${string}`;
|
|
415
|
-
v: bigint;
|
|
416
|
-
yParity: number;
|
|
417
|
-
} | null | undefined;
|
|
418
|
-
}>, `0x${string}`];
|
|
419
|
-
apiVersion: import("../../types/index.js").ApiVersion;
|
|
420
|
-
}) => `0x${string}` | Promise<`0x${string}`>;
|
|
421
|
-
};
|
|
422
|
-
//# sourceMappingURL=pimlico_experimental_sendUserOperation7702.d.ts.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { getUserOperationHash } from "../../utils/index.js";
|
|
2
|
-
import { createMethodHandler } from "../createMethodHandler.js";
|
|
3
|
-
import { pimlicoExperimentalSendUserOperation7702Schema } from "../../types/index.js";
|
|
4
|
-
export const experimentalSendUserOperation7702Handler = createMethodHandler({
|
|
5
|
-
method: "pimlico_experimental_sendUserOperation7702",
|
|
6
|
-
schema: pimlicoExperimentalSendUserOperation7702Schema,
|
|
7
|
-
handler: async ({ rpcHandler, params, apiVersion }) => {
|
|
8
|
-
rpcHandler.ensureExperimentalEndpointsAreEnabled("pimlico_experimental_sendUserOperation7702");
|
|
9
|
-
const [userOperation, entryPoint] = params;
|
|
10
|
-
rpcHandler.ensureEntryPointIsSupported(entryPoint);
|
|
11
|
-
await rpcHandler.validateEip7702Auth({
|
|
12
|
-
userOperation,
|
|
13
|
-
validateSender: true
|
|
14
|
-
});
|
|
15
|
-
await rpcHandler.addToMempoolIfValid(userOperation, entryPoint, apiVersion);
|
|
16
|
-
return getUserOperationHash(userOperation, entryPoint, rpcHandler.config.publicClient.chain.id);
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
//# sourceMappingURL=pimlico_experimental_sendUserOperation7702.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pimlico_experimental_sendUserOperation7702.js","sourceRoot":"","sources":["../../../rpc/methods/pimlico_experimental_sendUserOperation7702.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAE,8CAA8C,EAAE,MAAM,aAAa,CAAA;AAE5E,MAAM,CAAC,MAAM,wCAAwC,GAAG,mBAAmB,CAAC;IACxE,MAAM,EAAE,4CAA4C;IACpD,MAAM,EAAE,8CAA8C;IACtD,OAAO,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,EAAE;QAClD,UAAU,CAAC,qCAAqC,CAC5C,4CAA4C,CAC/C,CAAA;QAED,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,GAAG,MAAM,CAAA;QAE1C,UAAU,CAAC,2BAA2B,CAAC,UAAU,CAAC,CAAA;QAClD,MAAM,UAAU,CAAC,mBAAmB,CAAC;YACjC,aAAa;YACb,cAAc,EAAE,IAAI;SACvB,CAAC,CAAA;QAEF,MAAM,UAAU,CAAC,mBAAmB,CAChC,aAAa,EACb,UAAU,EACV,UAAU,CACb,CAAA;QAED,OAAO,oBAAoB,CACvB,aAAa,EACb,UAAU,EACV,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,CAC1C,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare class SlidingWindowTimedQueue {
|
|
2
|
-
private minDeque;
|
|
3
|
-
private maxDeque;
|
|
4
|
-
private latestValue;
|
|
5
|
-
private queueValidityMs;
|
|
6
|
-
constructor(queueValidityMs: number);
|
|
7
|
-
saveValue(value: bigint): void;
|
|
8
|
-
getLatestValue(): bigint | null;
|
|
9
|
-
getMinValue(): bigint | null;
|
|
10
|
-
getMaxValue(): bigint | null;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=slidingWindowTimedQueue.d.ts.map
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export class SlidingWindowTimedQueue {
|
|
2
|
-
// Element 0 will always be the min.
|
|
3
|
-
minDeque;
|
|
4
|
-
// Element 0 will always be the max.
|
|
5
|
-
maxDeque;
|
|
6
|
-
latestValue;
|
|
7
|
-
queueValidityMs;
|
|
8
|
-
constructor(queueValidityMs) {
|
|
9
|
-
this.minDeque = [];
|
|
10
|
-
this.maxDeque = [];
|
|
11
|
-
this.latestValue = null;
|
|
12
|
-
this.queueValidityMs = queueValidityMs;
|
|
13
|
-
}
|
|
14
|
-
saveValue(value) {
|
|
15
|
-
if (value === 0n) {
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
const timestamp = Date.now();
|
|
19
|
-
// Remove expired entries.
|
|
20
|
-
const cutoffTime = timestamp - this.queueValidityMs;
|
|
21
|
-
this.minDeque = this.minDeque.filter((entry) => entry.timestamp >= cutoffTime);
|
|
22
|
-
this.maxDeque = this.maxDeque.filter((entry) => entry.timestamp >= cutoffTime);
|
|
23
|
-
// Maintain the min deque by removing all elements from the back that are larger then the new value.
|
|
24
|
-
while (this.minDeque.length &&
|
|
25
|
-
this.minDeque[this.minDeque.length - 1].value >= value) {
|
|
26
|
-
this.minDeque.pop();
|
|
27
|
-
}
|
|
28
|
-
this.minDeque.push({ value, timestamp });
|
|
29
|
-
// Maintain the max deque by removing all elements from the back that are smaller then the new value.
|
|
30
|
-
while (this.maxDeque.length &&
|
|
31
|
-
this.maxDeque[this.maxDeque.length - 1].value <= value) {
|
|
32
|
-
this.maxDeque.pop();
|
|
33
|
-
}
|
|
34
|
-
this.maxDeque.push({ value, timestamp });
|
|
35
|
-
// Record the latest value.
|
|
36
|
-
this.latestValue = value;
|
|
37
|
-
}
|
|
38
|
-
getLatestValue() {
|
|
39
|
-
return this.latestValue;
|
|
40
|
-
}
|
|
41
|
-
getMinValue() {
|
|
42
|
-
return this.minDeque.length ? this.minDeque[0].value : null;
|
|
43
|
-
}
|
|
44
|
-
getMaxValue() {
|
|
45
|
-
return this.maxDeque.length ? this.maxDeque[0].value : null;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=slidingWindowTimedQueue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slidingWindowTimedQueue.js","sourceRoot":"","sources":["../../utils/slidingWindowTimedQueue.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,uBAAuB;IAChC,oCAAoC;IAC5B,QAAQ,CAAwC;IACxD,oCAAoC;IAC5B,QAAQ,CAAwC;IAChD,WAAW,CAAe;IAC1B,eAAe,CAAQ;IAE/B,YAAY,eAAuB;QAC/B,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAA;QAClB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAA;QAClB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAA;QACvB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;IAC1C,CAAC;IAEM,SAAS,CAAC,KAAa;QAC1B,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;YACf,OAAM;QACV,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;QAE5B,0BAA0B;QAC1B,MAAM,UAAU,GAAG,SAAS,GAAG,IAAI,CAAC,eAAe,CAAA;QACnD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAChC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,IAAI,UAAU,CAC3C,CAAA;QACD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAChC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,IAAI,UAAU,CAC3C,CAAA;QAED,oGAAoG;QACpG,OACI,IAAI,CAAC,QAAQ,CAAC,MAAM;YACpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,KAAK,EACxD,CAAC;YACC,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAA;QACvB,CAAC;QACD,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAA;QAExC,qGAAqG;QACrG,OACI,IAAI,CAAC,QAAQ,CAAC,MAAM;YACpB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,KAAK,EACxD,CAAC;YACC,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAA;QACvB,CAAC;QACD,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAA;QAExC,2BAA2B;QAC3B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAA;IAC5B,CAAC;IAEM,cAAc;QACjB,OAAO,IAAI,CAAC,WAAW,CAAA;IAC3B,CAAC;IAEM,WAAW;QACd,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA;IAC/D,CAAC;IAEM,WAAW;QACd,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAA;IAC/D,CAAC;CACJ"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { GasPriceManager } from "../handlers/index.js";
|
|
2
|
-
import type { Metrics } from "../utils/index.js";
|
|
3
|
-
import { type Account } from "viem";
|
|
4
|
-
import type { AltoConfig } from "../createConfig.js";
|
|
5
|
-
export declare class SenderManager {
|
|
6
|
-
private config;
|
|
7
|
-
wallets: Account[];
|
|
8
|
-
utilityAccount: Account | undefined;
|
|
9
|
-
availableWallets: Account[];
|
|
10
|
-
private metrics;
|
|
11
|
-
private semaphore;
|
|
12
|
-
private gasPriceManager;
|
|
13
|
-
private logger;
|
|
14
|
-
private walletProcessingTime;
|
|
15
|
-
constructor({ config, metrics, gasPriceManager }: {
|
|
16
|
-
config: AltoConfig;
|
|
17
|
-
metrics: Metrics;
|
|
18
|
-
gasPriceManager: GasPriceManager;
|
|
19
|
-
});
|
|
20
|
-
validateAndRefillWallets(): Promise<void>;
|
|
21
|
-
getWallet(): Promise<Account>;
|
|
22
|
-
pushWallet(wallet: Account): void;
|
|
23
|
-
markWalletProcessed(executor: Account): Promise<void>;
|
|
24
|
-
flushOnStartUp(): Promise<void>;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=senderManager.d.ts.map
|