@pimlico/mock-paymaster 0.0.2

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/_cjs/helpers/abi.js +1049 -0
  3. package/_cjs/helpers/abi.js.map +1 -0
  4. package/_cjs/helpers/erc20-utils.js +52 -0
  5. package/_cjs/helpers/erc20-utils.js.map +1 -0
  6. package/_cjs/helpers/schema.js +263 -0
  7. package/_cjs/helpers/schema.js.map +1 -0
  8. package/_cjs/helpers/utils.js +38 -0
  9. package/_cjs/helpers/utils.js.map +1 -0
  10. package/_cjs/index.js +55 -0
  11. package/_cjs/index.js.map +1 -0
  12. package/_cjs/package.json +1 -0
  13. package/_cjs/relay.js +250 -0
  14. package/_cjs/relay.js.map +1 -0
  15. package/_cjs/singletonPaymasters.js +266 -0
  16. package/_cjs/singletonPaymasters.js.map +1 -0
  17. package/_esm/helpers/abi.js +1046 -0
  18. package/_esm/helpers/abi.js.map +1 -0
  19. package/_esm/helpers/erc20-utils.js +46 -0
  20. package/_esm/helpers/erc20-utils.js.map +1 -0
  21. package/_esm/helpers/schema.js +260 -0
  22. package/_esm/helpers/schema.js.map +1 -0
  23. package/_esm/helpers/utils.js +39 -0
  24. package/_esm/helpers/utils.js.map +1 -0
  25. package/_esm/index.js +52 -0
  26. package/_esm/index.js.map +1 -0
  27. package/_esm/package.json +1 -0
  28. package/_esm/relay.js +249 -0
  29. package/_esm/relay.js.map +1 -0
  30. package/_esm/singletonPaymasters.js +263 -0
  31. package/_esm/singletonPaymasters.js.map +1 -0
  32. package/_types/helpers/abi.d.ts +977 -0
  33. package/_types/helpers/abi.d.ts.map +1 -0
  34. package/_types/helpers/erc20-utils.d.ts +10 -0
  35. package/_types/helpers/erc20-utils.d.ts.map +1 -0
  36. package/_types/helpers/schema.d.ts +1091 -0
  37. package/_types/helpers/schema.d.ts.map +1 -0
  38. package/_types/helpers/utils.d.ts +15 -0
  39. package/_types/helpers/utils.d.ts.map +1 -0
  40. package/_types/index.d.ts +6 -0
  41. package/_types/index.d.ts.map +1 -0
  42. package/_types/relay.d.ts +86 -0
  43. package/_types/relay.d.ts.map +1 -0
  44. package/_types/singletonPaymasters.d.ts +93267 -0
  45. package/_types/singletonPaymasters.d.ts.map +1 -0
  46. package/helpers/abi.ts +1046 -0
  47. package/helpers/erc20-utils.ts +80 -0
  48. package/helpers/schema.ts +272 -0
  49. package/helpers/utils.ts +77 -0
  50. package/index.ts +78 -0
  51. package/package.json +38 -0
  52. package/relay.ts +430 -0
  53. package/singletonPaymasters.ts +381 -0
