@typemove/sui 1.5.4 → 1.5.5

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 (33) hide show
  1. package/dist/cjs/builtin/0x1.d.ts +129 -130
  2. package/dist/cjs/builtin/0x1.d.ts.map +1 -1
  3. package/dist/cjs/builtin/0x1.js.map +1 -1
  4. package/dist/cjs/builtin/0x2.d.ts +956 -957
  5. package/dist/cjs/builtin/0x2.d.ts.map +1 -1
  6. package/dist/cjs/builtin/0x2.js.map +1 -1
  7. package/dist/cjs/builtin/0x3.d.ts +291 -292
  8. package/dist/cjs/builtin/0x3.d.ts.map +1 -1
  9. package/dist/cjs/builtin/0x3.js.map +1 -1
  10. package/dist/cjs/codegen/codegen.d.ts.map +1 -1
  11. package/dist/cjs/codegen/codegen.js +3 -4
  12. package/dist/cjs/codegen/codegen.js.map +1 -1
  13. package/dist/esm/builtin/0x1.d.ts +129 -130
  14. package/dist/esm/builtin/0x1.d.ts.map +1 -1
  15. package/dist/esm/builtin/0x1.js.map +1 -1
  16. package/dist/esm/builtin/0x2.d.ts +956 -957
  17. package/dist/esm/builtin/0x2.d.ts.map +1 -1
  18. package/dist/esm/builtin/0x2.js.map +1 -1
  19. package/dist/esm/builtin/0x3.d.ts +291 -292
  20. package/dist/esm/builtin/0x3.d.ts.map +1 -1
  21. package/dist/esm/builtin/0x3.js.map +1 -1
  22. package/dist/esm/codegen/codegen.d.ts.map +1 -1
  23. package/dist/esm/codegen/codegen.js +3 -4
  24. package/dist/esm/codegen/codegen.js.map +1 -1
  25. package/package.json +4 -4
  26. package/src/builtin/0x1.ts +129 -129
  27. package/src/builtin/0x2.ts +956 -956
  28. package/src/builtin/0x3.ts +291 -291
  29. package/src/codegen/codegen.ts +3 -4
  30. package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +9 -9
  31. package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +127 -127
  32. package/src/tests/types/testnet/0xdee9.ts +161 -161
  33. package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +537 -537
