@pimlico/mock-paymaster 0.0.2 → 0.0.4
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/CHANGELOG.md +12 -0
- package/_cjs/constants.js +61 -0
- package/_cjs/constants.js.map +1 -0
- package/_cjs/helpers/abi.js +728 -727
- package/_cjs/helpers/abi.js.map +1 -1
- package/_cjs/helpers/erc20-utils.js +15 -14
- package/_cjs/helpers/erc20-utils.js.map +1 -1
- package/_cjs/helpers/schema.js +39 -6
- package/_cjs/helpers/schema.js.map +1 -1
- package/_cjs/helpers/utils.js +29 -7
- package/_cjs/helpers/utils.js.map +1 -1
- package/_cjs/index.js +13 -12
- package/_cjs/index.js.map +1 -1
- package/_cjs/relay.js +92 -100
- package/_cjs/relay.js.map +1 -1
- package/_cjs/singletonPaymasters.js +161 -207
- package/_cjs/singletonPaymasters.js.map +1 -1
- package/_esm/constants.js +55 -0
- package/_esm/constants.js.map +1 -0
- package/_esm/helpers/abi.js +727 -726
- package/_esm/helpers/abi.js.map +1 -1
- package/_esm/helpers/erc20-utils.js +14 -13
- package/_esm/helpers/erc20-utils.js.map +1 -1
- package/_esm/helpers/schema.js +39 -6
- package/_esm/helpers/schema.js.map +1 -1
- package/_esm/helpers/utils.js +29 -8
- package/_esm/helpers/utils.js.map +1 -1
- package/_esm/index.js +15 -14
- package/_esm/index.js.map +1 -1
- package/_esm/relay.js +98 -103
- package/_esm/relay.js.map +1 -1
- package/_esm/singletonPaymasters.js +171 -213
- package/_esm/singletonPaymasters.js.map +1 -1
- package/_types/constants.d.ts +18 -0
- package/_types/constants.d.ts.map +1 -0
- package/_types/helpers/abi.d.ts +917 -435
- package/_types/helpers/abi.d.ts.map +1 -1
- package/_types/helpers/erc20-utils.d.ts +1 -1
- package/_types/helpers/erc20-utils.d.ts.map +1 -1
- package/_types/helpers/schema.d.ts +1716 -68
- package/_types/helpers/schema.d.ts.map +1 -1
- package/_types/helpers/utils.d.ts +3 -2
- package/_types/helpers/utils.d.ts.map +1 -1
- package/_types/index.d.ts +1 -0
- package/_types/index.d.ts.map +1 -1
- package/_types/relay.d.ts +38 -27
- package/_types/relay.d.ts.map +1 -1
- package/_types/singletonPaymasters.d.ts +25 -93259
- package/_types/singletonPaymasters.d.ts.map +1 -1
- package/constants.ts +84 -0
- package/helpers/abi.ts +728 -726
- package/helpers/erc20-utils.ts +16 -15
- package/helpers/schema.ts +41 -6
- package/helpers/utils.ts +38 -13
- package/index.ts +16 -28
- package/package.json +4 -4
- package/relay.ts +164 -192
- package/singletonPaymasters.ts +218 -280
|
@@ -27,9 +27,58 @@ declare const userOperationSchemaPaymasterV6: z.ZodEffects<z.ZodObject<{
|
|
|
27
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
28
|
paymasterAndData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | undefined, string | null | undefined>;
|
|
29
29
|
signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
|
|
30
|
+
eip7702Auth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
31
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
32
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
33
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
34
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
35
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
36
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
37
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
contractAddress: `0x${string}`;
|
|
40
|
+
chainId: number;
|
|
41
|
+
nonce: number;
|
|
42
|
+
r: `0x${string}`;
|
|
43
|
+
s: `0x${string}`;
|
|
44
|
+
yParity: number;
|
|
45
|
+
v?: bigint | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
contractAddress: string;
|
|
48
|
+
chainId: string | number | bigint;
|
|
49
|
+
nonce: string | number | bigint;
|
|
50
|
+
r: string;
|
|
51
|
+
s: string;
|
|
52
|
+
yParity: string | number | bigint;
|
|
53
|
+
v?: string | number | bigint | undefined;
|
|
54
|
+
}>, z.ZodObject<{
|
|
55
|
+
address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
56
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
57
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
58
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
59
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
60
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
61
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
chainId: number;
|
|
64
|
+
nonce: number;
|
|
65
|
+
r: `0x${string}`;
|
|
66
|
+
s: `0x${string}`;
|
|
67
|
+
yParity: number;
|
|
68
|
+
address: `0x${string}`;
|
|
69
|
+
v?: bigint | undefined;
|
|
70
|
+
}, {
|
|
71
|
+
chainId: string | number | bigint;
|
|
72
|
+
nonce: string | number | bigint;
|
|
73
|
+
r: string;
|
|
74
|
+
s: string;
|
|
75
|
+
yParity: string | number | bigint;
|
|
76
|
+
address: string;
|
|
77
|
+
v?: string | number | bigint | undefined;
|
|
78
|
+
}>]>>>;
|
|
30
79
|
}, "strict", z.ZodTypeAny, {
|
|
31
|
-
sender: `0x${string}`;
|
|
32
80
|
nonce: bigint;
|
|
81
|
+
sender: `0x${string}`;
|
|
33
82
|
initCode: `0x${string}`;
|
|
34
83
|
callData: `0x${string}`;
|
|
35
84
|
callGasLimit: bigint;
|
|
@@ -39,9 +88,26 @@ declare const userOperationSchemaPaymasterV6: z.ZodEffects<z.ZodObject<{
|
|
|
39
88
|
maxFeePerGas: bigint;
|
|
40
89
|
signature: `0x${string}`;
|
|
41
90
|
paymasterAndData?: `0x${string}` | undefined;
|
|
91
|
+
eip7702Auth?: {
|
|
92
|
+
contractAddress: `0x${string}`;
|
|
93
|
+
chainId: number;
|
|
94
|
+
nonce: number;
|
|
95
|
+
r: `0x${string}`;
|
|
96
|
+
s: `0x${string}`;
|
|
97
|
+
yParity: number;
|
|
98
|
+
v?: bigint | undefined;
|
|
99
|
+
} | {
|
|
100
|
+
chainId: number;
|
|
101
|
+
nonce: number;
|
|
102
|
+
r: `0x${string}`;
|
|
103
|
+
s: `0x${string}`;
|
|
104
|
+
yParity: number;
|
|
105
|
+
address: `0x${string}`;
|
|
106
|
+
v?: bigint | undefined;
|
|
107
|
+
} | null | undefined;
|
|
42
108
|
}, {
|
|
43
|
-
sender: string;
|
|
44
109
|
nonce: string | number | bigint;
|
|
110
|
+
sender: string;
|
|
45
111
|
initCode: string;
|
|
46
112
|
callData: string;
|
|
47
113
|
maxPriorityFeePerGas: string | number | bigint;
|
|
@@ -51,9 +117,26 @@ declare const userOperationSchemaPaymasterV6: z.ZodEffects<z.ZodObject<{
|
|
|
51
117
|
preVerificationGas?: string | number | bigint | undefined;
|
|
52
118
|
paymasterAndData?: string | null | undefined;
|
|
53
119
|
signature?: string | undefined;
|
|
120
|
+
eip7702Auth?: {
|
|
121
|
+
contractAddress: string;
|
|
122
|
+
chainId: string | number | bigint;
|
|
123
|
+
nonce: string | number | bigint;
|
|
124
|
+
r: string;
|
|
125
|
+
s: string;
|
|
126
|
+
yParity: string | number | bigint;
|
|
127
|
+
v?: string | number | bigint | undefined;
|
|
128
|
+
} | {
|
|
129
|
+
chainId: string | number | bigint;
|
|
130
|
+
nonce: string | number | bigint;
|
|
131
|
+
r: string;
|
|
132
|
+
s: string;
|
|
133
|
+
yParity: string | number | bigint;
|
|
134
|
+
address: string;
|
|
135
|
+
v?: string | number | bigint | undefined;
|
|
136
|
+
} | null | undefined;
|
|
54
137
|
}>, {
|
|
55
|
-
sender: `0x${string}`;
|
|
56
138
|
nonce: bigint;
|
|
139
|
+
sender: `0x${string}`;
|
|
57
140
|
initCode: `0x${string}`;
|
|
58
141
|
callData: `0x${string}`;
|
|
59
142
|
callGasLimit: bigint;
|
|
@@ -63,9 +146,26 @@ declare const userOperationSchemaPaymasterV6: z.ZodEffects<z.ZodObject<{
|
|
|
63
146
|
maxFeePerGas: bigint;
|
|
64
147
|
signature: `0x${string}`;
|
|
65
148
|
paymasterAndData?: `0x${string}` | undefined;
|
|
149
|
+
eip7702Auth?: {
|
|
150
|
+
contractAddress: `0x${string}`;
|
|
151
|
+
chainId: number;
|
|
152
|
+
nonce: number;
|
|
153
|
+
r: `0x${string}`;
|
|
154
|
+
s: `0x${string}`;
|
|
155
|
+
yParity: number;
|
|
156
|
+
v?: bigint | undefined;
|
|
157
|
+
} | {
|
|
158
|
+
chainId: number;
|
|
159
|
+
nonce: number;
|
|
160
|
+
r: `0x${string}`;
|
|
161
|
+
s: `0x${string}`;
|
|
162
|
+
yParity: number;
|
|
163
|
+
address: `0x${string}`;
|
|
164
|
+
v?: bigint | undefined;
|
|
165
|
+
} | null | undefined;
|
|
66
166
|
}, {
|
|
67
|
-
sender: string;
|
|
68
167
|
nonce: string | number | bigint;
|
|
168
|
+
sender: string;
|
|
69
169
|
initCode: string;
|
|
70
170
|
callData: string;
|
|
71
171
|
maxPriorityFeePerGas: string | number | bigint;
|
|
@@ -75,6 +175,23 @@ declare const userOperationSchemaPaymasterV6: z.ZodEffects<z.ZodObject<{
|
|
|
75
175
|
preVerificationGas?: string | number | bigint | undefined;
|
|
76
176
|
paymasterAndData?: string | null | undefined;
|
|
77
177
|
signature?: string | undefined;
|
|
178
|
+
eip7702Auth?: {
|
|
179
|
+
contractAddress: string;
|
|
180
|
+
chainId: string | number | bigint;
|
|
181
|
+
nonce: string | number | bigint;
|
|
182
|
+
r: string;
|
|
183
|
+
s: string;
|
|
184
|
+
yParity: string | number | bigint;
|
|
185
|
+
v?: string | number | bigint | undefined;
|
|
186
|
+
} | {
|
|
187
|
+
chainId: string | number | bigint;
|
|
188
|
+
nonce: string | number | bigint;
|
|
189
|
+
r: string;
|
|
190
|
+
s: string;
|
|
191
|
+
yParity: string | number | bigint;
|
|
192
|
+
address: string;
|
|
193
|
+
v?: string | number | bigint | undefined;
|
|
194
|
+
} | null | undefined;
|
|
78
195
|
}>;
|
|
79
196
|
declare const userOperationSchemaPaymasterV7: z.ZodEffects<z.ZodObject<{
|
|
80
197
|
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -92,9 +209,58 @@ declare const userOperationSchemaPaymasterV7: z.ZodEffects<z.ZodObject<{
|
|
|
92
209
|
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
210
|
paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | undefined, string | null | undefined>;
|
|
94
211
|
signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
|
|
212
|
+
eip7702Auth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
213
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
214
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
215
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
216
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
217
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
218
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
219
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
220
|
+
}, "strip", z.ZodTypeAny, {
|
|
221
|
+
contractAddress: `0x${string}`;
|
|
222
|
+
chainId: number;
|
|
223
|
+
nonce: number;
|
|
224
|
+
r: `0x${string}`;
|
|
225
|
+
s: `0x${string}`;
|
|
226
|
+
yParity: number;
|
|
227
|
+
v?: bigint | undefined;
|
|
228
|
+
}, {
|
|
229
|
+
contractAddress: string;
|
|
230
|
+
chainId: string | number | bigint;
|
|
231
|
+
nonce: string | number | bigint;
|
|
232
|
+
r: string;
|
|
233
|
+
s: string;
|
|
234
|
+
yParity: string | number | bigint;
|
|
235
|
+
v?: string | number | bigint | undefined;
|
|
236
|
+
}>, z.ZodObject<{
|
|
237
|
+
address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
238
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
239
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
240
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
241
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
242
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
243
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
chainId: number;
|
|
246
|
+
nonce: number;
|
|
247
|
+
r: `0x${string}`;
|
|
248
|
+
s: `0x${string}`;
|
|
249
|
+
yParity: number;
|
|
250
|
+
address: `0x${string}`;
|
|
251
|
+
v?: bigint | undefined;
|
|
252
|
+
}, {
|
|
253
|
+
chainId: string | number | bigint;
|
|
254
|
+
nonce: string | number | bigint;
|
|
255
|
+
r: string;
|
|
256
|
+
s: string;
|
|
257
|
+
yParity: string | number | bigint;
|
|
258
|
+
address: string;
|
|
259
|
+
v?: string | number | bigint | undefined;
|
|
260
|
+
}>]>>>;
|
|
95
261
|
}, "strict", z.ZodTypeAny, {
|
|
96
|
-
sender: `0x${string}`;
|
|
97
262
|
nonce: bigint;
|
|
263
|
+
sender: `0x${string}`;
|
|
98
264
|
callData: `0x${string}`;
|
|
99
265
|
callGasLimit: bigint;
|
|
100
266
|
verificationGasLimit: bigint;
|
|
@@ -102,6 +268,23 @@ declare const userOperationSchemaPaymasterV7: z.ZodEffects<z.ZodObject<{
|
|
|
102
268
|
maxPriorityFeePerGas: bigint;
|
|
103
269
|
maxFeePerGas: bigint;
|
|
104
270
|
signature: `0x${string}`;
|
|
271
|
+
eip7702Auth?: {
|
|
272
|
+
contractAddress: `0x${string}`;
|
|
273
|
+
chainId: number;
|
|
274
|
+
nonce: number;
|
|
275
|
+
r: `0x${string}`;
|
|
276
|
+
s: `0x${string}`;
|
|
277
|
+
yParity: number;
|
|
278
|
+
v?: bigint | undefined;
|
|
279
|
+
} | {
|
|
280
|
+
chainId: number;
|
|
281
|
+
nonce: number;
|
|
282
|
+
r: `0x${string}`;
|
|
283
|
+
s: `0x${string}`;
|
|
284
|
+
yParity: number;
|
|
285
|
+
address: `0x${string}`;
|
|
286
|
+
v?: bigint | undefined;
|
|
287
|
+
} | null | undefined;
|
|
105
288
|
factory?: `0x${string}` | undefined;
|
|
106
289
|
factoryData?: `0x${string}` | undefined;
|
|
107
290
|
paymaster?: `0x${string}` | undefined;
|
|
@@ -109,8 +292,8 @@ declare const userOperationSchemaPaymasterV7: z.ZodEffects<z.ZodObject<{
|
|
|
109
292
|
paymasterPostOpGasLimit?: bigint | undefined;
|
|
110
293
|
paymasterData?: `0x${string}` | undefined;
|
|
111
294
|
}, {
|
|
112
|
-
sender: string;
|
|
113
295
|
nonce: string | number | bigint;
|
|
296
|
+
sender: string;
|
|
114
297
|
callData: string;
|
|
115
298
|
maxPriorityFeePerGas: string | number | bigint;
|
|
116
299
|
maxFeePerGas: string | number | bigint;
|
|
@@ -118,6 +301,23 @@ declare const userOperationSchemaPaymasterV7: z.ZodEffects<z.ZodObject<{
|
|
|
118
301
|
verificationGasLimit?: string | number | bigint | undefined;
|
|
119
302
|
preVerificationGas?: string | number | bigint | undefined;
|
|
120
303
|
signature?: string | undefined;
|
|
304
|
+
eip7702Auth?: {
|
|
305
|
+
contractAddress: string;
|
|
306
|
+
chainId: string | number | bigint;
|
|
307
|
+
nonce: string | number | bigint;
|
|
308
|
+
r: string;
|
|
309
|
+
s: string;
|
|
310
|
+
yParity: string | number | bigint;
|
|
311
|
+
v?: string | number | bigint | undefined;
|
|
312
|
+
} | {
|
|
313
|
+
chainId: string | number | bigint;
|
|
314
|
+
nonce: string | number | bigint;
|
|
315
|
+
r: string;
|
|
316
|
+
s: string;
|
|
317
|
+
yParity: string | number | bigint;
|
|
318
|
+
address: string;
|
|
319
|
+
v?: string | number | bigint | undefined;
|
|
320
|
+
} | null | undefined;
|
|
121
321
|
factory?: string | undefined;
|
|
122
322
|
factoryData?: string | undefined;
|
|
123
323
|
paymaster?: string | null | undefined;
|
|
@@ -125,8 +325,8 @@ declare const userOperationSchemaPaymasterV7: z.ZodEffects<z.ZodObject<{
|
|
|
125
325
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
126
326
|
paymasterData?: string | null | undefined;
|
|
127
327
|
}>, {
|
|
128
|
-
sender: `0x${string}`;
|
|
129
328
|
nonce: bigint;
|
|
329
|
+
sender: `0x${string}`;
|
|
130
330
|
callData: `0x${string}`;
|
|
131
331
|
callGasLimit: bigint;
|
|
132
332
|
verificationGasLimit: bigint;
|
|
@@ -134,6 +334,23 @@ declare const userOperationSchemaPaymasterV7: z.ZodEffects<z.ZodObject<{
|
|
|
134
334
|
maxPriorityFeePerGas: bigint;
|
|
135
335
|
maxFeePerGas: bigint;
|
|
136
336
|
signature: `0x${string}`;
|
|
337
|
+
eip7702Auth?: {
|
|
338
|
+
contractAddress: `0x${string}`;
|
|
339
|
+
chainId: number;
|
|
340
|
+
nonce: number;
|
|
341
|
+
r: `0x${string}`;
|
|
342
|
+
s: `0x${string}`;
|
|
343
|
+
yParity: number;
|
|
344
|
+
v?: bigint | undefined;
|
|
345
|
+
} | {
|
|
346
|
+
chainId: number;
|
|
347
|
+
nonce: number;
|
|
348
|
+
r: `0x${string}`;
|
|
349
|
+
s: `0x${string}`;
|
|
350
|
+
yParity: number;
|
|
351
|
+
address: `0x${string}`;
|
|
352
|
+
v?: bigint | undefined;
|
|
353
|
+
} | null | undefined;
|
|
137
354
|
factory?: `0x${string}` | undefined;
|
|
138
355
|
factoryData?: `0x${string}` | undefined;
|
|
139
356
|
paymaster?: `0x${string}` | undefined;
|
|
@@ -141,8 +358,8 @@ declare const userOperationSchemaPaymasterV7: z.ZodEffects<z.ZodObject<{
|
|
|
141
358
|
paymasterPostOpGasLimit?: bigint | undefined;
|
|
142
359
|
paymasterData?: `0x${string}` | undefined;
|
|
143
360
|
}, {
|
|
144
|
-
sender: string;
|
|
145
361
|
nonce: string | number | bigint;
|
|
362
|
+
sender: string;
|
|
146
363
|
callData: string;
|
|
147
364
|
maxPriorityFeePerGas: string | number | bigint;
|
|
148
365
|
maxFeePerGas: string | number | bigint;
|
|
@@ -150,6 +367,23 @@ declare const userOperationSchemaPaymasterV7: z.ZodEffects<z.ZodObject<{
|
|
|
150
367
|
verificationGasLimit?: string | number | bigint | undefined;
|
|
151
368
|
preVerificationGas?: string | number | bigint | undefined;
|
|
152
369
|
signature?: string | undefined;
|
|
370
|
+
eip7702Auth?: {
|
|
371
|
+
contractAddress: string;
|
|
372
|
+
chainId: string | number | bigint;
|
|
373
|
+
nonce: string | number | bigint;
|
|
374
|
+
r: string;
|
|
375
|
+
s: string;
|
|
376
|
+
yParity: string | number | bigint;
|
|
377
|
+
v?: string | number | bigint | undefined;
|
|
378
|
+
} | {
|
|
379
|
+
chainId: string | number | bigint;
|
|
380
|
+
nonce: string | number | bigint;
|
|
381
|
+
r: string;
|
|
382
|
+
s: string;
|
|
383
|
+
yParity: string | number | bigint;
|
|
384
|
+
address: string;
|
|
385
|
+
v?: string | number | bigint | undefined;
|
|
386
|
+
} | null | undefined;
|
|
153
387
|
factory?: string | undefined;
|
|
154
388
|
factoryData?: string | undefined;
|
|
155
389
|
paymaster?: string | null | undefined;
|
|
@@ -198,9 +432,58 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
198
432
|
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
433
|
paymasterAndData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | undefined, string | null | undefined>;
|
|
200
434
|
signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
|
|
435
|
+
eip7702Auth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
436
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
437
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
438
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
439
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
440
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
441
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
442
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
443
|
+
}, "strip", z.ZodTypeAny, {
|
|
444
|
+
contractAddress: `0x${string}`;
|
|
445
|
+
chainId: number;
|
|
446
|
+
nonce: number;
|
|
447
|
+
r: `0x${string}`;
|
|
448
|
+
s: `0x${string}`;
|
|
449
|
+
yParity: number;
|
|
450
|
+
v?: bigint | undefined;
|
|
451
|
+
}, {
|
|
452
|
+
contractAddress: string;
|
|
453
|
+
chainId: string | number | bigint;
|
|
454
|
+
nonce: string | number | bigint;
|
|
455
|
+
r: string;
|
|
456
|
+
s: string;
|
|
457
|
+
yParity: string | number | bigint;
|
|
458
|
+
v?: string | number | bigint | undefined;
|
|
459
|
+
}>, z.ZodObject<{
|
|
460
|
+
address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
461
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
462
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
463
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
464
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
465
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
466
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
467
|
+
}, "strip", z.ZodTypeAny, {
|
|
468
|
+
chainId: number;
|
|
469
|
+
nonce: number;
|
|
470
|
+
r: `0x${string}`;
|
|
471
|
+
s: `0x${string}`;
|
|
472
|
+
yParity: number;
|
|
473
|
+
address: `0x${string}`;
|
|
474
|
+
v?: bigint | undefined;
|
|
475
|
+
}, {
|
|
476
|
+
chainId: string | number | bigint;
|
|
477
|
+
nonce: string | number | bigint;
|
|
478
|
+
r: string;
|
|
479
|
+
s: string;
|
|
480
|
+
yParity: string | number | bigint;
|
|
481
|
+
address: string;
|
|
482
|
+
v?: string | number | bigint | undefined;
|
|
483
|
+
}>]>>>;
|
|
201
484
|
}, "strict", z.ZodTypeAny, {
|
|
202
|
-
sender: `0x${string}`;
|
|
203
485
|
nonce: bigint;
|
|
486
|
+
sender: `0x${string}`;
|
|
204
487
|
initCode: `0x${string}`;
|
|
205
488
|
callData: `0x${string}`;
|
|
206
489
|
callGasLimit: bigint;
|
|
@@ -210,9 +493,26 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
210
493
|
maxFeePerGas: bigint;
|
|
211
494
|
signature: `0x${string}`;
|
|
212
495
|
paymasterAndData?: `0x${string}` | undefined;
|
|
496
|
+
eip7702Auth?: {
|
|
497
|
+
contractAddress: `0x${string}`;
|
|
498
|
+
chainId: number;
|
|
499
|
+
nonce: number;
|
|
500
|
+
r: `0x${string}`;
|
|
501
|
+
s: `0x${string}`;
|
|
502
|
+
yParity: number;
|
|
503
|
+
v?: bigint | undefined;
|
|
504
|
+
} | {
|
|
505
|
+
chainId: number;
|
|
506
|
+
nonce: number;
|
|
507
|
+
r: `0x${string}`;
|
|
508
|
+
s: `0x${string}`;
|
|
509
|
+
yParity: number;
|
|
510
|
+
address: `0x${string}`;
|
|
511
|
+
v?: bigint | undefined;
|
|
512
|
+
} | null | undefined;
|
|
213
513
|
}, {
|
|
214
|
-
sender: string;
|
|
215
514
|
nonce: string | number | bigint;
|
|
515
|
+
sender: string;
|
|
216
516
|
initCode: string;
|
|
217
517
|
callData: string;
|
|
218
518
|
maxPriorityFeePerGas: string | number | bigint;
|
|
@@ -222,9 +522,26 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
222
522
|
preVerificationGas?: string | number | bigint | undefined;
|
|
223
523
|
paymasterAndData?: string | null | undefined;
|
|
224
524
|
signature?: string | undefined;
|
|
525
|
+
eip7702Auth?: {
|
|
526
|
+
contractAddress: string;
|
|
527
|
+
chainId: string | number | bigint;
|
|
528
|
+
nonce: string | number | bigint;
|
|
529
|
+
r: string;
|
|
530
|
+
s: string;
|
|
531
|
+
yParity: string | number | bigint;
|
|
532
|
+
v?: string | number | bigint | undefined;
|
|
533
|
+
} | {
|
|
534
|
+
chainId: string | number | bigint;
|
|
535
|
+
nonce: string | number | bigint;
|
|
536
|
+
r: string;
|
|
537
|
+
s: string;
|
|
538
|
+
yParity: string | number | bigint;
|
|
539
|
+
address: string;
|
|
540
|
+
v?: string | number | bigint | undefined;
|
|
541
|
+
} | null | undefined;
|
|
225
542
|
}>, {
|
|
226
|
-
sender: `0x${string}`;
|
|
227
543
|
nonce: bigint;
|
|
544
|
+
sender: `0x${string}`;
|
|
228
545
|
initCode: `0x${string}`;
|
|
229
546
|
callData: `0x${string}`;
|
|
230
547
|
callGasLimit: bigint;
|
|
@@ -234,9 +551,26 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
234
551
|
maxFeePerGas: bigint;
|
|
235
552
|
signature: `0x${string}`;
|
|
236
553
|
paymasterAndData?: `0x${string}` | undefined;
|
|
554
|
+
eip7702Auth?: {
|
|
555
|
+
contractAddress: `0x${string}`;
|
|
556
|
+
chainId: number;
|
|
557
|
+
nonce: number;
|
|
558
|
+
r: `0x${string}`;
|
|
559
|
+
s: `0x${string}`;
|
|
560
|
+
yParity: number;
|
|
561
|
+
v?: bigint | undefined;
|
|
562
|
+
} | {
|
|
563
|
+
chainId: number;
|
|
564
|
+
nonce: number;
|
|
565
|
+
r: `0x${string}`;
|
|
566
|
+
s: `0x${string}`;
|
|
567
|
+
yParity: number;
|
|
568
|
+
address: `0x${string}`;
|
|
569
|
+
v?: bigint | undefined;
|
|
570
|
+
} | null | undefined;
|
|
237
571
|
}, {
|
|
238
|
-
sender: string;
|
|
239
572
|
nonce: string | number | bigint;
|
|
573
|
+
sender: string;
|
|
240
574
|
initCode: string;
|
|
241
575
|
callData: string;
|
|
242
576
|
maxPriorityFeePerGas: string | number | bigint;
|
|
@@ -246,6 +580,23 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
246
580
|
preVerificationGas?: string | number | bigint | undefined;
|
|
247
581
|
paymasterAndData?: string | null | undefined;
|
|
248
582
|
signature?: string | undefined;
|
|
583
|
+
eip7702Auth?: {
|
|
584
|
+
contractAddress: string;
|
|
585
|
+
chainId: string | number | bigint;
|
|
586
|
+
nonce: string | number | bigint;
|
|
587
|
+
r: string;
|
|
588
|
+
s: string;
|
|
589
|
+
yParity: string | number | bigint;
|
|
590
|
+
v?: string | number | bigint | undefined;
|
|
591
|
+
} | {
|
|
592
|
+
chainId: string | number | bigint;
|
|
593
|
+
nonce: string | number | bigint;
|
|
594
|
+
r: string;
|
|
595
|
+
s: string;
|
|
596
|
+
yParity: string | number | bigint;
|
|
597
|
+
address: string;
|
|
598
|
+
v?: string | number | bigint | undefined;
|
|
599
|
+
} | null | undefined;
|
|
249
600
|
}>, z.ZodEffects<z.ZodObject<{
|
|
250
601
|
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
251
602
|
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>;
|
|
@@ -262,9 +613,58 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
262
613
|
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
614
|
paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | undefined, string | null | undefined>;
|
|
264
615
|
signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
|
|
616
|
+
eip7702Auth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
617
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
618
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
619
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
620
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
621
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
622
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
623
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
624
|
+
}, "strip", z.ZodTypeAny, {
|
|
625
|
+
contractAddress: `0x${string}`;
|
|
626
|
+
chainId: number;
|
|
627
|
+
nonce: number;
|
|
628
|
+
r: `0x${string}`;
|
|
629
|
+
s: `0x${string}`;
|
|
630
|
+
yParity: number;
|
|
631
|
+
v?: bigint | undefined;
|
|
632
|
+
}, {
|
|
633
|
+
contractAddress: string;
|
|
634
|
+
chainId: string | number | bigint;
|
|
635
|
+
nonce: string | number | bigint;
|
|
636
|
+
r: string;
|
|
637
|
+
s: string;
|
|
638
|
+
yParity: string | number | bigint;
|
|
639
|
+
v?: string | number | bigint | undefined;
|
|
640
|
+
}>, z.ZodObject<{
|
|
641
|
+
address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
642
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
643
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
644
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
645
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
646
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
647
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
648
|
+
}, "strip", z.ZodTypeAny, {
|
|
649
|
+
chainId: number;
|
|
650
|
+
nonce: number;
|
|
651
|
+
r: `0x${string}`;
|
|
652
|
+
s: `0x${string}`;
|
|
653
|
+
yParity: number;
|
|
654
|
+
address: `0x${string}`;
|
|
655
|
+
v?: bigint | undefined;
|
|
656
|
+
}, {
|
|
657
|
+
chainId: string | number | bigint;
|
|
658
|
+
nonce: string | number | bigint;
|
|
659
|
+
r: string;
|
|
660
|
+
s: string;
|
|
661
|
+
yParity: string | number | bigint;
|
|
662
|
+
address: string;
|
|
663
|
+
v?: string | number | bigint | undefined;
|
|
664
|
+
}>]>>>;
|
|
265
665
|
}, "strict", z.ZodTypeAny, {
|
|
266
|
-
sender: `0x${string}`;
|
|
267
666
|
nonce: bigint;
|
|
667
|
+
sender: `0x${string}`;
|
|
268
668
|
callData: `0x${string}`;
|
|
269
669
|
callGasLimit: bigint;
|
|
270
670
|
verificationGasLimit: bigint;
|
|
@@ -272,6 +672,23 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
272
672
|
maxPriorityFeePerGas: bigint;
|
|
273
673
|
maxFeePerGas: bigint;
|
|
274
674
|
signature: `0x${string}`;
|
|
675
|
+
eip7702Auth?: {
|
|
676
|
+
contractAddress: `0x${string}`;
|
|
677
|
+
chainId: number;
|
|
678
|
+
nonce: number;
|
|
679
|
+
r: `0x${string}`;
|
|
680
|
+
s: `0x${string}`;
|
|
681
|
+
yParity: number;
|
|
682
|
+
v?: bigint | undefined;
|
|
683
|
+
} | {
|
|
684
|
+
chainId: number;
|
|
685
|
+
nonce: number;
|
|
686
|
+
r: `0x${string}`;
|
|
687
|
+
s: `0x${string}`;
|
|
688
|
+
yParity: number;
|
|
689
|
+
address: `0x${string}`;
|
|
690
|
+
v?: bigint | undefined;
|
|
691
|
+
} | null | undefined;
|
|
275
692
|
factory?: `0x${string}` | undefined;
|
|
276
693
|
factoryData?: `0x${string}` | undefined;
|
|
277
694
|
paymaster?: `0x${string}` | undefined;
|
|
@@ -279,8 +696,8 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
279
696
|
paymasterPostOpGasLimit?: bigint | undefined;
|
|
280
697
|
paymasterData?: `0x${string}` | undefined;
|
|
281
698
|
}, {
|
|
282
|
-
sender: string;
|
|
283
699
|
nonce: string | number | bigint;
|
|
700
|
+
sender: string;
|
|
284
701
|
callData: string;
|
|
285
702
|
maxPriorityFeePerGas: string | number | bigint;
|
|
286
703
|
maxFeePerGas: string | number | bigint;
|
|
@@ -288,6 +705,23 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
288
705
|
verificationGasLimit?: string | number | bigint | undefined;
|
|
289
706
|
preVerificationGas?: string | number | bigint | undefined;
|
|
290
707
|
signature?: string | undefined;
|
|
708
|
+
eip7702Auth?: {
|
|
709
|
+
contractAddress: string;
|
|
710
|
+
chainId: string | number | bigint;
|
|
711
|
+
nonce: string | number | bigint;
|
|
712
|
+
r: string;
|
|
713
|
+
s: string;
|
|
714
|
+
yParity: string | number | bigint;
|
|
715
|
+
v?: string | number | bigint | undefined;
|
|
716
|
+
} | {
|
|
717
|
+
chainId: string | number | bigint;
|
|
718
|
+
nonce: string | number | bigint;
|
|
719
|
+
r: string;
|
|
720
|
+
s: string;
|
|
721
|
+
yParity: string | number | bigint;
|
|
722
|
+
address: string;
|
|
723
|
+
v?: string | number | bigint | undefined;
|
|
724
|
+
} | null | undefined;
|
|
291
725
|
factory?: string | undefined;
|
|
292
726
|
factoryData?: string | undefined;
|
|
293
727
|
paymaster?: string | null | undefined;
|
|
@@ -295,8 +729,8 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
295
729
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
296
730
|
paymasterData?: string | null | undefined;
|
|
297
731
|
}>, {
|
|
298
|
-
sender: `0x${string}`;
|
|
299
732
|
nonce: bigint;
|
|
733
|
+
sender: `0x${string}`;
|
|
300
734
|
callData: `0x${string}`;
|
|
301
735
|
callGasLimit: bigint;
|
|
302
736
|
verificationGasLimit: bigint;
|
|
@@ -304,6 +738,23 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
304
738
|
maxPriorityFeePerGas: bigint;
|
|
305
739
|
maxFeePerGas: bigint;
|
|
306
740
|
signature: `0x${string}`;
|
|
741
|
+
eip7702Auth?: {
|
|
742
|
+
contractAddress: `0x${string}`;
|
|
743
|
+
chainId: number;
|
|
744
|
+
nonce: number;
|
|
745
|
+
r: `0x${string}`;
|
|
746
|
+
s: `0x${string}`;
|
|
747
|
+
yParity: number;
|
|
748
|
+
v?: bigint | undefined;
|
|
749
|
+
} | {
|
|
750
|
+
chainId: number;
|
|
751
|
+
nonce: number;
|
|
752
|
+
r: `0x${string}`;
|
|
753
|
+
s: `0x${string}`;
|
|
754
|
+
yParity: number;
|
|
755
|
+
address: `0x${string}`;
|
|
756
|
+
v?: bigint | undefined;
|
|
757
|
+
} | null | undefined;
|
|
307
758
|
factory?: `0x${string}` | undefined;
|
|
308
759
|
factoryData?: `0x${string}` | undefined;
|
|
309
760
|
paymaster?: `0x${string}` | undefined;
|
|
@@ -311,8 +762,8 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
311
762
|
paymasterPostOpGasLimit?: bigint | undefined;
|
|
312
763
|
paymasterData?: `0x${string}` | undefined;
|
|
313
764
|
}, {
|
|
314
|
-
sender: string;
|
|
315
765
|
nonce: string | number | bigint;
|
|
766
|
+
sender: string;
|
|
316
767
|
callData: string;
|
|
317
768
|
maxPriorityFeePerGas: string | number | bigint;
|
|
318
769
|
maxFeePerGas: string | number | bigint;
|
|
@@ -320,6 +771,23 @@ export declare const pmSponsorUserOperationParamsSchema: z.ZodTuple<[z.ZodUnion<
|
|
|
320
771
|
verificationGasLimit?: string | number | bigint | undefined;
|
|
321
772
|
preVerificationGas?: string | number | bigint | undefined;
|
|
322
773
|
signature?: string | undefined;
|
|
774
|
+
eip7702Auth?: {
|
|
775
|
+
contractAddress: string;
|
|
776
|
+
chainId: string | number | bigint;
|
|
777
|
+
nonce: string | number | bigint;
|
|
778
|
+
r: string;
|
|
779
|
+
s: string;
|
|
780
|
+
yParity: string | number | bigint;
|
|
781
|
+
v?: string | number | bigint | undefined;
|
|
782
|
+
} | {
|
|
783
|
+
chainId: string | number | bigint;
|
|
784
|
+
nonce: string | number | bigint;
|
|
785
|
+
r: string;
|
|
786
|
+
s: string;
|
|
787
|
+
yParity: string | number | bigint;
|
|
788
|
+
address: string;
|
|
789
|
+
v?: string | number | bigint | undefined;
|
|
790
|
+
} | null | undefined;
|
|
323
791
|
factory?: string | undefined;
|
|
324
792
|
factoryData?: string | undefined;
|
|
325
793
|
paymaster?: string | null | undefined;
|
|
@@ -339,9 +807,58 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
339
807
|
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
808
|
paymasterAndData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
|
|
341
809
|
signature: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
|
|
810
|
+
eip7702Auth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
811
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
812
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
813
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
814
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
815
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
816
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
817
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
818
|
+
}, "strip", z.ZodTypeAny, {
|
|
819
|
+
contractAddress: `0x${string}`;
|
|
820
|
+
chainId: number;
|
|
821
|
+
nonce: number;
|
|
822
|
+
r: `0x${string}`;
|
|
823
|
+
s: `0x${string}`;
|
|
824
|
+
yParity: number;
|
|
825
|
+
v?: bigint | undefined;
|
|
826
|
+
}, {
|
|
827
|
+
contractAddress: string;
|
|
828
|
+
chainId: string | number | bigint;
|
|
829
|
+
nonce: string | number | bigint;
|
|
830
|
+
r: string;
|
|
831
|
+
s: string;
|
|
832
|
+
yParity: string | number | bigint;
|
|
833
|
+
v?: string | number | bigint | undefined;
|
|
834
|
+
}>, z.ZodObject<{
|
|
835
|
+
address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
836
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
837
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
838
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
839
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
840
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
841
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
842
|
+
}, "strip", z.ZodTypeAny, {
|
|
843
|
+
chainId: number;
|
|
844
|
+
nonce: number;
|
|
845
|
+
r: `0x${string}`;
|
|
846
|
+
s: `0x${string}`;
|
|
847
|
+
yParity: number;
|
|
848
|
+
address: `0x${string}`;
|
|
849
|
+
v?: bigint | undefined;
|
|
850
|
+
}, {
|
|
851
|
+
chainId: string | number | bigint;
|
|
852
|
+
nonce: string | number | bigint;
|
|
853
|
+
r: string;
|
|
854
|
+
s: string;
|
|
855
|
+
yParity: string | number | bigint;
|
|
856
|
+
address: string;
|
|
857
|
+
v?: string | number | bigint | undefined;
|
|
858
|
+
}>]>>>;
|
|
342
859
|
}, "strict", z.ZodTypeAny, {
|
|
343
|
-
sender: `0x${string}`;
|
|
344
860
|
nonce: bigint;
|
|
861
|
+
sender: `0x${string}`;
|
|
345
862
|
initCode: `0x${string}`;
|
|
346
863
|
callData: `0x${string}`;
|
|
347
864
|
callGasLimit: bigint;
|
|
@@ -351,9 +868,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
351
868
|
maxFeePerGas: bigint;
|
|
352
869
|
paymasterAndData: `0x${string}`;
|
|
353
870
|
signature: `0x${string}`;
|
|
871
|
+
eip7702Auth?: {
|
|
872
|
+
contractAddress: `0x${string}`;
|
|
873
|
+
chainId: number;
|
|
874
|
+
nonce: number;
|
|
875
|
+
r: `0x${string}`;
|
|
876
|
+
s: `0x${string}`;
|
|
877
|
+
yParity: number;
|
|
878
|
+
v?: bigint | undefined;
|
|
879
|
+
} | {
|
|
880
|
+
chainId: number;
|
|
881
|
+
nonce: number;
|
|
882
|
+
r: `0x${string}`;
|
|
883
|
+
s: `0x${string}`;
|
|
884
|
+
yParity: number;
|
|
885
|
+
address: `0x${string}`;
|
|
886
|
+
v?: bigint | undefined;
|
|
887
|
+
} | null | undefined;
|
|
354
888
|
}, {
|
|
355
|
-
sender: string;
|
|
356
889
|
nonce: string | number | bigint;
|
|
890
|
+
sender: string;
|
|
357
891
|
initCode: string;
|
|
358
892
|
callData: string;
|
|
359
893
|
callGasLimit: string | number | bigint;
|
|
@@ -363,9 +897,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
363
897
|
maxFeePerGas: string | number | bigint;
|
|
364
898
|
paymasterAndData?: string | null | undefined;
|
|
365
899
|
signature?: string | null | undefined;
|
|
900
|
+
eip7702Auth?: {
|
|
901
|
+
contractAddress: string;
|
|
902
|
+
chainId: string | number | bigint;
|
|
903
|
+
nonce: string | number | bigint;
|
|
904
|
+
r: string;
|
|
905
|
+
s: string;
|
|
906
|
+
yParity: string | number | bigint;
|
|
907
|
+
v?: string | number | bigint | undefined;
|
|
908
|
+
} | {
|
|
909
|
+
chainId: string | number | bigint;
|
|
910
|
+
nonce: string | number | bigint;
|
|
911
|
+
r: string;
|
|
912
|
+
s: string;
|
|
913
|
+
yParity: string | number | bigint;
|
|
914
|
+
address: string;
|
|
915
|
+
v?: string | number | bigint | undefined;
|
|
916
|
+
} | null | undefined;
|
|
366
917
|
}>, {
|
|
367
|
-
sender: `0x${string}`;
|
|
368
918
|
nonce: bigint;
|
|
919
|
+
sender: `0x${string}`;
|
|
369
920
|
initCode: `0x${string}`;
|
|
370
921
|
callData: `0x${string}`;
|
|
371
922
|
callGasLimit: bigint;
|
|
@@ -375,9 +926,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
375
926
|
maxFeePerGas: bigint;
|
|
376
927
|
paymasterAndData: `0x${string}`;
|
|
377
928
|
signature: `0x${string}`;
|
|
929
|
+
eip7702Auth?: {
|
|
930
|
+
contractAddress: `0x${string}`;
|
|
931
|
+
chainId: number;
|
|
932
|
+
nonce: number;
|
|
933
|
+
r: `0x${string}`;
|
|
934
|
+
s: `0x${string}`;
|
|
935
|
+
yParity: number;
|
|
936
|
+
v?: bigint | undefined;
|
|
937
|
+
} | {
|
|
938
|
+
chainId: number;
|
|
939
|
+
nonce: number;
|
|
940
|
+
r: `0x${string}`;
|
|
941
|
+
s: `0x${string}`;
|
|
942
|
+
yParity: number;
|
|
943
|
+
address: `0x${string}`;
|
|
944
|
+
v?: bigint | undefined;
|
|
945
|
+
} | null | undefined;
|
|
378
946
|
}, {
|
|
379
|
-
sender: string;
|
|
380
947
|
nonce: string | number | bigint;
|
|
948
|
+
sender: string;
|
|
381
949
|
initCode: string;
|
|
382
950
|
callData: string;
|
|
383
951
|
callGasLimit: string | number | bigint;
|
|
@@ -387,6 +955,23 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
387
955
|
maxFeePerGas: string | number | bigint;
|
|
388
956
|
paymasterAndData?: string | null | undefined;
|
|
389
957
|
signature?: string | null | undefined;
|
|
958
|
+
eip7702Auth?: {
|
|
959
|
+
contractAddress: string;
|
|
960
|
+
chainId: string | number | bigint;
|
|
961
|
+
nonce: string | number | bigint;
|
|
962
|
+
r: string;
|
|
963
|
+
s: string;
|
|
964
|
+
yParity: string | number | bigint;
|
|
965
|
+
v?: string | number | bigint | undefined;
|
|
966
|
+
} | {
|
|
967
|
+
chainId: string | number | bigint;
|
|
968
|
+
nonce: string | number | bigint;
|
|
969
|
+
r: string;
|
|
970
|
+
s: string;
|
|
971
|
+
yParity: string | number | bigint;
|
|
972
|
+
address: string;
|
|
973
|
+
v?: string | number | bigint | undefined;
|
|
974
|
+
} | null | undefined;
|
|
390
975
|
}>, z.ZodEffects<z.ZodObject<{
|
|
391
976
|
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
392
977
|
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>;
|
|
@@ -403,9 +988,58 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
403
988
|
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
989
|
paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
405
990
|
signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
|
|
991
|
+
eip7702Auth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
992
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
993
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
994
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
995
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
996
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
997
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
998
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
999
|
+
}, "strip", z.ZodTypeAny, {
|
|
1000
|
+
contractAddress: `0x${string}`;
|
|
1001
|
+
chainId: number;
|
|
1002
|
+
nonce: number;
|
|
1003
|
+
r: `0x${string}`;
|
|
1004
|
+
s: `0x${string}`;
|
|
1005
|
+
yParity: number;
|
|
1006
|
+
v?: bigint | undefined;
|
|
1007
|
+
}, {
|
|
1008
|
+
contractAddress: string;
|
|
1009
|
+
chainId: string | number | bigint;
|
|
1010
|
+
nonce: string | number | bigint;
|
|
1011
|
+
r: string;
|
|
1012
|
+
s: string;
|
|
1013
|
+
yParity: string | number | bigint;
|
|
1014
|
+
v?: string | number | bigint | undefined;
|
|
1015
|
+
}>, z.ZodObject<{
|
|
1016
|
+
address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1017
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1018
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1019
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1020
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1021
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
1022
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1023
|
+
}, "strip", z.ZodTypeAny, {
|
|
1024
|
+
chainId: number;
|
|
1025
|
+
nonce: number;
|
|
1026
|
+
r: `0x${string}`;
|
|
1027
|
+
s: `0x${string}`;
|
|
1028
|
+
yParity: number;
|
|
1029
|
+
address: `0x${string}`;
|
|
1030
|
+
v?: bigint | undefined;
|
|
1031
|
+
}, {
|
|
1032
|
+
chainId: string | number | bigint;
|
|
1033
|
+
nonce: string | number | bigint;
|
|
1034
|
+
r: string;
|
|
1035
|
+
s: string;
|
|
1036
|
+
yParity: string | number | bigint;
|
|
1037
|
+
address: string;
|
|
1038
|
+
v?: string | number | bigint | undefined;
|
|
1039
|
+
}>]>>>;
|
|
406
1040
|
}, "strict", z.ZodTypeAny, {
|
|
407
|
-
sender: `0x${string}`;
|
|
408
1041
|
nonce: bigint;
|
|
1042
|
+
sender: `0x${string}`;
|
|
409
1043
|
callData: `0x${string}`;
|
|
410
1044
|
callGasLimit: bigint;
|
|
411
1045
|
verificationGasLimit: bigint;
|
|
@@ -419,9 +1053,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
419
1053
|
paymasterVerificationGasLimit: bigint | null;
|
|
420
1054
|
paymasterPostOpGasLimit: bigint | null;
|
|
421
1055
|
paymasterData: `0x${string}` | null;
|
|
1056
|
+
eip7702Auth?: {
|
|
1057
|
+
contractAddress: `0x${string}`;
|
|
1058
|
+
chainId: number;
|
|
1059
|
+
nonce: number;
|
|
1060
|
+
r: `0x${string}`;
|
|
1061
|
+
s: `0x${string}`;
|
|
1062
|
+
yParity: number;
|
|
1063
|
+
v?: bigint | undefined;
|
|
1064
|
+
} | {
|
|
1065
|
+
chainId: number;
|
|
1066
|
+
nonce: number;
|
|
1067
|
+
r: `0x${string}`;
|
|
1068
|
+
s: `0x${string}`;
|
|
1069
|
+
yParity: number;
|
|
1070
|
+
address: `0x${string}`;
|
|
1071
|
+
v?: bigint | undefined;
|
|
1072
|
+
} | null | undefined;
|
|
422
1073
|
}, {
|
|
423
|
-
sender: string;
|
|
424
1074
|
nonce: string | number | bigint;
|
|
1075
|
+
sender: string;
|
|
425
1076
|
callData: string;
|
|
426
1077
|
callGasLimit: string | number | bigint;
|
|
427
1078
|
verificationGasLimit: string | number | bigint;
|
|
@@ -429,6 +1080,23 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
429
1080
|
maxPriorityFeePerGas: string | number | bigint;
|
|
430
1081
|
maxFeePerGas: string | number | bigint;
|
|
431
1082
|
signature?: string | undefined;
|
|
1083
|
+
eip7702Auth?: {
|
|
1084
|
+
contractAddress: string;
|
|
1085
|
+
chainId: string | number | bigint;
|
|
1086
|
+
nonce: string | number | bigint;
|
|
1087
|
+
r: string;
|
|
1088
|
+
s: string;
|
|
1089
|
+
yParity: string | number | bigint;
|
|
1090
|
+
v?: string | number | bigint | undefined;
|
|
1091
|
+
} | {
|
|
1092
|
+
chainId: string | number | bigint;
|
|
1093
|
+
nonce: string | number | bigint;
|
|
1094
|
+
r: string;
|
|
1095
|
+
s: string;
|
|
1096
|
+
yParity: string | number | bigint;
|
|
1097
|
+
address: string;
|
|
1098
|
+
v?: string | number | bigint | undefined;
|
|
1099
|
+
} | null | undefined;
|
|
432
1100
|
factory?: string | null | undefined;
|
|
433
1101
|
factoryData?: string | null | undefined;
|
|
434
1102
|
paymaster?: string | null | undefined;
|
|
@@ -436,8 +1104,8 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
436
1104
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
437
1105
|
paymasterData?: string | null | undefined;
|
|
438
1106
|
}>, {
|
|
439
|
-
sender: `0x${string}`;
|
|
440
1107
|
nonce: bigint;
|
|
1108
|
+
sender: `0x${string}`;
|
|
441
1109
|
callData: `0x${string}`;
|
|
442
1110
|
callGasLimit: bigint;
|
|
443
1111
|
verificationGasLimit: bigint;
|
|
@@ -451,9 +1119,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
451
1119
|
paymasterVerificationGasLimit: bigint | null;
|
|
452
1120
|
paymasterPostOpGasLimit: bigint | null;
|
|
453
1121
|
paymasterData: `0x${string}` | null;
|
|
1122
|
+
eip7702Auth?: {
|
|
1123
|
+
contractAddress: `0x${string}`;
|
|
1124
|
+
chainId: number;
|
|
1125
|
+
nonce: number;
|
|
1126
|
+
r: `0x${string}`;
|
|
1127
|
+
s: `0x${string}`;
|
|
1128
|
+
yParity: number;
|
|
1129
|
+
v?: bigint | undefined;
|
|
1130
|
+
} | {
|
|
1131
|
+
chainId: number;
|
|
1132
|
+
nonce: number;
|
|
1133
|
+
r: `0x${string}`;
|
|
1134
|
+
s: `0x${string}`;
|
|
1135
|
+
yParity: number;
|
|
1136
|
+
address: `0x${string}`;
|
|
1137
|
+
v?: bigint | undefined;
|
|
1138
|
+
} | null | undefined;
|
|
454
1139
|
}, {
|
|
455
|
-
sender: string;
|
|
456
1140
|
nonce: string | number | bigint;
|
|
1141
|
+
sender: string;
|
|
457
1142
|
callData: string;
|
|
458
1143
|
callGasLimit: string | number | bigint;
|
|
459
1144
|
verificationGasLimit: string | number | bigint;
|
|
@@ -461,19 +1146,48 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
461
1146
|
maxPriorityFeePerGas: string | number | bigint;
|
|
462
1147
|
maxFeePerGas: string | number | bigint;
|
|
463
1148
|
signature?: string | undefined;
|
|
1149
|
+
eip7702Auth?: {
|
|
1150
|
+
contractAddress: string;
|
|
1151
|
+
chainId: string | number | bigint;
|
|
1152
|
+
nonce: string | number | bigint;
|
|
1153
|
+
r: string;
|
|
1154
|
+
s: string;
|
|
1155
|
+
yParity: string | number | bigint;
|
|
1156
|
+
v?: string | number | bigint | undefined;
|
|
1157
|
+
} | {
|
|
1158
|
+
chainId: string | number | bigint;
|
|
1159
|
+
nonce: string | number | bigint;
|
|
1160
|
+
r: string;
|
|
1161
|
+
s: string;
|
|
1162
|
+
yParity: string | number | bigint;
|
|
1163
|
+
address: string;
|
|
1164
|
+
v?: string | number | bigint | undefined;
|
|
1165
|
+
} | null | undefined;
|
|
464
1166
|
factory?: string | null | undefined;
|
|
465
1167
|
factoryData?: string | null | undefined;
|
|
466
1168
|
paymaster?: string | null | undefined;
|
|
467
1169
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
468
1170
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
469
1171
|
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<{
|
|
1172
|
+
}>]>, 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.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
471
1173
|
token: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
472
1174
|
}, "strip", z.ZodTypeAny, {
|
|
473
1175
|
token: `0x${string}`;
|
|
474
1176
|
}, {
|
|
475
1177
|
token: string;
|
|
476
|
-
}>, z.
|
|
1178
|
+
}>, z.ZodObject<{
|
|
1179
|
+
sponsorshipPolicyId: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
validForSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1181
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1182
|
+
}, "strip", z.ZodTypeAny, {
|
|
1183
|
+
sponsorshipPolicyId?: string | undefined;
|
|
1184
|
+
validForSeconds?: number | undefined;
|
|
1185
|
+
meta?: Record<string, string> | undefined;
|
|
1186
|
+
}, {
|
|
1187
|
+
sponsorshipPolicyId?: string | undefined;
|
|
1188
|
+
validForSeconds?: number | undefined;
|
|
1189
|
+
meta?: Record<string, string> | undefined;
|
|
1190
|
+
}>, z.ZodNull]>>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
477
1191
|
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
478
1192
|
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
1193
|
initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -485,9 +1199,58 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
485
1199
|
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
1200
|
paymasterAndData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
|
|
487
1201
|
signature: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
|
|
1202
|
+
eip7702Auth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1203
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1204
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1205
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1206
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1207
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1208
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
1209
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1210
|
+
}, "strip", z.ZodTypeAny, {
|
|
1211
|
+
contractAddress: `0x${string}`;
|
|
1212
|
+
chainId: number;
|
|
1213
|
+
nonce: number;
|
|
1214
|
+
r: `0x${string}`;
|
|
1215
|
+
s: `0x${string}`;
|
|
1216
|
+
yParity: number;
|
|
1217
|
+
v?: bigint | undefined;
|
|
1218
|
+
}, {
|
|
1219
|
+
contractAddress: string;
|
|
1220
|
+
chainId: string | number | bigint;
|
|
1221
|
+
nonce: string | number | bigint;
|
|
1222
|
+
r: string;
|
|
1223
|
+
s: string;
|
|
1224
|
+
yParity: string | number | bigint;
|
|
1225
|
+
v?: string | number | bigint | undefined;
|
|
1226
|
+
}>, z.ZodObject<{
|
|
1227
|
+
address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1228
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1229
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1230
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1231
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1232
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
1233
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1234
|
+
}, "strip", z.ZodTypeAny, {
|
|
1235
|
+
chainId: number;
|
|
1236
|
+
nonce: number;
|
|
1237
|
+
r: `0x${string}`;
|
|
1238
|
+
s: `0x${string}`;
|
|
1239
|
+
yParity: number;
|
|
1240
|
+
address: `0x${string}`;
|
|
1241
|
+
v?: bigint | undefined;
|
|
1242
|
+
}, {
|
|
1243
|
+
chainId: string | number | bigint;
|
|
1244
|
+
nonce: string | number | bigint;
|
|
1245
|
+
r: string;
|
|
1246
|
+
s: string;
|
|
1247
|
+
yParity: string | number | bigint;
|
|
1248
|
+
address: string;
|
|
1249
|
+
v?: string | number | bigint | undefined;
|
|
1250
|
+
}>]>>>;
|
|
488
1251
|
}, "strict", z.ZodTypeAny, {
|
|
489
|
-
sender: `0x${string}`;
|
|
490
1252
|
nonce: bigint;
|
|
1253
|
+
sender: `0x${string}`;
|
|
491
1254
|
initCode: `0x${string}`;
|
|
492
1255
|
callData: `0x${string}`;
|
|
493
1256
|
callGasLimit: bigint;
|
|
@@ -497,9 +1260,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
497
1260
|
maxFeePerGas: bigint;
|
|
498
1261
|
paymasterAndData: `0x${string}`;
|
|
499
1262
|
signature: `0x${string}`;
|
|
1263
|
+
eip7702Auth?: {
|
|
1264
|
+
contractAddress: `0x${string}`;
|
|
1265
|
+
chainId: number;
|
|
1266
|
+
nonce: number;
|
|
1267
|
+
r: `0x${string}`;
|
|
1268
|
+
s: `0x${string}`;
|
|
1269
|
+
yParity: number;
|
|
1270
|
+
v?: bigint | undefined;
|
|
1271
|
+
} | {
|
|
1272
|
+
chainId: number;
|
|
1273
|
+
nonce: number;
|
|
1274
|
+
r: `0x${string}`;
|
|
1275
|
+
s: `0x${string}`;
|
|
1276
|
+
yParity: number;
|
|
1277
|
+
address: `0x${string}`;
|
|
1278
|
+
v?: bigint | undefined;
|
|
1279
|
+
} | null | undefined;
|
|
500
1280
|
}, {
|
|
501
|
-
sender: string;
|
|
502
1281
|
nonce: string | number | bigint;
|
|
1282
|
+
sender: string;
|
|
503
1283
|
initCode: string;
|
|
504
1284
|
callData: string;
|
|
505
1285
|
callGasLimit: string | number | bigint;
|
|
@@ -509,9 +1289,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
509
1289
|
maxFeePerGas: string | number | bigint;
|
|
510
1290
|
paymasterAndData?: string | null | undefined;
|
|
511
1291
|
signature?: string | null | undefined;
|
|
1292
|
+
eip7702Auth?: {
|
|
1293
|
+
contractAddress: string;
|
|
1294
|
+
chainId: string | number | bigint;
|
|
1295
|
+
nonce: string | number | bigint;
|
|
1296
|
+
r: string;
|
|
1297
|
+
s: string;
|
|
1298
|
+
yParity: string | number | bigint;
|
|
1299
|
+
v?: string | number | bigint | undefined;
|
|
1300
|
+
} | {
|
|
1301
|
+
chainId: string | number | bigint;
|
|
1302
|
+
nonce: string | number | bigint;
|
|
1303
|
+
r: string;
|
|
1304
|
+
s: string;
|
|
1305
|
+
yParity: string | number | bigint;
|
|
1306
|
+
address: string;
|
|
1307
|
+
v?: string | number | bigint | undefined;
|
|
1308
|
+
} | null | undefined;
|
|
512
1309
|
}>, {
|
|
513
|
-
sender: `0x${string}`;
|
|
514
1310
|
nonce: bigint;
|
|
1311
|
+
sender: `0x${string}`;
|
|
515
1312
|
initCode: `0x${string}`;
|
|
516
1313
|
callData: `0x${string}`;
|
|
517
1314
|
callGasLimit: bigint;
|
|
@@ -521,9 +1318,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
521
1318
|
maxFeePerGas: bigint;
|
|
522
1319
|
paymasterAndData: `0x${string}`;
|
|
523
1320
|
signature: `0x${string}`;
|
|
1321
|
+
eip7702Auth?: {
|
|
1322
|
+
contractAddress: `0x${string}`;
|
|
1323
|
+
chainId: number;
|
|
1324
|
+
nonce: number;
|
|
1325
|
+
r: `0x${string}`;
|
|
1326
|
+
s: `0x${string}`;
|
|
1327
|
+
yParity: number;
|
|
1328
|
+
v?: bigint | undefined;
|
|
1329
|
+
} | {
|
|
1330
|
+
chainId: number;
|
|
1331
|
+
nonce: number;
|
|
1332
|
+
r: `0x${string}`;
|
|
1333
|
+
s: `0x${string}`;
|
|
1334
|
+
yParity: number;
|
|
1335
|
+
address: `0x${string}`;
|
|
1336
|
+
v?: bigint | undefined;
|
|
1337
|
+
} | null | undefined;
|
|
524
1338
|
}, {
|
|
525
|
-
sender: string;
|
|
526
1339
|
nonce: string | number | bigint;
|
|
1340
|
+
sender: string;
|
|
527
1341
|
initCode: string;
|
|
528
1342
|
callData: string;
|
|
529
1343
|
callGasLimit: string | number | bigint;
|
|
@@ -533,6 +1347,23 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
533
1347
|
maxFeePerGas: string | number | bigint;
|
|
534
1348
|
paymasterAndData?: string | null | undefined;
|
|
535
1349
|
signature?: string | null | undefined;
|
|
1350
|
+
eip7702Auth?: {
|
|
1351
|
+
contractAddress: string;
|
|
1352
|
+
chainId: string | number | bigint;
|
|
1353
|
+
nonce: string | number | bigint;
|
|
1354
|
+
r: string;
|
|
1355
|
+
s: string;
|
|
1356
|
+
yParity: string | number | bigint;
|
|
1357
|
+
v?: string | number | bigint | undefined;
|
|
1358
|
+
} | {
|
|
1359
|
+
chainId: string | number | bigint;
|
|
1360
|
+
nonce: string | number | bigint;
|
|
1361
|
+
r: string;
|
|
1362
|
+
s: string;
|
|
1363
|
+
yParity: string | number | bigint;
|
|
1364
|
+
address: string;
|
|
1365
|
+
v?: string | number | bigint | undefined;
|
|
1366
|
+
} | null | undefined;
|
|
536
1367
|
}>, z.ZodEffects<z.ZodObject<{
|
|
537
1368
|
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
538
1369
|
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>;
|
|
@@ -549,9 +1380,58 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
549
1380
|
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
1381
|
paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
551
1382
|
signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
|
|
1383
|
+
eip7702Auth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1384
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1385
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1386
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1387
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1388
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1389
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
1390
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1391
|
+
}, "strip", z.ZodTypeAny, {
|
|
1392
|
+
contractAddress: `0x${string}`;
|
|
1393
|
+
chainId: number;
|
|
1394
|
+
nonce: number;
|
|
1395
|
+
r: `0x${string}`;
|
|
1396
|
+
s: `0x${string}`;
|
|
1397
|
+
yParity: number;
|
|
1398
|
+
v?: bigint | undefined;
|
|
1399
|
+
}, {
|
|
1400
|
+
contractAddress: string;
|
|
1401
|
+
chainId: string | number | bigint;
|
|
1402
|
+
nonce: string | number | bigint;
|
|
1403
|
+
r: string;
|
|
1404
|
+
s: string;
|
|
1405
|
+
yParity: string | number | bigint;
|
|
1406
|
+
v?: string | number | bigint | undefined;
|
|
1407
|
+
}>, z.ZodObject<{
|
|
1408
|
+
address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1409
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1410
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1411
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1412
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1413
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
1414
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1415
|
+
}, "strip", z.ZodTypeAny, {
|
|
1416
|
+
chainId: number;
|
|
1417
|
+
nonce: number;
|
|
1418
|
+
r: `0x${string}`;
|
|
1419
|
+
s: `0x${string}`;
|
|
1420
|
+
yParity: number;
|
|
1421
|
+
address: `0x${string}`;
|
|
1422
|
+
v?: bigint | undefined;
|
|
1423
|
+
}, {
|
|
1424
|
+
chainId: string | number | bigint;
|
|
1425
|
+
nonce: string | number | bigint;
|
|
1426
|
+
r: string;
|
|
1427
|
+
s: string;
|
|
1428
|
+
yParity: string | number | bigint;
|
|
1429
|
+
address: string;
|
|
1430
|
+
v?: string | number | bigint | undefined;
|
|
1431
|
+
}>]>>>;
|
|
552
1432
|
}, "strict", z.ZodTypeAny, {
|
|
553
|
-
sender: `0x${string}`;
|
|
554
1433
|
nonce: bigint;
|
|
1434
|
+
sender: `0x${string}`;
|
|
555
1435
|
callData: `0x${string}`;
|
|
556
1436
|
callGasLimit: bigint;
|
|
557
1437
|
verificationGasLimit: bigint;
|
|
@@ -565,9 +1445,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
565
1445
|
paymasterVerificationGasLimit: bigint | null;
|
|
566
1446
|
paymasterPostOpGasLimit: bigint | null;
|
|
567
1447
|
paymasterData: `0x${string}` | null;
|
|
1448
|
+
eip7702Auth?: {
|
|
1449
|
+
contractAddress: `0x${string}`;
|
|
1450
|
+
chainId: number;
|
|
1451
|
+
nonce: number;
|
|
1452
|
+
r: `0x${string}`;
|
|
1453
|
+
s: `0x${string}`;
|
|
1454
|
+
yParity: number;
|
|
1455
|
+
v?: bigint | undefined;
|
|
1456
|
+
} | {
|
|
1457
|
+
chainId: number;
|
|
1458
|
+
nonce: number;
|
|
1459
|
+
r: `0x${string}`;
|
|
1460
|
+
s: `0x${string}`;
|
|
1461
|
+
yParity: number;
|
|
1462
|
+
address: `0x${string}`;
|
|
1463
|
+
v?: bigint | undefined;
|
|
1464
|
+
} | null | undefined;
|
|
568
1465
|
}, {
|
|
569
|
-
sender: string;
|
|
570
1466
|
nonce: string | number | bigint;
|
|
1467
|
+
sender: string;
|
|
571
1468
|
callData: string;
|
|
572
1469
|
callGasLimit: string | number | bigint;
|
|
573
1470
|
verificationGasLimit: string | number | bigint;
|
|
@@ -575,6 +1472,23 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
575
1472
|
maxPriorityFeePerGas: string | number | bigint;
|
|
576
1473
|
maxFeePerGas: string | number | bigint;
|
|
577
1474
|
signature?: string | undefined;
|
|
1475
|
+
eip7702Auth?: {
|
|
1476
|
+
contractAddress: string;
|
|
1477
|
+
chainId: string | number | bigint;
|
|
1478
|
+
nonce: string | number | bigint;
|
|
1479
|
+
r: string;
|
|
1480
|
+
s: string;
|
|
1481
|
+
yParity: string | number | bigint;
|
|
1482
|
+
v?: string | number | bigint | undefined;
|
|
1483
|
+
} | {
|
|
1484
|
+
chainId: string | number | bigint;
|
|
1485
|
+
nonce: string | number | bigint;
|
|
1486
|
+
r: string;
|
|
1487
|
+
s: string;
|
|
1488
|
+
yParity: string | number | bigint;
|
|
1489
|
+
address: string;
|
|
1490
|
+
v?: string | number | bigint | undefined;
|
|
1491
|
+
} | null | undefined;
|
|
578
1492
|
factory?: string | null | undefined;
|
|
579
1493
|
factoryData?: string | null | undefined;
|
|
580
1494
|
paymaster?: string | null | undefined;
|
|
@@ -582,8 +1496,8 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
582
1496
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
583
1497
|
paymasterData?: string | null | undefined;
|
|
584
1498
|
}>, {
|
|
585
|
-
sender: `0x${string}`;
|
|
586
1499
|
nonce: bigint;
|
|
1500
|
+
sender: `0x${string}`;
|
|
587
1501
|
callData: `0x${string}`;
|
|
588
1502
|
callGasLimit: bigint;
|
|
589
1503
|
verificationGasLimit: bigint;
|
|
@@ -597,9 +1511,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
597
1511
|
paymasterVerificationGasLimit: bigint | null;
|
|
598
1512
|
paymasterPostOpGasLimit: bigint | null;
|
|
599
1513
|
paymasterData: `0x${string}` | null;
|
|
1514
|
+
eip7702Auth?: {
|
|
1515
|
+
contractAddress: `0x${string}`;
|
|
1516
|
+
chainId: number;
|
|
1517
|
+
nonce: number;
|
|
1518
|
+
r: `0x${string}`;
|
|
1519
|
+
s: `0x${string}`;
|
|
1520
|
+
yParity: number;
|
|
1521
|
+
v?: bigint | undefined;
|
|
1522
|
+
} | {
|
|
1523
|
+
chainId: number;
|
|
1524
|
+
nonce: number;
|
|
1525
|
+
r: `0x${string}`;
|
|
1526
|
+
s: `0x${string}`;
|
|
1527
|
+
yParity: number;
|
|
1528
|
+
address: `0x${string}`;
|
|
1529
|
+
v?: bigint | undefined;
|
|
1530
|
+
} | null | undefined;
|
|
600
1531
|
}, {
|
|
601
|
-
sender: string;
|
|
602
1532
|
nonce: string | number | bigint;
|
|
1533
|
+
sender: string;
|
|
603
1534
|
callData: string;
|
|
604
1535
|
callGasLimit: string | number | bigint;
|
|
605
1536
|
verificationGasLimit: string | number | bigint;
|
|
@@ -607,6 +1538,23 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
607
1538
|
maxPriorityFeePerGas: string | number | bigint;
|
|
608
1539
|
maxFeePerGas: string | number | bigint;
|
|
609
1540
|
signature?: string | undefined;
|
|
1541
|
+
eip7702Auth?: {
|
|
1542
|
+
contractAddress: string;
|
|
1543
|
+
chainId: string | number | bigint;
|
|
1544
|
+
nonce: string | number | bigint;
|
|
1545
|
+
r: string;
|
|
1546
|
+
s: string;
|
|
1547
|
+
yParity: string | number | bigint;
|
|
1548
|
+
v?: string | number | bigint | undefined;
|
|
1549
|
+
} | {
|
|
1550
|
+
chainId: string | number | bigint;
|
|
1551
|
+
nonce: string | number | bigint;
|
|
1552
|
+
r: string;
|
|
1553
|
+
s: string;
|
|
1554
|
+
yParity: string | number | bigint;
|
|
1555
|
+
address: string;
|
|
1556
|
+
v?: string | number | bigint | undefined;
|
|
1557
|
+
} | null | undefined;
|
|
610
1558
|
factory?: string | null | undefined;
|
|
611
1559
|
factoryData?: string | null | undefined;
|
|
612
1560
|
paymaster?: string | null | undefined;
|
|
@@ -614,8 +1562,8 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
614
1562
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
615
1563
|
paymasterData?: string | null | undefined;
|
|
616
1564
|
}>]>, 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
1565
|
nonce: bigint;
|
|
1566
|
+
sender: `0x${string}`;
|
|
619
1567
|
initCode: `0x${string}`;
|
|
620
1568
|
callData: `0x${string}`;
|
|
621
1569
|
callGasLimit: bigint;
|
|
@@ -625,9 +1573,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
625
1573
|
maxFeePerGas: bigint;
|
|
626
1574
|
paymasterAndData: `0x${string}`;
|
|
627
1575
|
signature: `0x${string}`;
|
|
1576
|
+
eip7702Auth?: {
|
|
1577
|
+
contractAddress: `0x${string}`;
|
|
1578
|
+
chainId: number;
|
|
1579
|
+
nonce: number;
|
|
1580
|
+
r: `0x${string}`;
|
|
1581
|
+
s: `0x${string}`;
|
|
1582
|
+
yParity: number;
|
|
1583
|
+
v?: bigint | undefined;
|
|
1584
|
+
} | {
|
|
1585
|
+
chainId: number;
|
|
1586
|
+
nonce: number;
|
|
1587
|
+
r: `0x${string}`;
|
|
1588
|
+
s: `0x${string}`;
|
|
1589
|
+
yParity: number;
|
|
1590
|
+
address: `0x${string}`;
|
|
1591
|
+
v?: bigint | undefined;
|
|
1592
|
+
} | null | undefined;
|
|
628
1593
|
} | {
|
|
629
|
-
sender: `0x${string}`;
|
|
630
1594
|
nonce: bigint;
|
|
1595
|
+
sender: `0x${string}`;
|
|
631
1596
|
callData: `0x${string}`;
|
|
632
1597
|
callGasLimit: bigint;
|
|
633
1598
|
verificationGasLimit: bigint;
|
|
@@ -641,11 +1606,32 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
641
1606
|
paymasterVerificationGasLimit: bigint | null;
|
|
642
1607
|
paymasterPostOpGasLimit: bigint | null;
|
|
643
1608
|
paymasterData: `0x${string}` | null;
|
|
1609
|
+
eip7702Auth?: {
|
|
1610
|
+
contractAddress: `0x${string}`;
|
|
1611
|
+
chainId: number;
|
|
1612
|
+
nonce: number;
|
|
1613
|
+
r: `0x${string}`;
|
|
1614
|
+
s: `0x${string}`;
|
|
1615
|
+
yParity: number;
|
|
1616
|
+
v?: bigint | undefined;
|
|
1617
|
+
} | {
|
|
1618
|
+
chainId: number;
|
|
1619
|
+
nonce: number;
|
|
1620
|
+
r: `0x${string}`;
|
|
1621
|
+
s: `0x${string}`;
|
|
1622
|
+
yParity: number;
|
|
1623
|
+
address: `0x${string}`;
|
|
1624
|
+
v?: bigint | undefined;
|
|
1625
|
+
} | null | undefined;
|
|
644
1626
|
}, `0x${string}`, bigint, {
|
|
645
1627
|
token: `0x${string}`;
|
|
1628
|
+
} | {
|
|
1629
|
+
sponsorshipPolicyId?: string | undefined;
|
|
1630
|
+
validForSeconds?: number | undefined;
|
|
1631
|
+
meta?: Record<string, string> | undefined;
|
|
646
1632
|
} | null], [{
|
|
647
|
-
sender: string;
|
|
648
1633
|
nonce: string | number | bigint;
|
|
1634
|
+
sender: string;
|
|
649
1635
|
initCode: string;
|
|
650
1636
|
callData: string;
|
|
651
1637
|
callGasLimit: string | number | bigint;
|
|
@@ -655,9 +1641,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
655
1641
|
maxFeePerGas: string | number | bigint;
|
|
656
1642
|
paymasterAndData?: string | null | undefined;
|
|
657
1643
|
signature?: string | null | undefined;
|
|
1644
|
+
eip7702Auth?: {
|
|
1645
|
+
contractAddress: string;
|
|
1646
|
+
chainId: string | number | bigint;
|
|
1647
|
+
nonce: string | number | bigint;
|
|
1648
|
+
r: string;
|
|
1649
|
+
s: string;
|
|
1650
|
+
yParity: string | number | bigint;
|
|
1651
|
+
v?: string | number | bigint | undefined;
|
|
1652
|
+
} | {
|
|
1653
|
+
chainId: string | number | bigint;
|
|
1654
|
+
nonce: string | number | bigint;
|
|
1655
|
+
r: string;
|
|
1656
|
+
s: string;
|
|
1657
|
+
yParity: string | number | bigint;
|
|
1658
|
+
address: string;
|
|
1659
|
+
v?: string | number | bigint | undefined;
|
|
1660
|
+
} | null | undefined;
|
|
658
1661
|
} | {
|
|
659
|
-
sender: string;
|
|
660
1662
|
nonce: string | number | bigint;
|
|
1663
|
+
sender: string;
|
|
661
1664
|
callData: string;
|
|
662
1665
|
callGasLimit: string | number | bigint;
|
|
663
1666
|
verificationGasLimit: string | number | bigint;
|
|
@@ -665,6 +1668,23 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
665
1668
|
maxPriorityFeePerGas: string | number | bigint;
|
|
666
1669
|
maxFeePerGas: string | number | bigint;
|
|
667
1670
|
signature?: string | undefined;
|
|
1671
|
+
eip7702Auth?: {
|
|
1672
|
+
contractAddress: string;
|
|
1673
|
+
chainId: string | number | bigint;
|
|
1674
|
+
nonce: string | number | bigint;
|
|
1675
|
+
r: string;
|
|
1676
|
+
s: string;
|
|
1677
|
+
yParity: string | number | bigint;
|
|
1678
|
+
v?: string | number | bigint | undefined;
|
|
1679
|
+
} | {
|
|
1680
|
+
chainId: string | number | bigint;
|
|
1681
|
+
nonce: string | number | bigint;
|
|
1682
|
+
r: string;
|
|
1683
|
+
s: string;
|
|
1684
|
+
yParity: string | number | bigint;
|
|
1685
|
+
address: string;
|
|
1686
|
+
v?: string | number | bigint | undefined;
|
|
1687
|
+
} | null | undefined;
|
|
668
1688
|
factory?: string | null | undefined;
|
|
669
1689
|
factoryData?: string | null | undefined;
|
|
670
1690
|
paymaster?: string | null | undefined;
|
|
@@ -673,9 +1693,13 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
673
1693
|
paymasterData?: string | null | undefined;
|
|
674
1694
|
}, string, string | number | bigint, {
|
|
675
1695
|
token: string;
|
|
1696
|
+
} | {
|
|
1697
|
+
sponsorshipPolicyId?: string | undefined;
|
|
1698
|
+
validForSeconds?: number | undefined;
|
|
1699
|
+
meta?: Record<string, string> | undefined;
|
|
676
1700
|
} | null] | [{
|
|
677
|
-
sender: string;
|
|
678
1701
|
nonce: string | number | bigint;
|
|
1702
|
+
sender: string;
|
|
679
1703
|
initCode: string;
|
|
680
1704
|
callData: string;
|
|
681
1705
|
callGasLimit: string | number | bigint;
|
|
@@ -685,9 +1709,26 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
685
1709
|
maxFeePerGas: string | number | bigint;
|
|
686
1710
|
paymasterAndData?: string | null | undefined;
|
|
687
1711
|
signature?: string | null | undefined;
|
|
1712
|
+
eip7702Auth?: {
|
|
1713
|
+
contractAddress: string;
|
|
1714
|
+
chainId: string | number | bigint;
|
|
1715
|
+
nonce: string | number | bigint;
|
|
1716
|
+
r: string;
|
|
1717
|
+
s: string;
|
|
1718
|
+
yParity: string | number | bigint;
|
|
1719
|
+
v?: string | number | bigint | undefined;
|
|
1720
|
+
} | {
|
|
1721
|
+
chainId: string | number | bigint;
|
|
1722
|
+
nonce: string | number | bigint;
|
|
1723
|
+
r: string;
|
|
1724
|
+
s: string;
|
|
1725
|
+
yParity: string | number | bigint;
|
|
1726
|
+
address: string;
|
|
1727
|
+
v?: string | number | bigint | undefined;
|
|
1728
|
+
} | null | undefined;
|
|
688
1729
|
} | {
|
|
689
|
-
sender: string;
|
|
690
1730
|
nonce: string | number | bigint;
|
|
1731
|
+
sender: string;
|
|
691
1732
|
callData: string;
|
|
692
1733
|
callGasLimit: string | number | bigint;
|
|
693
1734
|
verificationGasLimit: string | number | bigint;
|
|
@@ -695,6 +1736,23 @@ export declare const pmGetPaymasterData: z.ZodEffects<z.ZodUnion<[z.ZodTuple<[z.
|
|
|
695
1736
|
maxPriorityFeePerGas: string | number | bigint;
|
|
696
1737
|
maxFeePerGas: string | number | bigint;
|
|
697
1738
|
signature?: string | undefined;
|
|
1739
|
+
eip7702Auth?: {
|
|
1740
|
+
contractAddress: string;
|
|
1741
|
+
chainId: string | number | bigint;
|
|
1742
|
+
nonce: string | number | bigint;
|
|
1743
|
+
r: string;
|
|
1744
|
+
s: string;
|
|
1745
|
+
yParity: string | number | bigint;
|
|
1746
|
+
v?: string | number | bigint | undefined;
|
|
1747
|
+
} | {
|
|
1748
|
+
chainId: string | number | bigint;
|
|
1749
|
+
nonce: string | number | bigint;
|
|
1750
|
+
r: string;
|
|
1751
|
+
s: string;
|
|
1752
|
+
yParity: string | number | bigint;
|
|
1753
|
+
address: string;
|
|
1754
|
+
v?: string | number | bigint | undefined;
|
|
1755
|
+
} | null | undefined;
|
|
698
1756
|
factory?: string | null | undefined;
|
|
699
1757
|
factoryData?: string | null | undefined;
|
|
700
1758
|
paymaster?: string | null | undefined;
|
|
@@ -714,9 +1772,58 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
714
1772
|
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
1773
|
paymasterAndData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
|
|
716
1774
|
signature: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
|
|
1775
|
+
eip7702Auth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1776
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1777
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1778
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1779
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1780
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1781
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
1782
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1783
|
+
}, "strip", z.ZodTypeAny, {
|
|
1784
|
+
contractAddress: `0x${string}`;
|
|
1785
|
+
chainId: number;
|
|
1786
|
+
nonce: number;
|
|
1787
|
+
r: `0x${string}`;
|
|
1788
|
+
s: `0x${string}`;
|
|
1789
|
+
yParity: number;
|
|
1790
|
+
v?: bigint | undefined;
|
|
1791
|
+
}, {
|
|
1792
|
+
contractAddress: string;
|
|
1793
|
+
chainId: string | number | bigint;
|
|
1794
|
+
nonce: string | number | bigint;
|
|
1795
|
+
r: string;
|
|
1796
|
+
s: string;
|
|
1797
|
+
yParity: string | number | bigint;
|
|
1798
|
+
v?: string | number | bigint | undefined;
|
|
1799
|
+
}>, z.ZodObject<{
|
|
1800
|
+
address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1801
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1802
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1803
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1804
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1805
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
1806
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1807
|
+
}, "strip", z.ZodTypeAny, {
|
|
1808
|
+
chainId: number;
|
|
1809
|
+
nonce: number;
|
|
1810
|
+
r: `0x${string}`;
|
|
1811
|
+
s: `0x${string}`;
|
|
1812
|
+
yParity: number;
|
|
1813
|
+
address: `0x${string}`;
|
|
1814
|
+
v?: bigint | undefined;
|
|
1815
|
+
}, {
|
|
1816
|
+
chainId: string | number | bigint;
|
|
1817
|
+
nonce: string | number | bigint;
|
|
1818
|
+
r: string;
|
|
1819
|
+
s: string;
|
|
1820
|
+
yParity: string | number | bigint;
|
|
1821
|
+
address: string;
|
|
1822
|
+
v?: string | number | bigint | undefined;
|
|
1823
|
+
}>]>>>;
|
|
717
1824
|
}, "strict", z.ZodTypeAny, {
|
|
718
|
-
sender: `0x${string}`;
|
|
719
1825
|
nonce: bigint;
|
|
1826
|
+
sender: `0x${string}`;
|
|
720
1827
|
initCode: `0x${string}`;
|
|
721
1828
|
callData: `0x${string}`;
|
|
722
1829
|
callGasLimit: bigint;
|
|
@@ -726,9 +1833,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
726
1833
|
maxFeePerGas: bigint;
|
|
727
1834
|
paymasterAndData: `0x${string}`;
|
|
728
1835
|
signature: `0x${string}`;
|
|
1836
|
+
eip7702Auth?: {
|
|
1837
|
+
contractAddress: `0x${string}`;
|
|
1838
|
+
chainId: number;
|
|
1839
|
+
nonce: number;
|
|
1840
|
+
r: `0x${string}`;
|
|
1841
|
+
s: `0x${string}`;
|
|
1842
|
+
yParity: number;
|
|
1843
|
+
v?: bigint | undefined;
|
|
1844
|
+
} | {
|
|
1845
|
+
chainId: number;
|
|
1846
|
+
nonce: number;
|
|
1847
|
+
r: `0x${string}`;
|
|
1848
|
+
s: `0x${string}`;
|
|
1849
|
+
yParity: number;
|
|
1850
|
+
address: `0x${string}`;
|
|
1851
|
+
v?: bigint | undefined;
|
|
1852
|
+
} | null | undefined;
|
|
729
1853
|
}, {
|
|
730
|
-
sender: string;
|
|
731
1854
|
nonce: string | number | bigint;
|
|
1855
|
+
sender: string;
|
|
732
1856
|
initCode: string;
|
|
733
1857
|
callData: string;
|
|
734
1858
|
callGasLimit: string | number | bigint;
|
|
@@ -738,9 +1862,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
738
1862
|
maxFeePerGas: string | number | bigint;
|
|
739
1863
|
paymasterAndData?: string | null | undefined;
|
|
740
1864
|
signature?: string | null | undefined;
|
|
1865
|
+
eip7702Auth?: {
|
|
1866
|
+
contractAddress: string;
|
|
1867
|
+
chainId: string | number | bigint;
|
|
1868
|
+
nonce: string | number | bigint;
|
|
1869
|
+
r: string;
|
|
1870
|
+
s: string;
|
|
1871
|
+
yParity: string | number | bigint;
|
|
1872
|
+
v?: string | number | bigint | undefined;
|
|
1873
|
+
} | {
|
|
1874
|
+
chainId: string | number | bigint;
|
|
1875
|
+
nonce: string | number | bigint;
|
|
1876
|
+
r: string;
|
|
1877
|
+
s: string;
|
|
1878
|
+
yParity: string | number | bigint;
|
|
1879
|
+
address: string;
|
|
1880
|
+
v?: string | number | bigint | undefined;
|
|
1881
|
+
} | null | undefined;
|
|
741
1882
|
}>, {
|
|
742
|
-
sender: `0x${string}`;
|
|
743
1883
|
nonce: bigint;
|
|
1884
|
+
sender: `0x${string}`;
|
|
744
1885
|
initCode: `0x${string}`;
|
|
745
1886
|
callData: `0x${string}`;
|
|
746
1887
|
callGasLimit: bigint;
|
|
@@ -750,9 +1891,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
750
1891
|
maxFeePerGas: bigint;
|
|
751
1892
|
paymasterAndData: `0x${string}`;
|
|
752
1893
|
signature: `0x${string}`;
|
|
1894
|
+
eip7702Auth?: {
|
|
1895
|
+
contractAddress: `0x${string}`;
|
|
1896
|
+
chainId: number;
|
|
1897
|
+
nonce: number;
|
|
1898
|
+
r: `0x${string}`;
|
|
1899
|
+
s: `0x${string}`;
|
|
1900
|
+
yParity: number;
|
|
1901
|
+
v?: bigint | undefined;
|
|
1902
|
+
} | {
|
|
1903
|
+
chainId: number;
|
|
1904
|
+
nonce: number;
|
|
1905
|
+
r: `0x${string}`;
|
|
1906
|
+
s: `0x${string}`;
|
|
1907
|
+
yParity: number;
|
|
1908
|
+
address: `0x${string}`;
|
|
1909
|
+
v?: bigint | undefined;
|
|
1910
|
+
} | null | undefined;
|
|
753
1911
|
}, {
|
|
754
|
-
sender: string;
|
|
755
1912
|
nonce: string | number | bigint;
|
|
1913
|
+
sender: string;
|
|
756
1914
|
initCode: string;
|
|
757
1915
|
callData: string;
|
|
758
1916
|
callGasLimit: string | number | bigint;
|
|
@@ -762,6 +1920,23 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
762
1920
|
maxFeePerGas: string | number | bigint;
|
|
763
1921
|
paymasterAndData?: string | null | undefined;
|
|
764
1922
|
signature?: string | null | undefined;
|
|
1923
|
+
eip7702Auth?: {
|
|
1924
|
+
contractAddress: string;
|
|
1925
|
+
chainId: string | number | bigint;
|
|
1926
|
+
nonce: string | number | bigint;
|
|
1927
|
+
r: string;
|
|
1928
|
+
s: string;
|
|
1929
|
+
yParity: string | number | bigint;
|
|
1930
|
+
v?: string | number | bigint | undefined;
|
|
1931
|
+
} | {
|
|
1932
|
+
chainId: string | number | bigint;
|
|
1933
|
+
nonce: string | number | bigint;
|
|
1934
|
+
r: string;
|
|
1935
|
+
s: string;
|
|
1936
|
+
yParity: string | number | bigint;
|
|
1937
|
+
address: string;
|
|
1938
|
+
v?: string | number | bigint | undefined;
|
|
1939
|
+
} | null | undefined;
|
|
765
1940
|
}>, z.ZodEffects<z.ZodObject<{
|
|
766
1941
|
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
767
1942
|
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>;
|
|
@@ -778,9 +1953,58 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
778
1953
|
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
1954
|
paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
780
1955
|
signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
|
|
1956
|
+
eip7702Auth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1957
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1958
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1959
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1960
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1961
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1962
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
1963
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1964
|
+
}, "strip", z.ZodTypeAny, {
|
|
1965
|
+
contractAddress: `0x${string}`;
|
|
1966
|
+
chainId: number;
|
|
1967
|
+
nonce: number;
|
|
1968
|
+
r: `0x${string}`;
|
|
1969
|
+
s: `0x${string}`;
|
|
1970
|
+
yParity: number;
|
|
1971
|
+
v?: bigint | undefined;
|
|
1972
|
+
}, {
|
|
1973
|
+
contractAddress: string;
|
|
1974
|
+
chainId: string | number | bigint;
|
|
1975
|
+
nonce: string | number | bigint;
|
|
1976
|
+
r: string;
|
|
1977
|
+
s: string;
|
|
1978
|
+
yParity: string | number | bigint;
|
|
1979
|
+
v?: string | number | bigint | undefined;
|
|
1980
|
+
}>, z.ZodObject<{
|
|
1981
|
+
address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1982
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1983
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1984
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1985
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
1986
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
1987
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
1988
|
+
}, "strip", z.ZodTypeAny, {
|
|
1989
|
+
chainId: number;
|
|
1990
|
+
nonce: number;
|
|
1991
|
+
r: `0x${string}`;
|
|
1992
|
+
s: `0x${string}`;
|
|
1993
|
+
yParity: number;
|
|
1994
|
+
address: `0x${string}`;
|
|
1995
|
+
v?: bigint | undefined;
|
|
1996
|
+
}, {
|
|
1997
|
+
chainId: string | number | bigint;
|
|
1998
|
+
nonce: string | number | bigint;
|
|
1999
|
+
r: string;
|
|
2000
|
+
s: string;
|
|
2001
|
+
yParity: string | number | bigint;
|
|
2002
|
+
address: string;
|
|
2003
|
+
v?: string | number | bigint | undefined;
|
|
2004
|
+
}>]>>>;
|
|
781
2005
|
}, "strict", z.ZodTypeAny, {
|
|
782
|
-
sender: `0x${string}`;
|
|
783
2006
|
nonce: bigint;
|
|
2007
|
+
sender: `0x${string}`;
|
|
784
2008
|
callData: `0x${string}`;
|
|
785
2009
|
callGasLimit: bigint;
|
|
786
2010
|
verificationGasLimit: bigint;
|
|
@@ -794,9 +2018,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
794
2018
|
paymasterVerificationGasLimit: bigint | null;
|
|
795
2019
|
paymasterPostOpGasLimit: bigint | null;
|
|
796
2020
|
paymasterData: `0x${string}` | null;
|
|
2021
|
+
eip7702Auth?: {
|
|
2022
|
+
contractAddress: `0x${string}`;
|
|
2023
|
+
chainId: number;
|
|
2024
|
+
nonce: number;
|
|
2025
|
+
r: `0x${string}`;
|
|
2026
|
+
s: `0x${string}`;
|
|
2027
|
+
yParity: number;
|
|
2028
|
+
v?: bigint | undefined;
|
|
2029
|
+
} | {
|
|
2030
|
+
chainId: number;
|
|
2031
|
+
nonce: number;
|
|
2032
|
+
r: `0x${string}`;
|
|
2033
|
+
s: `0x${string}`;
|
|
2034
|
+
yParity: number;
|
|
2035
|
+
address: `0x${string}`;
|
|
2036
|
+
v?: bigint | undefined;
|
|
2037
|
+
} | null | undefined;
|
|
797
2038
|
}, {
|
|
798
|
-
sender: string;
|
|
799
2039
|
nonce: string | number | bigint;
|
|
2040
|
+
sender: string;
|
|
800
2041
|
callData: string;
|
|
801
2042
|
callGasLimit: string | number | bigint;
|
|
802
2043
|
verificationGasLimit: string | number | bigint;
|
|
@@ -804,6 +2045,23 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
804
2045
|
maxPriorityFeePerGas: string | number | bigint;
|
|
805
2046
|
maxFeePerGas: string | number | bigint;
|
|
806
2047
|
signature?: string | undefined;
|
|
2048
|
+
eip7702Auth?: {
|
|
2049
|
+
contractAddress: string;
|
|
2050
|
+
chainId: string | number | bigint;
|
|
2051
|
+
nonce: string | number | bigint;
|
|
2052
|
+
r: string;
|
|
2053
|
+
s: string;
|
|
2054
|
+
yParity: string | number | bigint;
|
|
2055
|
+
v?: string | number | bigint | undefined;
|
|
2056
|
+
} | {
|
|
2057
|
+
chainId: string | number | bigint;
|
|
2058
|
+
nonce: string | number | bigint;
|
|
2059
|
+
r: string;
|
|
2060
|
+
s: string;
|
|
2061
|
+
yParity: string | number | bigint;
|
|
2062
|
+
address: string;
|
|
2063
|
+
v?: string | number | bigint | undefined;
|
|
2064
|
+
} | null | undefined;
|
|
807
2065
|
factory?: string | null | undefined;
|
|
808
2066
|
factoryData?: string | null | undefined;
|
|
809
2067
|
paymaster?: string | null | undefined;
|
|
@@ -811,8 +2069,8 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
811
2069
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
812
2070
|
paymasterData?: string | null | undefined;
|
|
813
2071
|
}>, {
|
|
814
|
-
sender: `0x${string}`;
|
|
815
2072
|
nonce: bigint;
|
|
2073
|
+
sender: `0x${string}`;
|
|
816
2074
|
callData: `0x${string}`;
|
|
817
2075
|
callGasLimit: bigint;
|
|
818
2076
|
verificationGasLimit: bigint;
|
|
@@ -826,9 +2084,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
826
2084
|
paymasterVerificationGasLimit: bigint | null;
|
|
827
2085
|
paymasterPostOpGasLimit: bigint | null;
|
|
828
2086
|
paymasterData: `0x${string}` | null;
|
|
2087
|
+
eip7702Auth?: {
|
|
2088
|
+
contractAddress: `0x${string}`;
|
|
2089
|
+
chainId: number;
|
|
2090
|
+
nonce: number;
|
|
2091
|
+
r: `0x${string}`;
|
|
2092
|
+
s: `0x${string}`;
|
|
2093
|
+
yParity: number;
|
|
2094
|
+
v?: bigint | undefined;
|
|
2095
|
+
} | {
|
|
2096
|
+
chainId: number;
|
|
2097
|
+
nonce: number;
|
|
2098
|
+
r: `0x${string}`;
|
|
2099
|
+
s: `0x${string}`;
|
|
2100
|
+
yParity: number;
|
|
2101
|
+
address: `0x${string}`;
|
|
2102
|
+
v?: bigint | undefined;
|
|
2103
|
+
} | null | undefined;
|
|
829
2104
|
}, {
|
|
830
|
-
sender: string;
|
|
831
2105
|
nonce: string | number | bigint;
|
|
2106
|
+
sender: string;
|
|
832
2107
|
callData: string;
|
|
833
2108
|
callGasLimit: string | number | bigint;
|
|
834
2109
|
verificationGasLimit: string | number | bigint;
|
|
@@ -836,19 +2111,48 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
836
2111
|
maxPriorityFeePerGas: string | number | bigint;
|
|
837
2112
|
maxFeePerGas: string | number | bigint;
|
|
838
2113
|
signature?: string | undefined;
|
|
2114
|
+
eip7702Auth?: {
|
|
2115
|
+
contractAddress: string;
|
|
2116
|
+
chainId: string | number | bigint;
|
|
2117
|
+
nonce: string | number | bigint;
|
|
2118
|
+
r: string;
|
|
2119
|
+
s: string;
|
|
2120
|
+
yParity: string | number | bigint;
|
|
2121
|
+
v?: string | number | bigint | undefined;
|
|
2122
|
+
} | {
|
|
2123
|
+
chainId: string | number | bigint;
|
|
2124
|
+
nonce: string | number | bigint;
|
|
2125
|
+
r: string;
|
|
2126
|
+
s: string;
|
|
2127
|
+
yParity: string | number | bigint;
|
|
2128
|
+
address: string;
|
|
2129
|
+
v?: string | number | bigint | undefined;
|
|
2130
|
+
} | null | undefined;
|
|
839
2131
|
factory?: string | null | undefined;
|
|
840
2132
|
factoryData?: string | null | undefined;
|
|
841
2133
|
paymaster?: string | null | undefined;
|
|
842
2134
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
843
2135
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
844
2136
|
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<{
|
|
2137
|
+
}>]>, 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.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
846
2138
|
token: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
847
2139
|
}, "strip", z.ZodTypeAny, {
|
|
848
2140
|
token: `0x${string}`;
|
|
849
2141
|
}, {
|
|
850
2142
|
token: string;
|
|
851
|
-
}>, z.
|
|
2143
|
+
}>, z.ZodObject<{
|
|
2144
|
+
sponsorshipPolicyId: z.ZodOptional<z.ZodString>;
|
|
2145
|
+
validForSeconds: z.ZodOptional<z.ZodNumber>;
|
|
2146
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2147
|
+
}, "strip", z.ZodTypeAny, {
|
|
2148
|
+
sponsorshipPolicyId?: string | undefined;
|
|
2149
|
+
validForSeconds?: number | undefined;
|
|
2150
|
+
meta?: Record<string, string> | undefined;
|
|
2151
|
+
}, {
|
|
2152
|
+
sponsorshipPolicyId?: string | undefined;
|
|
2153
|
+
validForSeconds?: number | undefined;
|
|
2154
|
+
meta?: Record<string, string> | undefined;
|
|
2155
|
+
}>, z.ZodNull]>>], null>, z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
852
2156
|
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
853
2157
|
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
2158
|
initCode: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -860,9 +2164,58 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
860
2164
|
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
2165
|
paymasterAndData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
|
|
862
2166
|
signature: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}`, string | null | undefined>;
|
|
2167
|
+
eip7702Auth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2168
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2169
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2170
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2171
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2172
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2173
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2174
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2175
|
+
}, "strip", z.ZodTypeAny, {
|
|
2176
|
+
contractAddress: `0x${string}`;
|
|
2177
|
+
chainId: number;
|
|
2178
|
+
nonce: number;
|
|
2179
|
+
r: `0x${string}`;
|
|
2180
|
+
s: `0x${string}`;
|
|
2181
|
+
yParity: number;
|
|
2182
|
+
v?: bigint | undefined;
|
|
2183
|
+
}, {
|
|
2184
|
+
contractAddress: string;
|
|
2185
|
+
chainId: string | number | bigint;
|
|
2186
|
+
nonce: string | number | bigint;
|
|
2187
|
+
r: string;
|
|
2188
|
+
s: string;
|
|
2189
|
+
yParity: string | number | bigint;
|
|
2190
|
+
v?: string | number | bigint | undefined;
|
|
2191
|
+
}>, z.ZodObject<{
|
|
2192
|
+
address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2193
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2194
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2195
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2196
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2197
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2198
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2199
|
+
}, "strip", z.ZodTypeAny, {
|
|
2200
|
+
chainId: number;
|
|
2201
|
+
nonce: number;
|
|
2202
|
+
r: `0x${string}`;
|
|
2203
|
+
s: `0x${string}`;
|
|
2204
|
+
yParity: number;
|
|
2205
|
+
address: `0x${string}`;
|
|
2206
|
+
v?: bigint | undefined;
|
|
2207
|
+
}, {
|
|
2208
|
+
chainId: string | number | bigint;
|
|
2209
|
+
nonce: string | number | bigint;
|
|
2210
|
+
r: string;
|
|
2211
|
+
s: string;
|
|
2212
|
+
yParity: string | number | bigint;
|
|
2213
|
+
address: string;
|
|
2214
|
+
v?: string | number | bigint | undefined;
|
|
2215
|
+
}>]>>>;
|
|
863
2216
|
}, "strict", z.ZodTypeAny, {
|
|
864
|
-
sender: `0x${string}`;
|
|
865
2217
|
nonce: bigint;
|
|
2218
|
+
sender: `0x${string}`;
|
|
866
2219
|
initCode: `0x${string}`;
|
|
867
2220
|
callData: `0x${string}`;
|
|
868
2221
|
callGasLimit: bigint;
|
|
@@ -872,9 +2225,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
872
2225
|
maxFeePerGas: bigint;
|
|
873
2226
|
paymasterAndData: `0x${string}`;
|
|
874
2227
|
signature: `0x${string}`;
|
|
2228
|
+
eip7702Auth?: {
|
|
2229
|
+
contractAddress: `0x${string}`;
|
|
2230
|
+
chainId: number;
|
|
2231
|
+
nonce: number;
|
|
2232
|
+
r: `0x${string}`;
|
|
2233
|
+
s: `0x${string}`;
|
|
2234
|
+
yParity: number;
|
|
2235
|
+
v?: bigint | undefined;
|
|
2236
|
+
} | {
|
|
2237
|
+
chainId: number;
|
|
2238
|
+
nonce: number;
|
|
2239
|
+
r: `0x${string}`;
|
|
2240
|
+
s: `0x${string}`;
|
|
2241
|
+
yParity: number;
|
|
2242
|
+
address: `0x${string}`;
|
|
2243
|
+
v?: bigint | undefined;
|
|
2244
|
+
} | null | undefined;
|
|
875
2245
|
}, {
|
|
876
|
-
sender: string;
|
|
877
2246
|
nonce: string | number | bigint;
|
|
2247
|
+
sender: string;
|
|
878
2248
|
initCode: string;
|
|
879
2249
|
callData: string;
|
|
880
2250
|
callGasLimit: string | number | bigint;
|
|
@@ -884,9 +2254,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
884
2254
|
maxFeePerGas: string | number | bigint;
|
|
885
2255
|
paymasterAndData?: string | null | undefined;
|
|
886
2256
|
signature?: string | null | undefined;
|
|
2257
|
+
eip7702Auth?: {
|
|
2258
|
+
contractAddress: string;
|
|
2259
|
+
chainId: string | number | bigint;
|
|
2260
|
+
nonce: string | number | bigint;
|
|
2261
|
+
r: string;
|
|
2262
|
+
s: string;
|
|
2263
|
+
yParity: string | number | bigint;
|
|
2264
|
+
v?: string | number | bigint | undefined;
|
|
2265
|
+
} | {
|
|
2266
|
+
chainId: string | number | bigint;
|
|
2267
|
+
nonce: string | number | bigint;
|
|
2268
|
+
r: string;
|
|
2269
|
+
s: string;
|
|
2270
|
+
yParity: string | number | bigint;
|
|
2271
|
+
address: string;
|
|
2272
|
+
v?: string | number | bigint | undefined;
|
|
2273
|
+
} | null | undefined;
|
|
887
2274
|
}>, {
|
|
888
|
-
sender: `0x${string}`;
|
|
889
2275
|
nonce: bigint;
|
|
2276
|
+
sender: `0x${string}`;
|
|
890
2277
|
initCode: `0x${string}`;
|
|
891
2278
|
callData: `0x${string}`;
|
|
892
2279
|
callGasLimit: bigint;
|
|
@@ -896,9 +2283,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
896
2283
|
maxFeePerGas: bigint;
|
|
897
2284
|
paymasterAndData: `0x${string}`;
|
|
898
2285
|
signature: `0x${string}`;
|
|
2286
|
+
eip7702Auth?: {
|
|
2287
|
+
contractAddress: `0x${string}`;
|
|
2288
|
+
chainId: number;
|
|
2289
|
+
nonce: number;
|
|
2290
|
+
r: `0x${string}`;
|
|
2291
|
+
s: `0x${string}`;
|
|
2292
|
+
yParity: number;
|
|
2293
|
+
v?: bigint | undefined;
|
|
2294
|
+
} | {
|
|
2295
|
+
chainId: number;
|
|
2296
|
+
nonce: number;
|
|
2297
|
+
r: `0x${string}`;
|
|
2298
|
+
s: `0x${string}`;
|
|
2299
|
+
yParity: number;
|
|
2300
|
+
address: `0x${string}`;
|
|
2301
|
+
v?: bigint | undefined;
|
|
2302
|
+
} | null | undefined;
|
|
899
2303
|
}, {
|
|
900
|
-
sender: string;
|
|
901
2304
|
nonce: string | number | bigint;
|
|
2305
|
+
sender: string;
|
|
902
2306
|
initCode: string;
|
|
903
2307
|
callData: string;
|
|
904
2308
|
callGasLimit: string | number | bigint;
|
|
@@ -908,6 +2312,23 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
908
2312
|
maxFeePerGas: string | number | bigint;
|
|
909
2313
|
paymasterAndData?: string | null | undefined;
|
|
910
2314
|
signature?: string | null | undefined;
|
|
2315
|
+
eip7702Auth?: {
|
|
2316
|
+
contractAddress: string;
|
|
2317
|
+
chainId: string | number | bigint;
|
|
2318
|
+
nonce: string | number | bigint;
|
|
2319
|
+
r: string;
|
|
2320
|
+
s: string;
|
|
2321
|
+
yParity: string | number | bigint;
|
|
2322
|
+
v?: string | number | bigint | undefined;
|
|
2323
|
+
} | {
|
|
2324
|
+
chainId: string | number | bigint;
|
|
2325
|
+
nonce: string | number | bigint;
|
|
2326
|
+
r: string;
|
|
2327
|
+
s: string;
|
|
2328
|
+
yParity: string | number | bigint;
|
|
2329
|
+
address: string;
|
|
2330
|
+
v?: string | number | bigint | undefined;
|
|
2331
|
+
} | null | undefined;
|
|
911
2332
|
}>, z.ZodEffects<z.ZodObject<{
|
|
912
2333
|
sender: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
913
2334
|
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>;
|
|
@@ -924,9 +2345,58 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
924
2345
|
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
2346
|
paymasterData: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>>, `0x${string}` | null, string | null | undefined>;
|
|
926
2347
|
signature: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodString, `0x${string}`, string>>, `0x${string}`, string | undefined>;
|
|
2348
|
+
eip7702Auth: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2349
|
+
contractAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2350
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2351
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2352
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2353
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2354
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2355
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2356
|
+
}, "strip", z.ZodTypeAny, {
|
|
2357
|
+
contractAddress: `0x${string}`;
|
|
2358
|
+
chainId: number;
|
|
2359
|
+
nonce: number;
|
|
2360
|
+
r: `0x${string}`;
|
|
2361
|
+
s: `0x${string}`;
|
|
2362
|
+
yParity: number;
|
|
2363
|
+
v?: bigint | undefined;
|
|
2364
|
+
}, {
|
|
2365
|
+
contractAddress: string;
|
|
2366
|
+
chainId: string | number | bigint;
|
|
2367
|
+
nonce: string | number | bigint;
|
|
2368
|
+
r: string;
|
|
2369
|
+
s: string;
|
|
2370
|
+
yParity: string | number | bigint;
|
|
2371
|
+
v?: string | number | bigint | undefined;
|
|
2372
|
+
}>, z.ZodObject<{
|
|
2373
|
+
address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2374
|
+
chainId: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2375
|
+
nonce: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2376
|
+
r: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2377
|
+
s: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, `0x${string}`, string>;
|
|
2378
|
+
v: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>>;
|
|
2379
|
+
yParity: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodBigInt]>, string | number | bigint, string | number | bigint>, bigint, string | number | bigint>, number, string | number | bigint>;
|
|
2380
|
+
}, "strip", z.ZodTypeAny, {
|
|
2381
|
+
chainId: number;
|
|
2382
|
+
nonce: number;
|
|
2383
|
+
r: `0x${string}`;
|
|
2384
|
+
s: `0x${string}`;
|
|
2385
|
+
yParity: number;
|
|
2386
|
+
address: `0x${string}`;
|
|
2387
|
+
v?: bigint | undefined;
|
|
2388
|
+
}, {
|
|
2389
|
+
chainId: string | number | bigint;
|
|
2390
|
+
nonce: string | number | bigint;
|
|
2391
|
+
r: string;
|
|
2392
|
+
s: string;
|
|
2393
|
+
yParity: string | number | bigint;
|
|
2394
|
+
address: string;
|
|
2395
|
+
v?: string | number | bigint | undefined;
|
|
2396
|
+
}>]>>>;
|
|
927
2397
|
}, "strict", z.ZodTypeAny, {
|
|
928
|
-
sender: `0x${string}`;
|
|
929
2398
|
nonce: bigint;
|
|
2399
|
+
sender: `0x${string}`;
|
|
930
2400
|
callData: `0x${string}`;
|
|
931
2401
|
callGasLimit: bigint;
|
|
932
2402
|
verificationGasLimit: bigint;
|
|
@@ -940,9 +2410,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
940
2410
|
paymasterVerificationGasLimit: bigint | null;
|
|
941
2411
|
paymasterPostOpGasLimit: bigint | null;
|
|
942
2412
|
paymasterData: `0x${string}` | null;
|
|
2413
|
+
eip7702Auth?: {
|
|
2414
|
+
contractAddress: `0x${string}`;
|
|
2415
|
+
chainId: number;
|
|
2416
|
+
nonce: number;
|
|
2417
|
+
r: `0x${string}`;
|
|
2418
|
+
s: `0x${string}`;
|
|
2419
|
+
yParity: number;
|
|
2420
|
+
v?: bigint | undefined;
|
|
2421
|
+
} | {
|
|
2422
|
+
chainId: number;
|
|
2423
|
+
nonce: number;
|
|
2424
|
+
r: `0x${string}`;
|
|
2425
|
+
s: `0x${string}`;
|
|
2426
|
+
yParity: number;
|
|
2427
|
+
address: `0x${string}`;
|
|
2428
|
+
v?: bigint | undefined;
|
|
2429
|
+
} | null | undefined;
|
|
943
2430
|
}, {
|
|
944
|
-
sender: string;
|
|
945
2431
|
nonce: string | number | bigint;
|
|
2432
|
+
sender: string;
|
|
946
2433
|
callData: string;
|
|
947
2434
|
callGasLimit: string | number | bigint;
|
|
948
2435
|
verificationGasLimit: string | number | bigint;
|
|
@@ -950,6 +2437,23 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
950
2437
|
maxPriorityFeePerGas: string | number | bigint;
|
|
951
2438
|
maxFeePerGas: string | number | bigint;
|
|
952
2439
|
signature?: string | undefined;
|
|
2440
|
+
eip7702Auth?: {
|
|
2441
|
+
contractAddress: string;
|
|
2442
|
+
chainId: string | number | bigint;
|
|
2443
|
+
nonce: string | number | bigint;
|
|
2444
|
+
r: string;
|
|
2445
|
+
s: string;
|
|
2446
|
+
yParity: string | number | bigint;
|
|
2447
|
+
v?: string | number | bigint | undefined;
|
|
2448
|
+
} | {
|
|
2449
|
+
chainId: string | number | bigint;
|
|
2450
|
+
nonce: string | number | bigint;
|
|
2451
|
+
r: string;
|
|
2452
|
+
s: string;
|
|
2453
|
+
yParity: string | number | bigint;
|
|
2454
|
+
address: string;
|
|
2455
|
+
v?: string | number | bigint | undefined;
|
|
2456
|
+
} | null | undefined;
|
|
953
2457
|
factory?: string | null | undefined;
|
|
954
2458
|
factoryData?: string | null | undefined;
|
|
955
2459
|
paymaster?: string | null | undefined;
|
|
@@ -957,8 +2461,8 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
957
2461
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
958
2462
|
paymasterData?: string | null | undefined;
|
|
959
2463
|
}>, {
|
|
960
|
-
sender: `0x${string}`;
|
|
961
2464
|
nonce: bigint;
|
|
2465
|
+
sender: `0x${string}`;
|
|
962
2466
|
callData: `0x${string}`;
|
|
963
2467
|
callGasLimit: bigint;
|
|
964
2468
|
verificationGasLimit: bigint;
|
|
@@ -972,9 +2476,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
972
2476
|
paymasterVerificationGasLimit: bigint | null;
|
|
973
2477
|
paymasterPostOpGasLimit: bigint | null;
|
|
974
2478
|
paymasterData: `0x${string}` | null;
|
|
2479
|
+
eip7702Auth?: {
|
|
2480
|
+
contractAddress: `0x${string}`;
|
|
2481
|
+
chainId: number;
|
|
2482
|
+
nonce: number;
|
|
2483
|
+
r: `0x${string}`;
|
|
2484
|
+
s: `0x${string}`;
|
|
2485
|
+
yParity: number;
|
|
2486
|
+
v?: bigint | undefined;
|
|
2487
|
+
} | {
|
|
2488
|
+
chainId: number;
|
|
2489
|
+
nonce: number;
|
|
2490
|
+
r: `0x${string}`;
|
|
2491
|
+
s: `0x${string}`;
|
|
2492
|
+
yParity: number;
|
|
2493
|
+
address: `0x${string}`;
|
|
2494
|
+
v?: bigint | undefined;
|
|
2495
|
+
} | null | undefined;
|
|
975
2496
|
}, {
|
|
976
|
-
sender: string;
|
|
977
2497
|
nonce: string | number | bigint;
|
|
2498
|
+
sender: string;
|
|
978
2499
|
callData: string;
|
|
979
2500
|
callGasLimit: string | number | bigint;
|
|
980
2501
|
verificationGasLimit: string | number | bigint;
|
|
@@ -982,6 +2503,23 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
982
2503
|
maxPriorityFeePerGas: string | number | bigint;
|
|
983
2504
|
maxFeePerGas: string | number | bigint;
|
|
984
2505
|
signature?: string | undefined;
|
|
2506
|
+
eip7702Auth?: {
|
|
2507
|
+
contractAddress: string;
|
|
2508
|
+
chainId: string | number | bigint;
|
|
2509
|
+
nonce: string | number | bigint;
|
|
2510
|
+
r: string;
|
|
2511
|
+
s: string;
|
|
2512
|
+
yParity: string | number | bigint;
|
|
2513
|
+
v?: string | number | bigint | undefined;
|
|
2514
|
+
} | {
|
|
2515
|
+
chainId: string | number | bigint;
|
|
2516
|
+
nonce: string | number | bigint;
|
|
2517
|
+
r: string;
|
|
2518
|
+
s: string;
|
|
2519
|
+
yParity: string | number | bigint;
|
|
2520
|
+
address: string;
|
|
2521
|
+
v?: string | number | bigint | undefined;
|
|
2522
|
+
} | null | undefined;
|
|
985
2523
|
factory?: string | null | undefined;
|
|
986
2524
|
factoryData?: string | null | undefined;
|
|
987
2525
|
paymaster?: string | null | undefined;
|
|
@@ -989,8 +2527,8 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
989
2527
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
990
2528
|
paymasterData?: string | null | undefined;
|
|
991
2529
|
}>]>, 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
2530
|
nonce: bigint;
|
|
2531
|
+
sender: `0x${string}`;
|
|
994
2532
|
initCode: `0x${string}`;
|
|
995
2533
|
callData: `0x${string}`;
|
|
996
2534
|
callGasLimit: bigint;
|
|
@@ -1000,9 +2538,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
1000
2538
|
maxFeePerGas: bigint;
|
|
1001
2539
|
paymasterAndData: `0x${string}`;
|
|
1002
2540
|
signature: `0x${string}`;
|
|
2541
|
+
eip7702Auth?: {
|
|
2542
|
+
contractAddress: `0x${string}`;
|
|
2543
|
+
chainId: number;
|
|
2544
|
+
nonce: number;
|
|
2545
|
+
r: `0x${string}`;
|
|
2546
|
+
s: `0x${string}`;
|
|
2547
|
+
yParity: number;
|
|
2548
|
+
v?: bigint | undefined;
|
|
2549
|
+
} | {
|
|
2550
|
+
chainId: number;
|
|
2551
|
+
nonce: number;
|
|
2552
|
+
r: `0x${string}`;
|
|
2553
|
+
s: `0x${string}`;
|
|
2554
|
+
yParity: number;
|
|
2555
|
+
address: `0x${string}`;
|
|
2556
|
+
v?: bigint | undefined;
|
|
2557
|
+
} | null | undefined;
|
|
1003
2558
|
} | {
|
|
1004
|
-
sender: `0x${string}`;
|
|
1005
2559
|
nonce: bigint;
|
|
2560
|
+
sender: `0x${string}`;
|
|
1006
2561
|
callData: `0x${string}`;
|
|
1007
2562
|
callGasLimit: bigint;
|
|
1008
2563
|
verificationGasLimit: bigint;
|
|
@@ -1016,11 +2571,32 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
1016
2571
|
paymasterVerificationGasLimit: bigint | null;
|
|
1017
2572
|
paymasterPostOpGasLimit: bigint | null;
|
|
1018
2573
|
paymasterData: `0x${string}` | null;
|
|
2574
|
+
eip7702Auth?: {
|
|
2575
|
+
contractAddress: `0x${string}`;
|
|
2576
|
+
chainId: number;
|
|
2577
|
+
nonce: number;
|
|
2578
|
+
r: `0x${string}`;
|
|
2579
|
+
s: `0x${string}`;
|
|
2580
|
+
yParity: number;
|
|
2581
|
+
v?: bigint | undefined;
|
|
2582
|
+
} | {
|
|
2583
|
+
chainId: number;
|
|
2584
|
+
nonce: number;
|
|
2585
|
+
r: `0x${string}`;
|
|
2586
|
+
s: `0x${string}`;
|
|
2587
|
+
yParity: number;
|
|
2588
|
+
address: `0x${string}`;
|
|
2589
|
+
v?: bigint | undefined;
|
|
2590
|
+
} | null | undefined;
|
|
1019
2591
|
}, `0x${string}`, bigint, {
|
|
1020
2592
|
token: `0x${string}`;
|
|
2593
|
+
} | {
|
|
2594
|
+
sponsorshipPolicyId?: string | undefined;
|
|
2595
|
+
validForSeconds?: number | undefined;
|
|
2596
|
+
meta?: Record<string, string> | undefined;
|
|
1021
2597
|
} | null], [{
|
|
1022
|
-
sender: string;
|
|
1023
2598
|
nonce: string | number | bigint;
|
|
2599
|
+
sender: string;
|
|
1024
2600
|
initCode: string;
|
|
1025
2601
|
callData: string;
|
|
1026
2602
|
callGasLimit: string | number | bigint;
|
|
@@ -1030,9 +2606,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
1030
2606
|
maxFeePerGas: string | number | bigint;
|
|
1031
2607
|
paymasterAndData?: string | null | undefined;
|
|
1032
2608
|
signature?: string | null | undefined;
|
|
2609
|
+
eip7702Auth?: {
|
|
2610
|
+
contractAddress: string;
|
|
2611
|
+
chainId: string | number | bigint;
|
|
2612
|
+
nonce: string | number | bigint;
|
|
2613
|
+
r: string;
|
|
2614
|
+
s: string;
|
|
2615
|
+
yParity: string | number | bigint;
|
|
2616
|
+
v?: string | number | bigint | undefined;
|
|
2617
|
+
} | {
|
|
2618
|
+
chainId: string | number | bigint;
|
|
2619
|
+
nonce: string | number | bigint;
|
|
2620
|
+
r: string;
|
|
2621
|
+
s: string;
|
|
2622
|
+
yParity: string | number | bigint;
|
|
2623
|
+
address: string;
|
|
2624
|
+
v?: string | number | bigint | undefined;
|
|
2625
|
+
} | null | undefined;
|
|
1033
2626
|
} | {
|
|
1034
|
-
sender: string;
|
|
1035
2627
|
nonce: string | number | bigint;
|
|
2628
|
+
sender: string;
|
|
1036
2629
|
callData: string;
|
|
1037
2630
|
callGasLimit: string | number | bigint;
|
|
1038
2631
|
verificationGasLimit: string | number | bigint;
|
|
@@ -1040,15 +2633,38 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
1040
2633
|
maxPriorityFeePerGas: string | number | bigint;
|
|
1041
2634
|
maxFeePerGas: string | number | bigint;
|
|
1042
2635
|
signature?: string | undefined;
|
|
2636
|
+
eip7702Auth?: {
|
|
2637
|
+
contractAddress: string;
|
|
2638
|
+
chainId: string | number | bigint;
|
|
2639
|
+
nonce: string | number | bigint;
|
|
2640
|
+
r: string;
|
|
2641
|
+
s: string;
|
|
2642
|
+
yParity: string | number | bigint;
|
|
2643
|
+
v?: string | number | bigint | undefined;
|
|
2644
|
+
} | {
|
|
2645
|
+
chainId: string | number | bigint;
|
|
2646
|
+
nonce: string | number | bigint;
|
|
2647
|
+
r: string;
|
|
2648
|
+
s: string;
|
|
2649
|
+
yParity: string | number | bigint;
|
|
2650
|
+
address: string;
|
|
2651
|
+
v?: string | number | bigint | undefined;
|
|
2652
|
+
} | null | undefined;
|
|
1043
2653
|
factory?: string | null | undefined;
|
|
1044
2654
|
factoryData?: string | null | undefined;
|
|
1045
2655
|
paymaster?: string | null | undefined;
|
|
1046
2656
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
1047
2657
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
1048
2658
|
paymasterData?: string | null | undefined;
|
|
1049
|
-
}, string, string | number | bigint
|
|
1050
|
-
|
|
2659
|
+
}, string, string | number | bigint, {
|
|
2660
|
+
token: string;
|
|
2661
|
+
} | {
|
|
2662
|
+
sponsorshipPolicyId?: string | undefined;
|
|
2663
|
+
validForSeconds?: number | undefined;
|
|
2664
|
+
meta?: Record<string, string> | undefined;
|
|
2665
|
+
} | null] | [{
|
|
1051
2666
|
nonce: string | number | bigint;
|
|
2667
|
+
sender: string;
|
|
1052
2668
|
initCode: string;
|
|
1053
2669
|
callData: string;
|
|
1054
2670
|
callGasLimit: string | number | bigint;
|
|
@@ -1058,9 +2674,26 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
1058
2674
|
maxFeePerGas: string | number | bigint;
|
|
1059
2675
|
paymasterAndData?: string | null | undefined;
|
|
1060
2676
|
signature?: string | null | undefined;
|
|
2677
|
+
eip7702Auth?: {
|
|
2678
|
+
contractAddress: string;
|
|
2679
|
+
chainId: string | number | bigint;
|
|
2680
|
+
nonce: string | number | bigint;
|
|
2681
|
+
r: string;
|
|
2682
|
+
s: string;
|
|
2683
|
+
yParity: string | number | bigint;
|
|
2684
|
+
v?: string | number | bigint | undefined;
|
|
2685
|
+
} | {
|
|
2686
|
+
chainId: string | number | bigint;
|
|
2687
|
+
nonce: string | number | bigint;
|
|
2688
|
+
r: string;
|
|
2689
|
+
s: string;
|
|
2690
|
+
yParity: string | number | bigint;
|
|
2691
|
+
address: string;
|
|
2692
|
+
v?: string | number | bigint | undefined;
|
|
2693
|
+
} | null | undefined;
|
|
1061
2694
|
} | {
|
|
1062
|
-
sender: string;
|
|
1063
2695
|
nonce: string | number | bigint;
|
|
2696
|
+
sender: string;
|
|
1064
2697
|
callData: string;
|
|
1065
2698
|
callGasLimit: string | number | bigint;
|
|
1066
2699
|
verificationGasLimit: string | number | bigint;
|
|
@@ -1068,15 +2701,30 @@ export declare const pmGetPaymasterStubDataParamsSchema: z.ZodEffects<z.ZodUnion
|
|
|
1068
2701
|
maxPriorityFeePerGas: string | number | bigint;
|
|
1069
2702
|
maxFeePerGas: string | number | bigint;
|
|
1070
2703
|
signature?: string | undefined;
|
|
2704
|
+
eip7702Auth?: {
|
|
2705
|
+
contractAddress: string;
|
|
2706
|
+
chainId: string | number | bigint;
|
|
2707
|
+
nonce: string | number | bigint;
|
|
2708
|
+
r: string;
|
|
2709
|
+
s: string;
|
|
2710
|
+
yParity: string | number | bigint;
|
|
2711
|
+
v?: string | number | bigint | undefined;
|
|
2712
|
+
} | {
|
|
2713
|
+
chainId: string | number | bigint;
|
|
2714
|
+
nonce: string | number | bigint;
|
|
2715
|
+
r: string;
|
|
2716
|
+
s: string;
|
|
2717
|
+
yParity: string | number | bigint;
|
|
2718
|
+
address: string;
|
|
2719
|
+
v?: string | number | bigint | undefined;
|
|
2720
|
+
} | null | undefined;
|
|
1071
2721
|
factory?: string | null | undefined;
|
|
1072
2722
|
factoryData?: string | null | undefined;
|
|
1073
2723
|
paymaster?: string | null | undefined;
|
|
1074
2724
|
paymasterVerificationGasLimit?: string | number | bigint | null | undefined;
|
|
1075
2725
|
paymasterPostOpGasLimit?: string | number | bigint | null | undefined;
|
|
1076
2726
|
paymasterData?: string | null | undefined;
|
|
1077
|
-
}, string, string | number | bigint
|
|
1078
|
-
token: string;
|
|
1079
|
-
} | null]>;
|
|
2727
|
+
}, string, string | number | bigint]>;
|
|
1080
2728
|
export declare const pimlicoGetTokenQuotesSchema: z.ZodTuple<[z.ZodObject<{
|
|
1081
2729
|
tokens: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
|
|
1082
2730
|
}, "strip", z.ZodTypeAny, {
|