@pimlico/alto 0.0.0-main.20250227T132020 → 0.0.0-main.20250228T024701
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/executor/utils.js +1 -1
- package/esm/handlers/gasPriceManager.js +43 -12
- package/esm/handlers/gasPriceManager.js.map +1 -1
- package/esm/rpc/estimation/gasEstimationsV06.js +6 -8
- package/esm/rpc/estimation/gasEstimationsV06.js.map +1 -1
- package/esm/rpc/estimation/gasEstimationsV07.d.ts +1 -3
- package/esm/rpc/estimation/gasEstimationsV07.js +27 -40
- package/esm/rpc/estimation/gasEstimationsV07.js.map +1 -1
- package/esm/rpc/methods/debug_bundler_dumpMempool.d.ts +18 -18
- package/esm/rpc/methods/eth_estimateUserOperationGas.d.ts +48 -48
- package/esm/rpc/methods/eth_estimateUserOperationGas.js +6 -1
- package/esm/rpc/methods/eth_estimateUserOperationGas.js.map +1 -1
- package/esm/rpc/methods/eth_getUserOperationByHash.d.ts +34 -34
- package/esm/rpc/methods/eth_sendUserOperation.d.ts +16 -16
- package/esm/rpc/methods/eth_sendUserOperation.js +6 -0
- package/esm/rpc/methods/eth_sendUserOperation.js.map +1 -1
- package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.d.ts +48 -48
- package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js +3 -1
- package/esm/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js.map +1 -1
- package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.d.ts +16 -16
- package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.js +4 -1
- package/esm/rpc/methods/pimlico_experimental_sendUserOperation7702.js.map +1 -1
- package/esm/rpc/methods/pimlico_sendUserOperationNow.d.ts +16 -16
- package/esm/rpc/rpcHandler.d.ts +4 -1
- package/esm/rpc/rpcHandler.js +8 -6
- package/esm/rpc/rpcHandler.js.map +1 -1
- package/esm/rpc/validation/SafeValidator.js +13 -3
- package/esm/rpc/validation/SafeValidator.js.map +1 -1
- package/esm/rpc/validation/tracer.d.ts +4 -1
- package/esm/rpc/validation/tracer.js +0 -1
- package/esm/rpc/validation/tracer.js.map +1 -1
- package/esm/types/schemas.d.ts +506 -506
- package/esm/types/schemas.js +4 -4
- package/esm/types/schemas.js.map +1 -1
- package/esm/utils/helpers.d.ts +3 -4
- package/esm/utils/helpers.js +24 -15
- package/esm/utils/helpers.js.map +1 -1
- package/esm/utils/validation.js +1 -1
- package/lib/executor/utils.js +1 -1
- package/lib/handlers/gasPriceManager.js +43 -12
- package/lib/handlers/gasPriceManager.js.map +1 -1
- package/lib/rpc/estimation/gasEstimationsV06.js +5 -7
- package/lib/rpc/estimation/gasEstimationsV06.js.map +1 -1
- package/lib/rpc/estimation/gasEstimationsV07.d.ts +1 -3
- package/lib/rpc/estimation/gasEstimationsV07.js +26 -39
- package/lib/rpc/estimation/gasEstimationsV07.js.map +1 -1
- package/lib/rpc/methods/debug_bundler_dumpMempool.d.ts +18 -18
- package/lib/rpc/methods/eth_estimateUserOperationGas.d.ts +48 -48
- package/lib/rpc/methods/eth_estimateUserOperationGas.js +6 -1
- package/lib/rpc/methods/eth_estimateUserOperationGas.js.map +1 -1
- package/lib/rpc/methods/eth_getUserOperationByHash.d.ts +34 -34
- package/lib/rpc/methods/eth_sendUserOperation.d.ts +16 -16
- package/lib/rpc/methods/eth_sendUserOperation.js +6 -0
- package/lib/rpc/methods/eth_sendUserOperation.js.map +1 -1
- package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.d.ts +48 -48
- package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js +3 -1
- package/lib/rpc/methods/pimlico_experimental_estimateUserOperationGas7702.js.map +1 -1
- package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.d.ts +16 -16
- package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.js +4 -1
- package/lib/rpc/methods/pimlico_experimental_sendUserOperation7702.js.map +1 -1
- package/lib/rpc/methods/pimlico_sendUserOperationNow.d.ts +16 -16
- package/lib/rpc/rpcHandler.d.ts +4 -1
- package/lib/rpc/rpcHandler.js +8 -6
- package/lib/rpc/rpcHandler.js.map +1 -1
- package/lib/rpc/validation/SafeValidator.js +12 -2
- package/lib/rpc/validation/SafeValidator.js.map +1 -1
- package/lib/rpc/validation/tracer.d.ts +4 -1
- package/lib/rpc/validation/tracer.js +0 -1
- package/lib/rpc/validation/tracer.js.map +1 -1
- package/lib/types/schemas.d.ts +506 -506
- package/lib/types/schemas.js +4 -4
- package/lib/types/schemas.js.map +1 -1
- package/lib/utils/helpers.d.ts +3 -4
- package/lib/utils/helpers.js +26 -17
- package/lib/utils/helpers.js.map +1 -1
- package/lib/utils/validation.js +1 -1
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
13
13
|
maxFeePerGas: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
14
14
|
paymasterAndData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
15
15
|
signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
16
|
-
|
|
16
|
+
eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
17
17
|
contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
18
18
|
chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
19
19
|
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
@@ -37,7 +37,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
37
37
|
s: string;
|
|
38
38
|
v: string | number | bigint;
|
|
39
39
|
yParity: string | number | bigint;
|
|
40
|
-
}
|
|
40
|
+
}>>>;
|
|
41
41
|
}, "strict", import("zod").ZodTypeAny, {
|
|
42
42
|
sender: `0x${string}`;
|
|
43
43
|
nonce: bigint;
|
|
@@ -50,7 +50,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
50
50
|
maxFeePerGas: bigint;
|
|
51
51
|
maxPriorityFeePerGas: bigint;
|
|
52
52
|
signature: `0x${string}`;
|
|
53
|
-
|
|
53
|
+
eip7702Auth?: {
|
|
54
54
|
nonce: number;
|
|
55
55
|
contractAddress: `0x${string}`;
|
|
56
56
|
chainId: number;
|
|
@@ -58,7 +58,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
58
58
|
s: `0x${string}`;
|
|
59
59
|
v: bigint;
|
|
60
60
|
yParity: number;
|
|
61
|
-
} | undefined;
|
|
61
|
+
} | null | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
sender: string;
|
|
64
64
|
nonce: string | number | bigint;
|
|
@@ -71,7 +71,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
71
71
|
preVerificationGas?: string | number | bigint | undefined;
|
|
72
72
|
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
73
73
|
maxFeePerGas?: string | number | bigint | undefined;
|
|
74
|
-
|
|
74
|
+
eip7702Auth?: {
|
|
75
75
|
nonce: string | number | bigint;
|
|
76
76
|
contractAddress: string;
|
|
77
77
|
chainId: string | number | bigint;
|
|
@@ -79,7 +79,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
79
79
|
s: string;
|
|
80
80
|
v: string | number | bigint;
|
|
81
81
|
yParity: string | number | bigint;
|
|
82
|
-
} | undefined;
|
|
82
|
+
} | null | undefined;
|
|
83
83
|
}>, {
|
|
84
84
|
sender: `0x${string}`;
|
|
85
85
|
nonce: bigint;
|
|
@@ -92,7 +92,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
92
92
|
maxFeePerGas: bigint;
|
|
93
93
|
maxPriorityFeePerGas: bigint;
|
|
94
94
|
signature: `0x${string}`;
|
|
95
|
-
|
|
95
|
+
eip7702Auth?: {
|
|
96
96
|
nonce: number;
|
|
97
97
|
contractAddress: `0x${string}`;
|
|
98
98
|
chainId: number;
|
|
@@ -100,7 +100,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
100
100
|
s: `0x${string}`;
|
|
101
101
|
v: bigint;
|
|
102
102
|
yParity: number;
|
|
103
|
-
} | undefined;
|
|
103
|
+
} | null | undefined;
|
|
104
104
|
}, {
|
|
105
105
|
sender: string;
|
|
106
106
|
nonce: string | number | bigint;
|
|
@@ -113,7 +113,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
113
113
|
preVerificationGas?: string | number | bigint | undefined;
|
|
114
114
|
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
115
115
|
maxFeePerGas?: string | number | bigint | undefined;
|
|
116
|
-
|
|
116
|
+
eip7702Auth?: {
|
|
117
117
|
nonce: string | number | bigint;
|
|
118
118
|
contractAddress: string;
|
|
119
119
|
chainId: string | number | bigint;
|
|
@@ -121,7 +121,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
121
121
|
s: string;
|
|
122
122
|
v: string | number | bigint;
|
|
123
123
|
yParity: string | number | bigint;
|
|
124
|
-
} | undefined;
|
|
124
|
+
} | null | undefined;
|
|
125
125
|
}>, import("zod").ZodEffects<import("zod").ZodObject<{
|
|
126
126
|
sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
127
127
|
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
@@ -138,7 +138,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
138
138
|
paymasterPostOpGasLimit: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
|
|
139
139
|
paymasterData: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
140
140
|
signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
141
|
-
|
|
141
|
+
eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
142
142
|
contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
143
143
|
chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
144
144
|
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
@@ -179,7 +179,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
179
179
|
paymasterPostOpGasLimit: bigint | null;
|
|
180
180
|
factoryData: `0x${string}` | null;
|
|
181
181
|
paymasterData: `0x${string}` | null;
|
|
182
|
-
|
|
182
|
+
eip7702Auth?: {
|
|
183
183
|
nonce: number;
|
|
184
184
|
contractAddress: `0x${string}`;
|
|
185
185
|
chainId: number;
|
|
@@ -204,7 +204,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
204
204
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
205
205
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
206
206
|
paymasterData?: string | null | undefined;
|
|
207
|
-
|
|
207
|
+
eip7702Auth?: {
|
|
208
208
|
nonce: string | number | bigint;
|
|
209
209
|
contractAddress: string;
|
|
210
210
|
chainId: string | number | bigint;
|
|
@@ -229,7 +229,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
229
229
|
paymasterPostOpGasLimit: bigint | null;
|
|
230
230
|
factoryData: `0x${string}` | null;
|
|
231
231
|
paymasterData: `0x${string}` | null;
|
|
232
|
-
|
|
232
|
+
eip7702Auth?: {
|
|
233
233
|
nonce: number;
|
|
234
234
|
contractAddress: `0x${string}`;
|
|
235
235
|
chainId: number;
|
|
@@ -254,7 +254,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
254
254
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
255
255
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
256
256
|
paymasterData?: string | null | undefined;
|
|
257
|
-
|
|
257
|
+
eip7702Auth?: {
|
|
258
258
|
nonce: string | number | bigint;
|
|
259
259
|
contractAddress: string;
|
|
260
260
|
chainId: string | number | bigint;
|
|
@@ -275,7 +275,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
275
275
|
maxFeePerGas: import("zod").ZodDefault<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>>;
|
|
276
276
|
paymasterAndData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
277
277
|
signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
278
|
-
|
|
278
|
+
eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
279
279
|
contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
280
280
|
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>;
|
|
281
281
|
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>;
|
|
@@ -299,7 +299,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
299
299
|
s: string;
|
|
300
300
|
v: string | number | bigint;
|
|
301
301
|
yParity: string | number | bigint;
|
|
302
|
-
}
|
|
302
|
+
}>>>;
|
|
303
303
|
}, "strict", import("zod").ZodTypeAny, {
|
|
304
304
|
sender: `0x${string}`;
|
|
305
305
|
nonce: bigint;
|
|
@@ -312,7 +312,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
312
312
|
maxFeePerGas: bigint;
|
|
313
313
|
maxPriorityFeePerGas: bigint;
|
|
314
314
|
signature: `0x${string}`;
|
|
315
|
-
|
|
315
|
+
eip7702Auth?: {
|
|
316
316
|
nonce: number;
|
|
317
317
|
contractAddress: `0x${string}`;
|
|
318
318
|
chainId: number;
|
|
@@ -320,7 +320,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
320
320
|
s: `0x${string}`;
|
|
321
321
|
v: bigint;
|
|
322
322
|
yParity: number;
|
|
323
|
-
} | undefined;
|
|
323
|
+
} | null | undefined;
|
|
324
324
|
}, {
|
|
325
325
|
sender: string;
|
|
326
326
|
nonce: string | number | bigint;
|
|
@@ -333,7 +333,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
333
333
|
preVerificationGas?: string | number | bigint | undefined;
|
|
334
334
|
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
335
335
|
maxFeePerGas?: string | number | bigint | undefined;
|
|
336
|
-
|
|
336
|
+
eip7702Auth?: {
|
|
337
337
|
nonce: string | number | bigint;
|
|
338
338
|
contractAddress: string;
|
|
339
339
|
chainId: string | number | bigint;
|
|
@@ -341,7 +341,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
341
341
|
s: string;
|
|
342
342
|
v: string | number | bigint;
|
|
343
343
|
yParity: string | number | bigint;
|
|
344
|
-
} | undefined;
|
|
344
|
+
} | null | undefined;
|
|
345
345
|
}>, {
|
|
346
346
|
sender: `0x${string}`;
|
|
347
347
|
nonce: bigint;
|
|
@@ -354,7 +354,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
354
354
|
maxFeePerGas: bigint;
|
|
355
355
|
maxPriorityFeePerGas: bigint;
|
|
356
356
|
signature: `0x${string}`;
|
|
357
|
-
|
|
357
|
+
eip7702Auth?: {
|
|
358
358
|
nonce: number;
|
|
359
359
|
contractAddress: `0x${string}`;
|
|
360
360
|
chainId: number;
|
|
@@ -362,7 +362,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
362
362
|
s: `0x${string}`;
|
|
363
363
|
v: bigint;
|
|
364
364
|
yParity: number;
|
|
365
|
-
} | undefined;
|
|
365
|
+
} | null | undefined;
|
|
366
366
|
}, {
|
|
367
367
|
sender: string;
|
|
368
368
|
nonce: string | number | bigint;
|
|
@@ -375,7 +375,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
375
375
|
preVerificationGas?: string | number | bigint | undefined;
|
|
376
376
|
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
377
377
|
maxFeePerGas?: string | number | bigint | undefined;
|
|
378
|
-
|
|
378
|
+
eip7702Auth?: {
|
|
379
379
|
nonce: string | number | bigint;
|
|
380
380
|
contractAddress: string;
|
|
381
381
|
chainId: string | number | bigint;
|
|
@@ -383,7 +383,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
383
383
|
s: string;
|
|
384
384
|
v: string | number | bigint;
|
|
385
385
|
yParity: string | number | bigint;
|
|
386
|
-
} | undefined;
|
|
386
|
+
} | null | undefined;
|
|
387
387
|
}>, import("zod").ZodEffects<import("zod").ZodObject<{
|
|
388
388
|
sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
389
389
|
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
@@ -400,7 +400,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
400
400
|
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>;
|
|
401
401
|
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>;
|
|
402
402
|
signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
403
|
-
|
|
403
|
+
eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
404
404
|
contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
405
405
|
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>;
|
|
406
406
|
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>;
|
|
@@ -441,7 +441,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
441
441
|
paymasterPostOpGasLimit: bigint | null;
|
|
442
442
|
factoryData: `0x${string}` | null;
|
|
443
443
|
paymasterData: `0x${string}` | null;
|
|
444
|
-
|
|
444
|
+
eip7702Auth?: {
|
|
445
445
|
nonce: number;
|
|
446
446
|
contractAddress: `0x${string}`;
|
|
447
447
|
chainId: number;
|
|
@@ -466,7 +466,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
466
466
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
467
467
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
468
468
|
paymasterData?: string | null | undefined;
|
|
469
|
-
|
|
469
|
+
eip7702Auth?: {
|
|
470
470
|
nonce: string | number | bigint;
|
|
471
471
|
contractAddress: string;
|
|
472
472
|
chainId: string | number | bigint;
|
|
@@ -491,7 +491,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
491
491
|
paymasterPostOpGasLimit: bigint | null;
|
|
492
492
|
factoryData: `0x${string}` | null;
|
|
493
493
|
paymasterData: `0x${string}` | null;
|
|
494
|
-
|
|
494
|
+
eip7702Auth?: {
|
|
495
495
|
nonce: number;
|
|
496
496
|
contractAddress: `0x${string}`;
|
|
497
497
|
chainId: number;
|
|
@@ -516,7 +516,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
516
516
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
517
517
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
518
518
|
paymasterData?: string | null | undefined;
|
|
519
|
-
|
|
519
|
+
eip7702Auth?: {
|
|
520
520
|
nonce: string | number | bigint;
|
|
521
521
|
contractAddress: string;
|
|
522
522
|
chainId: string | number | bigint;
|
|
@@ -614,7 +614,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
614
614
|
maxFeePerGas: bigint;
|
|
615
615
|
maxPriorityFeePerGas: bigint;
|
|
616
616
|
signature: `0x${string}`;
|
|
617
|
-
|
|
617
|
+
eip7702Auth?: {
|
|
618
618
|
nonce: number;
|
|
619
619
|
contractAddress: `0x${string}`;
|
|
620
620
|
chainId: number;
|
|
@@ -622,7 +622,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
622
622
|
s: `0x${string}`;
|
|
623
623
|
v: bigint;
|
|
624
624
|
yParity: number;
|
|
625
|
-
} | undefined;
|
|
625
|
+
} | null | undefined;
|
|
626
626
|
} | {
|
|
627
627
|
sender: `0x${string}`;
|
|
628
628
|
factory: `0x${string}` | null;
|
|
@@ -639,7 +639,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
639
639
|
paymasterPostOpGasLimit: bigint | null;
|
|
640
640
|
factoryData: `0x${string}` | null;
|
|
641
641
|
paymasterData: `0x${string}` | null;
|
|
642
|
-
|
|
642
|
+
eip7702Auth?: {
|
|
643
643
|
nonce: number;
|
|
644
644
|
contractAddress: `0x${string}`;
|
|
645
645
|
chainId: number;
|
|
@@ -660,7 +660,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
660
660
|
maxFeePerGas: bigint;
|
|
661
661
|
maxPriorityFeePerGas: bigint;
|
|
662
662
|
signature: `0x${string}`;
|
|
663
|
-
|
|
663
|
+
eip7702Auth?: {
|
|
664
664
|
nonce: number;
|
|
665
665
|
contractAddress: `0x${string}`;
|
|
666
666
|
chainId: number;
|
|
@@ -668,7 +668,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
668
668
|
s: `0x${string}`;
|
|
669
669
|
v: bigint;
|
|
670
670
|
yParity: number;
|
|
671
|
-
} | undefined;
|
|
671
|
+
} | null | undefined;
|
|
672
672
|
} | {
|
|
673
673
|
sender: `0x${string}`;
|
|
674
674
|
factory: `0x${string}` | null;
|
|
@@ -685,7 +685,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
685
685
|
paymasterPostOpGasLimit: bigint | null;
|
|
686
686
|
factoryData: `0x${string}` | null;
|
|
687
687
|
paymasterData: `0x${string}` | null;
|
|
688
|
-
|
|
688
|
+
eip7702Auth?: {
|
|
689
689
|
nonce: number;
|
|
690
690
|
contractAddress: `0x${string}`;
|
|
691
691
|
chainId: number;
|
|
@@ -738,7 +738,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
738
738
|
preVerificationGas?: string | number | bigint | undefined;
|
|
739
739
|
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
740
740
|
maxFeePerGas?: string | number | bigint | undefined;
|
|
741
|
-
|
|
741
|
+
eip7702Auth?: {
|
|
742
742
|
nonce: string | number | bigint;
|
|
743
743
|
contractAddress: string;
|
|
744
744
|
chainId: string | number | bigint;
|
|
@@ -746,7 +746,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
746
746
|
s: string;
|
|
747
747
|
v: string | number | bigint;
|
|
748
748
|
yParity: string | number | bigint;
|
|
749
|
-
} | undefined;
|
|
749
|
+
} | null | undefined;
|
|
750
750
|
} | {
|
|
751
751
|
sender: string;
|
|
752
752
|
nonce: string | number | bigint;
|
|
@@ -763,7 +763,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
763
763
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
764
764
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
765
765
|
paymasterData?: string | null | undefined;
|
|
766
|
-
|
|
766
|
+
eip7702Auth?: {
|
|
767
767
|
nonce: string | number | bigint;
|
|
768
768
|
contractAddress: string;
|
|
769
769
|
chainId: string | number | bigint;
|
|
@@ -784,7 +784,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
784
784
|
preVerificationGas?: string | number | bigint | undefined;
|
|
785
785
|
maxPriorityFeePerGas?: string | number | bigint | undefined;
|
|
786
786
|
maxFeePerGas?: string | number | bigint | undefined;
|
|
787
|
-
|
|
787
|
+
eip7702Auth?: {
|
|
788
788
|
nonce: string | number | bigint;
|
|
789
789
|
contractAddress: string;
|
|
790
790
|
chainId: string | number | bigint;
|
|
@@ -792,7 +792,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
792
792
|
s: string;
|
|
793
793
|
v: string | number | bigint;
|
|
794
794
|
yParity: string | number | bigint;
|
|
795
|
-
} | undefined;
|
|
795
|
+
} | null | undefined;
|
|
796
796
|
} | {
|
|
797
797
|
sender: string;
|
|
798
798
|
nonce: string | number | bigint;
|
|
@@ -809,7 +809,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
809
809
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
810
810
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
811
811
|
paymasterData?: string | null | undefined;
|
|
812
|
-
|
|
812
|
+
eip7702Auth?: {
|
|
813
813
|
nonce: string | number | bigint;
|
|
814
814
|
contractAddress: string;
|
|
815
815
|
chainId: string | number | bigint;
|
|
@@ -842,7 +842,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
842
842
|
maxFeePerGas: bigint;
|
|
843
843
|
maxPriorityFeePerGas: bigint;
|
|
844
844
|
signature: `0x${string}`;
|
|
845
|
-
|
|
845
|
+
eip7702Auth?: {
|
|
846
846
|
nonce: number;
|
|
847
847
|
contractAddress: `0x${string}`;
|
|
848
848
|
chainId: number;
|
|
@@ -850,7 +850,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
850
850
|
s: `0x${string}`;
|
|
851
851
|
v: bigint;
|
|
852
852
|
yParity: number;
|
|
853
|
-
} | undefined;
|
|
853
|
+
} | null | undefined;
|
|
854
854
|
}> | import("type-fest/source/readonly-deep").ReadonlyObjectDeep<{
|
|
855
855
|
sender: `0x${string}`;
|
|
856
856
|
factory: `0x${string}` | null;
|
|
@@ -867,7 +867,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
867
867
|
paymasterPostOpGasLimit: bigint | null;
|
|
868
868
|
factoryData: `0x${string}` | null;
|
|
869
869
|
paymasterData: `0x${string}` | null;
|
|
870
|
-
|
|
870
|
+
eip7702Auth?: {
|
|
871
871
|
nonce: number;
|
|
872
872
|
contractAddress: `0x${string}`;
|
|
873
873
|
chainId: number;
|
|
@@ -888,7 +888,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
888
888
|
maxFeePerGas: bigint;
|
|
889
889
|
maxPriorityFeePerGas: bigint;
|
|
890
890
|
signature: `0x${string}`;
|
|
891
|
-
|
|
891
|
+
eip7702Auth?: {
|
|
892
892
|
nonce: number;
|
|
893
893
|
contractAddress: `0x${string}`;
|
|
894
894
|
chainId: number;
|
|
@@ -896,7 +896,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
896
896
|
s: `0x${string}`;
|
|
897
897
|
v: bigint;
|
|
898
898
|
yParity: number;
|
|
899
|
-
} | undefined;
|
|
899
|
+
} | null | undefined;
|
|
900
900
|
}> | import("type-fest/source/readonly-deep").ReadonlyObjectDeep<{
|
|
901
901
|
sender: `0x${string}`;
|
|
902
902
|
factory: `0x${string}` | null;
|
|
@@ -913,7 +913,7 @@ export declare const experimentalEstimateUserOperationGas7702Handler: {
|
|
|
913
913
|
paymasterPostOpGasLimit: bigint | null;
|
|
914
914
|
factoryData: `0x${string}` | null;
|
|
915
915
|
paymasterData: `0x${string}` | null;
|
|
916
|
-
|
|
916
|
+
eip7702Auth?: {
|
|
917
917
|
nonce: number;
|
|
918
918
|
contractAddress: `0x${string}`;
|
|
919
919
|
chainId: number;
|
|
@@ -8,7 +8,9 @@ export const experimentalEstimateUserOperationGas7702Handler = createMethodHandl
|
|
|
8
8
|
const userOperation = params[0];
|
|
9
9
|
const entryPoint = params[1];
|
|
10
10
|
const stateOverrides = params[2];
|
|
11
|
-
await rpcHandler.validateEip7702Auth(
|
|
11
|
+
await rpcHandler.validateEip7702Auth({
|
|
12
|
+
userOperation
|
|
13
|
+
});
|
|
12
14
|
return await rpcHandler.estimateGas({
|
|
13
15
|
apiVersion,
|
|
14
16
|
userOperation,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pimlico_experimental_estimateUserOperationGas7702.js","sourceRoot":"","sources":["../../../rpc/methods/pimlico_experimental_estimateUserOperationGas7702.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAE,qDAAqD,EAAE,MAAM,aAAa,CAAA;AAEnF,MAAM,CAAC,MAAM,+CAA+C,GACxD,mBAAmB,CAAC;IAChB,MAAM,EAAE,mDAAmD;IAC3D,MAAM,EAAE,qDAAqD;IAC7D,OAAO,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE;QAClD,UAAU,CAAC,qCAAqC,CAC5C,mDAAmD,CACtD,CAAA;QAED,MAAM,aAAa,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QAC/B,MAAM,UAAU,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QAC5B,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QAEhC,MAAM,UAAU,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"pimlico_experimental_estimateUserOperationGas7702.js","sourceRoot":"","sources":["../../../rpc/methods/pimlico_experimental_estimateUserOperationGas7702.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAE,qDAAqD,EAAE,MAAM,aAAa,CAAA;AAEnF,MAAM,CAAC,MAAM,+CAA+C,GACxD,mBAAmB,CAAC;IAChB,MAAM,EAAE,mDAAmD;IAC3D,MAAM,EAAE,qDAAqD;IAC7D,OAAO,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE;QAClD,UAAU,CAAC,qCAAqC,CAC5C,mDAAmD,CACtD,CAAA;QAED,MAAM,aAAa,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QAC/B,MAAM,UAAU,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QAC5B,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QAEhC,MAAM,UAAU,CAAC,mBAAmB,CAAC;YACjC,aAAa;SAChB,CAAC,CAAA;QAEF,OAAO,MAAM,UAAU,CAAC,WAAW,CAAC;YAChC,UAAU;YACV,aAAa;YACb,UAAU;YACV,cAAc;SACjB,CAAC,CAAA;IACN,CAAC;CACJ,CAAC,CAAA"}
|
|
@@ -13,7 +13,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
13
13
|
maxFeePerGas: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
14
14
|
paymasterAndData: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
15
15
|
signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
16
|
-
|
|
16
|
+
eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
17
17
|
contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
18
18
|
chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
19
19
|
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
@@ -50,7 +50,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
50
50
|
maxFeePerGas: bigint;
|
|
51
51
|
maxPriorityFeePerGas: bigint;
|
|
52
52
|
signature: `0x${string}`;
|
|
53
|
-
|
|
53
|
+
eip7702Auth?: {
|
|
54
54
|
nonce: number;
|
|
55
55
|
contractAddress: `0x${string}`;
|
|
56
56
|
chainId: number;
|
|
@@ -71,7 +71,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
71
71
|
maxFeePerGas: string | number | bigint;
|
|
72
72
|
maxPriorityFeePerGas: string | number | bigint;
|
|
73
73
|
signature: string;
|
|
74
|
-
|
|
74
|
+
eip7702Auth?: {
|
|
75
75
|
nonce: string | number | bigint;
|
|
76
76
|
contractAddress: string;
|
|
77
77
|
chainId: string | number | bigint;
|
|
@@ -92,7 +92,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
92
92
|
maxFeePerGas: bigint;
|
|
93
93
|
maxPriorityFeePerGas: bigint;
|
|
94
94
|
signature: `0x${string}`;
|
|
95
|
-
|
|
95
|
+
eip7702Auth?: {
|
|
96
96
|
nonce: number;
|
|
97
97
|
contractAddress: `0x${string}`;
|
|
98
98
|
chainId: number;
|
|
@@ -113,7 +113,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
113
113
|
maxFeePerGas: string | number | bigint;
|
|
114
114
|
maxPriorityFeePerGas: string | number | bigint;
|
|
115
115
|
signature: string;
|
|
116
|
-
|
|
116
|
+
eip7702Auth?: {
|
|
117
117
|
nonce: string | number | bigint;
|
|
118
118
|
contractAddress: string;
|
|
119
119
|
chainId: string | number | bigint;
|
|
@@ -138,7 +138,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
138
138
|
paymasterPostOpGasLimit: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
|
|
139
139
|
paymasterData: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
140
140
|
signature: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
141
|
-
|
|
141
|
+
eip7702Auth: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
142
142
|
contractAddress: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
|
|
143
143
|
chainId: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
144
144
|
nonce: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, import("zod").ZodBigInt]>, bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
@@ -179,7 +179,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
179
179
|
paymasterPostOpGasLimit: bigint | null;
|
|
180
180
|
factoryData: `0x${string}` | null;
|
|
181
181
|
paymasterData: `0x${string}` | null;
|
|
182
|
-
|
|
182
|
+
eip7702Auth?: {
|
|
183
183
|
nonce: number;
|
|
184
184
|
contractAddress: `0x${string}`;
|
|
185
185
|
chainId: number;
|
|
@@ -204,7 +204,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
204
204
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
205
205
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
206
206
|
paymasterData?: string | null | undefined;
|
|
207
|
-
|
|
207
|
+
eip7702Auth?: {
|
|
208
208
|
nonce: string | number | bigint;
|
|
209
209
|
contractAddress: string;
|
|
210
210
|
chainId: string | number | bigint;
|
|
@@ -229,7 +229,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
229
229
|
paymasterPostOpGasLimit: bigint | null;
|
|
230
230
|
factoryData: `0x${string}` | null;
|
|
231
231
|
paymasterData: `0x${string}` | null;
|
|
232
|
-
|
|
232
|
+
eip7702Auth?: {
|
|
233
233
|
nonce: number;
|
|
234
234
|
contractAddress: `0x${string}`;
|
|
235
235
|
chainId: number;
|
|
@@ -254,7 +254,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
254
254
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
255
255
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
256
256
|
paymasterData?: string | null | undefined;
|
|
257
|
-
|
|
257
|
+
eip7702Auth?: {
|
|
258
258
|
nonce: string | number | bigint;
|
|
259
259
|
contractAddress: string;
|
|
260
260
|
chainId: string | number | bigint;
|
|
@@ -279,7 +279,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
279
279
|
maxFeePerGas: bigint;
|
|
280
280
|
maxPriorityFeePerGas: bigint;
|
|
281
281
|
signature: `0x${string}`;
|
|
282
|
-
|
|
282
|
+
eip7702Auth?: {
|
|
283
283
|
nonce: number;
|
|
284
284
|
contractAddress: `0x${string}`;
|
|
285
285
|
chainId: number;
|
|
@@ -304,7 +304,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
304
304
|
paymasterPostOpGasLimit: bigint | null;
|
|
305
305
|
factoryData: `0x${string}` | null;
|
|
306
306
|
paymasterData: `0x${string}` | null;
|
|
307
|
-
|
|
307
|
+
eip7702Auth?: {
|
|
308
308
|
nonce: number;
|
|
309
309
|
contractAddress: `0x${string}`;
|
|
310
310
|
chainId: number;
|
|
@@ -329,7 +329,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
329
329
|
maxFeePerGas: string | number | bigint;
|
|
330
330
|
maxPriorityFeePerGas: string | number | bigint;
|
|
331
331
|
signature: string;
|
|
332
|
-
|
|
332
|
+
eip7702Auth?: {
|
|
333
333
|
nonce: string | number | bigint;
|
|
334
334
|
contractAddress: string;
|
|
335
335
|
chainId: string | number | bigint;
|
|
@@ -354,7 +354,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
354
354
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
355
355
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
356
356
|
paymasterData?: string | null | undefined;
|
|
357
|
-
|
|
357
|
+
eip7702Auth?: {
|
|
358
358
|
nonce: string | number | bigint;
|
|
359
359
|
contractAddress: string;
|
|
360
360
|
chainId: string | number | bigint;
|
|
@@ -381,7 +381,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
381
381
|
maxFeePerGas: bigint;
|
|
382
382
|
maxPriorityFeePerGas: bigint;
|
|
383
383
|
signature: `0x${string}`;
|
|
384
|
-
|
|
384
|
+
eip7702Auth?: {
|
|
385
385
|
nonce: number;
|
|
386
386
|
contractAddress: `0x${string}`;
|
|
387
387
|
chainId: number;
|
|
@@ -406,7 +406,7 @@ export declare const experimentalSendUserOperation7702Handler: {
|
|
|
406
406
|
paymasterPostOpGasLimit: bigint | null;
|
|
407
407
|
factoryData: `0x${string}` | null;
|
|
408
408
|
paymasterData: `0x${string}` | null;
|
|
409
|
-
|
|
409
|
+
eip7702Auth?: {
|
|
410
410
|
nonce: number;
|
|
411
411
|
contractAddress: `0x${string}`;
|
|
412
412
|
chainId: number;
|
|
@@ -8,7 +8,10 @@ export const experimentalSendUserOperation7702Handler = createMethodHandler({
|
|
|
8
8
|
rpcHandler.ensureExperimentalEndpointsAreEnabled("pimlico_experimental_sendUserOperation7702");
|
|
9
9
|
const [userOperation, entryPoint] = params;
|
|
10
10
|
rpcHandler.ensureEntryPointIsSupported(entryPoint);
|
|
11
|
-
await rpcHandler.validateEip7702Auth(
|
|
11
|
+
await rpcHandler.validateEip7702Auth({
|
|
12
|
+
userOperation,
|
|
13
|
+
validateSender: true
|
|
14
|
+
});
|
|
12
15
|
await rpcHandler.addToMempoolIfValid(userOperation, entryPoint, apiVersion);
|
|
13
16
|
return getUserOperationHash(userOperation, entryPoint, rpcHandler.config.publicClient.chain.id);
|
|
14
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pimlico_experimental_sendUserOperation7702.js","sourceRoot":"","sources":["../../../rpc/methods/pimlico_experimental_sendUserOperation7702.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAE,8CAA8C,EAAE,MAAM,aAAa,CAAA;AAE5E,MAAM,CAAC,MAAM,wCAAwC,GAAG,mBAAmB,CAAC;IACxE,MAAM,EAAE,4CAA4C;IACpD,MAAM,EAAE,8CAA8C;IACtD,OAAO,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,EAAE;QAClD,UAAU,CAAC,qCAAqC,CAC5C,4CAA4C,CAC/C,CAAA;QAED,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,GAAG,MAAM,CAAA;QAE1C,UAAU,CAAC,2BAA2B,CAAC,UAAU,CAAC,CAAA;QAClD,MAAM,UAAU,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"pimlico_experimental_sendUserOperation7702.js","sourceRoot":"","sources":["../../../rpc/methods/pimlico_experimental_sendUserOperation7702.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAE,8CAA8C,EAAE,MAAM,aAAa,CAAA;AAE5E,MAAM,CAAC,MAAM,wCAAwC,GAAG,mBAAmB,CAAC;IACxE,MAAM,EAAE,4CAA4C;IACpD,MAAM,EAAE,8CAA8C;IACtD,OAAO,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,EAAE;QAClD,UAAU,CAAC,qCAAqC,CAC5C,4CAA4C,CAC/C,CAAA;QAED,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,GAAG,MAAM,CAAA;QAE1C,UAAU,CAAC,2BAA2B,CAAC,UAAU,CAAC,CAAA;QAClD,MAAM,UAAU,CAAC,mBAAmB,CAAC;YACjC,aAAa;YACb,cAAc,EAAE,IAAI;SACvB,CAAC,CAAA;QAEF,MAAM,UAAU,CAAC,mBAAmB,CAChC,aAAa,EACb,UAAU,EACV,UAAU,CACb,CAAA;QAED,OAAO,oBAAoB,CACvB,aAAa,EACb,UAAU,EACV,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,CAC1C,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"}
|