@avalabs/evm-module 3.4.0 → 3.5.0

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.d.cts CHANGED
@@ -22,7 +22,7 @@ declare class EvmModule implements Module {
22
22
  }>;
23
23
  result?: undefined;
24
24
  } | {
25
- error: _avalabs_vm_module_types.RpcError;
25
+ error: _metamask_rpc_errors.JsonRpcError<_metamask_rpc_errors.OptionalDataWithOptionalCause>;
26
26
  result?: undefined;
27
27
  } | {
28
28
  result: any;
@@ -53,12 +53,12 @@ declare const transactionSchema: z.ZodObject<{
53
53
  }>, "many">>;
54
54
  }, "strip", z.ZodTypeAny, {
55
55
  from: string;
56
- chainId?: string | number | undefined;
57
56
  value?: string | undefined;
57
+ chainId?: string | number | undefined;
58
58
  to?: string | undefined;
59
- gasPrice?: string | undefined;
60
59
  data?: string | undefined;
61
60
  gas?: string | undefined;
61
+ gasPrice?: string | undefined;
62
62
  maxFeePerGas?: string | undefined;
63
63
  maxPriorityFeePerGas?: string | undefined;
64
64
  nonce?: string | undefined;
@@ -68,12 +68,12 @@ declare const transactionSchema: z.ZodObject<{
68
68
  }[] | undefined;
69
69
  }, {
70
70
  from: string;
71
- chainId?: string | number | undefined;
72
71
  value?: string | undefined;
72
+ chainId?: string | number | undefined;
73
73
  to?: string | undefined;
74
- gasPrice?: string | undefined;
75
74
  data?: string | undefined;
76
75
  gas?: string | undefined;
76
+ gasPrice?: string | undefined;
77
77
  maxFeePerGas?: string | undefined;
78
78
  maxPriorityFeePerGas?: string | undefined;
79
79
  nonce?: string | undefined;
@@ -106,12 +106,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
106
106
  }>, "many">>;
107
107
  }, "strip", z.ZodTypeAny, {
108
108
  from: string;
109
- chainId?: string | number | undefined;
110
109
  value?: string | undefined;
110
+ chainId?: string | number | undefined;
111
111
  to?: string | undefined;
112
- gasPrice?: string | undefined;
113
112
  data?: string | undefined;
114
113
  gas?: string | undefined;
114
+ gasPrice?: string | undefined;
115
115
  maxFeePerGas?: string | undefined;
116
116
  maxPriorityFeePerGas?: string | undefined;
117
117
  nonce?: string | undefined;
@@ -121,12 +121,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
121
121
  }[] | undefined;
122
122
  }, {
123
123
  from: string;
124
- chainId?: string | number | undefined;
125
124
  value?: string | undefined;
125
+ chainId?: string | number | undefined;
126
126
  to?: string | undefined;
127
- gasPrice?: string | undefined;
128
127
  data?: string | undefined;
129
128
  gas?: string | undefined;
129
+ gasPrice?: string | undefined;
130
130
  maxFeePerGas?: string | undefined;
131
131
  maxPriorityFeePerGas?: string | undefined;
132
132
  nonce?: string | undefined;
@@ -157,12 +157,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
157
157
  }>, "many">>;
158
158
  }, "strip", z.ZodTypeAny, {
159
159
  from: string;
160
- chainId?: string | number | undefined;
161
160
  value?: string | undefined;
161
+ chainId?: string | number | undefined;
162
162
  to?: string | undefined;
163
- gasPrice?: string | undefined;
164
163
  data?: string | undefined;
165
164
  gas?: string | undefined;
165
+ gasPrice?: string | undefined;
166
166
  maxFeePerGas?: string | undefined;
167
167
  maxPriorityFeePerGas?: string | undefined;
168
168
  nonce?: string | undefined;
@@ -172,12 +172,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
172
172
  }[] | undefined;
173
173
  }, {
174
174
  from: string;
175
- chainId?: string | number | undefined;
176
175
  value?: string | undefined;
176
+ chainId?: string | number | undefined;
177
177
  to?: string | undefined;
178
- gasPrice?: string | undefined;
179
178
  data?: string | undefined;
180
179
  gas?: string | undefined;
180
+ gasPrice?: string | undefined;
181
181
  maxFeePerGas?: string | undefined;
182
182
  maxPriorityFeePerGas?: string | undefined;
183
183
  nonce?: string | undefined;
@@ -208,12 +208,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
208
208
  }>, "many">>;