@@ -0,0 +1,1091 @@
1
+ import { z, type infer as zodInfer } from "zod";
2
+ export declare enum ValidationErrors {
3
+ InvalidFields = -32602,
4
+ InsufficientBalance = -32603,
5
+ UnsupportedEntryPoint = -32604
6
+ }
7
+ export declare class InternalBundlerError extends Error {
8
+ constructor(msg?: string);
9
+ }
10
+ export declare class RpcError extends Error {
11
+ readonly code?: number | undefined;
12
+ readonly data: unknown;
13
+ constructor(msg: string, code?: number | undefined, data?: unknown);
14
+ }
15
+ export declare const addressSchema: z.ZodEffects<z.ZodString, `0x${string}`, string>;
16
+ export declare const hexNumberSchema: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
17
+ export declare const hexDataSchema: z.ZodEffects<z.ZodString, `0x${string}`, string>;
18
+ declare const userOperationSchemaPaymasterV6: z.ZodEffects<z.ZodObject<{
19
+ sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
20
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
21
+ initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
22
+ callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
23
+ callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
24
+ verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
25
+ preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
26
+ maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
27
+ maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
28
+ paymasterAndData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | undefined, string | null | undefined>;
29
+ signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
30
+ }, "strict", z.ZodTypeAny, {
31
+ sender: `0x${string}`;
32
+ nonce: bigint;
33
+ initCode: `0x${string}`;
34
+ callData: `0x${string}`;
35
+ callGasLimit: bigint;
36
+ verificationGasLimit: bigint;
37
+ preVerificationGas: bigint;
38
+ maxPriorityFeePerGas: bigint;
39
+ maxFeePerGas: bigint;
40
+ signature: `0x${string}`;
41
+ paymasterAndData?: `0x${string}` | undefined;
42
+ }, {
43
+ sender: string;
44
+ nonce: string | number | bigint;
45
+ initCode: string;
46
+ callData: string;
47
+ maxPriorityFeePerGas: string | number | bigint;
48
+ maxFeePerGas: string | number | bigint;
49
+ callGasLimit?: string | number | bigint | undefined;
50
+ verificationGasLimit?: string | number | bigint | undefined;
51
+ preVerificationGas?: string | number | bigint | undefined;
52
+ paymasterAndData?: string | null | undefined;
53
+ signature?: string | undefined;
54
+ }>, {
55
+ sender: `0x${string}`;
56
+ nonce: bigint;
57
+ initCode: `0x${string}`;
58
+ callData: `0x${string}`;
59
+ callGasLimit: bigint;
60
+ verificationGasLimit: bigint;
61
+ preVerificationGas: bigint;
62
+ maxPriorityFeePerGas: bigint;
63
+ maxFeePerGas: bigint;
64
+ signature: `0x${string}`;
65
+ paymasterAndData?: `0x${string}` | undefined;
66
+ }, {
67
+ sender: string;
68
+ nonce: string | number | bigint;
69
+ initCode: string;
70
+ callData: string;
71
+ maxPriorityFeePerGas: string | number | bigint;
72
+ maxFeePerGas: string | number | bigint;
73
+ callGasLimit?: string | number | bigint | undefined;
74
+ verificationGasLimit?: string | number | bigint | undefined;
75
+ preVerificationGas?: string | number | bigint | undefined;
76
+ paymasterAndData?: string | null | undefined;
77
+ signature?: string | undefined;
78
+ }>;
79
+ declare const userOperationSchemaPaymasterV7: z.ZodEffects<z.ZodObject<{
80
+ sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
81
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
82
+ factory: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}` | undefined, string | undefined>;
83
+ factoryData: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}` | undefined, string | undefined>;
84
+ callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
85
+ callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
86
+ verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
87
+ preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
88
+ maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
89
+ maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
90
+ paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | undefined, string | null | undefined>;
91
+ paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | undefined, string | number | bigint | null | undefined>;
92
+ paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | undefined, string | number | bigint | null | undefined>;
93
+ paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | undefined, string | null | undefined>;
94
+ signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
95
+ }, "strict", z.ZodTypeAny, {
96
+ sender: `0x${string}`;
97
+ nonce: bigint;
98
+ callData: `0x${string}`;
99
+ callGasLimit: bigint;
100
+ verificationGasLimit: bigint;
101
+ preVerificationGas: bigint;
102
+ maxPriorityFeePerGas: bigint;
103
+ maxFeePerGas: bigint;
104
+ signature: `0x${string}`;
105
+ factory?: `0x${string}` | undefined;
106
+ factoryData?: `0x${string}` | undefined;
107
+ paymaster?: `0x${string}` | undefined;
108
+ paymasterVerificationGasLimit?: bigint | undefined;
109
+ paymasterPostOpGasLimit?: bigint | undefined;
110
+ paymasterData?: `0x${string}` | undefined;
111
+ }, {
112
+ sender: string;
113
+ nonce: string | number | bigint;
114
+ callData: string;
115
+ maxPriorityFeePerGas: string | number | bigint;
116
+ maxFeePerGas: string | number | bigint;
117
+ callGasLimit?: string | number | bigint | undefined;
118
+ verificationGasLimit?: string | number | bigint | undefined;
119
+ preVerificationGas?: string | number | bigint | undefined;
120
+ signature?: string | undefined;
121
+ factory?: string | undefined;
122
+ factoryData?: string | undefined;
123
+ paymaster?: string | null | undefined;
124
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
125
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
126
+ paymasterData?: string | null | undefined;
127
+ }>, {
128
+ sender: `0x${string}`;
129
+ nonce: bigint;
130
+ callData: `0x${string}`;
131
+ callGasLimit: bigint;
132
+ verificationGasLimit: bigint;
133
+ preVerificationGas: bigint;
134
+ maxPriorityFeePerGas: bigint;
135
+ maxFeePerGas: bigint;
136
+ signature: `0x${string}`;
137
+ factory?: `0x${string}` | undefined;
138
+ factoryData?: `0x${string}` | undefined;
139
+ paymaster?: `0x${string}` | undefined;
140
+ paymasterVerificationGasLimit?: bigint | undefined;
141
+ paymasterPostOpGasLimit?: bigint | undefined;
142
+ paymasterData?: `0x${string}` | undefined;
143
+ }, {
144
+ sender: string;
145
+ nonce: string | number | bigint;
146
+ callData: string;
147
+ maxPriorityFeePerGas: string | number | bigint;
148
+ maxFeePerGas: string | number | bigint;
149
+ callGasLimit?: string | number | bigint | undefined;
150
+ verificationGasLimit?: string | number | bigint | undefined;
151
+ preVerificationGas?: string | number | bigint | undefined;
152
+ signature?: string | undefined;
153
+ factory?: string | undefined;
154
+ factoryData?: string | undefined;
155
+ paymaster?: string | null | undefined;
156
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
157
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
158
+ paymasterData?: string | null | undefined;
159
+ }>;
160
+ export declare const jsonRpcResultSchema: z.ZodObject<{
161
+ jsonrpc: z.ZodLiteral<"2.0">;
162
+ id: z.ZodNumber;
163
+ result: z.ZodUnknown;
164
+ }, "strict", z.ZodTypeAny, {
165
+ jsonrpc: "2.0";
166
+ id: number;
167
+ result?: unknown;
168
+ }, {
169
+ jsonrpc: "2.0";
170
+ id: number;
171
+ result?: unknown;
172
+ }>;
173
+ export declare const jsonRpcSchema: z.ZodObject<{
174
+ jsonrpc: z.ZodLiteral<"2.0">;
175
+ id: z.ZodNumber;
176
+ method: z.ZodString;
177
+ params: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>>;
178
+ }, "strict", z.ZodTypeAny, {
179
+ params: unknown[];
180
+ jsonrpc: "2.0";
181
+ id: number;
182
+ method: string;
183
+ }, {
184
+ jsonrpc: "2.0";
185
+ id: number;
186
+ method: string;
187
+ params?: unknown[] | undefined;
188
+ }>;
189
+ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
190
+ sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
191
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
192
+ initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
193
+ callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
194
+ callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
195
+ verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
196
+ preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
197
+ maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
198
+ maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
199
+ paymasterAndData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | undefined, string | null | undefined>;
200
+ signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
201
+ }, "strict", z.ZodTypeAny, {
202
+ sender: `0x${string}`;
203
+ nonce: bigint;
204
+ initCode: `0x${string}`;
205
+ callData: `0x${string}`;
206
+ callGasLimit: bigint;
207
+ verificationGasLimit: bigint;
208
+ preVerificationGas: bigint;
209
+ maxPriorityFeePerGas: bigint;
210
+ maxFeePerGas: bigint;
211
+ signature: `0x${string}`;
212
+ paymasterAndData?: `0x${string}` | undefined;
213
+ }, {
214
+ sender: string;
215
+ nonce: string | number | bigint;
216
+ initCode: string;
217
+ callData: string;
218
+ maxPriorityFeePerGas: string | number | bigint;
219
+ maxFeePerGas: string | number | bigint;
220
+ callGasLimit?: string | number | bigint | undefined;
221
+ verificationGasLimit?: string | number | bigint | undefined;
222
+ preVerificationGas?: string | number | bigint | undefined;
223
+ paymasterAndData?: string | null | undefined;
224
+ signature?: string | undefined;
225
+ }>, {
226
+ sender: `0x${string}`;
227
+ nonce: bigint;
228
+ initCode: `0x${string}`;
229
+ callData: `0x${string}`;
230
+ callGasLimit: bigint;
231
+ verificationGasLimit: bigint;
232
+ preVerificationGas: bigint;
233
+ maxPriorityFeePerGas: bigint;
234
+ maxFeePerGas: bigint;
235
+ signature: `0x${string}`;
236
+ paymasterAndData?: `0x${string}` | undefined;
237
+ }, {
238
+ sender: string;
239
+ nonce: string | number | bigint;
240
+ initCode: string;
241
+ callData: string;
242
+ maxPriorityFeePerGas: string | number | bigint;
243
+ maxFeePerGas: string | number | bigint;
244
+ callGasLimit?: string | number | bigint | undefined;
245
+ verificationGasLimit?: string | number | bigint | undefined;
246
+ preVerificationGas?: string | number | bigint | undefined;
247
+ paymasterAndData?: string | null | undefined;
248
+ signature?: string | undefined;
249
+ }>, z.ZodEffects<z.ZodObject<{
250
+ sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
251
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
252
+ factory: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}` | undefined, string | undefined>;
253
+ factoryData: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}` | undefined, string | undefined>;
254
+ callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
255
+ callGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
256
+ verificationGasLimit: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
257
+ preVerificationGas: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
258
+ maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
259
+ maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
260
+ paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | undefined, string | null | undefined>;
261
+ paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | undefined, string | number | bigint | null | undefined>;
262
+ paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | undefined, string | number | bigint | null | undefined>;
263
+ paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | undefined, string | null | undefined>;
264
+ signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
265
+ }, "strict", z.ZodTypeAny, {
266
+ sender: `0x${string}`;
267
+ nonce: bigint;
268
+ callData: `0x${string}`;
269
+ callGasLimit: bigint;
270
+ verificationGasLimit: bigint;
271
+ preVerificationGas: bigint;
272
+ maxPriorityFeePerGas: bigint;
273
+ maxFeePerGas: bigint;
274
+ signature: `0x${string}`;
275
+ factory?: `0x${string}` | undefined;
276
+ factoryData?: `0x${string}` | undefined;
277
+ paymaster?: `0x${string}` | undefined;
278
+ paymasterVerificationGasLimit?: bigint | undefined;
279
+ paymasterPostOpGasLimit?: bigint | undefined;
280
+ paymasterData?: `0x${string}` | undefined;
281
+ }, {
282
+ sender: string;
283
+ nonce: string | number | bigint;
284
+ callData: string;
285
+ maxPriorityFeePerGas: string | number | bigint;
286
+ maxFeePerGas: string | number | bigint;
287
+ callGasLimit?: string | number | bigint | undefined;
288
+ verificationGasLimit?: string | number | bigint | undefined;
289
+ preVerificationGas?: string | number | bigint | undefined;
290
+ signature?: string | undefined;
291
+ factory?: string | undefined;
292
+ factoryData?: string | undefined;
293
+ paymaster?: string | null | undefined;
294
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
295
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
296
+ paymasterData?: string | null | undefined;
297
+ }>, {
298
+ sender: `0x${string}`;
299
+ nonce: bigint;
300
+ callData: `0x${string}`;
301
+ callGasLimit: bigint;
302
+ verificationGasLimit: bigint;
303
+ preVerificationGas: bigint;
304
+ maxPriorityFeePerGas: bigint;
305
+ maxFeePerGas: bigint;
306
+ signature: `0x${string}`;
307
+ factory?: `0x${string}` | undefined;
308
+ factoryData?: `0x${string}` | undefined;
309
+ paymaster?: `0x${string}` | undefined;
310
+ paymasterVerificationGasLimit?: bigint | undefined;
311
+ paymasterPostOpGasLimit?: bigint | undefined;
312
+ paymasterData?: `0x${string}` | undefined;
313
+ }, {
314
+ sender: string;
315
+ nonce: string | number | bigint;
316
+ callData: string;
317
+ maxPriorityFeePerGas: string | number | bigint;
318
+ maxFeePerGas: string | number | bigint;
319
+ callGasLimit?: string | number | bigint | undefined;
320
+ verificationGasLimit?: string | number | bigint | undefined;
321
+ preVerificationGas?: string | number | bigint | undefined;
322
+ signature?: string | undefined;
323
+ factory?: string | undefined;
324
+ factoryData?: string | undefined;
325
+ paymaster?: string | null | undefined;
326
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
327
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
328
+ paymasterData?: string | null | undefined;
329
+ }>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>], null>;
330
+ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
331
+ sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
332
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
333
+ initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
334
+ callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
335
+ callGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
336
+ verificationGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
337
+ preVerificationGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
338
+ maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
339
+ maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
340
+ paymasterAndData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
341
+ signature: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
342
+ }, "strict", z.ZodTypeAny, {
343
+ sender: `0x${string}`;
344
+ nonce: bigint;
345
+ initCode: `0x${string}`;
346
+ callData: `0x${string}`;
347
+ callGasLimit: bigint;
348
+ verificationGasLimit: bigint;
349
+ preVerificationGas: bigint;
350
+ maxPriorityFeePerGas: bigint;
351
+ maxFeePerGas: bigint;
352
+ paymasterAndData: `0x${string}`;
353
+ signature: `0x${string}`;
354
+ }, {
355
+ sender: string;
356
+ nonce: string | number | bigint;
357
+ initCode: string;
358
+ callData: string;
359
+ callGasLimit: string | number | bigint;
360
+ verificationGasLimit: string | number | bigint;
361
+ preVerificationGas: string | number | bigint;
362
+ maxPriorityFeePerGas: string | number | bigint;
363
+ maxFeePerGas: string | number | bigint;
364
+ paymasterAndData?: string | null | undefined;
365
+ signature?: string | null | undefined;
366
+ }>, {
367
+ sender: `0x${string}`;
368
+ nonce: bigint;
369
+ initCode: `0x${string}`;
370
+ callData: `0x${string}`;
371
+ callGasLimit: bigint;
372
+ verificationGasLimit: bigint;
373
+ preVerificationGas: bigint;
374
+ maxPriorityFeePerGas: bigint;
375
+ maxFeePerGas: bigint;
376
+ paymasterAndData: `0x${string}`;
377
+ signature: `0x${string}`;
378
+ }, {
379
+ sender: string;
380
+ nonce: string | number | bigint;
381
+ initCode: string;
382
+ callData: string;
383
+ callGasLimit: string | number | bigint;
384
+ verificationGasLimit: string | number | bigint;
385
+ preVerificationGas: string | number | bigint;
386
+ maxPriorityFeePerGas: string | number | bigint;
387
+ maxFeePerGas: string | number | bigint;
388
+ paymasterAndData?: string | null | undefined;
389
+ signature?: string | null | undefined;
390
+ }>, z.ZodEffects<z.ZodObject<{
391
+ sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
392
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
393
+ factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
394
+ factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
395
+ callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
396
+ callGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
397
+ verificationGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
398
+ preVerificationGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
399
+ maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
400
+ maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
401
+ paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
402
+ paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
403
+ paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
404
+ paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
405
+ signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
406
+ }, "strict", z.ZodTypeAny, {
407
+ sender: `0x${string}`;
408
+ nonce: bigint;
409
+ callData: `0x${string}`;
410
+ callGasLimit: bigint;
411
+ verificationGasLimit: bigint;
412
+ preVerificationGas: bigint;
413
+ maxPriorityFeePerGas: bigint;
414
+ maxFeePerGas: bigint;
415
+ signature: `0x${string}`;
416
+ factory: `0x${string}` | null;
417
+ factoryData: `0x${string}` | null;
418
+ paymaster: `0x${string}` | null;
419
+ paymasterVerificationGasLimit: bigint | null;
420
+ paymasterPostOpGasLimit: bigint | null;
421
+ paymasterData: `0x${string}` | null;
422
+ }, {
423
+ sender: string;
424
+ nonce: string | number | bigint;
425
+ callData: string;
426
+ callGasLimit: string | number | bigint;
427
+ verificationGasLimit: string | number | bigint;
428
+ preVerificationGas: string | number | bigint;
429
+ maxPriorityFeePerGas: string | number | bigint;
430
+ maxFeePerGas: string | number | bigint;
431
+ signature?: string | undefined;
432
+ factory?: string | null | undefined;
433
+ factoryData?: string | null | undefined;
434
+ paymaster?: string | null | undefined;
435
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
436
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
437
+ paymasterData?: string | null | undefined;
438
+ }>, {
439
+ sender: `0x${string}`;
440
+ nonce: bigint;
441
+ callData: `0x${string}`;
442
+ callGasLimit: bigint;
443
+ verificationGasLimit: bigint;
444
+ preVerificationGas: bigint;
445
+ maxPriorityFeePerGas: bigint;
446
+ maxFeePerGas: bigint;
447
+ signature: `0x${string}`;
448
+ factory: `0x${string}` | null;
449
+ factoryData: `0x${string}` | null;
450
+ paymaster: `0x${string}` | null;
451
+ paymasterVerificationGasLimit: bigint | null;
452
+ paymasterPostOpGasLimit: bigint | null;
453
+ paymasterData: `0x${string}` | null;
454
+ }, {
455
+ sender: string;
456
+ nonce: string | number | bigint;
457
+ callData: string;
458
+ callGasLimit: string | number | bigint;
459
+ verificationGasLimit: string | number | bigint;
460
+ preVerificationGas: string | number | bigint;
461
+ maxPriorityFeePerGas: string | number | bigint;
462
+ maxFeePerGas: string | number | bigint;
463
+ signature?: string | undefined;
464
+ factory?: string | null | undefined;
465
+ factoryData?: string | null | undefined;
466
+ paymaster?: string | null | undefined;
467
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
468
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
469
+ paymasterData?: string | null | undefined;
470
+ }>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, z.ZodUnion<[z.ZodObject<{
471
+ token: z.ZodEffects<z.ZodString, `0x${string}`, string>;
472
+ }, "strip", z.ZodTypeAny, {
473
+ token: `0x${string}`;
474
+ }, {
475
+ token: string;
476
+ }>, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
477
+ sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
478
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
479
+ initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
480
+ callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
481
+ callGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
482
+ verificationGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
483
+ preVerificationGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
484
+ maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
485
+ maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
486
+ paymasterAndData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
487
+ signature: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
488
+ }, "strict", z.ZodTypeAny, {
489
+ sender: `0x${string}`;
490
+ nonce: bigint;
491
+ initCode: `0x${string}`;
492
+ callData: `0x${string}`;
493
+ callGasLimit: bigint;
494
+ verificationGasLimit: bigint;
495
+ preVerificationGas: bigint;
496
+ maxPriorityFeePerGas: bigint;
497
+ maxFeePerGas: bigint;
498
+ paymasterAndData: `0x${string}`;
499
+ signature: `0x${string}`;
500
+ }, {
501
+ sender: string;
502
+ nonce: string | number | bigint;
503
+ initCode: string;
504
+ callData: string;
505
+ callGasLimit: string | number | bigint;
506
+ verificationGasLimit: string | number | bigint;
507
+ preVerificationGas: string | number | bigint;
508
+ maxPriorityFeePerGas: string | number | bigint;
509
+ maxFeePerGas: string | number | bigint;
510
+ paymasterAndData?: string | null | undefined;
511
+ signature?: string | null | undefined;
512
+ }>, {
513
+ sender: `0x${string}`;
514
+ nonce: bigint;
515
+ initCode: `0x${string}`;
516
+ callData: `0x${string}`;
517
+ callGasLimit: bigint;
518
+ verificationGasLimit: bigint;
519
+ preVerificationGas: bigint;
520
+ maxPriorityFeePerGas: bigint;
521
+ maxFeePerGas: bigint;
522
+ paymasterAndData: `0x${string}`;
523
+ signature: `0x${string}`;
524
+ }, {
525
+ sender: string;
526
+ nonce: string | number | bigint;
527
+ initCode: string;
528
+ callData: string;
529
+ callGasLimit: string | number | bigint;
530
+ verificationGasLimit: string | number | bigint;
531
+ preVerificationGas: string | number | bigint;
532
+ maxPriorityFeePerGas: string | number | bigint;
533
+ maxFeePerGas: string | number | bigint;
534
+ paymasterAndData?: string | null | undefined;
535
+ signature?: string | null | undefined;
536
+ }>, z.ZodEffects<z.ZodObject<{
537
+ sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
538
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
539
+ factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
540
+ factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
541
+ callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
542
+ callGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
543
+ verificationGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
544
+ preVerificationGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
545
+ maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
546
+ maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
547
+ paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
548
+ paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
549
+ paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
550
+ paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
551
+ signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
552
+ }, "strict", z.ZodTypeAny, {
553
+ sender: `0x${string}`;
554
+ nonce: bigint;
555
+ callData: `0x${string}`;
556
+ callGasLimit: bigint;
557
+ verificationGasLimit: bigint;
558
+ preVerificationGas: bigint;
559
+ maxPriorityFeePerGas: bigint;
560
+ maxFeePerGas: bigint;
561
+ signature: `0x${string}`;
562
+ factory: `0x${string}` | null;
563
+ factoryData: `0x${string}` | null;
564
+ paymaster: `0x${string}` | null;
565
+ paymasterVerificationGasLimit: bigint | null;
566
+ paymasterPostOpGasLimit: bigint | null;
567
+ paymasterData: `0x${string}` | null;
568
+ }, {
569
+ sender: string;
570
+ nonce: string | number | bigint;
571
+ callData: string;
572
+ callGasLimit: string | number | bigint;
573
+ verificationGasLimit: string | number | bigint;
574
+ preVerificationGas: string | number | bigint;
575
+ maxPriorityFeePerGas: string | number | bigint;
576
+ maxFeePerGas: string | number | bigint;
577
+ signature?: string | undefined;
578
+ factory?: string | null | undefined;
579
+ factoryData?: string | null | undefined;
580
+ paymaster?: string | null | undefined;
581
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
582
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
583
+ paymasterData?: string | null | undefined;
584
+ }>, {
585
+ sender: `0x${string}`;
586
+ nonce: bigint;
587
+ callData: `0x${string}`;
588
+ callGasLimit: bigint;
589
+ verificationGasLimit: bigint;
590
+ preVerificationGas: bigint;
591
+ maxPriorityFeePerGas: bigint;
592
+ maxFeePerGas: bigint;
593
+ signature: `0x${string}`;
594
+ factory: `0x${string}` | null;
595
+ factoryData: `0x${string}` | null;
596
+ paymaster: `0x${string}` | null;
597
+ paymasterVerificationGasLimit: bigint | null;
598
+ paymasterPostOpGasLimit: bigint | null;
599
+ paymasterData: `0x${string}` | null;
600
+ }, {
601
+ sender: string;
602
+ nonce: string | number | bigint;
603
+ callData: string;
604
+ callGasLimit: string | number | bigint;
605
+ verificationGasLimit: string | number | bigint;
606
+ preVerificationGas: string | number | bigint;
607
+ maxPriorityFeePerGas: string | number | bigint;
608
+ maxFeePerGas: string | number | bigint;
609
+ signature?: string | undefined;
610
+ factory?: string | null | undefined;
611
+ factoryData?: string | null | undefined;
612
+ paymaster?: string | null | undefined;
613
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
614
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
615
+ paymasterData?: string | null | undefined;
616
+ }>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>], null>]>, readonly [{
617
+ sender: `0x${string}`;
618
+ nonce: bigint;
619
+ initCode: `0x${string}`;
620
+ callData: `0x${string}`;
621
+ callGasLimit: bigint;
622
+ verificationGasLimit: bigint;
623
+ preVerificationGas: bigint;
624
+ maxPriorityFeePerGas: bigint;
625
+ maxFeePerGas: bigint;
626
+ paymasterAndData: `0x${string}`;
627
+ signature: `0x${string}`;
628
+ } | {
629
+ sender: `0x${string}`;
630
+ nonce: bigint;
631
+ callData: `0x${string}`;
632
+ callGasLimit: bigint;
633
+ verificationGasLimit: bigint;
634
+ preVerificationGas: bigint;
635
+ maxPriorityFeePerGas: bigint;
636
+ maxFeePerGas: bigint;
637
+ signature: `0x${string}`;
638
+ factory: `0x${string}` | null;
639
+ factoryData: `0x${string}` | null;
640
+ paymaster: `0x${string}` | null;
641
+ paymasterVerificationGasLimit: bigint | null;
642
+ paymasterPostOpGasLimit: bigint | null;
643
+ paymasterData: `0x${string}` | null;
644
+ }, `0x${string}`, bigint, {
645
+ token: `0x${string}`;
646
+ } | null], [{
647
+ sender: string;
648
+ nonce: string | number | bigint;
649
+ initCode: string;
650
+ callData: string;
651
+ callGasLimit: string | number | bigint;
652
+ verificationGasLimit: string | number | bigint;
653
+ preVerificationGas: string | number | bigint;
654
+ maxPriorityFeePerGas: string | number | bigint;
655
+ maxFeePerGas: string | number | bigint;
656
+ paymasterAndData?: string | null | undefined;
657
+ signature?: string | null | undefined;
658
+ } | {
659
+ sender: string;
660
+ nonce: string | number | bigint;
661
+ callData: string;
662
+ callGasLimit: string | number | bigint;
663
+ verificationGasLimit: string | number | bigint;
664
+ preVerificationGas: string | number | bigint;
665
+ maxPriorityFeePerGas: string | number | bigint;
666
+ maxFeePerGas: string | number | bigint;
667
+ signature?: string | undefined;
668
+ factory?: string | null | undefined;
669
+ factoryData?: string | null | undefined;
670
+ paymaster?: string | null | undefined;
671
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
672
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
673
+ paymasterData?: string | null | undefined;
674
+ }, string, string | number | bigint, {
675
+ token: string;
676
+ } | null] | [{
677
+ sender: string;
678
+ nonce: string | number | bigint;
679
+ initCode: string;
680
+ callData: string;
681
+ callGasLimit: string | number | bigint;
682
+ verificationGasLimit: string | number | bigint;
683
+ preVerificationGas: string | number | bigint;
684
+ maxPriorityFeePerGas: string | number | bigint;
685
+ maxFeePerGas: string | number | bigint;
686
+ paymasterAndData?: string | null | undefined;
687
+ signature?: string | null | undefined;
688
+ } | {
689
+ sender: string;
690
+ nonce: string | number | bigint;
691
+ callData: string;
692
+ callGasLimit: string | number | bigint;
693
+ verificationGasLimit: string | number | bigint;
694
+ preVerificationGas: string | number | bigint;
695
+ maxPriorityFeePerGas: string | number | bigint;
696
+ maxFeePerGas: string | number | bigint;
697
+ signature?: string | undefined;
698
+ factory?: string | null | undefined;
699
+ factoryData?: string | null | undefined;
700
+ paymaster?: string | null | undefined;
701
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
702
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
703
+ paymasterData?: string | null | undefined;
704
+ }, string, string | number | bigint]>;
705
+ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
706
+ sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
707
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
708
+ initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
709
+ callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
710
+ callGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
711
+ verificationGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
712
+ preVerificationGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
713
+ maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
714
+ maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
715
+ paymasterAndData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
716
+ signature: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
717
+ }, "strict", z.ZodTypeAny, {
718
+ sender: `0x${string}`;
719
+ nonce: bigint;
720
+ initCode: `0x${string}`;
721
+ callData: `0x${string}`;
722
+ callGasLimit: bigint;
723
+ verificationGasLimit: bigint;
724
+ preVerificationGas: bigint;
725
+ maxPriorityFeePerGas: bigint;
726
+ maxFeePerGas: bigint;
727
+ paymasterAndData: `0x${string}`;
728
+ signature: `0x${string}`;
729
+ }, {
730
+ sender: string;
731
+ nonce: string | number | bigint;
732
+ initCode: string;
733
+ callData: string;
734
+ callGasLimit: string | number | bigint;
735
+ verificationGasLimit: string | number | bigint;
736
+ preVerificationGas: string | number | bigint;
737
+ maxPriorityFeePerGas: string | number | bigint;
738
+ maxFeePerGas: string | number | bigint;
739
+ paymasterAndData?: string | null | undefined;
740
+ signature?: string | null | undefined;
741
+ }>, {
742
+ sender: `0x${string}`;
743
+ nonce: bigint;
744
+ initCode: `0x${string}`;
745
+ callData: `0x${string}`;
746
+ callGasLimit: bigint;
747
+ verificationGasLimit: bigint;
748
+ preVerificationGas: bigint;
749
+ maxPriorityFeePerGas: bigint;
750
+ maxFeePerGas: bigint;
751
+ paymasterAndData: `0x${string}`;
752
+ signature: `0x${string}`;
753
+ }, {
754
+ sender: string;
755
+ nonce: string | number | bigint;
756
+ initCode: string;
757
+ callData: string;
758
+ callGasLimit: string | number | bigint;
759
+ verificationGasLimit: string | number | bigint;
760
+ preVerificationGas: string | number | bigint;
761
+ maxPriorityFeePerGas: string | number | bigint;
762
+ maxFeePerGas: string | number | bigint;
763
+ paymasterAndData?: string | null | undefined;
764
+ signature?: string | null | undefined;
765
+ }>, z.ZodEffects<z.ZodObject<{
766
+ sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
767
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
768
+ factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
769
+ factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
770
+ callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
771
+ callGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
772
+ verificationGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
773
+ preVerificationGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
774
+ maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
775
+ maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
776
+ paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
777
+ paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
778
+ paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
779
+ paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
780
+ signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
781
+ }, "strict", z.ZodTypeAny, {
782
+ sender: `0x${string}`;
783
+ nonce: bigint;
784
+ callData: `0x${string}`;
785
+ callGasLimit: bigint;
786
+ verificationGasLimit: bigint;
787
+ preVerificationGas: bigint;
788
+ maxPriorityFeePerGas: bigint;
789
+ maxFeePerGas: bigint;
790
+ signature: `0x${string}`;
791
+ factory: `0x${string}` | null;
792
+ factoryData: `0x${string}` | null;
793
+ paymaster: `0x${string}` | null;
794
+ paymasterVerificationGasLimit: bigint | null;
795
+ paymasterPostOpGasLimit: bigint | null;
796
+ paymasterData: `0x${string}` | null;
797
+ }, {
798
+ sender: string;
799
+ nonce: string | number | bigint;
800
+ callData: string;
801
+ callGasLimit: string | number | bigint;
802
+ verificationGasLimit: string | number | bigint;
803
+ preVerificationGas: string | number | bigint;
804
+ maxPriorityFeePerGas: string | number | bigint;
805
+ maxFeePerGas: string | number | bigint;
806
+ signature?: string | undefined;
807
+ factory?: string | null | undefined;
808
+ factoryData?: string | null | undefined;
809
+ paymaster?: string | null | undefined;
810
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
811
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
812
+ paymasterData?: string | null | undefined;
813
+ }>, {
814
+ sender: `0x${string}`;
815
+ nonce: bigint;
816
+ callData: `0x${string}`;
817
+ callGasLimit: bigint;
818
+ verificationGasLimit: bigint;
819
+ preVerificationGas: bigint;
820
+ maxPriorityFeePerGas: bigint;
821
+ maxFeePerGas: bigint;
822
+ signature: `0x${string}`;
823
+ factory: `0x${string}` | null;
824
+ factoryData: `0x${string}` | null;
825
+ paymaster: `0x${string}` | null;
826
+ paymasterVerificationGasLimit: bigint | null;
827
+ paymasterPostOpGasLimit: bigint | null;
828
+ paymasterData: `0x${string}` | null;
829
+ }, {
830
+ sender: string;
831
+ nonce: string | number | bigint;
832
+ callData: string;
833
+ callGasLimit: string | number | bigint;
834
+ verificationGasLimit: string | number | bigint;
835
+ preVerificationGas: string | number | bigint;
836
+ maxPriorityFeePerGas: string | number | bigint;
837
+ maxFeePerGas: string | number | bigint;
838
+ signature?: string | undefined;
839
+ factory?: string | null | undefined;
840
+ factoryData?: string | null | undefined;
841
+ paymaster?: string | null | undefined;
842
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
843
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
844
+ paymasterData?: string | null | undefined;
845
+ }>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, z.ZodUnion<[z.ZodObject<{
846
+ token: z.ZodEffects<z.ZodString, `0x${string}`, string>;
847
+ }, "strip", z.ZodTypeAny, {
848
+ token: `0x${string}`;
849
+ }, {
850
+ token: string;
851
+ }>, z.ZodNull]>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
852
+ sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
853
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
854
+ initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
855
+ callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
856
+ callGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
857
+ verificationGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
858
+ preVerificationGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
859
+ maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
860
+ maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
861
+ paymasterAndData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
862
+ signature: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
863
+ }, "strict", z.ZodTypeAny, {
864
+ sender: `0x${string}`;
865
+ nonce: bigint;
866
+ initCode: `0x${string}`;
867
+ callData: `0x${string}`;
868
+ callGasLimit: bigint;
869
+ verificationGasLimit: bigint;
870
+ preVerificationGas: bigint;
871
+ maxPriorityFeePerGas: bigint;
872
+ maxFeePerGas: bigint;
873
+ paymasterAndData: `0x${string}`;
874
+ signature: `0x${string}`;
875
+ }, {
876
+ sender: string;
877
+ nonce: string | number | bigint;
878
+ initCode: string;
879
+ callData: string;
880
+ callGasLimit: string | number | bigint;
881
+ verificationGasLimit: string | number | bigint;
882
+ preVerificationGas: string | number | bigint;
883
+ maxPriorityFeePerGas: string | number | bigint;
884
+ maxFeePerGas: string | number | bigint;
885
+ paymasterAndData?: string | null | undefined;
886
+ signature?: string | null | undefined;
887
+ }>, {
888
+ sender: `0x${string}`;
889
+ nonce: bigint;
890
+ initCode: `0x${string}`;
891
+ callData: `0x${string}`;
892
+ callGasLimit: bigint;
893
+ verificationGasLimit: bigint;
894
+ preVerificationGas: bigint;
895
+ maxPriorityFeePerGas: bigint;
896
+ maxFeePerGas: bigint;
897
+ paymasterAndData: `0x${string}`;
898
+ signature: `0x${string}`;
899
+ }, {
900
+ sender: string;
901
+ nonce: string | number | bigint;
902
+ initCode: string;
903
+ callData: string;
904
+ callGasLimit: string | number | bigint;
905
+ verificationGasLimit: string | number | bigint;
906
+ preVerificationGas: string | number | bigint;
907
+ maxPriorityFeePerGas: string | number | bigint;
908
+ maxFeePerGas: string | number | bigint;
909
+ paymasterAndData?: string | null | undefined;
910
+ signature?: string | null | undefined;
911
+ }>, z.ZodEffects<z.ZodObject<{
912
+ sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
913
+ nonce: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
914
+ factory: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
915
+ factoryData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
916
+ callData: z.ZodEffects<z.ZodString, `0x${string}`, string>;
917
+ callGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
918
+ verificationGasLimit: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
919
+ preVerificationGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
920
+ maxFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
921
+ maxPriorityFeePerGas: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>;
922
+ paymaster: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
923
+ paymasterVerificationGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
924
+ paymasterPostOpGasLimit: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>>, bigint | null, string | number | bigint | null | undefined>;
925
+ paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
926
+ signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
927
+ }, "strict", z.ZodTypeAny, {
928
+ sender: `0x${string}`;
929
+ nonce: bigint;
930
+ callData: `0x${string}`;
931
+ callGasLimit: bigint;
932
+ verificationGasLimit: bigint;
933
+ preVerificationGas: bigint;
934
+ maxPriorityFeePerGas: bigint;
935
+ maxFeePerGas: bigint;
936
+ signature: `0x${string}`;
937
+ factory: `0x${string}` | null;
938
+ factoryData: `0x${string}` | null;
939
+ paymaster: `0x${string}` | null;
940
+ paymasterVerificationGasLimit: bigint | null;
941
+ paymasterPostOpGasLimit: bigint | null;
942
+ paymasterData: `0x${string}` | null;
943
+ }, {
944
+ sender: string;
945
+ nonce: string | number | bigint;
946
+ callData: string;
947
+ callGasLimit: string | number | bigint;
948
+ verificationGasLimit: string | number | bigint;
949
+ preVerificationGas: string | number | bigint;
950
+ maxPriorityFeePerGas: string | number | bigint;
951
+ maxFeePerGas: string | number | bigint;
952
+ signature?: string | undefined;
953
+ factory?: string | null | undefined;
954
+ factoryData?: string | null | undefined;
955
+ paymaster?: string | null | undefined;
956
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
957
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
958
+ paymasterData?: string | null | undefined;
959
+ }>, {
960
+ sender: `0x${string}`;
961
+ nonce: bigint;
962
+ callData: `0x${string}`;
963
+ callGasLimit: bigint;
964
+ verificationGasLimit: bigint;
965
+ preVerificationGas: bigint;
966
+ maxPriorityFeePerGas: bigint;
967
+ maxFeePerGas: bigint;
968
+ signature: `0x${string}`;
969
+ factory: `0x${string}` | null;
970
+ factoryData: `0x${string}` | null;
971
+ paymaster: `0x${string}` | null;
972
+ paymasterVerificationGasLimit: bigint | null;
973
+ paymasterPostOpGasLimit: bigint | null;
974
+ paymasterData: `0x${string}` | null;
975
+ }, {
976
+ sender: string;
977
+ nonce: string | number | bigint;
978
+ callData: string;
979
+ callGasLimit: string | number | bigint;
980
+ verificationGasLimit: string | number | bigint;
981
+ preVerificationGas: string | number | bigint;
982
+ maxPriorityFeePerGas: string | number | bigint;
983
+ maxFeePerGas: string | number | bigint;
984
+ signature?: string | undefined;
985
+ factory?: string | null | undefined;
986
+ factoryData?: string | null | undefined;
987
+ paymaster?: string | null | undefined;
988
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
989
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
990
+ paymasterData?: string | null | undefined;
991
+ }>]>, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>], null>]>, readonly [{
992
+ sender: `0x${string}`;
993
+ nonce: bigint;
994
+ initCode: `0x${string}`;
995
+ callData: `0x${string}`;
996
+ callGasLimit: bigint;
997
+ verificationGasLimit: bigint;
998
+ preVerificationGas: bigint;
999
+ maxPriorityFeePerGas: bigint;
1000
+ maxFeePerGas: bigint;
1001
+ paymasterAndData: `0x${string}`;
1002
+ signature: `0x${string}`;
1003
+ } | {
1004
+ sender: `0x${string}`;
1005
+ nonce: bigint;
1006
+ callData: `0x${string}`;
1007
+ callGasLimit: bigint;
1008
+ verificationGasLimit: bigint;
1009
+ preVerificationGas: bigint;
1010
+ maxPriorityFeePerGas: bigint;
1011
+ maxFeePerGas: bigint;
1012
+ signature: `0x${string}`;
1013
+ factory: `0x${string}` | null;
1014
+ factoryData: `0x${string}` | null;
1015
+ paymaster: `0x${string}` | null;
1016
+ paymasterVerificationGasLimit: bigint | null;
1017
+ paymasterPostOpGasLimit: bigint | null;
1018
+ paymasterData: `0x${string}` | null;
1019
+ }, `0x${string}`, bigint, {
1020
+ token: `0x${string}`;
1021
+ } | null], [{
1022
+ sender: string;
1023
+ nonce: string | number | bigint;
1024
+ initCode: string;
1025
+ callData: string;
1026
+ callGasLimit: string | number | bigint;
1027
+ verificationGasLimit: string | number | bigint;
1028
+ preVerificationGas: string | number | bigint;
1029
+ maxPriorityFeePerGas: string | number | bigint;
1030
+ maxFeePerGas: string | number | bigint;
1031
+ paymasterAndData?: string | null | undefined;
1032
+ signature?: string | null | undefined;
1033
+ } | {
1034
+ sender: string;
1035
+ nonce: string | number | bigint;
1036
+ callData: string;
1037
+ callGasLimit: string | number | bigint;
1038
+ verificationGasLimit: string | number | bigint;
1039
+ preVerificationGas: string | number | bigint;
1040
+ maxPriorityFeePerGas: string | number | bigint;
1041
+ maxFeePerGas: string | number | bigint;
1042
+ signature?: string | undefined;
1043
+ factory?: string | null | undefined;
1044
+ factoryData?: string | null | undefined;
1045
+ paymaster?: string | null | undefined;
1046
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1047
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1048
+ paymasterData?: string | null | undefined;
1049
+ }, string, string | number | bigint] | [{
1050
+ sender: string;
1051
+ nonce: string | number | bigint;
1052
+ initCode: string;
1053
+ callData: string;
1054
+ callGasLimit: string | number | bigint;
1055
+ verificationGasLimit: string | number | bigint;
1056
+ preVerificationGas: string | number | bigint;
1057
+ maxPriorityFeePerGas: string | number | bigint;
1058
+ maxFeePerGas: string | number | bigint;
1059
+ paymasterAndData?: string | null | undefined;
1060
+ signature?: string | null | undefined;
1061
+ } | {
1062
+ sender: string;
1063
+ nonce: string | number | bigint;
1064
+ callData: string;
1065
+ callGasLimit: string | number | bigint;
1066
+ verificationGasLimit: string | number | bigint;
1067
+ preVerificationGas: string | number | bigint;
1068
+ maxPriorityFeePerGas: string | number | bigint;
1069
+ maxFeePerGas: string | number | bigint;
1070
+ signature?: string | undefined;
1071
+ factory?: string | null | undefined;
1072
+ factoryData?: string | null | undefined;
1073
+ paymaster?: string | null | undefined;
1074
+ paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
1075
+ paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
1076
+ paymasterData?: string | null | undefined;
1077
+ }, string, string | number | bigint, {
1078
+ token: string;
1079
+ } | null]>;
1080
+ export declare const pimlicoGetTokenQuotesSchema: z.ZodTuple<[z.ZodObject<{
1081
+ tokens: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
1082
+ }, "strip", z.ZodTypeAny, {
1083
+ tokens: `0x${string}`[];
1084
+ }, {
1085
+ tokens: string[];
1086
+ }>, z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>], null>;
1087
+ export type UserOperationV7 = zodInfer<typeof userOperationSchemaPaymasterV7>;
1088
+ export type UserOperationV6 = zodInfer<typeof userOperationSchemaPaymasterV6>;
1089
+ export type JsonRpcSchema = zodInfer<typeof jsonRpcSchema>;
1090
+ export {};
1091
+ //# sourceMappingURL=schema.d.ts.map