@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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Logger } from "../utils/index.js";
|
|
2
|
+
import { SendRawTransactionReturnType, Hash, WalletClient, PublicClient } from "viem";
|
|
3
|
+
export declare function sendPflConditional({ serializedTransaction, publicClient, walletClient, logger }: {
|
|
4
|
+
serializedTransaction: Hash;
|
|
5
|
+
publicClient: PublicClient;
|
|
6
|
+
walletClient: WalletClient;
|
|
7
|
+
logger: Logger;
|
|
8
|
+
}): Promise<SendRawTransactionReturnType>;
|
|
9
|
+
//# sourceMappingURL=fastlane.d.ts.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createClient, http, toHex, BaseError } from "viem";
|
|
2
|
+
const pflClient = createClient({
|
|
3
|
+
transport: http("https://polygon-rpc.fastlane.xyz")
|
|
4
|
+
});
|
|
5
|
+
export async function sendPflConditional({ serializedTransaction, publicClient, walletClient, logger }) {
|
|
6
|
+
try {
|
|
7
|
+
const blockNumberMin = await publicClient.getBlockNumber();
|
|
8
|
+
const blockNumberMax = blockNumberMin + 30n;
|
|
9
|
+
const timestampMin = Date.now() / 1000;
|
|
10
|
+
const timestampMax = timestampMin + 60;
|
|
11
|
+
const opts = {
|
|
12
|
+
//knownAccounts: {}
|
|
13
|
+
blockNumberMin: toHex(blockNumberMin),
|
|
14
|
+
blockNumberMax: toHex(blockNumberMax),
|
|
15
|
+
timestampMin: Math.floor(timestampMin),
|
|
16
|
+
timestampMax: Math.floor(timestampMax)
|
|
17
|
+
};
|
|
18
|
+
const txHash = (await pflClient.request({
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
method: "pfl_sendRawTransactionConditional",
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
params: [serializedTransaction, opts]
|
|
23
|
+
}));
|
|
24
|
+
if (!txHash) {
|
|
25
|
+
const error = new BaseError("FastLane API returned empty transaction hash");
|
|
26
|
+
error.details =
|
|
27
|
+
"PFL conditional transaction failed: No txHash in response";
|
|
28
|
+
throw error;
|
|
29
|
+
}
|
|
30
|
+
return txHash;
|
|
31
|
+
}
|
|
32
|
+
catch (e) {
|
|
33
|
+
logger.error("Error sending through pfl_sendRawTransactionConditional ", e?.details);
|
|
34
|
+
return await walletClient.sendRawTransaction({ serializedTransaction });
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=fastlane.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
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IAAC,OAAO,CAAU,EAAE,CAAC;QAClB,MAAM,CAAC,KAAK,CACR,0DAA0D,EACzD,CAAS,EAAE,OAAO,CACtB,CAAA;QACD,OAAO,MAAM,YAAY,CAAC,kBAAkB,CAAC,EAAE,qBAAqB,EAAE,CAAC,CAAA;IAC3E,CAAC;AACL,CAAC"}
|
package/lib/cli/alto.js
CHANGED
|
@@ -79,6 +79,8 @@ function getAltoCli() {
|
|
|
79
79
|
.group(Object.keys(config_1.compatibilityOptions), "Compatibility Options:")
|
|
80
80
|
.options(config_1.serverOptions)
|
|
81
81
|
.group(Object.keys(config_1.serverOptions), "Server Options:")
|
|
82
|
+
.options(config_1.executorOptions)
|
|
83
|
+
.group(Object.keys(config_1.executorOptions), "Executor Options:")
|
|
82
84
|
.options(config_1.rpcOptions)
|
|
83
85
|
.group(Object.keys(config_1.rpcOptions), "RPC Options:")
|
|
84
86
|
.options(config_1.logOptions)
|
package/lib/cli/alto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alto.js","sourceRoot":"","sources":["../../cli/alto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAsC;AACtC,oDAA2B;AAC3B,kDAAyB;AACzB,2CAAuC;AACvC,
|
|
1
|
+
{"version":3,"file":"alto.js","sourceRoot":"","sources":["../../cli/alto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAsC;AACtC,oDAA2B;AAC3B,kDAAyB;AACzB,2CAAuC;AACvC,qCAUiB;AACjB,iCAA+C;AAC/C,+BAAuE;AAEvE,4CAA4C;AAC5C,IAAI,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,CAAC;IACjC,gBAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,CAAC,CAAA;AAC3D,CAAC;KAAM,CAAC;IACJ,gBAAM,CAAC,MAAM,EAAE,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E,CAAC;QACN,wDAAwD;QACxD,IAAI,GAAG,CAAC,QAAQ,CAAC,iCAAiC,CAAC,EAAE,CAAC;YAClD,YAAI,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>;
|