209
209
  }, "strip", z.ZodTypeAny, {
210
210
  from: string;
211
- chainId?: string | number | undefined;
212
211
  value?: string | undefined;
212
+ chainId?: string | number | undefined;
213
213
  to?: string | undefined;
214
- gasPrice?: string | undefined;
215
214
  data?: string | undefined;
216
215
  gas?: string | undefined;
216
+ gasPrice?: string | undefined;
217
217
  maxFeePerGas?: string | undefined;
218
218
  maxPriorityFeePerGas?: string | undefined;
219
219
  nonce?: string | undefined;
@@ -223,12 +223,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
223
223
  }[] | undefined;
224
224
  }, {
225
225
  from: string;
226
- chainId?: string | number | undefined;
227
226
  value?: string | undefined;
227
+ chainId?: string | number | undefined;
228
228
  to?: string | undefined;
229
- gasPrice?: string | undefined;
230
229
  data?: string | undefined;
231
230
  gas?: string | undefined;
231
+ gasPrice?: string | undefined;
232
232
  maxFeePerGas?: string | undefined;
233
233
  maxPriorityFeePerGas?: string | undefined;
234
234
  nonce?: string | undefined;
@@ -238,12 +238,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
238
238
  }[] | undefined;
239
239
  }>>, [{
240
240
  from: string;
241
- chainId?: string | number | undefined;
242
241
  value?: string | undefined;
242
+ chainId?: string | number | undefined;
243
243
  to?: string | undefined;
244
- gasPrice?: string | undefined;
245
244
  data?: string | undefined;
246
245
  gas?: string | undefined;
246
+ gasPrice?: string | undefined;
247
247
  maxFeePerGas?: string | undefined;
248
248
  maxPriorityFeePerGas?: string | undefined;
249
249
  nonce?: string | undefined;
@@ -253,12 +253,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
253
253
  }[] | undefined;
254
254
  }, {
255
255
  from: string;
256
- chainId?: string | number | undefined;
257
256
  value?: string | undefined;
257
+ chainId?: string | number | undefined;
258
258
  to?: string | undefined;
259
- gasPrice?: string | undefined;
260
259
  data?: string | undefined;
261
260
  gas?: string | undefined;
261
+ gasPrice?: string | undefined;
262
262
  maxFeePerGas?: string | undefined;
263
263
  maxPriorityFeePerGas?: string | undefined;
264
264
  nonce?: string | undefined;
@@ -268,12 +268,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
268
268
  }[] | undefined;
269
269
  }, ...{
270
270
  from: string;
271
- chainId?: string | number | undefined;
272
271
  value?: string | undefined;
272
+ chainId?: string | number | undefined;
273
273
  to?: string | undefined;
274
- gasPrice?: string | undefined;
275
274
  data?: string | undefined;
276
275
  gas?: string | undefined;
276
+ gasPrice?: string | undefined;
277
277
  maxFeePerGas?: string | undefined;
278
278
  maxPriorityFeePerGas?: string | undefined;
279
279
  nonce?: string | undefined;
@@ -283,12 +283,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
283
283
  }[] | undefined;
284
284
  }[]], [{
285
285
  from: string;
286
- chainId?: string | number | undefined;
287
286
  value?: string | undefined;
287
+ chainId?: string | number | undefined;
288
288
  to?: string | undefined;
289
- gasPrice?: string | undefined;
290
289
  data?: string | undefined;
291
290
  gas?: string | undefined;
291
+ gasPrice?: string | undefined;
292
292
  maxFeePerGas?: string | undefined;
293
293
  maxPriorityFeePerGas?: string | undefined;
294
294
  nonce?: string | undefined;
@@ -298,12 +298,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
298
298
  }[] | undefined;
299
299
  }, {
300
300
  from: string;
301
- chainId?: string | number | undefined;
302
301
  value?: string | undefined;
302
+ chainId?: string | number | undefined;
303
303
  to?: string | undefined;
304
- gasPrice?: string | undefined;
305
304
  data?: string | undefined;
306
305
  gas?: string | undefined;
306
+ gasPrice?: string | undefined;
307
307
  maxFeePerGas?: string | undefined;
308
308
  maxPriorityFeePerGas?: string | undefined;
309
309
  nonce?: string | undefined;
@@ -313,12 +313,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
313
313
  }[] | undefined;
