@pimlico/alto 0.0.0-main.20250324T173449 → 0.0.0-main.20250325T180358
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/instrumentation.js +5 -1
- package/esm/cli/instrumentation.js.map +1 -1
- package/esm/executor/executor.d.ts +2 -2
- package/esm/executor/utils.d.ts +4 -4
- package/esm/executor/utils.js +13 -2
- package/esm/executor/utils.js.map +1 -1
- package/esm/mempool/mempool.d.ts +16 -0
- package/esm/rpc/methods/debug_bundler_dumpMempool.d.ts +180 -4
- package/esm/rpc/methods/eth_estimateUserOperationGas.d.ts +328 -8
- package/esm/rpc/methods/eth_getUserOperationByHash.d.ts +308 -4
- package/esm/rpc/methods/eth_sendUserOperation.d.ts +164 -4
- package/esm/rpc/methods/pimlico_sendUserOperationNow.d.ts +164 -4
- package/esm/rpc/rpcHandler.js +11 -1
- package/esm/rpc/rpcHandler.js.map +1 -1
- package/esm/types/schemas.d.ts +3279 -95
- package/esm/types/schemas.js +20 -9
- package/esm/types/schemas.js.map +1 -1
- package/esm/utils/helpers.js +11 -1
- package/esm/utils/helpers.js.map +1 -1
- package/lib/cli/instrumentation.js +5 -1
- package/lib/cli/instrumentation.js.map +1 -1
- package/lib/executor/executor.d.ts +2 -2
- package/lib/executor/utils.d.ts +4 -4
- package/lib/executor/utils.js +13 -2
- package/lib/executor/utils.js.map +1 -1
- package/lib/mempool/mempool.d.ts +16 -0
- package/lib/rpc/methods/debug_bundler_dumpMempool.d.ts +180 -4
- package/lib/rpc/methods/eth_estimateUserOperationGas.d.ts +328 -8
- package/lib/rpc/methods/eth_getUserOperationByHash.d.ts +308 -4
- package/lib/rpc/methods/eth_sendUserOperation.d.ts +164 -4
- package/lib/rpc/methods/pimlico_sendUserOperationNow.d.ts +164 -4
- package/lib/rpc/rpcHandler.js +11 -1
- package/lib/rpc/rpcHandler.js.map +1 -1
- package/lib/types/schemas.d.ts +3279 -95
- package/lib/types/schemas.js +20 -9
- package/lib/types/schemas.js.map +1 -1
- package/lib/utils/helpers.js +11 -1
- package/lib/utils/helpers.js.map +1 -1
- package/package.json +2 -1
|
@@ -4,6 +4,7 @@ import { FastifyInstrumentation } from "@opentelemetry/instrumentation-fastify";
|
|
|
4
4
|
import { HttpInstrumentation } from "@opentelemetry/instrumentation-http";
|
|
5
5
|
import { PinoInstrumentation } from "@opentelemetry/instrumentation-pino";
|
|
6
6
|
import { UndiciInstrumentation } from "@opentelemetry/instrumentation-undici";
|
|
7
|
+
import { ViemInstrumentation } from "@pimlico/opentelemetry-instrumentation-viem";
|
|
7
8
|
import { NodeSDK } from "@opentelemetry/sdk-node";
|
|
8
9
|
import { ParentBasedSampler, SamplingDecision } from "@opentelemetry/sdk-trace-base";
|
|
9
10
|
import { SemanticAttributes } from "@opentelemetry/semantic-conventions";
|
|
@@ -33,7 +34,10 @@ const sdk = new NodeSDK({
|
|
|
33
34
|
requireParentforSpans: true
|
|
34
35
|
}),
|
|
35
36
|
new FastifyInstrumentation(),
|
|
36
|
-
new PinoInstrumentation()
|
|
37
|
+
new PinoInstrumentation(),
|
|
38
|
+
new ViemInstrumentation({
|
|
39
|
+
captureOperationResult: true
|
|
40
|
+
})
|
|
37
41
|
],
|
|
38
42
|
sampler: new ParentBasedSampler({ root: new CustomSampler() })
|
|
39
43
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instrumentation.js","sourceRoot":"","sources":["../../cli/instrumentation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAA;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAA;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AACzE,OAAO,EAAE,qBAAqB,EAAE,M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I;SAC9B,CAAC;QACF,IAAI,sBAAsB,EAAE;QAC5B,IAAI,mBAAmB,EAAE;QACzB,IAAI,mBAAmB,CAAC;YACpB,sBAAsB,EAAE,IAAI;SAC/B,CAAC;KACL;IACD,OAAO,EAAE,IAAI,kBAAkB,CAAC,EAAE,IAAI,EAAE,IAAI,aAAa,EAAE,EAAE,CAAC;CACjE,CAAC,CAAA;AAEF,GAAG,CAAC,KAAK,EAAE,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { EventManager, GasPriceManager } from "../handlers/index.js";
|
|
2
2
|
import type { InterfaceReputationManager, Mempool } from "../mempool/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import type { Address, BundleResult, UserOperation, GasPriceParameters, UserOperationBundle, UserOpInfo } from "../types/index.js";
|
|
4
4
|
import type { Logger, Metrics } from "../utils/index.js";
|
|
5
5
|
import { type Account } from "viem";
|
|
6
6
|
import type { AltoConfig } from "../createConfig.js";
|
|
7
|
-
import { SignedAuthorizationList } from "viem/experimental";
|
|
7
|
+
import type { SignedAuthorizationList } from "viem/experimental";
|
|
8
8
|
type HandleOpsTxParams = {
|
|
9
9
|
gas: bigint;
|
|
10
10
|
account: Account;
|
package/esm/executor/utils.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UserOpInfo } from "../types/index.js";
|
|
1
|
+
import { type UserOpInfo } from "../types/index.js";
|
|
2
2
|
import { type Logger } from "../utils/index.js";
|
|
3
|
-
import { type Account, BaseError, Address, Hex } from "viem";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { type Account, type BaseError, type Address, type Hex } from "viem";
|
|
4
|
+
import type { AltoConfig } from "../createConfig.js";
|
|
5
|
+
import type { SignedAuthorizationList } from "viem/experimental";
|
|
6
6
|
export declare const isTransactionUnderpricedError: (e: BaseError) => boolean;
|
|
7
7
|
export declare function calculateAA95GasFloor(userOps: UserOpInfo[]): bigint;
|
|
8
8
|
export declare const getUserOpHashes: (userOpInfos: UserOpInfo[]) => `0x${string}`[];
|
package/esm/executor/utils.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EntryPointV06Abi, EntryPointV07Abi } from "../types/index.js";
|
|
2
2
|
import { isVersion06, toPackedUserOperation, isVersion07 } from "../utils/index.js";
|
|
3
|
-
// biome-ignore lint/style/noNamespaceImport: explicitly make it clear when sentry is used
|
|
4
3
|
import * as sentry from "@sentry/node";
|
|
5
4
|
import { encodeFunctionData } from "viem";
|
|
6
5
|
export const isTransactionUnderpricedError = (e) => {
|
|
@@ -58,7 +57,19 @@ export const encodeHandleOpsCalldata = ({ userOps, beneficiary }) => {
|
|
|
58
57
|
export const getAuthorizationList = (userOpInfos) => {
|
|
59
58
|
const authList = userOpInfos
|
|
60
59
|
.map(({ userOp }) => userOp)
|
|
61
|
-
.map(({ eip7702Auth }) => eip7702Auth
|
|
60
|
+
.map(({ eip7702Auth }) => eip7702Auth
|
|
61
|
+
? {
|
|
62
|
+
contractAddress: "address" in eip7702Auth
|
|
63
|
+
? eip7702Auth.address
|
|
64
|
+
: eip7702Auth.contractAddress,
|
|
65
|
+
chainId: eip7702Auth.chainId,
|
|
66
|
+
nonce: eip7702Auth.nonce,
|
|
67
|
+
r: eip7702Auth.r,
|
|
68
|
+
s: eip7702Auth.s,
|
|
69
|
+
v: eip7702Auth.v,
|
|
70
|
+
yParity: eip7702Auth.yParity
|
|
71
|
+
}
|
|
72
|
+
: null)
|
|
62
73
|
.filter(Boolean);
|
|
63
74
|
return authList.length ? authList : undefined;
|
|
64
75
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../executor/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,EAChB,gBAAgB,EAInB,MAAM,aAAa,CAAA;AACpB,OAAO,EACH,WAAW,EACX,qBAAqB,EAErB,WAAW,EACd,MAAM,aAAa,CAAA;AACpB,
|
|
1
|
+
{"version":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
v: bigint;
|
|
112
112
|
yParity: number;
|
|
113
|
+
} | {
|
|
114
|
+
address: `0x${string}`;
|
|
115
|
+
nonce: number;
|
|
116
|
+
chainId: number;
|
|
117
|
+
r: `0x${string}`;
|
|
118
|
+
s: `0x${string}`;
|
|
119
|
+
v: bigint;
|
|
120
|
+
yParity: number;
|
|
113
121
|
} | null | undefined;
|
|
114
122
|
} | {
|
|
115
123
|
sender: `0x${string}`;
|
|
@@ -135,6 +143,14 @@ export declare class Mempool {
|
|
|
135
143
|
s: `0x${string}`;
|
|
136
144
|
v: bigint;
|
|
137
145
|
yParity: number;
|
|
146
|
+
} | {
|
|
147
|
+
address: `0x${string}`;
|
|
148
|
+
nonce: number;
|
|
149
|
+
chainId: number;
|
|
150
|
+
r: `0x${string}`;
|
|
151
|
+
s: `0x${string}`;
|
|
152
|
+
v: bigint;
|
|
153
|
+
yParity: number;
|
|
138
154
|
} | null | undefined;
|
|
139
155
|
})[]>;
|
|
140
156
|
}
|
|
@@ -14,7 +14,7 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
14
14
|
maxFeePerGas: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
15
15
|
paymasterAndData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
16
16
|
signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
17
|
-
eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
17
|
+
eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
18
18
|
contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
19
19
|
chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
20
20
|
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
@@ -38,7 +38,31 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
38
38
|
s: string;
|
|
39
39
|
v: string | number | bigint;
|
|
40
40
|
yParity: string | number | bigint;
|
|
41
|
-
}
|
|
41
|
+
}>, import("zod").ZodObject<{
|
|
42
|
+
address: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
43
|
+
chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
44
|
+
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
45
|
+
r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
46
|
+
s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
47
|
+
v: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
48
|
+
yParity: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
49
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
50
|
+
address: `0x${string}`;
|
|
51
|
+
nonce: number;
|
|
52
|
+
chainId: number;
|
|
53
|
+
r: `0x${string}`;
|
|
54
|
+
s: `0x${string}`;
|
|
55
|
+
v: bigint;
|
|
56
|
+
yParity: number;
|
|
57
|
+
}, {
|
|
58
|
+
address: string;
|
|
59
|
+
nonce: string | number | bigint;
|
|
60
|
+
chainId: string | number | bigint;
|
|
61
|
+
r: string;
|
|
62
|
+
s: string;
|
|
63
|
+
v: string | number | bigint;
|
|
64
|
+
yParity: string | number | bigint;
|
|
65
|
+
}>]>>>;
|
|
42
66
|
}, "strict", import("zod").ZodTypeAny, {
|
|
43
67
|
sender: `0x${string}`;
|
|
44
68
|
nonce: bigint;
|
|
@@ -59,6 +83,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
59
83
|
s: `0x${string}`;
|
|
60
84
|
v: bigint;
|
|
61
85
|
yParity: number;
|
|
86
|
+
} | {
|
|
87
|
+
address: `0x${string}`;
|
|
88
|
+
nonce: number;
|
|
89
|
+
chainId: number;
|
|
90
|
+
r: `0x${string}`;
|
|
91
|
+
s: `0x${string}`;
|
|
92
|
+
v: bigint;
|
|
93
|
+
yParity: number;
|
|
62
94
|
} | null | undefined;
|
|
63
95
|
}, {
|
|
64
96
|
sender: string;
|
|
@@ -80,6 +112,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
80
112
|
s: string;
|
|
81
113
|
v: string | number | bigint;
|
|
82
114
|
yParity: string | number | bigint;
|
|
115
|
+
} | {
|
|
116
|
+
address: string;
|
|
117
|
+
nonce: string | number | bigint;
|
|
118
|
+
chainId: string | number | bigint;
|
|
119
|
+
r: string;
|
|
120
|
+
s: string;
|
|
121
|
+
v: string | number | bigint;
|
|
122
|
+
yParity: string | number | bigint;
|
|
83
123
|
} | null | undefined;
|
|
84
124
|
}>, {
|
|
85
125
|
sender: `0x${string}`;
|
|
@@ -101,6 +141,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
101
141
|
s: `0x${string}`;
|
|
102
142
|
v: bigint;
|
|
103
143
|
yParity: number;
|
|
144
|
+
} | {
|
|
145
|
+
address: `0x${string}`;
|
|
146
|
+
nonce: number;
|
|
147
|
+
chainId: number;
|
|
148
|
+
r: `0x${string}`;
|
|
149
|
+
s: `0x${string}`;
|
|
150
|
+
v: bigint;
|
|
151
|
+
yParity: number;
|
|
104
152
|
} | null | undefined;
|
|
105
153
|
}, {
|
|
106
154
|
sender: string;
|
|
@@ -122,6 +170,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
122
170
|
s: string;
|
|
123
171
|
v: string | number | bigint;
|
|
124
172
|
yParity: string | number | bigint;
|
|
173
|
+
} | {
|
|
174
|
+
address: string;
|
|
175
|
+
nonce: string | number | bigint;
|
|
176
|
+
chainId: string | number | bigint;
|
|
177
|
+
r: string;
|
|
178
|
+
s: string;
|
|
179
|
+
v: string | number | bigint;
|
|
180
|
+
yParity: string | number | bigint;
|
|
125
181
|
} | null | undefined;
|
|
126
182
|
}>, import("zod").ZodEffects<import("zod").ZodObject<{
|
|
127
183
|
sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
@@ -139,7 +195,7 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
139
195
|
paymasterPostOpGasLimit: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
|
|
140
196
|
paymasterData: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
141
197
|
signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
142
|
-
eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
198
|
+
eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
143
199
|
contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
144
200
|
chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
145
201
|
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
@@ -163,7 +219,31 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
163
219
|
s: string;
|
|
164
220
|
v: string | number | bigint;
|
|
165
221
|
yParity: string | number | bigint;
|
|
166
|
-
}
|
|
222
|
+
}>, import("zod").ZodObject<{
|
|
223
|
+
address: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
224
|
+
chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
225
|
+
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
226
|
+
r: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
227
|
+
s: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
228
|
+
v: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
229
|
+
yParity: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
230
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
231
|
+
address: `0x${string}`;
|
|
232
|
+
nonce: number;
|
|
233
|
+
chainId: number;
|
|
234
|
+
r: `0x${string}`;
|
|
235
|
+
s: `0x${string}`;
|
|
236
|
+
v: bigint;
|
|
237
|
+
yParity: number;
|
|
238
|
+
}, {
|
|
239
|
+
address: string;
|
|
240
|
+
nonce: string | number | bigint;
|
|
241
|
+
chainId: string | number | bigint;
|
|
242
|
+
r: string;
|
|
243
|
+
s: string;
|
|
244
|
+
v: string | number | bigint;
|
|
245
|
+
yParity: string | number | bigint;
|
|
246
|
+
}>]>>>;
|
|
167
247
|
}, "strict", import("zod").ZodTypeAny, {
|
|
168
248
|
sender: `0x${string}`;
|
|
169
249
|
factory: `0x${string}` | null;
|
|
@@ -188,6 +268,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
188
268
|
s: `0x${string}`;
|
|
189
269
|
v: bigint;
|
|
190
270
|
yParity: number;
|
|
271
|
+
} | {
|
|
272
|
+
address: `0x${string}`;
|
|
273
|
+
nonce: number;
|
|
274
|
+
chainId: number;
|
|
275
|
+
r: `0x${string}`;
|
|
276
|
+
s: `0x${string}`;
|
|
277
|
+
v: bigint;
|
|
278
|
+
yParity: number;
|
|
191
279
|
} | null | undefined;
|
|
192
280
|
}, {
|
|
193
281
|
sender: string;
|
|
@@ -213,6 +301,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
213
301
|
s: string;
|
|
214
302
|
v: string | number | bigint;
|
|
215
303
|
yParity: string | number | bigint;
|
|
304
|
+
} | {
|
|
305
|
+
address: string;
|
|
306
|
+
nonce: string | number | bigint;
|
|
307
|
+
chainId: string | number | bigint;
|
|
308
|
+
r: string;
|
|
309
|
+
s: string;
|
|
310
|
+
v: string | number | bigint;
|
|
311
|
+
yParity: string | number | bigint;
|
|
216
312
|
} | null | undefined;
|
|
217
313
|
}>, {
|
|
218
314
|
sender: `0x${string}`;
|
|
@@ -238,6 +334,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
238
334
|
s: `0x${string}`;
|
|
239
335
|
v: bigint;
|
|
240
336
|
yParity: number;
|
|
337
|
+
} | {
|
|
338
|
+
address: `0x${string}`;
|
|
339
|
+
nonce: number;
|
|
340
|
+
chainId: number;
|
|
341
|
+
r: `0x${string}`;
|
|
342
|
+
s: `0x${string}`;
|
|
343
|
+
v: bigint;
|
|
344
|
+
yParity: number;
|
|
241
345
|
} | null | undefined;
|
|
242
346
|
}, {
|
|
243
347
|
sender: string;
|
|
@@ -263,6 +367,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
263
367
|
s: string;
|
|
264
368
|
v: string | number | bigint;
|
|
265
369
|
yParity: string | number | bigint;
|
|
370
|
+
} | {
|
|
371
|
+
address: string;
|
|
372
|
+
nonce: string | number | bigint;
|
|
373
|
+
chainId: string | number | bigint;
|
|
374
|
+
r: string;
|
|
375
|
+
s: string;
|
|
376
|
+
v: string | number | bigint;
|
|
377
|
+
yParity: string | number | bigint;
|
|
266
378
|
} | null | undefined;
|
|
267
379
|
}>]>, "many">;
|
|
268
380
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -286,6 +398,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
286
398
|
s: `0x${string}`;
|
|
287
399
|
v: bigint;
|
|
288
400
|
yParity: number;
|
|
401
|
+
} | {
|
|
402
|
+
address: `0x${string}`;
|
|
403
|
+
nonce: number;
|
|
404
|
+
chainId: number;
|
|
405
|
+
r: `0x${string}`;
|
|
406
|
+
s: `0x${string}`;
|
|
407
|
+
v: bigint;
|
|
408
|
+
yParity: number;
|
|
289
409
|
} | null | undefined;
|
|
290
410
|
} | {
|
|
291
411
|
sender: `0x${string}`;
|
|
@@ -311,6 +431,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
311
431
|
s: `0x${string}`;
|
|
312
432
|
v: bigint;
|
|
313
433
|
yParity: number;
|
|
434
|
+
} | {
|
|
435
|
+
address: `0x${string}`;
|
|
436
|
+
nonce: number;
|
|
437
|
+
chainId: number;
|
|
438
|
+
r: `0x${string}`;
|
|
439
|
+
s: `0x${string}`;
|
|
440
|
+
v: bigint;
|
|
441
|
+
yParity: number;
|
|
314
442
|
} | null | undefined;
|
|
315
443
|
})[];
|
|
316
444
|
params: [`0x${string}`];
|
|
@@ -336,6 +464,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
336
464
|
s: string;
|
|
337
465
|
v: string | number | bigint;
|
|
338
466
|
yParity: string | number | bigint;
|
|
467
|
+
} | {
|
|
468
|
+
address: string;
|
|
469
|
+
nonce: string | number | bigint;
|
|
470
|
+
chainId: string | number | bigint;
|
|
471
|
+
r: string;
|
|
472
|
+
s: string;
|
|
473
|
+
v: string | number | bigint;
|
|
474
|
+
yParity: string | number | bigint;
|
|
339
475
|
} | null | undefined;
|
|
340
476
|
} | {
|
|
341
477
|
sender: string;
|
|
@@ -361,6 +497,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
361
497
|
s: string;
|
|
362
498
|
v: string | number | bigint;
|
|
363
499
|
yParity: string | number | bigint;
|
|
500
|
+
} | {
|
|
501
|
+
address: string;
|
|
502
|
+
nonce: string | number | bigint;
|
|
503
|
+
chainId: string | number | bigint;
|
|
504
|
+
r: string;
|
|
505
|
+
s: string;
|
|
506
|
+
v: string | number | bigint;
|
|
507
|
+
yParity: string | number | bigint;
|
|
364
508
|
} | null | undefined;
|
|
365
509
|
})[];
|
|
366
510
|
params: [string];
|
|
@@ -391,6 +535,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
391
535
|
s: `0x${string}`;
|
|
392
536
|
v: bigint;
|
|
393
537
|
yParity: number;
|
|
538
|
+
} | {
|
|
539
|
+
address: `0x${string}`;
|
|
540
|
+
nonce: number;
|
|
541
|
+
chainId: number;
|
|
542
|
+
r: `0x${string}`;
|
|
543
|
+
s: `0x${string}`;
|
|
544
|
+
v: bigint;
|
|
545
|
+
yParity: number;
|
|
394
546
|
} | null | undefined;
|
|
395
547
|
} | {
|
|
396
548
|
sender: `0x${string}`;
|
|
@@ -416,6 +568,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
416
568
|
s: `0x${string}`;
|
|
417
569
|
v: bigint;
|
|
418
570
|
yParity: number;
|
|
571
|
+
} | {
|
|
572
|
+
address: `0x${string}`;
|
|
573
|
+
nonce: number;
|
|
574
|
+
chainId: number;
|
|
575
|
+
r: `0x${string}`;
|
|
576
|
+
s: `0x${string}`;
|
|
577
|
+
v: bigint;
|
|
578
|
+
yParity: number;
|
|
419
579
|
} | null | undefined;
|
|
420
580
|
})[] | Promise<({
|
|
421
581
|
sender: `0x${string}`;
|
|
@@ -437,6 +597,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
437
597
|
s: `0x${string}`;
|
|
438
598
|
v: bigint;
|
|
439
599
|
yParity: number;
|
|
600
|
+
} | {
|
|
601
|
+
address: `0x${string}`;
|
|
602
|
+
nonce: number;
|
|
603
|
+
chainId: number;
|
|
604
|
+
r: `0x${string}`;
|
|
605
|
+
s: `0x${string}`;
|
|
606
|
+
v: bigint;
|
|
607
|
+
yParity: number;
|
|
440
608
|
} | null | undefined;
|
|
441
609
|
} | {
|
|
442
610
|
sender: `0x${string}`;
|
|
@@ -462,6 +630,14 @@ export declare const debugBundlerDumpMempoolHandler: {
|
|
|
462
630
|
s: `0x${string}`;
|
|
463
631
|
v: bigint;
|
|
464
632
|
yParity: number;
|
|
633
|
+
} | {
|
|
634
|
+
address: `0x${string}`;
|
|
635
|
+
nonce: number;
|
|
636
|
+
chainId: number;
|
|
637
|
+
r: `0x${string}`;
|
|
638
|
+
s: `0x${string}`;
|
|
639
|
+
v: bigint;
|
|
640
|
+
yParity: number;
|
|
465
641
|
} | null | undefined;
|
|
466
642
|
})[]>;
|
|
467
643
|
};
|