@avalabs/evm-module 1.3.0 → 1.4.1
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/dist/index.cjs +11 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +144 -0
- package/dist/index.d.ts +144 -0
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
package/dist/index.d.cts
CHANGED
|
@@ -45,6 +45,16 @@ declare const transactionSchema: z.ZodObject<{
|
|
|
45
45
|
maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
|
|
46
46
|
nonce: z.ZodOptional<z.ZodString>;
|
|
47
47
|
chainId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodOptional<z.ZodNumber>]>;
|
|
48
|
+
accessList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
49
|
+
address: z.ZodString;
|
|
50
|
+
storageKeys: z.ZodArray<z.ZodString, "many">;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
address: string;
|
|
53
|
+
storageKeys: string[];
|
|
54
|
+
}, {
|
|
55
|
+
address: string;
|
|
56
|
+
storageKeys: string[];
|
|
57
|
+
}>, "many">>;
|
|
48
58
|
}, "strip", z.ZodTypeAny, {
|
|
49
59
|
from: string;
|
|
50
60
|
chainId?: string | number | undefined;
|
|
@@ -56,6 +66,10 @@ declare const transactionSchema: z.ZodObject<{
|
|
|
56
66
|
maxFeePerGas?: string | undefined;
|
|
57
67
|
maxPriorityFeePerGas?: string | undefined;
|
|
58
68
|
nonce?: string | undefined;
|
|
69
|
+
accessList?: {
|
|
70
|
+
address: string;
|
|
71
|
+
storageKeys: string[];
|
|
72
|
+
}[] | undefined;
|
|
59
73
|
}, {
|
|
60
74
|
from: string;
|
|
61
75
|
chainId?: string | number | undefined;
|
|
@@ -67,6 +81,10 @@ declare const transactionSchema: z.ZodObject<{
|
|
|
67
81
|
maxFeePerGas?: string | undefined;
|
|
68
82
|
maxPriorityFeePerGas?: string | undefined;
|
|
69
83
|
nonce?: string | undefined;
|
|
84
|
+
accessList?: {
|
|
85
|
+
address: string;
|
|
86
|
+
storageKeys: string[];
|
|
87
|
+
}[] | undefined;
|
|
70
88
|
}>;
|
|
71
89
|
|
|
72
90
|
declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodTuple<[z.ZodObject<{
|
|
@@ -80,6 +98,16 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
80
98
|
maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
|
|
81
99
|
nonce: z.ZodOptional<z.ZodString>;
|
|
82
100
|
chainId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodOptional<z.ZodNumber>]>;
|
|
101
|
+
accessList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
102
|
+
address: z.ZodString;
|
|
103
|
+
storageKeys: z.ZodArray<z.ZodString, "many">;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
address: string;
|
|
106
|
+
storageKeys: string[];
|
|
107
|
+
}, {
|
|
108
|
+
address: string;
|
|
109
|
+
storageKeys: string[];
|
|
110
|
+
}>, "many">>;
|
|
83
111
|
}, "strip", z.ZodTypeAny, {
|
|
84
112
|
from: string;
|
|
85
113
|
chainId?: string | number | undefined;
|
|
@@ -91,6 +119,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
91
119
|
maxFeePerGas?: string | undefined;
|
|
92
120
|
maxPriorityFeePerGas?: string | undefined;
|
|
93
121
|
nonce?: string | undefined;
|
|
122
|
+
accessList?: {
|
|
123
|
+
address: string;
|
|
124
|
+
storageKeys: string[];
|
|
125
|
+
}[] | undefined;
|
|
94
126
|
}, {
|
|
95
127
|
from: string;
|
|
96
128
|
chainId?: string | number | undefined;
|
|
@@ -102,6 +134,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
102
134
|
maxFeePerGas?: string | undefined;
|
|
103
135
|
maxPriorityFeePerGas?: string | undefined;
|
|
104
136
|
nonce?: string | undefined;
|
|
137
|
+
accessList?: {
|
|
138
|
+
address: string;
|
|
139
|
+
storageKeys: string[];
|
|
140
|
+
}[] | undefined;
|
|
105
141
|
}>, z.ZodObject<{
|
|
106
142
|
from: z.ZodString;
|
|
107
143
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -113,6 +149,16 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
113
149
|
maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
|
|
114
150
|
nonce: z.ZodOptional<z.ZodString>;
|
|
115
151
|
chainId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodOptional<z.ZodNumber>]>;
|
|
152
|
+
accessList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
153
|
+
address: z.ZodString;
|
|
154
|
+
storageKeys: z.ZodArray<z.ZodString, "many">;
|
|
155
|
+
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
address: string;
|
|
157
|
+
storageKeys: string[];
|
|
158
|
+
}, {
|
|
159
|
+
address: string;
|
|
160
|
+
storageKeys: string[];
|
|
161
|
+
}>, "many">>;
|
|
116
162
|
}, "strip", z.ZodTypeAny, {
|
|
117
163
|
from: string;
|
|
118
164
|
chainId?: string | number | undefined;
|
|
@@ -124,6 +170,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
124
170
|
maxFeePerGas?: string | undefined;
|
|
125
171
|
maxPriorityFeePerGas?: string | undefined;
|
|
126
172
|
nonce?: string | undefined;
|
|
173
|
+
accessList?: {
|
|
174
|
+
address: string;
|
|
175
|
+
storageKeys: string[];
|
|
176
|
+
}[] | undefined;
|
|
127
177
|
}, {
|
|
128
178
|
from: string;
|
|
129
179
|
chainId?: string | number | undefined;
|
|
@@ -135,6 +185,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
135
185
|
maxFeePerGas?: string | undefined;
|
|
136
186
|
maxPriorityFeePerGas?: string | undefined;
|
|
137
187
|
nonce?: string | undefined;
|
|
188
|
+
accessList?: {
|
|
189
|
+
address: string;
|
|
190
|
+
storageKeys: string[];
|
|
191
|
+
}[] | undefined;
|
|
138
192
|
}>], z.ZodObject<{
|
|
139
193
|
from: z.ZodString;
|
|
140
194
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -146,6 +200,16 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
146
200
|
maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
|
|
147
201
|
nonce: z.ZodOptional<z.ZodString>;
|
|
148
202
|
chainId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodOptional<z.ZodNumber>]>;
|
|
203
|
+
accessList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
204
|
+
address: z.ZodString;
|
|
205
|
+
storageKeys: z.ZodArray<z.ZodString, "many">;
|
|
206
|
+
}, "strip", z.ZodTypeAny, {
|
|
207
|
+
address: string;
|
|
208
|
+
storageKeys: string[];
|
|
209
|
+
}, {
|
|
210
|
+
address: string;
|
|
211
|
+
storageKeys: string[];
|
|
212
|
+
}>, "many">>;
|
|
149
213
|
}, "strip", z.ZodTypeAny, {
|
|
150
214
|
from: string;
|
|
151
215
|
chainId?: string | number | undefined;
|
|
@@ -157,6 +221,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
157
221
|
maxFeePerGas?: string | undefined;
|
|
158
222
|
maxPriorityFeePerGas?: string | undefined;
|
|
159
223
|
nonce?: string | undefined;
|
|
224
|
+
accessList?: {
|
|
225
|
+
address: string;
|
|
226
|
+
storageKeys: string[];
|
|
227
|
+
}[] | undefined;
|
|
160
228
|
}, {
|
|
161
229
|
from: string;
|
|
162
230
|
chainId?: string | number | undefined;
|
|
@@ -168,6 +236,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
168
236
|
maxFeePerGas?: string | undefined;
|
|
169
237
|
maxPriorityFeePerGas?: string | undefined;
|
|
170
238
|
nonce?: string | undefined;
|
|
239
|
+
accessList?: {
|
|
240
|
+
address: string;
|
|
241
|
+
storageKeys: string[];
|
|
242
|
+
}[] | undefined;
|
|
171
243
|
}>>, [{
|
|
172
244
|
from: string;
|
|
173
245
|
chainId?: string | number | undefined;
|
|
@@ -179,6 +251,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
179
251
|
maxFeePerGas?: string | undefined;
|
|
180
252
|
maxPriorityFeePerGas?: string | undefined;
|
|
181
253
|
nonce?: string | undefined;
|
|
254
|
+
accessList?: {
|
|
255
|
+
address: string;
|
|
256
|
+
storageKeys: string[];
|
|
257
|
+
}[] | undefined;
|
|
182
258
|
}, {
|
|
183
259
|
from: string;
|
|
184
260
|
chainId?: string | number | undefined;
|
|
@@ -190,6 +266,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
190
266
|
maxFeePerGas?: string | undefined;
|
|
191
267
|
maxPriorityFeePerGas?: string | undefined;
|
|
192
268
|
nonce?: string | undefined;
|
|
269
|
+
accessList?: {
|
|
270
|
+
address: string;
|
|
271
|
+
storageKeys: string[];
|
|
272
|
+
}[] | undefined;
|
|
193
273
|
}, ...{
|
|
194
274
|
from: string;
|
|
195
275
|
chainId?: string | number | undefined;
|
|
@@ -201,6 +281,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
201
281
|
maxFeePerGas?: string | undefined;
|
|
202
282
|
maxPriorityFeePerGas?: string | undefined;
|
|
203
283
|
nonce?: string | undefined;
|
|
284
|
+
accessList?: {
|
|
285
|
+
address: string;
|
|
286
|
+
storageKeys: string[];
|
|
287
|
+
}[] | undefined;
|
|
204
288
|
}[]], [{
|
|
205
289
|
from: string;
|
|
206
290
|
chainId?: string | number | undefined;
|
|
@@ -212,6 +296,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
212
296
|
maxFeePerGas?: string | undefined;
|
|
213
297
|
maxPriorityFeePerGas?: string | undefined;
|
|
214
298
|
nonce?: string | undefined;
|
|
299
|
+
accessList?: {
|
|
300
|
+
address: string;
|
|
301
|
+
storageKeys: string[];
|
|
302
|
+
}[] | undefined;
|
|
215
303
|
}, {
|
|
216
304
|
from: string;
|
|
217
305
|
chainId?: string | number | undefined;
|
|
@@ -223,6 +311,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
223
311
|
maxFeePerGas?: string | undefined;
|
|
224
312
|
maxPriorityFeePerGas?: string | undefined;
|
|
225
313
|
nonce?: string | undefined;
|
|
314
|
+
accessList?: {
|
|
315
|
+
address: string;
|
|
316
|
+
storageKeys: string[];
|
|
317
|
+
}[] | undefined;
|
|
226
318
|
}, ...{
|
|
227
319
|
from: string;
|
|
228
320
|
chainId?: string | number | undefined;
|
|
@@ -234,6 +326,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
234
326
|
maxFeePerGas?: string | undefined;
|
|
235
327
|
maxPriorityFeePerGas?: string | undefined;
|
|
236
328
|
nonce?: string | undefined;
|
|
329
|
+
accessList?: {
|
|
330
|
+
address: string;
|
|
331
|
+
storageKeys: string[];
|
|
332
|
+
}[] | undefined;
|
|
237
333
|
}[]]>, [{
|
|
238
334
|
from: string;
|
|
239
335
|
chainId?: string | number | undefined;
|
|
@@ -245,6 +341,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
245
341
|
maxFeePerGas?: string | undefined;
|
|
246
342
|
maxPriorityFeePerGas?: string | undefined;
|
|
247
343
|
nonce?: string | undefined;
|
|
344
|
+
accessList?: {
|
|
345
|
+
address: string;
|
|
346
|
+
storageKeys: string[];
|
|
347
|
+
}[] | undefined;
|
|
248
348
|
}, {
|
|
249
349
|
from: string;
|
|
250
350
|
chainId?: string | number | undefined;
|
|
@@ -256,6 +356,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
256
356
|
maxFeePerGas?: string | undefined;
|
|
257
357
|
maxPriorityFeePerGas?: string | undefined;
|
|
258
358
|
nonce?: string | undefined;
|
|
359
|
+
accessList?: {
|
|
360
|
+
address: string;
|
|
361
|
+
storageKeys: string[];
|
|
362
|
+
}[] | undefined;
|
|
259
363
|
}, ...{
|
|
260
364
|
from: string;
|
|
261
365
|
chainId?: string | number | undefined;
|
|
@@ -267,6 +371,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
267
371
|
maxFeePerGas?: string | undefined;
|
|
268
372
|
maxPriorityFeePerGas?: string | undefined;
|
|
269
373
|
nonce?: string | undefined;
|
|
374
|
+
accessList?: {
|
|
375
|
+
address: string;
|
|
376
|
+
storageKeys: string[];
|
|
377
|
+
}[] | undefined;
|
|
270
378
|
}[]], [{
|
|
271
379
|
from: string;
|
|
272
380
|
chainId?: string | number | undefined;
|
|
@@ -278,6 +386,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
278
386
|
maxFeePerGas?: string | undefined;
|
|
279
387
|
maxPriorityFeePerGas?: string | undefined;
|
|
280
388
|
nonce?: string | undefined;
|
|
389
|
+
accessList?: {
|
|
390
|
+
address: string;
|
|
391
|
+
storageKeys: string[];
|
|
392
|
+
}[] | undefined;
|
|
281
393
|
}, {
|
|
282
394
|
from: string;
|
|
283
395
|
chainId?: string | number | undefined;
|
|
@@ -289,6 +401,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
289
401
|
maxFeePerGas?: string | undefined;
|
|
290
402
|
maxPriorityFeePerGas?: string | undefined;
|
|
291
403
|
nonce?: string | undefined;
|
|
404
|
+
accessList?: {
|
|
405
|
+
address: string;
|
|
406
|
+
storageKeys: string[];
|
|
407
|
+
}[] | undefined;
|
|
292
408
|
}, ...{
|
|
293
409
|
from: string;
|
|
294
410
|
chainId?: string | number | undefined;
|
|
@@ -300,6 +416,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
300
416
|
maxFeePerGas?: string | undefined;
|
|
301
417
|
maxPriorityFeePerGas?: string | undefined;
|
|
302
418
|
nonce?: string | undefined;
|
|
419
|
+
accessList?: {
|
|
420
|
+
address: string;
|
|
421
|
+
storageKeys: string[];
|
|
422
|
+
}[] | undefined;
|
|
303
423
|
}[]]>, [{
|
|
304
424
|
from: string;
|
|
305
425
|
chainId?: string | number | undefined;
|
|
@@ -311,6 +431,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
311
431
|
maxFeePerGas?: string | undefined;
|
|
312
432
|
maxPriorityFeePerGas?: string | undefined;
|
|
313
433
|
nonce?: string | undefined;
|
|
434
|
+
accessList?: {
|
|
435
|
+
address: string;
|
|
436
|
+
storageKeys: string[];
|
|
437
|
+
}[] | undefined;
|
|
314
438
|
}, {
|
|
315
439
|
from: string;
|
|
316
440
|
chainId?: string | number | undefined;
|
|
@@ -322,6 +446,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
322
446
|
maxFeePerGas?: string | undefined;
|
|
323
447
|
maxPriorityFeePerGas?: string | undefined;
|
|
324
448
|
nonce?: string | undefined;
|
|
449
|
+
accessList?: {
|
|
450
|
+
address: string;
|
|
451
|
+
storageKeys: string[];
|
|
452
|
+
}[] | undefined;
|
|
325
453
|
}, ...{
|
|
326
454
|
from: string;
|
|
327
455
|
chainId?: string | number | undefined;
|
|
@@ -333,6 +461,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
333
461
|
maxFeePerGas?: string | undefined;
|
|
334
462
|
maxPriorityFeePerGas?: string | undefined;
|
|
335
463
|
nonce?: string | undefined;
|
|
464
|
+
accessList?: {
|
|
465
|
+
address: string;
|
|
466
|
+
storageKeys: string[];
|
|
467
|
+
}[] | undefined;
|
|
336
468
|
}[]], [{
|
|
337
469
|
from: string;
|
|
338
470
|
chainId?: string | number | undefined;
|
|
@@ -344,6 +476,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
344
476
|
maxFeePerGas?: string | undefined;
|
|
345
477
|
maxPriorityFeePerGas?: string | undefined;
|
|
346
478
|
nonce?: string | undefined;
|
|
479
|
+
accessList?: {
|
|
480
|
+
address: string;
|
|
481
|
+
storageKeys: string[];
|
|
482
|
+
}[] | undefined;
|
|
347
483
|
}, {
|
|
348
484
|
from: string;
|
|
349
485
|
chainId?: string | number | undefined;
|
|
@@ -355,6 +491,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
355
491
|
maxFeePerGas?: string | undefined;
|
|
356
492
|
maxPriorityFeePerGas?: string | undefined;
|
|
357
493
|
nonce?: string | undefined;
|
|
494
|
+
accessList?: {
|
|
495
|
+
address: string;
|
|
496
|
+
storageKeys: string[];
|
|
497
|
+
}[] | undefined;
|
|
358
498
|
}, ...{
|
|
359
499
|
from: string;
|
|
360
500
|
chainId?: string | number | undefined;
|
|
@@ -366,6 +506,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
366
506
|
maxFeePerGas?: string | undefined;
|
|
367
507
|
maxPriorityFeePerGas?: string | undefined;
|
|
368
508
|
nonce?: string | undefined;
|
|
509
|
+
accessList?: {
|
|
510
|
+
address: string;
|
|
511
|
+
storageKeys: string[];
|
|
512
|
+
}[] | undefined;
|
|
369
513
|
}[]]>;
|
|
370
514
|
|
|
371
515
|
declare const NonContractCallTypes: TransactionType[];
|
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,16 @@ declare const transactionSchema: z.ZodObject<{
|
|
|
45
45
|
maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
|
|
46
46
|
nonce: z.ZodOptional<z.ZodString>;
|
|
47
47
|
chainId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodOptional<z.ZodNumber>]>;
|
|
48
|
+
accessList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
49
|
+
address: z.ZodString;
|
|
50
|
+
storageKeys: z.ZodArray<z.ZodString, "many">;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
address: string;
|
|
53
|
+
storageKeys: string[];
|
|
54
|
+
}, {
|
|
55
|
+
address: string;
|
|
56
|
+
storageKeys: string[];
|
|
57
|
+
}>, "many">>;
|
|
48
58
|
}, "strip", z.ZodTypeAny, {
|
|
49
59
|
from: string;
|
|
50
60
|
chainId?: string | number | undefined;
|
|
@@ -56,6 +66,10 @@ declare const transactionSchema: z.ZodObject<{
|
|
|
56
66
|
maxFeePerGas?: string | undefined;
|
|
57
67
|
maxPriorityFeePerGas?: string | undefined;
|
|
58
68
|
nonce?: string | undefined;
|
|
69
|
+
accessList?: {
|
|
70
|
+
address: string;
|
|
71
|
+
storageKeys: string[];
|
|
72
|
+
}[] | undefined;
|
|
59
73
|
}, {
|
|
60
74
|
from: string;
|
|
61
75
|
chainId?: string | number | undefined;
|
|
@@ -67,6 +81,10 @@ declare const transactionSchema: z.ZodObject<{
|
|
|
67
81
|
maxFeePerGas?: string | undefined;
|
|
68
82
|
maxPriorityFeePerGas?: string | undefined;
|
|
69
83
|
nonce?: string | undefined;
|
|
84
|
+
accessList?: {
|
|
85
|
+
address: string;
|
|
86
|
+
storageKeys: string[];
|
|
87
|
+
}[] | undefined;
|
|
70
88
|
}>;
|
|
71
89
|
|
|
72
90
|
declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodTuple<[z.ZodObject<{
|
|
@@ -80,6 +98,16 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
80
98
|
maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
|
|
81
99
|
nonce: z.ZodOptional<z.ZodString>;
|
|
82
100
|
chainId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodOptional<z.ZodNumber>]>;
|
|
101
|
+
accessList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
102
|
+
address: z.ZodString;
|
|
103
|
+
storageKeys: z.ZodArray<z.ZodString, "many">;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
address: string;
|
|
106
|
+
storageKeys: string[];
|
|
107
|
+
}, {
|
|
108
|
+
address: string;
|
|
109
|
+
storageKeys: string[];
|
|
110
|
+
}>, "many">>;
|
|
83
111
|
}, "strip", z.ZodTypeAny, {
|
|
84
112
|
from: string;
|
|
85
113
|
chainId?: string | number | undefined;
|
|
@@ -91,6 +119,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
91
119
|
maxFeePerGas?: string | undefined;
|
|
92
120
|
maxPriorityFeePerGas?: string | undefined;
|
|
93
121
|
nonce?: string | undefined;
|
|
122
|
+
accessList?: {
|
|
123
|
+
address: string;
|
|
124
|
+
storageKeys: string[];
|
|
125
|
+
}[] | undefined;
|
|
94
126
|
}, {
|
|
95
127
|
from: string;
|
|
96
128
|
chainId?: string | number | undefined;
|
|
@@ -102,6 +134,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
102
134
|
maxFeePerGas?: string | undefined;
|
|
103
135
|
maxPriorityFeePerGas?: string | undefined;
|
|
104
136
|
nonce?: string | undefined;
|
|
137
|
+
accessList?: {
|
|
138
|
+
address: string;
|
|
139
|
+
storageKeys: string[];
|
|
140
|
+
}[] | undefined;
|
|
105
141
|
}>, z.ZodObject<{
|
|
106
142
|
from: z.ZodString;
|
|
107
143
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -113,6 +149,16 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
113
149
|
maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
|
|
114
150
|
nonce: z.ZodOptional<z.ZodString>;
|
|
115
151
|
chainId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodOptional<z.ZodNumber>]>;
|
|
152
|
+
accessList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
153
|
+
address: z.ZodString;
|
|
154
|
+
storageKeys: z.ZodArray<z.ZodString, "many">;
|
|
155
|
+
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
address: string;
|
|
157
|
+
storageKeys: string[];
|
|
158
|
+
}, {
|
|
159
|
+
address: string;
|
|
160
|
+
storageKeys: string[];
|
|
161
|
+
}>, "many">>;
|
|
116
162
|
}, "strip", z.ZodTypeAny, {
|
|
117
163
|
from: string;
|
|
118
164
|
chainId?: string | number | undefined;
|
|
@@ -124,6 +170,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
124
170
|
maxFeePerGas?: string | undefined;
|
|
125
171
|
maxPriorityFeePerGas?: string | undefined;
|
|
126
172
|
nonce?: string | undefined;
|
|
173
|
+
accessList?: {
|
|
174
|
+
address: string;
|
|
175
|
+
storageKeys: string[];
|
|
176
|
+
}[] | undefined;
|
|
127
177
|
}, {
|
|
128
178
|
from: string;
|
|
129
179
|
chainId?: string | number | undefined;
|
|
@@ -135,6 +185,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
135
185
|
maxFeePerGas?: string | undefined;
|
|
136
186
|
maxPriorityFeePerGas?: string | undefined;
|
|
137
187
|
nonce?: string | undefined;
|
|
188
|
+
accessList?: {
|
|
189
|
+
address: string;
|
|
190
|
+
storageKeys: string[];
|
|
191
|
+
}[] | undefined;
|
|
138
192
|
}>], z.ZodObject<{
|
|
139
193
|
from: z.ZodString;
|
|
140
194
|
to: z.ZodOptional<z.ZodString>;
|
|
@@ -146,6 +200,16 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
146
200
|
maxPriorityFeePerGas: z.ZodOptional<z.ZodString>;
|
|
147
201
|
nonce: z.ZodOptional<z.ZodString>;
|
|
148
202
|
chainId: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodOptional<z.ZodNumber>]>;
|
|
203
|
+
accessList: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
204
|
+
address: z.ZodString;
|
|
205
|
+
storageKeys: z.ZodArray<z.ZodString, "many">;
|
|
206
|
+
}, "strip", z.ZodTypeAny, {
|
|
207
|
+
address: string;
|
|
208
|
+
storageKeys: string[];
|
|
209
|
+
}, {
|
|
210
|
+
address: string;
|
|
211
|
+
storageKeys: string[];
|
|
212
|
+
}>, "many">>;
|
|
149
213
|
}, "strip", z.ZodTypeAny, {
|
|
150
214
|
from: string;
|
|
151
215
|
chainId?: string | number | undefined;
|
|
@@ -157,6 +221,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
157
221
|
maxFeePerGas?: string | undefined;
|
|
158
222
|
maxPriorityFeePerGas?: string | undefined;
|
|
159
223
|
nonce?: string | undefined;
|
|
224
|
+
accessList?: {
|
|
225
|
+
address: string;
|
|
226
|
+
storageKeys: string[];
|
|
227
|
+
}[] | undefined;
|
|
160
228
|
}, {
|
|
161
229
|
from: string;
|
|
162
230
|
chainId?: string | number | undefined;
|
|
@@ -168,6 +236,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
168
236
|
maxFeePerGas?: string | undefined;
|
|
169
237
|
maxPriorityFeePerGas?: string | undefined;
|
|
170
238
|
nonce?: string | undefined;
|
|
239
|
+
accessList?: {
|
|
240
|
+
address: string;
|
|
241
|
+
storageKeys: string[];
|
|
242
|
+
}[] | undefined;
|
|
171
243
|
}>>, [{
|
|
172
244
|
from: string;
|
|
173
245
|
chainId?: string | number | undefined;
|
|
@@ -179,6 +251,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
179
251
|
maxFeePerGas?: string | undefined;
|
|
180
252
|
maxPriorityFeePerGas?: string | undefined;
|
|
181
253
|
nonce?: string | undefined;
|
|
254
|
+
accessList?: {
|
|
255
|
+
address: string;
|
|
256
|
+
storageKeys: string[];
|
|
257
|
+
}[] | undefined;
|
|
182
258
|
}, {
|
|
183
259
|
from: string;
|
|
184
260
|
chainId?: string | number | undefined;
|
|
@@ -190,6 +266,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
190
266
|
maxFeePerGas?: string | undefined;
|
|
191
267
|
maxPriorityFeePerGas?: string | undefined;
|
|
192
268
|
nonce?: string | undefined;
|
|
269
|
+
accessList?: {
|
|
270
|
+
address: string;
|
|
271
|
+
storageKeys: string[];
|
|
272
|
+
}[] | undefined;
|
|
193
273
|
}, ...{
|
|
194
274
|
from: string;
|
|
195
275
|
chainId?: string | number | undefined;
|
|
@@ -201,6 +281,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
201
281
|
maxFeePerGas?: string | undefined;
|
|
202
282
|
maxPriorityFeePerGas?: string | undefined;
|
|
203
283
|
nonce?: string | undefined;
|
|
284
|
+
accessList?: {
|
|
285
|
+
address: string;
|
|
286
|
+
storageKeys: string[];
|
|
287
|
+
}[] | undefined;
|
|
204
288
|
}[]], [{
|
|
205
289
|
from: string;
|
|
206
290
|
chainId?: string | number | undefined;
|
|
@@ -212,6 +296,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
212
296
|
maxFeePerGas?: string | undefined;
|
|
213
297
|
maxPriorityFeePerGas?: string | undefined;
|
|
214
298
|
nonce?: string | undefined;
|
|
299
|
+
accessList?: {
|
|
300
|
+
address: string;
|
|
301
|
+
storageKeys: string[];
|
|
302
|
+
}[] | undefined;
|
|
215
303
|
}, {
|
|
216
304
|
from: string;
|
|
217
305
|
chainId?: string | number | undefined;
|
|
@@ -223,6 +311,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
223
311
|
maxFeePerGas?: string | undefined;
|
|
224
312
|
maxPriorityFeePerGas?: string | undefined;
|
|
225
313
|
nonce?: string | undefined;
|
|
314
|
+
accessList?: {
|
|
315
|
+
address: string;
|
|
316
|
+
storageKeys: string[];
|
|
317
|
+
}[] | undefined;
|
|
226
318
|
}, ...{
|
|
227
319
|
from: string;
|
|
228
320
|
chainId?: string | number | undefined;
|
|
@@ -234,6 +326,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
234
326
|
maxFeePerGas?: string | undefined;
|
|
235
327
|
maxPriorityFeePerGas?: string | undefined;
|
|
236
328
|
nonce?: string | undefined;
|
|
329
|
+
accessList?: {
|
|
330
|
+
address: string;
|
|
331
|
+
storageKeys: string[];
|
|
332
|
+
}[] | undefined;
|
|
237
333
|
}[]]>, [{
|
|
238
334
|
from: string;
|
|
239
335
|
chainId?: string | number | undefined;
|
|
@@ -245,6 +341,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
245
341
|
maxFeePerGas?: string | undefined;
|
|
246
342
|
maxPriorityFeePerGas?: string | undefined;
|
|
247
343
|
nonce?: string | undefined;
|
|
344
|
+
accessList?: {
|
|
345
|
+
address: string;
|
|
346
|
+
storageKeys: string[];
|
|
347
|
+
}[] | undefined;
|
|
248
348
|
}, {
|
|
249
349
|
from: string;
|
|
250
350
|
chainId?: string | number | undefined;
|
|
@@ -256,6 +356,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
256
356
|
maxFeePerGas?: string | undefined;
|
|
257
357
|
maxPriorityFeePerGas?: string | undefined;
|
|
258
358
|
nonce?: string | undefined;
|
|
359
|
+
accessList?: {
|
|
360
|
+
address: string;
|
|
361
|
+
storageKeys: string[];
|
|
362
|
+
}[] | undefined;
|
|
259
363
|
}, ...{
|
|
260
364
|
from: string;
|
|
261
365
|
chainId?: string | number | undefined;
|
|
@@ -267,6 +371,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
267
371
|
maxFeePerGas?: string | undefined;
|
|
268
372
|
maxPriorityFeePerGas?: string | undefined;
|
|
269
373
|
nonce?: string | undefined;
|
|
374
|
+
accessList?: {
|
|
375
|
+
address: string;
|
|
376
|
+
storageKeys: string[];
|
|
377
|
+
}[] | undefined;
|
|
270
378
|
}[]], [{
|
|
271
379
|
from: string;
|
|
272
380
|
chainId?: string | number | undefined;
|
|
@@ -278,6 +386,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
278
386
|
maxFeePerGas?: string | undefined;
|
|
279
387
|
maxPriorityFeePerGas?: string | undefined;
|
|
280
388
|
nonce?: string | undefined;
|
|
389
|
+
accessList?: {
|
|
390
|
+
address: string;
|
|
391
|
+
storageKeys: string[];
|
|
392
|
+
}[] | undefined;
|
|
281
393
|
}, {
|
|
282
394
|
from: string;
|
|
283
395
|
chainId?: string | number | undefined;
|
|
@@ -289,6 +401,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
289
401
|
maxFeePerGas?: string | undefined;
|
|
290
402
|
maxPriorityFeePerGas?: string | undefined;
|
|
291
403
|
nonce?: string | undefined;
|
|
404
|
+
accessList?: {
|
|
405
|
+
address: string;
|
|
406
|
+
storageKeys: string[];
|
|
407
|
+
}[] | undefined;
|
|
292
408
|
}, ...{
|
|
293
409
|
from: string;
|
|
294
410
|
chainId?: string | number | undefined;
|
|
@@ -300,6 +416,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
300
416
|
maxFeePerGas?: string | undefined;
|
|
301
417
|
maxPriorityFeePerGas?: string | undefined;
|
|
302
418
|
nonce?: string | undefined;
|
|
419
|
+
accessList?: {
|
|
420
|
+
address: string;
|
|
421
|
+
storageKeys: string[];
|
|
422
|
+
}[] | undefined;
|
|
303
423
|
}[]]>, [{
|
|
304
424
|
from: string;
|
|
305
425
|
chainId?: string | number | undefined;
|
|
@@ -311,6 +431,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
311
431
|
maxFeePerGas?: string | undefined;
|
|
312
432
|
maxPriorityFeePerGas?: string | undefined;
|
|
313
433
|
nonce?: string | undefined;
|
|
434
|
+
accessList?: {
|
|
435
|
+
address: string;
|
|
436
|
+
storageKeys: string[];
|
|
437
|
+
}[] | undefined;
|
|
314
438
|
}, {
|
|
315
439
|
from: string;
|
|
316
440
|
chainId?: string | number | undefined;
|
|
@@ -322,6 +446,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
322
446
|
maxFeePerGas?: string | undefined;
|
|
323
447
|
maxPriorityFeePerGas?: string | undefined;
|
|
324
448
|
nonce?: string | undefined;
|
|
449
|
+
accessList?: {
|
|
450
|
+
address: string;
|
|
451
|
+
storageKeys: string[];
|
|
452
|
+
}[] | undefined;
|
|
325
453
|
}, ...{
|
|
326
454
|
from: string;
|
|
327
455
|
chainId?: string | number | undefined;
|
|
@@ -333,6 +461,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
333
461
|
maxFeePerGas?: string | undefined;
|
|
334
462
|
maxPriorityFeePerGas?: string | undefined;
|
|
335
463
|
nonce?: string | undefined;
|
|
464
|
+
accessList?: {
|
|
465
|
+
address: string;
|
|
466
|
+
storageKeys: string[];
|
|
467
|
+
}[] | undefined;
|
|
336
468
|
}[]], [{
|
|
337
469
|
from: string;
|
|
338
470
|
chainId?: string | number | undefined;
|
|
@@ -344,6 +476,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
344
476
|
maxFeePerGas?: string | undefined;
|
|
345
477
|
maxPriorityFeePerGas?: string | undefined;
|
|
346
478
|
nonce?: string | undefined;
|
|
479
|
+
accessList?: {
|
|
480
|
+
address: string;
|
|
481
|
+
storageKeys: string[];
|
|
482
|
+
}[] | undefined;
|
|
347
483
|
}, {
|
|
348
484
|
from: string;
|
|
349
485
|
chainId?: string | number | undefined;
|
|
@@ -355,6 +491,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
355
491
|
maxFeePerGas?: string | undefined;
|
|
356
492
|
maxPriorityFeePerGas?: string | undefined;
|
|
357
493
|
nonce?: string | undefined;
|
|
494
|
+
accessList?: {
|
|
495
|
+
address: string;
|
|
496
|
+
storageKeys: string[];
|
|
497
|
+
}[] | undefined;
|
|
358
498
|
}, ...{
|
|
359
499
|
from: string;
|
|
360
500
|
chainId?: string | number | undefined;
|
|
@@ -366,6 +506,10 @@ declare const transactionBatchSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
|
|
|
366
506
|
maxFeePerGas?: string | undefined;
|
|
367
507
|
maxPriorityFeePerGas?: string | undefined;
|
|
368
508
|
nonce?: string | undefined;
|
|
509
|
+
accessList?: {
|
|
510
|
+
address: string;
|
|
511
|
+
storageKeys: string[];
|
|
512
|
+
}[] | undefined;
|
|
369
513
|
}[]]>;
|
|
370
514
|
|
|
371
515
|
declare const NonContractCallTypes: TransactionType[];
|