314
314
  }, ...{
315
315
  from: string;
316
- chainId?: string | number | undefined;
317
316
  value?: string | undefined;
317
+ chainId?: string | number | undefined;
318
318
  to?: string | undefined;
319
- gasPrice?: string | undefined;
320
319
  data?: string | undefined;
321
320
  gas?: string | undefined;
321
+ gasPrice?: string | undefined;
322
322
  maxFeePerGas?: string | undefined;
323
323
  maxPriorityFeePerGas?: string | undefined;
324
324
  nonce?: string | undefined;
@@ -328,12 +328,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
328
328
  }[] | undefined;
329
329
  }[]]>, [{
330
330
  from: string;
331
- chainId?: string | number | undefined;
332
331
  value?: string | undefined;
332
+ chainId?: string | number | undefined;
333
333
  to?: string | undefined;
334
- gasPrice?: string | undefined;
335
334
  data?: string | undefined;
336
335
  gas?: string | undefined;
336
+ gasPrice?: string | undefined;
337
337
  maxFeePerGas?: string | undefined;
338
338
  maxPriorityFeePerGas?: string | undefined;
339
339
  nonce?: string | undefined;
@@ -343,12 +343,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
343
343
  }[] | undefined;
344
344
  }, {
345
345
  from: string;
346
- chainId?: string | number | undefined;
347
346
  value?: string | undefined;
347
+ chainId?: string | number | undefined;
348
348
  to?: string | undefined;
349
- gasPrice?: string | undefined;
350
349
  data?: string | undefined;
351
350
  gas?: string | undefined;
351
+ gasPrice?: string | undefined;
352
352
  maxFeePerGas?: string | undefined;
353
353
  maxPriorityFeePerGas?: string | undefined;
354
354
  nonce?: string | undefined;
@@ -358,12 +358,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
358
358
  }[] | undefined;
359
359
  }, ...{
360
360
  from: string;
361
- chainId?: string | number | undefined;
362
361
  value?: string | undefined;
362
+ chainId?: string | number | undefined;
363
363
  to?: string | undefined;
364
- gasPrice?: string | undefined;
365
364
  data?: string | undefined;
366
365
  gas?: string | undefined;
366
+ gasPrice?: string | undefined;
367
367
  maxFeePerGas?: string | undefined;
368
368
  maxPriorityFeePerGas?: string | undefined;
369
369
  nonce?: string | undefined;
@@ -373,12 +373,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
373
373
  }[] | undefined;
374
374
  }[]], [{
375
375
  from: string;
376
- chainId?: string | number | undefined;
377
376
  value?: string | undefined;
377
+ chainId?: string | number | undefined;
378
378
  to?: string | undefined;
379
- gasPrice?: string | undefined;
380
379
  data?: string | undefined;
381
380
  gas?: string | undefined;
381
+ gasPrice?: string | undefined;
382
382
  maxFeePerGas?: string | undefined;
383
383
  maxPriorityFeePerGas?: string | undefined;
384
384
  nonce?: string | undefined;
@@ -388,12 +388,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
388
388
  }[] | undefined;
389
389
  }, {
390
390
  from: string;
391
- chainId?: string | number | undefined;
392
391
  value?: string | undefined;
392
+ chainId?: string | number | undefined;
393
393
  to?: string | undefined;
394
- gasPrice?: string | undefined;
395
394
  data?: string | undefined;
396
395
  gas?: string | undefined;
396
+ gasPrice?: string | undefined;
397
397
  maxFeePerGas?: string | undefined;
398
398
  maxPriorityFeePerGas?: string | undefined;
399
399
  nonce?: string | undefined;
@@ -403,12 +403,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
403
403
  }[] | undefined;
