@typemove/sui 1.2.0 → 1.2.1-rc.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.
Files changed (57) hide show
  1. package/dist/cjs/builtin/0x1.d.ts +2 -2
  2. package/dist/cjs/builtin/0x1.d.ts.map +1 -1
  3. package/dist/cjs/builtin/0x1.js +113 -158
  4. package/dist/cjs/builtin/0x1.js.map +1 -1
  5. package/dist/cjs/builtin/0x2.d.ts +2 -2
  6. package/dist/cjs/builtin/0x2.d.ts.map +1 -1
  7. package/dist/cjs/builtin/0x2.js +594 -724
  8. package/dist/cjs/builtin/0x2.js.map +1 -1
  9. package/dist/cjs/builtin/0x3.d.ts +2 -2
  10. package/dist/cjs/builtin/0x3.d.ts.map +1 -1
  11. package/dist/cjs/builtin/0x3.js +194 -364
  12. package/dist/cjs/builtin/0x3.js.map +1 -1
  13. package/dist/cjs/codegen/codegen.d.ts.map +1 -1
  14. package/dist/cjs/codegen/codegen.js +6 -8
  15. package/dist/cjs/codegen/codegen.js.map +1 -1
  16. package/dist/cjs/index.d.ts +1 -0
  17. package/dist/cjs/index.d.ts.map +1 -1
  18. package/dist/cjs/index.js +1 -0
  19. package/dist/cjs/index.js.map +1 -1
  20. package/dist/cjs/transaction.d.ts +6 -0
  21. package/dist/cjs/transaction.d.ts.map +1 -0
  22. package/dist/cjs/transaction.js +35 -0
  23. package/dist/cjs/transaction.js.map +1 -0
  24. package/dist/esm/builtin/0x1.d.ts +2 -2
  25. package/dist/esm/builtin/0x1.d.ts.map +1 -1
  26. package/dist/esm/builtin/0x1.js +114 -159
  27. package/dist/esm/builtin/0x1.js.map +1 -1
  28. package/dist/esm/builtin/0x2.d.ts +2 -2
  29. package/dist/esm/builtin/0x2.d.ts.map +1 -1
  30. package/dist/esm/builtin/0x2.js +595 -725
  31. package/dist/esm/builtin/0x2.js.map +1 -1
  32. package/dist/esm/builtin/0x3.d.ts +2 -2
  33. package/dist/esm/builtin/0x3.d.ts.map +1 -1
  34. package/dist/esm/builtin/0x3.js +195 -365
  35. package/dist/esm/builtin/0x3.js.map +1 -1
  36. package/dist/esm/codegen/codegen.d.ts.map +1 -1
  37. package/dist/esm/codegen/codegen.js +6 -8
  38. package/dist/esm/codegen/codegen.js.map +1 -1
  39. package/dist/esm/index.d.ts +1 -0
  40. package/dist/esm/index.d.ts.map +1 -1
  41. package/dist/esm/index.js +1 -0
  42. package/dist/esm/index.js.map +1 -1
  43. package/dist/esm/transaction.d.ts +6 -0
  44. package/dist/esm/transaction.d.ts.map +1 -0
  45. package/dist/esm/transaction.js +28 -0
  46. package/dist/esm/transaction.js.map +1 -0
  47. package/package.json +3 -3
  48. package/src/builtin/0x1.ts +122 -285
  49. package/src/builtin/0x2.ts +603 -1479
  50. package/src/builtin/0x3.ts +203 -705
  51. package/src/codegen/codegen.ts +6 -8
  52. package/src/index.ts +1 -0
  53. package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +22 -28
  54. package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +166 -386
  55. package/src/tests/types/testnet/0xdee9.ts +175 -383
  56. package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +527 -1350
  57. package/src/transaction.ts +31 -0
@@ -14,9 +14,17 @@ import {
14
14
  TypedDevInspectResults,
15
15
  getMoveCoder,
16
16
  } from "@typemove/sui";
17
- import { TransactionBlock } from "@mysten/sui.js/transactions";
18
- import { ObjectCallArg, TransactionArgument } from "@mysten/sui.js";
17
+ import {
18
+ TransactionBlock,
19
+ TransactionArgument,
20
+ } from "@mysten/sui.js/transactions";
19
21
  import { SuiClient } from "@mysten/sui.js/client";
22
+ import { type ObjectCallArg } from "@mysten/sui.js/dist/esm/builder/Inputs.js";
23
+ import {
24
+ transactionArgumentOrObject,
25
+ transactionArgumentOrPure,
26
+ transactionArgumentOrVec,
27
+ } from "@typemove/sui";
20
28
 
21
29
  import { _0x2 } from "@typemove/sui/builtin";
22
30
  import { _0x1 } from "@typemove/sui/builtin";
@@ -52,13 +60,9 @@ export namespace authority {
52
60
  ): TransactionArgument &
