@bitgo/sdk-coin-sui 3.0.5 → 3.0.6

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
- value?: any;
7
6
  type?: "object" | "pure" | undefined;
7
+ value?: any;
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
- value?: any;
19
18
  type?: "object" | "pure" | undefined;
19
+ value?: any;
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
- value?: any;
35
34
  type?: "object" | "pure" | undefined;
35
+ value?: any;
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
- value?: any;
50
49
  type?: "object" | "pure" | undefined;
50
+ value?: any;
51
51
  } | {
52
52
  kind: "GasCoin";
53
53
  } | {
@@ -59,14 +59,11 @@ 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[];
65
62
  arguments: ({
66
63
  kind: "Input";
67
64
  index: number;
68
- value?: any;
69
65
  type?: "object" | "pure" | undefined;
66
+ value?: any;
70
67
  } | {
71
68
  kind: "GasCoin";
72
69
  } | {
@@ -77,6 +74,9 @@ export declare const MoveCallTransaction: Struct<{
77
74
  index: number;
78
75
  resultIndex: number;
79
76
  })[];
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
- value?: any;
88
87
  type?: "object" | "pure" | undefined;
88
+ value?: any;
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
- value?: any;
102
101
  type?: "object" | "pure" | undefined;
102
+ value?: any;
103
103
  } | {
104
104
  kind: "GasCoin";
105
105
  } | {
@@ -113,12 +113,11 @@ 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";
117
116
  objects: ({
118
117
  kind: "Input";
119
118
  index: number;
120
- value?: any;
121
119
  type?: "object" | "pure" | undefined;
120
+ value?: any;
122
121
  } | {
123
122
  kind: "GasCoin";
124
123
  } | {
@@ -129,11 +128,12 @@ export declare const TransferObjectsTransaction: Struct<{
129
128
  index: number;
130
129
  resultIndex: number;
131
130
  })[];
131
+ kind: "TransferObjects";
132
132
  address: {
133
133
  kind: "Input";
134
134
  index: number;
135
- value?: any;
136
135
  type?: "object" | "pure" | undefined;
136
+ value?: any;
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
- value?: any;
153
152
  type?: "object" | "pure" | undefined;
153
+ value?: any;
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
- value?: any;
167
166
  type?: "object" | "pure" | undefined;
167
+ value?: any;
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
- value?: any;
182
181
  type?: "object" | "pure" | undefined;
182
+ value?: any;
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
- value?: any;
201
200
  type?: "object" | "pure" | undefined;
201
+ value?: any;
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
- value?: any;
216
215
  type?: "object" | "pure" | undefined;
216
+ value?: any;
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
- value?: any;
233
232
  type?: "object" | "pure" | undefined;
233
+ value?: any;
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
- value?: any;
248
247
  type?: "object" | "pure" | undefined;
248
+ value?: any;
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
- value?: any;
262
261
  type?: "object" | "pure" | undefined;
262
+ value?: any;
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
- value?: any;
281
280
  type?: "object" | "pure" | undefined;
281
+ value?: any;
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
- value?: any;
296
295
  type?: "object" | "pure" | undefined;
296
+ value?: any;
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
- value?: any;
313
312
  type?: "object" | "pure" | undefined;
313
+ value?: any;
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
- value?: any;
328
327
  type?: "object" | "pure" | undefined;
328
+ value?: any;
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
- value?: any;
342
341
  type?: "object" | "pure" | undefined;
342
+ value?: any;
343
343
  } | {
344
344
  kind: "GasCoin";
345
345
  } | {
@@ -353,12 +353,11 @@ 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";
357
356
  objects: ({
358
357
  kind: "Input";
359
358
  index: number;
360
- value?: any;
361
359
  type?: "object" | "pure" | undefined;
360
+ value?: any;
362
361
  } | {
363
362
  kind: "GasCoin";
364
363
  } | {
@@ -369,6 +368,7 @@ export declare const MakeMoveVecTransaction: Struct<{
369
368
  index: number;
370
369
  resultIndex: number;
371
370
  })[];
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
- value?: any;
388
387
  type?: "object" | "pure" | undefined;
388
+ value?: any;
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
- value?: any;
402
401
  type?: "object" | "pure" | undefined;
402
+ value?: any;
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
- modules: number[][];
418
417
  dependencies: string[];
418
+ modules: number[][];
419
419
  }, {
420
420
  kind: Struct<"Publish", "Publish">;
421
421
  modules: Struct<number[][], Struct<number[], Struct<number, null>>>;
@@ -423,14 +423,11 @@ 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[];
429
426
  arguments: ({
430
427
  kind: "Input";
431
428
  index: number;
432
- value?: any;
433
429
  type?: "object" | "pure" | undefined;
430
+ value?: any;
434
431
  } | {
435
432
  kind: "GasCoin";
436
433
  } | {
@@ -441,13 +438,15 @@ export declare const TransactionType: Struct<{
441
438
  index: number;
442
439
  resultIndex: number;
443
440
  })[];
441
+ kind: "MoveCall";
442
+ target: `${string}::${string}::${string}`;
443
+ typeArguments: string[];
444
444
  } | {
445
- kind: "TransferObjects";
446
445
  objects: ({
447
446
  kind: "Input";
448
447
  index: number;
449
- value?: any;
450
448
  type?: "object" | "pure" | undefined;
449
+ value?: any;
451
450
  } | {
452
451
  kind: "GasCoin";
453
452
  } | {
@@ -458,11 +457,12 @@ export declare const TransactionType: Struct<{
458
457
  index: number;
459
458
  resultIndex: number;
460
459
  })[];
460
+ kind: "TransferObjects";
461
461
  address: {
462
462
  kind: "Input";
463
463
  index: number;
464
- value?: any;
465
464
  type?: "object" | "pure" | undefined;
465
+ value?: any;
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
- value?: any;
482
481
  type?: "object" | "pure" | undefined;
482
+ value?: any;
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
- value?: any;
497
496
  type?: "object" | "pure" | undefined;
497
+ value?: any;
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
- value?: any;
514
513
  type?: "object" | "pure" | undefined;
514
+ value?: any;
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
- value?: any;
529
528
  type?: "object" | "pure" | undefined;
529
+ value?: any;
530
530
  } | {
531
531
  kind: "GasCoin";
532
532
  } | {
@@ -538,16 +538,11 @@ 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";
546
541
  objects: ({
547
542
  kind: "Input";
548
543
  index: number;
549
- value?: any;
550
544
  type?: "object" | "pure" | undefined;
545
+ value?: any;
551
546
  } | {
552
547
  kind: "GasCoin";
553
548
  } | {
@@ -558,22 +553,24 @@ export declare const TransactionType: Struct<{
558
553
  index: number;
559
554
  resultIndex: number;
560
555
  })[];
556
+ kind: "MakeMoveVec";
561
557
  type?: {
562
558
  None: null;
563
559
  } | {
564
560
  Some: string;
565
561
  } | 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[];
572
569
  arguments: ({
573
570
  kind: "Input";
574
571
  index: number;
575
- value?: any;
576
572
  type?: "object" | "pure" | undefined;
573
+ value?: any;
577
574
  } | {
578
575
  kind: "GasCoin";
579
576
  } | {
@@ -584,6 +581,9 @@ export declare function getTransactionType(data: unknown): Struct<{
584
581
  index: number;
585
582
  resultIndex: number;
586
583
  })[];
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
- value?: any;
595
594
  type?: "object" | "pure" | undefined;
595
+ value?: any;
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
- value?: any;
609
608
  type?: "object" | "pure" | undefined;
609
+ value?: any;
610
610
  } | {
611
611
  kind: "GasCoin";
612
612
  } | {
@@ -618,12 +618,11 @@ export declare function getTransactionType(data: unknown): Struct<{
618
618
  resultIndex: number;
619
619
  }, null>>;
620
620
  }> | Struct<{
621
- kind: "TransferObjects";
622
621
  objects: ({
623
622
  kind: "Input";
624
623
  index: number;
625
- value?: any;
626
624
  type?: "object" | "pure" | undefined;
625
+ value?: any;
627
626
  } | {
628
627
  kind: "GasCoin";
629
628
  } | {
@@ -634,11 +633,12 @@ export declare function getTransactionType(data: unknown): Struct<{
634
633
  index: number;
635
634
  resultIndex: number;
636
635
  })[];
636
+ kind: "TransferObjects";
637
637
  address: {
638
638
  kind: "Input";
639
639
  index: number;
640
- value?: any;
641
640
  type?: "object" | "pure" | undefined;
641
+ value?: any;
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
- value?: any;
658
657
  type?: "object" | "pure" | undefined;
658
+ value?: any;
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
- value?: any;
672
671
  type?: "object" | "pure" | undefined;
672
+ value?: any;
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
- value?: any;
687
686
  type?: "object" | "pure" | undefined;
687
+ value?: any;
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
- value?: any;
704
703
  type?: "object" | "pure" | undefined;
704
+ value?: any;
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
- value?: any;
719
718
  type?: "object" | "pure" | undefined;
719
+ value?: any;
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
- value?: any;
736
735
  type?: "object" | "pure" | undefined;
736
+ value?: any;
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
- value?: any;
751
750
  type?: "object" | "pure" | undefined;
751
+ value?: any;
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
- value?: any;
765
764
  type?: "object" | "pure" | undefined;
765
+ value?: any;
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
- value?: any;
782
781
  type?: "object" | "pure" | undefined;
782
+ value?: any;
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
- value?: any;
797
796
  type?: "object" | "pure" | undefined;
797
+ value?: any;
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
- value?: any;
814
813
  type?: "object" | "pure" | undefined;
814
+ value?: any;
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
- value?: any;
829
828
  type?: "object" | "pure" | undefined;
829
+ value?: any;
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
- value?: any;
843
842
  type?: "object" | "pure" | undefined;
843
+ value?: any;
844
844
  } | {
845
845
  kind: "GasCoin";
846
846
  } | {
@@ -852,20 +852,11 @@ 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";
864
855
  objects: ({
865
856
  kind: "Input";
866
857
  index: number;
867
- value?: any;
868
858
  type?: "object" | "pure" | undefined;
859
+ value?: any;
869
860
  } | {
870
861
  kind: "GasCoin";
871
862
  } | {
@@ -876,6 +867,7 @@ export declare function getTransactionType(data: unknown): Struct<{
876
867
  index: number;
877
868
  resultIndex: number;
878
869
  })[];
870
+ kind: "MakeMoveVec";
879
871
  type?: {
880
872
  None: null;
881
873
  } | {
@@ -891,8 +883,8 @@ export declare function getTransactionType(data: unknown): Struct<{
891
883
  objects: Struct<({
892
884
  kind: "Input";
893
885
  index: number;
894
- value?: any;
895
886
  type?: "object" | "pure" | undefined;
887
+ value?: any;
896
888
  } | {
897
889
  kind: "GasCoin";
898
890
  } | {
@@ -905,8 +897,8 @@ export declare function getTransactionType(data: unknown): Struct<{
905
897
  })[], Struct<{
906
898
  kind: "Input";
907
899
  index: number;
908
- value?: any;
909
900
  type?: "object" | "pure" | undefined;
901
+ value?: any;
910
902
  } | {
911
903
  kind: "GasCoin";
912
904
  } | {
@@ -917,20 +909,25 @@ export declare function getTransactionType(data: unknown): Struct<{
917
909
  index: number;
918
910
  resultIndex: number;
919
911
  }, 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[];
929
926
  arguments: ({
930
927
  kind: "Input";
931
928
  index: number;
932
- value?: any;
933
929
  type?: "object" | "pure" | undefined;
930
+ value?: any;
934
931
  } | {
935
932
  kind: "GasCoin";
936
933
  } | {
@@ -941,12 +938,15 @@ export declare const Transactions: {
941
938
  index: number;
942
939
  resultIndex: number;
943
940
  })[];
944
- }, "kind" | "typeArguments" | "arguments"> & {
941
+ kind: "MoveCall";
942
+ target: `${string}::${string}::${string}`;
943
+ typeArguments: string[];
944
+ }, "arguments" | "kind" | "typeArguments"> & {
945
945
  arguments?: ({
946
946
  kind: "Input";
947
947
  index: number;
948
- value?: any;
949
948
  type?: "object" | "pure" | undefined;
949
+ value?: any;
950
950
  } | {
951
951
  kind: "GasCoin";
952
952
  } | {
@@ -964,12 +964,11 @@ 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";
968
967
  objects: ({
969
968
  kind: "Input";
970
969
  index: number;
971
- value?: any;
972
970
  type?: "object" | "pure" | undefined;
971
+ value?: any;
973
972
  } | {
974
973
  kind: "GasCoin";
975
974
  } | {
@@ -980,12 +979,13 @@ export declare const Transactions: {
980
979
  index: number;
981
980
  resultIndex: number;
982
981
  })[];
982
+ kind: "MakeMoveVec";
983
983
  type?: {
984
984
  None: null;
985
985
  } | {
986
986
  Some: string;
987
987
  } | undefined;
988
- }, "kind" | "type"> & {
988
+ }, "type" | "kind"> & {
989
989
  type?: string | undefined;
990
990
  }): MakeMoveVecTransaction;
991
991
  };