404
404
  }, ...{
405
405
  from: string;
406
- chainId?: string | number | undefined;
407
406
  value?: string | undefined;
407
+ chainId?: string | number | undefined;
408
408
  to?: string | undefined;
409
- gasPrice?: string | undefined;
410
409
  data?: string | undefined;
411
410
  gas?: string | undefined;
411
+ gasPrice?: string | undefined;
412
412
  maxFeePerGas?: string | undefined;
413
413
  maxPriorityFeePerGas?: string | undefined;
414
414
  nonce?: string | undefined;
@@ -418,12 +418,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
418
418
  }[] | undefined;
419
419
  }[]]>, [{
420
420
  from: string;
421
- chainId?: string | number | undefined;
422
421
  value?: string | undefined;
422
+ chainId?: string | number | undefined;
423
423
  to?: string | undefined;
424
- gasPrice?: string | undefined;
425
424
  data?: string | undefined;
426
425
  gas?: string | undefined;
426
+ gasPrice?: string | undefined;
427
427
  maxFeePerGas?: string | undefined;
428
428
  maxPriorityFeePerGas?: string | undefined;
429
429
  nonce?: string | undefined;
@@ -433,12 +433,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
433
433
  }[] | undefined;
434
434
  }, {
435
435
  from: string;
436
- chainId?: string | number | undefined;
437
436
  value?: string | undefined;
437
+ chainId?: string | number | undefined;
438
438
  to?: string | undefined;
439
- gasPrice?: string | undefined;
440
439
  data?: string | undefined;
441
440
  gas?: string | undefined;
441
+ gasPrice?: string | undefined;
442
442
  maxFeePerGas?: string | undefined;
443
443
  maxPriorityFeePerGas?: string | undefined;
444
444
  nonce?: string | undefined;
@@ -448,12 +448,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
448
448
  }[] | undefined;
449
449
  }, ...{
450
450
  from: string;
451
- chainId?: string | number | undefined;
452
451
  value?: string | undefined;
452
+ chainId?: string | number | undefined;
453
453
  to?: string | undefined;
454
- gasPrice?: string | undefined;
455
454
  data?: string | undefined;
456
455
  gas?: string | undefined;
456
+ gasPrice?: string | undefined;
457
457
  maxFeePerGas?: string | undefined;
458
458
  maxPriorityFeePerGas?: string | undefined;
459
459
  nonce?: string | undefined;
@@ -463,12 +463,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
463
463
  }[] | undefined;
464
464
  }[]], [{
465
465
  from: string;
466
- chainId?: string | number | undefined;
467
466
  value?: string | undefined;
467
+ chainId?: string | number | undefined;
468
468
  to?: string | undefined;
469
- gasPrice?: string | undefined;
470
469
  data?: string | undefined;
471
470
  gas?: string | undefined;
471
+ gasPrice?: string | undefined;
472
472
  maxFeePerGas?: string | undefined;
473
473
  maxPriorityFeePerGas?: string | undefined;
474
474
  nonce?: string | undefined;
@@ -478,12 +478,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
478
478
  }[] | undefined;
479
479
  }, {
480
480
  from: string;
481
- chainId?: string | number | undefined;
482
481
  value?: string | undefined;
482
+ chainId?: string | number | undefined;
483
483
  to?: string | undefined;
484
- gasPrice?: string | undefined;
485
484
  data?: string | undefined;
486
485
  gas?: string | undefined;
486
+ gasPrice?: string | undefined;
487
487
  maxFeePerGas?: string | undefined;
488
488
  maxPriorityFeePerGas?: string | undefined;
489
489
  nonce?: string | undefined;
@@ -493,12 +493,12 @@ declare const transactionArraySchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.Z
493
493
  }[] | undefined;
494
494
  }, ...{
495
495
  from: string;
496
- chainId?: string | number | undefined;
497
496
  value?: string | undefined;
497
+ chainId?: string | number | undefined;
498
498
  to?: string | undefined;
499
- gasPrice?: string | undefined;
500
499
  data?: string | undefined;
501
500
  gas?: string | undefined;
501
+ gasPrice?: string | undefined;
502
502
  maxFeePerGas?: string | undefined;
503
503
  maxPriorityFeePerGas?: string | undefined;
504
504
  nonce?: string | undefined;