@bitgo/sdk-coin-sui 3.0.2 → 3.0.3

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.
@@ -3,8 +3,8 @@ import { ObjectId } from '../types/common';
3
3
  export declare const TransactionBlockInput: Struct<{
4
4
  kind: "Input";
5
5
  index: number;
6
- type?: "object" | "pure" | undefined;
7
6
  value?: any;
7
+ type?: "object" | "pure" | undefined;
8
8
  }, {
9
9
  kind: Struct<"Input", "Input">;
10
10
  index: Struct<number, null>;
@@ -15,8 +15,8 @@ export declare type TransactionBlockInput = Infer<typeof TransactionBlockInput>;
15
15
  export declare const TransactionArgument: Struct<{
16
16
  kind: "Input";
17
17
  index: number;
18
- type?: "object" | "pure" | undefined;
19
18
  value?: any;
19
+ type?: "object" | "pure" | undefined;
20
20
  } | {
21
21
  kind: "GasCoin";
22
22
  } | {
@@ -31,8 +31,8 @@ export declare type TransactionArgument = Infer<typeof TransactionArgument>;
31
31
  export declare const ObjectTransactionArgument: Struct<{
32
32
  kind: "Input";
33
33
  index: number;
34
- type?: "object" | "pure" | undefined;
35
34
  value?: any;
35
+ type?: "object" | "pure" | undefined;
36
36
  } | {
37
37
  kind: "GasCoin";
38
38
  } | {
@@ -46,8 +46,8 @@ export declare const ObjectTransactionArgument: Struct<{
46
46
  export declare const PureTransactionArgument: (type: string) => Struct<{
47
47
  kind: "Input";
48
48
  index: number;
49
- type?: "object" | "pure" | undefined;
50
49
  value?: any;
50
+ type?: "object" | "pure" | undefined;
51
51
  } | {
52
52
  kind: "GasCoin";
53
53
  } | {
@@ -59,11 +59,14 @@ export declare const PureTransactionArgument: (type: string) => Struct<{
59
59
  resultIndex: number;
60
60
  }, null>;
61
61
  export declare const MoveCallTransaction: Struct<{
62
+ kind: "MoveCall";
63
+ target: `${string}::${string}::${string}`;
64
+ typeArguments: string[];
62
65
  arguments: ({
63
66
  kind: "Input";
64
67
  index: number;
65
- type?: "object" | "pure" | undefined;
66
68
  value?: any;
69
+ type?: "object" | "pure" | undefined;
67
70
  } | {
68
71
  kind: "GasCoin";
69
72
  } | {
@@ -74,9 +77,6 @@ export declare const MoveCallTransaction: Struct<{
74
77
  index: number;
75
78
  resultIndex: number;
76
79
  })[];
77
- kind: "MoveCall";
78
- target: `${string}::${string}::${string}`;
79
- typeArguments: string[];
80
80
  }, {
81
81
  kind: Struct<"MoveCall", "MoveCall">;
82
82
  target: Struct<`${string}::${string}::${string}`, null>;
@@ -84,8 +84,8 @@ export declare const MoveCallTransaction: Struct<{
84
84
  arguments: Struct<({
85
85
  kind: "Input";
86
86
  index: number;
87
- type?: "object" | "pure" | undefined;
88
87
  value?: any;
88
+ type?: "object" | "pure" | undefined;
89
89
  } | {
90
90
  kind: "GasCoin";
91
91
  } | {
@@ -98,8 +98,8 @@ export declare const MoveCallTransaction: Struct<{
98
98
  })[], Struct<{
99
99
  kind: "Input";
100
100
  index: number;
101
- type?: "object" | "pure" | undefined;
102
101
  value?: any;
102
+ type?: "object" | "pure" | undefined;
103
103
  } | {
104
104
  kind: "GasCoin";
105
105
  } | {
@@ -113,11 +113,12 @@ export declare const MoveCallTransaction: Struct<{
113
113
  }>;
114
114
  export declare type MoveCallTransaction = Infer<typeof MoveCallTransaction>;
115
115
  export declare const TransferObjectsTransaction: Struct<{
116
+ kind: "TransferObjects";
116
117
  objects: ({
117
118
  kind: "Input";
118
119
  index: number;
119
- type?: "object" | "pure" | undefined;
120
120
  value?: any;
121
+ type?: "object" | "pure" | undefined;
121
122
  } | {
122
123
  kind: "GasCoin";
123
124
  } | {
@@ -128,12 +129,11 @@ export declare const TransferObjectsTransaction: Struct<{
128
129
  index: number;
129
130
  resultIndex: number;
130
131
  })[];
131
- kind: "TransferObjects";
132
132
  address: {
133
133
  kind: "Input";
134
134
  index: number;
135
- type?: "object" | "pure" | undefined;
136
135
  value?: any;
136
+ type?: "object" | "pure" | undefined;
137
137
  } | {
138
138
  kind: "GasCoin";
139
139
  } | {
@@ -149,8 +149,8 @@ export declare const TransferObjectsTransaction: Struct<{
149
149
  objects: Struct<({
150
150
  kind: "Input";
151
151
  index: number;
152
- type?: "object" | "pure" | undefined;
153
152
  value?: any;
153
+ type?: "object" | "pure" | undefined;
154
154
  } | {
155
155
  kind: "GasCoin";
156
156
  } | {
@@ -163,8 +163,8 @@ export declare const TransferObjectsTransaction: Struct<{
163
163
  })[], Struct<{
164
164
  kind: "Input";
165
165
  index: number;
166
- type?: "object" | "pure" | undefined;
167
166
  value?: any;
167
+ type?: "object" | "pure" | undefined;
168
168
  } | {
169
169
  kind: "GasCoin";
170
170
  } | {
@@ -178,8 +178,8 @@ export declare const TransferObjectsTransaction: Struct<{
178
178
  address: Struct<{
179
179
  kind: "Input";
180
180
  index: number;
181
- type?: "object" | "pure" | undefined;
182
181
  value?: any;
182
+ type?: "object" | "pure" | undefined;
183
183
  } | {
184
184
  kind: "GasCoin";
185
185
  } | {
@@ -197,8 +197,8 @@ export declare const SplitCoinsTransaction: Struct<{
197
197
  coin: {
198
198
  kind: "Input";
199
199
  index: number;
200
- type?: "object" | "pure" | undefined;
201
200
  value?: any;
201
+ type?: "object" | "pure" | undefined;
202
202
  } | {
203
203
  kind: "GasCoin";
204
204
  } | {
@@ -212,8 +212,8 @@ export declare const SplitCoinsTransaction: Struct<{
212
212
  amounts: ({
213
213
  kind: "Input";
214
214
  index: number;
215
- type?: "object" | "pure" | undefined;
216
215
  value?: any;
216
+ type?: "object" | "pure" | undefined;
217
217
  } | {
218
218
  kind: "GasCoin";
219
219
  } | {
@@ -229,8 +229,8 @@ export declare const SplitCoinsTransaction: Struct<{
229
229
  coin: Struct<{
230
230
  kind: "Input";
231
231
  index: number;
232
- type?: "object" | "pure" | undefined;
233
232
  value?: any;
233
+ type?: "object" | "pure" | undefined;
234
234
  } | {
235
235
  kind: "GasCoin";
236
236
  } | {
@@ -244,8 +244,8 @@ export declare const SplitCoinsTransaction: Struct<{
244
244
  amounts: Struct<({
245
245
  kind: "Input";
246
246
  index: number;
247
- type?: "object" | "pure" | undefined;
248
247
  value?: any;
248
+ type?: "object" | "pure" | undefined;
249
249
  } | {
250
250
  kind: "GasCoin";
251
251
  } | {
@@ -258,8 +258,8 @@ export declare const SplitCoinsTransaction: Struct<{
258
258
  })[], Struct<{
259
259
  kind: "Input";
260
260
  index: number;
261
- type?: "object" | "pure" | undefined;
262
261
  value?: any;
262
+ type?: "object" | "pure" | undefined;
263
263
  } | {
264
264
  kind: "GasCoin";
265
265
  } | {
@@ -277,8 +277,8 @@ export declare const MergeCoinsTransaction: Struct<{
277
277
  destination: {
278
278
  kind: "Input";
279
279
  index: number;
280
- type?: "object" | "pure" | undefined;
281
280
  value?: any;
281
+ type?: "object" | "pure" | undefined;
282
282
  } | {
283
283
  kind: "GasCoin";
284
284
  } | {
@@ -292,8 +292,8 @@ export declare const MergeCoinsTransaction: Struct<{
292
292
  sources: ({
293
293
  kind: "Input";
294
294
  index: number;
295
- type?: "object" | "pure" | undefined;
296
295
  value?: any;
296
+ type?: "object" | "pure" | undefined;
297
297
  } | {
298
298
  kind: "GasCoin";
299
299
  } | {
@@ -309,8 +309,8 @@ export declare const MergeCoinsTransaction: Struct<{
309
309
  destination: Struct<{
310
310
  kind: "Input";
311
311
  index: number;
312
- type?: "object" | "pure" | undefined;
313
312
  value?: any;
313
+ type?: "object" | "pure" | undefined;
314
314
  } | {
315
315
  kind: "GasCoin";
316
316
  } | {
@@ -324,8 +324,8 @@ export declare const MergeCoinsTransaction: Struct<{
324
324
  sources: Struct<({
325
325
  kind: "Input";
326
326
  index: number;
327
- type?: "object" | "pure" | undefined;
328
327
  value?: any;
328
+ type?: "object" | "pure" | undefined;
329
329
  } | {
330
330
  kind: "GasCoin";
331
331
  } | {
@@ -338,8 +338,8 @@ export declare const MergeCoinsTransaction: Struct<{
338
338
  })[], Struct<{
339
339
  kind: "Input";
340
340
  index: number;
341
- type?: "object" | "pure" | undefined;
342
341
  value?: any;
342
+ type?: "object" | "pure" | undefined;
343
343
  } | {
344
344
  kind: "GasCoin";
345
345
  } | {
@@ -353,11 +353,12 @@ export declare const MergeCoinsTransaction: Struct<{
353
353
  }>;
354
354
  export declare type MergeCoinsTransaction = Infer<typeof MergeCoinsTransaction>;
355
355
  export declare const MakeMoveVecTransaction: Struct<{
356
+ kind: "MakeMoveVec";
356
357
  objects: ({
357
358
  kind: "Input";
358
359
  index: number;
359
- type?: "object" | "pure" | undefined;
360
360
  value?: any;
361
+ type?: "object" | "pure" | undefined;
361
362
  } | {
362
363
  kind: "GasCoin";
363
364
  } | {
@@ -368,7 +369,6 @@ export declare const MakeMoveVecTransaction: Struct<{
368
369
  index: number;
369
370
  resultIndex: number;
370
371
  })[];
371
- kind: "MakeMoveVec";
372
372
  type?: {
373
373
  None: null;
374
374
  } | {
@@ -384,8 +384,8 @@ export declare const MakeMoveVecTransaction: Struct<{
384
384
  objects: Struct<({
385
385
  kind: "Input";
386
386
  index: number;
387
- type?: "object" | "pure" | undefined;
388
387
  value?: any;
388
+ type?: "object" | "pure" | undefined;
389
389
  } | {
390
390
  kind: "GasCoin";
391
391
  } | {
@@ -398,8 +398,8 @@ export declare const MakeMoveVecTransaction: Struct<{
398
398
  })[], Struct<{
399
399
  kind: "Input";
400
400
  index: number;
401
- type?: "object" | "pure" | undefined;
402
401
  value?: any;
402
+ type?: "object" | "pure" | undefined;
403
403
  } | {
404
404
  kind: "GasCoin";
405
405
  } | {
@@ -414,8 +414,8 @@ export declare const MakeMoveVecTransaction: Struct<{
414
414
  export declare type MakeMoveVecTransaction = Infer<typeof MakeMoveVecTransaction>;
415
415
  export declare const PublishTransaction: Struct<{
416
416
  kind: "Publish";
417
- dependencies: string[];
418
417
  modules: number[][];
418
+ dependencies: string[];
419
419
  }, {
420
420
  kind: Struct<"Publish", "Publish">;
421
421
  modules: Struct<number[][], Struct<number[], Struct<number, null>>>;
@@ -423,11 +423,14 @@ export declare const PublishTransaction: Struct<{
423
423
  }>;
424
424
  export declare type PublishTransaction = Infer<typeof PublishTransaction>;
425
425
  export declare const TransactionType: Struct<{
426
+ kind: "MoveCall";
427
+ target: `${string}::${string}::${string}`;
428
+ typeArguments: string[];
426
429
  arguments: ({
427
430
  kind: "Input";
428
431
  index: number;
429
- type?: "object" | "pure" | undefined;
430
432
  value?: any;
433
+ type?: "object" | "pure" | undefined;
431
434
  } | {
432
435
  kind: "GasCoin";
433
436
  } | {
@@ -438,15 +441,13 @@ export declare const TransactionType: Struct<{
438
441
  index: number;
439
442
  resultIndex: number;
440
443
  })[];
441
- kind: "MoveCall";
442
- target: `${string}::${string}::${string}`;
443
- typeArguments: string[];
444
444
  } | {
445
+ kind: "TransferObjects";
445
446
  objects: ({
446
447
  kind: "Input";
447
448
  index: number;
448
- type?: "object" | "pure" | undefined;
449
449
  value?: any;
450
+ type?: "object" | "pure" | undefined;
450
451
  } | {
451
452
  kind: "GasCoin";
452
453
  } | {
@@ -457,12 +458,11 @@ export declare const TransactionType: Struct<{
457
458
  index: number;
458
459
  resultIndex: number;
459
460
  })[];
460
- kind: "TransferObjects";
461
461
  address: {
462
462
  kind: "Input";
463
463
  index: number;
464
- type?: "object" | "pure" | undefined;
465
464
  value?: any;
465
+ type?: "object" | "pure" | undefined;
466
466
  } | {
467
467
  kind: "GasCoin";
468
468
  } | {
@@ -478,8 +478,8 @@ export declare const TransactionType: Struct<{
478
478
  coin: {
479
479
  kind: "Input";
480
480
  index: number;
481
- type?: "object" | "pure" | undefined;
482
481
  value?: any;
482
+ type?: "object" | "pure" | undefined;
483
483
  } | {
484
484
  kind: "GasCoin";
485
485
  } | {
@@ -493,8 +493,8 @@ export declare const TransactionType: Struct<{
493
493
  amounts: ({
494
494
  kind: "Input";
495
495
  index: number;
496
- type?: "object" | "pure" | undefined;
497
496
  value?: any;
497
+ type?: "object" | "pure" | undefined;
498
498
  } | {
499
499
  kind: "GasCoin";
500
500
  } | {
@@ -510,8 +510,8 @@ export declare const TransactionType: Struct<{
510
510
  destination: {
511
511
  kind: "Input";
512
512
  index: number;
513
- type?: "object" | "pure" | undefined;
514
513
  value?: any;
514
+ type?: "object" | "pure" | undefined;
515
515
  } | {
516
516
  kind: "GasCoin";
517
517
  } | {
@@ -525,8 +525,8 @@ export declare const TransactionType: Struct<{
525
525
  sources: ({
526
526
  kind: "Input";
527
527
  index: number;
528
- type?: "object" | "pure" | undefined;
529
528
  value?: any;
529
+ type?: "object" | "pure" | undefined;
530
530
  } | {
531
531
  kind: "GasCoin";
532
532
  } | {
@@ -538,11 +538,16 @@ export declare const TransactionType: Struct<{
538
538
  resultIndex: number;
539
539
  })[];
540
540
  } | {
541
+ kind: "Publish";
542
+ modules: number[][];
543
+ dependencies: string[];
544
+ } | {
545
+ kind: "MakeMoveVec";
541
546
  objects: ({
542
547
  kind: "Input";
543
548
  index: number;
544
- type?: "object" | "pure" | undefined;
545
549
  value?: any;
550
+ type?: "object" | "pure" | undefined;
546
551
  } | {
547
552
  kind: "GasCoin";
548
553
  } | {
@@ -553,24 +558,22 @@ export declare const TransactionType: Struct<{
553
558
  index: number;
554
559
  resultIndex: number;
555
560
  })[];
556
- kind: "MakeMoveVec";
557
561
  type?: {
558
562
  None: null;
559
563
  } | {
560
564
  Some: string;
561
565
  } | undefined;
562
- } | {
563
- kind: "Publish";
564
- dependencies: string[];
565
- modules: number[][];
566
566
  }, null>;
567
567
  export declare type TransactionType = Infer<typeof TransactionType>;
568
568
  export declare function getTransactionType(data: unknown): Struct<{
569
+ kind: "MoveCall";
570
+ target: `${string}::${string}::${string}`;
571
+ typeArguments: string[];
569
572
  arguments: ({
570
573
  kind: "Input";
571
574
  index: number;
572
- type?: "object" | "pure" | undefined;
573
575
  value?: any;
576
+ type?: "object" | "pure" | undefined;
574
577
  } | {
575
578
  kind: "GasCoin";
576
579
  } | {
@@ -581,9 +584,6 @@ export declare function getTransactionType(data: unknown): Struct<{
581
584
  index: number;
582
585
  resultIndex: number;
583
586
  })[];
584
- kind: "MoveCall";
585
- target: `${string}::${string}::${string}`;
586
- typeArguments: string[];
587
587
  }, {
588
588
  kind: Struct<"MoveCall", "MoveCall">;
589
589
  target: Struct<`${string}::${string}::${string}`, null>;
@@ -591,8 +591,8 @@ export declare function getTransactionType(data: unknown): Struct<{
591
591
  arguments: Struct<({
592
592
  kind: "Input";
593
593
  index: number;
594
- type?: "object" | "pure" | undefined;
595
594
  value?: any;
595
+ type?: "object" | "pure" | undefined;
596
596
  } | {
597
597
  kind: "GasCoin";
598
598
  } | {
@@ -605,8 +605,8 @@ export declare function getTransactionType(data: unknown): Struct<{
605
605
  })[], Struct<{
606
606
  kind: "Input";
607
607
  index: number;
608
- type?: "object" | "pure" | undefined;
609
608
  value?: any;
609
+ type?: "object" | "pure" | undefined;
610
610
  } | {
611
611
  kind: "GasCoin";
612
612
  } | {
@@ -618,11 +618,12 @@ export declare function getTransactionType(data: unknown): Struct<{
618
618
  resultIndex: number;
619
619
  }, null>>;
620
620
  }> | Struct<{
621
+ kind: "TransferObjects";
621
622
  objects: ({
622
623
  kind: "Input";
623
624
  index: number;
624
- type?: "object" | "pure" | undefined;
625
625
  value?: any;
626
+ type?: "object" | "pure" | undefined;
626
627
  } | {
627
628
  kind: "GasCoin";
628
629
  } | {
@@ -633,12 +634,11 @@ export declare function getTransactionType(data: unknown): Struct<{
633
634
  index: number;
634
635
  resultIndex: number;
635
636
  })[];
636
- kind: "TransferObjects";
637
637
  address: {
638
638
  kind: "Input";
639
639
  index: number;
640
- type?: "object" | "pure" | undefined;
641
640
  value?: any;
641
+ type?: "object" | "pure" | undefined;
642
642
  } | {
643
643
  kind: "GasCoin";
644
644
  } | {
@@ -654,8 +654,8 @@ export declare function getTransactionType(data: unknown): Struct<{
654
654
  objects: Struct<({
655
655
  kind: "Input";
656
656
  index: number;
657
- type?: "object" | "pure" | undefined;
658
657
  value?: any;
658
+ type?: "object" | "pure" | undefined;
659
659
  } | {
660
660
  kind: "GasCoin";
661
661
  } | {
@@ -668,8 +668,8 @@ export declare function getTransactionType(data: unknown): Struct<{
668
668
  })[], Struct<{
669
669
  kind: "Input";
670
670
  index: number;
671
- type?: "object" | "pure" | undefined;
672
671
  value?: any;
672
+ type?: "object" | "pure" | undefined;
673
673
  } | {
674
674
  kind: "GasCoin";
675
675
  } | {
@@ -683,8 +683,8 @@ export declare function getTransactionType(data: unknown): Struct<{
683
683
  address: Struct<{
684
684
  kind: "Input";
685
685
  index: number;
686
- type?: "object" | "pure" | undefined;
687
686
  value?: any;
687
+ type?: "object" | "pure" | undefined;
688
688
  } | {
689
689
  kind: "GasCoin";
690
690
  } | {
@@ -700,8 +700,8 @@ export declare function getTransactionType(data: unknown): Struct<{
700
700
  coin: {
701
701
  kind: "Input";
702
702
  index: number;
703
- type?: "object" | "pure" | undefined;
704
703
  value?: any;
704
+ type?: "object" | "pure" | undefined;
705
705
  } | {
706
706
  kind: "GasCoin";
707
707
  } | {
@@ -715,8 +715,8 @@ export declare function getTransactionType(data: unknown): Struct<{
715
715
  amounts: ({
716
716
  kind: "Input";
717
717
  index: number;
718
- type?: "object" | "pure" | undefined;
719
718
  value?: any;
719
+ type?: "object" | "pure" | undefined;
720
720
  } | {
721
721
  kind: "GasCoin";
722
722
  } | {
@@ -732,8 +732,8 @@ export declare function getTransactionType(data: unknown): Struct<{
732
732
  coin: Struct<{
733
733
  kind: "Input";
734
734
  index: number;
735
- type?: "object" | "pure" | undefined;
736
735
  value?: any;
736
+ type?: "object" | "pure" | undefined;
737
737
  } | {
738
738
  kind: "GasCoin";
739
739
  } | {
@@ -747,8 +747,8 @@ export declare function getTransactionType(data: unknown): Struct<{
747
747
  amounts: Struct<({
748
748
  kind: "Input";
749
749
  index: number;
750
- type?: "object" | "pure" | undefined;
751
750
  value?: any;
751
+ type?: "object" | "pure" | undefined;
752
752
  } | {
753
753
  kind: "GasCoin";
754
754
  } | {
@@ -761,8 +761,8 @@ export declare function getTransactionType(data: unknown): Struct<{
761
761
  })[], Struct<{
762
762
  kind: "Input";
763
763
  index: number;
764
- type?: "object" | "pure" | undefined;
765
764
  value?: any;
765
+ type?: "object" | "pure" | undefined;
766
766
  } | {
767
767
  kind: "GasCoin";
768
768
  } | {
@@ -778,8 +778,8 @@ export declare function getTransactionType(data: unknown): Struct<{
778
778
  destination: {
779
779
  kind: "Input";
780
780
  index: number;
781
- type?: "object" | "pure" | undefined;
782
781
  value?: any;
782
+ type?: "object" | "pure" | undefined;
783
783
  } | {
784
784
  kind: "GasCoin";
785
785
  } | {
@@ -793,8 +793,8 @@ export declare function getTransactionType(data: unknown): Struct<{
793
793
  sources: ({
794
794
  kind: "Input";
795
795
  index: number;
796
- type?: "object" | "pure" | undefined;
797
796
  value?: any;
797
+ type?: "object" | "pure" | undefined;
798
798
  } | {
799
799
  kind: "GasCoin";
800
800
  } | {
@@ -810,8 +810,8 @@ export declare function getTransactionType(data: unknown): Struct<{
810
810
  destination: Struct<{
811
811
  kind: "Input";
812
812
  index: number;
813
- type?: "object" | "pure" | undefined;
814
813
  value?: any;
814
+ type?: "object" | "pure" | undefined;
815
815
  } | {
816
816
  kind: "GasCoin";
817
817
  } | {
@@ -825,8 +825,8 @@ export declare function getTransactionType(data: unknown): Struct<{
825
825
  sources: Struct<({
826
826
  kind: "Input";
827
827
  index: number;
828
- type?: "object" | "pure" | undefined;
829
828
  value?: any;
829
+ type?: "object" | "pure" | undefined;
830
830
  } | {
831
831
  kind: "GasCoin";
832
832
  } | {
@@ -839,8 +839,8 @@ export declare function getTransactionType(data: unknown): Struct<{
839
839
  })[], Struct<{
840
840
  kind: "Input";
841
841
  index: number;
842
- type?: "object" | "pure" | undefined;
843
842
  value?: any;
843
+ type?: "object" | "pure" | undefined;
844
844
  } | {
845
845
  kind: "GasCoin";
846
846
  } | {
@@ -852,11 +852,20 @@ export declare function getTransactionType(data: unknown): Struct<{
852
852
  resultIndex: number;
853
853
  }, null>>;
854
854
  }> | Struct<{
855
+ kind: "Publish";
856
+ modules: number[][];
857
+ dependencies: string[];
858
+ }, {
859
+ kind: Struct<"Publish", "Publish">;
860
+ modules: Struct<number[][], Struct<number[], Struct<number, null>>>;
861
+ dependencies: Struct<string[], Struct<string, null>>;
862
+ }> | Struct<{
863
+ kind: "MakeMoveVec";
855
864
  objects: ({
856
865
  kind: "Input";
857
866
  index: number;
858
- type?: "object" | "pure" | undefined;
859
867
  value?: any;
868
+ type?: "object" | "pure" | undefined;
860
869
  } | {
861
870
  kind: "GasCoin";
862
871
  } | {
@@ -867,7 +876,6 @@ export declare function getTransactionType(data: unknown): Struct<{
867
876
  index: number;
868
877
  resultIndex: number;
869
878
  })[];
870
- kind: "MakeMoveVec";
871
879
  type?: {
872
880
  None: null;
873
881
  } | {
@@ -883,8 +891,8 @@ export declare function getTransactionType(data: unknown): Struct<{
883
891
  objects: Struct<({
884
892
  kind: "Input";
885
893
  index: number;
886
- type?: "object" | "pure" | undefined;
887
894
  value?: any;
895
+ type?: "object" | "pure" | undefined;
888
896
  } | {
889
897
  kind: "GasCoin";
890
898
  } | {
@@ -897,8 +905,8 @@ export declare function getTransactionType(data: unknown): Struct<{
897
905
  })[], Struct<{
898
906
  kind: "Input";
899
907
  index: number;
900
- type?: "object" | "pure" | undefined;
901
908
  value?: any;
909
+ type?: "object" | "pure" | undefined;
902
910
  } | {
903
911
  kind: "GasCoin";
904
912
  } | {
@@ -909,25 +917,20 @@ export declare function getTransactionType(data: unknown): Struct<{
909
917
  index: number;
910
918
  resultIndex: number;
911
919
  }, null>>;
912
- }> | Struct<{
913
- kind: "Publish";
914
- dependencies: string[];
915
- modules: number[][];
916
- }, {
917
- kind: Struct<"Publish", "Publish">;
918
- modules: Struct<number[][], Struct<number[], Struct<number, null>>>;
919
- dependencies: Struct<string[], Struct<string, null>>;
920
920
  }>;
921
921
  /**
922
922
  * Simple helpers used to construct transactions:
923
923
  */
924
924
  export declare const Transactions: {
925
925
  MoveCall(input: Omit<{
926
+ kind: "MoveCall";
927
+ target: `${string}::${string}::${string}`;
928
+ typeArguments: string[];
926
929
  arguments: ({
927
930
  kind: "Input";
928
931
  index: number;
929
- type?: "object" | "pure" | undefined;
930
932
  value?: any;
933
+ type?: "object" | "pure" | undefined;
931
934
  } | {
932
935
  kind: "GasCoin";
933
936
  } | {
@@ -938,15 +941,12 @@ export declare const Transactions: {
938
941
  index: number;
939
942
  resultIndex: number;
940
943
  })[];
941
- kind: "MoveCall";
942
- target: `${string}::${string}::${string}`;
943
- typeArguments: string[];
944
- }, "arguments" | "kind" | "typeArguments"> & {
944
+ }, "kind" | "typeArguments" | "arguments"> & {
945
945
  arguments?: ({
946
946
  kind: "Input";
947
947
  index: number;
948
- type?: "object" | "pure" | undefined;
949
948
  value?: any;
949
+ type?: "object" | "pure" | undefined;
950
950
  } | {
951
951
  kind: "GasCoin";
952
952
  } | {
@@ -964,11 +964,12 @@ export declare const Transactions: {
964
964
  MergeCoins(destination: TransactionArgument, sources: TransactionArgument[]): MergeCoinsTransaction;
965
965
  Publish(modules: number[][], dependencies: ObjectId[]): PublishTransaction;
966
966
  MakeMoveVec({ type, objects, }: Omit<{
967
+ kind: "MakeMoveVec";
967
968
  objects: ({
968
969
  kind: "Input";
969
970
  index: number;
970
- type?: "object" | "pure" | undefined;
971
971
  value?: any;
972
+ type?: "object" | "pure" | undefined;
972
973
  } | {
973
974
  kind: "GasCoin";
974
975
  } | {
@@ -979,13 +980,12 @@ export declare const Transactions: {
979
980
  index: number;
980
981
  resultIndex: number;
981
982
  })[];
982
- kind: "MakeMoveVec";
983
983
  type?: {
984
984
  None: null;
985
985
  } | {
986
986
  Some: string;
987
987
  } | undefined;
988
- }, "type" | "kind"> & {
988
+ }, "kind" | "type"> & {
989
989
  type?: string | undefined;
990
990
  }): MakeMoveVecTransaction;
991
991
  };