@@ -17,9 +17,9 @@ import {
17
17
  import {
18
18
  TransactionBlock,
19
19
  TransactionArgument,
20
+ TransactionObjectArgument,
20
21
  } from "@mysten/sui.js/transactions";
21
22
  import { SuiClient } from "@mysten/sui.js/client";
22
- import { type ObjectCallArg } from "@mysten/sui.js/dist/esm/builder/Inputs.js";
23
23
  import {
24
24
  transactionArgumentOrObject,
25
25
  transactionArgumentOrPure,
@@ -49,8 +49,8 @@ export namespace comparator {
49
49
  export function compare<T0 = any>(
50
50
  tx: TransactionBlock,
51
51
  args: [
52
- string | ObjectCallArg | TransactionArgument,
53
- string | ObjectCallArg | TransactionArgument,
52
+ string | TransactionObjectArgument | TransactionArgument,
53
+ string | TransactionObjectArgument | TransactionArgument,
54
54
  ],
55
55
  typeArguments: [TypeDescriptor<T0> | string],
56
56
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
@@ -73,8 +73,8 @@ export namespace comparator {
73
73
  export function compareU8Vector(
74
74
  tx: TransactionBlock,
75
75
  args: [
76
- (string | ObjectCallArg)[] | TransactionArgument,
77
- (string | ObjectCallArg)[] | TransactionArgument,
76
+ (string | TransactionObjectArgument)[] | TransactionArgument,
77
+ (string | TransactionObjectArgument)[] | TransactionArgument,
78
78
  ],
79
79
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
80
80
  const _args: any[] = [];
@@ -90,7 +90,7 @@ export namespace comparator {
90
90
  }
91
91
  export function isEqual(
92
92
  tx: TransactionBlock,
93
- args: [string | ObjectCallArg | TransactionArgument],
93
+ args: [string | TransactionObjectArgument | TransactionArgument],
94
94
  ): TransactionArgument & [TransactionArgument] {
95
95
  const _args: any[] = [];
96
96
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -104,7 +104,7 @@ export namespace comparator {
104
104
  }
105
105
  export function isGreaterThan(
106
106
  tx: TransactionBlock,
107
- args: [string | ObjectCallArg | TransactionArgument],
107
+ args: [string | TransactionObjectArgument | TransactionArgument],
108
108
  ): TransactionArgument & [TransactionArgument] {
109
109
  const _args: any[] = [];
110
110
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -118,7 +118,7 @@ export namespace comparator {
118
118
  }
119
119
  export function isSmallerThan(
120
120
  tx: TransactionBlock,
121
- args: [string | ObjectCallArg | TransactionArgument],
121
+ args: [string | TransactionObjectArgument | TransactionArgument],
122
122
  ): TransactionArgument & [TransactionArgument] {
123
123
  const _args: any[] = [];
124
124
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -135,8 +135,8 @@ export namespace comparator {
135
135
  export async function compare<T0 = any>(
136
136
  client: SuiClient,
137
137
  args: [
138
- string | ObjectCallArg | TransactionArgument,
139
- string | ObjectCallArg | TransactionArgument,
138
+ string | TransactionObjectArgument | TransactionArgument,
139
+ string | TransactionObjectArgument | TransactionArgument,
140
140
  ],
141
141
  typeArguments: [TypeDescriptor<T0> | string],
142
142
  ): Promise<TypedDevInspectResults<[comparator.Result]>> {
@@ -154,8 +154,8 @@ export namespace comparator {
154
154
  export async function compareU8Vector(
155
155
  client: SuiClient,
156
156
  args: [
157
- (string | ObjectCallArg)[] | TransactionArgument,
158
- (string | ObjectCallArg)[] | TransactionArgument,
157
+ (string | TransactionObjectArgument)[] | TransactionArgument,
158
+ (string | TransactionObjectArgument)[] | TransactionArgument,
159
159
  ],
160
160
  ): Promise<TypedDevInspectResults<[comparator.Result]>> {
161
161
  const tx = new TransactionBlock();
@@ -171,7 +171,7 @@ export namespace comparator {
171
171
  }
172
172
  export async function isEqual(
173
173
  client: SuiClient,
174
- args: [string | ObjectCallArg | TransactionArgument],
174
+ args: [string | TransactionObjectArgument | TransactionArgument],
175
175
  ): Promise<TypedDevInspectResults<[Boolean]>> {
176
176
  const tx = new TransactionBlock();
177
177
  builder.isEqual(tx, args);
@@ -186,7 +186,7 @@ export namespace comparator {
186
186
  }
187
187
  export async function isGreaterThan(
188
188
  client: SuiClient,
189
- args: [string | ObjectCallArg | TransactionArgument],
189
+ args: [string | TransactionObjectArgument | TransactionArgument],
190
190
  ): Promise<TypedDevInspectResults<[Boolean]>> {
191
191
  const tx = new TransactionBlock();
192
192
  builder.isGreaterThan(tx, args);
@@ -201,7 +201,7 @@ export namespace comparator {
201
201
  }
202
202
  export async function isSmallerThan(
203
203
  client: SuiClient,
204
- args: [string | ObjectCallArg | TransactionArgument],
204
+ args: [string | TransactionObjectArgument | TransactionArgument],
205
205
  ): Promise<TypedDevInspectResults<[Boolean]>> {
206
206
  const tx = new TransactionBlock();
207
207
  builder.isSmallerThan(tx, args);
@@ -646,9 +646,9 @@ export namespace pool {
646
646
  export function addLiquidity<T0 = any, T1 = any>(
647
647
  tx: TransactionBlock,
648
648
  args: [
649
- string | ObjectCallArg | TransactionArgument,
650
- string | ObjectCallArg | TransactionArgument,
651
- string | ObjectCallArg | TransactionArgument,
649
+ string | TransactionObjectArgument | TransactionArgument,
650
+ string | TransactionObjectArgument | TransactionArgument,
651
+ string | TransactionObjectArgument | TransactionArgument,
652
652
  bigint | TransactionArgument,
653
653
  bigint | TransactionArgument,
654
654
  bigint | TransactionArgument,
@@ -691,7 +691,7 @@ export namespace pool {
691
691
  }
692
692
  export function borrowMutPool<T0 = any, T1 = any>(
693
693
  tx: TransactionBlock,
694
- args: [string | ObjectCallArg | TransactionArgument],
694
+ args: [string | TransactionObjectArgument | TransactionArgument],
695
695
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
696
696
  ): TransactionArgument & [TransactionArgument] {
697
697
  const _args: any[] = [];
@@ -714,7 +714,7 @@ export namespace pool {
714
714
  }
715
715
  export function borrowPool<T0 = any, T1 = any>(
716
716
  tx: TransactionBlock,
717
- args: [string | ObjectCallArg | TransactionArgument],
717
+ args: [string | TransactionObjectArgument | TransactionArgument],
718
718
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
719
719
  ): TransactionArgument & [TransactionArgument] {
720
720
  const _args: any[] = [];
@@ -738,9 +738,9 @@ export namespace pool {
738
738
  export function createPool<T0 = any, T1 = any>(
739
739
  tx: TransactionBlock,
740
740
  args: [
741
- string | ObjectCallArg | TransactionArgument,
742
- string | ObjectCallArg | TransactionArgument,
743
- string | ObjectCallArg | TransactionArgument,
741
+ string | TransactionObjectArgument | TransactionArgument,
742
+ string | TransactionObjectArgument | TransactionArgument,
743
+ string | TransactionObjectArgument | TransactionArgument,
744
744
  bigint | TransactionArgument,
745
745
  bigint | TransactionArgument,
746
746
  ],
@@ -795,7 +795,7 @@ export namespace pool {
795
795
  }
796
796
  export function getAmounts<T0 = any, T1 = any>(
797
797
  tx: TransactionBlock,
798
- args: [string | ObjectCallArg | TransactionArgument],
798
+ args: [string | TransactionObjectArgument | TransactionArgument],
799
799
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
800
800
  ): TransactionArgument & [TransactionArgument] {
801
801
  const _args: any[] = [];
@@ -819,7 +819,7 @@ export namespace pool {
819
819
  export function getInputAmount<T0 = any, T1 = any>(
820
820
  tx: TransactionBlock,
821
821
  args: [
822
- string | ObjectCallArg | TransactionArgument,
822
+ string | TransactionObjectArgument | TransactionArgument,
823
823
  bigint | TransactionArgument,
824
824
  Boolean | TransactionArgument,
825
825
  ],
@@ -849,7 +849,7 @@ export namespace pool {
849
849
  export function getOutputAmount<T0 = any, T1 = any>(
850
850
  tx: TransactionBlock,
851
851
  args: [
852
- string | ObjectCallArg | TransactionArgument,
852
+ string | TransactionObjectArgument | TransactionArgument,
853
853
  bigint | TransactionArgument,
854
854
  Boolean | TransactionArgument,
855
855
  ],
@@ -878,7 +878,7 @@ export namespace pool {
878
878
  }
879
879
  export function getPoolData<T0 = any, T1 = any>(
880
880
  tx: TransactionBlock,
881
- args: [string | ObjectCallArg | TransactionArgument],
881
+ args: [string | TransactionObjectArgument | TransactionArgument],
882
882
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
883
883
  ): TransactionArgument & [TransactionArgument] {
884
884
  const _args: any[] = [];
@@ -901,7 +901,7 @@ export namespace pool {
901
901
  }
902
902
  export function isPoolCreated<T0 = any, T1 = any>(
903
903
  tx: TransactionBlock,
904
- args: [string | ObjectCallArg | TransactionArgument],
904
+ args: [string | TransactionObjectArgument | TransactionArgument],
905
905
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
906
906
  ): TransactionArgument & [TransactionArgument] {
907
907
  const _args: any[] = [];
@@ -924,7 +924,7 @@ export namespace pool {
924
924
  }
925
925
  export function isPoolCreatedSorted<T0 = any, T1 = any>(
926
926
  tx: TransactionBlock,
927
- args: [string | ObjectCallArg | TransactionArgument],
927
+ args: [string | TransactionObjectArgument | TransactionArgument],
928
928
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
929
929
  ): TransactionArgument & [TransactionArgument] {
930
930
  const _args: any[] = [];
@@ -948,9 +948,9 @@ export namespace pool {
948
948
  export function processSwapExactInput<T0 = any, T1 = any>(
949
949
  tx: TransactionBlock,
950
950
  args: [
951
- string | ObjectCallArg | TransactionArgument,
952
- string | ObjectCallArg | TransactionArgument,
953
- string | ObjectCallArg | TransactionArgument,
951
+ string | TransactionObjectArgument | TransactionArgument,
952
+ string | TransactionObjectArgument | TransactionArgument,
953
+ string | TransactionObjectArgument | TransactionArgument,
954
954
  bigint | TransactionArgument,
955
955
  Boolean | TransactionArgument,
956
956
  ],
@@ -988,9 +988,9 @@ export namespace pool {
988
988
  export function processSwapExactOutput<T0 = any, T1 = any>(
989
989
  tx: TransactionBlock,
990
990
  args: [
991
- string | ObjectCallArg | TransactionArgument,
992
- string | ObjectCallArg | TransactionArgument,
993
- string | ObjectCallArg | TransactionArgument,
991
+ string | TransactionObjectArgument | TransactionArgument,
992
+ string | TransactionObjectArgument | TransactionArgument,
993
+ string | TransactionObjectArgument | TransactionArgument,
994
994
  bigint | TransactionArgument,
995
995
  Boolean | TransactionArgument,
996
996
  ],
@@ -1028,8 +1028,8 @@ export namespace pool {
1028
1028
  export function removeLiquidity<T0 = any, T1 = any>(
1029
1029
  tx: TransactionBlock,
1030
1030
  args: [
1031
- string | ObjectCallArg | TransactionArgument,
1032
- string | ObjectCallArg | TransactionArgument,
1031
+ string | TransactionObjectArgument | TransactionArgument,
1032
+ string | TransactionObjectArgument | TransactionArgument,
1033
1033
  bigint | TransactionArgument,
1034
1034
  bigint | TransactionArgument,
1035
1035
  bigint | TransactionArgument,
@@ -1068,8 +1068,8 @@ export namespace pool {
1068
1068
  export function setFeeTo_(
1069
1069
  tx: TransactionBlock,
1070
1070
  args: [
1071
- string | ObjectCallArg | TransactionArgument,
1072
- string | ObjectCallArg | TransactionArgument,
1071
+ string | TransactionObjectArgument | TransactionArgument,
1072
+ string | TransactionObjectArgument | TransactionArgument,
1073
1073
  string | TransactionArgument,
1074
1074
  ],
1075
1075
  ): TransactionArgument &
@@ -1089,8 +1089,8 @@ export namespace pool {
1089
1089
  export function swapExactFirstToSecond<T0 = any, T1 = any>(
1090
1090
  tx: TransactionBlock,
1091
1091
  args: [
1092
- string | ObjectCallArg | TransactionArgument,
1093
- string | ObjectCallArg | TransactionArgument,
1092
+ string | TransactionObjectArgument | TransactionArgument,
1093
+ string | TransactionObjectArgument | TransactionArgument,
1094
1094
  bigint | TransactionArgument,
1095
1095
  bigint | TransactionArgument,
1096
1096
  ],
@@ -1126,8 +1126,8 @@ export namespace pool {
1126
1126
  export function swapExactSecondToFirst<T0 = any, T1 = any>(
1127
1127
  tx: TransactionBlock,
1128
1128
  args: [
1129
- string | ObjectCallArg | TransactionArgument,
1130
- string | ObjectCallArg | TransactionArgument,
1129
+ string | TransactionObjectArgument | TransactionArgument,
1130
+ string | TransactionObjectArgument | TransactionArgument,
1131
1131
  bigint | TransactionArgument,
1132
1132
  bigint | TransactionArgument,
1133
1133
  ],
@@ -1163,8 +1163,8 @@ export namespace pool {
1163
1163
  export function swapFirstToExactSecond<T0 = any, T1 = any>(
1164
1164
  tx: TransactionBlock,
1165
1165
  args: [
1166
- string | ObjectCallArg | TransactionArgument,
1167
- string | ObjectCallArg | TransactionArgument,
1166
+ string | TransactionObjectArgument | TransactionArgument,
1167
+ string | TransactionObjectArgument | TransactionArgument,
1168
1168
  bigint | TransactionArgument,
1169
1169
  bigint | TransactionArgument,
1170
1170
  ],
@@ -1200,8 +1200,8 @@ export namespace pool {
1200
1200
  export function swapSecondToExactFirst<T0 = any, T1 = any>(
1201
1201
  tx: TransactionBlock,
1202
1202
  args: [
1203
- string | ObjectCallArg | TransactionArgument,
1204
- string | ObjectCallArg | TransactionArgument,
1203
+ string | TransactionObjectArgument | TransactionArgument,
1204
+ string | TransactionObjectArgument | TransactionArgument,
1205
1205
  bigint | TransactionArgument,
1206
1206
  bigint | TransactionArgument,
1207
1207
  ],
@@ -1237,8 +1237,8 @@ export namespace pool {
1237
1237
  export function zapInFirst<T0 = any, T1 = any>(
1238
1238
  tx: TransactionBlock,
1239
1239
  args: [
1240
- string | ObjectCallArg | TransactionArgument,
1241
- string | ObjectCallArg | TransactionArgument,
1240
+ string | TransactionObjectArgument | TransactionArgument,
1241
+ string | TransactionObjectArgument | TransactionArgument,
1242
1242
  bigint | TransactionArgument,
1243
1243
  ],
1244
1244
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
@@ -1267,8 +1267,8 @@ export namespace pool {
1267
1267
  export function zapInSecond<T0 = any, T1 = any>(
1268
1268
  tx: TransactionBlock,
1269
1269
  args: [
1270
- string | ObjectCallArg | TransactionArgument,
1271
- string | ObjectCallArg | TransactionArgument,
1270
+ string | TransactionObjectArgument | TransactionArgument,
1271
+ string | TransactionObjectArgument | TransactionArgument,
1272
1272
  bigint | TransactionArgument,
1273
1273
  ],
1274
1274
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
@@ -1299,9 +1299,9 @@ export namespace pool {
1299
1299
  export async function addLiquidity<T0 = any, T1 = any>(
1300
1300
  client: SuiClient,
1301
1301
  args: [
1302
- string | ObjectCallArg | TransactionArgument,
1303
- string | ObjectCallArg | TransactionArgument,
1304
- string | ObjectCallArg | TransactionArgument,
1302
+ string | TransactionObjectArgument | TransactionArgument,
1303
+ string | TransactionObjectArgument | TransactionArgument,
1304
+ string | TransactionObjectArgument | TransactionArgument,
1305
1305
  bigint | TransactionArgument,
1306
1306
  bigint | TransactionArgument,
1307
1307
  bigint | TransactionArgument,
@@ -1322,7 +1322,7 @@ export namespace pool {
1322
1322
  }
1323
1323
  export async function borrowMutPool<T0 = any, T1 = any>(
1324
1324
  client: SuiClient,
1325
- args: [string | ObjectCallArg | TransactionArgument],
1325
+ args: [string | TransactionObjectArgument | TransactionArgument],
1326
1326
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
1327
1327
  ): Promise<TypedDevInspectResults<[string]>> {
1328
1328
  const tx = new TransactionBlock();
@@ -1338,7 +1338,7 @@ export namespace pool {
1338
1338
  }
1339
1339
  export async function borrowPool<T0 = any, T1 = any>(
1340
1340
  client: SuiClient,
1341
- args: [string | ObjectCallArg | TransactionArgument],
1341
+ args: [string | TransactionObjectArgument | TransactionArgument],
1342
1342
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
1343
1343
  ): Promise<TypedDevInspectResults<[string]>> {
1344
1344
  const tx = new TransactionBlock();
@@ -1355,9 +1355,9 @@ export namespace pool {
1355
1355
  export async function createPool<T0 = any, T1 = any>(
1356
1356
  client: SuiClient,
1357
1357
  args: [
1358
- string | ObjectCallArg | TransactionArgument,
1359
- string | ObjectCallArg | TransactionArgument,
1360
- string | ObjectCallArg | TransactionArgument,
1358
+ string | TransactionObjectArgument | TransactionArgument,
1359
+ string | TransactionObjectArgument | TransactionArgument,
1360
+ string | TransactionObjectArgument | TransactionArgument,
1361
1361
  bigint | TransactionArgument,
1362
1362
  bigint | TransactionArgument,
1363
1363
  ],
@@ -1394,7 +1394,7 @@ export namespace pool {
1394
1394
  }
1395
1395
  export async function getAmounts<T0 = any, T1 = any>(
1396
1396
  client: SuiClient,
1397
- args: [string | ObjectCallArg | TransactionArgument],
1397
+ args: [string | TransactionObjectArgument | TransactionArgument],
1398
1398
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
1399
1399
  ): Promise<TypedDevInspectResults<[bigint, bigint, bigint]>> {
1400
1400
  const tx = new TransactionBlock();
@@ -1411,7 +1411,7 @@ export namespace pool {
1411
1411
  export async function getInputAmount<T0 = any, T1 = any>(
1412
1412
  client: SuiClient,
1413
1413
  args: [
1414
- string | ObjectCallArg | TransactionArgument,
1414
+ string | TransactionObjectArgument | TransactionArgument,
1415
1415
  bigint | TransactionArgument,
1416
1416
  Boolean | TransactionArgument,
1417
1417
  ],
@@ -1431,7 +1431,7 @@ export namespace pool {
1431
1431
  export async function getOutputAmount<T0 = any, T1 = any>(
1432
1432
  client: SuiClient,
1433
1433
  args: [
1434
- string | ObjectCallArg | TransactionArgument,
1434
+ string | TransactionObjectArgument | TransactionArgument,
1435
1435
  bigint | TransactionArgument,
1436
1436
  Boolean | TransactionArgument,
1437
1437
  ],
@@ -1450,7 +1450,7 @@ export namespace pool {
1450
1450
  }
1451
1451
  export async function getPoolData<T0 = any, T1 = any>(
1452
1452
  client: SuiClient,
1453
- args: [string | ObjectCallArg | TransactionArgument],
1453
+ args: [string | TransactionObjectArgument | TransactionArgument],
1454
1454
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
1455
1455
  ): Promise<
1456
1456
  TypedDevInspectResults<[bigint, bigint, bigint, bigint, bigint]>
@@ -1468,7 +1468,7 @@ export namespace pool {
1468
1468
  }
1469
1469
  export async function isPoolCreated<T0 = any, T1 = any>(
1470
1470
  client: SuiClient,
1471
- args: [string | ObjectCallArg | TransactionArgument],
1471
+ args: [string | TransactionObjectArgument | TransactionArgument],
1472
1472
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
1473
1473
  ): Promise<TypedDevInspectResults<[Boolean]>> {
1474
1474
  const tx = new TransactionBlock();
@@ -1484,7 +1484,7 @@ export namespace pool {
1484
1484
  }
1485
1485
  export async function isPoolCreatedSorted<T0 = any, T1 = any>(
1486
1486
  client: SuiClient,
1487
- args: [string | ObjectCallArg | TransactionArgument],
1487
+ args: [string | TransactionObjectArgument | TransactionArgument],
1488
1488
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
1489
1489
  ): Promise<TypedDevInspectResults<[Boolean]>> {
1490
1490
  const tx = new TransactionBlock();
@@ -1501,9 +1501,9 @@ export namespace pool {
1501
1501
  export async function processSwapExactInput<T0 = any, T1 = any>(
1502
1502
  client: SuiClient,
1503
1503
  args: [
1504
- string | ObjectCallArg | TransactionArgument,
1505
- string | ObjectCallArg | TransactionArgument,
1506
- string | ObjectCallArg | TransactionArgument,
1504
+ string | TransactionObjectArgument | TransactionArgument,
1505
+ string | TransactionObjectArgument | TransactionArgument,
1506
+ string | TransactionObjectArgument | TransactionArgument,
1507
1507
  bigint | TransactionArgument,
1508
1508
  Boolean | TransactionArgument,
1509
1509
  ],
@@ -1523,9 +1523,9 @@ export namespace pool {
1523
1523
  export async function processSwapExactOutput<T0 = any, T1 = any>(
1524
1524
  client: SuiClient,
1525
1525
  args: [
1526
- string | ObjectCallArg | TransactionArgument,
1527
- string | ObjectCallArg | TransactionArgument,
1528
- string | ObjectCallArg | TransactionArgument,
1526
+ string | TransactionObjectArgument | TransactionArgument,
1527
+ string | TransactionObjectArgument | TransactionArgument,
1528
+ string | TransactionObjectArgument | TransactionArgument,
1529
1529
  bigint | TransactionArgument,
1530
1530
  Boolean | TransactionArgument,
1531
1531
  ],
@@ -1545,8 +1545,8 @@ export namespace pool {
1545
1545
  export async function removeLiquidity<T0 = any, T1 = any>(
1546
1546
  client: SuiClient,
1547
1547
  args: [
1548
- string | ObjectCallArg | TransactionArgument,
1549
- string | ObjectCallArg | TransactionArgument,
1548
+ string | TransactionObjectArgument | TransactionArgument,
1549
+ string | TransactionObjectArgument | TransactionArgument,
1550
1550
  bigint | TransactionArgument,
1551
1551
  bigint | TransactionArgument,
1552
1552
  bigint | TransactionArgument,
@@ -1569,8 +1569,8 @@ export namespace pool {
1569
1569
  export async function setFeeTo_(
1570
1570
  client: SuiClient,
1571
1571
  args: [
1572
- string | ObjectCallArg | TransactionArgument,
1573
- string | ObjectCallArg | TransactionArgument,
1572
+ string | TransactionObjectArgument | TransactionArgument,
1573
+ string | TransactionObjectArgument | TransactionArgument,
1574
1574
  string | TransactionArgument,
1575
1575
  ],
1576
1576
  ): Promise<TypedDevInspectResults<[]>> {
@@ -1588,8 +1588,8 @@ export namespace pool {
1588
1588
  export async function swapExactFirstToSecond<T0 = any, T1 = any>(
1589
1589
  client: SuiClient,
1590
1590
  args: [
1591
- string | ObjectCallArg | TransactionArgument,
1592
- string | ObjectCallArg | TransactionArgument,
1591
+ string | TransactionObjectArgument | TransactionArgument,
1592
+ string | TransactionObjectArgument | TransactionArgument,
1593
1593
  bigint | TransactionArgument,
1594
1594
  bigint | TransactionArgument,
1595
1595
  ],
@@ -1609,8 +1609,8 @@ export namespace pool {
1609
1609
  export async function swapExactSecondToFirst<T0 = any, T1 = any>(
1610
1610
  client: SuiClient,
1611
1611
  args: [
1612
- string | ObjectCallArg | TransactionArgument,
1613
- string | ObjectCallArg | TransactionArgument,
1612
+ string | TransactionObjectArgument | TransactionArgument,
1613
+ string | TransactionObjectArgument | TransactionArgument,
1614
1614
  bigint | TransactionArgument,
1615
1615
  bigint | TransactionArgument,
1616
1616
  ],
@@ -1630,8 +1630,8 @@ export namespace pool {
1630
1630
  export async function swapFirstToExactSecond<T0 = any, T1 = any>(
1631
1631
  client: SuiClient,
1632
1632
  args: [
1633
- string | ObjectCallArg | TransactionArgument,
1634
- string | ObjectCallArg | TransactionArgument,
1633
+ string | TransactionObjectArgument | TransactionArgument,
1634
+ string | TransactionObjectArgument | TransactionArgument,
1635
1635
  bigint | TransactionArgument,
1636
1636
  bigint | TransactionArgument,
1637
1637
  ],
@@ -1651,8 +1651,8 @@ export namespace pool {
1651
1651
  export async function swapSecondToExactFirst<T0 = any, T1 = any>(
1652
1652
  client: SuiClient,
1653
1653
  args: [
1654
- string | ObjectCallArg | TransactionArgument,
1655
- string | ObjectCallArg | TransactionArgument,
1654
+ string | TransactionObjectArgument | TransactionArgument,
1655
+ string | TransactionObjectArgument | TransactionArgument,
1656
1656
  bigint | TransactionArgument,
1657
1657
  bigint | TransactionArgument,
1658
1658
  ],
@@ -1672,8 +1672,8 @@ export namespace pool {
1672
1672
  export async function zapInFirst<T0 = any, T1 = any>(
1673
1673
  client: SuiClient,
1674
1674
  args: [
1675
- string | ObjectCallArg | TransactionArgument,
1676
- string | ObjectCallArg | TransactionArgument,
1675
+ string | TransactionObjectArgument | TransactionArgument,
1676
+ string | TransactionObjectArgument | TransactionArgument,
1677
1677
  bigint | TransactionArgument,
1678
1678
  ],
1679
1679
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
@@ -1696,8 +1696,8 @@ export namespace pool {
1696
1696
  export async function zapInSecond<T0 = any, T1 = any>(
1697
1697
  client: SuiClient,
1698
1698
  args: [
1699
- string | ObjectCallArg | TransactionArgument,
1700
- string | ObjectCallArg | TransactionArgument,
1699
+ string | TransactionObjectArgument | TransactionArgument,
1700
+ string | TransactionObjectArgument | TransactionArgument,
1701
1701
  bigint | TransactionArgument,
1702
1702
  ],
1703
1703
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
@@ -1888,8 +1888,8 @@ export namespace pool_utils {
1888
1888
  export function sortTokenType(
1889
1889
  tx: TransactionBlock,
1890
1890
  args: [
1891
- string | ObjectCallArg | TransactionArgument,
1892
- string | ObjectCallArg | TransactionArgument,
1891
+ string | TransactionObjectArgument | TransactionArgument,
1892
+ string | TransactionObjectArgument | TransactionArgument,
1893
1893
  ],
1894
1894
  ): TransactionArgument & [TransactionArgument, TransactionArgument] {
1895
1895
  const _args: any[] = [];
@@ -2048,8 +2048,8 @@ export namespace pool_utils {
2048
2048
  export async function sortTokenType(
2049
2049
  client: SuiClient,
2050
2050
  args: [
2051
- string | ObjectCallArg | TransactionArgument,
2052
- string | ObjectCallArg | TransactionArgument,
2051
+ string | TransactionObjectArgument | TransactionArgument,
2052
+ string | TransactionObjectArgument | TransactionArgument,
2053
2053
  ],
2054
2054
  ): Promise<TypedDevInspectResults<[comparator.Result]>> {
2055
2055
  const tx = new TransactionBlock();
@@ -2071,9 +2071,9 @@ export namespace router {
2071
2071
  export function addLiquidity_<T0 = any, T1 = any>(
2072
2072
  tx: TransactionBlock,
2073
2073
  args: [
2074
- string | ObjectCallArg | TransactionArgument,
2075
- (string | ObjectCallArg)[] | TransactionArgument,
2076
- (string | ObjectCallArg)[] | TransactionArgument,
2074
+ string | TransactionObjectArgument | TransactionArgument,
2075
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2076
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2077
2077
  bigint | TransactionArgument,
2078
2078
  bigint | TransactionArgument,
2079
2079
  bigint | TransactionArgument,
@@ -2117,9 +2117,9 @@ export namespace router {
2117
2117
  export function createPool_<T0 = any, T1 = any>(
2118
2118
  tx: TransactionBlock,
2119
2119
  args: [
2120
- string | ObjectCallArg | TransactionArgument,
2121
- (string | ObjectCallArg)[] | TransactionArgument,
2122
- (string | ObjectCallArg)[] | TransactionArgument,
2120
+ string | TransactionObjectArgument | TransactionArgument,
2121
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2122
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2123
2123
  bigint | TransactionArgument,
2124
2124
  bigint | TransactionArgument,
2125
2125
  ],
@@ -2157,8 +2157,8 @@ export namespace router {
2157
2157
  export function removeLiquidity_<T0 = any, T1 = any>(
2158
2158
  tx: TransactionBlock,
2159
2159
  args: [
2160
- string | ObjectCallArg | TransactionArgument,
2161
- (string | ObjectCallArg)[] | TransactionArgument,
2160
+ string | TransactionObjectArgument | TransactionArgument,
2161
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2162
2162
  bigint | TransactionArgument,
2163
2163
  bigint | TransactionArgument,
2164
2164
  bigint | TransactionArgument,
@@ -2197,8 +2197,8 @@ export namespace router {
2197
2197
  export function swapExactInput_<T0 = any, T1 = any>(
2198
2198
  tx: TransactionBlock,
2199
2199
  args: [
2200
- string | ObjectCallArg | TransactionArgument,
2201
- (string | ObjectCallArg)[] | TransactionArgument,
2200
+ string | TransactionObjectArgument | TransactionArgument,
2201
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2202
2202
  bigint | TransactionArgument,
2203
2203
  bigint | TransactionArgument,
2204
2204
  ],
@@ -2234,8 +2234,8 @@ export namespace router {
2234
2234
  export function swapExactInputDoublehop_<T0 = any, T1 = any, T2 = any>(
2235
2235
  tx: TransactionBlock,
2236
2236
  args: [
2237
- string | ObjectCallArg | TransactionArgument,
2238
- (string | ObjectCallArg)[] | TransactionArgument,
2237
+ string | TransactionObjectArgument | TransactionArgument,
2238
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2239
2239
  bigint | TransactionArgument,
2240
2240
  bigint | TransactionArgument,
2241
2241
  ],
@@ -2278,8 +2278,8 @@ export namespace router {
2278
2278
  export function swapExactOutput_<T0 = any, T1 = any>(
2279
2279
  tx: TransactionBlock,
2280
2280
  args: [
2281
- string | ObjectCallArg | TransactionArgument,
2282
- (string | ObjectCallArg)[] | TransactionArgument,
2281
+ string | TransactionObjectArgument | TransactionArgument,
2282
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2283
2283
  bigint | TransactionArgument,
2284
2284
  bigint | TransactionArgument,
2285
2285
  ],
@@ -2315,8 +2315,8 @@ export namespace router {
2315
2315
  export function swapExactOutputDoublehop_<T0 = any, T1 = any, T2 = any>(
2316
2316
  tx: TransactionBlock,
2317
2317
  args: [
2318
- string | ObjectCallArg | TransactionArgument,
2319
- (string | ObjectCallArg)[] | TransactionArgument,
2318
+ string | TransactionObjectArgument | TransactionArgument,
2319
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2320
2320
  bigint | TransactionArgument,
2321
2321
  bigint | TransactionArgument,
2322
2322
  ],
@@ -2359,8 +2359,8 @@ export namespace router {
2359
2359
  export function zapIn_<T0 = any, T1 = any>(
2360
2360
  tx: TransactionBlock,
2361
2361
  args: [
2362
- string | ObjectCallArg | TransactionArgument,
2363
- (string | ObjectCallArg)[] | TransactionArgument,
2362
+ string | TransactionObjectArgument | TransactionArgument,
2363
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2364
2364
  bigint | TransactionArgument,
2365
2365
  ],
2366
2366
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
@@ -2391,9 +2391,9 @@ export namespace router {
2391
2391
  export async function addLiquidity_<T0 = any, T1 = any>(
2392
2392
  client: SuiClient,
2393
2393
  args: [
2394
- string | ObjectCallArg | TransactionArgument,
2395
- (string | ObjectCallArg)[] | TransactionArgument,
2396
- (string | ObjectCallArg)[] | TransactionArgument,
2394
+ string | TransactionObjectArgument | TransactionArgument,
2395
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2396
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2397
2397
  bigint | TransactionArgument,
2398
2398
  bigint | TransactionArgument,
2399
2399
  bigint | TransactionArgument,
@@ -2415,9 +2415,9 @@ export namespace router {
2415
2415
  export async function createPool_<T0 = any, T1 = any>(
2416
2416
  client: SuiClient,
2417
2417
  args: [
2418
- string | ObjectCallArg | TransactionArgument,
2419
- (string | ObjectCallArg)[] | TransactionArgument,
2420
- (string | ObjectCallArg)[] | TransactionArgument,
2418
+ string | TransactionObjectArgument | TransactionArgument,
2419
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2420
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2421
2421
  bigint | TransactionArgument,
2422
2422
  bigint | TransactionArgument,
2423
2423
  ],
@@ -2437,8 +2437,8 @@ export namespace router {
2437
2437
  export async function removeLiquidity_<T0 = any, T1 = any>(
2438
2438
  client: SuiClient,
2439
2439
  args: [
2440
- string | ObjectCallArg | TransactionArgument,
2441
- (string | ObjectCallArg)[] | TransactionArgument,
2440
+ string | TransactionObjectArgument | TransactionArgument,
2441
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2442
2442
  bigint | TransactionArgument,
2443
2443
  bigint | TransactionArgument,
2444
2444
  bigint | TransactionArgument,
@@ -2459,8 +2459,8 @@ export namespace router {
2459
2459
  export async function swapExactInput_<T0 = any, T1 = any>(
2460
2460
  client: SuiClient,
2461
2461
  args: [
2462
- string | ObjectCallArg | TransactionArgument,
2463
- (string | ObjectCallArg)[] | TransactionArgument,
2462
+ string | TransactionObjectArgument | TransactionArgument,
2463
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2464
2464
  bigint | TransactionArgument,
2465
2465
  bigint | TransactionArgument,
2466
2466
  ],
@@ -2484,8 +2484,8 @@ export namespace router {
2484
2484
  >(
2485
2485
  client: SuiClient,
2486
2486
  args: [
2487
- string | ObjectCallArg | TransactionArgument,
2488
- (string | ObjectCallArg)[] | TransactionArgument,
2487
+ string | TransactionObjectArgument | TransactionArgument,
2488
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2489
2489
  bigint | TransactionArgument,
2490
2490
  bigint | TransactionArgument,
2491
2491
  ],
@@ -2509,8 +2509,8 @@ export namespace router {
2509
2509
  export async function swapExactOutput_<T0 = any, T1 = any>(
2510
2510
  client: SuiClient,
2511
2511
  args: [
2512
- string | ObjectCallArg | TransactionArgument,
2513
- (string | ObjectCallArg)[] | TransactionArgument,
2512
+ string | TransactionObjectArgument | TransactionArgument,
2513
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2514
2514
  bigint | TransactionArgument,
2515
2515
  bigint | TransactionArgument,
2516
2516
  ],
@@ -2534,8 +2534,8 @@ export namespace router {
2534
2534
  >(
2535
2535
  client: SuiClient,
2536
2536
  args: [
2537
- string | ObjectCallArg | TransactionArgument,
2538
- (string | ObjectCallArg)[] | TransactionArgument,
2537
+ string | TransactionObjectArgument | TransactionArgument,
2538
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2539
2539
  bigint | TransactionArgument,
2540
2540
  bigint | TransactionArgument,
2541
2541
  ],
@@ -2559,8 +2559,8 @@ export namespace router {
2559
2559
  export async function zapIn_<T0 = any, T1 = any>(
2560
2560
  client: SuiClient,
2561
2561
  args: [
2562
- string | ObjectCallArg | TransactionArgument,
2563
- (string | ObjectCallArg)[] | TransactionArgument,
2562
+ string | TransactionObjectArgument | TransactionArgument,
2563
+ (string | TransactionObjectArgument)[] | TransactionArgument,
2564
2564
  bigint | TransactionArgument,
2565
2565
  ],
2566
2566
  typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],