@typemove/sui 1.5.1 → 1.5.2-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +8 -4
- package/dist/cjs/builtin/0x1.d.ts +2 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +187 -167
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +121 -0
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +1077 -856
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.js +212 -212
- package/dist/cjs/codegen/codegen.js +2 -2
- package/dist/cjs/move-coder.d.ts +1 -1
- package/dist/cjs/move-coder.js +4 -4
- package/dist/esm/builtin/0x1.d.ts +2 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +187 -167
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +121 -0
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +1076 -855
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.js +212 -212
- package/dist/esm/codegen/codegen.js +2 -2
- package/dist/esm/move-coder.d.ts +1 -1
- package/dist/esm/move-coder.js +4 -4
- package/package.json +2 -2
- package/src/abis/0x1.json +20 -0
- package/src/abis/0x2.json +551 -0
- package/src/builtin/0x1.ts +195 -167
- package/src/builtin/0x2.ts +1238 -855
- package/src/builtin/0x3.ts +212 -212
- package/src/codegen/codegen.ts +2 -2
- package/src/move-coder.ts +4 -4
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +8 -8
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +96 -96
- package/src/tests/types/testnet/0xdee9.ts +94 -94
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +310 -310
|
@@ -224,13 +224,13 @@ export namespace authority {
|
|
|
224
224
|
): Promise<TypedDevInspectResults<[]>> {
|
|
225
225
|
const tx = new TransactionBlock();
|
|
226
226
|
builder.addAuthorizedUser(tx, args, typeArguments);
|
|
227
|
-
const
|
|
227
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
228
228
|
transactionBlock: tx,
|
|
229
229
|
sender: ZERO_ADDRESS,
|
|
230
230
|
});
|
|
231
231
|
|
|
232
232
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
233
|
-
|
|
233
|
+
inspectRes,
|
|
234
234
|
);
|
|
235
235
|
}
|
|
236
236
|
export async function destroyEmpty<T0 = any>(
|
|
@@ -240,13 +240,13 @@ export namespace authority {
|
|
|
240
240
|
): Promise<TypedDevInspectResults<[]>> {
|
|
241
241
|
const tx = new TransactionBlock();
|
|
242
242
|
builder.destroyEmpty(tx, args, typeArguments);
|
|
243
|
-
const
|
|
243
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
244
244
|
transactionBlock: tx,
|
|
245
245
|
sender: ZERO_ADDRESS,
|
|
246
246
|
});
|
|
247
247
|
|
|
248
248
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
249
|
-
|
|
249
|
+
inspectRes,
|
|
250
250
|
);
|
|
251
251
|
}
|
|
252
252
|
export async function new_<T0 = any>(
|
|
@@ -259,14 +259,14 @@ export namespace authority {
|
|
|
259
259
|
): Promise<TypedDevInspectResults<[authority.Authority<T0>]>> {
|
|
260
260
|
const tx = new TransactionBlock();
|
|
261
261
|
builder.new_(tx, args, typeArguments);
|
|
262
|
-
const
|
|
262
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
263
263
|
transactionBlock: tx,
|
|
264
264
|
sender: ZERO_ADDRESS,
|
|
265
265
|
});
|
|
266
266
|
|
|
267
267
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
268
268
|
[authority.Authority<T0>]
|
|
269
|
-
>(
|
|
269
|
+
>(inspectRes);
|
|
270
270
|
}
|
|
271
271
|
export async function removeAll<T0 = any>(
|
|
272
272
|
client: SuiClient,
|
|
@@ -275,13 +275,13 @@ export namespace authority {
|
|
|
275
275
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
276
276
|
const tx = new TransactionBlock();
|
|
277
277
|
builder.removeAll(tx, args, typeArguments);
|
|
278
|
-
const
|
|
278
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
279
279
|
transactionBlock: tx,
|
|
280
280
|
sender: ZERO_ADDRESS,
|
|
281
281
|
});
|
|
282
282
|
|
|
283
283
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string[]]>(
|
|
284
|
-
|
|
284
|
+
inspectRes,
|
|
285
285
|
);
|
|
286
286
|
}
|
|
287
287
|
export async function removeAuthorizedUser<T0 = any>(
|
|
@@ -295,13 +295,13 @@ export namespace authority {
|
|
|
295
295
|
): Promise<TypedDevInspectResults<[]>> {
|
|
296
296
|
const tx = new TransactionBlock();
|
|
297
297
|
builder.removeAuthorizedUser(tx, args, typeArguments);
|
|
298
|
-
const
|
|
298
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
299
299
|
transactionBlock: tx,
|
|
300
300
|
sender: ZERO_ADDRESS,
|
|
301
301
|
});
|
|
302
302
|
|
|
303
303
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
304
|
-
|
|
304
|
+
inspectRes,
|
|
305
305
|
);
|
|
306
306
|
}
|
|
307
307
|
export async function verify<T0 = any>(
|
|
@@ -314,13 +314,13 @@ export namespace authority {
|
|
|
314
314
|
): Promise<TypedDevInspectResults<[]>> {
|
|
315
315
|
const tx = new TransactionBlock();
|
|
316
316
|
builder.verify(tx, args, typeArguments);
|
|
317
|
-
const
|
|
317
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
318
318
|
transactionBlock: tx,
|
|
319
319
|
sender: ZERO_ADDRESS,
|
|
320
320
|
});
|
|
321
321
|
|
|
322
322
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
323
|
-
|
|
323
|
+
inspectRes,
|
|
324
324
|
);
|
|
325
325
|
}
|
|
326
326
|
export async function whitelist<T0 = any>(
|
|
@@ -330,13 +330,13 @@ export namespace authority {
|
|
|
330
330
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
331
331
|
const tx = new TransactionBlock();
|
|
332
332
|
builder.whitelist(tx, args, typeArguments);
|
|
333
|
-
const
|
|
333
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
334
334
|
transactionBlock: tx,
|
|
335
335
|
sender: ZERO_ADDRESS,
|
|
336
336
|
});
|
|
337
337
|
|
|
338
338
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string[]]>(
|
|
339
|
-
|
|
339
|
+
inspectRes,
|
|
340
340
|
);
|
|
341
341
|
}
|
|
342
342
|
}
|
|
@@ -983,13 +983,13 @@ export namespace dutch {
|
|
|
983
983
|
): Promise<TypedDevInspectResults<[]>> {
|
|
984
984
|
const tx = new TransactionBlock();
|
|
985
985
|
builder.close(tx, args, typeArguments);
|
|
986
|
-
const
|
|
986
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
987
987
|
transactionBlock: tx,
|
|
988
988
|
sender: ZERO_ADDRESS,
|
|
989
989
|
});
|
|
990
990
|
|
|
991
991
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
992
|
-
|
|
992
|
+
inspectRes,
|
|
993
993
|
);
|
|
994
994
|
}
|
|
995
995
|
export async function delivery<T0 = any, T1 = any>(
|
|
@@ -1020,7 +1020,7 @@ export namespace dutch {
|
|
|
1020
1020
|
> {
|
|
1021
1021
|
const tx = new TransactionBlock();
|
|
1022
1022
|
builder.delivery(tx, args, typeArguments);
|
|
1023
|
-
const
|
|
1023
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1024
1024
|
transactionBlock: tx,
|
|
1025
1025
|
sender: ZERO_ADDRESS,
|
|
1026
1026
|
});
|
|
@@ -1035,7 +1035,7 @@ export namespace dutch {
|
|
|
1035
1035
|
bigint,
|
|
1036
1036
|
bigint,
|
|
1037
1037
|
]
|
|
1038
|
-
>(
|
|
1038
|
+
>(inspectRes);
|
|
1039
1039
|
}
|
|
1040
1040
|
export async function getAuctionBids<T0 = any, T1 = any>(
|
|
1041
1041
|
client: SuiClient,
|
|
@@ -1044,13 +1044,13 @@ export namespace dutch {
|
|
|
1044
1044
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1045
1045
|
const tx = new TransactionBlock();
|
|
1046
1046
|
builder.getAuctionBids(tx, args, typeArguments);
|
|
1047
|
-
const
|
|
1047
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1048
1048
|
transactionBlock: tx,
|
|
1049
1049
|
sender: ZERO_ADDRESS,
|
|
1050
1050
|
});
|
|
1051
1051
|
|
|
1052
1052
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
1053
|
-
|
|
1053
|
+
inspectRes,
|
|
1054
1054
|
);
|
|
1055
1055
|
}
|
|
1056
1056
|
export async function getAuctionPeriod<T0 = any, T1 = any>(
|
|
@@ -1060,14 +1060,14 @@ export namespace dutch {
|
|
|
1060
1060
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
1061
1061
|
const tx = new TransactionBlock();
|
|
1062
1062
|
builder.getAuctionPeriod(tx, args, typeArguments);
|
|
1063
|
-
const
|
|
1063
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1064
1064
|
transactionBlock: tx,
|
|
1065
1065
|
sender: ZERO_ADDRESS,
|
|
1066
1066
|
});
|
|
1067
1067
|
|
|
1068
1068
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
1069
1069
|
[bigint, bigint]
|
|
1070
|
-
>(
|
|
1070
|
+
>(inspectRes);
|
|
1071
1071
|
}
|
|
1072
1072
|
export async function getBidIndex<T0 = any, T1 = any>(
|
|
1073
1073
|
client: SuiClient,
|
|
@@ -1076,13 +1076,13 @@ export namespace dutch {
|
|
|
1076
1076
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1077
1077
|
const tx = new TransactionBlock();
|
|
1078
1078
|
builder.getBidIndex(tx, args, typeArguments);
|
|
1079
|
-
const
|
|
1079
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1080
1080
|
transactionBlock: tx,
|
|
1081
1081
|
sender: ZERO_ADDRESS,
|
|
1082
1082
|
});
|
|
1083
1083
|
|
|
1084
1084
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
1085
|
-
|
|
1085
|
+
inspectRes,
|
|
1086
1086
|
);
|
|
1087
1087
|
}
|
|
1088
1088
|
export async function getDecayedPrice<T0 = any, T1 = any>(
|
|
@@ -1095,13 +1095,13 @@ export namespace dutch {
|
|
|
1095
1095
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1096
1096
|
const tx = new TransactionBlock();
|
|
1097
1097
|
builder.getDecayedPrice(tx, args, typeArguments);
|
|
1098
|
-
const
|
|
1098
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1099
1099
|
transactionBlock: tx,
|
|
1100
1100
|
sender: ZERO_ADDRESS,
|
|
1101
1101
|
});
|
|
1102
1102
|
|
|
1103
1103
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
1104
|
-
|
|
1104
|
+
inspectRes,
|
|
1105
1105
|
);
|
|
1106
1106
|
}
|
|
1107
1107
|
export async function getOwnerships<T0 = any, T1 = any>(
|
|
@@ -1111,13 +1111,13 @@ export namespace dutch {
|
|
|
1111
1111
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1112
1112
|
const tx = new TransactionBlock();
|
|
1113
1113
|
builder.getOwnerships(tx, args, typeArguments);
|
|
1114
|
-
const
|
|
1114
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1115
1115
|
transactionBlock: tx,
|
|
1116
1116
|
sender: ZERO_ADDRESS,
|
|
1117
1117
|
});
|
|
1118
1118
|
|
|
1119
1119
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
1120
|
-
|
|
1120
|
+
inspectRes,
|
|
1121
1121
|
);
|
|
1122
1122
|
}
|
|
1123
1123
|
export async function getUserBidInfo<T0 = any, T1 = any>(
|
|
@@ -1132,14 +1132,14 @@ export namespace dutch {
|
|
|
1132
1132
|
> {
|
|
1133
1133
|
const tx = new TransactionBlock();
|
|
1134
1134
|
builder.getUserBidInfo(tx, args, typeArguments);
|
|
1135
|
-
const
|
|
1135
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1136
1136
|
transactionBlock: tx,
|
|
1137
1137
|
sender: ZERO_ADDRESS,
|
|
1138
1138
|
});
|
|
1139
1139
|
|
|
1140
1140
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
1141
1141
|
[bigint, bigint, bigint, bigint, string]
|
|
1142
|
-
>(
|
|
1142
|
+
>(inspectRes);
|
|
1143
1143
|
}
|
|
1144
1144
|
export async function new_<T0 = any, T1 = any>(
|
|
1145
1145
|
client: SuiClient,
|
|
@@ -1156,14 +1156,14 @@ export namespace dutch {
|
|
|
1156
1156
|
): Promise<TypedDevInspectResults<[dutch.Auction<T0, T1>]>> {
|
|
1157
1157
|
const tx = new TransactionBlock();
|
|
1158
1158
|
builder.new_(tx, args, typeArguments);
|
|
1159
|
-
const
|
|
1159
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1160
1160
|
transactionBlock: tx,
|
|
1161
1161
|
sender: ZERO_ADDRESS,
|
|
1162
1162
|
});
|
|
1163
1163
|
|
|
1164
1164
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
1165
1165
|
[dutch.Auction<T0, T1>]
|
|
1166
|
-
>(
|
|
1166
|
+
>(inspectRes);
|
|
1167
1167
|
}
|
|
1168
1168
|
export async function newBid<T0 = any, T1 = any, T2 = any>(
|
|
1169
1169
|
client: SuiClient,
|
|
@@ -1188,14 +1188,14 @@ export namespace dutch {
|
|
|
1188
1188
|
> {
|
|
1189
1189
|
const tx = new TransactionBlock();
|
|
1190
1190
|
builder.newBid(tx, args, typeArguments);
|
|
1191
|
-
const
|
|
1191
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1192
1192
|
transactionBlock: tx,
|
|
1193
1193
|
sender: ZERO_ADDRESS,
|
|
1194
1194
|
});
|
|
1195
1195
|
|
|
1196
1196
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
1197
1197
|
[bigint, bigint, bigint, bigint, bigint, string]
|
|
1198
|
-
>(
|
|
1198
|
+
>(inspectRes);
|
|
1199
1199
|
}
|
|
1200
1200
|
export async function removeBid<T0 = any, T1 = any>(
|
|
1201
1201
|
client: SuiClient,
|
|
@@ -1209,13 +1209,13 @@ export namespace dutch {
|
|
|
1209
1209
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1210
1210
|
const tx = new TransactionBlock();
|
|
1211
1211
|
builder.removeBid(tx, args, typeArguments);
|
|
1212
|
-
const
|
|
1212
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1213
1213
|
transactionBlock: tx,
|
|
1214
1214
|
sender: ZERO_ADDRESS,
|
|
1215
1215
|
});
|
|
1216
1216
|
|
|
1217
1217
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
1218
|
-
|
|
1218
|
+
inspectRes,
|
|
1219
1219
|
);
|
|
1220
1220
|
}
|
|
1221
1221
|
export async function totalBidSize<T0 = any, T1 = any>(
|
|
@@ -1225,13 +1225,13 @@ export namespace dutch {
|
|
|
1225
1225
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1226
1226
|
const tx = new TransactionBlock();
|
|
1227
1227
|
builder.totalBidSize(tx, args, typeArguments);
|
|
1228
|
-
const
|
|
1228
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1229
1229
|
transactionBlock: tx,
|
|
1230
1230
|
sender: ZERO_ADDRESS,
|
|
1231
1231
|
});
|
|
1232
1232
|
|
|
1233
1233
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
1234
|
-
|
|
1234
|
+
inspectRes,
|
|
1235
1235
|
);
|
|
1236
1236
|
}
|
|
1237
1237
|
export async function updateRemoveBidAbility<T0 = any, T1 = any>(
|
|
@@ -1246,13 +1246,13 @@ export namespace dutch {
|
|
|
1246
1246
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1247
1247
|
const tx = new TransactionBlock();
|
|
1248
1248
|
builder.updateRemoveBidAbility(tx, args, typeArguments);
|
|
1249
|
-
const
|
|
1249
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1250
1250
|
transactionBlock: tx,
|
|
1251
1251
|
sender: ZERO_ADDRESS,
|
|
1252
1252
|
});
|
|
1253
1253
|
|
|
1254
1254
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
1255
|
-
|
|
1255
|
+
inspectRes,
|
|
1256
1256
|
);
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
@@ -1489,13 +1489,13 @@ export namespace i64 {
|
|
|
1489
1489
|
): Promise<TypedDevInspectResults<[i64.I64]>> {
|
|
1490
1490
|
const tx = new TransactionBlock();
|
|
1491
1491
|
builder.abs(tx, args);
|
|
1492
|
-
const
|
|
1492
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1493
1493
|
transactionBlock: tx,
|
|
1494
1494
|
sender: ZERO_ADDRESS,
|
|
1495
1495
|
});
|
|
1496
1496
|
|
|
1497
1497
|
return (await getMoveCoder(client)).decodeDevInspectResult<[i64.I64]>(
|
|
1498
|
-
|
|
1498
|
+
inspectRes,
|
|
1499
1499
|
);
|
|
1500
1500
|
}
|
|
1501
1501
|
export async function add(
|
|
@@ -1507,13 +1507,13 @@ export namespace i64 {
|
|
|
1507
1507
|
): Promise<TypedDevInspectResults<[i64.I64]>> {
|
|
1508
1508
|
const tx = new TransactionBlock();
|
|
1509
1509
|
builder.add(tx, args);
|
|
1510
|
-
const
|
|
1510
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1511
1511
|
transactionBlock: tx,
|
|
1512
1512
|
sender: ZERO_ADDRESS,
|
|
1513
1513
|
});
|
|
1514
1514
|
|
|
1515
1515
|
return (await getMoveCoder(client)).decodeDevInspectResult<[i64.I64]>(
|
|
1516
|
-
|
|
1516
|
+
inspectRes,
|
|
1517
1517
|
);
|
|
1518
1518
|
}
|
|
1519
1519
|
export async function asU64(
|
|
@@ -1522,13 +1522,13 @@ export namespace i64 {
|
|
|
1522
1522
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1523
1523
|
const tx = new TransactionBlock();
|
|
1524
1524
|
builder.asU64(tx, args);
|
|
1525
|
-
const
|
|
1525
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1526
1526
|
transactionBlock: tx,
|
|
1527
1527
|
sender: ZERO_ADDRESS,
|
|
1528
1528
|
});
|
|
1529
1529
|
|
|
1530
1530
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
1531
|
-
|
|
1531
|
+
inspectRes,
|
|
1532
1532
|
);
|
|
1533
1533
|
}
|
|
1534
1534
|
export async function compare(
|
|
@@ -1540,13 +1540,13 @@ export namespace i64 {
|
|
|
1540
1540
|
): Promise<TypedDevInspectResults<[number]>> {
|
|
1541
1541
|
const tx = new TransactionBlock();
|
|
1542
1542
|
builder.compare(tx, args);
|
|
1543
|
-
const
|
|
1543
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1544
1544
|
transactionBlock: tx,
|
|
1545
1545
|
sender: ZERO_ADDRESS,
|
|
1546
1546
|
});
|
|
1547
1547
|
|
|
1548
1548
|
return (await getMoveCoder(client)).decodeDevInspectResult<[number]>(
|
|
1549
|
-
|
|
1549
|
+
inspectRes,
|
|
1550
1550
|
);
|
|
1551
1551
|
}
|
|
1552
1552
|
export async function div(
|
|
@@ -1558,13 +1558,13 @@ export namespace i64 {
|
|
|
1558
1558
|
): Promise<TypedDevInspectResults<[i64.I64]>> {
|
|
1559
1559
|
const tx = new TransactionBlock();
|
|
1560
1560
|
builder.div(tx, args);
|
|
1561
|
-
const
|
|
1561
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1562
1562
|
transactionBlock: tx,
|
|
1563
1563
|
sender: ZERO_ADDRESS,
|
|
1564
1564
|
});
|
|
1565
1565
|
|
|
1566
1566
|
return (await getMoveCoder(client)).decodeDevInspectResult<[i64.I64]>(
|
|
1567
|
-
|
|
1567
|
+
inspectRes,
|
|
1568
1568
|
);
|
|
1569
1569
|
}
|
|
1570
1570
|
export async function from(
|
|
@@ -1573,13 +1573,13 @@ export namespace i64 {
|
|
|
1573
1573
|
): Promise<TypedDevInspectResults<[i64.I64]>> {
|
|
1574
1574
|
const tx = new TransactionBlock();
|
|
1575
1575
|
builder.from(tx, args);
|
|
1576
|
-
const
|
|
1576
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1577
1577
|
transactionBlock: tx,
|
|
1578
1578
|
sender: ZERO_ADDRESS,
|
|
1579
1579
|
});
|
|
1580
1580
|
|
|
1581
1581
|
return (await getMoveCoder(client)).decodeDevInspectResult<[i64.I64]>(
|
|
1582
|
-
|
|
1582
|
+
inspectRes,
|
|
1583
1583
|
);
|
|
1584
1584
|
}
|
|
1585
1585
|
export async function isNeg(
|
|
@@ -1588,13 +1588,13 @@ export namespace i64 {
|
|
|
1588
1588
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
1589
1589
|
const tx = new TransactionBlock();
|
|
1590
1590
|
builder.isNeg(tx, args);
|
|
1591
|
-
const
|
|
1591
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1592
1592
|
transactionBlock: tx,
|
|
1593
1593
|
sender: ZERO_ADDRESS,
|
|
1594
1594
|
});
|
|
1595
1595
|
|
|
1596
1596
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
1597
|
-
|
|
1597
|
+
inspectRes,
|
|
1598
1598
|
);
|
|
1599
1599
|
}
|
|
1600
1600
|
export async function isZero(
|
|
@@ -1603,13 +1603,13 @@ export namespace i64 {
|
|
|
1603
1603
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
1604
1604
|
const tx = new TransactionBlock();
|
|
1605
1605
|
builder.isZero(tx, args);
|
|
1606
|
-
const
|
|
1606
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1607
1607
|
transactionBlock: tx,
|
|
1608
1608
|
sender: ZERO_ADDRESS,
|
|
1609
1609
|
});
|
|
1610
1610
|
|
|
1611
1611
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
1612
|
-
|
|
1612
|
+
inspectRes,
|
|
1613
1613
|
);
|
|
1614
1614
|
}
|
|
1615
1615
|
export async function mul(
|
|
@@ -1621,13 +1621,13 @@ export namespace i64 {
|
|
|
1621
1621
|
): Promise<TypedDevInspectResults<[i64.I64]>> {
|
|
1622
1622
|
const tx = new TransactionBlock();
|
|
1623
1623
|
builder.mul(tx, args);
|
|
1624
|
-
const
|
|
1624
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1625
1625
|
transactionBlock: tx,
|
|
1626
1626
|
sender: ZERO_ADDRESS,
|
|
1627
1627
|
});
|
|
1628
1628
|
|
|
1629
1629
|
return (await getMoveCoder(client)).decodeDevInspectResult<[i64.I64]>(
|
|
1630
|
-
|
|
1630
|
+
inspectRes,
|
|
1631
1631
|
);
|
|
1632
1632
|
}
|
|
1633
1633
|
export async function neg(
|
|
@@ -1636,13 +1636,13 @@ export namespace i64 {
|
|
|
1636
1636
|
): Promise<TypedDevInspectResults<[i64.I64]>> {
|
|
1637
1637
|
const tx = new TransactionBlock();
|
|
1638
1638
|
builder.neg(tx, args);
|
|
1639
|
-
const
|
|
1639
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1640
1640
|
transactionBlock: tx,
|
|
1641
1641
|
sender: ZERO_ADDRESS,
|
|
1642
1642
|
});
|
|
1643
1643
|
|
|
1644
1644
|
return (await getMoveCoder(client)).decodeDevInspectResult<[i64.I64]>(
|
|
1645
|
-
|
|
1645
|
+
inspectRes,
|
|
1646
1646
|
);
|
|
1647
1647
|
}
|
|
1648
1648
|
export async function negFrom(
|
|
@@ -1651,13 +1651,13 @@ export namespace i64 {
|
|
|
1651
1651
|
): Promise<TypedDevInspectResults<[i64.I64]>> {
|
|
1652
1652
|
const tx = new TransactionBlock();
|
|
1653
1653
|
builder.negFrom(tx, args);
|
|
1654
|
-
const
|
|
1654
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1655
1655
|
transactionBlock: tx,
|
|
1656
1656
|
sender: ZERO_ADDRESS,
|
|
1657
1657
|
});
|
|
1658
1658
|
|
|
1659
1659
|
return (await getMoveCoder(client)).decodeDevInspectResult<[i64.I64]>(
|
|
1660
|
-
|
|
1660
|
+
inspectRes,
|
|
1661
1661
|
);
|
|
1662
1662
|
}
|
|
1663
1663
|
export async function sub(
|
|
@@ -1669,13 +1669,13 @@ export namespace i64 {
|
|
|
1669
1669
|
): Promise<TypedDevInspectResults<[i64.I64]>> {
|
|
1670
1670
|
const tx = new TransactionBlock();
|
|
1671
1671
|
builder.sub(tx, args);
|
|
1672
|
-
const
|
|
1672
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1673
1673
|
transactionBlock: tx,
|
|
1674
1674
|
sender: ZERO_ADDRESS,
|
|
1675
1675
|
});
|
|
1676
1676
|
|
|
1677
1677
|
return (await getMoveCoder(client)).decodeDevInspectResult<[i64.I64]>(
|
|
1678
|
-
|
|
1678
|
+
inspectRes,
|
|
1679
1679
|
);
|
|
1680
1680
|
}
|
|
1681
1681
|
export async function zero(
|
|
@@ -1684,13 +1684,13 @@ export namespace i64 {
|
|
|
1684
1684
|
): Promise<TypedDevInspectResults<[i64.I64]>> {
|
|
1685
1685
|
const tx = new TransactionBlock();
|
|
1686
1686
|
builder.zero(tx, args);
|
|
1687
|
-
const
|
|
1687
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1688
1688
|
transactionBlock: tx,
|
|
1689
1689
|
sender: ZERO_ADDRESS,
|
|
1690
1690
|
});
|
|
1691
1691
|
|
|
1692
1692
|
return (await getMoveCoder(client)).decodeDevInspectResult<[i64.I64]>(
|
|
1693
|
-
|
|
1693
|
+
inspectRes,
|
|
1694
1694
|
);
|
|
1695
1695
|
}
|
|
1696
1696
|
}
|
|
@@ -2542,13 +2542,13 @@ export namespace linked_list {
|
|
|
2542
2542
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2543
2543
|
const tx = new TransactionBlock();
|
|
2544
2544
|
builder.borrow(tx, args, typeArguments);
|
|
2545
|
-
const
|
|
2545
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2546
2546
|
transactionBlock: tx,
|
|
2547
2547
|
sender: ZERO_ADDRESS,
|
|
2548
2548
|
});
|
|
2549
2549
|
|
|
2550
2550
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
2551
|
-
|
|
2551
|
+
inspectRes,
|
|
2552
2552
|
);
|
|
2553
2553
|
}
|
|
2554
2554
|
export async function borrowMut<T0 = any, T1 = any>(
|
|
@@ -2562,13 +2562,13 @@ export namespace linked_list {
|
|
|
2562
2562
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2563
2563
|
const tx = new TransactionBlock();
|
|
2564
2564
|
builder.borrowMut(tx, args, typeArguments);
|
|
2565
|
-
const
|
|
2565
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2566
2566
|
transactionBlock: tx,
|
|
2567
2567
|
sender: ZERO_ADDRESS,
|
|
2568
2568
|
});
|
|
2569
2569
|
|
|
2570
2570
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
2571
|
-
|
|
2571
|
+
inspectRes,
|
|
2572
2572
|
);
|
|
2573
2573
|
}
|
|
2574
2574
|
export async function chain<T0 = any, T1 = any>(
|
|
@@ -2581,13 +2581,13 @@ export namespace linked_list {
|
|
|
2581
2581
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2582
2582
|
const tx = new TransactionBlock();
|
|
2583
2583
|
builder.chain(tx, args, typeArguments);
|
|
2584
|
-
const
|
|
2584
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2585
2585
|
transactionBlock: tx,
|
|
2586
2586
|
sender: ZERO_ADDRESS,
|
|
2587
2587
|
});
|
|
2588
2588
|
|
|
2589
2589
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
2590
|
-
|
|
2590
|
+
inspectRes,
|
|
2591
2591
|
);
|
|
2592
2592
|
}
|
|
2593
2593
|
export async function contains<T0 = any, T1 = any>(
|
|
@@ -2601,13 +2601,13 @@ export namespace linked_list {
|
|
|
2601
2601
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
2602
2602
|
const tx = new TransactionBlock();
|
|
2603
2603
|
builder.contains(tx, args, typeArguments);
|
|
2604
|
-
const
|
|
2604
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2605
2605
|
transactionBlock: tx,
|
|
2606
2606
|
sender: ZERO_ADDRESS,
|
|
2607
2607
|
});
|
|
2608
2608
|
|
|
2609
2609
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
2610
|
-
|
|
2610
|
+
inspectRes,
|
|
2611
2611
|
);
|
|
2612
2612
|
}
|
|
2613
2613
|
export async function delete_<T0 = any, T1 = any>(
|
|
@@ -2621,13 +2621,13 @@ export namespace linked_list {
|
|
|
2621
2621
|
): Promise<TypedDevInspectResults<[T1]>> {
|
|
2622
2622
|
const tx = new TransactionBlock();
|
|
2623
2623
|
builder.delete_(tx, args, typeArguments);
|
|
2624
|
-
const
|
|
2624
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2625
2625
|
transactionBlock: tx,
|
|
2626
2626
|
sender: ZERO_ADDRESS,
|
|
2627
2627
|
});
|
|
2628
2628
|
|
|
2629
2629
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T1]>(
|
|
2630
|
-
|
|
2630
|
+
inspectRes,
|
|
2631
2631
|
);
|
|
2632
2632
|
}
|
|
2633
2633
|
export async function first<T0 = any, T1 = any>(
|
|
@@ -2637,14 +2637,14 @@ export namespace linked_list {
|
|
|
2637
2637
|
): Promise<TypedDevInspectResults<[_0x1.option.Option<T0>]>> {
|
|
2638
2638
|
const tx = new TransactionBlock();
|
|
2639
2639
|
builder.first(tx, args, typeArguments);
|
|
2640
|
-
const
|
|
2640
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2641
2641
|
transactionBlock: tx,
|
|
2642
2642
|
sender: ZERO_ADDRESS,
|
|
2643
2643
|
});
|
|
2644
2644
|
|
|
2645
2645
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2646
2646
|
[_0x1.option.Option<T0>]
|
|
2647
|
-
>(
|
|
2647
|
+
>(inspectRes);
|
|
2648
2648
|
}
|
|
2649
2649
|
export async function isEmpty<T0 = any, T1 = any>(
|
|
2650
2650
|
client: SuiClient,
|
|
@@ -2653,13 +2653,13 @@ export namespace linked_list {
|
|
|
2653
2653
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
2654
2654
|
const tx = new TransactionBlock();
|
|
2655
2655
|
builder.isEmpty(tx, args, typeArguments);
|
|
2656
|
-
const
|
|
2656
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2657
2657
|
transactionBlock: tx,
|
|
2658
2658
|
sender: ZERO_ADDRESS,
|
|
2659
2659
|
});
|
|
2660
2660
|
|
|
2661
2661
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
2662
|
-
|
|
2662
|
+
inspectRes,
|
|
2663
2663
|
);
|
|
2664
2664
|
}
|
|
2665
2665
|
export async function last<T0 = any, T1 = any>(
|
|
@@ -2669,14 +2669,14 @@ export namespace linked_list {
|
|
|
2669
2669
|
): Promise<TypedDevInspectResults<[_0x1.option.Option<T0>]>> {
|
|
2670
2670
|
const tx = new TransactionBlock();
|
|
2671
2671
|
builder.last(tx, args, typeArguments);
|
|
2672
|
-
const
|
|
2672
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2673
2673
|
transactionBlock: tx,
|
|
2674
2674
|
sender: ZERO_ADDRESS,
|
|
2675
2675
|
});
|
|
2676
2676
|
|
|
2677
2677
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2678
2678
|
[_0x1.option.Option<T0>]
|
|
2679
|
-
>(
|
|
2679
|
+
>(inspectRes);
|
|
2680
2680
|
}
|
|
2681
2681
|
export async function length<T0 = any, T1 = any>(
|
|
2682
2682
|
client: SuiClient,
|
|
@@ -2685,13 +2685,13 @@ export namespace linked_list {
|
|
|
2685
2685
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2686
2686
|
const tx = new TransactionBlock();
|
|
2687
2687
|
builder.length(tx, args, typeArguments);
|
|
2688
|
-
const
|
|
2688
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2689
2689
|
transactionBlock: tx,
|
|
2690
2690
|
sender: ZERO_ADDRESS,
|
|
2691
2691
|
});
|
|
2692
2692
|
|
|
2693
2693
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
2694
|
-
|
|
2694
|
+
inspectRes,
|
|
2695
2695
|
);
|
|
2696
2696
|
}
|
|
2697
2697
|
export async function new_<T0 = any, T1 = any>(
|
|
@@ -2701,14 +2701,14 @@ export namespace linked_list {
|
|
|
2701
2701
|
): Promise<TypedDevInspectResults<[linked_list.LinkedList<T0, T1>]>> {
|
|
2702
2702
|
const tx = new TransactionBlock();
|
|
2703
2703
|
builder.new_(tx, args, typeArguments);
|
|
2704
|
-
const
|
|
2704
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2705
2705
|
transactionBlock: tx,
|
|
2706
2706
|
sender: ZERO_ADDRESS,
|
|
2707
2707
|
});
|
|
2708
2708
|
|
|
2709
2709
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2710
2710
|
[linked_list.LinkedList<T0, T1>]
|
|
2711
|
-
>(
|
|
2711
|
+
>(inspectRes);
|
|
2712
2712
|
}
|
|
2713
2713
|
export async function newNode<T0 = any, T1 = any>(
|
|
2714
2714
|
client: SuiClient,
|
|
@@ -2721,14 +2721,14 @@ export namespace linked_list {
|
|
|
2721
2721
|
): Promise<TypedDevInspectResults<[linked_list.Node<T0, T1>]>> {
|
|
2722
2722
|
const tx = new TransactionBlock();
|
|
2723
2723
|
builder.newNode(tx, args, typeArguments);
|
|
2724
|
-
const
|
|
2724
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2725
2725
|
transactionBlock: tx,
|
|
2726
2726
|
sender: ZERO_ADDRESS,
|
|
2727
2727
|
});
|
|
2728
2728
|
|
|
2729
2729
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2730
2730
|
[linked_list.Node<T0, T1>]
|
|
2731
|
-
>(
|
|
2731
|
+
>(inspectRes);
|
|
2732
2732
|
}
|
|
2733
2733
|
export async function next<T0 = any, T1 = any>(
|
|
2734
2734
|
client: SuiClient,
|
|
@@ -2741,14 +2741,14 @@ export namespace linked_list {
|
|
|
2741
2741
|
): Promise<TypedDevInspectResults<[_0x1.option.Option<T0>]>> {
|
|
2742
2742
|
const tx = new TransactionBlock();
|
|
2743
2743
|
builder.next(tx, args, typeArguments);
|
|
2744
|
-
const
|
|
2744
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2745
2745
|
transactionBlock: tx,
|
|
2746
2746
|
sender: ZERO_ADDRESS,
|
|
2747
2747
|
});
|
|
2748
2748
|
|
|
2749
2749
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2750
2750
|
[_0x1.option.Option<T0>]
|
|
2751
|
-
>(
|
|
2751
|
+
>(inspectRes);
|
|
2752
2752
|
}
|
|
2753
2753
|
export async function popBack<T0 = any, T1 = any>(
|
|
2754
2754
|
client: SuiClient,
|
|
@@ -2760,13 +2760,13 @@ export namespace linked_list {
|
|
|
2760
2760
|
): Promise<TypedDevInspectResults<[T0, T1]>> {
|
|
2761
2761
|
const tx = new TransactionBlock();
|
|
2762
2762
|
builder.popBack(tx, args, typeArguments);
|
|
2763
|
-
const
|
|
2763
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2764
2764
|
transactionBlock: tx,
|
|
2765
2765
|
sender: ZERO_ADDRESS,
|
|
2766
2766
|
});
|
|
2767
2767
|
|
|
2768
2768
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T0, T1]>(
|
|
2769
|
-
|
|
2769
|
+
inspectRes,
|
|
2770
2770
|
);
|
|
2771
2771
|
}
|
|
2772
2772
|
export async function popFront<T0 = any, T1 = any>(
|
|
@@ -2779,13 +2779,13 @@ export namespace linked_list {
|
|
|
2779
2779
|
): Promise<TypedDevInspectResults<[T0, T1]>> {
|
|
2780
2780
|
const tx = new TransactionBlock();
|
|
2781
2781
|
builder.popFront(tx, args, typeArguments);
|
|
2782
|
-
const
|
|
2782
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2783
2783
|
transactionBlock: tx,
|
|
2784
2784
|
sender: ZERO_ADDRESS,
|
|
2785
2785
|
});
|
|
2786
2786
|
|
|
2787
2787
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T0, T1]>(
|
|
2788
|
-
|
|
2788
|
+
inspectRes,
|
|
2789
2789
|
);
|
|
2790
2790
|
}
|
|
2791
2791
|
export async function popNode<T0 = any, T1 = any>(
|
|
@@ -2798,13 +2798,13 @@ export namespace linked_list {
|
|
|
2798
2798
|
): Promise<TypedDevInspectResults<[T1]>> {
|
|
2799
2799
|
const tx = new TransactionBlock();
|
|
2800
2800
|
builder.popNode(tx, args, typeArguments);
|
|
2801
|
-
const
|
|
2801
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2802
2802
|
transactionBlock: tx,
|
|
2803
2803
|
sender: ZERO_ADDRESS,
|
|
2804
2804
|
});
|
|
2805
2805
|
|
|
2806
2806
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T1]>(
|
|
2807
|
-
|
|
2807
|
+
inspectRes,
|
|
2808
2808
|
);
|
|
2809
2809
|
}
|
|
2810
2810
|
export async function prepareNode<T0 = any, T1 = any>(
|
|
@@ -2818,13 +2818,13 @@ export namespace linked_list {
|
|
|
2818
2818
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2819
2819
|
const tx = new TransactionBlock();
|
|
2820
2820
|
builder.prepareNode(tx, args, typeArguments);
|
|
2821
|
-
const
|
|
2821
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2822
2822
|
transactionBlock: tx,
|
|
2823
2823
|
sender: ZERO_ADDRESS,
|
|
2824
2824
|
});
|
|
2825
2825
|
|
|
2826
2826
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
2827
|
-
|
|
2827
|
+
inspectRes,
|
|
2828
2828
|
);
|
|
2829
2829
|
}
|
|
2830
2830
|
export async function prev<T0 = any, T1 = any>(
|
|
@@ -2838,14 +2838,14 @@ export namespace linked_list {
|
|
|
2838
2838
|
): Promise<TypedDevInspectResults<[_0x1.option.Option<T0>]>> {
|
|
2839
2839
|
const tx = new TransactionBlock();
|
|
2840
2840
|
builder.prev(tx, args, typeArguments);
|
|
2841
|
-
const
|
|
2841
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2842
2842
|
transactionBlock: tx,
|
|
2843
2843
|
sender: ZERO_ADDRESS,
|
|
2844
2844
|
});
|
|
2845
2845
|
|
|
2846
2846
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2847
2847
|
[_0x1.option.Option<T0>]
|
|
2848
|
-
>(
|
|
2848
|
+
>(inspectRes);
|
|
2849
2849
|
}
|
|
2850
2850
|
export async function pushBack<T0 = any, T1 = any>(
|
|
2851
2851
|
client: SuiClient,
|
|
@@ -2859,13 +2859,13 @@ export namespace linked_list {
|
|
|
2859
2859
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2860
2860
|
const tx = new TransactionBlock();
|
|
2861
2861
|
builder.pushBack(tx, args, typeArguments);
|
|
2862
|
-
const
|
|
2862
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2863
2863
|
transactionBlock: tx,
|
|
2864
2864
|
sender: ZERO_ADDRESS,
|
|
2865
2865
|
});
|
|
2866
2866
|
|
|
2867
2867
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
2868
|
-
|
|
2868
|
+
inspectRes,
|
|
2869
2869
|
);
|
|
2870
2870
|
}
|
|
2871
2871
|
export async function pushFront<T0 = any, T1 = any>(
|
|
@@ -2880,13 +2880,13 @@ export namespace linked_list {
|
|
|
2880
2880
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2881
2881
|
const tx = new TransactionBlock();
|
|
2882
2882
|
builder.pushFront(tx, args, typeArguments);
|
|
2883
|
-
const
|
|
2883
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2884
2884
|
transactionBlock: tx,
|
|
2885
2885
|
sender: ZERO_ADDRESS,
|
|
2886
2886
|
});
|
|
2887
2887
|
|
|
2888
2888
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
2889
|
-
|
|
2889
|
+
inspectRes,
|
|
2890
2890
|
);
|
|
2891
2891
|
}
|
|
2892
2892
|
export async function pushNode<T0 = any, T1 = any>(
|
|
@@ -2900,13 +2900,13 @@ export namespace linked_list {
|
|
|
2900
2900
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2901
2901
|
const tx = new TransactionBlock();
|
|
2902
2902
|
builder.pushNode(tx, args, typeArguments);
|
|
2903
|
-
const
|
|
2903
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2904
2904
|
transactionBlock: tx,
|
|
2905
2905
|
sender: ZERO_ADDRESS,
|
|
2906
2906
|
});
|
|
2907
2907
|
|
|
2908
2908
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
2909
|
-
|
|
2909
|
+
inspectRes,
|
|
2910
2910
|
);
|
|
2911
2911
|
}
|
|
2912
2912
|
export async function putBack<T0 = any, T1 = any>(
|
|
@@ -2921,14 +2921,14 @@ export namespace linked_list {
|
|
|
2921
2921
|
): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>> {
|
|
2922
2922
|
const tx = new TransactionBlock();
|
|
2923
2923
|
builder.putBack(tx, args, typeArguments);
|
|
2924
|
-
const
|
|
2924
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2925
2925
|
transactionBlock: tx,
|
|
2926
2926
|
sender: ZERO_ADDRESS,
|
|
2927
2927
|
});
|
|
2928
2928
|
|
|
2929
2929
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2930
2930
|
[_0x1.option.Option<T1>]
|
|
2931
|
-
>(
|
|
2931
|
+
>(inspectRes);
|
|
2932
2932
|
}
|
|
2933
2933
|
export async function putFront<T0 = any, T1 = any>(
|
|
2934
2934
|
client: SuiClient,
|
|
@@ -2942,14 +2942,14 @@ export namespace linked_list {
|
|
|
2942
2942
|
): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>> {
|
|
2943
2943
|
const tx = new TransactionBlock();
|
|
2944
2944
|
builder.putFront(tx, args, typeArguments);
|
|
2945
|
-
const
|
|
2945
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2946
2946
|
transactionBlock: tx,
|
|
2947
2947
|
sender: ZERO_ADDRESS,
|
|
2948
2948
|
});
|
|
2949
2949
|
|
|
2950
2950
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2951
2951
|
[_0x1.option.Option<T1>]
|
|
2952
|
-
>(
|
|
2952
|
+
>(inspectRes);
|
|
2953
2953
|
}
|
|
2954
2954
|
export async function putNode<T0 = any, T1 = any>(
|
|
2955
2955
|
client: SuiClient,
|
|
@@ -2962,14 +2962,14 @@ export namespace linked_list {
|
|
|
2962
2962
|
): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>> {
|
|
2963
2963
|
const tx = new TransactionBlock();
|
|
2964
2964
|
builder.putNode(tx, args, typeArguments);
|
|
2965
|
-
const
|
|
2965
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2966
2966
|
transactionBlock: tx,
|
|
2967
2967
|
sender: ZERO_ADDRESS,
|
|
2968
2968
|
});
|
|
2969
2969
|
|
|
2970
2970
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
2971
2971
|
[_0x1.option.Option<T1>]
|
|
2972
|
-
>(
|
|
2972
|
+
>(inspectRes);
|
|
2973
2973
|
}
|
|
2974
2974
|
export async function remove<T0 = any, T1 = any>(
|
|
2975
2975
|
client: SuiClient,
|
|
@@ -2982,13 +2982,13 @@ export namespace linked_list {
|
|
|
2982
2982
|
): Promise<TypedDevInspectResults<[T1]>> {
|
|
2983
2983
|
const tx = new TransactionBlock();
|
|
2984
2984
|
builder.remove(tx, args, typeArguments);
|
|
2985
|
-
const
|
|
2985
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2986
2986
|
transactionBlock: tx,
|
|
2987
2987
|
sender: ZERO_ADDRESS,
|
|
2988
2988
|
});
|
|
2989
2989
|
|
|
2990
2990
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T1]>(
|
|
2991
|
-
|
|
2991
|
+
inspectRes,
|
|
2992
2992
|
);
|
|
2993
2993
|
}
|
|
2994
2994
|
export async function takeBack<T0 = any, T1 = any>(
|
|
@@ -3001,13 +3001,13 @@ export namespace linked_list {
|
|
|
3001
3001
|
): Promise<TypedDevInspectResults<[T0, T1]>> {
|
|
3002
3002
|
const tx = new TransactionBlock();
|
|
3003
3003
|
builder.takeBack(tx, args, typeArguments);
|
|
3004
|
-
const
|
|
3004
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
3005
3005
|
transactionBlock: tx,
|
|
3006
3006
|
sender: ZERO_ADDRESS,
|
|
3007
3007
|
});
|
|
3008
3008
|
|
|
3009
3009
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T0, T1]>(
|
|
3010
|
-
|
|
3010
|
+
inspectRes,
|
|
3011
3011
|
);
|
|
3012
3012
|
}
|
|
3013
3013
|
export async function takeFront<T0 = any, T1 = any>(
|
|
@@ -3020,13 +3020,13 @@ export namespace linked_list {
|
|
|
3020
3020
|
): Promise<TypedDevInspectResults<[T0, T1]>> {
|
|
3021
3021
|
const tx = new TransactionBlock();
|
|
3022
3022
|
builder.takeFront(tx, args, typeArguments);
|
|
3023
|
-
const
|
|
3023
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
3024
3024
|
transactionBlock: tx,
|
|
3025
3025
|
sender: ZERO_ADDRESS,
|
|
3026
3026
|
});
|
|
3027
3027
|
|
|
3028
3028
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T0, T1]>(
|
|
3029
|
-
|
|
3029
|
+
inspectRes,
|
|
3030
3030
|
);
|
|
3031
3031
|
}
|
|
3032
3032
|
export async function takeNode<T0 = any, T1 = any>(
|
|
@@ -3039,13 +3039,13 @@ export namespace linked_list {
|
|
|
3039
3039
|
): Promise<TypedDevInspectResults<[T1]>> {
|
|
3040
3040
|
const tx = new TransactionBlock();
|
|
3041
3041
|
builder.takeNode(tx, args, typeArguments);
|
|
3042
|
-
const
|
|
3042
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
3043
3043
|
transactionBlock: tx,
|
|
3044
3044
|
sender: ZERO_ADDRESS,
|
|
3045
3045
|
});
|
|
3046
3046
|
|
|
3047
3047
|
return (await getMoveCoder(client)).decodeDevInspectResult<[T1]>(
|
|
3048
|
-
|
|
3048
|
+
inspectRes,
|
|
3049
3049
|
);
|
|
3050
3050
|
}
|
|
3051
3051
|
}
|
|
@@ -5793,13 +5793,13 @@ export namespace single_collateral {
|
|
|
5793
5793
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5794
5794
|
const tx = new TransactionBlock();
|
|
5795
5795
|
builder.addAuthorizedUser(tx, args);
|
|
5796
|
-
const
|
|
5796
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5797
5797
|
transactionBlock: tx,
|
|
5798
5798
|
sender: ZERO_ADDRESS,
|
|
5799
5799
|
});
|
|
5800
5800
|
|
|
5801
5801
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
5802
|
-
|
|
5802
|
+
inspectRes,
|
|
5803
5803
|
);
|
|
5804
5804
|
}
|
|
5805
5805
|
export async function addPortfolioVaultAuthorizedUser<
|
|
@@ -5823,13 +5823,13 @@ export namespace single_collateral {
|
|
|
5823
5823
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5824
5824
|
const tx = new TransactionBlock();
|
|
5825
5825
|
builder.addPortfolioVaultAuthorizedUser(tx, args, typeArguments);
|
|
5826
|
-
const
|
|
5826
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5827
5827
|
transactionBlock: tx,
|
|
5828
5828
|
sender: ZERO_ADDRESS,
|
|
5829
5829
|
});
|
|
5830
5830
|
|
|
5831
5831
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
5832
|
-
|
|
5832
|
+
inspectRes,
|
|
5833
5833
|
);
|
|
5834
5834
|
}
|
|
5835
5835
|
export async function authorizedAddPortfolioVaultAuthorizedUser<
|
|
@@ -5856,13 +5856,13 @@ export namespace single_collateral {
|
|
|
5856
5856
|
args,
|
|
5857
5857
|
typeArguments,
|
|
5858
5858
|
);
|
|
5859
|
-
const
|
|
5859
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5860
5860
|
transactionBlock: tx,
|
|
5861
5861
|
sender: ZERO_ADDRESS,
|
|
5862
5862
|
});
|
|
5863
5863
|
|
|
5864
5864
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
5865
|
-
|
|
5865
|
+
inspectRes,
|
|
5866
5866
|
);
|
|
5867
5867
|
}
|
|
5868
5868
|
export async function authorizedDelivery<T0 = any, T1 = any, T2 = any>(
|
|
@@ -5882,13 +5882,13 @@ export namespace single_collateral {
|
|
|
5882
5882
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5883
5883
|
const tx = new TransactionBlock();
|
|
5884
5884
|
builder.authorizedDelivery(tx, args, typeArguments);
|
|
5885
|
-
const
|
|
5885
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5886
5886
|
transactionBlock: tx,
|
|
5887
5887
|
sender: ZERO_ADDRESS,
|
|
5888
5888
|
});
|
|
5889
5889
|
|
|
5890
5890
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
5891
|
-
|
|
5891
|
+
inspectRes,
|
|
5892
5892
|
);
|
|
5893
5893
|
}
|
|
5894
5894
|
export async function authorizedNewPortfolioVault<
|
|
@@ -5930,13 +5930,13 @@ export namespace single_collateral {
|
|
|
5930
5930
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5931
5931
|
const tx = new TransactionBlock();
|
|
5932
5932
|
builder.authorizedNewPortfolioVault(tx, args, typeArguments);
|
|
5933
|
-
const
|
|
5933
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5934
5934
|
transactionBlock: tx,
|
|
5935
5935
|
sender: ZERO_ADDRESS,
|
|
5936
5936
|
});
|
|
5937
5937
|
|
|
5938
5938
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
5939
|
-
|
|
5939
|
+
inspectRes,
|
|
5940
5940
|
);
|
|
5941
5941
|
}
|
|
5942
5942
|
export async function authorizedRemovePortfolioVaultAuthorizedUser<
|
|
@@ -5963,13 +5963,13 @@ export namespace single_collateral {
|
|
|
5963
5963
|
args,
|
|
5964
5964
|
typeArguments,
|
|
5965
5965
|
);
|
|
5966
|
-
const
|
|
5966
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5967
5967
|
transactionBlock: tx,
|
|
5968
5968
|
sender: ZERO_ADDRESS,
|
|
5969
5969
|
});
|
|
5970
5970
|
|
|
5971
5971
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
5972
|
-
|
|
5972
|
+
inspectRes,
|
|
5973
5973
|
);
|
|
5974
5974
|
}
|
|
5975
5975
|
export async function authorizedUpdateCapacity<
|
|
@@ -5992,13 +5992,13 @@ export namespace single_collateral {
|
|
|
5992
5992
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5993
5993
|
const tx = new TransactionBlock();
|
|
5994
5994
|
builder.authorizedUpdateCapacity(tx, args, typeArguments);
|
|
5995
|
-
const
|
|
5995
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5996
5996
|
transactionBlock: tx,
|
|
5997
5997
|
sender: ZERO_ADDRESS,
|
|
5998
5998
|
});
|
|
5999
5999
|
|
|
6000
6000
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6001
|
-
|
|
6001
|
+
inspectRes,
|
|
6002
6002
|
);
|
|
6003
6003
|
}
|
|
6004
6004
|
export async function authorizedUpdateUpcomingVaultConfig<
|
|
@@ -6028,13 +6028,13 @@ export namespace single_collateral {
|
|
|
6028
6028
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6029
6029
|
const tx = new TransactionBlock();
|
|
6030
6030
|
builder.authorizedUpdateUpcomingVaultConfig(tx, args, typeArguments);
|
|
6031
|
-
const
|
|
6031
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6032
6032
|
transactionBlock: tx,
|
|
6033
6033
|
sender: ZERO_ADDRESS,
|
|
6034
6034
|
});
|
|
6035
6035
|
|
|
6036
6036
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6037
|
-
|
|
6037
|
+
inspectRes,
|
|
6038
6038
|
);
|
|
6039
6039
|
}
|
|
6040
6040
|
export async function authorizedUpdateWarmupVaultConfig<
|
|
@@ -6061,13 +6061,13 @@ export namespace single_collateral {
|
|
|
6061
6061
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6062
6062
|
const tx = new TransactionBlock();
|
|
6063
6063
|
builder.authorizedUpdateWarmupVaultConfig(tx, args, typeArguments);
|
|
6064
|
-
const
|
|
6064
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6065
6065
|
transactionBlock: tx,
|
|
6066
6066
|
sender: ZERO_ADDRESS,
|
|
6067
6067
|
});
|
|
6068
6068
|
|
|
6069
6069
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6070
|
-
|
|
6070
|
+
inspectRes,
|
|
6071
6071
|
);
|
|
6072
6072
|
}
|
|
6073
6073
|
export async function claim<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6085,13 +6085,13 @@ export namespace single_collateral {
|
|
|
6085
6085
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6086
6086
|
const tx = new TransactionBlock();
|
|
6087
6087
|
builder.claim(tx, args, typeArguments);
|
|
6088
|
-
const
|
|
6088
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6089
6089
|
transactionBlock: tx,
|
|
6090
6090
|
sender: ZERO_ADDRESS,
|
|
6091
6091
|
});
|
|
6092
6092
|
|
|
6093
6093
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6094
|
-
|
|
6094
|
+
inspectRes,
|
|
6095
6095
|
);
|
|
6096
6096
|
}
|
|
6097
6097
|
export async function claimAndHarvest<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6109,13 +6109,13 @@ export namespace single_collateral {
|
|
|
6109
6109
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6110
6110
|
const tx = new TransactionBlock();
|
|
6111
6111
|
builder.claimAndHarvest(tx, args, typeArguments);
|
|
6112
|
-
const
|
|
6112
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6113
6113
|
transactionBlock: tx,
|
|
6114
6114
|
sender: ZERO_ADDRESS,
|
|
6115
6115
|
});
|
|
6116
6116
|
|
|
6117
6117
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6118
|
-
|
|
6118
|
+
inspectRes,
|
|
6119
6119
|
);
|
|
6120
6120
|
}
|
|
6121
6121
|
export async function close<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6134,13 +6134,13 @@ export namespace single_collateral {
|
|
|
6134
6134
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6135
6135
|
const tx = new TransactionBlock();
|
|
6136
6136
|
builder.close(tx, args, typeArguments);
|
|
6137
|
-
const
|
|
6137
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6138
6138
|
transactionBlock: tx,
|
|
6139
6139
|
sender: ZERO_ADDRESS,
|
|
6140
6140
|
});
|
|
6141
6141
|
|
|
6142
6142
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6143
|
-
|
|
6143
|
+
inspectRes,
|
|
6144
6144
|
);
|
|
6145
6145
|
}
|
|
6146
6146
|
export async function compound<T0 = any, T1 = any>(
|
|
@@ -6154,13 +6154,13 @@ export namespace single_collateral {
|
|
|
6154
6154
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6155
6155
|
const tx = new TransactionBlock();
|
|
6156
6156
|
builder.compound(tx, args, typeArguments);
|
|
6157
|
-
const
|
|
6157
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6158
6158
|
transactionBlock: tx,
|
|
6159
6159
|
sender: ZERO_ADDRESS,
|
|
6160
6160
|
});
|
|
6161
6161
|
|
|
6162
6162
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6163
|
-
|
|
6163
|
+
inspectRes,
|
|
6164
6164
|
);
|
|
6165
6165
|
}
|
|
6166
6166
|
export async function delivery<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6181,13 +6181,13 @@ export namespace single_collateral {
|
|
|
6181
6181
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6182
6182
|
const tx = new TransactionBlock();
|
|
6183
6183
|
builder.delivery(tx, args, typeArguments);
|
|
6184
|
-
const
|
|
6184
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6185
6185
|
transactionBlock: tx,
|
|
6186
6186
|
sender: ZERO_ADDRESS,
|
|
6187
6187
|
});
|
|
6188
6188
|
|
|
6189
6189
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6190
|
-
|
|
6190
|
+
inspectRes,
|
|
6191
6191
|
);
|
|
6192
6192
|
}
|
|
6193
6193
|
export async function deposit<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6207,13 +6207,13 @@ export namespace single_collateral {
|
|
|
6207
6207
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6208
6208
|
const tx = new TransactionBlock();
|
|
6209
6209
|
builder.deposit(tx, args, typeArguments);
|
|
6210
|
-
const
|
|
6210
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6211
6211
|
transactionBlock: tx,
|
|
6212
6212
|
sender: ZERO_ADDRESS,
|
|
6213
6213
|
});
|
|
6214
6214
|
|
|
6215
6215
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6216
|
-
|
|
6216
|
+
inspectRes,
|
|
6217
6217
|
);
|
|
6218
6218
|
}
|
|
6219
6219
|
export async function evolution<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6234,13 +6234,13 @@ export namespace single_collateral {
|
|
|
6234
6234
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6235
6235
|
const tx = new TransactionBlock();
|
|
6236
6236
|
builder.evolution(tx, args, typeArguments);
|
|
6237
|
-
const
|
|
6237
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6238
6238
|
transactionBlock: tx,
|
|
6239
6239
|
sender: ZERO_ADDRESS,
|
|
6240
6240
|
});
|
|
6241
6241
|
|
|
6242
6242
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6243
|
-
|
|
6243
|
+
inspectRes,
|
|
6244
6244
|
);
|
|
6245
6245
|
}
|
|
6246
6246
|
export async function getAuctionMaxSize<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6258,13 +6258,13 @@ export namespace single_collateral {
|
|
|
6258
6258
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
6259
6259
|
const tx = new TransactionBlock();
|
|
6260
6260
|
builder.getAuctionMaxSize(tx, args, typeArguments);
|
|
6261
|
-
const
|
|
6261
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6262
6262
|
transactionBlock: tx,
|
|
6263
6263
|
sender: ZERO_ADDRESS,
|
|
6264
6264
|
});
|
|
6265
6265
|
|
|
6266
6266
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
6267
|
-
|
|
6267
|
+
inspectRes,
|
|
6268
6268
|
);
|
|
6269
6269
|
}
|
|
6270
6270
|
export async function getMaxLossPerUnit<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6282,13 +6282,13 @@ export namespace single_collateral {
|
|
|
6282
6282
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
6283
6283
|
const tx = new TransactionBlock();
|
|
6284
6284
|
builder.getMaxLossPerUnit(tx, args, typeArguments);
|
|
6285
|
-
const
|
|
6285
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6286
6286
|
transactionBlock: tx,
|
|
6287
6287
|
sender: ZERO_ADDRESS,
|
|
6288
6288
|
});
|
|
6289
6289
|
|
|
6290
6290
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
6291
|
-
|
|
6291
|
+
inspectRes,
|
|
6292
6292
|
);
|
|
6293
6293
|
}
|
|
6294
6294
|
export async function getUserStatus<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6308,14 +6308,14 @@ export namespace single_collateral {
|
|
|
6308
6308
|
> {
|
|
6309
6309
|
const tx = new TransactionBlock();
|
|
6310
6310
|
builder.getUserStatus(tx, args, typeArguments);
|
|
6311
|
-
const
|
|
6311
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6312
6312
|
transactionBlock: tx,
|
|
6313
6313
|
sender: ZERO_ADDRESS,
|
|
6314
6314
|
});
|
|
6315
6315
|
|
|
6316
6316
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
6317
6317
|
[single_collateral.GetUserStatusResult]
|
|
6318
|
-
>(
|
|
6318
|
+
>(inspectRes);
|
|
6319
6319
|
}
|
|
6320
6320
|
export async function harvest<T0 = any, T1 = any, T2 = any>(
|
|
6321
6321
|
client: SuiClient,
|
|
@@ -6332,13 +6332,13 @@ export namespace single_collateral {
|
|
|
6332
6332
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6333
6333
|
const tx = new TransactionBlock();
|
|
6334
6334
|
builder.harvest(tx, args, typeArguments);
|
|
6335
|
-
const
|
|
6335
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6336
6336
|
transactionBlock: tx,
|
|
6337
6337
|
sender: ZERO_ADDRESS,
|
|
6338
6338
|
});
|
|
6339
6339
|
|
|
6340
6340
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6341
|
-
|
|
6341
|
+
inspectRes,
|
|
6342
6342
|
);
|
|
6343
6343
|
}
|
|
6344
6344
|
export async function newAuction<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6360,13 +6360,13 @@ export namespace single_collateral {
|
|
|
6360
6360
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6361
6361
|
const tx = new TransactionBlock();
|
|
6362
6362
|
builder.newAuction(tx, args, typeArguments);
|
|
6363
|
-
const
|
|
6363
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6364
6364
|
transactionBlock: tx,
|
|
6365
6365
|
sender: ZERO_ADDRESS,
|
|
6366
6366
|
});
|
|
6367
6367
|
|
|
6368
6368
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6369
|
-
|
|
6369
|
+
inspectRes,
|
|
6370
6370
|
);
|
|
6371
6371
|
}
|
|
6372
6372
|
export async function newBid<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6388,13 +6388,13 @@ export namespace single_collateral {
|
|
|
6388
6388
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6389
6389
|
const tx = new TransactionBlock();
|
|
6390
6390
|
builder.newBid(tx, args, typeArguments);
|
|
6391
|
-
const
|
|
6391
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6392
6392
|
transactionBlock: tx,
|
|
6393
6393
|
sender: ZERO_ADDRESS,
|
|
6394
6394
|
});
|
|
6395
6395
|
|
|
6396
6396
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6397
|
-
|
|
6397
|
+
inspectRes,
|
|
6398
6398
|
);
|
|
6399
6399
|
}
|
|
6400
6400
|
export async function newManager(
|
|
@@ -6407,13 +6407,13 @@ export namespace single_collateral {
|
|
|
6407
6407
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6408
6408
|
const tx = new TransactionBlock();
|
|
6409
6409
|
builder.newManager(tx, args);
|
|
6410
|
-
const
|
|
6410
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6411
6411
|
transactionBlock: tx,
|
|
6412
6412
|
sender: ZERO_ADDRESS,
|
|
6413
6413
|
});
|
|
6414
6414
|
|
|
6415
6415
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6416
|
-
|
|
6416
|
+
inspectRes,
|
|
6417
6417
|
);
|
|
6418
6418
|
}
|
|
6419
6419
|
export async function newPortfolioVault<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6452,13 +6452,13 @@ export namespace single_collateral {
|
|
|
6452
6452
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6453
6453
|
const tx = new TransactionBlock();
|
|
6454
6454
|
builder.newPortfolioVault(tx, args, typeArguments);
|
|
6455
|
-
const
|
|
6455
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6456
6456
|
transactionBlock: tx,
|
|
6457
6457
|
sender: ZERO_ADDRESS,
|
|
6458
6458
|
});
|
|
6459
6459
|
|
|
6460
6460
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6461
|
-
|
|
6461
|
+
inspectRes,
|
|
6462
6462
|
);
|
|
6463
6463
|
}
|
|
6464
6464
|
export async function removeAuthorizedUser(
|
|
@@ -6472,13 +6472,13 @@ export namespace single_collateral {
|
|
|
6472
6472
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6473
6473
|
const tx = new TransactionBlock();
|
|
6474
6474
|
builder.removeAuthorizedUser(tx, args);
|
|
6475
|
-
const
|
|
6475
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6476
6476
|
transactionBlock: tx,
|
|
6477
6477
|
sender: ZERO_ADDRESS,
|
|
6478
6478
|
});
|
|
6479
6479
|
|
|
6480
6480
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6481
|
-
|
|
6481
|
+
inspectRes,
|
|
6482
6482
|
);
|
|
6483
6483
|
}
|
|
6484
6484
|
export async function removeManager(
|
|
@@ -6490,13 +6490,13 @@ export namespace single_collateral {
|
|
|
6490
6490
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6491
6491
|
const tx = new TransactionBlock();
|
|
6492
6492
|
builder.removeManager(tx, args);
|
|
6493
|
-
const
|
|
6493
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6494
6494
|
transactionBlock: tx,
|
|
6495
6495
|
sender: ZERO_ADDRESS,
|
|
6496
6496
|
});
|
|
6497
6497
|
|
|
6498
6498
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6499
|
-
|
|
6499
|
+
inspectRes,
|
|
6500
6500
|
);
|
|
6501
6501
|
}
|
|
6502
6502
|
export async function removePortfolioVaultAuthorizedUser<
|
|
@@ -6520,13 +6520,13 @@ export namespace single_collateral {
|
|
|
6520
6520
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6521
6521
|
const tx = new TransactionBlock();
|
|
6522
6522
|
builder.removePortfolioVaultAuthorizedUser(tx, args, typeArguments);
|
|
6523
|
-
const
|
|
6523
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6524
6524
|
transactionBlock: tx,
|
|
6525
6525
|
sender: ZERO_ADDRESS,
|
|
6526
6526
|
});
|
|
6527
6527
|
|
|
6528
6528
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6529
|
-
|
|
6529
|
+
inspectRes,
|
|
6530
6530
|
);
|
|
6531
6531
|
}
|
|
6532
6532
|
export async function terminateAuction<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6546,13 +6546,13 @@ export namespace single_collateral {
|
|
|
6546
6546
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6547
6547
|
const tx = new TransactionBlock();
|
|
6548
6548
|
builder.terminateAuction(tx, args, typeArguments);
|
|
6549
|
-
const
|
|
6549
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6550
6550
|
transactionBlock: tx,
|
|
6551
6551
|
sender: ZERO_ADDRESS,
|
|
6552
6552
|
});
|
|
6553
6553
|
|
|
6554
6554
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6555
|
-
|
|
6555
|
+
inspectRes,
|
|
6556
6556
|
);
|
|
6557
6557
|
}
|
|
6558
6558
|
export async function terminateVault<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6572,13 +6572,13 @@ export namespace single_collateral {
|
|
|
6572
6572
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6573
6573
|
const tx = new TransactionBlock();
|
|
6574
6574
|
builder.terminateVault(tx, args, typeArguments);
|
|
6575
|
-
const
|
|
6575
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6576
6576
|
transactionBlock: tx,
|
|
6577
6577
|
sender: ZERO_ADDRESS,
|
|
6578
6578
|
});
|
|
6579
6579
|
|
|
6580
6580
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6581
|
-
|
|
6581
|
+
inspectRes,
|
|
6582
6582
|
);
|
|
6583
6583
|
}
|
|
6584
6584
|
export async function unsubscribe<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6597,13 +6597,13 @@ export namespace single_collateral {
|
|
|
6597
6597
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6598
6598
|
const tx = new TransactionBlock();
|
|
6599
6599
|
builder.unsubscribe(tx, args, typeArguments);
|
|
6600
|
-
const
|
|
6600
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6601
6601
|
transactionBlock: tx,
|
|
6602
6602
|
sender: ZERO_ADDRESS,
|
|
6603
6603
|
});
|
|
6604
6604
|
|
|
6605
6605
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6606
|
-
|
|
6606
|
+
inspectRes,
|
|
6607
6607
|
);
|
|
6608
6608
|
}
|
|
6609
6609
|
export async function updateActiveVaultConfig<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6627,13 +6627,13 @@ export namespace single_collateral {
|
|
|
6627
6627
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6628
6628
|
const tx = new TransactionBlock();
|
|
6629
6629
|
builder.updateActiveVaultConfig(tx, args, typeArguments);
|
|
6630
|
-
const
|
|
6630
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6631
6631
|
transactionBlock: tx,
|
|
6632
6632
|
sender: ZERO_ADDRESS,
|
|
6633
6633
|
});
|
|
6634
6634
|
|
|
6635
6635
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6636
|
-
|
|
6636
|
+
inspectRes,
|
|
6637
6637
|
);
|
|
6638
6638
|
}
|
|
6639
6639
|
export async function updateCapacity<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6653,13 +6653,13 @@ export namespace single_collateral {
|
|
|
6653
6653
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6654
6654
|
const tx = new TransactionBlock();
|
|
6655
6655
|
builder.updateCapacity(tx, args, typeArguments);
|
|
6656
|
-
const
|
|
6656
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6657
6657
|
transactionBlock: tx,
|
|
6658
6658
|
sender: ZERO_ADDRESS,
|
|
6659
6659
|
});
|
|
6660
6660
|
|
|
6661
6661
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6662
|
-
|
|
6662
|
+
inspectRes,
|
|
6663
6663
|
);
|
|
6664
6664
|
}
|
|
6665
6665
|
export async function updateRestrictActivationTimePeriod(
|
|
@@ -6674,13 +6674,13 @@ export namespace single_collateral {
|
|
|
6674
6674
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6675
6675
|
const tx = new TransactionBlock();
|
|
6676
6676
|
builder.updateRestrictActivationTimePeriod(tx, args);
|
|
6677
|
-
const
|
|
6677
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6678
6678
|
transactionBlock: tx,
|
|
6679
6679
|
sender: ZERO_ADDRESS,
|
|
6680
6680
|
});
|
|
6681
6681
|
|
|
6682
6682
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6683
|
-
|
|
6683
|
+
inspectRes,
|
|
6684
6684
|
);
|
|
6685
6685
|
}
|
|
6686
6686
|
export async function updateUpcomingVaultConfig<
|
|
@@ -6711,13 +6711,13 @@ export namespace single_collateral {
|
|
|
6711
6711
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6712
6712
|
const tx = new TransactionBlock();
|
|
6713
6713
|
builder.updateUpcomingVaultConfig(tx, args, typeArguments);
|
|
6714
|
-
const
|
|
6714
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6715
6715
|
transactionBlock: tx,
|
|
6716
6716
|
sender: ZERO_ADDRESS,
|
|
6717
6717
|
});
|
|
6718
6718
|
|
|
6719
6719
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6720
|
-
|
|
6720
|
+
inspectRes,
|
|
6721
6721
|
);
|
|
6722
6722
|
}
|
|
6723
6723
|
export async function updateWarmupVaultConfig<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6741,13 +6741,13 @@ export namespace single_collateral {
|
|
|
6741
6741
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6742
6742
|
const tx = new TransactionBlock();
|
|
6743
6743
|
builder.updateWarmupVaultConfig(tx, args, typeArguments);
|
|
6744
|
-
const
|
|
6744
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6745
6745
|
transactionBlock: tx,
|
|
6746
6746
|
sender: ZERO_ADDRESS,
|
|
6747
6747
|
});
|
|
6748
6748
|
|
|
6749
6749
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6750
|
-
|
|
6750
|
+
inspectRes,
|
|
6751
6751
|
);
|
|
6752
6752
|
}
|
|
6753
6753
|
export async function withdraw<T0 = any, T1 = any, T2 = any>(
|
|
@@ -6766,13 +6766,13 @@ export namespace single_collateral {
|
|
|
6766
6766
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6767
6767
|
const tx = new TransactionBlock();
|
|
6768
6768
|
builder.withdraw(tx, args, typeArguments);
|
|
6769
|
-
const
|
|
6769
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6770
6770
|
transactionBlock: tx,
|
|
6771
6771
|
sender: ZERO_ADDRESS,
|
|
6772
6772
|
});
|
|
6773
6773
|
|
|
6774
6774
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6775
|
-
|
|
6775
|
+
inspectRes,
|
|
6776
6776
|
);
|
|
6777
6777
|
}
|
|
6778
6778
|
}
|
|
@@ -6870,14 +6870,14 @@ export namespace utils {
|
|
|
6870
6870
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<T0>]>> {
|
|
6871
6871
|
const tx = new TransactionBlock();
|
|
6872
6872
|
builder.extractBalance(tx, args, typeArguments);
|
|
6873
|
-
const
|
|
6873
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6874
6874
|
transactionBlock: tx,
|
|
6875
6875
|
sender: ZERO_ADDRESS,
|
|
6876
6876
|
});
|
|
6877
6877
|
|
|
6878
6878
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
6879
6879
|
[_0x2.balance.Balance<T0>]
|
|
6880
|
-
>(
|
|
6880
|
+
>(inspectRes);
|
|
6881
6881
|
}
|
|
6882
6882
|
export async function getDateFromTs(
|
|
6883
6883
|
client: SuiClient,
|
|
@@ -6885,14 +6885,14 @@ export namespace utils {
|
|
|
6885
6885
|
): Promise<TypedDevInspectResults<[bigint, bigint, bigint]>> {
|
|
6886
6886
|
const tx = new TransactionBlock();
|
|
6887
6887
|
builder.getDateFromTs(tx, args);
|
|
6888
|
-
const
|
|
6888
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6889
6889
|
transactionBlock: tx,
|
|
6890
6890
|
sender: ZERO_ADDRESS,
|
|
6891
6891
|
});
|
|
6892
6892
|
|
|
6893
6893
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
6894
6894
|
[bigint, bigint, bigint]
|
|
6895
|
-
>(
|
|
6895
|
+
>(inspectRes);
|
|
6896
6896
|
}
|
|
6897
6897
|
export async function matchTypes<T0 = any, T1 = any>(
|
|
6898
6898
|
client: SuiClient,
|
|
@@ -6901,13 +6901,13 @@ export namespace utils {
|
|
|
6901
6901
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
6902
6902
|
const tx = new TransactionBlock();
|
|
6903
6903
|
builder.matchTypes(tx, args, typeArguments);
|
|
6904
|
-
const
|
|
6904
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6905
6905
|
transactionBlock: tx,
|
|
6906
6906
|
sender: ZERO_ADDRESS,
|
|
6907
6907
|
});
|
|
6908
6908
|
|
|
6909
6909
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
6910
|
-
|
|
6910
|
+
inspectRes,
|
|
6911
6911
|
);
|
|
6912
6912
|
}
|
|
6913
6913
|
export async function multiplier(
|
|
@@ -6916,13 +6916,13 @@ export namespace utils {
|
|
|
6916
6916
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
6917
6917
|
const tx = new TransactionBlock();
|
|
6918
6918
|
builder.multiplier(tx, args);
|
|
6919
|
-
const
|
|
6919
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6920
6920
|
transactionBlock: tx,
|
|
6921
6921
|
sender: ZERO_ADDRESS,
|
|
6922
6922
|
});
|
|
6923
6923
|
|
|
6924
6924
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
6925
|
-
|
|
6925
|
+
inspectRes,
|
|
6926
6926
|
);
|
|
6927
6927
|
}
|
|
6928
6928
|
}
|
|
@@ -9126,13 +9126,13 @@ export namespace vault {
|
|
|
9126
9126
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9127
9127
|
const tx = new TransactionBlock();
|
|
9128
9128
|
builder.activate(tx, args, typeArguments);
|
|
9129
|
-
const
|
|
9129
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9130
9130
|
transactionBlock: tx,
|
|
9131
9131
|
sender: ZERO_ADDRESS,
|
|
9132
9132
|
});
|
|
9133
9133
|
|
|
9134
9134
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
9135
|
-
|
|
9135
|
+
inspectRes,
|
|
9136
9136
|
);
|
|
9137
9137
|
}
|
|
9138
9138
|
export async function activeBalance<T0 = any, T1 = any>(
|
|
@@ -9142,13 +9142,13 @@ export namespace vault {
|
|
|
9142
9142
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9143
9143
|
const tx = new TransactionBlock();
|
|
9144
9144
|
builder.activeBalance(tx, args, typeArguments);
|
|
9145
|
-
const
|
|
9145
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9146
9146
|
transactionBlock: tx,
|
|
9147
9147
|
sender: ZERO_ADDRESS,
|
|
9148
9148
|
});
|
|
9149
9149
|
|
|
9150
9150
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9151
|
-
|
|
9151
|
+
inspectRes,
|
|
9152
9152
|
);
|
|
9153
9153
|
}
|
|
9154
9154
|
export async function activeShareSupply<T0 = any, T1 = any>(
|
|
@@ -9158,13 +9158,13 @@ export namespace vault {
|
|
|
9158
9158
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9159
9159
|
const tx = new TransactionBlock();
|
|
9160
9160
|
builder.activeShareSupply(tx, args, typeArguments);
|
|
9161
|
-
const
|
|
9161
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9162
9162
|
transactionBlock: tx,
|
|
9163
9163
|
sender: ZERO_ADDRESS,
|
|
9164
9164
|
});
|
|
9165
9165
|
|
|
9166
9166
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9167
|
-
|
|
9167
|
+
inspectRes,
|
|
9168
9168
|
);
|
|
9169
9169
|
}
|
|
9170
9170
|
export async function activeUserShares<T0 = any, T1 = any>(
|
|
@@ -9174,13 +9174,13 @@ export namespace vault {
|
|
|
9174
9174
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9175
9175
|
const tx = new TransactionBlock();
|
|
9176
9176
|
builder.activeUserShares(tx, args, typeArguments);
|
|
9177
|
-
const
|
|
9177
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9178
9178
|
transactionBlock: tx,
|
|
9179
9179
|
sender: ZERO_ADDRESS,
|
|
9180
9180
|
});
|
|
9181
9181
|
|
|
9182
9182
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
9183
|
-
|
|
9183
|
+
inspectRes,
|
|
9184
9184
|
);
|
|
9185
9185
|
}
|
|
9186
9186
|
export async function bidderBalance<T0 = any, T1 = any>(
|
|
@@ -9190,13 +9190,13 @@ export namespace vault {
|
|
|
9190
9190
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9191
9191
|
const tx = new TransactionBlock();
|
|
9192
9192
|
builder.bidderBalance(tx, args, typeArguments);
|
|
9193
|
-
const
|
|
9193
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9194
9194
|
transactionBlock: tx,
|
|
9195
9195
|
sender: ZERO_ADDRESS,
|
|
9196
9196
|
});
|
|
9197
9197
|
|
|
9198
9198
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9199
|
-
|
|
9199
|
+
inspectRes,
|
|
9200
9200
|
);
|
|
9201
9201
|
}
|
|
9202
9202
|
export async function bidderShareSupply<T0 = any, T1 = any>(
|
|
@@ -9206,13 +9206,13 @@ export namespace vault {
|
|
|
9206
9206
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9207
9207
|
const tx = new TransactionBlock();
|
|
9208
9208
|
builder.bidderShareSupply(tx, args, typeArguments);
|
|
9209
|
-
const
|
|
9209
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9210
9210
|
transactionBlock: tx,
|
|
9211
9211
|
sender: ZERO_ADDRESS,
|
|
9212
9212
|
});
|
|
9213
9213
|
|
|
9214
9214
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9215
|
-
|
|
9215
|
+
inspectRes,
|
|
9216
9216
|
);
|
|
9217
9217
|
}
|
|
9218
9218
|
export async function bidderShares<T0 = any, T1 = any>(
|
|
@@ -9222,13 +9222,13 @@ export namespace vault {
|
|
|
9222
9222
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9223
9223
|
const tx = new TransactionBlock();
|
|
9224
9224
|
builder.bidderShares(tx, args, typeArguments);
|
|
9225
|
-
const
|
|
9225
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9226
9226
|
transactionBlock: tx,
|
|
9227
9227
|
sender: ZERO_ADDRESS,
|
|
9228
9228
|
});
|
|
9229
9229
|
|
|
9230
9230
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
9231
|
-
|
|
9231
|
+
inspectRes,
|
|
9232
9232
|
);
|
|
9233
9233
|
}
|
|
9234
9234
|
export async function claim<T0 = any, T1 = any>(
|
|
@@ -9242,14 +9242,14 @@ export namespace vault {
|
|
|
9242
9242
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
9243
9243
|
const tx = new TransactionBlock();
|
|
9244
9244
|
builder.claim(tx, args, typeArguments);
|
|
9245
|
-
const
|
|
9245
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9246
9246
|
transactionBlock: tx,
|
|
9247
9247
|
sender: ZERO_ADDRESS,
|
|
9248
9248
|
});
|
|
9249
9249
|
|
|
9250
9250
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
9251
9251
|
[bigint, bigint]
|
|
9252
|
-
>(
|
|
9252
|
+
>(inspectRes);
|
|
9253
9253
|
}
|
|
9254
9254
|
export async function closeBidVault<T0 = any, T1 = any>(
|
|
9255
9255
|
client: SuiClient,
|
|
@@ -9271,7 +9271,7 @@ export namespace vault {
|
|
|
9271
9271
|
> {
|
|
9272
9272
|
const tx = new TransactionBlock();
|
|
9273
9273
|
builder.closeBidVault(tx, args, typeArguments);
|
|
9274
|
-
const
|
|
9274
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9275
9275
|
transactionBlock: tx,
|
|
9276
9276
|
sender: ZERO_ADDRESS,
|
|
9277
9277
|
});
|
|
@@ -9282,7 +9282,7 @@ export namespace vault {
|
|
|
9282
9282
|
_0x2.vec_map.VecMap<string, bigint>,
|
|
9283
9283
|
_0x2.vec_map.VecMap<string, bigint>,
|
|
9284
9284
|
]
|
|
9285
|
-
>(
|
|
9285
|
+
>(inspectRes);
|
|
9286
9286
|
}
|
|
9287
9287
|
export async function closeDepositVault<T0 = any, T1 = any>(
|
|
9288
9288
|
client: SuiClient,
|
|
@@ -9305,7 +9305,7 @@ export namespace vault {
|
|
|
9305
9305
|
> {
|
|
9306
9306
|
const tx = new TransactionBlock();
|
|
9307
9307
|
builder.closeDepositVault(tx, args, typeArguments);
|
|
9308
|
-
const
|
|
9308
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9309
9309
|
transactionBlock: tx,
|
|
9310
9310
|
sender: ZERO_ADDRESS,
|
|
9311
9311
|
});
|
|
@@ -9317,7 +9317,7 @@ export namespace vault {
|
|
|
9317
9317
|
_0x2.vec_map.VecMap<string, bigint>,
|
|
9318
9318
|
_0x2.vec_map.VecMap<string, bigint>,
|
|
9319
9319
|
]
|
|
9320
|
-
>(
|
|
9320
|
+
>(inspectRes);
|
|
9321
9321
|
}
|
|
9322
9322
|
export async function compound<T0 = any, T1 = any>(
|
|
9323
9323
|
client: SuiClient,
|
|
@@ -9331,13 +9331,13 @@ export namespace vault {
|
|
|
9331
9331
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9332
9332
|
const tx = new TransactionBlock();
|
|
9333
9333
|
builder.compound(tx, args, typeArguments);
|
|
9334
|
-
const
|
|
9334
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9335
9335
|
transactionBlock: tx,
|
|
9336
9336
|
sender: ZERO_ADDRESS,
|
|
9337
9337
|
});
|
|
9338
9338
|
|
|
9339
9339
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9340
|
-
|
|
9340
|
+
inspectRes,
|
|
9341
9341
|
);
|
|
9342
9342
|
}
|
|
9343
9343
|
export async function deactivatingBalance<T0 = any, T1 = any>(
|
|
@@ -9347,13 +9347,13 @@ export namespace vault {
|
|
|
9347
9347
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9348
9348
|
const tx = new TransactionBlock();
|
|
9349
9349
|
builder.deactivatingBalance(tx, args, typeArguments);
|
|
9350
|
-
const
|
|
9350
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9351
9351
|
transactionBlock: tx,
|
|
9352
9352
|
sender: ZERO_ADDRESS,
|
|
9353
9353
|
});
|
|
9354
9354
|
|
|
9355
9355
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9356
|
-
|
|
9356
|
+
inspectRes,
|
|
9357
9357
|
);
|
|
9358
9358
|
}
|
|
9359
9359
|
export async function deactivatingShareSupply<T0 = any, T1 = any>(
|
|
@@ -9363,13 +9363,13 @@ export namespace vault {
|
|
|
9363
9363
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9364
9364
|
const tx = new TransactionBlock();
|
|
9365
9365
|
builder.deactivatingShareSupply(tx, args, typeArguments);
|
|
9366
|
-
const
|
|
9366
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9367
9367
|
transactionBlock: tx,
|
|
9368
9368
|
sender: ZERO_ADDRESS,
|
|
9369
9369
|
});
|
|
9370
9370
|
|
|
9371
9371
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9372
|
-
|
|
9372
|
+
inspectRes,
|
|
9373
9373
|
);
|
|
9374
9374
|
}
|
|
9375
9375
|
export async function deactivatingUserShares<T0 = any, T1 = any>(
|
|
@@ -9379,13 +9379,13 @@ export namespace vault {
|
|
|
9379
9379
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9380
9380
|
const tx = new TransactionBlock();
|
|
9381
9381
|
builder.deactivatingUserShares(tx, args, typeArguments);
|
|
9382
|
-
const
|
|
9382
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9383
9383
|
transactionBlock: tx,
|
|
9384
9384
|
sender: ZERO_ADDRESS,
|
|
9385
9385
|
});
|
|
9386
9386
|
|
|
9387
9387
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
9388
|
-
|
|
9388
|
+
inspectRes,
|
|
9389
9389
|
);
|
|
9390
9390
|
}
|
|
9391
9391
|
export async function delivery<T0 = any, T1 = any, T2 = any>(
|
|
@@ -9408,13 +9408,13 @@ export namespace vault {
|
|
|
9408
9408
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9409
9409
|
const tx = new TransactionBlock();
|
|
9410
9410
|
builder.delivery(tx, args, typeArguments);
|
|
9411
|
-
const
|
|
9411
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9412
9412
|
transactionBlock: tx,
|
|
9413
9413
|
sender: ZERO_ADDRESS,
|
|
9414
9414
|
});
|
|
9415
9415
|
|
|
9416
9416
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
9417
|
-
|
|
9417
|
+
inspectRes,
|
|
9418
9418
|
);
|
|
9419
9419
|
}
|
|
9420
9420
|
export async function deliveryMultiple<
|
|
@@ -9444,13 +9444,13 @@ export namespace vault {
|
|
|
9444
9444
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9445
9445
|
const tx = new TransactionBlock();
|
|
9446
9446
|
builder.deliveryMultiple(tx, args, typeArguments);
|
|
9447
|
-
const
|
|
9447
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9448
9448
|
transactionBlock: tx,
|
|
9449
9449
|
sender: ZERO_ADDRESS,
|
|
9450
9450
|
});
|
|
9451
9451
|
|
|
9452
9452
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
9453
|
-
|
|
9453
|
+
inspectRes,
|
|
9454
9454
|
);
|
|
9455
9455
|
}
|
|
9456
9456
|
export async function deposit<T0 = any, T1 = any>(
|
|
@@ -9467,13 +9467,13 @@ export namespace vault {
|
|
|
9467
9467
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9468
9468
|
const tx = new TransactionBlock();
|
|
9469
9469
|
builder.deposit(tx, args, typeArguments);
|
|
9470
|
-
const
|
|
9470
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9471
9471
|
transactionBlock: tx,
|
|
9472
9472
|
sender: ZERO_ADDRESS,
|
|
9473
9473
|
});
|
|
9474
9474
|
|
|
9475
9475
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9476
|
-
|
|
9476
|
+
inspectRes,
|
|
9477
9477
|
);
|
|
9478
9478
|
}
|
|
9479
9479
|
export async function getActiveUserShare<T0 = any, T1 = any>(
|
|
@@ -9487,13 +9487,13 @@ export namespace vault {
|
|
|
9487
9487
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9488
9488
|
const tx = new TransactionBlock();
|
|
9489
9489
|
builder.getActiveUserShare(tx, args, typeArguments);
|
|
9490
|
-
const
|
|
9490
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9491
9491
|
transactionBlock: tx,
|
|
9492
9492
|
sender: ZERO_ADDRESS,
|
|
9493
9493
|
});
|
|
9494
9494
|
|
|
9495
9495
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9496
|
-
|
|
9496
|
+
inspectRes,
|
|
9497
9497
|
);
|
|
9498
9498
|
}
|
|
9499
9499
|
export async function getBidVaultBalance<T0 = any, T1 = any>(
|
|
@@ -9503,14 +9503,14 @@ export namespace vault {
|
|
|
9503
9503
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
9504
9504
|
const tx = new TransactionBlock();
|
|
9505
9505
|
builder.getBidVaultBalance(tx, args, typeArguments);
|
|
9506
|
-
const
|
|
9506
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9507
9507
|
transactionBlock: tx,
|
|
9508
9508
|
sender: ZERO_ADDRESS,
|
|
9509
9509
|
});
|
|
9510
9510
|
|
|
9511
9511
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
9512
9512
|
[bigint, bigint]
|
|
9513
|
-
>(
|
|
9513
|
+
>(inspectRes);
|
|
9514
9514
|
}
|
|
9515
9515
|
export async function getBidVaultShareSupply<T0 = any, T1 = any>(
|
|
9516
9516
|
client: SuiClient,
|
|
@@ -9519,14 +9519,14 @@ export namespace vault {
|
|
|
9519
9519
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
9520
9520
|
const tx = new TransactionBlock();
|
|
9521
9521
|
builder.getBidVaultShareSupply(tx, args, typeArguments);
|
|
9522
|
-
const
|
|
9522
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9523
9523
|
transactionBlock: tx,
|
|
9524
9524
|
sender: ZERO_ADDRESS,
|
|
9525
9525
|
});
|
|
9526
9526
|
|
|
9527
9527
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
9528
9528
|
[bigint, bigint]
|
|
9529
|
-
>(
|
|
9529
|
+
>(inspectRes);
|
|
9530
9530
|
}
|
|
9531
9531
|
export async function getBidderUserShare<T0 = any, T1 = any>(
|
|
9532
9532
|
client: SuiClient,
|
|
@@ -9539,13 +9539,13 @@ export namespace vault {
|
|
|
9539
9539
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9540
9540
|
const tx = new TransactionBlock();
|
|
9541
9541
|
builder.getBidderUserShare(tx, args, typeArguments);
|
|
9542
|
-
const
|
|
9542
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9543
9543
|
transactionBlock: tx,
|
|
9544
9544
|
sender: ZERO_ADDRESS,
|
|
9545
9545
|
});
|
|
9546
9546
|
|
|
9547
9547
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9548
|
-
|
|
9548
|
+
inspectRes,
|
|
9549
9549
|
);
|
|
9550
9550
|
}
|
|
9551
9551
|
export async function getDeactivatingUserShare<T0 = any, T1 = any>(
|
|
@@ -9559,13 +9559,13 @@ export namespace vault {
|
|
|
9559
9559
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9560
9560
|
const tx = new TransactionBlock();
|
|
9561
9561
|
builder.getDeactivatingUserShare(tx, args, typeArguments);
|
|
9562
|
-
const
|
|
9562
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9563
9563
|
transactionBlock: tx,
|
|
9564
9564
|
sender: ZERO_ADDRESS,
|
|
9565
9565
|
});
|
|
9566
9566
|
|
|
9567
9567
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9568
|
-
|
|
9568
|
+
inspectRes,
|
|
9569
9569
|
);
|
|
9570
9570
|
}
|
|
9571
9571
|
export async function getDepositVaultBalance<T0 = any, T1 = any>(
|
|
@@ -9575,14 +9575,14 @@ export namespace vault {
|
|
|
9575
9575
|
): Promise<TypedDevInspectResults<[bigint, bigint, bigint, bigint]>> {
|
|
9576
9576
|
const tx = new TransactionBlock();
|
|
9577
9577
|
builder.getDepositVaultBalance(tx, args, typeArguments);
|
|
9578
|
-
const
|
|
9578
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9579
9579
|
transactionBlock: tx,
|
|
9580
9580
|
sender: ZERO_ADDRESS,
|
|
9581
9581
|
});
|
|
9582
9582
|
|
|
9583
9583
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
9584
9584
|
[bigint, bigint, bigint, bigint]
|
|
9585
|
-
>(
|
|
9585
|
+
>(inspectRes);
|
|
9586
9586
|
}
|
|
9587
9587
|
export async function getDepositVaultShareSupply<T0 = any, T1 = any>(
|
|
9588
9588
|
client: SuiClient,
|
|
@@ -9591,14 +9591,14 @@ export namespace vault {
|
|
|
9591
9591
|
): Promise<TypedDevInspectResults<[bigint, bigint, bigint, bigint]>> {
|
|
9592
9592
|
const tx = new TransactionBlock();
|
|
9593
9593
|
builder.getDepositVaultShareSupply(tx, args, typeArguments);
|
|
9594
|
-
const
|
|
9594
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9595
9595
|
transactionBlock: tx,
|
|
9596
9596
|
sender: ZERO_ADDRESS,
|
|
9597
9597
|
});
|
|
9598
9598
|
|
|
9599
9599
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
9600
9600
|
[bigint, bigint, bigint, bigint]
|
|
9601
|
-
>(
|
|
9601
|
+
>(inspectRes);
|
|
9602
9602
|
}
|
|
9603
9603
|
export async function getInactiveUserShare<T0 = any, T1 = any>(
|
|
9604
9604
|
client: SuiClient,
|
|
@@ -9611,13 +9611,13 @@ export namespace vault {
|
|
|
9611
9611
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9612
9612
|
const tx = new TransactionBlock();
|
|
9613
9613
|
builder.getInactiveUserShare(tx, args, typeArguments);
|
|
9614
|
-
const
|
|
9614
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9615
9615
|
transactionBlock: tx,
|
|
9616
9616
|
sender: ZERO_ADDRESS,
|
|
9617
9617
|
});
|
|
9618
9618
|
|
|
9619
9619
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9620
|
-
|
|
9620
|
+
inspectRes,
|
|
9621
9621
|
);
|
|
9622
9622
|
}
|
|
9623
9623
|
export async function getPerformanceFeeUserShare<T0 = any, T1 = any>(
|
|
@@ -9631,13 +9631,13 @@ export namespace vault {
|
|
|
9631
9631
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9632
9632
|
const tx = new TransactionBlock();
|
|
9633
9633
|
builder.getPerformanceFeeUserShare(tx, args, typeArguments);
|
|
9634
|
-
const
|
|
9634
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9635
9635
|
transactionBlock: tx,
|
|
9636
9636
|
sender: ZERO_ADDRESS,
|
|
9637
9637
|
});
|
|
9638
9638
|
|
|
9639
9639
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9640
|
-
|
|
9640
|
+
inspectRes,
|
|
9641
9641
|
);
|
|
9642
9642
|
}
|
|
9643
9643
|
export async function getPremiumUserShare<T0 = any, T1 = any>(
|
|
@@ -9651,13 +9651,13 @@ export namespace vault {
|
|
|
9651
9651
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9652
9652
|
const tx = new TransactionBlock();
|
|
9653
9653
|
builder.getPremiumUserShare(tx, args, typeArguments);
|
|
9654
|
-
const
|
|
9654
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9655
9655
|
transactionBlock: tx,
|
|
9656
9656
|
sender: ZERO_ADDRESS,
|
|
9657
9657
|
});
|
|
9658
9658
|
|
|
9659
9659
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9660
|
-
|
|
9660
|
+
inspectRes,
|
|
9661
9661
|
);
|
|
9662
9662
|
}
|
|
9663
9663
|
export async function getWarmupUserShare<T0 = any, T1 = any>(
|
|
@@ -9671,13 +9671,13 @@ export namespace vault {
|
|
|
9671
9671
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9672
9672
|
const tx = new TransactionBlock();
|
|
9673
9673
|
builder.getWarmupUserShare(tx, args, typeArguments);
|
|
9674
|
-
const
|
|
9674
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9675
9675
|
transactionBlock: tx,
|
|
9676
9676
|
sender: ZERO_ADDRESS,
|
|
9677
9677
|
});
|
|
9678
9678
|
|
|
9679
9679
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9680
|
-
|
|
9680
|
+
inspectRes,
|
|
9681
9681
|
);
|
|
9682
9682
|
}
|
|
9683
9683
|
export async function harvest<T0 = any, T1 = any>(
|
|
@@ -9691,14 +9691,14 @@ export namespace vault {
|
|
|
9691
9691
|
): Promise<TypedDevInspectResults<[bigint, bigint]>> {
|
|
9692
9692
|
const tx = new TransactionBlock();
|
|
9693
9693
|
builder.harvest(tx, args, typeArguments);
|
|
9694
|
-
const
|
|
9694
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9695
9695
|
transactionBlock: tx,
|
|
9696
9696
|
sender: ZERO_ADDRESS,
|
|
9697
9697
|
});
|
|
9698
9698
|
|
|
9699
9699
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
9700
9700
|
[bigint, bigint]
|
|
9701
|
-
>(
|
|
9701
|
+
>(inspectRes);
|
|
9702
9702
|
}
|
|
9703
9703
|
export async function hasNext<T0 = any, T1 = any>(
|
|
9704
9704
|
client: SuiClient,
|
|
@@ -9707,13 +9707,13 @@ export namespace vault {
|
|
|
9707
9707
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
9708
9708
|
const tx = new TransactionBlock();
|
|
9709
9709
|
builder.hasNext(tx, args, typeArguments);
|
|
9710
|
-
const
|
|
9710
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9711
9711
|
transactionBlock: tx,
|
|
9712
9712
|
sender: ZERO_ADDRESS,
|
|
9713
9713
|
});
|
|
9714
9714
|
|
|
9715
9715
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
9716
|
-
|
|
9716
|
+
inspectRes,
|
|
9717
9717
|
);
|
|
9718
9718
|
}
|
|
9719
9719
|
export async function inactiveBalance<T0 = any, T1 = any>(
|
|
@@ -9723,13 +9723,13 @@ export namespace vault {
|
|
|
9723
9723
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9724
9724
|
const tx = new TransactionBlock();
|
|
9725
9725
|
builder.inactiveBalance(tx, args, typeArguments);
|
|
9726
|
-
const
|
|
9726
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9727
9727
|
transactionBlock: tx,
|
|
9728
9728
|
sender: ZERO_ADDRESS,
|
|
9729
9729
|
});
|
|
9730
9730
|
|
|
9731
9731
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9732
|
-
|
|
9732
|
+
inspectRes,
|
|
9733
9733
|
);
|
|
9734
9734
|
}
|
|
9735
9735
|
export async function inactiveShareSupply<T0 = any, T1 = any>(
|
|
@@ -9739,13 +9739,13 @@ export namespace vault {
|
|
|
9739
9739
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9740
9740
|
const tx = new TransactionBlock();
|
|
9741
9741
|
builder.inactiveShareSupply(tx, args, typeArguments);
|
|
9742
|
-
const
|
|
9742
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9743
9743
|
transactionBlock: tx,
|
|
9744
9744
|
sender: ZERO_ADDRESS,
|
|
9745
9745
|
});
|
|
9746
9746
|
|
|
9747
9747
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9748
|
-
|
|
9748
|
+
inspectRes,
|
|
9749
9749
|
);
|
|
9750
9750
|
}
|
|
9751
9751
|
export async function inactiveUserShares<T0 = any, T1 = any>(
|
|
@@ -9755,13 +9755,13 @@ export namespace vault {
|
|
|
9755
9755
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9756
9756
|
const tx = new TransactionBlock();
|
|
9757
9757
|
builder.inactiveUserShares(tx, args, typeArguments);
|
|
9758
|
-
const
|
|
9758
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9759
9759
|
transactionBlock: tx,
|
|
9760
9760
|
sender: ZERO_ADDRESS,
|
|
9761
9761
|
});
|
|
9762
9762
|
|
|
9763
9763
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
9764
|
-
|
|
9764
|
+
inspectRes,
|
|
9765
9765
|
);
|
|
9766
9766
|
}
|
|
9767
9767
|
export async function isActiveUser<T0 = any, T1 = any>(
|
|
@@ -9775,13 +9775,13 @@ export namespace vault {
|
|
|
9775
9775
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
9776
9776
|
const tx = new TransactionBlock();
|
|
9777
9777
|
builder.isActiveUser(tx, args, typeArguments);
|
|
9778
|
-
const
|
|
9778
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9779
9779
|
transactionBlock: tx,
|
|
9780
9780
|
sender: ZERO_ADDRESS,
|
|
9781
9781
|
});
|
|
9782
9782
|
|
|
9783
9783
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
9784
|
-
|
|
9784
|
+
inspectRes,
|
|
9785
9785
|
);
|
|
9786
9786
|
}
|
|
9787
9787
|
export async function isDeactivatingUser<T0 = any, T1 = any>(
|
|
@@ -9795,13 +9795,13 @@ export namespace vault {
|
|
|
9795
9795
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
9796
9796
|
const tx = new TransactionBlock();
|
|
9797
9797
|
builder.isDeactivatingUser(tx, args, typeArguments);
|
|
9798
|
-
const
|
|
9798
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9799
9799
|
transactionBlock: tx,
|
|
9800
9800
|
sender: ZERO_ADDRESS,
|
|
9801
9801
|
});
|
|
9802
9802
|
|
|
9803
9803
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
9804
|
-
|
|
9804
|
+
inspectRes,
|
|
9805
9805
|
);
|
|
9806
9806
|
}
|
|
9807
9807
|
export async function isInactiveUser<T0 = any, T1 = any>(
|
|
@@ -9815,13 +9815,13 @@ export namespace vault {
|
|
|
9815
9815
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
9816
9816
|
const tx = new TransactionBlock();
|
|
9817
9817
|
builder.isInactiveUser(tx, args, typeArguments);
|
|
9818
|
-
const
|
|
9818
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9819
9819
|
transactionBlock: tx,
|
|
9820
9820
|
sender: ZERO_ADDRESS,
|
|
9821
9821
|
});
|
|
9822
9822
|
|
|
9823
9823
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
9824
|
-
|
|
9824
|
+
inspectRes,
|
|
9825
9825
|
);
|
|
9826
9826
|
}
|
|
9827
9827
|
export async function isWarmupUser<T0 = any, T1 = any>(
|
|
@@ -9835,13 +9835,13 @@ export namespace vault {
|
|
|
9835
9835
|
): Promise<TypedDevInspectResults<[Boolean]>> {
|
|
9836
9836
|
const tx = new TransactionBlock();
|
|
9837
9837
|
builder.isWarmupUser(tx, args, typeArguments);
|
|
9838
|
-
const
|
|
9838
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9839
9839
|
transactionBlock: tx,
|
|
9840
9840
|
sender: ZERO_ADDRESS,
|
|
9841
9841
|
});
|
|
9842
9842
|
|
|
9843
9843
|
return (await getMoveCoder(client)).decodeDevInspectResult<[Boolean]>(
|
|
9844
|
-
|
|
9844
|
+
inspectRes,
|
|
9845
9845
|
);
|
|
9846
9846
|
}
|
|
9847
9847
|
export async function newBidVault<T0 = any, T1 = any>(
|
|
@@ -9855,14 +9855,14 @@ export namespace vault {
|
|
|
9855
9855
|
): Promise<TypedDevInspectResults<[vault.BidVault<T0, T1>]>> {
|
|
9856
9856
|
const tx = new TransactionBlock();
|
|
9857
9857
|
builder.newBidVault(tx, args, typeArguments);
|
|
9858
|
-
const
|
|
9858
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9859
9859
|
transactionBlock: tx,
|
|
9860
9860
|
sender: ZERO_ADDRESS,
|
|
9861
9861
|
});
|
|
9862
9862
|
|
|
9863
9863
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
9864
9864
|
[vault.BidVault<T0, T1>]
|
|
9865
|
-
>(
|
|
9865
|
+
>(inspectRes);
|
|
9866
9866
|
}
|
|
9867
9867
|
export async function newDepositVault<T0 = any, T1 = any>(
|
|
9868
9868
|
client: SuiClient,
|
|
@@ -9875,14 +9875,14 @@ export namespace vault {
|
|
|
9875
9875
|
): Promise<TypedDevInspectResults<[vault.DepositVault<T0, T1>]>> {
|
|
9876
9876
|
const tx = new TransactionBlock();
|
|
9877
9877
|
builder.newDepositVault(tx, args, typeArguments);
|
|
9878
|
-
const
|
|
9878
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9879
9879
|
transactionBlock: tx,
|
|
9880
9880
|
sender: ZERO_ADDRESS,
|
|
9881
9881
|
});
|
|
9882
9882
|
|
|
9883
9883
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
9884
9884
|
[vault.DepositVault<T0, T1>]
|
|
9885
|
-
>(
|
|
9885
|
+
>(inspectRes);
|
|
9886
9886
|
}
|
|
9887
9887
|
export async function newUserShareRegistry(
|
|
9888
9888
|
client: SuiClient,
|
|
@@ -9890,14 +9890,14 @@ export namespace vault {
|
|
|
9890
9890
|
): Promise<TypedDevInspectResults<[vault.UserShareRegistry]>> {
|
|
9891
9891
|
const tx = new TransactionBlock();
|
|
9892
9892
|
builder.newUserShareRegistry(tx, args);
|
|
9893
|
-
const
|
|
9893
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9894
9894
|
transactionBlock: tx,
|
|
9895
9895
|
sender: ZERO_ADDRESS,
|
|
9896
9896
|
});
|
|
9897
9897
|
|
|
9898
9898
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
9899
9899
|
[vault.UserShareRegistry]
|
|
9900
|
-
>(
|
|
9900
|
+
>(inspectRes);
|
|
9901
9901
|
}
|
|
9902
9902
|
export async function performanceFeeBalance<T0 = any, T1 = any>(
|
|
9903
9903
|
client: SuiClient,
|
|
@@ -9906,13 +9906,13 @@ export namespace vault {
|
|
|
9906
9906
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9907
9907
|
const tx = new TransactionBlock();
|
|
9908
9908
|
builder.performanceFeeBalance(tx, args, typeArguments);
|
|
9909
|
-
const
|
|
9909
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9910
9910
|
transactionBlock: tx,
|
|
9911
9911
|
sender: ZERO_ADDRESS,
|
|
9912
9912
|
});
|
|
9913
9913
|
|
|
9914
9914
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9915
|
-
|
|
9915
|
+
inspectRes,
|
|
9916
9916
|
);
|
|
9917
9917
|
}
|
|
9918
9918
|
export async function performanceFeeShareSupply<T0 = any, T1 = any>(
|
|
@@ -9922,13 +9922,13 @@ export namespace vault {
|
|
|
9922
9922
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9923
9923
|
const tx = new TransactionBlock();
|
|
9924
9924
|
builder.performanceFeeShareSupply(tx, args, typeArguments);
|
|
9925
|
-
const
|
|
9925
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9926
9926
|
transactionBlock: tx,
|
|
9927
9927
|
sender: ZERO_ADDRESS,
|
|
9928
9928
|
});
|
|
9929
9929
|
|
|
9930
9930
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9931
|
-
|
|
9931
|
+
inspectRes,
|
|
9932
9932
|
);
|
|
9933
9933
|
}
|
|
9934
9934
|
export async function performanceFeeShares<T0 = any, T1 = any>(
|
|
@@ -9938,13 +9938,13 @@ export namespace vault {
|
|
|
9938
9938
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9939
9939
|
const tx = new TransactionBlock();
|
|
9940
9940
|
builder.performanceFeeShares(tx, args, typeArguments);
|
|
9941
|
-
const
|
|
9941
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9942
9942
|
transactionBlock: tx,
|
|
9943
9943
|
sender: ZERO_ADDRESS,
|
|
9944
9944
|
});
|
|
9945
9945
|
|
|
9946
9946
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
9947
|
-
|
|
9947
|
+
inspectRes,
|
|
9948
9948
|
);
|
|
9949
9949
|
}
|
|
9950
9950
|
export async function premiumBalance<T0 = any, T1 = any>(
|
|
@@ -9954,13 +9954,13 @@ export namespace vault {
|
|
|
9954
9954
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9955
9955
|
const tx = new TransactionBlock();
|
|
9956
9956
|
builder.premiumBalance(tx, args, typeArguments);
|
|
9957
|
-
const
|
|
9957
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9958
9958
|
transactionBlock: tx,
|
|
9959
9959
|
sender: ZERO_ADDRESS,
|
|
9960
9960
|
});
|
|
9961
9961
|
|
|
9962
9962
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9963
|
-
|
|
9963
|
+
inspectRes,
|
|
9964
9964
|
);
|
|
9965
9965
|
}
|
|
9966
9966
|
export async function premiumShareSupply<T0 = any, T1 = any>(
|
|
@@ -9970,13 +9970,13 @@ export namespace vault {
|
|
|
9970
9970
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9971
9971
|
const tx = new TransactionBlock();
|
|
9972
9972
|
builder.premiumShareSupply(tx, args, typeArguments);
|
|
9973
|
-
const
|
|
9973
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9974
9974
|
transactionBlock: tx,
|
|
9975
9975
|
sender: ZERO_ADDRESS,
|
|
9976
9976
|
});
|
|
9977
9977
|
|
|
9978
9978
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
9979
|
-
|
|
9979
|
+
inspectRes,
|
|
9980
9980
|
);
|
|
9981
9981
|
}
|
|
9982
9982
|
export async function premiumShares<T0 = any, T1 = any>(
|
|
@@ -9986,13 +9986,13 @@ export namespace vault {
|
|
|
9986
9986
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9987
9987
|
const tx = new TransactionBlock();
|
|
9988
9988
|
builder.premiumShares(tx, args, typeArguments);
|
|
9989
|
-
const
|
|
9989
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
9990
9990
|
transactionBlock: tx,
|
|
9991
9991
|
sender: ZERO_ADDRESS,
|
|
9992
9992
|
});
|
|
9993
9993
|
|
|
9994
9994
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
9995
|
-
|
|
9995
|
+
inspectRes,
|
|
9996
9996
|
);
|
|
9997
9997
|
}
|
|
9998
9998
|
export async function refund<T0 = any, T1 = any>(
|
|
@@ -10008,13 +10008,13 @@ export namespace vault {
|
|
|
10008
10008
|
): Promise<TypedDevInspectResults<[]>> {
|
|
10009
10009
|
const tx = new TransactionBlock();
|
|
10010
10010
|
builder.refund(tx, args, typeArguments);
|
|
10011
|
-
const
|
|
10011
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
10012
10012
|
transactionBlock: tx,
|
|
10013
10013
|
sender: ZERO_ADDRESS,
|
|
10014
10014
|
});
|
|
10015
10015
|
|
|
10016
10016
|
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
10017
|
-
|
|
10017
|
+
inspectRes,
|
|
10018
10018
|
);
|
|
10019
10019
|
}
|
|
10020
10020
|
export async function settleFund<T0 = any, T1 = any, T2 = any, T3 = any>(
|
|
@@ -10039,13 +10039,13 @@ export namespace vault {
|
|
|
10039
10039
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10040
10040
|
const tx = new TransactionBlock();
|
|
10041
10041
|
builder.settleFund(tx, args, typeArguments);
|
|
10042
|
-
const
|
|
10042
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
10043
10043
|
transactionBlock: tx,
|
|
10044
10044
|
sender: ZERO_ADDRESS,
|
|
10045
10045
|
});
|
|
10046
10046
|
|
|
10047
10047
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
10048
|
-
|
|
10048
|
+
inspectRes,
|
|
10049
10049
|
);
|
|
10050
10050
|
}
|
|
10051
10051
|
export async function settleFundMultiple<
|
|
@@ -10080,13 +10080,13 @@ export namespace vault {
|
|
|
10080
10080
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10081
10081
|
const tx = new TransactionBlock();
|
|
10082
10082
|
builder.settleFundMultiple(tx, args, typeArguments);
|
|
10083
|
-
const
|
|
10083
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
10084
10084
|
transactionBlock: tx,
|
|
10085
10085
|
sender: ZERO_ADDRESS,
|
|
10086
10086
|
});
|
|
10087
10087
|
|
|
10088
10088
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
10089
|
-
|
|
10089
|
+
inspectRes,
|
|
10090
10090
|
);
|
|
10091
10091
|
}
|
|
10092
10092
|
export async function unsubscribe<T0 = any, T1 = any>(
|
|
@@ -10101,13 +10101,13 @@ export namespace vault {
|
|
|
10101
10101
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10102
10102
|
const tx = new TransactionBlock();
|
|
10103
10103
|
builder.unsubscribe(tx, args, typeArguments);
|
|
10104
|
-
const
|
|
10104
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
10105
10105
|
transactionBlock: tx,
|
|
10106
10106
|
sender: ZERO_ADDRESS,
|
|
10107
10107
|
});
|
|
10108
10108
|
|
|
10109
10109
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
10110
|
-
|
|
10110
|
+
inspectRes,
|
|
10111
10111
|
);
|
|
10112
10112
|
}
|
|
10113
10113
|
export async function userShareRegistryUid(
|
|
@@ -10116,13 +10116,13 @@ export namespace vault {
|
|
|
10116
10116
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10117
10117
|
const tx = new TransactionBlock();
|
|
10118
10118
|
builder.userShareRegistryUid(tx, args);
|
|
10119
|
-
const
|
|
10119
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
10120
10120
|
transactionBlock: tx,
|
|
10121
10121
|
sender: ZERO_ADDRESS,
|
|
10122
10122
|
});
|
|
10123
10123
|
|
|
10124
10124
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
10125
|
-
|
|
10125
|
+
inspectRes,
|
|
10126
10126
|
);
|
|
10127
10127
|
}
|
|
10128
10128
|
export async function warmupBalance<T0 = any, T1 = any>(
|
|
@@ -10132,13 +10132,13 @@ export namespace vault {
|
|
|
10132
10132
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10133
10133
|
const tx = new TransactionBlock();
|
|
10134
10134
|
builder.warmupBalance(tx, args, typeArguments);
|
|
10135
|
-
const
|
|
10135
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
10136
10136
|
transactionBlock: tx,
|
|
10137
10137
|
sender: ZERO_ADDRESS,
|
|
10138
10138
|
});
|
|
10139
10139
|
|
|
10140
10140
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
10141
|
-
|
|
10141
|
+
inspectRes,
|
|
10142
10142
|
);
|
|
10143
10143
|
}
|
|
10144
10144
|
export async function warmupShareSupply<T0 = any, T1 = any>(
|
|
@@ -10148,13 +10148,13 @@ export namespace vault {
|
|
|
10148
10148
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10149
10149
|
const tx = new TransactionBlock();
|
|
10150
10150
|
builder.warmupShareSupply(tx, args, typeArguments);
|
|
10151
|
-
const
|
|
10151
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
10152
10152
|
transactionBlock: tx,
|
|
10153
10153
|
sender: ZERO_ADDRESS,
|
|
10154
10154
|
});
|
|
10155
10155
|
|
|
10156
10156
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
10157
|
-
|
|
10157
|
+
inspectRes,
|
|
10158
10158
|
);
|
|
10159
10159
|
}
|
|
10160
10160
|
export async function warmupUserShares<T0 = any, T1 = any>(
|
|
@@ -10164,13 +10164,13 @@ export namespace vault {
|
|
|
10164
10164
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10165
10165
|
const tx = new TransactionBlock();
|
|
10166
10166
|
builder.warmupUserShares(tx, args, typeArguments);
|
|
10167
|
-
const
|
|
10167
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
10168
10168
|
transactionBlock: tx,
|
|
10169
10169
|
sender: ZERO_ADDRESS,
|
|
10170
10170
|
});
|
|
10171
10171
|
|
|
10172
10172
|
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
10173
|
-
|
|
10173
|
+
inspectRes,
|
|
10174
10174
|
);
|
|
10175
10175
|
}
|
|
10176
10176
|
export async function withdraw<T0 = any, T1 = any>(
|
|
@@ -10185,13 +10185,13 @@ export namespace vault {
|
|
|
10185
10185
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10186
10186
|
const tx = new TransactionBlock();
|
|
10187
10187
|
builder.withdraw(tx, args, typeArguments);
|
|
10188
|
-
const
|
|
10188
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
10189
10189
|
transactionBlock: tx,
|
|
10190
10190
|
sender: ZERO_ADDRESS,
|
|
10191
10191
|
});
|
|
10192
10192
|
|
|
10193
10193
|
return (await getMoveCoder(client)).decodeDevInspectResult<[bigint]>(
|
|
10194
|
-
|
|
10194
|
+
inspectRes,
|
|
10195
10195
|
);
|
|
10196
10196
|
}
|
|
10197
10197
|
}
|