@pimlico/alto 0.0.0-main.20250123T175913 → 0.0.0-main.20250124T131133
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 +3 -1
- package/esm/cli/alto.js.map +1 -1
- package/esm/cli/config/bundler.d.ts +193 -175
- package/esm/cli/config/bundler.js +34 -29
- package/esm/cli/config/bundler.js.map +1 -1
- package/esm/cli/config/options.d.ts +2 -1
- package/esm/cli/config/options.js +83 -70
- package/esm/cli/config/options.js.map +1 -1
- package/esm/executor/executor.d.ts +1 -0
- package/esm/executor/executor.js +19 -8
- package/esm/executor/executor.js.map +1 -1
- package/esm/executor/executorManager.js +2 -1
- package/esm/executor/executorManager.js.map +1 -1
- package/esm/executor/fastlane.d.ts +9 -0
- package/esm/executor/fastlane.js +37 -0
- package/esm/executor/fastlane.js.map +1 -0
- package/lib/cli/alto.js +2 -0
- package/lib/cli/alto.js.map +1 -1
- package/lib/cli/config/bundler.d.ts +193 -175
- package/lib/cli/config/bundler.js +35 -30
- package/lib/cli/config/bundler.js.map +1 -1
- package/lib/cli/config/options.d.ts +2 -1
- package/lib/cli/config/options.js +84 -71
- package/lib/cli/config/options.js.map +1 -1
- package/lib/executor/executor.d.ts +1 -0
- package/lib/executor/executor.js +19 -8
- package/lib/executor/executor.js.map +1 -1
- package/lib/executor/executorManager.js +2 -1
- package/lib/executor/executorManager.js.map +1 -1
- package/lib/executor/fastlane.d.ts +9 -0
- package/lib/executor/fastlane.js +41 -0
- package/lib/executor/fastlane.js.map +1 -0
- package/package.json +1 -1
package/esm/cli/alto.js
CHANGED
|
@@ -2,7 +2,7 @@ import * as sentry from "@sentry/node";
|
|
|
2
2
|
import dotenv from "dotenv";
|
|
3
3
|
import yargs from "yargs";
|
|
4
4
|
import { hideBin } from "yargs/helpers";
|
|
5
|
-
import { bundlerCommand, bundlerOptions, compatibilityOptions, debugOptions, gasEstimationOptions, logOptions, rpcOptions, serverOptions } from "./config/index.js";
|
|
5
|
+
import { bundlerCommand, bundlerOptions, compatibilityOptions, debugOptions, executorOptions, gasEstimationOptions, logOptions, rpcOptions, serverOptions } from "./config/index.js";
|
|
6
6
|
import { registerCommandToYargs } from "./util.js";
|
|
7
7
|
import { TimeoutError, HttpRequestError, InternalRpcError } from "viem";
|
|
8
8
|
// Load environment variables from .env file
|
|
@@ -50,6 +50,8 @@ export function getAltoCli() {
|
|
|
50
50
|
.group(Object.keys(compatibilityOptions), "Compatibility Options:")
|
|
51
51
|
.options(serverOptions)
|
|
52
52
|
.group(Object.keys(serverOptions), "Server Options:")
|
|
53
|
+
.options(executorOptions)
|
|
54
|
+
.group(Object.keys(executorOptions), "Executor Options:")
|
|
53
55
|
.options(rpcOptions)
|
|
54
56
|
.group(Object.keys(rpcOptions), "RPC Options:")
|
|
55
57
|
.options(logOptions)
|
package/esm/cli/alto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alto.js","sourceRoot":"","sources":["../../cli/alto.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,cAAc,CAAA;AACtC,OAAO,MAAM,MAAM,QAAQ,CAAA;AAC3B,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACvC,OAAO,EACH,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,oBAAoB,EACpB,UAAU,EACV,UAAU,EACV,aAAa,EAChB,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,MAAM,CAAA;AAEvE,4CAA4C;AAC5C,IAAI,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,CAAC;IACjC,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,kBAAkB,EA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QAAQ,CAAC,iCAAiC,CAAC,EAAE,CAAC;YAClD,IAAI,CAAC,QAAQ,EAAE,CAAA;YACf,sCAAsC;YACtC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACrB,CAAC;IACL,CAAC;IAED,MAAM,YAAY,GACd,GAAG,KAAK,SAAS;QACb,CAAC,CAAC,GAAG,YAAY,UAAU;YACvB,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,GAAG,CAAC,KAAK;QACf,CAAC,CAAC,GAAG,IAAI,eAAe,CAAA;IAEhC,sCAAsC;IACtC,OAAO,CAAC,KAAK,CAAC,MAAM,YAAY,IAAI,CAAC,CAAA;IACrC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;AACnB,CAAC,CAAC,CAAC,KAAK,EAAE,CAAA"}
|
|
@@ -3,10 +3,79 @@ import { z } from "zod";
|
|
|
3
3
|
export declare const bundlerArgsSchema: z.ZodObject<{
|
|
4
4
|
entrypoints: z.ZodEffects<z.ZodString, `0x${string}`[], string>;
|
|
5
5
|
"deterministic-deployer-address": z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
6
|
-
"
|
|
6
|
+
"safe-mode": z.ZodBoolean;
|
|
7
|
+
"min-entity-stake": z.ZodNumber;
|
|
8
|
+
"min-entity-unstake-delay": z.ZodNumber;
|
|
9
|
+
"max-bundle-wait": z.ZodNumber;
|
|
10
|
+
"max-bundle-size": z.ZodNumber;
|
|
11
|
+
"gas-price-bump": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
12
|
+
"gas-price-floor-percent": z.ZodNumber;
|
|
13
|
+
"gas-price-expiry": z.ZodNumber;
|
|
14
|
+
"gas-price-multipliers": z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, bigint[], string>, bigint[], string>, {
|
|
15
|
+
slow: bigint;
|
|
16
|
+
standard: bigint;
|
|
17
|
+
fast: bigint;
|
|
18
|
+
}, string>;
|
|
19
|
+
"gas-price-refresh-interval": z.ZodNumber;
|
|
20
|
+
"mempool-max-parallel-ops": z.ZodDefault<z.ZodNumber>;
|
|
21
|
+
"mempool-max-queued-ops": z.ZodDefault<z.ZodNumber>;
|
|
22
|
+
"enforce-unique-senders-per-bundle": z.ZodDefault<z.ZodBoolean>;
|
|
23
|
+
"max-gas-per-bundle": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
24
|
+
"rpc-methods": z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string[] | null, string | null>, string[] | null, string | null>, string[] | null, string | null>;
|
|
25
|
+
"enable-instant-bundling-endpoint": z.ZodBoolean;
|
|
26
|
+
"enable-experimental-7702-endpoints": z.ZodBoolean;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
entrypoints: `0x${string}`[];
|
|
29
|
+
"deterministic-deployer-address": `0x${string}`;
|
|
30
|
+
"safe-mode": boolean;
|
|
31
|
+
"min-entity-stake": number;
|
|
32
|
+
"min-entity-unstake-delay": number;
|
|
33
|
+
"max-bundle-wait": number;
|
|
34
|
+
"max-bundle-size": number;
|
|
35
|
+
"gas-price-bump": bigint;
|
|
36
|
+
"gas-price-floor-percent": number;
|
|
37
|
+
"gas-price-expiry": number;
|
|
38
|
+
"gas-price-multipliers": {
|
|
39
|
+
slow: bigint;
|
|
40
|
+
standard: bigint;
|
|
41
|
+
fast: bigint;
|
|
42
|
+
};
|
|
43
|
+
"gas-price-refresh-interval": number;
|
|
44
|
+
"mempool-max-parallel-ops": number;
|
|
45
|
+
"mempool-max-queued-ops": number;
|
|
46
|
+
"enforce-unique-senders-per-bundle": boolean;
|
|
47
|
+
"max-gas-per-bundle": bigint;
|
|
48
|
+
"rpc-methods": string[] | null;
|
|
49
|
+
"enable-instant-bundling-endpoint": boolean;
|
|
50
|
+
"enable-experimental-7702-endpoints": boolean;
|
|
51
|
+
}, {
|
|
52
|
+
entrypoints: string;
|
|
53
|
+
"deterministic-deployer-address": string;
|
|
54
|
+
"safe-mode": boolean;
|
|
55
|
+
"min-entity-stake": number;
|
|
56
|
+
"min-entity-unstake-delay": number;
|
|
57
|
+
"max-bundle-wait": number;
|
|
58
|
+
"max-bundle-size": number;
|
|
59
|
+
"gas-price-floor-percent": number;
|
|
60
|
+
"gas-price-expiry": number;
|
|
61
|
+
"gas-price-multipliers": string;
|
|
62
|
+
"gas-price-refresh-interval": number;
|
|
63
|
+
"rpc-methods": string | null;
|
|
64
|
+
"enable-instant-bundling-endpoint": boolean;
|
|
65
|
+
"enable-experimental-7702-endpoints": boolean;
|
|
66
|
+
"gas-price-bump"?: string | undefined;
|
|
67
|
+
"mempool-max-parallel-ops"?: number | undefined;
|
|
68
|
+
"mempool-max-queued-ops"?: number | undefined;
|
|
69
|
+
"enforce-unique-senders-per-bundle"?: boolean | undefined;
|
|
70
|
+
"max-gas-per-bundle"?: string | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
export declare const executorArgsSchema: z.ZodObject<{
|
|
73
|
+
"enable-fastlane": z.ZodBoolean;
|
|
74
|
+
"resubmit-stuck-timeout": z.ZodDefault<z.ZodNumber>;
|
|
75
|
+
"refilling-wallets": z.ZodDefault<z.ZodBoolean>;
|
|
76
|
+
"aa95-gas-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
7
77
|
"refill-helper-contract": z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
8
78
|
"no-profit-bundling": z.ZodBoolean;
|
|
9
|
-
"safe-mode": z.ZodBoolean;
|
|
10
79
|
"utility-private-key": z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, {
|
|
11
80
|
address: `0x${string}`;
|
|
12
81
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
@@ -681,33 +750,12 @@ export declare const bundlerArgsSchema: z.ZodObject<{
|
|
|
681
750
|
"min-executor-balance": z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
682
751
|
"executor-refill-interval": z.ZodNumber;
|
|
683
752
|
"executor-gas-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
684
|
-
"min-entity-stake": z.ZodNumber;
|
|
685
|
-
"min-entity-unstake-delay": z.ZodNumber;
|
|
686
|
-
"max-bundle-wait": z.ZodNumber;
|
|
687
|
-
"max-bundle-size": z.ZodNumber;
|
|
688
|
-
"gas-price-bump": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
689
|
-
"gas-price-floor-percent": z.ZodNumber;
|
|
690
|
-
"gas-price-expiry": z.ZodNumber;
|
|
691
|
-
"gas-price-multipliers": z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, bigint[], string>, bigint[], string>, {
|
|
692
|
-
slow: bigint;
|
|
693
|
-
standard: bigint;
|
|
694
|
-
fast: bigint;
|
|
695
|
-
}, string>;
|
|
696
|
-
"gas-price-refresh-interval": z.ZodNumber;
|
|
697
|
-
"mempool-max-parallel-ops": z.ZodDefault<z.ZodNumber>;
|
|
698
|
-
"mempool-max-queued-ops": z.ZodDefault<z.ZodNumber>;
|
|
699
|
-
"enforce-unique-senders-per-bundle": z.ZodDefault<z.ZodBoolean>;
|
|
700
|
-
"max-gas-per-bundle": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
701
|
-
"rpc-methods": z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string[] | null, string | null>, string[] | null, string | null>, string[] | null, string | null>;
|
|
702
|
-
"refilling-wallets": z.ZodDefault<z.ZodBoolean>;
|
|
703
|
-
"aa95-gas-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
704
|
-
"enable-instant-bundling-endpoint": z.ZodBoolean;
|
|
705
|
-
"enable-experimental-7702-endpoints": z.ZodBoolean;
|
|
706
753
|
}, "strip", z.ZodTypeAny, {
|
|
707
|
-
|
|
708
|
-
"
|
|
754
|
+
"enable-fastlane": boolean;
|
|
755
|
+
"resubmit-stuck-timeout": number;
|
|
756
|
+
"refilling-wallets": boolean;
|
|
757
|
+
"aa95-gas-multiplier": bigint;
|
|
709
758
|
"no-profit-bundling": boolean;
|
|
710
|
-
"safe-mode": boolean;
|
|
711
759
|
"utility-wallet-monitor": boolean;
|
|
712
760
|
"utility-wallet-monitor-interval": number;
|
|
713
761
|
"executor-private-keys": {
|
|
@@ -935,29 +983,6 @@ export declare const bundlerArgsSchema: z.ZodObject<{
|
|
|
935
983
|
}[];
|
|
936
984
|
"executor-refill-interval": number;
|
|
937
985
|
"executor-gas-multiplier": bigint;
|
|
938
|
-
"min-entity-stake": number;
|
|
939
|
-
"min-entity-unstake-delay": number;
|
|
940
|
-
"max-bundle-wait": number;
|
|
941
|
-
"max-bundle-size": number;
|
|
942
|
-
"gas-price-bump": bigint;
|
|
943
|
-
"gas-price-floor-percent": number;
|
|
944
|
-
"gas-price-expiry": number;
|
|
945
|
-
"gas-price-multipliers": {
|
|
946
|
-
slow: bigint;
|
|
947
|
-
standard: bigint;
|
|
948
|
-
fast: bigint;
|
|
949
|
-
};
|
|
950
|
-
"gas-price-refresh-interval": number;
|
|
951
|
-
"mempool-max-parallel-ops": number;
|
|
952
|
-
"mempool-max-queued-ops": number;
|
|
953
|
-
"enforce-unique-senders-per-bundle": boolean;
|
|
954
|
-
"max-gas-per-bundle": bigint;
|
|
955
|
-
"rpc-methods": string[] | null;
|
|
956
|
-
"refilling-wallets": boolean;
|
|
957
|
-
"aa95-gas-multiplier": bigint;
|
|
958
|
-
"enable-instant-bundling-endpoint": boolean;
|
|
959
|
-
"enable-experimental-7702-endpoints": boolean;
|
|
960
|
-
"entrypoint-simulation-contract"?: `0x${string}` | undefined;
|
|
961
986
|
"refill-helper-contract"?: `0x${string}` | undefined;
|
|
962
987
|
"utility-private-key"?: {
|
|
963
988
|
address: `0x${string}`;
|
|
@@ -1185,38 +1210,20 @@ export declare const bundlerArgsSchema: z.ZodObject<{
|
|
|
1185
1210
|
"max-executors"?: number | undefined;
|
|
1186
1211
|
"min-executor-balance"?: bigint | undefined;
|
|
1187
1212
|
}, {
|
|
1188
|
-
|
|
1189
|
-
"
|
|
1213
|
+
"enable-fastlane": boolean;
|
|
1214
|
+
"aa95-gas-multiplier": string;
|
|
1190
1215
|
"no-profit-bundling": boolean;
|
|
1191
|
-
"safe-mode": boolean;
|
|
1192
1216
|
"utility-wallet-monitor": boolean;
|
|
1193
1217
|
"utility-wallet-monitor-interval": number;
|
|
1194
1218
|
"executor-private-keys": (string | string[]) & (string | string[] | undefined);
|
|
1195
1219
|
"executor-refill-interval": number;
|
|
1196
1220
|
"executor-gas-multiplier": string;
|
|
1197
|
-
"
|
|
1198
|
-
"
|
|
1199
|
-
"max-bundle-wait": number;
|
|
1200
|
-
"max-bundle-size": number;
|
|
1201
|
-
"gas-price-floor-percent": number;
|
|
1202
|
-
"gas-price-expiry": number;
|
|
1203
|
-
"gas-price-multipliers": string;
|
|
1204
|
-
"gas-price-refresh-interval": number;
|
|
1205
|
-
"rpc-methods": string | null;
|
|
1206
|
-
"aa95-gas-multiplier": string;
|
|
1207
|
-
"enable-instant-bundling-endpoint": boolean;
|
|
1208
|
-
"enable-experimental-7702-endpoints": boolean;
|
|
1209
|
-
"entrypoint-simulation-contract"?: unknown;
|
|
1221
|
+
"resubmit-stuck-timeout"?: number | undefined;
|
|
1222
|
+
"refilling-wallets"?: boolean | undefined;
|
|
1210
1223
|
"refill-helper-contract"?: string | undefined;
|
|
1211
1224
|
"utility-private-key"?: string | undefined;
|
|
1212
1225
|
"max-executors"?: number | undefined;
|
|
1213
1226
|
"min-executor-balance"?: string | undefined;
|
|
1214
|
-
"gas-price-bump"?: string | undefined;
|
|
1215
|
-
"mempool-max-parallel-ops"?: number | undefined;
|
|
1216
|
-
"mempool-max-queued-ops"?: number | undefined;
|
|
1217
|
-
"enforce-unique-senders-per-bundle"?: boolean | undefined;
|
|
1218
|
-
"max-gas-per-bundle"?: string | undefined;
|
|
1219
|
-
"refilling-wallets"?: boolean | undefined;
|
|
1220
1227
|
}>;
|
|
1221
1228
|
export declare const compatibilityArgsSchema: z.ZodObject<{
|
|
1222
1229
|
"chain-type": z.ZodEnum<["default", "op-stack", "arbitrum", "hedera", "mantle", "skale"]>;
|
|
@@ -1347,6 +1354,7 @@ export declare const debugArgsSchema: z.ZodObject<{
|
|
|
1347
1354
|
tenderly: boolean;
|
|
1348
1355
|
}>;
|
|
1349
1356
|
export declare const gasEstimationArgsSchema: z.ZodObject<{
|
|
1357
|
+
"entrypoint-simulation-contract": z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}` | undefined, unknown>;
|
|
1350
1358
|
"binary-search-tolerance-delta": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
1351
1359
|
"binary-search-gas-allowance": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
1352
1360
|
"v6-call-gas-limit-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
@@ -1370,6 +1378,7 @@ export declare const gasEstimationArgsSchema: z.ZodObject<{
|
|
|
1370
1378
|
"simulation-paymaster-verification-gas-limit": bigint;
|
|
1371
1379
|
"simulation-paymaster-post-op-gas-limit": bigint;
|
|
1372
1380
|
"paymaster-gas-limit-multiplier": bigint;
|
|
1381
|
+
"entrypoint-simulation-contract"?: `0x${string}` | undefined;
|
|
1373
1382
|
}, {
|
|
1374
1383
|
"v6-call-gas-limit-multiplier": string;
|
|
1375
1384
|
"v7-call-gas-limit-multiplier": string;
|
|
@@ -1380,6 +1389,7 @@ export declare const gasEstimationArgsSchema: z.ZodObject<{
|
|
|
1380
1389
|
"simulation-paymaster-verification-gas-limit": string;
|
|
1381
1390
|
"simulation-paymaster-post-op-gas-limit": string;
|
|
1382
1391
|
"paymaster-gas-limit-multiplier": string;
|
|
1392
|
+
"entrypoint-simulation-contract"?: unknown;
|
|
1383
1393
|
"binary-search-tolerance-delta"?: string | undefined;
|
|
1384
1394
|
"binary-search-gas-allowance"?: string | undefined;
|
|
1385
1395
|
}>;
|
|
@@ -1387,6 +1397,8 @@ export type IBundlerArgs = z.infer<typeof bundlerArgsSchema>;
|
|
|
1387
1397
|
export type IBundlerArgsInput = z.input<typeof bundlerArgsSchema>;
|
|
1388
1398
|
export type ICompatibilityArgs = z.infer<typeof compatibilityArgsSchema>;
|
|
1389
1399
|
export type ICompatibilityArgsInput = z.input<typeof compatibilityArgsSchema>;
|
|
1400
|
+
export type IExecutorArgs = z.infer<typeof executorArgsSchema>;
|
|
1401
|
+
export type IExecutorArgsInput = z.input<typeof executorArgsSchema>;
|
|
1390
1402
|
export type IServerArgs = z.infer<typeof serverArgsSchema>;
|
|
1391
1403
|
export type IServerArgsInput = z.input<typeof serverArgsSchema>;
|
|
1392
1404
|
export type IRpcArgs = z.infer<typeof rpcArgsSchema>;
|
|
@@ -1398,59 +1410,12 @@ export type IDebugArgsInput = z.input<typeof debugArgsSchema>;
|
|
|
1398
1410
|
export type IGasEstimationArgs = z.infer<typeof gasEstimationArgsSchema>;
|
|
1399
1411
|
export type IGasEstimationArgsInput = z.input<typeof gasEstimationArgsSchema>;
|
|
1400
1412
|
export declare const optionArgsSchema: z.ZodObject<{
|
|
1401
|
-
"
|
|
1402
|
-
"
|
|
1403
|
-
"
|
|
1404
|
-
"
|
|
1405
|
-
"v7-verification-gas-limit-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
1406
|
-
"v7-paymaster-verification-gas-limit-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
1407
|
-
"simulation-call-gas-limit": z.ZodEffects<z.ZodString, bigint, string>;
|
|
1408
|
-
"simulation-verification-gas-limit": z.ZodEffects<z.ZodString, bigint, string>;
|
|
1409
|
-
"simulation-paymaster-verification-gas-limit": z.ZodEffects<z.ZodString, bigint, string>;
|
|
1410
|
-
"simulation-paymaster-post-op-gas-limit": z.ZodEffects<z.ZodString, bigint, string>;
|
|
1411
|
-
"paymaster-gas-limit-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
1412
|
-
"bundle-mode": z.ZodEnum<["auto", "manual"]>;
|
|
1413
|
-
"enable-debug-endpoints": z.ZodBoolean;
|
|
1414
|
-
"expiration-check": z.ZodBoolean;
|
|
1415
|
-
"dangerous-skip-user-operation-validation": z.ZodBoolean;
|
|
1416
|
-
"deploy-simulations-contract": z.ZodBoolean;
|
|
1417
|
-
tenderly: z.ZodBoolean;
|
|
1418
|
-
"rpc-url": z.ZodString;
|
|
1419
|
-
"send-transaction-rpc-url": z.ZodOptional<z.ZodString>;
|
|
1420
|
-
"polling-interval": z.ZodNumber;
|
|
1421
|
-
"max-block-range": z.ZodOptional<z.ZodNumber>;
|
|
1422
|
-
"block-tag-support": z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1423
|
-
"code-override-support": z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1424
|
-
port: z.ZodNumber;
|
|
1425
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1426
|
-
websocket: z.ZodDefault<z.ZodBoolean>;
|
|
1427
|
-
"websocket-max-payload-size": z.ZodDefault<z.ZodNumber>;
|
|
1428
|
-
"redis-queue-endpoint": z.ZodOptional<z.ZodString>;
|
|
1429
|
-
"redis-event-manager-queue-name": z.ZodOptional<z.ZodString>;
|
|
1430
|
-
json: z.ZodBoolean;
|
|
1431
|
-
"network-name": z.ZodString;
|
|
1432
|
-
"log-level": z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>;
|
|
1433
|
-
"public-client-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
1434
|
-
"wallet-client-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
1435
|
-
"rpc-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
1436
|
-
"mempool-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
1437
|
-
"executor-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
1438
|
-
"reputation-manager-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
1439
|
-
"nonce-queuer-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
1440
|
-
"chain-type": z.ZodEnum<["default", "op-stack", "arbitrum", "hedera", "mantle", "skale"]>;
|
|
1441
|
-
"legacy-transactions": z.ZodBoolean;
|
|
1442
|
-
"api-version": z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, ApiVersion[], string | undefined>;
|
|
1443
|
-
"default-api-version": z.ZodEffects<z.ZodOptional<z.ZodEnum<["v1", "v2"]>>, "v1" | "v2", "v1" | "v2" | undefined>;
|
|
1444
|
-
"balance-override": z.ZodBoolean;
|
|
1445
|
-
"local-gas-limit-calculation": z.ZodBoolean;
|
|
1446
|
-
"flush-stuck-transactions-during-startup": z.ZodBoolean;
|
|
1447
|
-
"fixed-gas-limit-for-estimation": z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
1448
|
-
entrypoints: z.ZodEffects<z.ZodString, `0x${string}`[], string>;
|
|
1449
|
-
"deterministic-deployer-address": z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1450
|
-
"entrypoint-simulation-contract": z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}` | undefined, unknown>;
|
|
1413
|
+
"enable-fastlane": z.ZodBoolean;
|
|
1414
|
+
"resubmit-stuck-timeout": z.ZodDefault<z.ZodNumber>;
|
|
1415
|
+
"refilling-wallets": z.ZodDefault<z.ZodBoolean>;
|
|
1416
|
+
"aa95-gas-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
1451
1417
|
"refill-helper-contract": z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
1452
1418
|
"no-profit-bundling": z.ZodBoolean;
|
|
1453
|
-
"safe-mode": z.ZodBoolean;
|
|
1454
1419
|
"utility-private-key": z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, {
|
|
1455
1420
|
address: `0x${string}`;
|
|
1456
1421
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
@@ -2125,6 +2090,57 @@ export declare const optionArgsSchema: z.ZodObject<{
|
|
|
2125
2090
|
"min-executor-balance": z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
2126
2091
|
"executor-refill-interval": z.ZodNumber;
|
|
2127
2092
|
"executor-gas-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
2093
|
+
"entrypoint-simulation-contract": z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}` | undefined, unknown>;
|
|
2094
|
+
"binary-search-tolerance-delta": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
2095
|
+
"binary-search-gas-allowance": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
2096
|
+
"v6-call-gas-limit-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
2097
|
+
"v7-call-gas-limit-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
2098
|
+
"v7-verification-gas-limit-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
2099
|
+
"v7-paymaster-verification-gas-limit-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
2100
|
+
"simulation-call-gas-limit": z.ZodEffects<z.ZodString, bigint, string>;
|
|
2101
|
+
"simulation-verification-gas-limit": z.ZodEffects<z.ZodString, bigint, string>;
|
|
2102
|
+
"simulation-paymaster-verification-gas-limit": z.ZodEffects<z.ZodString, bigint, string>;
|
|
2103
|
+
"simulation-paymaster-post-op-gas-limit": z.ZodEffects<z.ZodString, bigint, string>;
|
|
2104
|
+
"paymaster-gas-limit-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
2105
|
+
"bundle-mode": z.ZodEnum<["auto", "manual"]>;
|
|
2106
|
+
"enable-debug-endpoints": z.ZodBoolean;
|
|
2107
|
+
"expiration-check": z.ZodBoolean;
|
|
2108
|
+
"dangerous-skip-user-operation-validation": z.ZodBoolean;
|
|
2109
|
+
"deploy-simulations-contract": z.ZodBoolean;
|
|
2110
|
+
tenderly: z.ZodBoolean;
|
|
2111
|
+
"rpc-url": z.ZodString;
|
|
2112
|
+
"send-transaction-rpc-url": z.ZodOptional<z.ZodString>;
|
|
2113
|
+
"polling-interval": z.ZodNumber;
|
|
2114
|
+
"max-block-range": z.ZodOptional<z.ZodNumber>;
|
|
2115
|
+
"block-tag-support": z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2116
|
+
"code-override-support": z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2117
|
+
port: z.ZodNumber;
|
|
2118
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2119
|
+
websocket: z.ZodDefault<z.ZodBoolean>;
|
|
2120
|
+
"websocket-max-payload-size": z.ZodDefault<z.ZodNumber>;
|
|
2121
|
+
"redis-queue-endpoint": z.ZodOptional<z.ZodString>;
|
|
2122
|
+
"redis-event-manager-queue-name": z.ZodOptional<z.ZodString>;
|
|
2123
|
+
json: z.ZodBoolean;
|
|
2124
|
+
"network-name": z.ZodString;
|
|
2125
|
+
"log-level": z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>;
|
|
2126
|
+
"public-client-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
2127
|
+
"wallet-client-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
2128
|
+
"rpc-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
2129
|
+
"mempool-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
2130
|
+
"executor-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
2131
|
+
"reputation-manager-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
2132
|
+
"nonce-queuer-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
2133
|
+
"chain-type": z.ZodEnum<["default", "op-stack", "arbitrum", "hedera", "mantle", "skale"]>;
|
|
2134
|
+
"legacy-transactions": z.ZodBoolean;
|
|
2135
|
+
"api-version": z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, ApiVersion[], string | undefined>;
|
|
2136
|
+
"default-api-version": z.ZodEffects<z.ZodOptional<z.ZodEnum<["v1", "v2"]>>, "v1" | "v2", "v1" | "v2" | undefined>;
|
|
2137
|
+
"balance-override": z.ZodBoolean;
|
|
2138
|
+
"local-gas-limit-calculation": z.ZodBoolean;
|
|
2139
|
+
"flush-stuck-transactions-during-startup": z.ZodBoolean;
|
|
2140
|
+
"fixed-gas-limit-for-estimation": z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
2141
|
+
entrypoints: z.ZodEffects<z.ZodString, `0x${string}`[], string>;
|
|
2142
|
+
"deterministic-deployer-address": z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2143
|
+
"safe-mode": z.ZodBoolean;
|
|
2128
2144
|
"min-entity-stake": z.ZodNumber;
|
|
2129
2145
|
"min-entity-unstake-delay": z.ZodNumber;
|
|
2130
2146
|
"max-bundle-wait": z.ZodNumber;
|
|
@@ -2143,15 +2159,37 @@ export declare const optionArgsSchema: z.ZodObject<{
|
|
|
2143
2159
|
"enforce-unique-senders-per-bundle": z.ZodDefault<z.ZodBoolean>;
|
|
2144
2160
|
"max-gas-per-bundle": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
2145
2161
|
"rpc-methods": z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string[] | null, string | null>, string[] | null, string | null>, string[] | null, string | null>;
|
|
2146
|
-
"refilling-wallets": z.ZodDefault<z.ZodBoolean>;
|
|
2147
|
-
"aa95-gas-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
2148
2162
|
"enable-instant-bundling-endpoint": z.ZodBoolean;
|
|
2149
2163
|
"enable-experimental-7702-endpoints": z.ZodBoolean;
|
|
2150
2164
|
}, "strip", z.ZodTypeAny, {
|
|
2151
2165
|
entrypoints: `0x${string}`[];
|
|
2152
2166
|
"deterministic-deployer-address": `0x${string}`;
|
|
2153
|
-
"no-profit-bundling": boolean;
|
|
2154
2167
|
"safe-mode": boolean;
|
|
2168
|
+
"min-entity-stake": number;
|
|
2169
|
+
"min-entity-unstake-delay": number;
|
|
2170
|
+
"max-bundle-wait": number;
|
|
2171
|
+
"max-bundle-size": number;
|
|
2172
|
+
"gas-price-bump": bigint;
|
|
2173
|
+
"gas-price-floor-percent": number;
|
|
2174
|
+
"gas-price-expiry": number;
|
|
2175
|
+
"gas-price-multipliers": {
|
|
2176
|
+
slow: bigint;
|
|
2177
|
+
standard: bigint;
|
|
2178
|
+
fast: bigint;
|
|
2179
|
+
};
|
|
2180
|
+
"gas-price-refresh-interval": number;
|
|
2181
|
+
"mempool-max-parallel-ops": number;
|
|
2182
|
+
"mempool-max-queued-ops": number;
|
|
2183
|
+
"enforce-unique-senders-per-bundle": boolean;
|
|
2184
|
+
"max-gas-per-bundle": bigint;
|
|
2185
|
+
"rpc-methods": string[] | null;
|
|
2186
|
+
"enable-instant-bundling-endpoint": boolean;
|
|
2187
|
+
"enable-experimental-7702-endpoints": boolean;
|
|
2188
|
+
"enable-fastlane": boolean;
|
|
2189
|
+
"resubmit-stuck-timeout": number;
|
|
2190
|
+
"refilling-wallets": boolean;
|
|
2191
|
+
"aa95-gas-multiplier": bigint;
|
|
2192
|
+
"no-profit-bundling": boolean;
|
|
2155
2193
|
"utility-wallet-monitor": boolean;
|
|
2156
2194
|
"utility-wallet-monitor-interval": number;
|
|
2157
2195
|
"executor-private-keys": {
|
|
@@ -2379,28 +2417,6 @@ export declare const optionArgsSchema: z.ZodObject<{
|
|
|
2379
2417
|
}[];
|
|
2380
2418
|
"executor-refill-interval": number;
|
|
2381
2419
|
"executor-gas-multiplier": bigint;
|
|
2382
|
-
"min-entity-stake": number;
|
|
2383
|
-
"min-entity-unstake-delay": number;
|
|
2384
|
-
"max-bundle-wait": number;
|
|
2385
|
-
"max-bundle-size": number;
|
|
2386
|
-
"gas-price-bump": bigint;
|
|
2387
|
-
"gas-price-floor-percent": number;
|
|
2388
|
-
"gas-price-expiry": number;
|
|
2389
|
-
"gas-price-multipliers": {
|
|
2390
|
-
slow: bigint;
|
|
2391
|
-
standard: bigint;
|
|
2392
|
-
fast: bigint;
|
|
2393
|
-
};
|
|
2394
|
-
"gas-price-refresh-interval": number;
|
|
2395
|
-
"mempool-max-parallel-ops": number;
|
|
2396
|
-
"mempool-max-queued-ops": number;
|
|
2397
|
-
"enforce-unique-senders-per-bundle": boolean;
|
|
2398
|
-
"max-gas-per-bundle": bigint;
|
|
2399
|
-
"rpc-methods": string[] | null;
|
|
2400
|
-
"refilling-wallets": boolean;
|
|
2401
|
-
"aa95-gas-multiplier": bigint;
|
|
2402
|
-
"enable-instant-bundling-endpoint": boolean;
|
|
2403
|
-
"enable-experimental-7702-endpoints": boolean;
|
|
2404
2420
|
"chain-type": "default" | "op-stack" | "arbitrum" | "hedera" | "mantle" | "skale";
|
|
2405
2421
|
"legacy-transactions": boolean;
|
|
2406
2422
|
"api-version": ApiVersion[];
|
|
@@ -2435,20 +2451,6 @@ export declare const optionArgsSchema: z.ZodObject<{
|
|
|
2435
2451
|
"simulation-paymaster-verification-gas-limit": bigint;
|
|
2436
2452
|
"simulation-paymaster-post-op-gas-limit": bigint;
|
|
2437
2453
|
"paymaster-gas-limit-multiplier": bigint;
|
|
2438
|
-
"send-transaction-rpc-url"?: string | undefined;
|
|
2439
|
-
"max-block-range"?: number | undefined;
|
|
2440
|
-
timeout?: number | undefined;
|
|
2441
|
-
"redis-queue-endpoint"?: string | undefined;
|
|
2442
|
-
"redis-event-manager-queue-name"?: string | undefined;
|
|
2443
|
-
"public-client-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2444
|
-
"wallet-client-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2445
|
-
"rpc-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2446
|
-
"mempool-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2447
|
-
"executor-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2448
|
-
"reputation-manager-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2449
|
-
"nonce-queuer-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2450
|
-
"fixed-gas-limit-for-estimation"?: bigint | undefined;
|
|
2451
|
-
"entrypoint-simulation-contract"?: `0x${string}` | undefined;
|
|
2452
2454
|
"refill-helper-contract"?: `0x${string}` | undefined;
|
|
2453
2455
|
"utility-private-key"?: {
|
|
2454
2456
|
address: `0x${string}`;
|
|
@@ -2675,16 +2677,24 @@ export declare const optionArgsSchema: z.ZodObject<{
|
|
|
2675
2677
|
} | undefined;
|
|
2676
2678
|
"max-executors"?: number | undefined;
|
|
2677
2679
|
"min-executor-balance"?: bigint | undefined;
|
|
2680
|
+
"entrypoint-simulation-contract"?: `0x${string}` | undefined;
|
|
2681
|
+
"send-transaction-rpc-url"?: string | undefined;
|
|
2682
|
+
"max-block-range"?: number | undefined;
|
|
2683
|
+
timeout?: number | undefined;
|
|
2684
|
+
"redis-queue-endpoint"?: string | undefined;
|
|
2685
|
+
"redis-event-manager-queue-name"?: string | undefined;
|
|
2686
|
+
"public-client-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2687
|
+
"wallet-client-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2688
|
+
"rpc-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2689
|
+
"mempool-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2690
|
+
"executor-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2691
|
+
"reputation-manager-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2692
|
+
"nonce-queuer-log-level"?: "error" | "info" | "trace" | "debug" | "warn" | "fatal" | undefined;
|
|
2693
|
+
"fixed-gas-limit-for-estimation"?: bigint | undefined;
|
|
2678
2694
|
}, {
|
|
2679
2695
|
entrypoints: string;
|
|
2680
2696
|
"deterministic-deployer-address": string;
|
|
2681
|
-
"no-profit-bundling": boolean;
|
|
2682
2697
|
"safe-mode": boolean;
|
|
2683
|
-
"utility-wallet-monitor": boolean;
|
|
2684
|
-
"utility-wallet-monitor-interval": number;
|
|
2685
|
-
"executor-private-keys": (string | string[]) & (string | string[] | undefined);
|
|
2686
|
-
"executor-refill-interval": number;
|
|
2687
|
-
"executor-gas-multiplier": string;
|
|
2688
2698
|
"min-entity-stake": number;
|
|
2689
2699
|
"min-entity-unstake-delay": number;
|
|
2690
2700
|
"max-bundle-wait": number;
|
|
@@ -2694,9 +2704,16 @@ export declare const optionArgsSchema: z.ZodObject<{
|
|
|
2694
2704
|
"gas-price-multipliers": string;
|
|
2695
2705
|
"gas-price-refresh-interval": number;
|
|
2696
2706
|
"rpc-methods": string | null;
|
|
2697
|
-
"aa95-gas-multiplier": string;
|
|
2698
2707
|
"enable-instant-bundling-endpoint": boolean;
|
|
2699
2708
|
"enable-experimental-7702-endpoints": boolean;
|
|
2709
|
+
"enable-fastlane": boolean;
|
|
2710
|
+
"aa95-gas-multiplier": string;
|
|
2711
|
+
"no-profit-bundling": boolean;
|
|
2712
|
+
"utility-wallet-monitor": boolean;
|
|
2713
|
+
"utility-wallet-monitor-interval": number;
|
|
2714
|
+
"executor-private-keys": (string | string[]) & (string | string[] | undefined);
|
|
2715
|
+
"executor-refill-interval": number;
|
|
2716
|
+
"executor-gas-multiplier": string;
|
|
2700
2717
|
"chain-type": "default" | "op-stack" | "arbitrum" | "hedera" | "mantle" | "skale";
|
|
2701
2718
|
"legacy-transactions": boolean;
|
|
2702
2719
|
"balance-override": boolean;
|
|
@@ -2723,6 +2740,13 @@ export declare const optionArgsSchema: z.ZodObject<{
|
|
|
2723
2740
|
"simulation-paymaster-verification-gas-limit": string;
|
|
2724
2741
|
"simulation-paymaster-post-op-gas-limit": string;
|
|
2725
2742
|
"paymaster-gas-limit-multiplier": string;
|
|
2743
|
+
"resubmit-stuck-timeout"?: number | undefined;
|
|
2744
|
+
"refilling-wallets"?: boolean | undefined;
|
|
2745
|
+
"refill-helper-contract"?: string | undefined;
|
|
2746
|
+
"utility-private-key"?: string | undefined;
|
|
2747
|
+
"max-executors"?: number | undefined;
|
|
2748
|
+
"min-executor-balance"?: string | undefined;
|
|
2749
|
+
"entrypoint-simulation-contract"?: unknown;
|
|
2726
2750
|
"binary-search-tolerance-delta"?: string | undefined;
|
|
2727
2751
|
"binary-search-gas-allowance"?: string | undefined;
|
|
2728
2752
|
"send-transaction-rpc-url"?: string | undefined;
|
|
@@ -2744,17 +2768,11 @@ export declare const optionArgsSchema: z.ZodObject<{
|
|
|
2744
2768
|
"api-version"?: string | undefined;
|
|
2745
2769
|
"default-api-version"?: "v1" | "v2" | undefined;
|
|
2746
2770
|
"fixed-gas-limit-for-estimation"?: string | undefined;
|
|
2747
|
-
"entrypoint-simulation-contract"?: unknown;
|
|
2748
|
-
"refill-helper-contract"?: string | undefined;
|
|
2749
|
-
"utility-private-key"?: string | undefined;
|
|
2750
|
-
"max-executors"?: number | undefined;
|
|
2751
|
-
"min-executor-balance"?: string | undefined;
|
|
2752
2771
|
"gas-price-bump"?: string | undefined;
|
|
2753
2772
|
"mempool-max-parallel-ops"?: number | undefined;
|
|
2754
2773
|
"mempool-max-queued-ops"?: number | undefined;
|
|
2755
2774
|
"enforce-unique-senders-per-bundle"?: boolean | undefined;
|
|
2756
2775
|
"max-gas-per-bundle"?: string | undefined;
|
|
2757
|
-
"refilling-wallets"?: boolean | undefined;
|
|
2758
2776
|
}>;
|
|
2759
2777
|
export type IOptions = z.infer<typeof optionArgsSchema>;
|
|
2760
2778
|
export type IOptionsInput = z.input<typeof optionArgsSchema>;
|
|
@@ -14,33 +14,7 @@ export const bundlerArgsSchema = z.object({
|
|
|
14
14
|
return validatedAddresses;
|
|
15
15
|
}),
|
|
16
16
|
"deterministic-deployer-address": addressSchema,
|
|
17
|
-
"entrypoint-simulation-contract": z.preprocess((v) => (v === "" ? undefined : v), addressSchema.optional()),
|
|
18
|
-
"refill-helper-contract": addressSchema.optional(),
|
|
19
|
-
"no-profit-bundling": z.boolean(),
|
|
20
17
|
"safe-mode": z.boolean(),
|
|
21
|
-
"utility-private-key": hexData32Schema
|
|
22
|
-
.transform((val) => privateKeyToAccount(val))
|
|
23
|
-
.optional(),
|
|
24
|
-
"utility-wallet-monitor": z.boolean(),
|
|
25
|
-
"utility-wallet-monitor-interval": z.number(),
|
|
26
|
-
"executor-private-keys": z.union([
|
|
27
|
-
z
|
|
28
|
-
.array(hexData32Schema)
|
|
29
|
-
.transform((vals) => vals.map((val) => privateKeyToAccount(val))),
|
|
30
|
-
z
|
|
31
|
-
.string()
|
|
32
|
-
.regex(/^0x(?:[0-9a-f]{2}){32}(?:,0x(?:[0-9a-f]{2}){32})*$/)
|
|
33
|
-
.transform((val) => val
|
|
34
|
-
.split(",")
|
|
35
|
-
.map((val) => privateKeyToAccount(val)))
|
|
36
|
-
]),
|
|
37
|
-
"max-executors": z.number().int().min(0).optional(),
|
|
38
|
-
"min-executor-balance": z
|
|
39
|
-
.string()
|
|
40
|
-
.transform((val) => BigInt(val))
|
|
41
|
-
.optional(),
|
|
42
|
-
"executor-refill-interval": z.number().int().min(0),
|
|
43
|
-
"executor-gas-multiplier": z.string().transform((val) => BigInt(val)),
|
|
44
18
|
"min-entity-stake": z.number().int().min(0),
|
|
45
19
|
"min-entity-unstake-delay": z.number().int().min(0),
|
|
46
20
|
"max-bundle-wait": z.number().int().min(0),
|
|
@@ -82,11 +56,40 @@ export const bundlerArgsSchema = z.object({
|
|
|
82
56
|
return true;
|
|
83
57
|
return values.every((value) => rpcMethodNames.includes(value));
|
|
84
58
|
}, `Unknown method specified, available methods: ${rpcMethodNames.join(",")}`),
|
|
85
|
-
"refilling-wallets": z.boolean().default(true),
|
|
86
|
-
"aa95-gas-multiplier": z.string().transform((val) => BigInt(val)),
|
|
87
59
|
"enable-instant-bundling-endpoint": z.boolean(),
|
|
88
60
|
"enable-experimental-7702-endpoints": z.boolean()
|
|
89
61
|
});
|
|
62
|
+
export const executorArgsSchema = z.object({
|
|
63
|
+
"enable-fastlane": z.boolean(),
|
|
64
|
+
"resubmit-stuck-timeout": z.number().int().min(0).default(15_000),
|
|
65
|
+
"refilling-wallets": z.boolean().default(true),
|
|
66
|
+
"aa95-gas-multiplier": z.string().transform((val) => BigInt(val)),
|
|
67
|
+
"refill-helper-contract": addressSchema.optional(),
|
|
68
|
+
"no-profit-bundling": z.boolean(),
|
|
69
|
+
"utility-private-key": hexData32Schema
|
|
70
|
+
.transform((val) => privateKeyToAccount(val))
|
|
71
|
+
.optional(),
|
|
72
|
+
"utility-wallet-monitor": z.boolean(),
|
|
73
|
+
"utility-wallet-monitor-interval": z.number(),
|
|
74
|
+
"executor-private-keys": z.union([
|
|
75
|
+
z
|
|
76
|
+
.array(hexData32Schema)
|
|
77
|
+
.transform((vals) => vals.map((val) => privateKeyToAccount(val))),
|
|
78
|
+
z
|
|
79
|
+
.string()
|
|
80
|
+
.regex(/^0x(?:[0-9a-f]{2}){32}(?:,0x(?:[0-9a-f]{2}){32})*$/)
|
|
81
|
+
.transform((val) => val
|
|
82
|
+
.split(",")
|
|
83
|
+
.map((val) => privateKeyToAccount(val)))
|
|
84
|
+
]),
|
|
85
|
+
"max-executors": z.number().int().min(0).optional(),
|
|
86
|
+
"min-executor-balance": z
|
|
87
|
+
.string()
|
|
88
|
+
.transform((val) => BigInt(val))
|
|
89
|
+
.optional(),
|
|
90
|
+
"executor-refill-interval": z.number().int().min(0),
|
|
91
|
+
"executor-gas-multiplier": z.string().transform((val) => BigInt(val))
|
|
92
|
+
});
|
|
90
93
|
export const compatibilityArgsSchema = z.object({
|
|
91
94
|
"chain-type": z.enum([
|
|
92
95
|
"default",
|
|
@@ -156,6 +159,7 @@ export const debugArgsSchema = z.object({
|
|
|
156
159
|
tenderly: z.boolean()
|
|
157
160
|
});
|
|
158
161
|
export const gasEstimationArgsSchema = z.object({
|
|
162
|
+
"entrypoint-simulation-contract": z.preprocess((v) => (v === "" ? undefined : v), addressSchema.optional()),
|
|
159
163
|
"binary-search-tolerance-delta": z
|
|
160
164
|
.string()
|
|
161
165
|
.transform((val) => BigInt(val))
|
|
@@ -191,6 +195,7 @@ export const optionArgsSchema = z.object({
|
|
|
191
195
|
...serverArgsSchema.shape,
|
|
192
196
|
...rpcArgsSchema.shape,
|
|
193
197
|
...debugArgsSchema.shape,
|
|
194
|
-
...gasEstimationArgsSchema.shape
|
|
198
|
+
...gasEstimationArgsSchema.shape,
|
|
199
|
+
...executorArgsSchema.shape
|
|
195
200
|
});
|
|
196
201
|
//# sourceMappingURL=bundler.js.map
|