53
61
  [TransactionArgument, TransactionArgument, TransactionArgument] {
54
62
  const _args: any[] = [];
55
- _args.push(
56
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
57
- );
58
- _args.push(
59
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
60
- );
61
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
63
+ _args.push(transactionArgumentOrObject(args[0], tx));
64
+ _args.push(transactionArgumentOrObject(args[1], tx));
65
+ _args.push(transactionArgumentOrPure(args[2], tx));
62
66
 
63
67
  // @ts-ignore
64
68
  return tx.moveCall({
@@ -78,7 +82,7 @@ export namespace authority {
78
82
  typeArguments: [TypeDescriptor<T0> | string],
79
83
  ): TransactionArgument & [TransactionArgument] {
80
84
  const _args: any[] = [];
81
- _args.push(TransactionArgument.is(args[0]) ? args[0] : tx.pure(args[0]));
85
+ _args.push(transactionArgumentOrPure(args[0], tx));
82
86
 
83
87
  // @ts-ignore
84
88
  return tx.moveCall({
@@ -101,17 +105,8 @@ export namespace authority {
101
105
  typeArguments: [TypeDescriptor<T0> | string],
102
106
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
103
107
  const _args: any[] = [];
104
- _args.push(
105
- TransactionArgument.is(args[0])
106
- ? args[0]
107
- : tx.makeMoveVec({
108
- objects: args[0].map((a: any) => tx.object(a)),
109
- // type: TODO
110
- }),
111
- );
112
- _args.push(
113
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
114
- );
108
+ _args.push(transactionArgumentOrVec(args[0], tx));
109
+ _args.push(transactionArgumentOrObject(args[1], tx));
115
110
 
116
111
  // @ts-ignore
117
112
  return tx.moveCall({
@@ -131,9 +126,7 @@ export namespace authority {
131
126
  typeArguments: [TypeDescriptor<T0> | string],
132
127
  ): TransactionArgument & [TransactionArgument] {
133
128
  const _args: any[] = [];
134
- _args.push(
135
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
136
- );
129
+ _args.push(transactionArgumentOrObject(args[0], tx));
137
130
 
138
131
  // @ts-ignore
139
132
  return tx.moveCall({
@@ -158,13 +151,9 @@ export namespace authority {
158
151
  ): TransactionArgument &
159
152
  [TransactionArgument, TransactionArgument, TransactionArgument] {
160
153
  const _args: any[] = [];
161
- _args.push(
162
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
163
- );
164
- _args.push(
165
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
166
- );
167
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
154
+ _args.push(transactionArgumentOrObject(args[0], tx));
155
+ _args.push(transactionArgumentOrObject(args[1], tx));
156
+ _args.push(transactionArgumentOrPure(args[2], tx));
168
157
 
169
158
  // @ts-ignore
170
159
  return tx.moveCall({
@@ -187,12 +176,8 @@ export namespace authority {
187
176
  typeArguments: [TypeDescriptor<T0> | string],
188
177
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
189
178
  const _args: any[] = [];
190
- _args.push(
191
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
192
- );
193
- _args.push(
194
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
195
- );
179
+ _args.push(transactionArgumentOrObject(args[0], tx));
180
+ _args.push(transactionArgumentOrObject(args[1], tx));
196
181
 
197
182
  // @ts-ignore
198
183
  return tx.moveCall({
@@ -212,9 +197,7 @@ export namespace authority {
212
197
  typeArguments: [TypeDescriptor<T0> | string],
213
198
  ): TransactionArgument & [TransactionArgument] {
214
199
  const _args: any[] = [];
215
- _args.push(
216
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
217
- );
200
+ _args.push(transactionArgumentOrObject(args[0], tx));
218
201
 
219
202
  // @ts-ignore
220
203
  return tx.moveCall({
@@ -569,16 +552,10 @@ export namespace dutch {
569
552
  TransactionArgument,
570
553
  ] {
571
554
  const _args: any[] = [];
572
- _args.push(
573
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
574
- );
575
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
576
- _args.push(
577
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
578
- );
579
- _args.push(
580
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
581
- );
555
+ _args.push(transactionArgumentOrObject(args[0], tx));
556
+ _args.push(transactionArgumentOrPure(args[1], tx));
557
+ _args.push(transactionArgumentOrObject(args[2], tx));
558
+ _args.push(transactionArgumentOrObject(args[3], tx));
582
559
 
583
560
  // @ts-ignore
584
561
  return tx.moveCall({
@@ -620,20 +597,14 @@ export namespace dutch {
620
597
  TransactionArgument,
621
598
  ] {
622
599
  const _args: any[] = [];
623
- _args.push(
624
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
625
- );
626
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
627
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
628
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
629
- _args.push(TransactionArgument.is(args[4]) ? args[4] : tx.pure(args[4]));
630
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
631
- _args.push(
632
- TransactionArgument.is(args[6]) ? args[6] : tx.object(args[6]),
633
- );
634
- _args.push(
635
- TransactionArgument.is(args[7]) ? args[7] : tx.object(args[7]),
636
- );
600
+ _args.push(transactionArgumentOrObject(args[0], tx));
601
+ _args.push(transactionArgumentOrPure(args[1], tx));
602
+ _args.push(transactionArgumentOrPure(args[2], tx));
603
+ _args.push(transactionArgumentOrPure(args[3], tx));
604
+ _args.push(transactionArgumentOrPure(args[4], tx));
605
+ _args.push(transactionArgumentOrPure(args[5], tx));
606
+ _args.push(transactionArgumentOrObject(args[6], tx));
607
+ _args.push(transactionArgumentOrObject(args[7], tx));
637
608
 
638
609
  // @ts-ignore
639
610
  return tx.moveCall({
@@ -656,9 +627,7 @@ export namespace dutch {
656
627
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
657
628
  ): TransactionArgument & [TransactionArgument] {
658
629
  const _args: any[] = [];
659
- _args.push(
660
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
661
- );
630
+ _args.push(transactionArgumentOrObject(args[0], tx));
662
631
 
663
632
  // @ts-ignore
664
633
  return tx.moveCall({
@@ -681,9 +650,7 @@ export namespace dutch {
681
650
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
682
651
  ): TransactionArgument & [TransactionArgument] {
683
652
  const _args: any[] = [];
684
- _args.push(
685
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
686
- );
653
+ _args.push(transactionArgumentOrObject(args[0], tx));
687
654
 
688
655
  // @ts-ignore
689
656
  return tx.moveCall({
@@ -706,9 +673,7 @@ export namespace dutch {
706
673
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
707
674
  ): TransactionArgument & [TransactionArgument] {
708
675
  const _args: any[] = [];
709
- _args.push(
710
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
711
- );
676
+ _args.push(transactionArgumentOrObject(args[0], tx));
712
677
 
713
678
  // @ts-ignore
714
679
  return tx.moveCall({
@@ -734,12 +699,8 @@ export namespace dutch {
734
699
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
735
700
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
736
701
  const _args: any[] = [];
737
- _args.push(
738
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
739
- );
740
- _args.push(
741
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
742
- );
702
+ _args.push(transactionArgumentOrObject(args[0], tx));
703
+ _args.push(transactionArgumentOrObject(args[1], tx));
743
704
 
744
705
  // @ts-ignore
745
706
  return tx.moveCall({
@@ -762,9 +723,7 @@ export namespace dutch {
762
723
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
763
724
  ): TransactionArgument & [TransactionArgument] {
764
725
  const _args: any[] = [];
765
- _args.push(
766
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
767
- );
726
+ _args.push(transactionArgumentOrObject(args[0], tx));
768
727
 
769
728
  // @ts-ignore
770
729
  return tx.moveCall({
@@ -790,10 +749,8 @@ export namespace dutch {
790
749
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
791
750
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
792
751
  const _args: any[] = [];
793
- _args.push(
794
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
795
- );
796
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
752
+ _args.push(transactionArgumentOrObject(args[0], tx));
753
+ _args.push(transactionArgumentOrPure(args[1], tx));
797
754
 
798
755
  // @ts-ignore
799
756
  return tx.moveCall({
@@ -833,15 +790,13 @@ export namespace dutch {
833
790
  TransactionArgument,
834
791
  ] {
835
792
  const _args: any[] = [];
836
- _args.push(TransactionArgument.is(args[0]) ? args[0] : tx.pure(args[0]));
837
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
838
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
839
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
840
- _args.push(TransactionArgument.is(args[4]) ? args[4] : tx.pure(args[4]));
841
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
842
- _args.push(
843
- TransactionArgument.is(args[6]) ? args[6] : tx.object(args[6]),
844
- );
793
+ _args.push(transactionArgumentOrPure(args[0], tx));
794
+ _args.push(transactionArgumentOrPure(args[1], tx));
795
+ _args.push(transactionArgumentOrPure(args[2], tx));
796
+ _args.push(transactionArgumentOrPure(args[3], tx));
797
+ _args.push(transactionArgumentOrPure(args[4], tx));
798
+ _args.push(transactionArgumentOrPure(args[5], tx));
799
+ _args.push(transactionArgumentOrObject(args[6], tx));
845
800
 
846
801
  // @ts-ignore
847
802
  return tx.moveCall({
@@ -889,30 +844,15 @@ export namespace dutch {
889
844
  TransactionArgument,
890
845
  ] {
891
846
  const _args: any[] = [];
892
- _args.push(
893
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
894
- );
895
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
896
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
897
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
898
- _args.push(TransactionArgument.is(args[4]) ? args[4] : tx.pure(args[4]));
899
- _args.push(
900
- TransactionArgument.is(args[5])
901
- ? args[5]
902
- : tx.makeMoveVec({
903
- objects: args[5].map((a: any) => tx.object(a)),
904
- // type: TODO
905
- }),
906
- );
907
- _args.push(
908
- TransactionArgument.is(args[6]) ? args[6] : tx.object(args[6]),
909
- );
910
- _args.push(
911
- TransactionArgument.is(args[7]) ? args[7] : tx.object(args[7]),
912
- );
913
- _args.push(
914
- TransactionArgument.is(args[8]) ? args[8] : tx.object(args[8]),
915
- );
847
+ _args.push(transactionArgumentOrObject(args[0], tx));
848
+ _args.push(transactionArgumentOrPure(args[1], tx));
849
+ _args.push(transactionArgumentOrPure(args[2], tx));
850
+ _args.push(transactionArgumentOrPure(args[3], tx));
851
+ _args.push(transactionArgumentOrPure(args[4], tx));
852
+ _args.push(transactionArgumentOrVec(args[5], tx));
853
+ _args.push(transactionArgumentOrObject(args[6], tx));
854
+ _args.push(transactionArgumentOrObject(args[7], tx));
855
+ _args.push(transactionArgumentOrObject(args[8], tx));
916
856
 
917
857
  // @ts-ignore
918
858
  return tx.moveCall({
@@ -949,16 +889,10 @@ export namespace dutch {
949
889
  TransactionArgument,
950
890
  ] {
951
891
  const _args: any[] = [];
952
- _args.push(
953
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
954
- );
955
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
956
- _args.push(
957
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
958
- );
959
- _args.push(
960
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
961
- );
892
+ _args.push(transactionArgumentOrObject(args[0], tx));
893
+ _args.push(transactionArgumentOrPure(args[1], tx));
894
+ _args.push(transactionArgumentOrObject(args[2], tx));
895
+ _args.push(transactionArgumentOrObject(args[3], tx));
962
896
 
963
897
  // @ts-ignore
964
898
  return tx.moveCall({
@@ -981,9 +915,7 @@ export namespace dutch {
981
915
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
982
916
  ): TransactionArgument & [TransactionArgument] {
983
917
  const _args: any[] = [];
984
- _args.push(
985
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
986
- );
918
+ _args.push(transactionArgumentOrObject(args[0], tx));
987
919
 
988
920
  // @ts-ignore
989
921
  return tx.moveCall({
@@ -1017,16 +949,10 @@ export namespace dutch {
1017
949
  TransactionArgument,
1018
950
  ] {
1019
951
  const _args: any[] = [];
1020
- _args.push(
1021
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1022
- );
1023
- _args.push(
1024
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
1025
- );
1026
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
1027
- _args.push(
1028
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
1029
- );
952
+ _args.push(transactionArgumentOrObject(args[0], tx));
953
+ _args.push(transactionArgumentOrObject(args[1], tx));
954
+ _args.push(transactionArgumentOrPure(args[2], tx));
955
+ _args.push(transactionArgumentOrObject(args[3], tx));
1030
956
 
1031
957
  // @ts-ignore
1032
958
  return tx.moveCall({
@@ -1359,9 +1285,7 @@ export namespace i64 {
1359
1285
  args: [string | ObjectCallArg | TransactionArgument],
1360
1286
  ): TransactionArgument & [TransactionArgument] {
1361
1287
  const _args: any[] = [];
1362
- _args.push(
1363
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1364
- );
1288
+ _args.push(transactionArgumentOrObject(args[0], tx));
1365
1289
 
1366
1290
  // @ts-ignore
1367
1291
  return tx.moveCall({
@@ -1378,12 +1302,8 @@ export namespace i64 {
1378
1302
  ],
1379
1303
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
1380
1304
  const _args: any[] = [];
1381
- _args.push(
1382
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1383
- );
1384
- _args.push(
1385
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
1386
- );
1305
+ _args.push(transactionArgumentOrObject(args[0], tx));
1306
+ _args.push(transactionArgumentOrObject(args[1], tx));
1387
1307
 
1388
1308
  // @ts-ignore
1389
1309
  return tx.moveCall({
@@ -1397,9 +1317,7 @@ export namespace i64 {
1397
1317
  args: [string | ObjectCallArg | TransactionArgument],
1398
1318
  ): TransactionArgument & [TransactionArgument] {
1399
1319
  const _args: any[] = [];
1400
- _args.push(
1401
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1402
- );
1320
+ _args.push(transactionArgumentOrObject(args[0], tx));
1403
1321
 
1404
1322
  // @ts-ignore
1405
1323
  return tx.moveCall({
@@ -1416,12 +1334,8 @@ export namespace i64 {
1416
1334
  ],
1417
1335
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
1418
1336
  const _args: any[] = [];
1419
- _args.push(
1420
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1421
- );
1422
- _args.push(
1423
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
1424
- );
1337
+ _args.push(transactionArgumentOrObject(args[0], tx));
1338
+ _args.push(transactionArgumentOrObject(args[1], tx));
1425
1339
 
1426
1340
  // @ts-ignore
1427
1341
  return tx.moveCall({
@@ -1438,12 +1352,8 @@ export namespace i64 {
1438
1352
  ],
1439
1353
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
1440
1354
  const _args: any[] = [];
1441
- _args.push(
1442
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1443
- );
1444
- _args.push(
1445
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
1446
- );
1355
+ _args.push(transactionArgumentOrObject(args[0], tx));
1356
+ _args.push(transactionArgumentOrObject(args[1], tx));
1447
1357
 
1448
1358
  // @ts-ignore
1449
1359
  return tx.moveCall({
@@ -1457,7 +1367,7 @@ export namespace i64 {
1457
1367
  args: [bigint | TransactionArgument],
1458
1368
  ): TransactionArgument & [TransactionArgument] {
1459
1369
  const _args: any[] = [];
1460
- _args.push(TransactionArgument.is(args[0]) ? args[0] : tx.pure(args[0]));
1370
+ _args.push(transactionArgumentOrPure(args[0], tx));
1461
1371
 
1462
1372
  // @ts-ignore
1463
1373
  return tx.moveCall({
@@ -1471,9 +1381,7 @@ export namespace i64 {
1471
1381
  args: [string | ObjectCallArg | TransactionArgument],
1472
1382
  ): TransactionArgument & [TransactionArgument] {
1473
1383
  const _args: any[] = [];
1474
- _args.push(
1475
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1476
- );
1384
+ _args.push(transactionArgumentOrObject(args[0], tx));
1477
1385
 
1478
1386
  // @ts-ignore
1479
1387
  return tx.moveCall({
@@ -1487,9 +1395,7 @@ export namespace i64 {
1487
1395
  args: [string | ObjectCallArg | TransactionArgument],
1488
1396
  ): TransactionArgument & [TransactionArgument] {
1489
1397
  const _args: any[] = [];
1490
- _args.push(
1491
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1492
- );
1398
+ _args.push(transactionArgumentOrObject(args[0], tx));
1493
1399
 
1494
1400
  // @ts-ignore
1495
1401
  return tx.moveCall({
@@ -1506,12 +1412,8 @@ export namespace i64 {
1506
1412
  ],
1507
1413
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
1508
1414
  const _args: any[] = [];
1509
- _args.push(
1510
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1511
- );
1512
- _args.push(
1513
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
1514
- );
1415
+ _args.push(transactionArgumentOrObject(args[0], tx));
1416
+ _args.push(transactionArgumentOrObject(args[1], tx));
1515
1417
 
1516
1418
  // @ts-ignore
1517
1419
  return tx.moveCall({
@@ -1525,9 +1427,7 @@ export namespace i64 {
1525
1427
  args: [string | ObjectCallArg | TransactionArgument],
1526
1428
  ): TransactionArgument & [TransactionArgument] {
1527
1429
  const _args: any[] = [];
1528
- _args.push(
1529
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1530
- );
1430
+ _args.push(transactionArgumentOrObject(args[0], tx));
1531
1431
 
1532
1432
  // @ts-ignore
1533
1433
  return tx.moveCall({
@@ -1541,7 +1441,7 @@ export namespace i64 {
1541
1441
  args: [bigint | TransactionArgument],
1542
1442
  ): TransactionArgument & [TransactionArgument] {
1543
1443
  const _args: any[] = [];
1544
- _args.push(TransactionArgument.is(args[0]) ? args[0] : tx.pure(args[0]));
1444
+ _args.push(transactionArgumentOrPure(args[0], tx));
1545
1445
 
1546
1446
  // @ts-ignore
1547
1447
  return tx.moveCall({
@@ -1558,12 +1458,8 @@ export namespace i64 {
1558
1458
  ],
1559
1459
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
1560
1460
  const _args: any[] = [];
1561
- _args.push(
1562
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1563
- );
1564
- _args.push(
1565
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
1566
- );
1461
+ _args.push(transactionArgumentOrObject(args[0], tx));
1462
+ _args.push(transactionArgumentOrObject(args[1], tx));
1567
1463
 
1568
1464
  // @ts-ignore
1569
1465
  return tx.moveCall({
@@ -1862,13 +1758,9 @@ export namespace linked_list {
1862
1758
  ): TransactionArgument &
1863
1759
  [TransactionArgument, TransactionArgument, TransactionArgument] {
1864
1760
  const _args: any[] = [];
1865
- _args.push(
1866
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1867
- );
1868
- _args.push(
1869
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
1870
- );
1871
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
1761
+ _args.push(transactionArgumentOrObject(args[0], tx));
1762
+ _args.push(transactionArgumentOrObject(args[1], tx));
1763
+ _args.push(transactionArgumentOrPure(args[2], tx));
1872
1764
 
1873
1765
  // @ts-ignore
1874
1766
  return tx.moveCall({
@@ -1896,13 +1788,9 @@ export namespace linked_list {
1896
1788
  ): TransactionArgument &
1897
1789
  [TransactionArgument, TransactionArgument, TransactionArgument] {
1898
1790
  const _args: any[] = [];
1899
- _args.push(
1900
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1901
- );
1902
- _args.push(
1903
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
1904
- );
1905
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
1791
+ _args.push(transactionArgumentOrObject(args[0], tx));
1792
+ _args.push(transactionArgumentOrObject(args[1], tx));
1793
+ _args.push(transactionArgumentOrPure(args[2], tx));
1906
1794
 
1907
1795
  // @ts-ignore
1908
1796
  return tx.moveCall({
@@ -1928,12 +1816,8 @@ export namespace linked_list {
1928
1816
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
1929
1817
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
1930
1818
  const _args: any[] = [];
1931
- _args.push(
1932
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1933
- );
1934
- _args.push(
1935
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
1936
- );
1819
+ _args.push(transactionArgumentOrObject(args[0], tx));
1820
+ _args.push(transactionArgumentOrObject(args[1], tx));
1937
1821
 
1938
1822
  // @ts-ignore
1939
1823
  return tx.moveCall({
@@ -1961,13 +1845,9 @@ export namespace linked_list {
1961
1845
  ): TransactionArgument &
1962
1846
  [TransactionArgument, TransactionArgument, TransactionArgument] {
1963
1847
  const _args: any[] = [];
1964
- _args.push(
1965
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
1966
- );
1967
- _args.push(
1968
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
1969
- );
1970
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
1848
+ _args.push(transactionArgumentOrObject(args[0], tx));
1849
+ _args.push(transactionArgumentOrObject(args[1], tx));
1850
+ _args.push(transactionArgumentOrPure(args[2], tx));
1971
1851
 
1972
1852
  // @ts-ignore
1973
1853
  return tx.moveCall({
@@ -1995,13 +1875,9 @@ export namespace linked_list {
1995
1875
  ): TransactionArgument &
1996
1876
  [TransactionArgument, TransactionArgument, TransactionArgument] {
1997
1877
  const _args: any[] = [];
1998
- _args.push(
1999
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2000
- );
2001
- _args.push(
2002
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
2003
- );
2004
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
1878
+ _args.push(transactionArgumentOrObject(args[0], tx));
1879
+ _args.push(transactionArgumentOrObject(args[1], tx));
1880
+ _args.push(transactionArgumentOrPure(args[2], tx));
2005
1881
 
2006
1882
  // @ts-ignore
2007
1883
  return tx.moveCall({
@@ -2024,9 +1900,7 @@ export namespace linked_list {
2024
1900
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
2025
1901
  ): TransactionArgument & [TransactionArgument] {
2026
1902
  const _args: any[] = [];
2027
- _args.push(
2028
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2029
- );
1903
+ _args.push(transactionArgumentOrObject(args[0], tx));
2030
1904
 
2031
1905
  // @ts-ignore
2032
1906
  return tx.moveCall({
@@ -2049,9 +1923,7 @@ export namespace linked_list {
2049
1923
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
2050
1924
  ): TransactionArgument & [TransactionArgument] {
2051
1925
  const _args: any[] = [];
2052
- _args.push(
2053
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2054
- );
1926
+ _args.push(transactionArgumentOrObject(args[0], tx));
2055
1927
 
2056
1928
  // @ts-ignore
2057
1929
  return tx.moveCall({
@@ -2074,9 +1946,7 @@ export namespace linked_list {
2074
1946
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
2075
1947
  ): TransactionArgument & [TransactionArgument] {
2076
1948
  const _args: any[] = [];
2077
- _args.push(
2078
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2079
- );
1949
+ _args.push(transactionArgumentOrObject(args[0], tx));
2080
1950
 
2081
1951
  // @ts-ignore
2082
1952
  return tx.moveCall({
@@ -2099,9 +1969,7 @@ export namespace linked_list {
2099
1969
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
2100
1970
  ): TransactionArgument & [TransactionArgument] {
2101
1971
  const _args: any[] = [];
2102
- _args.push(
2103
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2104
- );
1972
+ _args.push(transactionArgumentOrObject(args[0], tx));
2105
1973
 
2106
1974
  // @ts-ignore
2107
1975
  return tx.moveCall({
@@ -2124,7 +1992,7 @@ export namespace linked_list {
2124
1992
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
2125
1993
  ): TransactionArgument & [TransactionArgument] {
2126
1994
  const _args: any[] = [];
2127
- _args.push(TransactionArgument.is(args[0]) ? args[0] : tx.pure(args[0]));
1995
+ _args.push(transactionArgumentOrPure(args[0], tx));
2128
1996
 
2129
1997
  // @ts-ignore
2130
1998
  return tx.moveCall({
@@ -2152,9 +2020,9 @@ export namespace linked_list {
2152
2020
  ): TransactionArgument &
2153
2021
  [TransactionArgument, TransactionArgument, TransactionArgument] {
2154
2022
  const _args: any[] = [];
2155
- _args.push(TransactionArgument.is(args[0]) ? args[0] : tx.pure(args[0]));
2156
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
2157
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
2023
+ _args.push(transactionArgumentOrPure(args[0], tx));
2024
+ _args.push(transactionArgumentOrPure(args[1], tx));
2025
+ _args.push(transactionArgumentOrPure(args[2], tx));
2158
2026
 
2159
2027
  // @ts-ignore
2160
2028
  return tx.moveCall({
@@ -2182,13 +2050,9 @@ export namespace linked_list {
2182
2050
  ): TransactionArgument &
2183
2051
  [TransactionArgument, TransactionArgument, TransactionArgument] {
2184
2052
  const _args: any[] = [];
2185
- _args.push(
2186
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2187
- );
2188
- _args.push(
2189
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
2190
- );
2191
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
2053
+ _args.push(transactionArgumentOrObject(args[0], tx));
2054
+ _args.push(transactionArgumentOrObject(args[1], tx));
2055
+ _args.push(transactionArgumentOrPure(args[2], tx));
2192
2056
 
2193
2057
  // @ts-ignore
2194
2058
  return tx.moveCall({
@@ -2214,12 +2078,8 @@ export namespace linked_list {
2214
2078
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
2215
2079
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
2216
2080
  const _args: any[] = [];
2217
- _args.push(
2218
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2219
- );
2220
- _args.push(
2221
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
2222
- );
2081
+ _args.push(transactionArgumentOrObject(args[0], tx));
2082
+ _args.push(transactionArgumentOrObject(args[1], tx));
2223
2083
 
2224
2084
  // @ts-ignore
2225
2085
  return tx.moveCall({
@@ -2245,12 +2105,8 @@ export namespace linked_list {
2245
2105
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
2246
2106
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
2247
2107
  const _args: any[] = [];
2248
- _args.push(
2249
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2250
- );
2251
- _args.push(
2252
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
2253
- );
2108
+ _args.push(transactionArgumentOrObject(args[0], tx));
2109
+ _args.push(transactionArgumentOrObject(args[1], tx));
2254
2110
 
2255
2111
  // @ts-ignore
2256
2112
  return tx.moveCall({
@@ -2276,10 +2132,8 @@ export namespace linked_list {
2276
2132
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
2277
2133
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
2278
2134
  const _args: any[] = [];
2279
- _args.push(
2280
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2281
- );
2282
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
2135
+ _args.push(transactionArgumentOrObject(args[0], tx));
2136
+ _args.push(transactionArgumentOrPure(args[1], tx));
2283
2137
 
2284
2138
  // @ts-ignore
2285
2139
  return tx.moveCall({
@@ -2307,11 +2161,9 @@ export namespace linked_list {
2307
2161
  ): TransactionArgument &
2308
2162
  [TransactionArgument, TransactionArgument, TransactionArgument] {
2309
2163
  const _args: any[] = [];
2310
- _args.push(
2311
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2312
- );
2313
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
2314
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
2164
+ _args.push(transactionArgumentOrObject(args[0], tx));
2165
+ _args.push(transactionArgumentOrPure(args[1], tx));
2166
+ _args.push(transactionArgumentOrPure(args[2], tx));
2315
2167
 
2316
2168
  // @ts-ignore
2317
2169
  return tx.moveCall({
@@ -2339,13 +2191,9 @@ export namespace linked_list {
2339
2191
  ): TransactionArgument &
2340
2192
  [TransactionArgument, TransactionArgument, TransactionArgument] {
2341
2193
  const _args: any[] = [];
2342
- _args.push(
2343
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2344
- );
2345
- _args.push(
2346
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
2347
- );
2348
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
2194
+ _args.push(transactionArgumentOrObject(args[0], tx));
2195
+ _args.push(transactionArgumentOrObject(args[1], tx));
2196
+ _args.push(transactionArgumentOrPure(args[2], tx));
2349
2197
 
2350
2198
  // @ts-ignore
2351
2199
  return tx.moveCall({
@@ -2379,14 +2227,10 @@ export namespace linked_list {
2379
2227
  TransactionArgument,
2380
2228
  ] {
2381
2229
  const _args: any[] = [];
2382
- _args.push(
2383
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2384
- );
2385
- _args.push(
2386
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
2387
- );
2388
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
2389
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
2230
+ _args.push(transactionArgumentOrObject(args[0], tx));
2231
+ _args.push(transactionArgumentOrObject(args[1], tx));
2232
+ _args.push(transactionArgumentOrPure(args[2], tx));
2233
+ _args.push(transactionArgumentOrPure(args[3], tx));
2390
2234
 
2391
2235
  // @ts-ignore
2392
2236
  return tx.moveCall({
@@ -2420,14 +2264,10 @@ export namespace linked_list {
2420
2264
  TransactionArgument,
2421
2265
  ] {
2422
2266
  const _args: any[] = [];
2423
- _args.push(
2424
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2425
- );
2426
- _args.push(
2427
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
2428
- );
2429
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
2430
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
2267
+ _args.push(transactionArgumentOrObject(args[0], tx));
2268
+ _args.push(transactionArgumentOrObject(args[1], tx));
2269
+ _args.push(transactionArgumentOrPure(args[2], tx));
2270
+ _args.push(transactionArgumentOrPure(args[3], tx));
2431
2271
 
2432
2272
  // @ts-ignore
2433
2273
  return tx.moveCall({
@@ -2455,11 +2295,9 @@ export namespace linked_list {
2455
2295
  ): TransactionArgument &
2456
2296
  [TransactionArgument, TransactionArgument, TransactionArgument] {
2457
2297
  const _args: any[] = [];
2458
- _args.push(
2459
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2460
- );
2461
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
2462
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
2298
+ _args.push(transactionArgumentOrObject(args[0], tx));
2299
+ _args.push(transactionArgumentOrPure(args[1], tx));
2300
+ _args.push(transactionArgumentOrPure(args[2], tx));
2463
2301
 
2464
2302
  // @ts-ignore
2465
2303
  return tx.moveCall({
@@ -2493,14 +2331,10 @@ export namespace linked_list {
2493
2331
  TransactionArgument,
2494
2332
  ] {
2495
2333
  const _args: any[] = [];
2496
- _args.push(
2497
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2498
- );
2499
- _args.push(
2500
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
2501
- );
2502
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
2503
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
2334
+ _args.push(transactionArgumentOrObject(args[0], tx));
2335
+ _args.push(transactionArgumentOrObject(args[1], tx));
2336
+ _args.push(transactionArgumentOrPure(args[2], tx));
2337
+ _args.push(transactionArgumentOrPure(args[3], tx));
2504
2338
 
2505
2339
  // @ts-ignore
2506
2340
  return tx.moveCall({
@@ -2534,14 +2368,10 @@ export namespace linked_list {
2534
2368
  TransactionArgument,
2535
2369
  ] {
2536
2370
  const _args: any[] = [];
2537
- _args.push(
2538
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2539
- );
2540
- _args.push(
2541
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
2542
- );
2543
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
2544
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
2371
+ _args.push(transactionArgumentOrObject(args[0], tx));
2372
+ _args.push(transactionArgumentOrObject(args[1], tx));
2373
+ _args.push(transactionArgumentOrPure(args[2], tx));
2374
+ _args.push(transactionArgumentOrPure(args[3], tx));
2545
2375
 
2546
2376
  // @ts-ignore
2547
2377
  return tx.moveCall({
@@ -2569,11 +2399,9 @@ export namespace linked_list {
2569
2399
  ): TransactionArgument &
2570
2400
  [TransactionArgument, TransactionArgument, TransactionArgument] {
2571
2401
  const _args: any[] = [];
2572
- _args.push(
2573
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2574
- );
2575
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
2576
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
2402
+ _args.push(transactionArgumentOrObject(args[0], tx));
2403
+ _args.push(transactionArgumentOrPure(args[1], tx));
2404
+ _args.push(transactionArgumentOrPure(args[2], tx));
2577
2405
 
2578
2406
  // @ts-ignore
2579
2407
  return tx.moveCall({
@@ -2601,13 +2429,9 @@ export namespace linked_list {
2601
2429
  ): TransactionArgument &
2602
2430
  [TransactionArgument, TransactionArgument, TransactionArgument] {
2603
2431
  const _args: any[] = [];
2604
- _args.push(
2605
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2606
- );
2607
- _args.push(
2608
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
2609
- );
2610
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
2432
+ _args.push(transactionArgumentOrObject(args[0], tx));
2433
+ _args.push(transactionArgumentOrObject(args[1], tx));
2434
+ _args.push(transactionArgumentOrPure(args[2], tx));
2611
2435
 
2612
2436
  // @ts-ignore
2613
2437
  return tx.moveCall({
@@ -2633,12 +2457,8 @@ export namespace linked_list {
2633
2457
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
2634
2458
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
2635
2459
  const _args: any[] = [];
2636
- _args.push(
2637
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2638
- );
2639
- _args.push(
2640
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
2641
- );
2460
+ _args.push(transactionArgumentOrObject(args[0], tx));
2461
+ _args.push(transactionArgumentOrObject(args[1], tx));
2642
2462
 
2643
2463
  // @ts-ignore
2644
2464
  return tx.moveCall({
@@ -2664,12 +2484,8 @@ export namespace linked_list {
2664
2484
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
2665
2485
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
2666
2486
  const _args: any[] = [];
2667
- _args.push(
2668
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2669
- );
2670
- _args.push(
2671
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
2672
- );
2487
+ _args.push(transactionArgumentOrObject(args[0], tx));
2488
+ _args.push(transactionArgumentOrObject(args[1], tx));
2673
2489
 
2674
2490
  // @ts-ignore
2675
2491
  return tx.moveCall({
@@ -2695,10 +2511,8 @@ export namespace linked_list {
2695
2511
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
2696
2512
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
2697
2513
  const _args: any[] = [];
2698
- _args.push(
2699
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
2700
- );
2701
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
2514
+ _args.push(transactionArgumentOrObject(args[0], tx));
2515
+ _args.push(transactionArgumentOrPure(args[1], tx));
2702
2516
 
2703
2517
  // @ts-ignore
2704
2518
  return tx.moveCall({
@@ -4269,23 +4083,10 @@ export namespace single_collateral {
4269
4083
  TransactionArgument,
4270
4084
  ] {
4271
4085
  const _args: any[] = [];
4272
- _args.push(
4273
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
4274
- );
4275
- _args.push(
4276
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
4277
- );
4278
- _args.push(
4279
- TransactionArgument.is(args[2])
4280
- ? args[2]
4281
- : tx.makeMoveVec({
4282
- objects: args[2].map((a: any) => tx.object(a)),
4283
- // type: TODO
4284
- }),
4285
- );
4286
- _args.push(
4287
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
4288
- );
4086
+ _args.push(transactionArgumentOrObject(args[0], tx));
4087
+ _args.push(transactionArgumentOrObject(args[1], tx));
4088
+ _args.push(transactionArgumentOrVec(args[2], tx));
4089
+ _args.push(transactionArgumentOrObject(args[3], tx));
4289
4090
 
4290
4091
  // @ts-ignore
4291
4092
  return tx.moveCall({
@@ -4321,24 +4122,11 @@ export namespace single_collateral {
4321
4122
  TransactionArgument,
4322
4123
  ] {
4323
4124
  const _args: any[] = [];
4324
- _args.push(
4325
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
4326
- );
4327
- _args.push(
4328
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
4329
- );
4330
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
4331
- _args.push(
4332
- TransactionArgument.is(args[3])
4333
- ? args[3]
4334
- : tx.makeMoveVec({
4335
- objects: args[3].map((a: any) => tx.object(a)),
4336
- // type: TODO
4337
- }),
4338
- );
4339
- _args.push(
4340
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
4341
- );
4125
+ _args.push(transactionArgumentOrObject(args[0], tx));
4126
+ _args.push(transactionArgumentOrObject(args[1], tx));
4127
+ _args.push(transactionArgumentOrPure(args[2], tx));
4128
+ _args.push(transactionArgumentOrVec(args[3], tx));
4129
+ _args.push(transactionArgumentOrObject(args[4], tx));
4342
4130
 
4343
4131
  // @ts-ignore
4344
4132
  return tx.moveCall({
@@ -4383,21 +4171,10 @@ export namespace single_collateral {
4383
4171
  TransactionArgument,
4384
4172
  ] {
4385
4173
  const _args: any[] = [];
4386
- _args.push(
4387
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
4388
- );
4389
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
4390
- _args.push(
4391
- TransactionArgument.is(args[2])
4392
- ? args[2]
4393
- : tx.makeMoveVec({
4394
- objects: args[2].map((a: any) => tx.object(a)),
4395
- // type: TODO
4396
- }),
4397
- );
4398
- _args.push(
4399
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
4400
- );
4174
+ _args.push(transactionArgumentOrObject(args[0], tx));
4175
+ _args.push(transactionArgumentOrPure(args[1], tx));
4176
+ _args.push(transactionArgumentOrVec(args[2], tx));
4177
+ _args.push(transactionArgumentOrObject(args[3], tx));
4401
4178
 
4402
4179
  // @ts-ignore
4403
4180
  return tx.moveCall({
@@ -4440,19 +4217,11 @@ export namespace single_collateral {
4440
4217
  TransactionArgument,
4441
4218
  ] {
4442
4219
  const _args: any[] = [];
4443
- _args.push(
4444
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
4445
- );
4446
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
4447
- _args.push(
4448
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
4449
- );
4450
- _args.push(
4451
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
4452
- );
4453
- _args.push(
4454
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
4455
- );
4220
+ _args.push(transactionArgumentOrObject(args[0], tx));
4221
+ _args.push(transactionArgumentOrPure(args[1], tx));
4222
+ _args.push(transactionArgumentOrObject(args[2], tx));
4223
+ _args.push(transactionArgumentOrObject(args[3], tx));
4224
+ _args.push(transactionArgumentOrObject(args[4], tx));
4456
4225
 
4457
4226
  // @ts-ignore
4458
4227
  return tx.moveCall({
@@ -4531,79 +4300,29 @@ export namespace single_collateral {
4531
4300
  TransactionArgument,
4532
4301
  ] {
4533
4302
  const _args: any[] = [];
4534
- _args.push(
4535
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
4536
- );
4537
- _args.push(
4538
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
4539
- );
4540
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
4541
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
4542
- _args.push(TransactionArgument.is(args[4]) ? args[4] : tx.pure(args[4]));
4543
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
4544
- _args.push(TransactionArgument.is(args[6]) ? args[6] : tx.pure(args[6]));
4545
- _args.push(TransactionArgument.is(args[7]) ? args[7] : tx.pure(args[7]));
4546
- _args.push(TransactionArgument.is(args[8]) ? args[8] : tx.pure(args[8]));
4547
- _args.push(TransactionArgument.is(args[9]) ? args[9] : tx.pure(args[9]));
4548
- _args.push(
4549
- TransactionArgument.is(args[10])
4550
- ? args[10]
4551
- : tx.makeMoveVec({
4552
- objects: args[10].map((a: any) => tx.object(a)),
4553
- // type: TODO
4554
- }),
4555
- );
4556
- _args.push(
4557
- TransactionArgument.is(args[11])
4558
- ? args[11]
4559
- : tx.makeMoveVec({
4560
- objects: args[11].map((a: any) => tx.object(a)),
4561
- // type: TODO
4562
- }),
4563
- );
4564
- _args.push(
4565
- TransactionArgument.is(args[12])
4566
- ? args[12]
4567
- : tx.makeMoveVec({
4568
- objects: args[12].map((a: any) => tx.object(a)),
4569
- // type: TODO
4570
- }),
4571
- );
4572
- _args.push(
4573
- TransactionArgument.is(args[13]) ? args[13] : tx.pure(args[13]),
4574
- );
4575
- _args.push(
4576
- TransactionArgument.is(args[14]) ? args[14] : tx.pure(args[14]),
4577
- );
4578
- _args.push(
4579
- TransactionArgument.is(args[15]) ? args[15] : tx.pure(args[15]),
4580
- );
4581
- _args.push(
4582
- TransactionArgument.is(args[16]) ? args[16] : tx.pure(args[16]),
4583
- );
4584
- _args.push(
4585
- TransactionArgument.is(args[17]) ? args[17] : tx.pure(args[17]),
4586
- );
4587
- _args.push(
4588
- TransactionArgument.is(args[18]) ? args[18] : tx.pure(args[18]),
4589
- );
4590
- _args.push(
4591
- TransactionArgument.is(args[19]) ? args[19] : tx.pure(args[19]),
4592
- );
4593
- _args.push(
4594
- TransactionArgument.is(args[20]) ? args[20] : tx.pure(args[20]),
4595
- );
4596
- _args.push(
4597
- TransactionArgument.is(args[21])
4598
- ? args[21]
4599
- : tx.makeMoveVec({
4600
- objects: args[21].map((a: any) => tx.object(a)),
4601
- // type: TODO
4602
- }),
4603
- );
4604
- _args.push(
4605
- TransactionArgument.is(args[22]) ? args[22] : tx.object(args[22]),
4606
- );
4303
+ _args.push(transactionArgumentOrObject(args[0], tx));
4304
+ _args.push(transactionArgumentOrObject(args[1], tx));
4305
+ _args.push(transactionArgumentOrPure(args[2], tx));
4306
+ _args.push(transactionArgumentOrPure(args[3], tx));
4307
+ _args.push(transactionArgumentOrPure(args[4], tx));
4308
+ _args.push(transactionArgumentOrPure(args[5], tx));
4309
+ _args.push(transactionArgumentOrPure(args[6], tx));
4310
+ _args.push(transactionArgumentOrPure(args[7], tx));
4311
+ _args.push(transactionArgumentOrPure(args[8], tx));
4312
+ _args.push(transactionArgumentOrPure(args[9], tx));
4313
+ _args.push(transactionArgumentOrVec(args[10], tx));
4314
+ _args.push(transactionArgumentOrVec(args[11], tx));
4315
+ _args.push(transactionArgumentOrVec(args[12], tx));
4316
+ _args.push(transactionArgumentOrPure(args[13], tx));
4317
+ _args.push(transactionArgumentOrPure(args[14], tx));
4318
+ _args.push(transactionArgumentOrPure(args[15], tx));
4319
+ _args.push(transactionArgumentOrPure(args[16], tx));
4320
+ _args.push(transactionArgumentOrPure(args[17], tx));
4321
+ _args.push(transactionArgumentOrPure(args[18], tx));
4322
+ _args.push(transactionArgumentOrPure(args[19], tx));
4323
+ _args.push(transactionArgumentOrPure(args[20], tx));
4324
+ _args.push(transactionArgumentOrVec(args[21], tx));
4325
+ _args.push(transactionArgumentOrObject(args[22], tx));
4607
4326
 
4608
4327
  // @ts-ignore
4609
4328
  return tx.moveCall({
@@ -4648,21 +4367,10 @@ export namespace single_collateral {
4648
4367
  TransactionArgument,
4649
4368
  ] {
4650
4369
  const _args: any[] = [];
4651
- _args.push(
4652
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
4653
- );
4654
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
4655
- _args.push(
4656
- TransactionArgument.is(args[2])
4657
- ? args[2]
4658
- : tx.makeMoveVec({
4659
- objects: args[2].map((a: any) => tx.object(a)),
4660
- // type: TODO
4661
- }),
4662
- );
4663
- _args.push(
4664
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
4665
- );
4370
+ _args.push(transactionArgumentOrObject(args[0], tx));
4371
+ _args.push(transactionArgumentOrPure(args[1], tx));
4372
+ _args.push(transactionArgumentOrVec(args[2], tx));
4373
+ _args.push(transactionArgumentOrObject(args[3], tx));
4666
4374
 
4667
4375
  // @ts-ignore
4668
4376
  return tx.moveCall({
@@ -4703,14 +4411,10 @@ export namespace single_collateral {
4703
4411
  TransactionArgument,
4704
4412
  ] {
4705
4413
  const _args: any[] = [];
4706
- _args.push(
4707
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
4708
- );
4709
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
4710
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
4711
- _args.push(
4712
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
4713
- );
4414
+ _args.push(transactionArgumentOrObject(args[0], tx));
4415
+ _args.push(transactionArgumentOrPure(args[1], tx));
4416
+ _args.push(transactionArgumentOrPure(args[2], tx));
4417
+ _args.push(transactionArgumentOrObject(args[3], tx));
4714
4418
 
4715
4419
  // @ts-ignore
4716
4420
  return tx.moveCall({
@@ -4769,42 +4473,17 @@ export namespace single_collateral {
4769
4473
  TransactionArgument,
4770
4474
  ] {
4771
4475
  const _args: any[] = [];
4772
- _args.push(
4773
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
4774
- );
4775
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
4776
- _args.push(
4777
- TransactionArgument.is(args[2])
4778
- ? args[2]
4779
- : tx.makeMoveVec({
4780
- objects: args[2].map((a: any) => tx.object(a)),
4781
- // type: TODO
4782
- }),
4783
- );
4784
- _args.push(
4785
- TransactionArgument.is(args[3])
4786
- ? args[3]
4787
- : tx.makeMoveVec({
4788
- objects: args[3].map((a: any) => tx.object(a)),
4789
- // type: TODO
4790
- }),
4791
- );
4792
- _args.push(
4793
- TransactionArgument.is(args[4])
4794
- ? args[4]
4795
- : tx.makeMoveVec({
4796
- objects: args[4].map((a: any) => tx.object(a)),
4797
- // type: TODO
4798
- }),
4799
- );
4800
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
4801
- _args.push(TransactionArgument.is(args[6]) ? args[6] : tx.pure(args[6]));
4802
- _args.push(TransactionArgument.is(args[7]) ? args[7] : tx.pure(args[7]));
4803
- _args.push(TransactionArgument.is(args[8]) ? args[8] : tx.pure(args[8]));
4804
- _args.push(TransactionArgument.is(args[9]) ? args[9] : tx.pure(args[9]));
4805
- _args.push(
4806
- TransactionArgument.is(args[10]) ? args[10] : tx.object(args[10]),
4807
- );
4476
+ _args.push(transactionArgumentOrObject(args[0], tx));
4477
+ _args.push(transactionArgumentOrPure(args[1], tx));
4478
+ _args.push(transactionArgumentOrVec(args[2], tx));
4479
+ _args.push(transactionArgumentOrVec(args[3], tx));
4480
+ _args.push(transactionArgumentOrVec(args[4], tx));
4481
+ _args.push(transactionArgumentOrPure(args[5], tx));
4482
+ _args.push(transactionArgumentOrPure(args[6], tx));
4483
+ _args.push(transactionArgumentOrPure(args[7], tx));
4484
+ _args.push(transactionArgumentOrPure(args[8], tx));
4485
+ _args.push(transactionArgumentOrPure(args[9], tx));
4486
+ _args.push(transactionArgumentOrObject(args[10], tx));
4808
4487
 
4809
4488
  // @ts-ignore
4810
4489
  return tx.moveCall({
@@ -4857,18 +4536,14 @@ export namespace single_collateral {
4857
4536
  TransactionArgument,
4858
4537
  ] {
4859
4538
  const _args: any[] = [];
4860
- _args.push(
4861
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
4862
- );
4863
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
4864
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
4865
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
4866
- _args.push(TransactionArgument.is(args[4]) ? args[4] : tx.pure(args[4]));
4867
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
4868
- _args.push(TransactionArgument.is(args[6]) ? args[6] : tx.pure(args[6]));
4869
- _args.push(
4870
- TransactionArgument.is(args[7]) ? args[7] : tx.object(args[7]),
4871
- );
4539
+ _args.push(transactionArgumentOrObject(args[0], tx));
4540
+ _args.push(transactionArgumentOrPure(args[1], tx));
4541
+ _args.push(transactionArgumentOrPure(args[2], tx));
4542
+ _args.push(transactionArgumentOrPure(args[3], tx));
4543
+ _args.push(transactionArgumentOrPure(args[4], tx));
4544
+ _args.push(transactionArgumentOrPure(args[5], tx));
4545
+ _args.push(transactionArgumentOrPure(args[6], tx));
4546
+ _args.push(transactionArgumentOrObject(args[7], tx));
4872
4547
 
4873
4548
  // @ts-ignore
4874
4549
  return tx.moveCall({
@@ -4903,13 +4578,9 @@ export namespace single_collateral {
4903
4578
  ): TransactionArgument &
4904
4579
  [TransactionArgument, TransactionArgument, TransactionArgument] {
4905
4580
  const _args: any[] = [];
4906
- _args.push(
4907
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
4908
- );
4909
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
4910
- _args.push(
4911
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
4912
- );
4581
+ _args.push(transactionArgumentOrObject(args[0], tx));
4582
+ _args.push(transactionArgumentOrPure(args[1], tx));
4583
+ _args.push(transactionArgumentOrObject(args[2], tx));
4913
4584
 
4914
4585
  // @ts-ignore
4915
4586
  return tx.moveCall({
@@ -4944,13 +4615,9 @@ export namespace single_collateral {
4944
4615
  ): TransactionArgument &
4945
4616
  [TransactionArgument, TransactionArgument, TransactionArgument] {
4946
4617
  const _args: any[] = [];
4947
- _args.push(
4948
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
4949
- );
4950
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
4951
- _args.push(
4952
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
4953
- );
4618
+ _args.push(transactionArgumentOrObject(args[0], tx));
4619
+ _args.push(transactionArgumentOrPure(args[1], tx));
4620
+ _args.push(transactionArgumentOrObject(args[2], tx));
4954
4621
 
4955
4622
  // @ts-ignore
4956
4623
  return tx.moveCall({
@@ -4991,16 +4658,10 @@ export namespace single_collateral {
4991
4658
  TransactionArgument,
4992
4659
  ] {
4993
4660
  const _args: any[] = [];
4994
- _args.push(
4995
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
4996
- );
4997
- _args.push(
4998
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
4999
- );
5000
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
5001
- _args.push(
5002
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
5003
- );
4661
+ _args.push(transactionArgumentOrObject(args[0], tx));
4662
+ _args.push(transactionArgumentOrObject(args[1], tx));
4663
+ _args.push(transactionArgumentOrPure(args[2], tx));
4664
+ _args.push(transactionArgumentOrObject(args[3], tx));
5004
4665
 
5005
4666
  // @ts-ignore
5006
4667
  return tx.moveCall({
@@ -5031,13 +4692,9 @@ export namespace single_collateral {
5031
4692
  ): TransactionArgument &
5032
4693
  [TransactionArgument, TransactionArgument, TransactionArgument] {
5033
4694
  const _args: any[] = [];
5034
- _args.push(
5035
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5036
- );
5037
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
5038
- _args.push(
5039
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
5040
- );
4695
+ _args.push(transactionArgumentOrObject(args[0], tx));
4696
+ _args.push(transactionArgumentOrPure(args[1], tx));
4697
+ _args.push(transactionArgumentOrObject(args[2], tx));
5041
4698
 
5042
4699
  // @ts-ignore
5043
4700
  return tx.moveCall({
@@ -5079,22 +4736,12 @@ export namespace single_collateral {
5079
4736
  TransactionArgument,
5080
4737
  ] {
5081
4738
  const _args: any[] = [];
5082
- _args.push(
5083
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5084
- );
5085
- _args.push(
5086
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
5087
- );
5088
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
5089
- _args.push(
5090
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
5091
- );
5092
- _args.push(
5093
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
5094
- );
5095
- _args.push(
5096
- TransactionArgument.is(args[5]) ? args[5] : tx.object(args[5]),
5097
- );
4739
+ _args.push(transactionArgumentOrObject(args[0], tx));
4740
+ _args.push(transactionArgumentOrObject(args[1], tx));
4741
+ _args.push(transactionArgumentOrPure(args[2], tx));
4742
+ _args.push(transactionArgumentOrObject(args[3], tx));
4743
+ _args.push(transactionArgumentOrObject(args[4], tx));
4744
+ _args.push(transactionArgumentOrObject(args[5], tx));
5098
4745
 
5099
4746
  // @ts-ignore
5100
4747
  return tx.moveCall({
@@ -5137,22 +4784,11 @@ export namespace single_collateral {
5137
4784
  TransactionArgument,
5138
4785
  ] {
5139
4786
  const _args: any[] = [];
5140
- _args.push(
5141
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5142
- );
5143
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
5144
- _args.push(
5145
- TransactionArgument.is(args[2])
5146
- ? args[2]
5147
- : tx.makeMoveVec({
5148
- objects: args[2].map((a: any) => tx.object(a)),
5149
- // type: TODO
5150
- }),
5151
- );
5152
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
5153
- _args.push(
5154
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
5155
- );
4787
+ _args.push(transactionArgumentOrObject(args[0], tx));
4788
+ _args.push(transactionArgumentOrPure(args[1], tx));
4789
+ _args.push(transactionArgumentOrVec(args[2], tx));
4790
+ _args.push(transactionArgumentOrPure(args[3], tx));
4791
+ _args.push(transactionArgumentOrObject(args[4], tx));
5156
4792
 
5157
4793
  // @ts-ignore
5158
4794
  return tx.moveCall({
@@ -5197,22 +4833,12 @@ export namespace single_collateral {
5197
4833
  TransactionArgument,
5198
4834
  ] {
5199
4835
  const _args: any[] = [];
5200
- _args.push(
5201
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5202
- );
5203
- _args.push(
5204
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
5205
- );
5206
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
5207
- _args.push(
5208
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
5209
- );
5210
- _args.push(
5211
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
5212
- );
5213
- _args.push(
5214
- TransactionArgument.is(args[5]) ? args[5] : tx.object(args[5]),
5215
- );
4836
+ _args.push(transactionArgumentOrObject(args[0], tx));
4837
+ _args.push(transactionArgumentOrObject(args[1], tx));
4838
+ _args.push(transactionArgumentOrPure(args[2], tx));
4839
+ _args.push(transactionArgumentOrObject(args[3], tx));
4840
+ _args.push(transactionArgumentOrObject(args[4], tx));
4841
+ _args.push(transactionArgumentOrObject(args[5], tx));
5216
4842
 
5217
4843
  // @ts-ignore
5218
4844
  return tx.moveCall({
@@ -5247,13 +4873,9 @@ export namespace single_collateral {
5247
4873
  ): TransactionArgument &
5248
4874
  [TransactionArgument, TransactionArgument, TransactionArgument] {
5249
4875
  const _args: any[] = [];
5250
- _args.push(
5251
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5252
- );
5253
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
5254
- _args.push(
5255
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
5256
- );
4876
+ _args.push(transactionArgumentOrObject(args[0], tx));
4877
+ _args.push(transactionArgumentOrPure(args[1], tx));
4878
+ _args.push(transactionArgumentOrObject(args[2], tx));
5257
4879
 
5258
4880
  // @ts-ignore
5259
4881
  return tx.moveCall({
@@ -5288,13 +4910,9 @@ export namespace single_collateral {
5288
4910
  ): TransactionArgument &
5289
4911
  [TransactionArgument, TransactionArgument, TransactionArgument] {
5290
4912
  const _args: any[] = [];
5291
- _args.push(
5292
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5293
- );
5294
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
5295
- _args.push(
5296
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
5297
- );
4913
+ _args.push(transactionArgumentOrObject(args[0], tx));
4914
+ _args.push(transactionArgumentOrPure(args[1], tx));
4915
+ _args.push(transactionArgumentOrObject(args[2], tx));
5298
4916
 
5299
4917
  // @ts-ignore
5300
4918
  return tx.moveCall({
@@ -5329,11 +4947,9 @@ export namespace single_collateral {
5329
4947
  ): TransactionArgument &
5330
4948
  [TransactionArgument, TransactionArgument, TransactionArgument] {
5331
4949
  const _args: any[] = [];
5332
- _args.push(
5333
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5334
- );
5335
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
5336
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
4950
+ _args.push(transactionArgumentOrObject(args[0], tx));
4951
+ _args.push(transactionArgumentOrPure(args[1], tx));
4952
+ _args.push(transactionArgumentOrPure(args[2], tx));
5337
4953
 
5338
4954
  // @ts-ignore
5339
4955
  return tx.moveCall({
@@ -5368,13 +4984,9 @@ export namespace single_collateral {
5368
4984
  ): TransactionArgument &
5369
4985
  [TransactionArgument, TransactionArgument, TransactionArgument] {
5370
4986
  const _args: any[] = [];
5371
- _args.push(
5372
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5373
- );
5374
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
5375
- _args.push(
5376
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
5377
- );
4987
+ _args.push(transactionArgumentOrObject(args[0], tx));
4988
+ _args.push(transactionArgumentOrPure(args[1], tx));
4989
+ _args.push(transactionArgumentOrObject(args[2], tx));
5378
4990
 
5379
4991
  // @ts-ignore
5380
4992
  return tx.moveCall({
@@ -5421,23 +5033,13 @@ export namespace single_collateral {
5421
5033
  TransactionArgument,
5422
5034
  ] {
5423
5035
  const _args: any[] = [];
5424
- _args.push(
5425
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5426
- );
5427
- _args.push(
5428
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
5429
- );
5430
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
5431
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
5432
- _args.push(
5433
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
5434
- );
5435
- _args.push(
5436
- TransactionArgument.is(args[5]) ? args[5] : tx.object(args[5]),
5437
- );
5438
- _args.push(
5439
- TransactionArgument.is(args[6]) ? args[6] : tx.object(args[6]),
5440
- );
5036
+ _args.push(transactionArgumentOrObject(args[0], tx));
5037
+ _args.push(transactionArgumentOrObject(args[1], tx));
5038
+ _args.push(transactionArgumentOrPure(args[2], tx));
5039
+ _args.push(transactionArgumentOrPure(args[3], tx));
5040
+ _args.push(transactionArgumentOrObject(args[4], tx));
5041
+ _args.push(transactionArgumentOrObject(args[5], tx));
5042
+ _args.push(transactionArgumentOrObject(args[6], tx));
5441
5043
 
5442
5044
  // @ts-ignore
5443
5045
  return tx.moveCall({
@@ -5484,28 +5086,13 @@ export namespace single_collateral {
5484
5086
  TransactionArgument,
5485
5087
  ] {
5486
5088
  const _args: any[] = [];
5487
- _args.push(
5488
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5489
- );
5490
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
5491
- _args.push(
5492
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
5493
- );
5494
- _args.push(
5495
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
5496
- );
5497
- _args.push(
5498
- TransactionArgument.is(args[4])
5499
- ? args[4]
5500
- : tx.makeMoveVec({
5501
- objects: args[4].map((a: any) => tx.object(a)),
5502
- // type: TODO
5503
- }),
5504
- );
5505
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
5506
- _args.push(
5507
- TransactionArgument.is(args[6]) ? args[6] : tx.object(args[6]),
5508
- );
5089
+ _args.push(transactionArgumentOrObject(args[0], tx));
5090
+ _args.push(transactionArgumentOrPure(args[1], tx));
5091
+ _args.push(transactionArgumentOrObject(args[2], tx));
5092
+ _args.push(transactionArgumentOrObject(args[3], tx));
5093
+ _args.push(transactionArgumentOrVec(args[4], tx));
5094
+ _args.push(transactionArgumentOrPure(args[5], tx));
5095
+ _args.push(transactionArgumentOrObject(args[6], tx));
5509
5096
 
5510
5097
  // @ts-ignore
5511
5098
  return tx.moveCall({
@@ -5535,20 +5122,9 @@ export namespace single_collateral {
5535
5122
  ): TransactionArgument &
5536
5123
  [TransactionArgument, TransactionArgument, TransactionArgument] {
5537
5124
  const _args: any[] = [];
5538
- _args.push(
5539
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5540
- );
5541
- _args.push(
5542
- TransactionArgument.is(args[1])
5543
- ? args[1]
5544
- : tx.makeMoveVec({
5545
- objects: args[1].map((a: any) => tx.object(a)),
5546
- // type: TODO
5547
- }),
5548
- );
5549
- _args.push(
5550
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
5551
- );
5125
+ _args.push(transactionArgumentOrObject(args[0], tx));
5126
+ _args.push(transactionArgumentOrVec(args[1], tx));
5127
+ _args.push(transactionArgumentOrObject(args[2], tx));
5552
5128
 
5553
5129
  // @ts-ignore
5554
5130
  return tx.moveCall({
@@ -5618,84 +5194,30 @@ export namespace single_collateral {
5618
5194
  TransactionArgument,
5619
5195
  ] {
5620
5196
  const _args: any[] = [];
5621
- _args.push(
5622
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5623
- );
5624
- _args.push(
5625
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
5626
- );
5627
- _args.push(
5628
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
5629
- );
5630
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
5631
- _args.push(TransactionArgument.is(args[4]) ? args[4] : tx.pure(args[4]));
5632
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
5633
- _args.push(TransactionArgument.is(args[6]) ? args[6] : tx.pure(args[6]));
5634
- _args.push(TransactionArgument.is(args[7]) ? args[7] : tx.pure(args[7]));
5635
- _args.push(TransactionArgument.is(args[8]) ? args[8] : tx.pure(args[8]));
5636
- _args.push(TransactionArgument.is(args[9]) ? args[9] : tx.pure(args[9]));
5637
- _args.push(
5638
- TransactionArgument.is(args[10]) ? args[10] : tx.pure(args[10]),
5639
- );
5640
- _args.push(
5641
- TransactionArgument.is(args[11])
5642
- ? args[11]
5643
- : tx.makeMoveVec({
5644
- objects: args[11].map((a: any) => tx.object(a)),
5645
- // type: TODO
5646
- }),
5647
- );
5648
- _args.push(
5649
- TransactionArgument.is(args[12])
5650
- ? args[12]
5651
- : tx.makeMoveVec({
5652
- objects: args[12].map((a: any) => tx.object(a)),
5653
- // type: TODO
5654
- }),
5655
- );
5656
- _args.push(
5657
- TransactionArgument.is(args[13])
5658
- ? args[13]
5659
- : tx.makeMoveVec({
5660
- objects: args[13].map((a: any) => tx.object(a)),
5661
- // type: TODO
5662
- }),
5663
- );
5664
- _args.push(
5665
- TransactionArgument.is(args[14]) ? args[14] : tx.pure(args[14]),
5666
- );
5667
- _args.push(
5668
- TransactionArgument.is(args[15]) ? args[15] : tx.pure(args[15]),
5669
- );
5670
- _args.push(
5671
- TransactionArgument.is(args[16]) ? args[16] : tx.pure(args[16]),
5672
- );
5673
- _args.push(
5674
- TransactionArgument.is(args[17]) ? args[17] : tx.pure(args[17]),
5675
- );
5676
- _args.push(
5677
- TransactionArgument.is(args[18]) ? args[18] : tx.pure(args[18]),
5678
- );
5679
- _args.push(
5680
- TransactionArgument.is(args[19]) ? args[19] : tx.pure(args[19]),
5681
- );
5682
- _args.push(
5683
- TransactionArgument.is(args[20]) ? args[20] : tx.pure(args[20]),
5684
- );
5685
- _args.push(
5686
- TransactionArgument.is(args[21]) ? args[21] : tx.pure(args[21]),
5687
- );
5688
- _args.push(
5689
- TransactionArgument.is(args[22])
5690
- ? args[22]
5691
- : tx.makeMoveVec({
5692
- objects: args[22].map((a: any) => tx.object(a)),
5693
- // type: TODO
5694
- }),
5695
- );
5696
- _args.push(
5697
- TransactionArgument.is(args[23]) ? args[23] : tx.object(args[23]),
5698
- );
5197
+ _args.push(transactionArgumentOrObject(args[0], tx));
5198
+ _args.push(transactionArgumentOrObject(args[1], tx));
5199
+ _args.push(transactionArgumentOrObject(args[2], tx));
5200
+ _args.push(transactionArgumentOrPure(args[3], tx));
5201
+ _args.push(transactionArgumentOrPure(args[4], tx));
5202
+ _args.push(transactionArgumentOrPure(args[5], tx));
5203
+ _args.push(transactionArgumentOrPure(args[6], tx));
5204
+ _args.push(transactionArgumentOrPure(args[7], tx));
5205
+ _args.push(transactionArgumentOrPure(args[8], tx));
5206
+ _args.push(transactionArgumentOrPure(args[9], tx));
5207
+ _args.push(transactionArgumentOrPure(args[10], tx));
5208
+ _args.push(transactionArgumentOrVec(args[11], tx));
5209
+ _args.push(transactionArgumentOrVec(args[12], tx));
5210
+ _args.push(transactionArgumentOrVec(args[13], tx));
5211
+ _args.push(transactionArgumentOrPure(args[14], tx));
5212
+ _args.push(transactionArgumentOrPure(args[15], tx));
5213
+ _args.push(transactionArgumentOrPure(args[16], tx));
5214
+ _args.push(transactionArgumentOrPure(args[17], tx));
5215
+ _args.push(transactionArgumentOrPure(args[18], tx));
5216
+ _args.push(transactionArgumentOrPure(args[19], tx));
5217
+ _args.push(transactionArgumentOrPure(args[20], tx));
5218
+ _args.push(transactionArgumentOrPure(args[21], tx));
5219
+ _args.push(transactionArgumentOrVec(args[22], tx));
5220
+ _args.push(transactionArgumentOrObject(args[23], tx));
5699
5221
 
5700
5222
  // @ts-ignore
5701
5223
  return tx.moveCall({
@@ -5731,23 +5253,10 @@ export namespace single_collateral {
5731
5253
  TransactionArgument,
5732
5254
  ] {
5733
5255
  const _args: any[] = [];
5734
- _args.push(
5735
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5736
- );
5737
- _args.push(
5738
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
5739
- );
5740
- _args.push(
5741
- TransactionArgument.is(args[2])
5742
- ? args[2]
5743
- : tx.makeMoveVec({
5744
- objects: args[2].map((a: any) => tx.object(a)),
5745
- // type: TODO
5746
- }),
5747
- );
5748
- _args.push(
5749
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
5750
- );
5256
+ _args.push(transactionArgumentOrObject(args[0], tx));
5257
+ _args.push(transactionArgumentOrObject(args[1], tx));
5258
+ _args.push(transactionArgumentOrVec(args[2], tx));
5259
+ _args.push(transactionArgumentOrObject(args[3], tx));
5751
5260
 
5752
5261
  // @ts-ignore
5753
5262
  return tx.moveCall({
@@ -5764,10 +5273,8 @@ export namespace single_collateral {
5764
5273
  ],
5765
5274
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
5766
5275
  const _args: any[] = [];
5767
- _args.push(TransactionArgument.is(args[0]) ? args[0] : tx.pure(args[0]));
5768
- _args.push(
5769
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
5770
- );
5276
+ _args.push(transactionArgumentOrPure(args[0], tx));
5277
+ _args.push(transactionArgumentOrObject(args[1], tx));
5771
5278
 
5772
5279
  // @ts-ignore
5773
5280
  return tx.moveCall({
@@ -5803,24 +5310,11 @@ export namespace single_collateral {
5803
5310
  TransactionArgument,
5804
5311
  ] {
5805
5312
  const _args: any[] = [];
5806
- _args.push(
5807
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5808
- );
5809
- _args.push(
5810
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
5811
- );
5812
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
5813
- _args.push(
5814
- TransactionArgument.is(args[3])
5815
- ? args[3]
5816
- : tx.makeMoveVec({
5817
- objects: args[3].map((a: any) => tx.object(a)),
5818
- // type: TODO
5819
- }),
5820
- );
5821
- _args.push(
5822
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
5823
- );
5313
+ _args.push(transactionArgumentOrObject(args[0], tx));
5314
+ _args.push(transactionArgumentOrObject(args[1], tx));
5315
+ _args.push(transactionArgumentOrPure(args[2], tx));
5316
+ _args.push(transactionArgumentOrVec(args[3], tx));
5317
+ _args.push(transactionArgumentOrObject(args[4], tx));
5824
5318
 
5825
5319
  // @ts-ignore
5826
5320
  return tx.moveCall({
@@ -5863,19 +5357,11 @@ export namespace single_collateral {
5863
5357
  TransactionArgument,
5864
5358
  ] {
5865
5359
  const _args: any[] = [];
5866
- _args.push(
5867
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5868
- );
5869
- _args.push(
5870
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
5871
- );
5872
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
5873
- _args.push(
5874
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
5875
- );
5876
- _args.push(
5877
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
5878
- );
5360
+ _args.push(transactionArgumentOrObject(args[0], tx));
5361
+ _args.push(transactionArgumentOrObject(args[1], tx));
5362
+ _args.push(transactionArgumentOrPure(args[2], tx));
5363
+ _args.push(transactionArgumentOrObject(args[3], tx));
5364
+ _args.push(transactionArgumentOrObject(args[4], tx));
5879
5365
 
5880
5366
  // @ts-ignore
5881
5367
  return tx.moveCall({
@@ -5918,19 +5404,11 @@ export namespace single_collateral {
5918
5404
  TransactionArgument,
5919
5405
  ] {
5920
5406
  const _args: any[] = [];
5921
- _args.push(
5922
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5923
- );
5924
- _args.push(
5925
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
5926
- );
5927
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
5928
- _args.push(
5929
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
5930
- );
5931
- _args.push(
5932
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
5933
- );
5407
+ _args.push(transactionArgumentOrObject(args[0], tx));
5408
+ _args.push(transactionArgumentOrObject(args[1], tx));
5409
+ _args.push(transactionArgumentOrPure(args[2], tx));
5410
+ _args.push(transactionArgumentOrObject(args[3], tx));
5411
+ _args.push(transactionArgumentOrObject(args[4], tx));
5934
5412
 
5935
5413
  // @ts-ignore
5936
5414
  return tx.moveCall({
@@ -5971,14 +5449,10 @@ export namespace single_collateral {
5971
5449
  TransactionArgument,
5972
5450
  ] {
5973
5451
  const _args: any[] = [];
5974
- _args.push(
5975
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
5976
- );
5977
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
5978
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
5979
- _args.push(
5980
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
5981
- );
5452
+ _args.push(transactionArgumentOrObject(args[0], tx));
5453
+ _args.push(transactionArgumentOrPure(args[1], tx));
5454
+ _args.push(transactionArgumentOrPure(args[2], tx));
5455
+ _args.push(transactionArgumentOrObject(args[3], tx));
5982
5456
 
5983
5457
  // @ts-ignore
5984
5458
  return tx.moveCall({
@@ -6029,21 +5503,15 @@ export namespace single_collateral {
6029
5503
  TransactionArgument,
6030
5504
  ] {
6031
5505
  const _args: any[] = [];
6032
- _args.push(
6033
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
6034
- );
6035
- _args.push(
6036
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
6037
- );
6038
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
6039
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
6040
- _args.push(TransactionArgument.is(args[4]) ? args[4] : tx.pure(args[4]));
6041
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
6042
- _args.push(TransactionArgument.is(args[6]) ? args[6] : tx.pure(args[6]));
6043
- _args.push(TransactionArgument.is(args[7]) ? args[7] : tx.pure(args[7]));
6044
- _args.push(
6045
- TransactionArgument.is(args[8]) ? args[8] : tx.object(args[8]),
6046
- );
5506
+ _args.push(transactionArgumentOrObject(args[0], tx));
5507
+ _args.push(transactionArgumentOrObject(args[1], tx));
5508
+ _args.push(transactionArgumentOrPure(args[2], tx));
5509
+ _args.push(transactionArgumentOrPure(args[3], tx));
5510
+ _args.push(transactionArgumentOrPure(args[4], tx));
5511
+ _args.push(transactionArgumentOrPure(args[5], tx));
5512
+ _args.push(transactionArgumentOrPure(args[6], tx));
5513
+ _args.push(transactionArgumentOrPure(args[7], tx));
5514
+ _args.push(transactionArgumentOrObject(args[8], tx));
6047
5515
 
6048
5516
  // @ts-ignore
6049
5517
  return tx.moveCall({
@@ -6086,17 +5554,11 @@ export namespace single_collateral {
6086
5554
  TransactionArgument,
6087
5555
  ] {
6088
5556
  const _args: any[] = [];
6089
- _args.push(
6090
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
6091
- );
6092
- _args.push(
6093
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
6094
- );
6095
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
6096
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
6097
- _args.push(
6098
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
6099
- );
5557
+ _args.push(transactionArgumentOrObject(args[0], tx));
5558
+ _args.push(transactionArgumentOrObject(args[1], tx));
5559
+ _args.push(transactionArgumentOrPure(args[2], tx));
5560
+ _args.push(transactionArgumentOrPure(args[3], tx));
5561
+ _args.push(transactionArgumentOrObject(args[4], tx));
6100
5562
 
6101
5563
  // @ts-ignore
6102
5564
  return tx.moveCall({
@@ -6134,17 +5596,11 @@ export namespace single_collateral {
6134
5596
  TransactionArgument,
6135
5597
  ] {
6136
5598
  const _args: any[] = [];
6137
- _args.push(
6138
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
6139
- );
6140
- _args.push(
6141
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
6142
- );
6143
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
6144
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
6145
- _args.push(
6146
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
6147
- );
5599
+ _args.push(transactionArgumentOrObject(args[0], tx));
5600
+ _args.push(transactionArgumentOrObject(args[1], tx));
5601
+ _args.push(transactionArgumentOrPure(args[2], tx));
5602
+ _args.push(transactionArgumentOrPure(args[3], tx));
5603
+ _args.push(transactionArgumentOrObject(args[4], tx));
6148
5604
 
6149
5605
  // @ts-ignore
6150
5606
  return tx.moveCall({
@@ -6190,47 +5646,18 @@ export namespace single_collateral {
6190
5646
  TransactionArgument,
6191
5647
  ] {
6192
5648
  const _args: any[] = [];
6193
- _args.push(
6194
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
6195
- );
6196
- _args.push(
6197
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
6198
- );
6199
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
6200
- _args.push(
6201
- TransactionArgument.is(args[3])
6202
- ? args[3]
6203
- : tx.makeMoveVec({
6204
- objects: args[3].map((a: any) => tx.object(a)),
6205
- // type: TODO
6206
- }),
6207
- );
6208
- _args.push(
6209
- TransactionArgument.is(args[4])
6210
- ? args[4]
6211
- : tx.makeMoveVec({
6212
- objects: args[4].map((a: any) => tx.object(a)),
6213
- // type: TODO
6214
- }),
6215
- );
6216
- _args.push(
6217
- TransactionArgument.is(args[5])
6218
- ? args[5]
6219
- : tx.makeMoveVec({
6220
- objects: args[5].map((a: any) => tx.object(a)),
6221
- // type: TODO
6222
- }),
6223
- );
6224
- _args.push(TransactionArgument.is(args[6]) ? args[6] : tx.pure(args[6]));
6225
- _args.push(TransactionArgument.is(args[7]) ? args[7] : tx.pure(args[7]));
6226
- _args.push(TransactionArgument.is(args[8]) ? args[8] : tx.pure(args[8]));
6227
- _args.push(TransactionArgument.is(args[9]) ? args[9] : tx.pure(args[9]));
6228
- _args.push(
6229
- TransactionArgument.is(args[10]) ? args[10] : tx.pure(args[10]),
6230
- );
6231
- _args.push(
6232
- TransactionArgument.is(args[11]) ? args[11] : tx.object(args[11]),
6233
- );
5649
+ _args.push(transactionArgumentOrObject(args[0], tx));
5650
+ _args.push(transactionArgumentOrObject(args[1], tx));
5651
+ _args.push(transactionArgumentOrPure(args[2], tx));
5652
+ _args.push(transactionArgumentOrVec(args[3], tx));
5653
+ _args.push(transactionArgumentOrVec(args[4], tx));
5654
+ _args.push(transactionArgumentOrVec(args[5], tx));
5655
+ _args.push(transactionArgumentOrPure(args[6], tx));
5656
+ _args.push(transactionArgumentOrPure(args[7], tx));
5657
+ _args.push(transactionArgumentOrPure(args[8], tx));
5658
+ _args.push(transactionArgumentOrPure(args[9], tx));
5659
+ _args.push(transactionArgumentOrPure(args[10], tx));
5660
+ _args.push(transactionArgumentOrObject(args[11], tx));
6234
5661
 
6235
5662
  // @ts-ignore
6236
5663
  return tx.moveCall({
@@ -6281,21 +5708,15 @@ export namespace single_collateral {
6281
5708
  TransactionArgument,
6282
5709
  ] {
6283
5710
  const _args: any[] = [];
6284
- _args.push(
6285
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
6286
- );
6287
- _args.push(
6288
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
6289
- );
6290
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
6291
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
6292
- _args.push(TransactionArgument.is(args[4]) ? args[4] : tx.pure(args[4]));
6293
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
6294
- _args.push(TransactionArgument.is(args[6]) ? args[6] : tx.pure(args[6]));
6295
- _args.push(TransactionArgument.is(args[7]) ? args[7] : tx.pure(args[7]));
6296
- _args.push(
6297
- TransactionArgument.is(args[8]) ? args[8] : tx.object(args[8]),
6298
- );
5711
+ _args.push(transactionArgumentOrObject(args[0], tx));
5712
+ _args.push(transactionArgumentOrObject(args[1], tx));
5713
+ _args.push(transactionArgumentOrPure(args[2], tx));
5714
+ _args.push(transactionArgumentOrPure(args[3], tx));
5715
+ _args.push(transactionArgumentOrPure(args[4], tx));
5716
+ _args.push(transactionArgumentOrPure(args[5], tx));
5717
+ _args.push(transactionArgumentOrPure(args[6], tx));
5718
+ _args.push(transactionArgumentOrPure(args[7], tx));
5719
+ _args.push(transactionArgumentOrObject(args[8], tx));
6299
5720
 
6300
5721
  // @ts-ignore
6301
5722
  return tx.moveCall({
@@ -6336,14 +5757,10 @@ export namespace single_collateral {
6336
5757
  TransactionArgument,
6337
5758
  ] {
6338
5759
  const _args: any[] = [];
6339
- _args.push(
6340
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
6341
- );
6342
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
6343
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
6344
- _args.push(
6345
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
6346
- );
5760
+ _args.push(transactionArgumentOrObject(args[0], tx));
5761
+ _args.push(transactionArgumentOrPure(args[1], tx));
5762
+ _args.push(transactionArgumentOrPure(args[2], tx));
5763
+ _args.push(transactionArgumentOrObject(args[3], tx));
6347
5764
 
6348
5765
  // @ts-ignore
6349
5766
  return tx.moveCall({
@@ -7374,18 +6791,9 @@ export namespace utils {
7374
6791
  ): TransactionArgument &
7375
6792
  [TransactionArgument, TransactionArgument, TransactionArgument] {
7376
6793
  const _args: any[] = [];
7377
- _args.push(
7378
- TransactionArgument.is(args[0])
7379
- ? args[0]
7380
- : tx.makeMoveVec({
7381
- objects: args[0].map((a: any) => tx.object(a)),
7382
- // type: TODO
7383
- }),
7384
- );
7385
- _args.push(TransactionArgument.is(args[1]) ? args[1] : tx.pure(args[1]));
7386
- _args.push(
7387
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
7388
- );
6794
+ _args.push(transactionArgumentOrVec(args[0], tx));
6795
+ _args.push(transactionArgumentOrPure(args[1], tx));
6796
+ _args.push(transactionArgumentOrObject(args[2], tx));
7389
6797
 
7390
6798
  // @ts-ignore
7391
6799
  return tx.moveCall({
@@ -7404,7 +6812,7 @@ export namespace utils {
7404
6812
  args: [bigint | TransactionArgument],
7405
6813
  ): TransactionArgument & [TransactionArgument] {
7406
6814
  const _args: any[] = [];
7407
- _args.push(TransactionArgument.is(args[0]) ? args[0] : tx.pure(args[0]));
6815
+ _args.push(transactionArgumentOrPure(args[0], tx));
7408
6816
 
7409
6817
  // @ts-ignore
7410
6818
  return tx.moveCall({
@@ -7440,7 +6848,7 @@ export namespace utils {
7440
6848
  args: [bigint | TransactionArgument],
7441
6849
  ): TransactionArgument & [TransactionArgument] {
7442
6850
  const _args: any[] = [];
7443
- _args.push(TransactionArgument.is(args[0]) ? args[0] : tx.pure(args[0]));
6851
+ _args.push(transactionArgumentOrPure(args[0], tx));
7444
6852
 
7445
6853
  // @ts-ignore
7446
6854
  return tx.moveCall({
@@ -8078,19 +7486,11 @@ export namespace vault {
8078
7486
  TransactionArgument,
8079
7487
  ] {
8080
7488
  const _args: any[] = [];
8081
- _args.push(
8082
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8083
- );
8084
- _args.push(
8085
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8086
- );
8087
- _args.push(
8088
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
8089
- );
8090
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
8091
- _args.push(
8092
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
8093
- );
7489
+ _args.push(transactionArgumentOrObject(args[0], tx));
7490
+ _args.push(transactionArgumentOrObject(args[1], tx));
7491
+ _args.push(transactionArgumentOrObject(args[2], tx));
7492
+ _args.push(transactionArgumentOrPure(args[3], tx));
7493
+ _args.push(transactionArgumentOrObject(args[4], tx));
8094
7494
 
8095
7495
  // @ts-ignore
8096
7496
  return tx.moveCall({
@@ -8113,9 +7513,7 @@ export namespace vault {
8113
7513
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8114
7514
  ): TransactionArgument & [TransactionArgument] {
8115
7515
  const _args: any[] = [];
8116
- _args.push(
8117
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8118
- );
7516
+ _args.push(transactionArgumentOrObject(args[0], tx));
8119
7517
 
8120
7518
  // @ts-ignore
8121
7519
  return tx.moveCall({
@@ -8138,9 +7536,7 @@ export namespace vault {
8138
7536
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8139
7537
  ): TransactionArgument & [TransactionArgument] {
8140
7538
  const _args: any[] = [];
8141
- _args.push(
8142
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8143
- );
7539
+ _args.push(transactionArgumentOrObject(args[0], tx));
8144
7540
 
8145
7541
  // @ts-ignore
8146
7542
  return tx.moveCall({
@@ -8163,9 +7559,7 @@ export namespace vault {
8163
7559
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8164
7560
  ): TransactionArgument & [TransactionArgument] {
8165
7561
  const _args: any[] = [];
8166
- _args.push(
8167
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8168
- );
7562
+ _args.push(transactionArgumentOrObject(args[0], tx));
8169
7563
 
8170
7564
  // @ts-ignore
8171
7565
  return tx.moveCall({
@@ -8188,9 +7582,7 @@ export namespace vault {
8188
7582
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8189
7583
  ): TransactionArgument & [TransactionArgument] {
8190
7584
  const _args: any[] = [];
8191
- _args.push(
8192
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8193
- );
7585
+ _args.push(transactionArgumentOrObject(args[0], tx));
8194
7586
 
8195
7587
  // @ts-ignore
8196
7588
  return tx.moveCall({
@@ -8213,9 +7605,7 @@ export namespace vault {
8213
7605
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8214
7606
  ): TransactionArgument & [TransactionArgument] {
8215
7607
  const _args: any[] = [];
8216
- _args.push(
8217
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8218
- );
7608
+ _args.push(transactionArgumentOrObject(args[0], tx));
8219
7609
 
8220
7610
  // @ts-ignore
8221
7611
  return tx.moveCall({
@@ -8238,9 +7628,7 @@ export namespace vault {
8238
7628
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8239
7629
  ): TransactionArgument & [TransactionArgument] {
8240
7630
  const _args: any[] = [];
8241
- _args.push(
8242
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8243
- );
7631
+ _args.push(transactionArgumentOrObject(args[0], tx));
8244
7632
 
8245
7633
  // @ts-ignore
8246
7634
  return tx.moveCall({
@@ -8268,15 +7656,9 @@ export namespace vault {
8268
7656
  ): TransactionArgument &
8269
7657
  [TransactionArgument, TransactionArgument, TransactionArgument] {
8270
7658
  const _args: any[] = [];
8271
- _args.push(
8272
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8273
- );
8274
- _args.push(
8275
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8276
- );
8277
- _args.push(
8278
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
8279
- );
7659
+ _args.push(transactionArgumentOrObject(args[0], tx));
7660
+ _args.push(transactionArgumentOrObject(args[1], tx));
7661
+ _args.push(transactionArgumentOrObject(args[2], tx));
8280
7662
 
8281
7663
  // @ts-ignore
8282
7664
  return tx.moveCall({
@@ -8310,16 +7692,10 @@ export namespace vault {
8310
7692
  TransactionArgument,
8311
7693
  ] {
8312
7694
  const _args: any[] = [];
8313
- _args.push(
8314
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8315
- );
8316
- _args.push(
8317
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8318
- );
8319
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8320
- _args.push(
8321
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
8322
- );
7695
+ _args.push(transactionArgumentOrObject(args[0], tx));
7696
+ _args.push(transactionArgumentOrObject(args[1], tx));
7697
+ _args.push(transactionArgumentOrPure(args[2], tx));
7698
+ _args.push(transactionArgumentOrObject(args[3], tx));
8323
7699
 
8324
7700
  // @ts-ignore
8325
7701
  return tx.moveCall({
@@ -8353,16 +7729,10 @@ export namespace vault {
8353
7729
  TransactionArgument,
8354
7730
  ] {
8355
7731
  const _args: any[] = [];
8356
- _args.push(
8357
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8358
- );
8359
- _args.push(
8360
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8361
- );
8362
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8363
- _args.push(
8364
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
8365
- );
7732
+ _args.push(transactionArgumentOrObject(args[0], tx));
7733
+ _args.push(transactionArgumentOrObject(args[1], tx));
7734
+ _args.push(transactionArgumentOrPure(args[2], tx));
7735
+ _args.push(transactionArgumentOrObject(args[3], tx));
8366
7736
 
8367
7737
  // @ts-ignore
8368
7738
  return tx.moveCall({
@@ -8396,18 +7766,10 @@ export namespace vault {
8396
7766
  TransactionArgument,
8397
7767
  ] {
8398
7768
  const _args: any[] = [];
8399
- _args.push(
8400
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8401
- );
8402
- _args.push(
8403
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8404
- );
8405
- _args.push(
8406
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
8407
- );
8408
- _args.push(
8409
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
8410
- );
7769
+ _args.push(transactionArgumentOrObject(args[0], tx));
7770
+ _args.push(transactionArgumentOrObject(args[1], tx));
7771
+ _args.push(transactionArgumentOrObject(args[2], tx));
7772
+ _args.push(transactionArgumentOrObject(args[3], tx));
8411
7773
 
8412
7774
  // @ts-ignore
8413
7775
  return tx.moveCall({
@@ -8430,9 +7792,7 @@ export namespace vault {
8430
7792
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8431
7793
  ): TransactionArgument & [TransactionArgument] {
8432
7794
  const _args: any[] = [];
8433
- _args.push(
8434
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8435
- );
7795
+ _args.push(transactionArgumentOrObject(args[0], tx));
8436
7796
 
8437
7797
  // @ts-ignore
8438
7798
  return tx.moveCall({
@@ -8455,9 +7815,7 @@ export namespace vault {
8455
7815
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8456
7816
  ): TransactionArgument & [TransactionArgument] {
8457
7817
  const _args: any[] = [];
8458
- _args.push(
8459
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8460
- );
7818
+ _args.push(transactionArgumentOrObject(args[0], tx));
8461
7819
 
8462
7820
  // @ts-ignore
8463
7821
  return tx.moveCall({
@@ -8480,9 +7838,7 @@ export namespace vault {
8480
7838
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8481
7839
  ): TransactionArgument & [TransactionArgument] {
8482
7840
  const _args: any[] = [];
8483
- _args.push(
8484
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8485
- );
7841
+ _args.push(transactionArgumentOrObject(args[0], tx));
8486
7842
 
8487
7843
  // @ts-ignore
8488
7844
  return tx.moveCall({
@@ -8528,24 +7884,14 @@ export namespace vault {
8528
7884
  TransactionArgument,
8529
7885
  ] {
8530
7886
  const _args: any[] = [];
8531
- _args.push(
8532
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8533
- );
8534
- _args.push(
8535
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8536
- );
8537
- _args.push(
8538
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
8539
- );
8540
- _args.push(
8541
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
8542
- );
8543
- _args.push(TransactionArgument.is(args[4]) ? args[4] : tx.pure(args[4]));
8544
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
8545
- _args.push(TransactionArgument.is(args[6]) ? args[6] : tx.pure(args[6]));
8546
- _args.push(
8547
- TransactionArgument.is(args[7]) ? args[7] : tx.object(args[7]),
8548
- );
7887
+ _args.push(transactionArgumentOrObject(args[0], tx));
7888
+ _args.push(transactionArgumentOrObject(args[1], tx));
7889
+ _args.push(transactionArgumentOrObject(args[2], tx));
7890
+ _args.push(transactionArgumentOrObject(args[3], tx));
7891
+ _args.push(transactionArgumentOrPure(args[4], tx));
7892
+ _args.push(transactionArgumentOrPure(args[5], tx));
7893
+ _args.push(transactionArgumentOrPure(args[6], tx));
7894
+ _args.push(transactionArgumentOrObject(args[7], tx));
8549
7895
 
8550
7896
  // @ts-ignore
8551
7897
  return tx.moveCall({
@@ -8597,27 +7943,15 @@ export namespace vault {
8597
7943
  TransactionArgument,
8598
7944
  ] {
8599
7945
  const _args: any[] = [];
8600
- _args.push(
8601
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8602
- );
8603
- _args.push(
8604
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8605
- );
8606
- _args.push(
8607
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
8608
- );
8609
- _args.push(
8610
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
8611
- );
8612
- _args.push(
8613
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
8614
- );
8615
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
8616
- _args.push(TransactionArgument.is(args[6]) ? args[6] : tx.pure(args[6]));
8617
- _args.push(TransactionArgument.is(args[7]) ? args[7] : tx.pure(args[7]));
8618
- _args.push(
8619
- TransactionArgument.is(args[8]) ? args[8] : tx.object(args[8]),
8620
- );
7946
+ _args.push(transactionArgumentOrObject(args[0], tx));
7947
+ _args.push(transactionArgumentOrObject(args[1], tx));
7948
+ _args.push(transactionArgumentOrObject(args[2], tx));
7949
+ _args.push(transactionArgumentOrObject(args[3], tx));
7950
+ _args.push(transactionArgumentOrObject(args[4], tx));
7951
+ _args.push(transactionArgumentOrPure(args[5], tx));
7952
+ _args.push(transactionArgumentOrPure(args[6], tx));
7953
+ _args.push(transactionArgumentOrPure(args[7], tx));
7954
+ _args.push(transactionArgumentOrObject(args[8], tx));
8621
7955
 
8622
7956
  // @ts-ignore
8623
7957
  return tx.moveCall({
@@ -8661,25 +7995,12 @@ export namespace vault {
8661
7995
  TransactionArgument,
8662
7996
  ] {
8663
7997
  const _args: any[] = [];
8664
- _args.push(
8665
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8666
- );
8667
- _args.push(
8668
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8669
- );
8670
- _args.push(
8671
- TransactionArgument.is(args[2])
8672
- ? args[2]
8673
- : tx.makeMoveVec({
8674
- objects: args[2].map((a: any) => tx.object(a)),
8675
- // type: TODO
8676
- }),
8677
- );
8678
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
8679
- _args.push(TransactionArgument.is(args[4]) ? args[4] : tx.pure(args[4]));
8680
- _args.push(
8681
- TransactionArgument.is(args[5]) ? args[5] : tx.object(args[5]),
8682
- );
7998
+ _args.push(transactionArgumentOrObject(args[0], tx));
7999
+ _args.push(transactionArgumentOrObject(args[1], tx));
8000
+ _args.push(transactionArgumentOrVec(args[2], tx));
8001
+ _args.push(transactionArgumentOrPure(args[3], tx));
8002
+ _args.push(transactionArgumentOrPure(args[4], tx));
8003
+ _args.push(transactionArgumentOrObject(args[5], tx));
8683
8004
 
8684
8005
  // @ts-ignore
8685
8006
  return tx.moveCall({
@@ -8707,13 +8028,9 @@ export namespace vault {
8707
8028
  ): TransactionArgument &
8708
8029
  [TransactionArgument, TransactionArgument, TransactionArgument] {
8709
8030
  const _args: any[] = [];
8710
- _args.push(
8711
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8712
- );
8713
- _args.push(
8714
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8715
- );
8716
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8031
+ _args.push(transactionArgumentOrObject(args[0], tx));
8032
+ _args.push(transactionArgumentOrObject(args[1], tx));
8033
+ _args.push(transactionArgumentOrPure(args[2], tx));
8717
8034
 
8718
8035
  // @ts-ignore
8719
8036
  return tx.moveCall({
@@ -8736,9 +8053,7 @@ export namespace vault {
8736
8053
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8737
8054
  ): TransactionArgument & [TransactionArgument] {
8738
8055
  const _args: any[] = [];
8739
- _args.push(
8740
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8741
- );
8056
+ _args.push(transactionArgumentOrObject(args[0], tx));
8742
8057
 
8743
8058
  // @ts-ignore
8744
8059
  return tx.moveCall({
@@ -8761,9 +8076,7 @@ export namespace vault {
8761
8076
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8762
8077
  ): TransactionArgument & [TransactionArgument] {
8763
8078
  const _args: any[] = [];
8764
- _args.push(
8765
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8766
- );
8079
+ _args.push(transactionArgumentOrObject(args[0], tx));
8767
8080
 
8768
8081
  // @ts-ignore
8769
8082
  return tx.moveCall({
@@ -8791,13 +8104,9 @@ export namespace vault {
8791
8104
  ): TransactionArgument &
8792
8105
  [TransactionArgument, TransactionArgument, TransactionArgument] {
8793
8106
  const _args: any[] = [];
8794
- _args.push(
8795
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8796
- );
8797
- _args.push(
8798
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8799
- );
8800
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8107
+ _args.push(transactionArgumentOrObject(args[0], tx));
8108
+ _args.push(transactionArgumentOrObject(args[1], tx));
8109
+ _args.push(transactionArgumentOrPure(args[2], tx));
8801
8110
 
8802
8111
  // @ts-ignore
8803
8112
  return tx.moveCall({
@@ -8825,13 +8134,9 @@ export namespace vault {
8825
8134
  ): TransactionArgument &
8826
8135
  [TransactionArgument, TransactionArgument, TransactionArgument] {
8827
8136
  const _args: any[] = [];
8828
- _args.push(
8829
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8830
- );
8831
- _args.push(
8832
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8833
- );
8834
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8137
+ _args.push(transactionArgumentOrObject(args[0], tx));
8138
+ _args.push(transactionArgumentOrObject(args[1], tx));
8139
+ _args.push(transactionArgumentOrPure(args[2], tx));
8835
8140
 
8836
8141
  // @ts-ignore
8837
8142
  return tx.moveCall({
@@ -8854,9 +8159,7 @@ export namespace vault {
8854
8159
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8855
8160
  ): TransactionArgument & [TransactionArgument] {
8856
8161
  const _args: any[] = [];
8857
- _args.push(
8858
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8859
- );
8162
+ _args.push(transactionArgumentOrObject(args[0], tx));
8860
8163
 
8861
8164
  // @ts-ignore
8862
8165
  return tx.moveCall({
@@ -8879,9 +8182,7 @@ export namespace vault {
8879
8182
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
8880
8183
  ): TransactionArgument & [TransactionArgument] {
8881
8184
  const _args: any[] = [];
8882
- _args.push(
8883
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8884
- );
8185
+ _args.push(transactionArgumentOrObject(args[0], tx));
8885
8186
 
8886
8187
  // @ts-ignore
8887
8188
  return tx.moveCall({
@@ -8909,13 +8210,9 @@ export namespace vault {
8909
8210
  ): TransactionArgument &
8910
8211
  [TransactionArgument, TransactionArgument, TransactionArgument] {
8911
8212
  const _args: any[] = [];
8912
- _args.push(
8913
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8914
- );
8915
- _args.push(
8916
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8917
- );
8918
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8213
+ _args.push(transactionArgumentOrObject(args[0], tx));
8214
+ _args.push(transactionArgumentOrObject(args[1], tx));
8215
+ _args.push(transactionArgumentOrPure(args[2], tx));
8919
8216
 
8920
8217
  // @ts-ignore
8921
8218
  return tx.moveCall({
@@ -8943,13 +8240,9 @@ export namespace vault {
8943
8240
  ): TransactionArgument &
8944
8241
  [TransactionArgument, TransactionArgument, TransactionArgument] {
8945
8242
  const _args: any[] = [];
8946
- _args.push(
8947
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8948
- );
8949
- _args.push(
8950
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8951
- );
8952
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8243
+ _args.push(transactionArgumentOrObject(args[0], tx));
8244
+ _args.push(transactionArgumentOrObject(args[1], tx));
8245
+ _args.push(transactionArgumentOrPure(args[2], tx));
8953
8246
 
8954
8247
  // @ts-ignore
8955
8248
  return tx.moveCall({
@@ -8977,13 +8270,9 @@ export namespace vault {
8977
8270
  ): TransactionArgument &
8978
8271
  [TransactionArgument, TransactionArgument, TransactionArgument] {
8979
8272
  const _args: any[] = [];
8980
- _args.push(
8981
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
8982
- );
8983
- _args.push(
8984
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
8985
- );
8986
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8273
+ _args.push(transactionArgumentOrObject(args[0], tx));
8274
+ _args.push(transactionArgumentOrObject(args[1], tx));
8275
+ _args.push(transactionArgumentOrPure(args[2], tx));
8987
8276
 
8988
8277
  // @ts-ignore
8989
8278
  return tx.moveCall({
@@ -9011,13 +8300,9 @@ export namespace vault {
9011
8300
  ): TransactionArgument &
9012
8301
  [TransactionArgument, TransactionArgument, TransactionArgument] {
9013
8302
  const _args: any[] = [];
9014
- _args.push(
9015
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9016
- );
9017
- _args.push(
9018
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9019
- );
9020
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8303
+ _args.push(transactionArgumentOrObject(args[0], tx));
8304
+ _args.push(transactionArgumentOrObject(args[1], tx));
8305
+ _args.push(transactionArgumentOrPure(args[2], tx));
9021
8306
 
9022
8307
  // @ts-ignore
9023
8308
  return tx.moveCall({
@@ -9045,15 +8330,9 @@ export namespace vault {
9045
8330
  ): TransactionArgument &
9046
8331
  [TransactionArgument, TransactionArgument, TransactionArgument] {
9047
8332
  const _args: any[] = [];
9048
- _args.push(
9049
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9050
- );
9051
- _args.push(
9052
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9053
- );
9054
- _args.push(
9055
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
9056
- );
8333
+ _args.push(transactionArgumentOrObject(args[0], tx));
8334
+ _args.push(transactionArgumentOrObject(args[1], tx));
8335
+ _args.push(transactionArgumentOrObject(args[2], tx));
9057
8336
 
9058
8337
  // @ts-ignore
9059
8338
  return tx.moveCall({
@@ -9076,9 +8355,7 @@ export namespace vault {
9076
8355
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9077
8356
  ): TransactionArgument & [TransactionArgument] {
9078
8357
  const _args: any[] = [];
9079
- _args.push(
9080
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9081
- );
8358
+ _args.push(transactionArgumentOrObject(args[0], tx));
9082
8359
 
9083
8360
  // @ts-ignore
9084
8361
  return tx.moveCall({
@@ -9101,9 +8378,7 @@ export namespace vault {
9101
8378
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9102
8379
  ): TransactionArgument & [TransactionArgument] {
9103
8380
  const _args: any[] = [];
9104
- _args.push(
9105
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9106
- );
8381
+ _args.push(transactionArgumentOrObject(args[0], tx));
9107
8382
 
9108
8383
  // @ts-ignore
9109
8384
  return tx.moveCall({
@@ -9126,9 +8401,7 @@ export namespace vault {
9126
8401
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9127
8402
  ): TransactionArgument & [TransactionArgument] {
9128
8403
  const _args: any[] = [];
9129
- _args.push(
9130
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9131
- );
8404
+ _args.push(transactionArgumentOrObject(args[0], tx));
9132
8405
 
9133
8406
  // @ts-ignore
9134
8407
  return tx.moveCall({
@@ -9151,9 +8424,7 @@ export namespace vault {
9151
8424
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9152
8425
  ): TransactionArgument & [TransactionArgument] {
9153
8426
  const _args: any[] = [];
9154
- _args.push(
9155
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9156
- );
8427
+ _args.push(transactionArgumentOrObject(args[0], tx));
9157
8428
 
9158
8429
  // @ts-ignore
9159
8430
  return tx.moveCall({
@@ -9181,13 +8452,9 @@ export namespace vault {
9181
8452
  ): TransactionArgument &
9182
8453
  [TransactionArgument, TransactionArgument, TransactionArgument] {
9183
8454
  const _args: any[] = [];
9184
- _args.push(
9185
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9186
- );
9187
- _args.push(
9188
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9189
- );
9190
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8455
+ _args.push(transactionArgumentOrObject(args[0], tx));
8456
+ _args.push(transactionArgumentOrObject(args[1], tx));
8457
+ _args.push(transactionArgumentOrPure(args[2], tx));
9191
8458
 
9192
8459
  // @ts-ignore
9193
8460
  return tx.moveCall({
@@ -9215,13 +8482,9 @@ export namespace vault {
9215
8482
  ): TransactionArgument &
9216
8483
  [TransactionArgument, TransactionArgument, TransactionArgument] {
9217
8484
  const _args: any[] = [];
9218
- _args.push(
9219
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9220
- );
9221
- _args.push(
9222
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9223
- );
9224
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8485
+ _args.push(transactionArgumentOrObject(args[0], tx));
8486
+ _args.push(transactionArgumentOrObject(args[1], tx));
8487
+ _args.push(transactionArgumentOrPure(args[2], tx));
9225
8488
 
9226
8489
  // @ts-ignore
9227
8490
  return tx.moveCall({
@@ -9249,13 +8512,9 @@ export namespace vault {
9249
8512
  ): TransactionArgument &
9250
8513
  [TransactionArgument, TransactionArgument, TransactionArgument] {
9251
8514
  const _args: any[] = [];
9252
- _args.push(
9253
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9254
- );
9255
- _args.push(
9256
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9257
- );
9258
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8515
+ _args.push(transactionArgumentOrObject(args[0], tx));
8516
+ _args.push(transactionArgumentOrObject(args[1], tx));
8517
+ _args.push(transactionArgumentOrPure(args[2], tx));
9259
8518
 
9260
8519
  // @ts-ignore
9261
8520
  return tx.moveCall({
@@ -9283,13 +8542,9 @@ export namespace vault {
9283
8542
  ): TransactionArgument &
9284
8543
  [TransactionArgument, TransactionArgument, TransactionArgument] {
9285
8544
  const _args: any[] = [];
9286
- _args.push(
9287
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9288
- );
9289
- _args.push(
9290
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9291
- );
9292
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
8545
+ _args.push(transactionArgumentOrObject(args[0], tx));
8546
+ _args.push(transactionArgumentOrObject(args[1], tx));
8547
+ _args.push(transactionArgumentOrPure(args[2], tx));
9293
8548
 
9294
8549
  // @ts-ignore
9295
8550
  return tx.moveCall({
@@ -9317,13 +8572,9 @@ export namespace vault {
9317
8572
  ): TransactionArgument &
9318
8573
  [TransactionArgument, TransactionArgument, TransactionArgument] {
9319
8574
  const _args: any[] = [];
9320
- _args.push(TransactionArgument.is(args[0]) ? args[0] : tx.pure(args[0]));
9321
- _args.push(
9322
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9323
- );
9324
- _args.push(
9325
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
9326
- );
8575
+ _args.push(transactionArgumentOrPure(args[0], tx));
8576
+ _args.push(transactionArgumentOrObject(args[1], tx));
8577
+ _args.push(transactionArgumentOrObject(args[2], tx));
9327
8578
 
9328
8579
  // @ts-ignore
9329
8580
  return tx.moveCall({
@@ -9351,13 +8602,9 @@ export namespace vault {
9351
8602
  ): TransactionArgument &
9352
8603
  [TransactionArgument, TransactionArgument, TransactionArgument] {
9353
8604
  const _args: any[] = [];
9354
- _args.push(TransactionArgument.is(args[0]) ? args[0] : tx.pure(args[0]));
9355
- _args.push(
9356
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9357
- );
9358
- _args.push(
9359
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
9360
- );
8605
+ _args.push(transactionArgumentOrPure(args[0], tx));
8606
+ _args.push(transactionArgumentOrObject(args[1], tx));
8607
+ _args.push(transactionArgumentOrObject(args[2], tx));
9361
8608
 
9362
8609
  // @ts-ignore
9363
8610
  return tx.moveCall({
@@ -9379,9 +8626,7 @@ export namespace vault {
9379
8626
  args: [string | ObjectCallArg | TransactionArgument],
9380
8627
  ): TransactionArgument & [TransactionArgument] {
9381
8628
  const _args: any[] = [];
9382
- _args.push(
9383
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9384
- );
8629
+ _args.push(transactionArgumentOrObject(args[0], tx));
9385
8630
 
9386
8631
  // @ts-ignore
9387
8632
  return tx.moveCall({
@@ -9396,9 +8641,7 @@ export namespace vault {
9396
8641
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9397
8642
  ): TransactionArgument & [TransactionArgument] {
9398
8643
  const _args: any[] = [];
9399
- _args.push(
9400
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9401
- );
8644
+ _args.push(transactionArgumentOrObject(args[0], tx));
9402
8645
 
9403
8646
  // @ts-ignore
9404
8647
  return tx.moveCall({
@@ -9421,9 +8664,7 @@ export namespace vault {
9421
8664
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9422
8665
  ): TransactionArgument & [TransactionArgument] {
9423
8666
  const _args: any[] = [];
9424
- _args.push(
9425
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9426
- );
8667
+ _args.push(transactionArgumentOrObject(args[0], tx));
9427
8668
 
9428
8669
  // @ts-ignore
9429
8670
  return tx.moveCall({
@@ -9446,9 +8687,7 @@ export namespace vault {
9446
8687
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9447
8688
  ): TransactionArgument & [TransactionArgument] {
9448
8689
  const _args: any[] = [];
9449
- _args.push(
9450
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9451
- );
8690
+ _args.push(transactionArgumentOrObject(args[0], tx));
9452
8691
 
9453
8692
  // @ts-ignore
9454
8693
  return tx.moveCall({
@@ -9471,9 +8710,7 @@ export namespace vault {
9471
8710
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9472
8711
  ): TransactionArgument & [TransactionArgument] {
9473
8712
  const _args: any[] = [];
9474
- _args.push(
9475
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9476
- );
8713
+ _args.push(transactionArgumentOrObject(args[0], tx));
9477
8714
 
9478
8715
  // @ts-ignore
9479
8716
  return tx.moveCall({
@@ -9496,9 +8733,7 @@ export namespace vault {
9496
8733
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9497
8734
  ): TransactionArgument & [TransactionArgument] {
9498
8735
  const _args: any[] = [];
9499
- _args.push(
9500
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9501
- );
8736
+ _args.push(transactionArgumentOrObject(args[0], tx));
9502
8737
 
9503
8738
  // @ts-ignore
9504
8739
  return tx.moveCall({
@@ -9521,9 +8756,7 @@ export namespace vault {
9521
8756
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9522
8757
  ): TransactionArgument & [TransactionArgument] {
9523
8758
  const _args: any[] = [];
9524
- _args.push(
9525
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9526
- );
8759
+ _args.push(transactionArgumentOrObject(args[0], tx));
9527
8760
 
9528
8761
  // @ts-ignore
9529
8762
  return tx.moveCall({
@@ -9559,19 +8792,11 @@ export namespace vault {
9559
8792
  TransactionArgument,
9560
8793
  ] {
9561
8794
  const _args: any[] = [];
9562
- _args.push(
9563
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9564
- );
9565
- _args.push(
9566
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9567
- );
9568
- _args.push(
9569
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
9570
- );
9571
- _args.push(TransactionArgument.is(args[3]) ? args[3] : tx.pure(args[3]));
9572
- _args.push(
9573
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
9574
- );
8795
+ _args.push(transactionArgumentOrObject(args[0], tx));
8796
+ _args.push(transactionArgumentOrObject(args[1], tx));
8797
+ _args.push(transactionArgumentOrObject(args[2], tx));
8798
+ _args.push(transactionArgumentOrPure(args[3], tx));
8799
+ _args.push(transactionArgumentOrObject(args[4], tx));
9575
8800
 
9576
8801
  // @ts-ignore
9577
8802
  return tx.moveCall({
@@ -9620,25 +8845,15 @@ export namespace vault {
9620
8845
  TransactionArgument,
9621
8846
  ] {
9622
8847
  const _args: any[] = [];
9623
- _args.push(
9624
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9625
- );
9626
- _args.push(
9627
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9628
- );
9629
- _args.push(
9630
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
9631
- );
9632
- _args.push(
9633
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
9634
- );
9635
- _args.push(TransactionArgument.is(args[4]) ? args[4] : tx.pure(args[4]));
9636
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
9637
- _args.push(TransactionArgument.is(args[6]) ? args[6] : tx.pure(args[6]));
9638
- _args.push(TransactionArgument.is(args[7]) ? args[7] : tx.pure(args[7]));
9639
- _args.push(
9640
- TransactionArgument.is(args[8]) ? args[8] : tx.object(args[8]),
9641
- );
8848
+ _args.push(transactionArgumentOrObject(args[0], tx));
8849
+ _args.push(transactionArgumentOrObject(args[1], tx));
8850
+ _args.push(transactionArgumentOrObject(args[2], tx));
8851
+ _args.push(transactionArgumentOrObject(args[3], tx));
8852
+ _args.push(transactionArgumentOrPure(args[4], tx));
8853
+ _args.push(transactionArgumentOrPure(args[5], tx));
8854
+ _args.push(transactionArgumentOrPure(args[6], tx));
8855
+ _args.push(transactionArgumentOrPure(args[7], tx));
8856
+ _args.push(transactionArgumentOrObject(args[8], tx));
9642
8857
 
9643
8858
  // @ts-ignore
9644
8859
  return tx.moveCall({
@@ -9703,38 +8918,20 @@ export namespace vault {
9703
8918
  TransactionArgument,
9704
8919
  ] {
9705
8920
  const _args: any[] = [];
9706
- _args.push(
9707
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9708
- );
9709
- _args.push(
9710
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9711
- );
9712
- _args.push(
9713
- TransactionArgument.is(args[2]) ? args[2] : tx.object(args[2]),
9714
- );
9715
- _args.push(
9716
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
9717
- );
9718
- _args.push(
9719
- TransactionArgument.is(args[4]) ? args[4] : tx.object(args[4]),
9720
- );
9721
- _args.push(TransactionArgument.is(args[5]) ? args[5] : tx.pure(args[5]));
9722
- _args.push(TransactionArgument.is(args[6]) ? args[6] : tx.pure(args[6]));
9723
- _args.push(TransactionArgument.is(args[7]) ? args[7] : tx.pure(args[7]));
9724
- _args.push(TransactionArgument.is(args[8]) ? args[8] : tx.pure(args[8]));
9725
- _args.push(TransactionArgument.is(args[9]) ? args[9] : tx.pure(args[9]));
9726
- _args.push(
9727
- TransactionArgument.is(args[10]) ? args[10] : tx.pure(args[10]),
9728
- );
9729
- _args.push(
9730
- TransactionArgument.is(args[11]) ? args[11] : tx.pure(args[11]),
9731
- );
9732
- _args.push(
9733
- TransactionArgument.is(args[12]) ? args[12] : tx.pure(args[12]),
9734
- );
9735
- _args.push(
9736
- TransactionArgument.is(args[13]) ? args[13] : tx.object(args[13]),
9737
- );
8921
+ _args.push(transactionArgumentOrObject(args[0], tx));
8922
+ _args.push(transactionArgumentOrObject(args[1], tx));
8923
+ _args.push(transactionArgumentOrObject(args[2], tx));
8924
+ _args.push(transactionArgumentOrObject(args[3], tx));
8925
+ _args.push(transactionArgumentOrObject(args[4], tx));
8926
+ _args.push(transactionArgumentOrPure(args[5], tx));
8927
+ _args.push(transactionArgumentOrPure(args[6], tx));
8928
+ _args.push(transactionArgumentOrPure(args[7], tx));
8929
+ _args.push(transactionArgumentOrPure(args[8], tx));
8930
+ _args.push(transactionArgumentOrPure(args[9], tx));
8931
+ _args.push(transactionArgumentOrPure(args[10], tx));
8932
+ _args.push(transactionArgumentOrPure(args[11], tx));
8933
+ _args.push(transactionArgumentOrPure(args[12], tx));
8934
+ _args.push(transactionArgumentOrObject(args[13], tx));
9738
8935
 
9739
8936
  // @ts-ignore
9740
8937
  return tx.moveCall({
@@ -9774,16 +8971,10 @@ export namespace vault {
9774
8971
  TransactionArgument,
9775
8972
  ] {
9776
8973
  const _args: any[] = [];
9777
- _args.push(
9778
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9779
- );
9780
- _args.push(
9781
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9782
- );
9783
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
9784
- _args.push(
9785
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
9786
- );
8974
+ _args.push(transactionArgumentOrObject(args[0], tx));
8975
+ _args.push(transactionArgumentOrObject(args[1], tx));
8976
+ _args.push(transactionArgumentOrPure(args[2], tx));
8977
+ _args.push(transactionArgumentOrObject(args[3], tx));
9787
8978
 
9788
8979
  // @ts-ignore
9789
8980
  return tx.moveCall({
@@ -9805,9 +8996,7 @@ export namespace vault {
9805
8996
  args: [string | ObjectCallArg | TransactionArgument],
9806
8997
  ): TransactionArgument & [TransactionArgument] {
9807
8998
  const _args: any[] = [];
9808
- _args.push(
9809
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9810
- );
8999
+ _args.push(transactionArgumentOrObject(args[0], tx));
9811
9000
 
9812
9001
  // @ts-ignore
9813
9002
  return tx.moveCall({
@@ -9822,9 +9011,7 @@ export namespace vault {
9822
9011
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9823
9012
  ): TransactionArgument & [TransactionArgument] {
9824
9013
  const _args: any[] = [];
9825
- _args.push(
9826
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9827
- );
9014
+ _args.push(transactionArgumentOrObject(args[0], tx));
9828
9015
 
9829
9016
  // @ts-ignore
9830
9017
  return tx.moveCall({
@@ -9847,9 +9034,7 @@ export namespace vault {
9847
9034
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9848
9035
  ): TransactionArgument & [TransactionArgument] {
9849
9036
  const _args: any[] = [];
9850
- _args.push(
9851
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9852
- );
9037
+ _args.push(transactionArgumentOrObject(args[0], tx));
9853
9038
 
9854
9039
  // @ts-ignore
9855
9040
  return tx.moveCall({
@@ -9872,9 +9057,7 @@ export namespace vault {
9872
9057
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
9873
9058
  ): TransactionArgument & [TransactionArgument] {
9874
9059
  const _args: any[] = [];
9875
- _args.push(
9876
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9877
- );
9060
+ _args.push(transactionArgumentOrObject(args[0], tx));
9878
9061
 
9879
9062
  // @ts-ignore
9880
9063
  return tx.moveCall({
@@ -9908,16 +9091,10 @@ export namespace vault {
9908
9091
  TransactionArgument,
9909
9092
  ] {
9910
9093
  const _args: any[] = [];
9911
- _args.push(
9912
- TransactionArgument.is(args[0]) ? args[0] : tx.object(args[0]),
9913
- );
9914
- _args.push(
9915
- TransactionArgument.is(args[1]) ? args[1] : tx.object(args[1]),
9916
- );
9917
- _args.push(TransactionArgument.is(args[2]) ? args[2] : tx.pure(args[2]));
9918
- _args.push(
9919
- TransactionArgument.is(args[3]) ? args[3] : tx.object(args[3]),
9920
- );
9094
+ _args.push(transactionArgumentOrObject(args[0], tx));
9095
+ _args.push(transactionArgumentOrObject(args[1], tx));
9096
+ _args.push(transactionArgumentOrPure(args[2], tx));
9097
+ _args.push(transactionArgumentOrObject(args[3], tx));
9921
9098
 
9922
9099
  // @ts-ignore
9923
9100
  return tx.moveCall({