@pimlico/alto 0.0.0-staging.20240606T101741 → 0.0.0-staging.20240606T103333
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.d.ts +6 -0
- package/esm/cli/alto.js +92 -0
- package/esm/cli/alto.js.map +1 -0
- package/esm/cli/config/bundler.d.ts +391 -0
- package/esm/cli/config/bundler.js +132 -0
- package/esm/cli/config/bundler.js.map +1 -0
- package/esm/cli/config/index.d.ts +3 -0
- package/esm/cli/config/index.js +3 -0
- package/esm/cli/config/index.js.map +1 -0
- package/esm/cli/config/options.d.ts +11 -0
- package/esm/cli/config/options.js +336 -0
- package/esm/cli/config/options.js.map +1 -0
- package/esm/cli/customTransport.d.ts +14 -0
- package/esm/cli/customTransport.js +53 -0
- package/esm/cli/customTransport.js.map +1 -0
- package/esm/cli/handler.d.ts +3 -0
- package/esm/cli/handler.js +116 -0
- package/esm/cli/handler.js.map +1 -0
- package/esm/cli/index.d.ts +4 -0
- package/esm/cli/index.js +4 -0
- package/esm/cli/index.js.map +1 -0
- package/esm/cli/instrumentation.d.ts +2 -0
- package/esm/cli/instrumentation.js +39 -0
- package/esm/cli/instrumentation.js.map +1 -0
- package/esm/cli/setupServer.d.ts +17 -0
- package/esm/cli/setupServer.js +155 -0
- package/esm/cli/setupServer.js.map +1 -0
- package/esm/cli/util.d.ts +22 -0
- package/esm/cli/util.js +30 -0
- package/esm/cli/util.js.map +1 -0
- package/esm/executor/executor.d.ts +54 -0
- package/esm/executor/executor.js +637 -0
- package/esm/executor/executor.js.map +1 -0
- package/esm/executor/executorManager.d.ts +34 -0
- package/esm/executor/executorManager.js +401 -0
- package/esm/executor/executorManager.js.map +1 -0
- package/esm/executor/index.d.ts +5 -0
- package/esm/executor/index.js +5 -0
- package/esm/executor/index.js.map +1 -0
- package/esm/executor/senderManager.d.ts +17 -0
- package/esm/executor/senderManager.js +160 -0
- package/esm/executor/senderManager.js.map +1 -0
- package/esm/executor/test/utils.d.ts +13 -0
- package/esm/executor/test/utils.js +75 -0
- package/esm/executor/test/utils.js.map +1 -0
- package/esm/executor/utils.d.ts +32 -0
- package/esm/executor/utils.js +239 -0
- package/esm/executor/utils.js.map +1 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/index.js.map +1 -0
- package/esm/mempool/index.d.ts +5 -0
- package/esm/mempool/index.js +5 -0
- package/esm/mempool/index.js.map +1 -0
- package/esm/mempool/mempool.d.ts +64 -0
- package/esm/mempool/mempool.js +489 -0
- package/esm/mempool/mempool.js.map +1 -0
- package/esm/mempool/monitoring.d.ts +10 -0
- package/esm/mempool/monitoring.js +34 -0
- package/esm/mempool/monitoring.js.map +1 -0
- package/esm/mempool/nullMempool.d.ts +15 -0
- package/esm/mempool/nullMempool.js +36 -0
- package/esm/mempool/nullMempool.js.map +1 -0
- package/esm/mempool/reputationManager.d.ts +115 -0
- package/esm/mempool/reputationManager.js +397 -0
- package/esm/mempool/reputationManager.js.map +1 -0
- package/esm/mempool/store.d.ts +22 -0
- package/esm/mempool/store.js +123 -0
- package/esm/mempool/store.js.map +1 -0
- package/esm/rpc/EntryPointSimulationsV07.d.ts +58 -0
- package/esm/rpc/EntryPointSimulationsV07.js +407 -0
- package/esm/rpc/EntryPointSimulationsV07.js.map +1 -0
- package/esm/rpc/ExecuteSimulator.d.ts +37 -0
- package/esm/rpc/ExecuteSimulator.js +48 -0
- package/esm/rpc/ExecuteSimulator.js.map +1 -0
- package/esm/rpc/gasEstimation.d.ts +17 -0
- package/esm/rpc/gasEstimation.js +410 -0
- package/esm/rpc/gasEstimation.js.map +1 -0
- package/esm/rpc/index.d.ts +5 -0
- package/esm/rpc/index.js +5 -0
- package/esm/rpc/index.js.map +1 -0
- package/esm/rpc/nonceQueuer.d.ts +25 -0
- package/esm/rpc/nonceQueuer.js +135 -0
- package/esm/rpc/nonceQueuer.js.map +1 -0
- package/esm/rpc/rpcHandler.d.ts +64 -0
- package/esm/rpc/rpcHandler.js +727 -0
- package/esm/rpc/rpcHandler.js.map +1 -0
- package/esm/rpc/server.d.ts +31 -0
- package/esm/rpc/server.js +238 -0
- package/esm/rpc/server.js.map +1 -0
- package/esm/rpc/validation/BundlerCollectorTracerV06.d.ts +102 -0
- package/esm/rpc/validation/BundlerCollectorTracerV06.js +255 -0
- package/esm/rpc/validation/BundlerCollectorTracerV06.js.map +1 -0
- package/esm/rpc/validation/BundlerCollectorTracerV07.d.ts +102 -0
- package/esm/rpc/validation/BundlerCollectorTracerV07.js +254 -0
- package/esm/rpc/validation/BundlerCollectorTracerV07.js.map +1 -0
- package/esm/rpc/validation/SafeValidator.d.ts +35 -0
- package/esm/rpc/validation/SafeValidator.js +487 -0
- package/esm/rpc/validation/SafeValidator.js.map +1 -0
- package/esm/rpc/validation/TracerResultParserV06.d.ts +13 -0
- package/esm/rpc/validation/TracerResultParserV06.js +578 -0
- package/esm/rpc/validation/TracerResultParserV06.js.map +1 -0
- package/esm/rpc/validation/TracerResultParserV07.d.ts +33 -0
- package/esm/rpc/validation/TracerResultParserV07.js +557 -0
- package/esm/rpc/validation/TracerResultParserV07.js.map +1 -0
- package/esm/rpc/validation/UnsafeValidator.d.ts +63 -0
- package/esm/rpc/validation/UnsafeValidator.js +257 -0
- package/esm/rpc/validation/UnsafeValidator.js.map +1 -0
- package/esm/rpc/validation/index.d.ts +3 -0
- package/esm/rpc/validation/index.js +3 -0
- package/esm/rpc/validation/index.js.map +1 -0
- package/esm/rpc/validation/tracer.d.ts +122 -0
- package/esm/rpc/validation/tracer.js +82 -0
- package/esm/rpc/validation/tracer.js.map +1 -0
- package/esm/types/contracts/BundleBulker.d.ts +120 -0
- package/esm/types/contracts/BundleBulker.js +157 -0
- package/esm/types/contracts/BundleBulker.js.map +1 -0
- package/esm/types/contracts/CallEngine.d.ts +28 -0
- package/esm/types/contracts/CallEngine.js +37 -0
- package/esm/types/contracts/CallEngine.js.map +1 -0
- package/esm/types/contracts/CodeHashGetter.d.ts +37 -0
- package/esm/types/contracts/CodeHashGetter.js +45 -0
- package/esm/types/contracts/CodeHashGetter.js.map +1 -0
- package/esm/types/contracts/EntryPoint.d.ts +1789 -0
- package/esm/types/contracts/EntryPoint.js +2304 -0
- package/esm/types/contracts/EntryPoint.js.map +1 -0
- package/esm/types/contracts/EntryPointSimulations.d.ts +153 -0
- package/esm/types/contracts/EntryPointSimulations.js +15 -0
- package/esm/types/contracts/EntryPointSimulations.js.map +1 -0
- package/esm/types/contracts/IOpInflator.d.ts +61 -0
- package/esm/types/contracts/IOpInflator.js +80 -0
- package/esm/types/contracts/IOpInflator.js.map +1 -0
- package/esm/types/contracts/IPaymaster.d.ts +3 -0
- package/esm/types/contracts/IPaymaster.js +117 -0
- package/esm/types/contracts/IPaymaster.js.map +1 -0
- package/esm/types/contracts/Inflator.d.ts +65 -0
- package/esm/types/contracts/Inflator.js +84 -0
- package/esm/types/contracts/Inflator.js.map +1 -0
- package/esm/types/contracts/PerOpInflator.d.ts +176 -0
- package/esm/types/contracts/PerOpInflator.js +229 -0
- package/esm/types/contracts/PerOpInflator.js.map +1 -0
- package/esm/types/contracts/PimlicoEntryPointSimulations.d.ts +23 -0
- package/esm/types/contracts/PimlicoEntryPointSimulations.js +33 -0
- package/esm/types/contracts/PimlicoEntryPointSimulations.js.map +1 -0
- package/esm/types/contracts/SenderCreator.d.ts +4 -0
- package/esm/types/contracts/SenderCreator.js +23 -0
- package/esm/types/contracts/SenderCreator.js.map +1 -0
- package/esm/types/contracts/SimpleAccountFactory.d.ts +57 -0
- package/esm/types/contracts/SimpleAccountFactory.js +76 -0
- package/esm/types/contracts/SimpleAccountFactory.js.map +1 -0
- package/esm/types/contracts/TestOpcodesAccount.d.ts +4 -0
- package/esm/types/contracts/TestOpcodesAccount.js +281 -0
- package/esm/types/contracts/TestOpcodesAccount.js.map +1 -0
- package/esm/types/contracts/TestOpcodesAccountFactory.d.ts +4 -0
- package/esm/types/contracts/TestOpcodesAccountFactory.js +23 -0
- package/esm/types/contracts/TestOpcodesAccountFactory.js.map +1 -0
- package/esm/types/contracts/TestStorageAccount.d.ts +4 -0
- package/esm/types/contracts/TestStorageAccount.js +313 -0
- package/esm/types/contracts/TestStorageAccount.js.map +1 -0
- package/esm/types/contracts/index.d.ts +17 -0
- package/esm/types/contracts/index.js +17 -0
- package/esm/types/contracts/index.js.map +1 -0
- package/esm/types/gasPrice.d.ts +110 -0
- package/esm/types/gasPrice.js +52 -0
- package/esm/types/gasPrice.js.map +1 -0
- package/esm/types/index.d.ts +11 -0
- package/esm/types/index.js +11 -0
- package/esm/types/index.js.map +1 -0
- package/esm/types/interfaces.d.ts +26 -0
- package/esm/types/interfaces.js +2 -0
- package/esm/types/interfaces.js.map +1 -0
- package/esm/types/mempool.d.ts +78 -0
- package/esm/types/mempool.js +16 -0
- package/esm/types/mempool.js.map +1 -0
- package/esm/types/schemas.d.ts +4791 -0
- package/esm/types/schemas.js +497 -0
- package/esm/types/schemas.js.map +1 -0
- package/esm/types/test/validationTestErrors.d.ts +3 -0
- package/esm/types/test/validationTestErrors.js +229 -0
- package/esm/types/test/validationTestErrors.js.map +1 -0
- package/esm/types/utils.d.ts +24 -0
- package/esm/types/utils.js +30 -0
- package/esm/types/utils.js.map +1 -0
- package/esm/types/validation.d.ts +14327 -0
- package/esm/types/validation.js +304 -0
- package/esm/types/validation.js.map +1 -0
- package/esm/utils/bigInt.d.ts +3 -0
- package/esm/utils/bigInt.js +9 -0
- package/esm/utils/bigInt.js.map +1 -0
- package/esm/utils/compressionHandler.d.ts +11 -0
- package/esm/utils/compressionHandler.js +39 -0
- package/esm/utils/compressionHandler.js.map +1 -0
- package/esm/utils/gasPriceManager.d.ts +34 -0
- package/esm/utils/gasPriceManager.js +338 -0
- package/esm/utils/gasPriceManager.js.map +1 -0
- package/esm/utils/helpers.d.ts +4 -0
- package/esm/utils/helpers.js +13 -0
- package/esm/utils/helpers.js.map +1 -0
- package/esm/utils/index.d.ts +11 -0
- package/esm/utils/index.js +10 -0
- package/esm/utils/index.js.map +1 -0
- package/esm/utils/logger.d.ts +6 -0
- package/esm/utils/logger.js +76 -0
- package/esm/utils/logger.js.map +1 -0
- package/esm/utils/metrics.d.ts +22 -0
- package/esm/utils/metrics.js +150 -0
- package/esm/utils/metrics.js.map +1 -0
- package/esm/utils/rpc-reply.d.ts +17 -0
- package/esm/utils/rpc-reply.js +41 -0
- package/esm/utils/rpc-reply.js.map +1 -0
- package/esm/utils/test.d.ts +17 -0
- package/esm/utils/test.js +130 -0
- package/esm/utils/test.js.map +1 -0
- package/esm/utils/userop.d.ts +49 -0
- package/esm/utils/userop.js +408 -0
- package/esm/utils/userop.js.map +1 -0
- package/esm/utils/validation.d.ts +65 -0
- package/esm/utils/validation.js +461 -0
- package/esm/utils/validation.js.map +1 -0
- package/package.json +70 -66
package/esm/cli/alto.js
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as sentry from "@sentry/node";
|
|
2
|
+
import dotenv from "dotenv";
|
|
3
|
+
import yargs from "yargs";
|
|
4
|
+
import { hideBin } from "yargs/helpers";
|
|
5
|
+
import { bundleCompressionOptions, bundlerCommand, bundlerOptions, compatibilityOptions, debugOptions, logOptions, rpcOptions, serverOptions } from "./config/index.js";
|
|
6
|
+
import { registerCommandToYargs } from "./util.js";
|
|
7
|
+
// Load environment variables from .env file
|
|
8
|
+
if (process.env.DOTENV_CONFIG_PATH) {
|
|
9
|
+
dotenv.config({ path: process.env.DOTENV_CONFIG_PATH });
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
dotenv.config();
|
|
13
|
+
}
|
|
14
|
+
if (process.env.SENTRY_DSN) {
|
|
15
|
+
sentry.init({
|
|
16
|
+
dsn: process.env.SENTRY_DSN,
|
|
17
|
+
// Performance Monitoring
|
|
18
|
+
tracesSampleRate: 1.0,
|
|
19
|
+
// Set sampling rate for profiling - this is relative to tracesSampleRate
|
|
20
|
+
profilesSampleRate: 1.0,
|
|
21
|
+
environment: process.env.ENVIRONMENT
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
export const yarg = yargs(hideBin(process.argv));
|
|
25
|
+
const topBanner = `🏔 Alto: TypeScript ERC-4337 Bundler.
|
|
26
|
+
* by Pimlico, 2024`;
|
|
27
|
+
const bottomBanner = `📖 For more information, check the our docs:
|
|
28
|
+
* https://docs.pimlico.io/
|
|
29
|
+
`;
|
|
30
|
+
export function getAltoCli() {
|
|
31
|
+
const alto = yarg
|
|
32
|
+
.wrap(null)
|
|
33
|
+
.env("ALTO")
|
|
34
|
+
.parserConfiguration({
|
|
35
|
+
// As of yargs v16.1.0 dot-notation breaks strictOptions()
|
|
36
|
+
// Manually processing options is typesafe tho more verbose
|
|
37
|
+
"dot-notation": true
|
|
38
|
+
})
|
|
39
|
+
.options(bundlerOptions)
|
|
40
|
+
.group(Object.keys(bundlerOptions), "Options:")
|
|
41
|
+
.options(compatibilityOptions)
|
|
42
|
+
.group(Object.keys(compatibilityOptions), "Compatibility Options:")
|
|
43
|
+
.options(serverOptions)
|
|
44
|
+
.group(Object.keys(serverOptions), "Server Options:")
|
|
45
|
+
.options(rpcOptions)
|
|
46
|
+
.group(Object.keys(rpcOptions), "RPC Options:")
|
|
47
|
+
.options(bundleCompressionOptions)
|
|
48
|
+
.group(Object.keys(bundleCompressionOptions), "Bundle Compression Options:")
|
|
49
|
+
.options(logOptions)
|
|
50
|
+
.group(Object.keys(logOptions), "Logging Options:")
|
|
51
|
+
.options(debugOptions)
|
|
52
|
+
.group(Object.keys(debugOptions), "Debug Options:")
|
|
53
|
+
// blank scriptName so that help text doesn't display the cli name before each command
|
|
54
|
+
.scriptName("")
|
|
55
|
+
.demandCommand(1)
|
|
56
|
+
.usage(topBanner)
|
|
57
|
+
.epilogue(bottomBanner)
|
|
58
|
+
// Control show help behaviour below on .fail()
|
|
59
|
+
.showHelpOnFail(false)
|
|
60
|
+
.alias("h", "help")
|
|
61
|
+
.alias("v", "version")
|
|
62
|
+
.recommendCommands();
|
|
63
|
+
// throw an error if we see an unrecognized cmd
|
|
64
|
+
alto.recommendCommands(); //.strict()
|
|
65
|
+
alto.config();
|
|
66
|
+
// yargs.command and all ./cmds
|
|
67
|
+
registerCommandToYargs(alto, bundlerCommand);
|
|
68
|
+
return alto;
|
|
69
|
+
}
|
|
70
|
+
export class YargsError extends Error {
|
|
71
|
+
}
|
|
72
|
+
const alto = getAltoCli();
|
|
73
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
74
|
+
alto.fail((msg, err) => {
|
|
75
|
+
if (msg) {
|
|
76
|
+
// Show command help message when no command is provided
|
|
77
|
+
if (msg.includes("Not enough non-option arguments")) {
|
|
78
|
+
yarg.showHelp();
|
|
79
|
+
// eslint-disable-next-line no-console
|
|
80
|
+
console.log("\n");
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
const errorMessage = err !== undefined
|
|
84
|
+
? err instanceof YargsError
|
|
85
|
+
? err.message
|
|
86
|
+
: err.stack
|
|
87
|
+
: msg || "Unknown error";
|
|
88
|
+
// eslint-disable-next-line no-console
|
|
89
|
+
console.error(` × ${errorMessage}\n`);
|
|
90
|
+
process.exit(1);
|
|
91
|
+
}).parse();
|
|
92
|
+
//# sourceMappingURL=alto.js.map
|
|
@@ -0,0 +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,wBAAwB,EACxB,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,UAAU,EACV,UAAU,EACV,aAAa,EAChB,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAA;AAE/C,4CAA4C;AAC5C,IAAI,OAAO,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AAC,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"}
|
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
import { type ApiVersion } from "../../types/index.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
export declare const bundlerArgsSchema: z.ZodObject<{
|
|
4
|
+
entrypoints: z.ZodEffects<z.ZodString, `0x${string}`[], string>;
|
|
5
|
+
"entrypoint-simulation-contract": z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}` | undefined, unknown>;
|
|
6
|
+
"safe-mode": z.ZodBoolean;
|
|
7
|
+
"utility-private-key": z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, import("viem").PrivateKeyAccount, string>>;
|
|
8
|
+
"executor-private-keys": z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">, import("viem").PrivateKeyAccount[], string[]>, z.ZodEffects<z.ZodString, import("viem").PrivateKeyAccount[], string>]>;
|
|
9
|
+
"max-executors": z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
"min-executor-balance": z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
11
|
+
"executor-refill-interval": z.ZodNumber;
|
|
12
|
+
"min-entity-stake": z.ZodNumber;
|
|
13
|
+
"min-entity-unstake-delay": z.ZodNumber;
|
|
14
|
+
"max-bundle-wait": z.ZodNumber;
|
|
15
|
+
"max-bundle-size": z.ZodNumber;
|
|
16
|
+
"gas-price-bump": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
17
|
+
"gas-price-floor-percent": z.ZodNumber;
|
|
18
|
+
"gas-price-expiry": z.ZodNumber;
|
|
19
|
+
"gas-price-multipliers": z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, bigint[], string>, bigint[], string>, {
|
|
20
|
+
slow: bigint;
|
|
21
|
+
standard: bigint;
|
|
22
|
+
fast: bigint;
|
|
23
|
+
}, string>;
|
|
24
|
+
"mempool-max-parallel-ops": z.ZodDefault<z.ZodNumber>;
|
|
25
|
+
"mempool-max-queued-ops": z.ZodDefault<z.ZodNumber>;
|
|
26
|
+
"enforce-unique-senders-per-bundle": z.ZodDefault<z.ZodBoolean>;
|
|
27
|
+
"max-gas-per-bundle": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
entrypoints: `0x${string}`[];
|
|
30
|
+
"safe-mode": boolean;
|
|
31
|
+
"executor-private-keys": import("viem").PrivateKeyAccount[];
|
|
32
|
+
"executor-refill-interval": number;
|
|
33
|
+
"min-entity-stake": number;
|
|
34
|
+
"min-entity-unstake-delay": number;
|
|
35
|
+
"max-bundle-wait": number;
|
|
36
|
+
"max-bundle-size": number;
|
|
37
|
+
"gas-price-bump": bigint;
|
|
38
|
+
"gas-price-floor-percent": number;
|
|
39
|
+
"gas-price-expiry": number;
|
|
40
|
+
"gas-price-multipliers": {
|
|
41
|
+
slow: bigint;
|
|
42
|
+
standard: bigint;
|
|
43
|
+
fast: bigint;
|
|
44
|
+
};
|
|
45
|
+
"mempool-max-parallel-ops": number;
|
|
46
|
+
"mempool-max-queued-ops": number;
|
|
47
|
+
"enforce-unique-senders-per-bundle": boolean;
|
|
48
|
+
"max-gas-per-bundle": bigint;
|
|
49
|
+
"entrypoint-simulation-contract"?: `0x${string}` | undefined;
|
|
50
|
+
"utility-private-key"?: import("viem").PrivateKeyAccount | undefined;
|
|
51
|
+
"max-executors"?: number | undefined;
|
|
52
|
+
"min-executor-balance"?: bigint | undefined;
|
|
53
|
+
}, {
|
|
54
|
+
entrypoints: string;
|
|
55
|
+
"safe-mode": boolean;
|
|
56
|
+
"executor-private-keys": (string | string[]) & (string | string[] | undefined);
|
|
57
|
+
"executor-refill-interval": number;
|
|
58
|
+
"min-entity-stake": number;
|
|
59
|
+
"min-entity-unstake-delay": number;
|
|
60
|
+
"max-bundle-wait": number;
|
|
61
|
+
"max-bundle-size": number;
|
|
62
|
+
"gas-price-floor-percent": number;
|
|
63
|
+
"gas-price-expiry": number;
|
|
64
|
+
"gas-price-multipliers": string;
|
|
65
|
+
"entrypoint-simulation-contract"?: unknown;
|
|
66
|
+
"utility-private-key"?: string | undefined;
|
|
67
|
+
"max-executors"?: number | undefined;
|
|
68
|
+
"min-executor-balance"?: string | undefined;
|
|
69
|
+
"gas-price-bump"?: string | undefined;
|
|
70
|
+
"mempool-max-parallel-ops"?: number | undefined;
|
|
71
|
+
"mempool-max-queued-ops"?: number | undefined;
|
|
72
|
+
"enforce-unique-senders-per-bundle"?: boolean | undefined;
|
|
73
|
+
"max-gas-per-bundle"?: string | undefined;
|
|
74
|
+
}>;
|
|
75
|
+
export declare const compatibilityArgsSchema: z.ZodObject<{
|
|
76
|
+
"chain-type": z.ZodEnum<["default", "op-stack", "arbitrum"]>;
|
|
77
|
+
"legacy-transactions": z.ZodBoolean;
|
|
78
|
+
"api-version": z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, ApiVersion[], string | undefined>;
|
|
79
|
+
"default-api-version": z.ZodEffects<z.ZodOptional<z.ZodEnum<["v1", "v2"]>>, "v1" | "v2", "v1" | "v2" | undefined>;
|
|
80
|
+
"balance-override": z.ZodBoolean;
|
|
81
|
+
"local-gas-limit-calculation": z.ZodBoolean;
|
|
82
|
+
"flush-stuck-transactions-during-startup": z.ZodBoolean;
|
|
83
|
+
"paymaster-gas-limit-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
84
|
+
"fixed-gas-limit-for-estimation": z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
"chain-type": "default" | "op-stack" | "arbitrum";
|
|
87
|
+
"legacy-transactions": boolean;
|
|
88
|
+
"api-version": ApiVersion[];
|
|
89
|
+
"default-api-version": "v1" | "v2";
|
|
90
|
+
"balance-override": boolean;
|
|
91
|
+
"local-gas-limit-calculation": boolean;
|
|
92
|
+
"flush-stuck-transactions-during-startup": boolean;
|
|
93
|
+
"paymaster-gas-limit-multiplier": bigint;
|
|
94
|
+
"fixed-gas-limit-for-estimation"?: bigint | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
"chain-type": "default" | "op-stack" | "arbitrum";
|
|
97
|
+
"legacy-transactions": boolean;
|
|
98
|
+
"balance-override": boolean;
|
|
99
|
+
"local-gas-limit-calculation": boolean;
|
|
100
|
+
"flush-stuck-transactions-during-startup": boolean;
|
|
101
|
+
"paymaster-gas-limit-multiplier": string;
|
|
102
|
+
"api-version"?: string | undefined;
|
|
103
|
+
"default-api-version"?: "v1" | "v2" | undefined;
|
|
104
|
+
"fixed-gas-limit-for-estimation"?: string | undefined;
|
|
105
|
+
}>;
|
|
106
|
+
export declare const serverArgsSchema: z.ZodObject<{
|
|
107
|
+
port: z.ZodNumber;
|
|
108
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
109
|
+
websocket: z.ZodDefault<z.ZodBoolean>;
|
|
110
|
+
"websocket-max-payload-size": z.ZodDefault<z.ZodNumber>;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
port: number;
|
|
113
|
+
websocket: boolean;
|
|
114
|
+
"websocket-max-payload-size": number;
|
|
115
|
+
timeout?: number | undefined;
|
|
116
|
+
}, {
|
|
117
|
+
port: number;
|
|
118
|
+
timeout?: number | undefined;
|
|
119
|
+
websocket?: boolean | undefined;
|
|
120
|
+
"websocket-max-payload-size"?: number | undefined;
|
|
121
|
+
}>;
|
|
122
|
+
export declare const rpcArgsSchema: z.ZodObject<{
|
|
123
|
+
"rpc-url": z.ZodString;
|
|
124
|
+
"send-transaction-rpc-url": z.ZodOptional<z.ZodString>;
|
|
125
|
+
"polling-interval": z.ZodNumber;
|
|
126
|
+
"max-block-range": z.ZodOptional<z.ZodNumber>;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
"rpc-url": string;
|
|
129
|
+
"polling-interval": number;
|
|
130
|
+
"send-transaction-rpc-url"?: string | undefined;
|
|
131
|
+
"max-block-range"?: number | undefined;
|
|
132
|
+
}, {
|
|
133
|
+
"rpc-url": string;
|
|
134
|
+
"polling-interval": number;
|
|
135
|
+
"send-transaction-rpc-url"?: string | undefined;
|
|
136
|
+
"max-block-range"?: number | undefined;
|
|
137
|
+
}>;
|
|
138
|
+
export declare const bundleCopmressionArgsSchema: z.ZodObject<{
|
|
139
|
+
"bundle-bulker-address": z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
140
|
+
"per-op-inflator-address": z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
"bundle-bulker-address"?: `0x${string}` | undefined;
|
|
143
|
+
"per-op-inflator-address"?: `0x${string}` | undefined;
|
|
144
|
+
}, {
|
|
145
|
+
"bundle-bulker-address"?: string | undefined;
|
|
146
|
+
"per-op-inflator-address"?: string | undefined;
|
|
147
|
+
}>;
|
|
148
|
+
export declare const logArgsSchema: z.ZodObject<{
|
|
149
|
+
json: z.ZodBoolean;
|
|
150
|
+
"network-name": z.ZodString;
|
|
151
|
+
"log-level": z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>;
|
|
152
|
+
"public-client-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
153
|
+
"wallet-client-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
154
|
+
"rpc-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
155
|
+
"mempool-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
156
|
+
"executor-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
157
|
+
"reputation-manager-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
158
|
+
"nonce-queuer-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
json: boolean;
|
|
161
|
+
"network-name": string;
|
|
162
|
+
"log-level": "error" | "info" | "debug" | "fatal" | "warn" | "trace";
|
|
163
|
+
"public-client-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
164
|
+
"wallet-client-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
165
|
+
"rpc-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
166
|
+
"mempool-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
167
|
+
"executor-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
168
|
+
"reputation-manager-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
169
|
+
"nonce-queuer-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
170
|
+
}, {
|
|
171
|
+
json: boolean;
|
|
172
|
+
"network-name": string;
|
|
173
|
+
"log-level": "error" | "info" | "debug" | "fatal" | "warn" | "trace";
|
|
174
|
+
"public-client-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
175
|
+
"wallet-client-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
176
|
+
"rpc-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
177
|
+
"mempool-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
178
|
+
"executor-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
179
|
+
"reputation-manager-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
180
|
+
"nonce-queuer-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
181
|
+
}>;
|
|
182
|
+
export declare const debugArgsSchema: z.ZodObject<{
|
|
183
|
+
"bundle-mode": z.ZodEnum<["auto", "manual"]>;
|
|
184
|
+
"enable-debug-endpoints": z.ZodBoolean;
|
|
185
|
+
"expiration-check": z.ZodBoolean;
|
|
186
|
+
"dangerous-skip-user-operation-validation": z.ZodBoolean;
|
|
187
|
+
tenderly: z.ZodBoolean;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
"bundle-mode": "manual" | "auto";
|
|
190
|
+
"enable-debug-endpoints": boolean;
|
|
191
|
+
"expiration-check": boolean;
|
|
192
|
+
"dangerous-skip-user-operation-validation": boolean;
|
|
193
|
+
tenderly: boolean;
|
|
194
|
+
}, {
|
|
195
|
+
"bundle-mode": "manual" | "auto";
|
|
196
|
+
"enable-debug-endpoints": boolean;
|
|
197
|
+
"expiration-check": boolean;
|
|
198
|
+
"dangerous-skip-user-operation-validation": boolean;
|
|
199
|
+
tenderly: boolean;
|
|
200
|
+
}>;
|
|
201
|
+
export type IBundlerArgs = z.infer<typeof bundlerArgsSchema>;
|
|
202
|
+
export type IBundlerArgsInput = z.input<typeof bundlerArgsSchema>;
|
|
203
|
+
export type ICompatibilityArgs = z.infer<typeof compatibilityArgsSchema>;
|
|
204
|
+
export type ICompatibilityArgsInput = z.input<typeof compatibilityArgsSchema>;
|
|
205
|
+
export type IServerArgs = z.infer<typeof serverArgsSchema>;
|
|
206
|
+
export type IServerArgsInput = z.input<typeof serverArgsSchema>;
|
|
207
|
+
export type IRpcArgs = z.infer<typeof rpcArgsSchema>;
|
|
208
|
+
export type IRpcArgsInput = z.input<typeof rpcArgsSchema>;
|
|
209
|
+
export type IBundleCompressionArgs = z.infer<typeof bundleCopmressionArgsSchema>;
|
|
210
|
+
export type IBundleCompressionArgsInput = z.input<typeof bundleCopmressionArgsSchema>;
|
|
211
|
+
export type ILogArgs = z.infer<typeof logArgsSchema>;
|
|
212
|
+
export type ILogArgsInput = z.input<typeof logArgsSchema>;
|
|
213
|
+
export type IDebugArgs = z.infer<typeof debugArgsSchema>;
|
|
214
|
+
export type IDebugArgsInput = z.input<typeof debugArgsSchema>;
|
|
215
|
+
export declare const optionArgsSchema: z.ZodObject<{
|
|
216
|
+
"bundle-mode": z.ZodEnum<["auto", "manual"]>;
|
|
217
|
+
"enable-debug-endpoints": z.ZodBoolean;
|
|
218
|
+
"expiration-check": z.ZodBoolean;
|
|
219
|
+
"dangerous-skip-user-operation-validation": z.ZodBoolean;
|
|
220
|
+
tenderly: z.ZodBoolean;
|
|
221
|
+
"bundle-bulker-address": z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
222
|
+
"per-op-inflator-address": z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
223
|
+
"rpc-url": z.ZodString;
|
|
224
|
+
"send-transaction-rpc-url": z.ZodOptional<z.ZodString>;
|
|
225
|
+
"polling-interval": z.ZodNumber;
|
|
226
|
+
"max-block-range": z.ZodOptional<z.ZodNumber>;
|
|
227
|
+
port: z.ZodNumber;
|
|
228
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
229
|
+
websocket: z.ZodDefault<z.ZodBoolean>;
|
|
230
|
+
"websocket-max-payload-size": z.ZodDefault<z.ZodNumber>;
|
|
231
|
+
json: z.ZodBoolean;
|
|
232
|
+
"network-name": z.ZodString;
|
|
233
|
+
"log-level": z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>;
|
|
234
|
+
"public-client-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
235
|
+
"wallet-client-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
236
|
+
"rpc-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
237
|
+
"mempool-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
238
|
+
"executor-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
239
|
+
"reputation-manager-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
240
|
+
"nonce-queuer-log-level": z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
|
|
241
|
+
"chain-type": z.ZodEnum<["default", "op-stack", "arbitrum"]>;
|
|
242
|
+
"legacy-transactions": z.ZodBoolean;
|
|
243
|
+
"api-version": z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, ApiVersion[], string | undefined>;
|
|
244
|
+
"default-api-version": z.ZodEffects<z.ZodOptional<z.ZodEnum<["v1", "v2"]>>, "v1" | "v2", "v1" | "v2" | undefined>;
|
|
245
|
+
"balance-override": z.ZodBoolean;
|
|
246
|
+
"local-gas-limit-calculation": z.ZodBoolean;
|
|
247
|
+
"flush-stuck-transactions-during-startup": z.ZodBoolean;
|
|
248
|
+
"paymaster-gas-limit-multiplier": z.ZodEffects<z.ZodString, bigint, string>;
|
|
249
|
+
"fixed-gas-limit-for-estimation": z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
250
|
+
entrypoints: z.ZodEffects<z.ZodString, `0x${string}`[], string>;
|
|
251
|
+
"entrypoint-simulation-contract": z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}` | undefined, unknown>;
|
|
252
|
+
"safe-mode": z.ZodBoolean;
|
|
253
|
+
"utility-private-key": z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, import("viem").PrivateKeyAccount, string>>;
|
|
254
|
+
"executor-private-keys": z.ZodUnion<[z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">, import("viem").PrivateKeyAccount[], string[]>, z.ZodEffects<z.ZodString, import("viem").PrivateKeyAccount[], string>]>;
|
|
255
|
+
"max-executors": z.ZodOptional<z.ZodNumber>;
|
|
256
|
+
"min-executor-balance": z.ZodOptional<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
257
|
+
"executor-refill-interval": z.ZodNumber;
|
|
258
|
+
"min-entity-stake": z.ZodNumber;
|
|
259
|
+
"min-entity-unstake-delay": z.ZodNumber;
|
|
260
|
+
"max-bundle-wait": z.ZodNumber;
|
|
261
|
+
"max-bundle-size": z.ZodNumber;
|
|
262
|
+
"gas-price-bump": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
263
|
+
"gas-price-floor-percent": z.ZodNumber;
|
|
264
|
+
"gas-price-expiry": z.ZodNumber;
|
|
265
|
+
"gas-price-multipliers": z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, bigint[], string>, bigint[], string>, {
|
|
266
|
+
slow: bigint;
|
|
267
|
+
standard: bigint;
|
|
268
|
+
fast: bigint;
|
|
269
|
+
}, string>;
|
|
270
|
+
"mempool-max-parallel-ops": z.ZodDefault<z.ZodNumber>;
|
|
271
|
+
"mempool-max-queued-ops": z.ZodDefault<z.ZodNumber>;
|
|
272
|
+
"enforce-unique-senders-per-bundle": z.ZodDefault<z.ZodBoolean>;
|
|
273
|
+
"max-gas-per-bundle": z.ZodDefault<z.ZodEffects<z.ZodString, bigint, string>>;
|
|
274
|
+
}, "strip", z.ZodTypeAny, {
|
|
275
|
+
entrypoints: `0x${string}`[];
|
|
276
|
+
"safe-mode": boolean;
|
|
277
|
+
"executor-private-keys": import("viem").PrivateKeyAccount[];
|
|
278
|
+
"executor-refill-interval": number;
|
|
279
|
+
"min-entity-stake": number;
|
|
280
|
+
"min-entity-unstake-delay": number;
|
|
281
|
+
"max-bundle-wait": number;
|
|
282
|
+
"max-bundle-size": number;
|
|
283
|
+
"gas-price-bump": bigint;
|
|
284
|
+
"gas-price-floor-percent": number;
|
|
285
|
+
"gas-price-expiry": number;
|
|
286
|
+
"gas-price-multipliers": {
|
|
287
|
+
slow: bigint;
|
|
288
|
+
standard: bigint;
|
|
289
|
+
fast: bigint;
|
|
290
|
+
};
|
|
291
|
+
"mempool-max-parallel-ops": number;
|
|
292
|
+
"mempool-max-queued-ops": number;
|
|
293
|
+
"enforce-unique-senders-per-bundle": boolean;
|
|
294
|
+
"max-gas-per-bundle": bigint;
|
|
295
|
+
"chain-type": "default" | "op-stack" | "arbitrum";
|
|
296
|
+
"legacy-transactions": boolean;
|
|
297
|
+
"api-version": ApiVersion[];
|
|
298
|
+
"default-api-version": "v1" | "v2";
|
|
299
|
+
"balance-override": boolean;
|
|
300
|
+
"local-gas-limit-calculation": boolean;
|
|
301
|
+
"flush-stuck-transactions-during-startup": boolean;
|
|
302
|
+
"paymaster-gas-limit-multiplier": bigint;
|
|
303
|
+
port: number;
|
|
304
|
+
websocket: boolean;
|
|
305
|
+
"websocket-max-payload-size": number;
|
|
306
|
+
"rpc-url": string;
|
|
307
|
+
"polling-interval": number;
|
|
308
|
+
json: boolean;
|
|
309
|
+
"network-name": string;
|
|
310
|
+
"log-level": "error" | "info" | "debug" | "fatal" | "warn" | "trace";
|
|
311
|
+
"bundle-mode": "manual" | "auto";
|
|
312
|
+
"enable-debug-endpoints": boolean;
|
|
313
|
+
"expiration-check": boolean;
|
|
314
|
+
"dangerous-skip-user-operation-validation": boolean;
|
|
315
|
+
tenderly: boolean;
|
|
316
|
+
"bundle-bulker-address"?: `0x${string}` | undefined;
|
|
317
|
+
"per-op-inflator-address"?: `0x${string}` | undefined;
|
|
318
|
+
"send-transaction-rpc-url"?: string | undefined;
|
|
319
|
+
"max-block-range"?: number | undefined;
|
|
320
|
+
timeout?: number | undefined;
|
|
321
|
+
"public-client-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
322
|
+
"wallet-client-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
323
|
+
"rpc-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
324
|
+
"mempool-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
325
|
+
"executor-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
326
|
+
"reputation-manager-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
327
|
+
"nonce-queuer-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
328
|
+
"fixed-gas-limit-for-estimation"?: bigint | undefined;
|
|
329
|
+
"entrypoint-simulation-contract"?: `0x${string}` | undefined;
|
|
330
|
+
"utility-private-key"?: import("viem").PrivateKeyAccount | undefined;
|
|
331
|
+
"max-executors"?: number | undefined;
|
|
332
|
+
"min-executor-balance"?: bigint | undefined;
|
|
333
|
+
}, {
|
|
334
|
+
entrypoints: string;
|
|
335
|
+
"safe-mode": boolean;
|
|
336
|
+
"executor-private-keys": (string | string[]) & (string | string[] | undefined);
|
|
337
|
+
"executor-refill-interval": number;
|
|
338
|
+
"min-entity-stake": number;
|
|
339
|
+
"min-entity-unstake-delay": number;
|
|
340
|
+
"max-bundle-wait": number;
|
|
341
|
+
"max-bundle-size": number;
|
|
342
|
+
"gas-price-floor-percent": number;
|
|
343
|
+
"gas-price-expiry": number;
|
|
344
|
+
"gas-price-multipliers": string;
|
|
345
|
+
"chain-type": "default" | "op-stack" | "arbitrum";
|
|
346
|
+
"legacy-transactions": boolean;
|
|
347
|
+
"balance-override": boolean;
|
|
348
|
+
"local-gas-limit-calculation": boolean;
|
|
349
|
+
"flush-stuck-transactions-during-startup": boolean;
|
|
350
|
+
"paymaster-gas-limit-multiplier": string;
|
|
351
|
+
port: number;
|
|
352
|
+
"rpc-url": string;
|
|
353
|
+
"polling-interval": number;
|
|
354
|
+
json: boolean;
|
|
355
|
+
"network-name": string;
|
|
356
|
+
"log-level": "error" | "info" | "debug" | "fatal" | "warn" | "trace";
|
|
357
|
+
"bundle-mode": "manual" | "auto";
|
|
358
|
+
"enable-debug-endpoints": boolean;
|
|
359
|
+
"expiration-check": boolean;
|
|
360
|
+
"dangerous-skip-user-operation-validation": boolean;
|
|
361
|
+
tenderly: boolean;
|
|
362
|
+
"bundle-bulker-address"?: string | undefined;
|
|
363
|
+
"per-op-inflator-address"?: string | undefined;
|
|
364
|
+
"send-transaction-rpc-url"?: string | undefined;
|
|
365
|
+
"max-block-range"?: number | undefined;
|
|
366
|
+
timeout?: number | undefined;
|
|
367
|
+
websocket?: boolean | undefined;
|
|
368
|
+
"websocket-max-payload-size"?: number | undefined;
|
|
369
|
+
"public-client-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
370
|
+
"wallet-client-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
371
|
+
"rpc-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
372
|
+
"mempool-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
373
|
+
"executor-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
374
|
+
"reputation-manager-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
375
|
+
"nonce-queuer-log-level"?: "error" | "info" | "debug" | "fatal" | "warn" | "trace" | undefined;
|
|
376
|
+
"api-version"?: string | undefined;
|
|
377
|
+
"default-api-version"?: "v1" | "v2" | undefined;
|
|
378
|
+
"fixed-gas-limit-for-estimation"?: string | undefined;
|
|
379
|
+
"entrypoint-simulation-contract"?: unknown;
|
|
380
|
+
"utility-private-key"?: string | undefined;
|
|
381
|
+
"max-executors"?: number | undefined;
|
|
382
|
+
"min-executor-balance"?: string | undefined;
|
|
383
|
+
"gas-price-bump"?: string | undefined;
|
|
384
|
+
"mempool-max-parallel-ops"?: number | undefined;
|
|
385
|
+
"mempool-max-queued-ops"?: number | undefined;
|
|
386
|
+
"enforce-unique-senders-per-bundle"?: boolean | undefined;
|
|
387
|
+
"max-gas-per-bundle"?: string | undefined;
|
|
388
|
+
}>;
|
|
389
|
+
export type IOptions = z.infer<typeof optionArgsSchema>;
|
|
390
|
+
export type IOptionsInput = z.input<typeof optionArgsSchema>;
|
|
391
|
+
//# sourceMappingURL=bundler.d.ts.map
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { addressSchema, commaSeperatedAddressPattern, hexData32Schema } from "../../types/index.js";
|
|
2
|
+
import { privateKeyToAccount } from "viem/accounts";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
const logLevel = z.enum(["trace", "debug", "info", "warn", "error", "fatal"]);
|
|
5
|
+
export const bundlerArgsSchema = z.object({
|
|
6
|
+
entrypoints: z
|
|
7
|
+
.string()
|
|
8
|
+
.regex(commaSeperatedAddressPattern)
|
|
9
|
+
.transform((val) => {
|
|
10
|
+
const addresses = val.split(",");
|
|
11
|
+
const validatedAddresses = addresses.map((address) => addressSchema.parse(address.trim()) // Trimming to handle spaces after commas
|
|
12
|
+
);
|
|
13
|
+
return validatedAddresses;
|
|
14
|
+
}),
|
|
15
|
+
"entrypoint-simulation-contract": z.preprocess((v) => (v === "" ? undefined : v), addressSchema.optional()),
|
|
16
|
+
"safe-mode": z.boolean(),
|
|
17
|
+
"utility-private-key": hexData32Schema
|
|
18
|
+
.transform((val) => privateKeyToAccount(val))
|
|
19
|
+
.optional(),
|
|
20
|
+
"executor-private-keys": z.union([
|
|
21
|
+
z
|
|
22
|
+
.array(hexData32Schema)
|
|
23
|
+
.transform((vals) => vals.map((val) => privateKeyToAccount(val))),
|
|
24
|
+
z
|
|
25
|
+
.string()
|
|
26
|
+
.regex(/^0x(?:[0-9a-f]{2}){32}(?:,0x(?:[0-9a-f]{2}){32})*$/)
|
|
27
|
+
.transform((val) => val
|
|
28
|
+
.split(",")
|
|
29
|
+
.map((val) => privateKeyToAccount(val)))
|
|
30
|
+
]),
|
|
31
|
+
"max-executors": z.number().int().min(0).optional(),
|
|
32
|
+
"min-executor-balance": z
|
|
33
|
+
.string()
|
|
34
|
+
.transform((val) => BigInt(val))
|
|
35
|
+
.optional(),
|
|
36
|
+
"executor-refill-interval": z.number().int().min(0),
|
|
37
|
+
"min-entity-stake": z.number().int().min(0),
|
|
38
|
+
"min-entity-unstake-delay": z.number().int().min(0),
|
|
39
|
+
"max-bundle-wait": z.number().int().min(0),
|
|
40
|
+
"max-bundle-size": z.number().int().min(0),
|
|
41
|
+
"gas-price-bump": z
|
|
42
|
+
.string()
|
|
43
|
+
.transform((val) => BigInt(val))
|
|
44
|
+
.default("100"),
|
|
45
|
+
"gas-price-floor-percent": z.number().int().min(0),
|
|
46
|
+
"gas-price-expiry": z.number().int().min(0),
|
|
47
|
+
"gas-price-multipliers": z
|
|
48
|
+
.string()
|
|
49
|
+
.transform((value) => value.split(",").map(BigInt))
|
|
50
|
+
.refine((values) => values.length === 3, "Must contain 3 comma seperated items in format: slow,standard,fast")
|
|
51
|
+
.transform(([slow, standard, fast]) => ({ slow, standard, fast })),
|
|
52
|
+
"mempool-max-parallel-ops": z.number().int().min(0).default(10),
|
|
53
|
+
"mempool-max-queued-ops": z.number().int().min(0).default(0),
|
|
54
|
+
"enforce-unique-senders-per-bundle": z.boolean().default(true),
|
|
55
|
+
"max-gas-per-bundle": z
|
|
56
|
+
.string()
|
|
57
|
+
.transform((val) => BigInt(val))
|
|
58
|
+
.default("5000000")
|
|
59
|
+
});
|
|
60
|
+
export const compatibilityArgsSchema = z.object({
|
|
61
|
+
"chain-type": z.enum(["default", "op-stack", "arbitrum"]),
|
|
62
|
+
"legacy-transactions": z.boolean(),
|
|
63
|
+
"api-version": z
|
|
64
|
+
.string()
|
|
65
|
+
.regex(/^(v1,v2|v2,v1|v1|v2)$/)
|
|
66
|
+
.optional()
|
|
67
|
+
.default("v1,v2")
|
|
68
|
+
.transform((val) => val.split(",")),
|
|
69
|
+
"default-api-version": z
|
|
70
|
+
.enum(["v1", "v2"])
|
|
71
|
+
.optional()
|
|
72
|
+
.transform((val) => val),
|
|
73
|
+
"balance-override": z.boolean(),
|
|
74
|
+
"local-gas-limit-calculation": z.boolean(),
|
|
75
|
+
"flush-stuck-transactions-during-startup": z.boolean(),
|
|
76
|
+
"paymaster-gas-limit-multiplier": z
|
|
77
|
+
.string()
|
|
78
|
+
.transform((val) => BigInt(val)),
|
|
79
|
+
"fixed-gas-limit-for-estimation": z
|
|
80
|
+
.string()
|
|
81
|
+
.transform((val) => BigInt(val))
|
|
82
|
+
.optional()
|
|
83
|
+
});
|
|
84
|
+
export const serverArgsSchema = z.object({
|
|
85
|
+
port: z.number().int().min(0),
|
|
86
|
+
timeout: z.number().int().min(0).optional(),
|
|
87
|
+
websocket: z.boolean().default(false),
|
|
88
|
+
"websocket-max-payload-size": z
|
|
89
|
+
.number()
|
|
90
|
+
.int()
|
|
91
|
+
.min(1024)
|
|
92
|
+
.default(1024 * 1024) // 1 mb
|
|
93
|
+
});
|
|
94
|
+
export const rpcArgsSchema = z.object({
|
|
95
|
+
"rpc-url": z.string().url(),
|
|
96
|
+
"send-transaction-rpc-url": z.string().url().optional(),
|
|
97
|
+
"polling-interval": z.number().int().min(0),
|
|
98
|
+
"max-block-range": z.number().int().min(0).optional()
|
|
99
|
+
});
|
|
100
|
+
export const bundleCopmressionArgsSchema = z.object({
|
|
101
|
+
"bundle-bulker-address": addressSchema.optional(),
|
|
102
|
+
"per-op-inflator-address": addressSchema.optional()
|
|
103
|
+
});
|
|
104
|
+
export const logArgsSchema = z.object({
|
|
105
|
+
json: z.boolean(),
|
|
106
|
+
"network-name": z.string(),
|
|
107
|
+
"log-level": logLevel,
|
|
108
|
+
"public-client-log-level": logLevel.optional(),
|
|
109
|
+
"wallet-client-log-level": logLevel.optional(),
|
|
110
|
+
"rpc-log-level": logLevel.optional(),
|
|
111
|
+
"mempool-log-level": logLevel.optional(),
|
|
112
|
+
"executor-log-level": logLevel.optional(),
|
|
113
|
+
"reputation-manager-log-level": logLevel.optional(),
|
|
114
|
+
"nonce-queuer-log-level": logLevel.optional()
|
|
115
|
+
});
|
|
116
|
+
export const debugArgsSchema = z.object({
|
|
117
|
+
"bundle-mode": z.enum(["auto", "manual"]),
|
|
118
|
+
"enable-debug-endpoints": z.boolean(),
|
|
119
|
+
"expiration-check": z.boolean(),
|
|
120
|
+
"dangerous-skip-user-operation-validation": z.boolean(),
|
|
121
|
+
tenderly: z.boolean()
|
|
122
|
+
});
|
|
123
|
+
export const optionArgsSchema = z.object({
|
|
124
|
+
...bundlerArgsSchema.shape,
|
|
125
|
+
...compatibilityArgsSchema.shape,
|
|
126
|
+
...logArgsSchema.shape,
|
|
127
|
+
...serverArgsSchema.shape,
|
|
128
|
+
...rpcArgsSchema.shape,
|
|
129
|
+
...bundleCopmressionArgsSchema.shape,
|
|
130
|
+
...debugArgsSchema.shape
|
|
131
|
+
});
|
|
132
|
+
//# sourceMappingURL=bundler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundler.js","sourceRoot":"","sources":["../../../cli/config/bundler.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,aAAa,EACb,4BAA4B,EAC5B,eAAe,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAgB,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM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