@sentio/sdk 2.46.0-rc.1 → 2.46.0-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/lib/aptos/builtin/0x1.d.ts +65 -65
- package/lib/aptos/builtin/0x1.js +27 -27
- package/lib/aptos/builtin/0x3.d.ts +1 -1
- package/lib/aptos/builtin/0x4.d.ts +34 -34
- package/lib/sui/builtin/0x1.d.ts +172 -311
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +17 -17
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +673 -1589
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +106 -106
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +359 -831
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +20 -20
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/package.json +6 -6
- package/src/aptos/builtin/0x1.ts +78 -78
- package/src/aptos/builtin/0x3.ts +1 -1
- package/src/aptos/builtin/0x4.ts +34 -34
- package/src/sui/builtin/0x1.ts +178 -317
- package/src/sui/builtin/0x2.ts +752 -1668
- package/src/sui/builtin/0x3.ts +374 -846
package/src/sui/builtin/0x3.ts
CHANGED
@@ -291,7 +291,7 @@ export namespace stake_subsidy {
|
|
291
291
|
export namespace view {
|
292
292
|
export async function advanceEpoch(
|
293
293
|
client: SuiClient,
|
294
|
-
args: [string
|
294
|
+
args: [string],
|
295
295
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
296
296
|
const tx = new Transaction();
|
297
297
|
builder.advanceEpoch(tx, args);
|
@@ -306,12 +306,7 @@ export namespace stake_subsidy {
|
|
306
306
|
}
|
307
307
|
export async function create(
|
308
308
|
client: SuiClient,
|
309
|
-
args: [
|
310
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
311
|
-
bigint | TransactionArgument,
|
312
|
-
bigint | TransactionArgument,
|
313
|
-
number | TransactionArgument,
|
314
|
-
],
|
309
|
+
args: [_0x2.balance.Balance<_0x2.sui.SUI>, bigint, bigint, number],
|
315
310
|
): Promise<TypedDevInspectResults<[stake_subsidy.StakeSubsidy]>> {
|
316
311
|
const tx = new Transaction();
|
317
312
|
builder.create(tx, args);
|
@@ -326,7 +321,7 @@ export namespace stake_subsidy {
|
|
326
321
|
}
|
327
322
|
export async function currentEpochSubsidyAmount(
|
328
323
|
client: SuiClient,
|
329
|
-
args: [string
|
324
|
+
args: [string],
|
330
325
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
331
326
|
const tx = new Transaction();
|
332
327
|
builder.currentEpochSubsidyAmount(tx, args);
|
@@ -341,7 +336,7 @@ export namespace stake_subsidy {
|
|
341
336
|
}
|
342
337
|
export async function getDistributionCounter(
|
343
338
|
client: SuiClient,
|
344
|
-
args: [string
|
339
|
+
args: [string],
|
345
340
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
346
341
|
const tx = new Transaction();
|
347
342
|
builder.getDistributionCounter(tx, args);
|
@@ -435,8 +430,8 @@ export class staking_pool extends SuiBaseProcessor {
|
|
435
430
|
|
436
431
|
export namespace staking_pool {
|
437
432
|
export interface FungibleStakedSui {
|
438
|
-
id: _0x2.
|
439
|
-
pool_id: _0x2.
|
433
|
+
id: _0x2.object$.UID;
|
434
|
+
pool_id: _0x2.object$.ID;
|
440
435
|
value: bigint;
|
441
436
|
}
|
442
437
|
|
@@ -453,7 +448,7 @@ export namespace staking_pool {
|
|
453
448
|
}
|
454
449
|
|
455
450
|
export interface FungibleStakedSuiData {
|
456
|
-
id: _0x2.
|
451
|
+
id: _0x2.object$.UID;
|
457
452
|
total_supply: bigint;
|
458
453
|
principal: _0x2.balance.Balance<_0x2.sui.SUI>;
|
459
454
|
}
|
@@ -516,8 +511,8 @@ export namespace staking_pool {
|
|
516
511
|
}
|
517
512
|
|
518
513
|
export interface StakedSui {
|
519
|
-
id: _0x2.
|
520
|
-
pool_id: _0x2.
|
514
|
+
id: _0x2.object$.UID;
|
515
|
+
pool_id: _0x2.object$.ID;
|
521
516
|
stake_activation_epoch: bigint;
|
522
517
|
principal: _0x2.balance.Balance<_0x2.sui.SUI>;
|
523
518
|
}
|
@@ -533,7 +528,7 @@ export namespace staking_pool {
|
|
533
528
|
}
|
534
529
|
|
535
530
|
export interface StakingPool {
|
536
|
-
id: _0x2.
|
531
|
+
id: _0x2.object$.UID;
|
537
532
|
activation_epoch: _0x1.option.Option<bigint>;
|
538
533
|
deactivation_epoch: _0x1.option.Option<bigint>;
|
539
534
|
sui_balance: bigint;
|
@@ -744,7 +739,7 @@ export namespace staking_pool {
|
|
744
739
|
arguments: _args,
|
745
740
|
});
|
746
741
|
}
|
747
|
-
export function
|
742
|
+
export function new$(tx: Transaction, args: []): TransactionArgument & [] {
|
748
743
|
const _args: any[] = [];
|
749
744
|
|
750
745
|
// @ts-ignore
|
@@ -1026,10 +1021,7 @@ export namespace staking_pool {
|
|
1026
1021
|
export namespace view {
|
1027
1022
|
export async function activateStakingPool(
|
1028
1023
|
client: SuiClient,
|
1029
|
-
args: [
|
1030
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1031
|
-
bigint | TransactionArgument,
|
1032
|
-
],
|
1024
|
+
args: [string, bigint],
|
1033
1025
|
): Promise<TypedDevInspectResults<[]>> {
|
1034
1026
|
const tx = new Transaction();
|
1035
1027
|
builder.activateStakingPool(tx, args);
|
@@ -1044,10 +1036,7 @@ export namespace staking_pool {
|
|
1044
1036
|
}
|
1045
1037
|
export async function convertToFungibleStakedSui(
|
1046
1038
|
client: SuiClient,
|
1047
|
-
args: [
|
1048
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1049
|
-
staking_pool.StakedSui | TransactionArgument,
|
1050
|
-
],
|
1039
|
+
args: [string, staking_pool.StakedSui],
|
1051
1040
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
1052
1041
|
const tx = new Transaction();
|
1053
1042
|
builder.convertToFungibleStakedSui(tx, args);
|
@@ -1062,10 +1051,7 @@ export namespace staking_pool {
|
|
1062
1051
|
}
|
1063
1052
|
export async function deactivateStakingPool(
|
1064
1053
|
client: SuiClient,
|
1065
|
-
args: [
|
1066
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1067
|
-
bigint | TransactionArgument,
|
1068
|
-
],
|
1054
|
+
args: [string, bigint],
|
1069
1055
|
): Promise<TypedDevInspectResults<[]>> {
|
1070
1056
|
const tx = new Transaction();
|
1071
1057
|
builder.deactivateStakingPool(tx, args);
|
@@ -1080,10 +1066,7 @@ export namespace staking_pool {
|
|
1080
1066
|
}
|
1081
1067
|
export async function depositRewards(
|
1082
1068
|
client: SuiClient,
|
1083
|
-
args: [
|
1084
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1085
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
1086
|
-
],
|
1069
|
+
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>],
|
1087
1070
|
): Promise<TypedDevInspectResults<[]>> {
|
1088
1071
|
const tx = new Transaction();
|
1089
1072
|
builder.depositRewards(tx, args);
|
@@ -1098,7 +1081,7 @@ export namespace staking_pool {
|
|
1098
1081
|
}
|
1099
1082
|
export async function exchangeRates(
|
1100
1083
|
client: SuiClient,
|
1101
|
-
args: [string
|
1084
|
+
args: [string],
|
1102
1085
|
): Promise<TypedDevInspectResults<[string]>> {
|
1103
1086
|
const tx = new Transaction();
|
1104
1087
|
builder.exchangeRates(tx, args);
|
@@ -1113,8 +1096,8 @@ export namespace staking_pool {
|
|
1113
1096
|
}
|
1114
1097
|
export async function fungibleStakedSuiPoolId(
|
1115
1098
|
client: SuiClient,
|
1116
|
-
args: [string
|
1117
|
-
): Promise<TypedDevInspectResults<[_0x2.
|
1099
|
+
args: [string],
|
1100
|
+
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
1118
1101
|
const tx = new Transaction();
|
1119
1102
|
builder.fungibleStakedSuiPoolId(tx, args);
|
1120
1103
|
const inspectRes = await client.devInspectTransactionBlock({
|
@@ -1123,12 +1106,12 @@ export namespace staking_pool {
|
|
1123
1106
|
});
|
1124
1107
|
|
1125
1108
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
1126
|
-
[_0x2.
|
1109
|
+
[_0x2.object$.ID]
|
1127
1110
|
>(inspectRes);
|
1128
1111
|
}
|
1129
1112
|
export async function fungibleStakedSuiValue(
|
1130
1113
|
client: SuiClient,
|
1131
|
-
args: [string
|
1114
|
+
args: [string],
|
1132
1115
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1133
1116
|
const tx = new Transaction();
|
1134
1117
|
builder.fungibleStakedSuiValue(tx, args);
|
@@ -1143,10 +1126,7 @@ export namespace staking_pool {
|
|
1143
1126
|
}
|
1144
1127
|
export async function isEqualStakingMetadata(
|
1145
1128
|
client: SuiClient,
|
1146
|
-
args: [
|
1147
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1148
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1149
|
-
],
|
1129
|
+
args: [string, string],
|
1150
1130
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
1151
1131
|
const tx = new Transaction();
|
1152
1132
|
builder.isEqualStakingMetadata(tx, args);
|
@@ -1161,7 +1141,7 @@ export namespace staking_pool {
|
|
1161
1141
|
}
|
1162
1142
|
export async function isInactive(
|
1163
1143
|
client: SuiClient,
|
1164
|
-
args: [string
|
1144
|
+
args: [string],
|
1165
1145
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
1166
1146
|
const tx = new Transaction();
|
1167
1147
|
builder.isInactive(tx, args);
|
@@ -1176,7 +1156,7 @@ export namespace staking_pool {
|
|
1176
1156
|
}
|
1177
1157
|
export async function isPreactive(
|
1178
1158
|
client: SuiClient,
|
1179
|
-
args: [string
|
1159
|
+
args: [string],
|
1180
1160
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
1181
1161
|
const tx = new Transaction();
|
1182
1162
|
builder.isPreactive(tx, args);
|
@@ -1191,10 +1171,7 @@ export namespace staking_pool {
|
|
1191
1171
|
}
|
1192
1172
|
export async function joinFungibleStakedSui(
|
1193
1173
|
client: SuiClient,
|
1194
|
-
args: [
|
1195
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1196
|
-
staking_pool.FungibleStakedSui | TransactionArgument,
|
1197
|
-
],
|
1174
|
+
args: [string, staking_pool.FungibleStakedSui],
|
1198
1175
|
): Promise<TypedDevInspectResults<[]>> {
|
1199
1176
|
const tx = new Transaction();
|
1200
1177
|
builder.joinFungibleStakedSui(tx, args);
|
@@ -1209,10 +1186,7 @@ export namespace staking_pool {
|
|
1209
1186
|
}
|
1210
1187
|
export async function joinStakedSui(
|
1211
1188
|
client: SuiClient,
|
1212
|
-
args: [
|
1213
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1214
|
-
staking_pool.StakedSui | TransactionArgument,
|
1215
|
-
],
|
1189
|
+
args: [string, staking_pool.StakedSui],
|
1216
1190
|
): Promise<TypedDevInspectResults<[]>> {
|
1217
1191
|
const tx = new Transaction();
|
1218
1192
|
builder.joinStakedSui(tx, args);
|
@@ -1225,12 +1199,12 @@ export namespace staking_pool {
|
|
1225
1199
|
inspectRes,
|
1226
1200
|
);
|
1227
1201
|
}
|
1228
|
-
export async function
|
1202
|
+
export async function new$(
|
1229
1203
|
client: SuiClient,
|
1230
1204
|
args: [],
|
1231
1205
|
): Promise<TypedDevInspectResults<[staking_pool.StakingPool]>> {
|
1232
1206
|
const tx = new Transaction();
|
1233
|
-
builder.
|
1207
|
+
builder.new$(tx, args);
|
1234
1208
|
const inspectRes = await client.devInspectTransactionBlock({
|
1235
1209
|
transactionBlock: tx,
|
1236
1210
|
sender: ZERO_ADDRESS,
|
@@ -1242,7 +1216,7 @@ export namespace staking_pool {
|
|
1242
1216
|
}
|
1243
1217
|
export async function pendingStakeAmount(
|
1244
1218
|
client: SuiClient,
|
1245
|
-
args: [string
|
1219
|
+
args: [string],
|
1246
1220
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1247
1221
|
const tx = new Transaction();
|
1248
1222
|
builder.pendingStakeAmount(tx, args);
|
@@ -1257,7 +1231,7 @@ export namespace staking_pool {
|
|
1257
1231
|
}
|
1258
1232
|
export async function pendingStakeWithdrawAmount(
|
1259
1233
|
client: SuiClient,
|
1260
|
-
args: [string
|
1234
|
+
args: [string],
|
1261
1235
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1262
1236
|
const tx = new Transaction();
|
1263
1237
|
builder.pendingStakeWithdrawAmount(tx, args);
|
@@ -1272,8 +1246,8 @@ export namespace staking_pool {
|
|
1272
1246
|
}
|
1273
1247
|
export async function poolId(
|
1274
1248
|
client: SuiClient,
|
1275
|
-
args: [string
|
1276
|
-
): Promise<TypedDevInspectResults<[_0x2.
|
1249
|
+
args: [string],
|
1250
|
+
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
1277
1251
|
const tx = new Transaction();
|
1278
1252
|
builder.poolId(tx, args);
|
1279
1253
|
const inspectRes = await client.devInspectTransactionBlock({
|
@@ -1282,12 +1256,12 @@ export namespace staking_pool {
|
|
1282
1256
|
});
|
1283
1257
|
|
1284
1258
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
1285
|
-
[_0x2.
|
1259
|
+
[_0x2.object$.ID]
|
1286
1260
|
>(inspectRes);
|
1287
1261
|
}
|
1288
1262
|
export async function poolTokenAmount(
|
1289
1263
|
client: SuiClient,
|
1290
|
-
args: [string
|
1264
|
+
args: [string],
|
1291
1265
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1292
1266
|
const tx = new Transaction();
|
1293
1267
|
builder.poolTokenAmount(tx, args);
|
@@ -1302,10 +1276,7 @@ export namespace staking_pool {
|
|
1302
1276
|
}
|
1303
1277
|
export async function poolTokenExchangeRateAtEpoch(
|
1304
1278
|
client: SuiClient,
|
1305
|
-
args: [
|
1306
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1307
|
-
bigint | TransactionArgument,
|
1308
|
-
],
|
1279
|
+
args: [string, bigint],
|
1309
1280
|
): Promise<TypedDevInspectResults<[staking_pool.PoolTokenExchangeRate]>> {
|
1310
1281
|
const tx = new Transaction();
|
1311
1282
|
builder.poolTokenExchangeRateAtEpoch(tx, args);
|
@@ -1320,7 +1291,7 @@ export namespace staking_pool {
|
|
1320
1291
|
}
|
1321
1292
|
export async function processPendingStake(
|
1322
1293
|
client: SuiClient,
|
1323
|
-
args: [string
|
1294
|
+
args: [string],
|
1324
1295
|
): Promise<TypedDevInspectResults<[]>> {
|
1325
1296
|
const tx = new Transaction();
|
1326
1297
|
builder.processPendingStake(tx, args);
|
@@ -1335,7 +1306,7 @@ export namespace staking_pool {
|
|
1335
1306
|
}
|
1336
1307
|
export async function processPendingStakesAndWithdraws(
|
1337
1308
|
client: SuiClient,
|
1338
|
-
args: [string
|
1309
|
+
args: [string],
|
1339
1310
|
): Promise<TypedDevInspectResults<[]>> {
|
1340
1311
|
const tx = new Transaction();
|
1341
1312
|
builder.processPendingStakesAndWithdraws(tx, args);
|
@@ -1350,10 +1321,7 @@ export namespace staking_pool {
|
|
1350
1321
|
}
|
1351
1322
|
export async function redeemFungibleStakedSui(
|
1352
1323
|
client: SuiClient,
|
1353
|
-
args: [
|
1354
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1355
|
-
staking_pool.FungibleStakedSui | TransactionArgument,
|
1356
|
-
],
|
1324
|
+
args: [string, staking_pool.FungibleStakedSui],
|
1357
1325
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
1358
1326
|
const tx = new Transaction();
|
1359
1327
|
builder.redeemFungibleStakedSui(tx, args);
|
@@ -1368,11 +1336,7 @@ export namespace staking_pool {
|
|
1368
1336
|
}
|
1369
1337
|
export async function requestAddStake(
|
1370
1338
|
client: SuiClient,
|
1371
|
-
args: [
|
1372
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1373
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
1374
|
-
bigint | TransactionArgument,
|
1375
|
-
],
|
1339
|
+
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, bigint],
|
1376
1340
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
1377
1341
|
const tx = new Transaction();
|
1378
1342
|
builder.requestAddStake(tx, args);
|
@@ -1387,10 +1351,7 @@ export namespace staking_pool {
|
|
1387
1351
|
}
|
1388
1352
|
export async function requestWithdrawStake(
|
1389
1353
|
client: SuiClient,
|
1390
|
-
args: [
|
1391
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1392
|
-
staking_pool.StakedSui | TransactionArgument,
|
1393
|
-
],
|
1354
|
+
args: [string, staking_pool.StakedSui],
|
1394
1355
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
1395
1356
|
const tx = new Transaction();
|
1396
1357
|
builder.requestWithdrawStake(tx, args);
|
@@ -1405,10 +1366,7 @@ export namespace staking_pool {
|
|
1405
1366
|
}
|
1406
1367
|
export async function split(
|
1407
1368
|
client: SuiClient,
|
1408
|
-
args: [
|
1409
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1410
|
-
bigint | TransactionArgument,
|
1411
|
-
],
|
1369
|
+
args: [string, bigint],
|
1412
1370
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
1413
1371
|
const tx = new Transaction();
|
1414
1372
|
builder.split(tx, args);
|
@@ -1423,10 +1381,7 @@ export namespace staking_pool {
|
|
1423
1381
|
}
|
1424
1382
|
export async function splitFungibleStakedSui(
|
1425
1383
|
client: SuiClient,
|
1426
|
-
args: [
|
1427
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1428
|
-
bigint | TransactionArgument,
|
1429
|
-
],
|
1384
|
+
args: [string, bigint],
|
1430
1385
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
1431
1386
|
const tx = new Transaction();
|
1432
1387
|
builder.splitFungibleStakedSui(tx, args);
|
@@ -1441,10 +1396,7 @@ export namespace staking_pool {
|
|
1441
1396
|
}
|
1442
1397
|
export async function splitStakedSui(
|
1443
1398
|
client: SuiClient,
|
1444
|
-
args: [
|
1445
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1446
|
-
bigint | TransactionArgument,
|
1447
|
-
],
|
1399
|
+
args: [string, bigint],
|
1448
1400
|
): Promise<TypedDevInspectResults<[]>> {
|
1449
1401
|
const tx = new Transaction();
|
1450
1402
|
builder.splitStakedSui(tx, args);
|
@@ -1459,7 +1411,7 @@ export namespace staking_pool {
|
|
1459
1411
|
}
|
1460
1412
|
export async function stakeActivationEpoch(
|
1461
1413
|
client: SuiClient,
|
1462
|
-
args: [string
|
1414
|
+
args: [string],
|
1463
1415
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1464
1416
|
const tx = new Transaction();
|
1465
1417
|
builder.stakeActivationEpoch(tx, args);
|
@@ -1474,7 +1426,7 @@ export namespace staking_pool {
|
|
1474
1426
|
}
|
1475
1427
|
export async function stakedSuiAmount(
|
1476
1428
|
client: SuiClient,
|
1477
|
-
args: [string
|
1429
|
+
args: [string],
|
1478
1430
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1479
1431
|
const tx = new Transaction();
|
1480
1432
|
builder.stakedSuiAmount(tx, args);
|
@@ -1489,7 +1441,7 @@ export namespace staking_pool {
|
|
1489
1441
|
}
|
1490
1442
|
export async function suiAmount(
|
1491
1443
|
client: SuiClient,
|
1492
|
-
args: [string
|
1444
|
+
args: [string],
|
1493
1445
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1494
1446
|
const tx = new Transaction();
|
1495
1447
|
builder.suiAmount(tx, args);
|
@@ -1504,7 +1456,7 @@ export namespace staking_pool {
|
|
1504
1456
|
}
|
1505
1457
|
export async function suiBalance(
|
1506
1458
|
client: SuiClient,
|
1507
|
-
args: [string
|
1459
|
+
args: [string],
|
1508
1460
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1509
1461
|
const tx = new Transaction();
|
1510
1462
|
builder.suiBalance(tx, args);
|
@@ -1519,10 +1471,7 @@ export namespace staking_pool {
|
|
1519
1471
|
}
|
1520
1472
|
export async function withdrawFromPrincipal(
|
1521
1473
|
client: SuiClient,
|
1522
|
-
args: [
|
1523
|
-
string | TransactionObjectArgument | TransactionArgument,
|
1524
|
-
staking_pool.StakedSui | TransactionArgument,
|
1525
|
-
],
|
1474
|
+
args: [string, staking_pool.StakedSui],
|
1526
1475
|
): Promise<
|
1527
1476
|
TypedDevInspectResults<[bigint, _0x2.balance.Balance<_0x2.sui.SUI>]>
|
1528
1477
|
> {
|
@@ -1602,7 +1551,7 @@ export namespace storage_fund {
|
|
1602
1551
|
arguments: _args,
|
1603
1552
|
});
|
1604
1553
|
}
|
1605
|
-
export function
|
1554
|
+
export function new$(
|
1606
1555
|
tx: Transaction,
|
1607
1556
|
args: [_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument],
|
1608
1557
|
): TransactionArgument & [TransactionArgument] {
|
@@ -1646,12 +1595,12 @@ export namespace storage_fund {
|
|
1646
1595
|
export async function advanceEpoch(
|
1647
1596
|
client: SuiClient,
|
1648
1597
|
args: [
|
1649
|
-
string
|
1650
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
1651
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
1652
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
1653
|
-
bigint
|
1654
|
-
bigint
|
1598
|
+
string,
|
1599
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
1600
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
1601
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
1602
|
+
bigint,
|
1603
|
+
bigint,
|
1655
1604
|
],
|
1656
1605
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
1657
1606
|
const tx = new Transaction();
|
@@ -1665,12 +1614,12 @@ export namespace storage_fund {
|
|
1665
1614
|
[_0x2.balance.Balance<_0x2.sui.SUI>]
|
1666
1615
|
>(inspectRes);
|
1667
1616
|
}
|
1668
|
-
export async function
|
1617
|
+
export async function new$(
|
1669
1618
|
client: SuiClient,
|
1670
|
-
args: [_0x2.balance.Balance<_0x2.sui.SUI>
|
1619
|
+
args: [_0x2.balance.Balance<_0x2.sui.SUI>],
|
1671
1620
|
): Promise<TypedDevInspectResults<[storage_fund.StorageFund]>> {
|
1672
1621
|
const tx = new Transaction();
|
1673
|
-
builder.
|
1622
|
+
builder.new$(tx, args);
|
1674
1623
|
const inspectRes = await client.devInspectTransactionBlock({
|
1675
1624
|
transactionBlock: tx,
|
1676
1625
|
sender: ZERO_ADDRESS,
|
@@ -1682,7 +1631,7 @@ export namespace storage_fund {
|
|
1682
1631
|
}
|
1683
1632
|
export async function totalBalance(
|
1684
1633
|
client: SuiClient,
|
1685
|
-
args: [string
|
1634
|
+
args: [string],
|
1686
1635
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1687
1636
|
const tx = new Transaction();
|
1688
1637
|
builder.totalBalance(tx, args);
|
@@ -1697,7 +1646,7 @@ export namespace storage_fund {
|
|
1697
1646
|
}
|
1698
1647
|
export async function totalObjectStorageRebates(
|
1699
1648
|
client: SuiClient,
|
1700
|
-
args: [string
|
1649
|
+
args: [string],
|
1701
1650
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
1702
1651
|
const tx = new Transaction();
|
1703
1652
|
builder.totalObjectStorageRebates(tx, args);
|
@@ -2325,7 +2274,7 @@ export class sui_system extends SuiBaseProcessor {
|
|
2325
2274
|
|
2326
2275
|
export namespace sui_system {
|
2327
2276
|
export interface SuiSystemState {
|
2328
|
-
id: _0x2.
|
2277
|
+
id: _0x2.object$.UID;
|
2329
2278
|
version: bigint;
|
2330
2279
|
}
|
2331
2280
|
|
@@ -2373,7 +2322,7 @@ export namespace sui_system {
|
|
2373
2322
|
export function create(
|
2374
2323
|
tx: Transaction,
|
2375
2324
|
args: [
|
2376
|
-
_0x2.
|
2325
|
+
_0x2.object$.UID | TransactionArgument,
|
2377
2326
|
(string | TransactionObjectArgument)[] | TransactionArgument,
|
2378
2327
|
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
2379
2328
|
bigint | TransactionArgument,
|
@@ -3100,7 +3049,7 @@ export namespace sui_system {
|
|
3100
3049
|
export namespace view {
|
3101
3050
|
export async function activeValidatorAddresses(
|
3102
3051
|
client: SuiClient,
|
3103
|
-
args: [string
|
3052
|
+
args: [string],
|
3104
3053
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
3105
3054
|
const tx = new Transaction();
|
3106
3055
|
builder.activeValidatorAddresses(tx, args);
|
@@ -3115,10 +3064,7 @@ export namespace sui_system {
|
|
3115
3064
|
}
|
3116
3065
|
export async function convertToFungibleStakedSui(
|
3117
3066
|
client: SuiClient,
|
3118
|
-
args: [
|
3119
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3120
|
-
staking_pool.StakedSui | TransactionArgument,
|
3121
|
-
],
|
3067
|
+
args: [string, staking_pool.StakedSui],
|
3122
3068
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
3123
3069
|
const tx = new Transaction();
|
3124
3070
|
builder.convertToFungibleStakedSui(tx, args);
|
@@ -3134,13 +3080,13 @@ export namespace sui_system {
|
|
3134
3080
|
export async function create(
|
3135
3081
|
client: SuiClient,
|
3136
3082
|
args: [
|
3137
|
-
_0x2.
|
3138
|
-
|
3139
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
3140
|
-
bigint
|
3141
|
-
bigint
|
3142
|
-
sui_system_state_inner.SystemParameters
|
3143
|
-
stake_subsidy.StakeSubsidy
|
3083
|
+
_0x2.object$.UID,
|
3084
|
+
string[],
|
3085
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
3086
|
+
bigint,
|
3087
|
+
bigint,
|
3088
|
+
sui_system_state_inner.SystemParameters,
|
3089
|
+
stake_subsidy.StakeSubsidy,
|
3144
3090
|
],
|
3145
3091
|
): Promise<TypedDevInspectResults<[]>> {
|
3146
3092
|
const tx = new Transaction();
|
@@ -3156,10 +3102,7 @@ export namespace sui_system {
|
|
3156
3102
|
}
|
3157
3103
|
export async function poolExchangeRates(
|
3158
3104
|
client: SuiClient,
|
3159
|
-
args: [
|
3160
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3161
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3162
|
-
],
|
3105
|
+
args: [string, string],
|
3163
3106
|
): Promise<TypedDevInspectResults<[string]>> {
|
3164
3107
|
const tx = new Transaction();
|
3165
3108
|
builder.poolExchangeRates(tx, args);
|
@@ -3174,10 +3117,7 @@ export namespace sui_system {
|
|
3174
3117
|
}
|
3175
3118
|
export async function redeemFungibleStakedSui(
|
3176
3119
|
client: SuiClient,
|
3177
|
-
args: [
|
3178
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3179
|
-
staking_pool.FungibleStakedSui | TransactionArgument,
|
3180
|
-
],
|
3120
|
+
args: [string, staking_pool.FungibleStakedSui],
|
3181
3121
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
3182
3122
|
const tx = new Transaction();
|
3183
3123
|
builder.redeemFungibleStakedSui(tx, args);
|
@@ -3192,11 +3132,7 @@ export namespace sui_system {
|
|
3192
3132
|
}
|
3193
3133
|
export async function reportValidator(
|
3194
3134
|
client: SuiClient,
|
3195
|
-
args: [
|
3196
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3197
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3198
|
-
string | TransactionArgument,
|
3199
|
-
],
|
3135
|
+
args: [string, string, string],
|
3200
3136
|
): Promise<TypedDevInspectResults<[]>> {
|
3201
3137
|
const tx = new Transaction();
|
3202
3138
|
builder.reportValidator(tx, args);
|
@@ -3211,11 +3147,7 @@ export namespace sui_system {
|
|
3211
3147
|
}
|
3212
3148
|
export async function requestAddStake(
|
3213
3149
|
client: SuiClient,
|
3214
|
-
args: [
|
3215
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3216
|
-
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
3217
|
-
string | TransactionArgument,
|
3218
|
-
],
|
3150
|
+
args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string],
|
3219
3151
|
): Promise<TypedDevInspectResults<[]>> {
|
3220
3152
|
const tx = new Transaction();
|
3221
3153
|
builder.requestAddStake(tx, args);
|
@@ -3230,12 +3162,7 @@ export namespace sui_system {
|
|
3230
3162
|
}
|
3231
3163
|
export async function requestAddStakeMulCoin(
|
3232
3164
|
client: SuiClient,
|
3233
|
-
args: [
|
3234
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3235
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3236
|
-
_0x1.option.Option<bigint> | TransactionArgument,
|
3237
|
-
string | TransactionArgument,
|
3238
|
-
],
|
3165
|
+
args: [string, string[], _0x1.option.Option<bigint>, string],
|
3239
3166
|
): Promise<TypedDevInspectResults<[]>> {
|
3240
3167
|
const tx = new Transaction();
|
3241
3168
|
builder.requestAddStakeMulCoin(tx, args);
|
@@ -3250,11 +3177,7 @@ export namespace sui_system {
|
|
3250
3177
|
}
|
3251
3178
|
export async function requestAddStakeNonEntry(
|
3252
3179
|
client: SuiClient,
|
3253
|
-
args: [
|
3254
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3255
|
-
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
3256
|
-
string | TransactionArgument,
|
3257
|
-
],
|
3180
|
+
args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string],
|
3258
3181
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
3259
3182
|
const tx = new Transaction();
|
3260
3183
|
builder.requestAddStakeNonEntry(tx, args);
|
@@ -3269,7 +3192,7 @@ export namespace sui_system {
|
|
3269
3192
|
}
|
3270
3193
|
export async function requestAddValidator(
|
3271
3194
|
client: SuiClient,
|
3272
|
-
args: [string
|
3195
|
+
args: [string],
|
3273
3196
|
): Promise<TypedDevInspectResults<[]>> {
|
3274
3197
|
const tx = new Transaction();
|
3275
3198
|
builder.requestAddValidator(tx, args);
|
@@ -3285,21 +3208,21 @@ export namespace sui_system {
|
|
3285
3208
|
export async function requestAddValidatorCandidate(
|
3286
3209
|
client: SuiClient,
|
3287
3210
|
args: [
|
3288
|
-
string
|
3289
|
-
|
3290
|
-
|
3291
|
-
|
3292
|
-
|
3293
|
-
|
3294
|
-
|
3295
|
-
|
3296
|
-
|
3297
|
-
|
3298
|
-
|
3299
|
-
|
3300
|
-
|
3301
|
-
bigint
|
3302
|
-
bigint
|
3211
|
+
string,
|
3212
|
+
string[],
|
3213
|
+
string[],
|
3214
|
+
string[],
|
3215
|
+
string[],
|
3216
|
+
string[],
|
3217
|
+
string[],
|
3218
|
+
string[],
|
3219
|
+
string[],
|
3220
|
+
string[],
|
3221
|
+
string[],
|
3222
|
+
string[],
|
3223
|
+
string[],
|
3224
|
+
bigint,
|
3225
|
+
bigint,
|
3303
3226
|
],
|
3304
3227
|
): Promise<TypedDevInspectResults<[]>> {
|
3305
3228
|
const tx = new Transaction();
|
@@ -3315,7 +3238,7 @@ export namespace sui_system {
|
|
3315
3238
|
}
|
3316
3239
|
export async function requestRemoveValidator(
|
3317
3240
|
client: SuiClient,
|
3318
|
-
args: [string
|
3241
|
+
args: [string],
|
3319
3242
|
): Promise<TypedDevInspectResults<[]>> {
|
3320
3243
|
const tx = new Transaction();
|
3321
3244
|
builder.requestRemoveValidator(tx, args);
|
@@ -3330,7 +3253,7 @@ export namespace sui_system {
|
|
3330
3253
|
}
|
3331
3254
|
export async function requestRemoveValidatorCandidate(
|
3332
3255
|
client: SuiClient,
|
3333
|
-
args: [string
|
3256
|
+
args: [string],
|
3334
3257
|
): Promise<TypedDevInspectResults<[]>> {
|
3335
3258
|
const tx = new Transaction();
|
3336
3259
|
builder.requestRemoveValidatorCandidate(tx, args);
|
@@ -3345,10 +3268,7 @@ export namespace sui_system {
|
|
3345
3268
|
}
|
3346
3269
|
export async function requestSetCommissionRate(
|
3347
3270
|
client: SuiClient,
|
3348
|
-
args: [
|
3349
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3350
|
-
bigint | TransactionArgument,
|
3351
|
-
],
|
3271
|
+
args: [string, bigint],
|
3352
3272
|
): Promise<TypedDevInspectResults<[]>> {
|
3353
3273
|
const tx = new Transaction();
|
3354
3274
|
builder.requestSetCommissionRate(tx, args);
|
@@ -3363,11 +3283,7 @@ export namespace sui_system {
|
|
3363
3283
|
}
|
3364
3284
|
export async function requestSetGasPrice(
|
3365
3285
|
client: SuiClient,
|
3366
|
-
args: [
|
3367
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3368
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3369
|
-
bigint | TransactionArgument,
|
3370
|
-
],
|
3286
|
+
args: [string, string, bigint],
|
3371
3287
|
): Promise<TypedDevInspectResults<[]>> {
|
3372
3288
|
const tx = new Transaction();
|
3373
3289
|
builder.requestSetGasPrice(tx, args);
|
@@ -3382,10 +3298,7 @@ export namespace sui_system {
|
|
3382
3298
|
}
|
3383
3299
|
export async function requestWithdrawStake(
|
3384
3300
|
client: SuiClient,
|
3385
|
-
args: [
|
3386
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3387
|
-
staking_pool.StakedSui | TransactionArgument,
|
3388
|
-
],
|
3301
|
+
args: [string, staking_pool.StakedSui],
|
3389
3302
|
): Promise<TypedDevInspectResults<[]>> {
|
3390
3303
|
const tx = new Transaction();
|
3391
3304
|
builder.requestWithdrawStake(tx, args);
|
@@ -3400,10 +3313,7 @@ export namespace sui_system {
|
|
3400
3313
|
}
|
3401
3314
|
export async function requestWithdrawStakeNonEntry(
|
3402
3315
|
client: SuiClient,
|
3403
|
-
args: [
|
3404
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3405
|
-
staking_pool.StakedSui | TransactionArgument,
|
3406
|
-
],
|
3316
|
+
args: [string, staking_pool.StakedSui],
|
3407
3317
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
3408
3318
|
const tx = new Transaction();
|
3409
3319
|
builder.requestWithdrawStakeNonEntry(tx, args);
|
@@ -3418,7 +3328,7 @@ export namespace sui_system {
|
|
3418
3328
|
}
|
3419
3329
|
export async function rotateOperationCap(
|
3420
3330
|
client: SuiClient,
|
3421
|
-
args: [string
|
3331
|
+
args: [string],
|
3422
3332
|
): Promise<TypedDevInspectResults<[]>> {
|
3423
3333
|
const tx = new Transaction();
|
3424
3334
|
builder.rotateOperationCap(tx, args);
|
@@ -3433,10 +3343,7 @@ export namespace sui_system {
|
|
3433
3343
|
}
|
3434
3344
|
export async function setCandidateValidatorCommissionRate(
|
3435
3345
|
client: SuiClient,
|
3436
|
-
args: [
|
3437
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3438
|
-
bigint | TransactionArgument,
|
3439
|
-
],
|
3346
|
+
args: [string, bigint],
|
3440
3347
|
): Promise<TypedDevInspectResults<[]>> {
|
3441
3348
|
const tx = new Transaction();
|
3442
3349
|
builder.setCandidateValidatorCommissionRate(tx, args);
|
@@ -3451,11 +3358,7 @@ export namespace sui_system {
|
|
3451
3358
|
}
|
3452
3359
|
export async function setCandidateValidatorGasPrice(
|
3453
3360
|
client: SuiClient,
|
3454
|
-
args: [
|
3455
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3456
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3457
|
-
bigint | TransactionArgument,
|
3458
|
-
],
|
3361
|
+
args: [string, string, bigint],
|
3459
3362
|
): Promise<TypedDevInspectResults<[]>> {
|
3460
3363
|
const tx = new Transaction();
|
3461
3364
|
builder.setCandidateValidatorGasPrice(tx, args);
|
@@ -3470,11 +3373,7 @@ export namespace sui_system {
|
|
3470
3373
|
}
|
3471
3374
|
export async function undoReportValidator(
|
3472
3375
|
client: SuiClient,
|
3473
|
-
args: [
|
3474
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3475
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3476
|
-
string | TransactionArgument,
|
3477
|
-
],
|
3376
|
+
args: [string, string, string],
|
3478
3377
|
): Promise<TypedDevInspectResults<[]>> {
|
3479
3378
|
const tx = new Transaction();
|
3480
3379
|
builder.undoReportValidator(tx, args);
|
@@ -3489,10 +3388,7 @@ export namespace sui_system {
|
|
3489
3388
|
}
|
3490
3389
|
export async function updateCandidateValidatorNetworkAddress(
|
3491
3390
|
client: SuiClient,
|
3492
|
-
args: [
|
3493
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3494
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3495
|
-
],
|
3391
|
+
args: [string, string[]],
|
3496
3392
|
): Promise<TypedDevInspectResults<[]>> {
|
3497
3393
|
const tx = new Transaction();
|
3498
3394
|
builder.updateCandidateValidatorNetworkAddress(tx, args);
|
@@ -3507,10 +3403,7 @@ export namespace sui_system {
|
|
3507
3403
|
}
|
3508
3404
|
export async function updateCandidateValidatorNetworkPubkey(
|
3509
3405
|
client: SuiClient,
|
3510
|
-
args: [
|
3511
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3512
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3513
|
-
],
|
3406
|
+
args: [string, string[]],
|
3514
3407
|
): Promise<TypedDevInspectResults<[]>> {
|
3515
3408
|
const tx = new Transaction();
|
3516
3409
|
builder.updateCandidateValidatorNetworkPubkey(tx, args);
|
@@ -3525,10 +3418,7 @@ export namespace sui_system {
|
|
3525
3418
|
}
|
3526
3419
|
export async function updateCandidateValidatorP2pAddress(
|
3527
3420
|
client: SuiClient,
|
3528
|
-
args: [
|
3529
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3530
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3531
|
-
],
|
3421
|
+
args: [string, string[]],
|
3532
3422
|
): Promise<TypedDevInspectResults<[]>> {
|
3533
3423
|
const tx = new Transaction();
|
3534
3424
|
builder.updateCandidateValidatorP2pAddress(tx, args);
|
@@ -3543,10 +3433,7 @@ export namespace sui_system {
|
|
3543
3433
|
}
|
3544
3434
|
export async function updateCandidateValidatorPrimaryAddress(
|
3545
3435
|
client: SuiClient,
|
3546
|
-
args: [
|
3547
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3548
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3549
|
-
],
|
3436
|
+
args: [string, string[]],
|
3550
3437
|
): Promise<TypedDevInspectResults<[]>> {
|
3551
3438
|
const tx = new Transaction();
|
3552
3439
|
builder.updateCandidateValidatorPrimaryAddress(tx, args);
|
@@ -3561,11 +3448,7 @@ export namespace sui_system {
|
|
3561
3448
|
}
|
3562
3449
|
export async function updateCandidateValidatorProtocolPubkey(
|
3563
3450
|
client: SuiClient,
|
3564
|
-
args: [
|
3565
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3566
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3567
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3568
|
-
],
|
3451
|
+
args: [string, string[], string[]],
|
3569
3452
|
): Promise<TypedDevInspectResults<[]>> {
|
3570
3453
|
const tx = new Transaction();
|
3571
3454
|
builder.updateCandidateValidatorProtocolPubkey(tx, args);
|
@@ -3580,10 +3463,7 @@ export namespace sui_system {
|
|
3580
3463
|
}
|
3581
3464
|
export async function updateCandidateValidatorWorkerAddress(
|
3582
3465
|
client: SuiClient,
|
3583
|
-
args: [
|
3584
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3585
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3586
|
-
],
|
3466
|
+
args: [string, string[]],
|
3587
3467
|
): Promise<TypedDevInspectResults<[]>> {
|
3588
3468
|
const tx = new Transaction();
|
3589
3469
|
builder.updateCandidateValidatorWorkerAddress(tx, args);
|
@@ -3598,10 +3478,7 @@ export namespace sui_system {
|
|
3598
3478
|
}
|
3599
3479
|
export async function updateCandidateValidatorWorkerPubkey(
|
3600
3480
|
client: SuiClient,
|
3601
|
-
args: [
|
3602
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3603
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3604
|
-
],
|
3481
|
+
args: [string, string[]],
|
3605
3482
|
): Promise<TypedDevInspectResults<[]>> {
|
3606
3483
|
const tx = new Transaction();
|
3607
3484
|
builder.updateCandidateValidatorWorkerPubkey(tx, args);
|
@@ -3616,10 +3493,7 @@ export namespace sui_system {
|
|
3616
3493
|
}
|
3617
3494
|
export async function updateValidatorDescription(
|
3618
3495
|
client: SuiClient,
|
3619
|
-
args: [
|
3620
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3621
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3622
|
-
],
|
3496
|
+
args: [string, string[]],
|
3623
3497
|
): Promise<TypedDevInspectResults<[]>> {
|
3624
3498
|
const tx = new Transaction();
|
3625
3499
|
builder.updateValidatorDescription(tx, args);
|
@@ -3634,10 +3508,7 @@ export namespace sui_system {
|
|
3634
3508
|
}
|
3635
3509
|
export async function updateValidatorImageUrl(
|
3636
3510
|
client: SuiClient,
|
3637
|
-
args: [
|
3638
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3639
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3640
|
-
],
|
3511
|
+
args: [string, string[]],
|
3641
3512
|
): Promise<TypedDevInspectResults<[]>> {
|
3642
3513
|
const tx = new Transaction();
|
3643
3514
|
builder.updateValidatorImageUrl(tx, args);
|
@@ -3652,10 +3523,7 @@ export namespace sui_system {
|
|
3652
3523
|
}
|
3653
3524
|
export async function updateValidatorName(
|
3654
3525
|
client: SuiClient,
|
3655
|
-
args: [
|
3656
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3657
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3658
|
-
],
|
3526
|
+
args: [string, string[]],
|
3659
3527
|
): Promise<TypedDevInspectResults<[]>> {
|
3660
3528
|
const tx = new Transaction();
|
3661
3529
|
builder.updateValidatorName(tx, args);
|
@@ -3670,10 +3538,7 @@ export namespace sui_system {
|
|
3670
3538
|
}
|
3671
3539
|
export async function updateValidatorNextEpochNetworkAddress(
|
3672
3540
|
client: SuiClient,
|
3673
|
-
args: [
|
3674
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3675
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3676
|
-
],
|
3541
|
+
args: [string, string[]],
|
3677
3542
|
): Promise<TypedDevInspectResults<[]>> {
|
3678
3543
|
const tx = new Transaction();
|
3679
3544
|
builder.updateValidatorNextEpochNetworkAddress(tx, args);
|
@@ -3688,10 +3553,7 @@ export namespace sui_system {
|
|
3688
3553
|
}
|
3689
3554
|
export async function updateValidatorNextEpochNetworkPubkey(
|
3690
3555
|
client: SuiClient,
|
3691
|
-
args: [
|
3692
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3693
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3694
|
-
],
|
3556
|
+
args: [string, string[]],
|
3695
3557
|
): Promise<TypedDevInspectResults<[]>> {
|
3696
3558
|
const tx = new Transaction();
|
3697
3559
|
builder.updateValidatorNextEpochNetworkPubkey(tx, args);
|
@@ -3706,10 +3568,7 @@ export namespace sui_system {
|
|
3706
3568
|
}
|
3707
3569
|
export async function updateValidatorNextEpochP2pAddress(
|
3708
3570
|
client: SuiClient,
|
3709
|
-
args: [
|
3710
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3711
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3712
|
-
],
|
3571
|
+
args: [string, string[]],
|
3713
3572
|
): Promise<TypedDevInspectResults<[]>> {
|
3714
3573
|
const tx = new Transaction();
|
3715
3574
|
builder.updateValidatorNextEpochP2pAddress(tx, args);
|
@@ -3724,10 +3583,7 @@ export namespace sui_system {
|
|
3724
3583
|
}
|
3725
3584
|
export async function updateValidatorNextEpochPrimaryAddress(
|
3726
3585
|
client: SuiClient,
|
3727
|
-
args: [
|
3728
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3729
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3730
|
-
],
|
3586
|
+
args: [string, string[]],
|
3731
3587
|
): Promise<TypedDevInspectResults<[]>> {
|
3732
3588
|
const tx = new Transaction();
|
3733
3589
|
builder.updateValidatorNextEpochPrimaryAddress(tx, args);
|
@@ -3742,11 +3598,7 @@ export namespace sui_system {
|
|
3742
3598
|
}
|
3743
3599
|
export async function updateValidatorNextEpochProtocolPubkey(
|
3744
3600
|
client: SuiClient,
|
3745
|
-
args: [
|
3746
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3747
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3748
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3749
|
-
],
|
3601
|
+
args: [string, string[], string[]],
|
3750
3602
|
): Promise<TypedDevInspectResults<[]>> {
|
3751
3603
|
const tx = new Transaction();
|
3752
3604
|
builder.updateValidatorNextEpochProtocolPubkey(tx, args);
|
@@ -3761,10 +3613,7 @@ export namespace sui_system {
|
|
3761
3613
|
}
|
3762
3614
|
export async function updateValidatorNextEpochWorkerAddress(
|
3763
3615
|
client: SuiClient,
|
3764
|
-
args: [
|
3765
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3766
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3767
|
-
],
|
3616
|
+
args: [string, string[]],
|
3768
3617
|
): Promise<TypedDevInspectResults<[]>> {
|
3769
3618
|
const tx = new Transaction();
|
3770
3619
|
builder.updateValidatorNextEpochWorkerAddress(tx, args);
|
@@ -3779,10 +3628,7 @@ export namespace sui_system {
|
|
3779
3628
|
}
|
3780
3629
|
export async function updateValidatorNextEpochWorkerPubkey(
|
3781
3630
|
client: SuiClient,
|
3782
|
-
args: [
|
3783
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3784
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3785
|
-
],
|
3631
|
+
args: [string, string[]],
|
3786
3632
|
): Promise<TypedDevInspectResults<[]>> {
|
3787
3633
|
const tx = new Transaction();
|
3788
3634
|
builder.updateValidatorNextEpochWorkerPubkey(tx, args);
|
@@ -3797,10 +3643,7 @@ export namespace sui_system {
|
|
3797
3643
|
}
|
3798
3644
|
export async function updateValidatorProjectUrl(
|
3799
3645
|
client: SuiClient,
|
3800
|
-
args: [
|
3801
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3802
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3803
|
-
],
|
3646
|
+
args: [string, string[]],
|
3804
3647
|
): Promise<TypedDevInspectResults<[]>> {
|
3805
3648
|
const tx = new Transaction();
|
3806
3649
|
builder.updateValidatorProjectUrl(tx, args);
|
@@ -3815,10 +3658,7 @@ export namespace sui_system {
|
|
3815
3658
|
}
|
3816
3659
|
export async function validatorAddressByPoolId(
|
3817
3660
|
client: SuiClient,
|
3818
|
-
args: [
|
3819
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3820
|
-
string | TransactionObjectArgument | TransactionArgument,
|
3821
|
-
],
|
3661
|
+
args: [string, string],
|
3822
3662
|
): Promise<TypedDevInspectResults<[string]>> {
|
3823
3663
|
const tx = new Transaction();
|
3824
3664
|
builder.validatorAddressByPoolId(tx, args);
|
@@ -5261,7 +5101,7 @@ export namespace sui_system_state_inner {
|
|
5261
5101
|
export namespace view {
|
5262
5102
|
export async function activeValidatorAddresses(
|
5263
5103
|
client: SuiClient,
|
5264
|
-
args: [string
|
5104
|
+
args: [string],
|
5265
5105
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
5266
5106
|
const tx = new Transaction();
|
5267
5107
|
builder.activeValidatorAddresses(tx, args);
|
@@ -5276,7 +5116,7 @@ export namespace sui_system_state_inner {
|
|
5276
5116
|
}
|
5277
5117
|
export async function activeValidatorVotingPowers(
|
5278
5118
|
client: SuiClient,
|
5279
|
-
args: [string
|
5119
|
+
args: [string],
|
5280
5120
|
): Promise<TypedDevInspectResults<[_0x2.vec_map.VecMap<string, bigint>]>> {
|
5281
5121
|
const tx = new Transaction();
|
5282
5122
|
builder.activeValidatorVotingPowers(tx, args);
|
@@ -5292,16 +5132,16 @@ export namespace sui_system_state_inner {
|
|
5292
5132
|
export async function advanceEpoch(
|
5293
5133
|
client: SuiClient,
|
5294
5134
|
args: [
|
5295
|
-
string
|
5296
|
-
bigint
|
5297
|
-
bigint
|
5298
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
5299
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
5300
|
-
bigint
|
5301
|
-
bigint
|
5302
|
-
bigint
|
5303
|
-
bigint
|
5304
|
-
bigint
|
5135
|
+
string,
|
5136
|
+
bigint,
|
5137
|
+
bigint,
|
5138
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
5139
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
5140
|
+
bigint,
|
5141
|
+
bigint,
|
5142
|
+
bigint,
|
5143
|
+
bigint,
|
5144
|
+
bigint,
|
5305
5145
|
],
|
5306
5146
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
5307
5147
|
const tx = new Transaction();
|
@@ -5317,10 +5157,7 @@ export namespace sui_system_state_inner {
|
|
5317
5157
|
}
|
5318
5158
|
export async function convertToFungibleStakedSui(
|
5319
5159
|
client: SuiClient,
|
5320
|
-
args: [
|
5321
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5322
|
-
staking_pool.StakedSui | TransactionArgument,
|
5323
|
-
],
|
5160
|
+
args: [string, staking_pool.StakedSui],
|
5324
5161
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
5325
5162
|
const tx = new Transaction();
|
5326
5163
|
builder.convertToFungibleStakedSui(tx, args);
|
@@ -5336,12 +5173,12 @@ export namespace sui_system_state_inner {
|
|
5336
5173
|
export async function create(
|
5337
5174
|
client: SuiClient,
|
5338
5175
|
args: [
|
5339
|
-
|
5340
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
5341
|
-
bigint
|
5342
|
-
bigint
|
5343
|
-
sui_system_state_inner.SystemParameters
|
5344
|
-
stake_subsidy.StakeSubsidy
|
5176
|
+
string[],
|
5177
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
5178
|
+
bigint,
|
5179
|
+
bigint,
|
5180
|
+
sui_system_state_inner.SystemParameters,
|
5181
|
+
stake_subsidy.StakeSubsidy,
|
5345
5182
|
],
|
5346
5183
|
): Promise<
|
5347
5184
|
TypedDevInspectResults<[sui_system_state_inner.SuiSystemStateInner]>
|
@@ -5359,15 +5196,7 @@ export namespace sui_system_state_inner {
|
|
5359
5196
|
}
|
5360
5197
|
export async function createSystemParameters(
|
5361
5198
|
client: SuiClient,
|
5362
|
-
args: [
|
5363
|
-
bigint | TransactionArgument,
|
5364
|
-
bigint | TransactionArgument,
|
5365
|
-
bigint | TransactionArgument,
|
5366
|
-
bigint | TransactionArgument,
|
5367
|
-
bigint | TransactionArgument,
|
5368
|
-
bigint | TransactionArgument,
|
5369
|
-
bigint | TransactionArgument,
|
5370
|
-
],
|
5199
|
+
args: [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
5371
5200
|
): Promise<
|
5372
5201
|
TypedDevInspectResults<[sui_system_state_inner.SystemParameters]>
|
5373
5202
|
> {
|
@@ -5384,7 +5213,7 @@ export namespace sui_system_state_inner {
|
|
5384
5213
|
}
|
5385
5214
|
export async function epoch(
|
5386
5215
|
client: SuiClient,
|
5387
|
-
args: [string
|
5216
|
+
args: [string],
|
5388
5217
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
5389
5218
|
const tx = new Transaction();
|
5390
5219
|
builder.epoch(tx, args);
|
@@ -5399,7 +5228,7 @@ export namespace sui_system_state_inner {
|
|
5399
5228
|
}
|
5400
5229
|
export async function epochStartTimestampMs(
|
5401
5230
|
client: SuiClient,
|
5402
|
-
args: [string
|
5231
|
+
args: [string],
|
5403
5232
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
5404
5233
|
const tx = new Transaction();
|
5405
5234
|
builder.epochStartTimestampMs(tx, args);
|
@@ -5429,10 +5258,7 @@ export namespace sui_system_state_inner {
|
|
5429
5258
|
}
|
5430
5259
|
export async function getReportersOf(
|
5431
5260
|
client: SuiClient,
|
5432
|
-
args: [
|
5433
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5434
|
-
string | TransactionArgument,
|
5435
|
-
],
|
5261
|
+
args: [string, string],
|
5436
5262
|
): Promise<TypedDevInspectResults<[_0x2.vec_set.VecSet<string>]>> {
|
5437
5263
|
const tx = new Transaction();
|
5438
5264
|
builder.getReportersOf(tx, args);
|
@@ -5447,7 +5273,7 @@ export namespace sui_system_state_inner {
|
|
5447
5273
|
}
|
5448
5274
|
export async function getStorageFundObjectRebates(
|
5449
5275
|
client: SuiClient,
|
5450
|
-
args: [string
|
5276
|
+
args: [string],
|
5451
5277
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
5452
5278
|
const tx = new Transaction();
|
5453
5279
|
builder.getStorageFundObjectRebates(tx, args);
|
@@ -5462,7 +5288,7 @@ export namespace sui_system_state_inner {
|
|
5462
5288
|
}
|
5463
5289
|
export async function getStorageFundTotalBalance(
|
5464
5290
|
client: SuiClient,
|
5465
|
-
args: [string
|
5291
|
+
args: [string],
|
5466
5292
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
5467
5293
|
const tx = new Transaction();
|
5468
5294
|
builder.getStorageFundTotalBalance(tx, args);
|
@@ -5477,10 +5303,7 @@ export namespace sui_system_state_inner {
|
|
5477
5303
|
}
|
5478
5304
|
export async function poolExchangeRates(
|
5479
5305
|
client: SuiClient,
|
5480
|
-
args: [
|
5481
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5482
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5483
|
-
],
|
5306
|
+
args: [string, string],
|
5484
5307
|
): Promise<TypedDevInspectResults<[string]>> {
|
5485
5308
|
const tx = new Transaction();
|
5486
5309
|
builder.poolExchangeRates(tx, args);
|
@@ -5495,7 +5318,7 @@ export namespace sui_system_state_inner {
|
|
5495
5318
|
}
|
5496
5319
|
export async function protocolVersion(
|
5497
5320
|
client: SuiClient,
|
5498
|
-
args: [string
|
5321
|
+
args: [string],
|
5499
5322
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
5500
5323
|
const tx = new Transaction();
|
5501
5324
|
builder.protocolVersion(tx, args);
|
@@ -5510,10 +5333,7 @@ export namespace sui_system_state_inner {
|
|
5510
5333
|
}
|
5511
5334
|
export async function redeemFungibleStakedSui(
|
5512
5335
|
client: SuiClient,
|
5513
|
-
args: [
|
5514
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5515
|
-
staking_pool.FungibleStakedSui | TransactionArgument,
|
5516
|
-
],
|
5336
|
+
args: [string, staking_pool.FungibleStakedSui],
|
5517
5337
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
5518
5338
|
const tx = new Transaction();
|
5519
5339
|
builder.redeemFungibleStakedSui(tx, args);
|
@@ -5528,11 +5348,7 @@ export namespace sui_system_state_inner {
|
|
5528
5348
|
}
|
5529
5349
|
export async function reportValidator(
|
5530
5350
|
client: SuiClient,
|
5531
|
-
args: [
|
5532
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5533
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5534
|
-
string | TransactionArgument,
|
5535
|
-
],
|
5351
|
+
args: [string, string, string],
|
5536
5352
|
): Promise<TypedDevInspectResults<[]>> {
|
5537
5353
|
const tx = new Transaction();
|
5538
5354
|
builder.reportValidator(tx, args);
|
@@ -5547,11 +5363,7 @@ export namespace sui_system_state_inner {
|
|
5547
5363
|
}
|
5548
5364
|
export async function requestAddStake(
|
5549
5365
|
client: SuiClient,
|
5550
|
-
args: [
|
5551
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5552
|
-
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
5553
|
-
string | TransactionArgument,
|
5554
|
-
],
|
5366
|
+
args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string],
|
5555
5367
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
5556
5368
|
const tx = new Transaction();
|
5557
5369
|
builder.requestAddStake(tx, args);
|
@@ -5566,12 +5378,7 @@ export namespace sui_system_state_inner {
|
|
5566
5378
|
}
|
5567
5379
|
export async function requestAddStakeMulCoin(
|
5568
5380
|
client: SuiClient,
|
5569
|
-
args: [
|
5570
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5571
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5572
|
-
_0x1.option.Option<bigint> | TransactionArgument,
|
5573
|
-
string | TransactionArgument,
|
5574
|
-
],
|
5381
|
+
args: [string, string[], _0x1.option.Option<bigint>, string],
|
5575
5382
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
5576
5383
|
const tx = new Transaction();
|
5577
5384
|
builder.requestAddStakeMulCoin(tx, args);
|
@@ -5586,7 +5393,7 @@ export namespace sui_system_state_inner {
|
|
5586
5393
|
}
|
5587
5394
|
export async function requestAddValidator(
|
5588
5395
|
client: SuiClient,
|
5589
|
-
args: [string
|
5396
|
+
args: [string],
|
5590
5397
|
): Promise<TypedDevInspectResults<[]>> {
|
5591
5398
|
const tx = new Transaction();
|
5592
5399
|
builder.requestAddValidator(tx, args);
|
@@ -5602,21 +5409,21 @@ export namespace sui_system_state_inner {
|
|
5602
5409
|
export async function requestAddValidatorCandidate(
|
5603
5410
|
client: SuiClient,
|
5604
5411
|
args: [
|
5605
|
-
string
|
5606
|
-
|
5607
|
-
|
5608
|
-
|
5609
|
-
|
5610
|
-
|
5611
|
-
|
5612
|
-
|
5613
|
-
|
5614
|
-
|
5615
|
-
|
5616
|
-
|
5617
|
-
|
5618
|
-
bigint
|
5619
|
-
bigint
|
5412
|
+
string,
|
5413
|
+
string[],
|
5414
|
+
string[],
|
5415
|
+
string[],
|
5416
|
+
string[],
|
5417
|
+
string[],
|
5418
|
+
string[],
|
5419
|
+
string[],
|
5420
|
+
string[],
|
5421
|
+
string[],
|
5422
|
+
string[],
|
5423
|
+
string[],
|
5424
|
+
string[],
|
5425
|
+
bigint,
|
5426
|
+
bigint,
|
5620
5427
|
],
|
5621
5428
|
): Promise<TypedDevInspectResults<[]>> {
|
5622
5429
|
const tx = new Transaction();
|
@@ -5632,7 +5439,7 @@ export namespace sui_system_state_inner {
|
|
5632
5439
|
}
|
5633
5440
|
export async function requestRemoveValidator(
|
5634
5441
|
client: SuiClient,
|
5635
|
-
args: [string
|
5442
|
+
args: [string],
|
5636
5443
|
): Promise<TypedDevInspectResults<[]>> {
|
5637
5444
|
const tx = new Transaction();
|
5638
5445
|
builder.requestRemoveValidator(tx, args);
|
@@ -5647,7 +5454,7 @@ export namespace sui_system_state_inner {
|
|
5647
5454
|
}
|
5648
5455
|
export async function requestRemoveValidatorCandidate(
|
5649
5456
|
client: SuiClient,
|
5650
|
-
args: [string
|
5457
|
+
args: [string],
|
5651
5458
|
): Promise<TypedDevInspectResults<[]>> {
|
5652
5459
|
const tx = new Transaction();
|
5653
5460
|
builder.requestRemoveValidatorCandidate(tx, args);
|
@@ -5662,10 +5469,7 @@ export namespace sui_system_state_inner {
|
|
5662
5469
|
}
|
5663
5470
|
export async function requestSetCommissionRate(
|
5664
5471
|
client: SuiClient,
|
5665
|
-
args: [
|
5666
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5667
|
-
bigint | TransactionArgument,
|
5668
|
-
],
|
5472
|
+
args: [string, bigint],
|
5669
5473
|
): Promise<TypedDevInspectResults<[]>> {
|
5670
5474
|
const tx = new Transaction();
|
5671
5475
|
builder.requestSetCommissionRate(tx, args);
|
@@ -5680,11 +5484,7 @@ export namespace sui_system_state_inner {
|
|
5680
5484
|
}
|
5681
5485
|
export async function requestSetGasPrice(
|
5682
5486
|
client: SuiClient,
|
5683
|
-
args: [
|
5684
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5685
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5686
|
-
bigint | TransactionArgument,
|
5687
|
-
],
|
5487
|
+
args: [string, string, bigint],
|
5688
5488
|
): Promise<TypedDevInspectResults<[]>> {
|
5689
5489
|
const tx = new Transaction();
|
5690
5490
|
builder.requestSetGasPrice(tx, args);
|
@@ -5699,10 +5499,7 @@ export namespace sui_system_state_inner {
|
|
5699
5499
|
}
|
5700
5500
|
export async function requestWithdrawStake(
|
5701
5501
|
client: SuiClient,
|
5702
|
-
args: [
|
5703
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5704
|
-
staking_pool.StakedSui | TransactionArgument,
|
5705
|
-
],
|
5502
|
+
args: [string, staking_pool.StakedSui],
|
5706
5503
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
5707
5504
|
const tx = new Transaction();
|
5708
5505
|
builder.requestWithdrawStake(tx, args);
|
@@ -5717,7 +5514,7 @@ export namespace sui_system_state_inner {
|
|
5717
5514
|
}
|
5718
5515
|
export async function rotateOperationCap(
|
5719
5516
|
client: SuiClient,
|
5720
|
-
args: [string
|
5517
|
+
args: [string],
|
5721
5518
|
): Promise<TypedDevInspectResults<[]>> {
|
5722
5519
|
const tx = new Transaction();
|
5723
5520
|
builder.rotateOperationCap(tx, args);
|
@@ -5732,10 +5529,7 @@ export namespace sui_system_state_inner {
|
|
5732
5529
|
}
|
5733
5530
|
export async function setCandidateValidatorCommissionRate(
|
5734
5531
|
client: SuiClient,
|
5735
|
-
args: [
|
5736
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5737
|
-
bigint | TransactionArgument,
|
5738
|
-
],
|
5532
|
+
args: [string, bigint],
|
5739
5533
|
): Promise<TypedDevInspectResults<[]>> {
|
5740
5534
|
const tx = new Transaction();
|
5741
5535
|
builder.setCandidateValidatorCommissionRate(tx, args);
|
@@ -5750,11 +5544,7 @@ export namespace sui_system_state_inner {
|
|
5750
5544
|
}
|
5751
5545
|
export async function setCandidateValidatorGasPrice(
|
5752
5546
|
client: SuiClient,
|
5753
|
-
args: [
|
5754
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5755
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5756
|
-
bigint | TransactionArgument,
|
5757
|
-
],
|
5547
|
+
args: [string, string, bigint],
|
5758
5548
|
): Promise<TypedDevInspectResults<[]>> {
|
5759
5549
|
const tx = new Transaction();
|
5760
5550
|
builder.setCandidateValidatorGasPrice(tx, args);
|
@@ -5769,7 +5559,7 @@ export namespace sui_system_state_inner {
|
|
5769
5559
|
}
|
5770
5560
|
export async function systemStateVersion(
|
5771
5561
|
client: SuiClient,
|
5772
|
-
args: [string
|
5562
|
+
args: [string],
|
5773
5563
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
5774
5564
|
const tx = new Transaction();
|
5775
5565
|
builder.systemStateVersion(tx, args);
|
@@ -5784,11 +5574,7 @@ export namespace sui_system_state_inner {
|
|
5784
5574
|
}
|
5785
5575
|
export async function undoReportValidator(
|
5786
5576
|
client: SuiClient,
|
5787
|
-
args: [
|
5788
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5789
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5790
|
-
string | TransactionArgument,
|
5791
|
-
],
|
5577
|
+
args: [string, string, string],
|
5792
5578
|
): Promise<TypedDevInspectResults<[]>> {
|
5793
5579
|
const tx = new Transaction();
|
5794
5580
|
builder.undoReportValidator(tx, args);
|
@@ -5803,10 +5589,7 @@ export namespace sui_system_state_inner {
|
|
5803
5589
|
}
|
5804
5590
|
export async function updateCandidateValidatorNetworkAddress(
|
5805
5591
|
client: SuiClient,
|
5806
|
-
args: [
|
5807
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5808
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5809
|
-
],
|
5592
|
+
args: [string, string[]],
|
5810
5593
|
): Promise<TypedDevInspectResults<[]>> {
|
5811
5594
|
const tx = new Transaction();
|
5812
5595
|
builder.updateCandidateValidatorNetworkAddress(tx, args);
|
@@ -5821,10 +5604,7 @@ export namespace sui_system_state_inner {
|
|
5821
5604
|
}
|
5822
5605
|
export async function updateCandidateValidatorNetworkPubkey(
|
5823
5606
|
client: SuiClient,
|
5824
|
-
args: [
|
5825
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5826
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5827
|
-
],
|
5607
|
+
args: [string, string[]],
|
5828
5608
|
): Promise<TypedDevInspectResults<[]>> {
|
5829
5609
|
const tx = new Transaction();
|
5830
5610
|
builder.updateCandidateValidatorNetworkPubkey(tx, args);
|
@@ -5839,10 +5619,7 @@ export namespace sui_system_state_inner {
|
|
5839
5619
|
}
|
5840
5620
|
export async function updateCandidateValidatorP2pAddress(
|
5841
5621
|
client: SuiClient,
|
5842
|
-
args: [
|
5843
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5844
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5845
|
-
],
|
5622
|
+
args: [string, string[]],
|
5846
5623
|
): Promise<TypedDevInspectResults<[]>> {
|
5847
5624
|
const tx = new Transaction();
|
5848
5625
|
builder.updateCandidateValidatorP2pAddress(tx, args);
|
@@ -5857,10 +5634,7 @@ export namespace sui_system_state_inner {
|
|
5857
5634
|
}
|
5858
5635
|
export async function updateCandidateValidatorPrimaryAddress(
|
5859
5636
|
client: SuiClient,
|
5860
|
-
args: [
|
5861
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5862
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5863
|
-
],
|
5637
|
+
args: [string, string[]],
|
5864
5638
|
): Promise<TypedDevInspectResults<[]>> {
|
5865
5639
|
const tx = new Transaction();
|
5866
5640
|
builder.updateCandidateValidatorPrimaryAddress(tx, args);
|
@@ -5875,11 +5649,7 @@ export namespace sui_system_state_inner {
|
|
5875
5649
|
}
|
5876
5650
|
export async function updateCandidateValidatorProtocolPubkey(
|
5877
5651
|
client: SuiClient,
|
5878
|
-
args: [
|
5879
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5880
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5881
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5882
|
-
],
|
5652
|
+
args: [string, string[], string[]],
|
5883
5653
|
): Promise<TypedDevInspectResults<[]>> {
|
5884
5654
|
const tx = new Transaction();
|
5885
5655
|
builder.updateCandidateValidatorProtocolPubkey(tx, args);
|
@@ -5894,10 +5664,7 @@ export namespace sui_system_state_inner {
|
|
5894
5664
|
}
|
5895
5665
|
export async function updateCandidateValidatorWorkerAddress(
|
5896
5666
|
client: SuiClient,
|
5897
|
-
args: [
|
5898
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5899
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5900
|
-
],
|
5667
|
+
args: [string, string[]],
|
5901
5668
|
): Promise<TypedDevInspectResults<[]>> {
|
5902
5669
|
const tx = new Transaction();
|
5903
5670
|
builder.updateCandidateValidatorWorkerAddress(tx, args);
|
@@ -5912,10 +5679,7 @@ export namespace sui_system_state_inner {
|
|
5912
5679
|
}
|
5913
5680
|
export async function updateCandidateValidatorWorkerPubkey(
|
5914
5681
|
client: SuiClient,
|
5915
|
-
args: [
|
5916
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5917
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5918
|
-
],
|
5682
|
+
args: [string, string[]],
|
5919
5683
|
): Promise<TypedDevInspectResults<[]>> {
|
5920
5684
|
const tx = new Transaction();
|
5921
5685
|
builder.updateCandidateValidatorWorkerPubkey(tx, args);
|
@@ -5930,10 +5694,7 @@ export namespace sui_system_state_inner {
|
|
5930
5694
|
}
|
5931
5695
|
export async function updateValidatorDescription(
|
5932
5696
|
client: SuiClient,
|
5933
|
-
args: [
|
5934
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5935
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5936
|
-
],
|
5697
|
+
args: [string, string[]],
|
5937
5698
|
): Promise<TypedDevInspectResults<[]>> {
|
5938
5699
|
const tx = new Transaction();
|
5939
5700
|
builder.updateValidatorDescription(tx, args);
|
@@ -5948,10 +5709,7 @@ export namespace sui_system_state_inner {
|
|
5948
5709
|
}
|
5949
5710
|
export async function updateValidatorImageUrl(
|
5950
5711
|
client: SuiClient,
|
5951
|
-
args: [
|
5952
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5953
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5954
|
-
],
|
5712
|
+
args: [string, string[]],
|
5955
5713
|
): Promise<TypedDevInspectResults<[]>> {
|
5956
5714
|
const tx = new Transaction();
|
5957
5715
|
builder.updateValidatorImageUrl(tx, args);
|
@@ -5966,10 +5724,7 @@ export namespace sui_system_state_inner {
|
|
5966
5724
|
}
|
5967
5725
|
export async function updateValidatorName(
|
5968
5726
|
client: SuiClient,
|
5969
|
-
args: [
|
5970
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5971
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5972
|
-
],
|
5727
|
+
args: [string, string[]],
|
5973
5728
|
): Promise<TypedDevInspectResults<[]>> {
|
5974
5729
|
const tx = new Transaction();
|
5975
5730
|
builder.updateValidatorName(tx, args);
|
@@ -5984,10 +5739,7 @@ export namespace sui_system_state_inner {
|
|
5984
5739
|
}
|
5985
5740
|
export async function updateValidatorNextEpochNetworkAddress(
|
5986
5741
|
client: SuiClient,
|
5987
|
-
args: [
|
5988
|
-
string | TransactionObjectArgument | TransactionArgument,
|
5989
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
5990
|
-
],
|
5742
|
+
args: [string, string[]],
|
5991
5743
|
): Promise<TypedDevInspectResults<[]>> {
|
5992
5744
|
const tx = new Transaction();
|
5993
5745
|
builder.updateValidatorNextEpochNetworkAddress(tx, args);
|
@@ -6002,10 +5754,7 @@ export namespace sui_system_state_inner {
|
|
6002
5754
|
}
|
6003
5755
|
export async function updateValidatorNextEpochNetworkPubkey(
|
6004
5756
|
client: SuiClient,
|
6005
|
-
args: [
|
6006
|
-
string | TransactionObjectArgument | TransactionArgument,
|
6007
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
6008
|
-
],
|
5757
|
+
args: [string, string[]],
|
6009
5758
|
): Promise<TypedDevInspectResults<[]>> {
|
6010
5759
|
const tx = new Transaction();
|
6011
5760
|
builder.updateValidatorNextEpochNetworkPubkey(tx, args);
|
@@ -6020,10 +5769,7 @@ export namespace sui_system_state_inner {
|
|
6020
5769
|
}
|
6021
5770
|
export async function updateValidatorNextEpochP2pAddress(
|
6022
5771
|
client: SuiClient,
|
6023
|
-
args: [
|
6024
|
-
string | TransactionObjectArgument | TransactionArgument,
|
6025
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
6026
|
-
],
|
5772
|
+
args: [string, string[]],
|
6027
5773
|
): Promise<TypedDevInspectResults<[]>> {
|
6028
5774
|
const tx = new Transaction();
|
6029
5775
|
builder.updateValidatorNextEpochP2pAddress(tx, args);
|
@@ -6038,10 +5784,7 @@ export namespace sui_system_state_inner {
|
|
6038
5784
|
}
|
6039
5785
|
export async function updateValidatorNextEpochPrimaryAddress(
|
6040
5786
|
client: SuiClient,
|
6041
|
-
args: [
|
6042
|
-
string | TransactionObjectArgument | TransactionArgument,
|
6043
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
6044
|
-
],
|
5787
|
+
args: [string, string[]],
|
6045
5788
|
): Promise<TypedDevInspectResults<[]>> {
|
6046
5789
|
const tx = new Transaction();
|
6047
5790
|
builder.updateValidatorNextEpochPrimaryAddress(tx, args);
|
@@ -6056,11 +5799,7 @@ export namespace sui_system_state_inner {
|
|
6056
5799
|
}
|
6057
5800
|
export async function updateValidatorNextEpochProtocolPubkey(
|
6058
5801
|
client: SuiClient,
|
6059
|
-
args: [
|
6060
|
-
string | TransactionObjectArgument | TransactionArgument,
|
6061
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
6062
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
6063
|
-
],
|
5802
|
+
args: [string, string[], string[]],
|
6064
5803
|
): Promise<TypedDevInspectResults<[]>> {
|
6065
5804
|
const tx = new Transaction();
|
6066
5805
|
builder.updateValidatorNextEpochProtocolPubkey(tx, args);
|
@@ -6075,10 +5814,7 @@ export namespace sui_system_state_inner {
|
|
6075
5814
|
}
|
6076
5815
|
export async function updateValidatorNextEpochWorkerAddress(
|
6077
5816
|
client: SuiClient,
|
6078
|
-
args: [
|
6079
|
-
string | TransactionObjectArgument | TransactionArgument,
|
6080
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
6081
|
-
],
|
5817
|
+
args: [string, string[]],
|
6082
5818
|
): Promise<TypedDevInspectResults<[]>> {
|
6083
5819
|
const tx = new Transaction();
|
6084
5820
|
builder.updateValidatorNextEpochWorkerAddress(tx, args);
|
@@ -6093,10 +5829,7 @@ export namespace sui_system_state_inner {
|
|
6093
5829
|
}
|
6094
5830
|
export async function updateValidatorNextEpochWorkerPubkey(
|
6095
5831
|
client: SuiClient,
|
6096
|
-
args: [
|
6097
|
-
string | TransactionObjectArgument | TransactionArgument,
|
6098
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
6099
|
-
],
|
5832
|
+
args: [string, string[]],
|
6100
5833
|
): Promise<TypedDevInspectResults<[]>> {
|
6101
5834
|
const tx = new Transaction();
|
6102
5835
|
builder.updateValidatorNextEpochWorkerPubkey(tx, args);
|
@@ -6111,10 +5844,7 @@ export namespace sui_system_state_inner {
|
|
6111
5844
|
}
|
6112
5845
|
export async function updateValidatorProjectUrl(
|
6113
5846
|
client: SuiClient,
|
6114
|
-
args: [
|
6115
|
-
string | TransactionObjectArgument | TransactionArgument,
|
6116
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
6117
|
-
],
|
5847
|
+
args: [string, string[]],
|
6118
5848
|
): Promise<TypedDevInspectResults<[]>> {
|
6119
5849
|
const tx = new Transaction();
|
6120
5850
|
builder.updateValidatorProjectUrl(tx, args);
|
@@ -6129,7 +5859,7 @@ export namespace sui_system_state_inner {
|
|
6129
5859
|
}
|
6130
5860
|
export async function v1ToV2(
|
6131
5861
|
client: SuiClient,
|
6132
|
-
args: [sui_system_state_inner.SuiSystemStateInner
|
5862
|
+
args: [sui_system_state_inner.SuiSystemStateInner],
|
6133
5863
|
): Promise<
|
6134
5864
|
TypedDevInspectResults<[sui_system_state_inner.SuiSystemStateInnerV2]>
|
6135
5865
|
> {
|
@@ -6146,10 +5876,7 @@ export namespace sui_system_state_inner {
|
|
6146
5876
|
}
|
6147
5877
|
export async function validatorAddressByPoolId(
|
6148
5878
|
client: SuiClient,
|
6149
|
-
args: [
|
6150
|
-
string | TransactionObjectArgument | TransactionArgument,
|
6151
|
-
string | TransactionObjectArgument | TransactionArgument,
|
6152
|
-
],
|
5879
|
+
args: [string, string],
|
6153
5880
|
): Promise<TypedDevInspectResults<[string]>> {
|
6154
5881
|
const tx = new Transaction();
|
6155
5882
|
builder.validatorAddressByPoolId(tx, args);
|
@@ -6164,10 +5891,7 @@ export namespace sui_system_state_inner {
|
|
6164
5891
|
}
|
6165
5892
|
export async function validatorStakeAmount(
|
6166
5893
|
client: SuiClient,
|
6167
|
-
args: [
|
6168
|
-
string | TransactionObjectArgument | TransactionArgument,
|
6169
|
-
string | TransactionArgument,
|
6170
|
-
],
|
5894
|
+
args: [string, string],
|
6171
5895
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
6172
5896
|
const tx = new Transaction();
|
6173
5897
|
builder.validatorStakeAmount(tx, args);
|
@@ -6182,11 +5906,8 @@ export namespace sui_system_state_inner {
|
|
6182
5906
|
}
|
6183
5907
|
export async function validatorStakingPoolId(
|
6184
5908
|
client: SuiClient,
|
6185
|
-
args: [
|
6186
|
-
|
6187
|
-
string | TransactionArgument,
|
6188
|
-
],
|
6189
|
-
): Promise<TypedDevInspectResults<[_0x2.object_.ID]>> {
|
5909
|
+
args: [string, string],
|
5910
|
+
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
6190
5911
|
const tx = new Transaction();
|
6191
5912
|
builder.validatorStakingPoolId(tx, args);
|
6192
5913
|
const inspectRes = await client.devInspectTransactionBlock({
|
@@ -6195,12 +5916,12 @@ export namespace sui_system_state_inner {
|
|
6195
5916
|
});
|
6196
5917
|
|
6197
5918
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
6198
|
-
[_0x2.
|
5919
|
+
[_0x2.object$.ID]
|
6199
5920
|
>(inspectRes);
|
6200
5921
|
}
|
6201
5922
|
export async function validatorStakingPoolMappings(
|
6202
5923
|
client: SuiClient,
|
6203
|
-
args: [string
|
5924
|
+
args: [string],
|
6204
5925
|
): Promise<TypedDevInspectResults<[string]>> {
|
6205
5926
|
const tx = new Transaction();
|
6206
5927
|
builder.validatorStakingPoolMappings(tx, args);
|
@@ -6292,7 +6013,7 @@ export class validator extends SuiBaseProcessor {
|
|
6292
6013
|
|
6293
6014
|
export namespace validator {
|
6294
6015
|
export interface ConvertingToFungibleStakedSuiEvent {
|
6295
|
-
pool_id: _0x2.
|
6016
|
+
pool_id: _0x2.object$.ID;
|
6296
6017
|
stake_activation_epoch: bigint;
|
6297
6018
|
staked_sui_principal_amount: bigint;
|
6298
6019
|
fungible_staked_sui_amount: bigint;
|
@@ -6318,7 +6039,7 @@ export namespace validator {
|
|
6318
6039
|
}
|
6319
6040
|
|
6320
6041
|
export interface RedeemingFungibleStakedSuiEvent {
|
6321
|
-
pool_id: _0x2.
|
6042
|
+
pool_id: _0x2.object$.ID;
|
6322
6043
|
fungible_staked_sui_amount: bigint;
|
6323
6044
|
sui_amount: bigint;
|
6324
6045
|
}
|
@@ -6342,7 +6063,7 @@ export namespace validator {
|
|
6342
6063
|
}
|
6343
6064
|
|
6344
6065
|
export interface StakingRequestEvent {
|
6345
|
-
pool_id: _0x2.
|
6066
|
+
pool_id: _0x2.object$.ID;
|
6346
6067
|
validator_address: string;
|
6347
6068
|
staker_address: string;
|
6348
6069
|
epoch: bigint;
|
@@ -6368,7 +6089,7 @@ export namespace validator {
|
|
6368
6089
|
}
|
6369
6090
|
|
6370
6091
|
export interface UnstakingRequestEvent {
|
6371
|
-
pool_id: _0x2.
|
6092
|
+
pool_id: _0x2.object$.ID;
|
6372
6093
|
validator_address: string;
|
6373
6094
|
staker_address: string;
|
6374
6095
|
stake_activation_epoch: bigint;
|
@@ -6398,7 +6119,7 @@ export namespace validator {
|
|
6398
6119
|
export interface Validator {
|
6399
6120
|
metadata: validator.ValidatorMetadata;
|
6400
6121
|
voting_power: bigint;
|
6401
|
-
operation_cap_id: _0x2.
|
6122
|
+
operation_cap_id: _0x2.object$.ID;
|
6402
6123
|
gas_price: bigint;
|
6403
6124
|
staking_pool: staking_pool.StakingPool;
|
6404
6125
|
commission_rate: bigint;
|
@@ -6697,7 +6418,7 @@ export namespace validator {
|
|
6697
6418
|
arguments: _args,
|
6698
6419
|
});
|
6699
6420
|
}
|
6700
|
-
export function
|
6421
|
+
export function new$(
|
6701
6422
|
tx: Transaction,
|
6702
6423
|
args: [
|
6703
6424
|
string | TransactionArgument,
|
@@ -7690,10 +7411,7 @@ export namespace validator {
|
|
7690
7411
|
export namespace view {
|
7691
7412
|
export async function activate(
|
7692
7413
|
client: SuiClient,
|
7693
|
-
args: [
|
7694
|
-
string | TransactionObjectArgument | TransactionArgument,
|
7695
|
-
bigint | TransactionArgument,
|
7696
|
-
],
|
7414
|
+
args: [string, bigint],
|
7697
7415
|
): Promise<TypedDevInspectResults<[]>> {
|
7698
7416
|
const tx = new Transaction();
|
7699
7417
|
builder.activate(tx, args);
|
@@ -7708,7 +7426,7 @@ export namespace validator {
|
|
7708
7426
|
}
|
7709
7427
|
export async function adjustStakeAndGasPrice(
|
7710
7428
|
client: SuiClient,
|
7711
|
-
args: [string
|
7429
|
+
args: [string],
|
7712
7430
|
): Promise<TypedDevInspectResults<[]>> {
|
7713
7431
|
const tx = new Transaction();
|
7714
7432
|
builder.adjustStakeAndGasPrice(tx, args);
|
@@ -7723,7 +7441,7 @@ export namespace validator {
|
|
7723
7441
|
}
|
7724
7442
|
export async function commissionRate(
|
7725
7443
|
client: SuiClient,
|
7726
|
-
args: [string
|
7444
|
+
args: [string],
|
7727
7445
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
7728
7446
|
const tx = new Transaction();
|
7729
7447
|
builder.commissionRate(tx, args);
|
@@ -7738,10 +7456,7 @@ export namespace validator {
|
|
7738
7456
|
}
|
7739
7457
|
export async function convertToFungibleStakedSui(
|
7740
7458
|
client: SuiClient,
|
7741
|
-
args: [
|
7742
|
-
string | TransactionObjectArgument | TransactionArgument,
|
7743
|
-
staking_pool.StakedSui | TransactionArgument,
|
7744
|
-
],
|
7459
|
+
args: [string, staking_pool.StakedSui],
|
7745
7460
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
7746
7461
|
const tx = new Transaction();
|
7747
7462
|
builder.convertToFungibleStakedSui(tx, args);
|
@@ -7756,10 +7471,7 @@ export namespace validator {
|
|
7756
7471
|
}
|
7757
7472
|
export async function deactivate(
|
7758
7473
|
client: SuiClient,
|
7759
|
-
args: [
|
7760
|
-
string | TransactionObjectArgument | TransactionArgument,
|
7761
|
-
bigint | TransactionArgument,
|
7762
|
-
],
|
7474
|
+
args: [string, bigint],
|
7763
7475
|
): Promise<TypedDevInspectResults<[]>> {
|
7764
7476
|
const tx = new Transaction();
|
7765
7477
|
builder.deactivate(tx, args);
|
@@ -7774,10 +7486,7 @@ export namespace validator {
|
|
7774
7486
|
}
|
7775
7487
|
export async function depositStakeRewards(
|
7776
7488
|
client: SuiClient,
|
7777
|
-
args: [
|
7778
|
-
string | TransactionObjectArgument | TransactionArgument,
|
7779
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
7780
|
-
],
|
7489
|
+
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>],
|
7781
7490
|
): Promise<TypedDevInspectResults<[]>> {
|
7782
7491
|
const tx = new Transaction();
|
7783
7492
|
builder.depositStakeRewards(tx, args);
|
@@ -7792,7 +7501,7 @@ export namespace validator {
|
|
7792
7501
|
}
|
7793
7502
|
export async function description(
|
7794
7503
|
client: SuiClient,
|
7795
|
-
args: [string
|
7504
|
+
args: [string],
|
7796
7505
|
): Promise<TypedDevInspectResults<[string]>> {
|
7797
7506
|
const tx = new Transaction();
|
7798
7507
|
builder.description(tx, args);
|
@@ -7807,7 +7516,7 @@ export namespace validator {
|
|
7807
7516
|
}
|
7808
7517
|
export async function effectuateStagedMetadata(
|
7809
7518
|
client: SuiClient,
|
7810
|
-
args: [string
|
7519
|
+
args: [string],
|
7811
7520
|
): Promise<TypedDevInspectResults<[]>> {
|
7812
7521
|
const tx = new Transaction();
|
7813
7522
|
builder.effectuateStagedMetadata(tx, args);
|
@@ -7822,7 +7531,7 @@ export namespace validator {
|
|
7822
7531
|
}
|
7823
7532
|
export async function gasPrice(
|
7824
7533
|
client: SuiClient,
|
7825
|
-
args: [string
|
7534
|
+
args: [string],
|
7826
7535
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
7827
7536
|
const tx = new Transaction();
|
7828
7537
|
builder.gasPrice(tx, args);
|
@@ -7837,7 +7546,7 @@ export namespace validator {
|
|
7837
7546
|
}
|
7838
7547
|
export async function getStakingPoolRef(
|
7839
7548
|
client: SuiClient,
|
7840
|
-
args: [string
|
7549
|
+
args: [string],
|
7841
7550
|
): Promise<TypedDevInspectResults<[string]>> {
|
7842
7551
|
const tx = new Transaction();
|
7843
7552
|
builder.getStakingPoolRef(tx, args);
|
@@ -7852,7 +7561,7 @@ export namespace validator {
|
|
7852
7561
|
}
|
7853
7562
|
export async function imageUrl(
|
7854
7563
|
client: SuiClient,
|
7855
|
-
args: [string
|
7564
|
+
args: [string],
|
7856
7565
|
): Promise<TypedDevInspectResults<[string]>> {
|
7857
7566
|
const tx = new Transaction();
|
7858
7567
|
builder.imageUrl(tx, args);
|
@@ -7867,10 +7576,7 @@ export namespace validator {
|
|
7867
7576
|
}
|
7868
7577
|
export async function isDuplicate(
|
7869
7578
|
client: SuiClient,
|
7870
|
-
args: [
|
7871
|
-
string | TransactionObjectArgument | TransactionArgument,
|
7872
|
-
string | TransactionObjectArgument | TransactionArgument,
|
7873
|
-
],
|
7579
|
+
args: [string, string],
|
7874
7580
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
7875
7581
|
const tx = new Transaction();
|
7876
7582
|
builder.isDuplicate(tx, args);
|
@@ -7885,7 +7591,7 @@ export namespace validator {
|
|
7885
7591
|
}
|
7886
7592
|
export async function isPreactive(
|
7887
7593
|
client: SuiClient,
|
7888
|
-
args: [string
|
7594
|
+
args: [string],
|
7889
7595
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
7890
7596
|
const tx = new Transaction();
|
7891
7597
|
builder.isPreactive(tx, args);
|
@@ -7900,7 +7606,7 @@ export namespace validator {
|
|
7900
7606
|
}
|
7901
7607
|
export async function metadata(
|
7902
7608
|
client: SuiClient,
|
7903
|
-
args: [string
|
7609
|
+
args: [string],
|
7904
7610
|
): Promise<TypedDevInspectResults<[string]>> {
|
7905
7611
|
const tx = new Transaction();
|
7906
7612
|
builder.metadata(tx, args);
|
@@ -7915,7 +7621,7 @@ export namespace validator {
|
|
7915
7621
|
}
|
7916
7622
|
export async function name(
|
7917
7623
|
client: SuiClient,
|
7918
|
-
args: [string
|
7624
|
+
args: [string],
|
7919
7625
|
): Promise<TypedDevInspectResults<[string]>> {
|
7920
7626
|
const tx = new Transaction();
|
7921
7627
|
builder.name(tx, args);
|
@@ -7930,7 +7636,7 @@ export namespace validator {
|
|
7930
7636
|
}
|
7931
7637
|
export async function networkAddress(
|
7932
7638
|
client: SuiClient,
|
7933
|
-
args: [string
|
7639
|
+
args: [string],
|
7934
7640
|
): Promise<TypedDevInspectResults<[string]>> {
|
7935
7641
|
const tx = new Transaction();
|
7936
7642
|
builder.networkAddress(tx, args);
|
@@ -7945,7 +7651,7 @@ export namespace validator {
|
|
7945
7651
|
}
|
7946
7652
|
export async function networkPubkeyBytes(
|
7947
7653
|
client: SuiClient,
|
7948
|
-
args: [string
|
7654
|
+
args: [string],
|
7949
7655
|
): Promise<TypedDevInspectResults<[string]>> {
|
7950
7656
|
const tx = new Transaction();
|
7951
7657
|
builder.networkPubkeyBytes(tx, args);
|
@@ -7958,28 +7664,28 @@ export namespace validator {
|
|
7958
7664
|
inspectRes,
|
7959
7665
|
);
|
7960
7666
|
}
|
7961
|
-
export async function
|
7667
|
+
export async function new$(
|
7962
7668
|
client: SuiClient,
|
7963
7669
|
args: [
|
7964
|
-
string
|
7965
|
-
|
7966
|
-
|
7967
|
-
|
7968
|
-
|
7969
|
-
|
7970
|
-
|
7971
|
-
|
7972
|
-
|
7973
|
-
|
7974
|
-
|
7975
|
-
|
7976
|
-
|
7977
|
-
bigint
|
7978
|
-
bigint
|
7670
|
+
string,
|
7671
|
+
string[],
|
7672
|
+
string[],
|
7673
|
+
string[],
|
7674
|
+
string[],
|
7675
|
+
string[],
|
7676
|
+
string[],
|
7677
|
+
string[],
|
7678
|
+
string[],
|
7679
|
+
string[],
|
7680
|
+
string[],
|
7681
|
+
string[],
|
7682
|
+
string[],
|
7683
|
+
bigint,
|
7684
|
+
bigint,
|
7979
7685
|
],
|
7980
7686
|
): Promise<TypedDevInspectResults<[validator.Validator]>> {
|
7981
7687
|
const tx = new Transaction();
|
7982
|
-
builder.
|
7688
|
+
builder.new$(tx, args);
|
7983
7689
|
const inspectRes = await client.devInspectTransactionBlock({
|
7984
7690
|
transactionBlock: tx,
|
7985
7691
|
sender: ZERO_ADDRESS,
|
@@ -7992,20 +7698,20 @@ export namespace validator {
|
|
7992
7698
|
export async function newMetadata(
|
7993
7699
|
client: SuiClient,
|
7994
7700
|
args: [
|
7995
|
-
string
|
7996
|
-
|
7997
|
-
|
7998
|
-
|
7999
|
-
|
8000
|
-
string
|
8001
|
-
string
|
8002
|
-
_0x2.url.Url
|
8003
|
-
_0x2.url.Url
|
8004
|
-
string
|
8005
|
-
string
|
8006
|
-
string
|
8007
|
-
string
|
8008
|
-
_0x2.bag.Bag
|
7701
|
+
string,
|
7702
|
+
string[],
|
7703
|
+
string[],
|
7704
|
+
string[],
|
7705
|
+
string[],
|
7706
|
+
string,
|
7707
|
+
string,
|
7708
|
+
_0x2.url.Url,
|
7709
|
+
_0x2.url.Url,
|
7710
|
+
string,
|
7711
|
+
string,
|
7712
|
+
string,
|
7713
|
+
string,
|
7714
|
+
_0x2.bag.Bag,
|
8009
7715
|
],
|
8010
7716
|
): Promise<TypedDevInspectResults<[validator.ValidatorMetadata]>> {
|
8011
7717
|
const tx = new Transaction();
|
@@ -8021,7 +7727,7 @@ export namespace validator {
|
|
8021
7727
|
}
|
8022
7728
|
export async function newUnverifiedValidatorOperationCapAndTransfer(
|
8023
7729
|
client: SuiClient,
|
8024
|
-
args: [string
|
7730
|
+
args: [string],
|
8025
7731
|
): Promise<TypedDevInspectResults<[]>> {
|
8026
7732
|
const tx = new Transaction();
|
8027
7733
|
builder.newUnverifiedValidatorOperationCapAndTransfer(tx, args);
|
@@ -8036,7 +7742,7 @@ export namespace validator {
|
|
8036
7742
|
}
|
8037
7743
|
export async function nextEpochGasPrice(
|
8038
7744
|
client: SuiClient,
|
8039
|
-
args: [string
|
7745
|
+
args: [string],
|
8040
7746
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
8041
7747
|
const tx = new Transaction();
|
8042
7748
|
builder.nextEpochGasPrice(tx, args);
|
@@ -8051,7 +7757,7 @@ export namespace validator {
|
|
8051
7757
|
}
|
8052
7758
|
export async function nextEpochNetworkAddress(
|
8053
7759
|
client: SuiClient,
|
8054
|
-
args: [string
|
7760
|
+
args: [string],
|
8055
7761
|
): Promise<TypedDevInspectResults<[string]>> {
|
8056
7762
|
const tx = new Transaction();
|
8057
7763
|
builder.nextEpochNetworkAddress(tx, args);
|
@@ -8066,7 +7772,7 @@ export namespace validator {
|
|
8066
7772
|
}
|
8067
7773
|
export async function nextEpochNetworkPubkeyBytes(
|
8068
7774
|
client: SuiClient,
|
8069
|
-
args: [string
|
7775
|
+
args: [string],
|
8070
7776
|
): Promise<TypedDevInspectResults<[string]>> {
|
8071
7777
|
const tx = new Transaction();
|
8072
7778
|
builder.nextEpochNetworkPubkeyBytes(tx, args);
|
@@ -8081,7 +7787,7 @@ export namespace validator {
|
|
8081
7787
|
}
|
8082
7788
|
export async function nextEpochP2pAddress(
|
8083
7789
|
client: SuiClient,
|
8084
|
-
args: [string
|
7790
|
+
args: [string],
|
8085
7791
|
): Promise<TypedDevInspectResults<[string]>> {
|
8086
7792
|
const tx = new Transaction();
|
8087
7793
|
builder.nextEpochP2pAddress(tx, args);
|
@@ -8096,7 +7802,7 @@ export namespace validator {
|
|
8096
7802
|
}
|
8097
7803
|
export async function nextEpochPrimaryAddress(
|
8098
7804
|
client: SuiClient,
|
8099
|
-
args: [string
|
7805
|
+
args: [string],
|
8100
7806
|
): Promise<TypedDevInspectResults<[string]>> {
|
8101
7807
|
const tx = new Transaction();
|
8102
7808
|
builder.nextEpochPrimaryAddress(tx, args);
|
@@ -8111,7 +7817,7 @@ export namespace validator {
|
|
8111
7817
|
}
|
8112
7818
|
export async function nextEpochProofOfPossession(
|
8113
7819
|
client: SuiClient,
|
8114
|
-
args: [string
|
7820
|
+
args: [string],
|
8115
7821
|
): Promise<TypedDevInspectResults<[string]>> {
|
8116
7822
|
const tx = new Transaction();
|
8117
7823
|
builder.nextEpochProofOfPossession(tx, args);
|
@@ -8126,7 +7832,7 @@ export namespace validator {
|
|
8126
7832
|
}
|
8127
7833
|
export async function nextEpochProtocolPubkeyBytes(
|
8128
7834
|
client: SuiClient,
|
8129
|
-
args: [string
|
7835
|
+
args: [string],
|
8130
7836
|
): Promise<TypedDevInspectResults<[string]>> {
|
8131
7837
|
const tx = new Transaction();
|
8132
7838
|
builder.nextEpochProtocolPubkeyBytes(tx, args);
|
@@ -8141,7 +7847,7 @@ export namespace validator {
|
|
8141
7847
|
}
|
8142
7848
|
export async function nextEpochWorkerAddress(
|
8143
7849
|
client: SuiClient,
|
8144
|
-
args: [string
|
7850
|
+
args: [string],
|
8145
7851
|
): Promise<TypedDevInspectResults<[string]>> {
|
8146
7852
|
const tx = new Transaction();
|
8147
7853
|
builder.nextEpochWorkerAddress(tx, args);
|
@@ -8156,7 +7862,7 @@ export namespace validator {
|
|
8156
7862
|
}
|
8157
7863
|
export async function nextEpochWorkerPubkeyBytes(
|
8158
7864
|
client: SuiClient,
|
8159
|
-
args: [string
|
7865
|
+
args: [string],
|
8160
7866
|
): Promise<TypedDevInspectResults<[string]>> {
|
8161
7867
|
const tx = new Transaction();
|
8162
7868
|
builder.nextEpochWorkerPubkeyBytes(tx, args);
|
@@ -8171,7 +7877,7 @@ export namespace validator {
|
|
8171
7877
|
}
|
8172
7878
|
export async function operationCapId(
|
8173
7879
|
client: SuiClient,
|
8174
|
-
args: [string
|
7880
|
+
args: [string],
|
8175
7881
|
): Promise<TypedDevInspectResults<[string]>> {
|
8176
7882
|
const tx = new Transaction();
|
8177
7883
|
builder.operationCapId(tx, args);
|
@@ -8186,7 +7892,7 @@ export namespace validator {
|
|
8186
7892
|
}
|
8187
7893
|
export async function p2pAddress(
|
8188
7894
|
client: SuiClient,
|
8189
|
-
args: [string
|
7895
|
+
args: [string],
|
8190
7896
|
): Promise<TypedDevInspectResults<[string]>> {
|
8191
7897
|
const tx = new Transaction();
|
8192
7898
|
builder.p2pAddress(tx, args);
|
@@ -8201,7 +7907,7 @@ export namespace validator {
|
|
8201
7907
|
}
|
8202
7908
|
export async function pendingStakeAmount(
|
8203
7909
|
client: SuiClient,
|
8204
|
-
args: [string
|
7910
|
+
args: [string],
|
8205
7911
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
8206
7912
|
const tx = new Transaction();
|
8207
7913
|
builder.pendingStakeAmount(tx, args);
|
@@ -8216,7 +7922,7 @@ export namespace validator {
|
|
8216
7922
|
}
|
8217
7923
|
export async function pendingStakeWithdrawAmount(
|
8218
7924
|
client: SuiClient,
|
8219
|
-
args: [string
|
7925
|
+
args: [string],
|
8220
7926
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
8221
7927
|
const tx = new Transaction();
|
8222
7928
|
builder.pendingStakeWithdrawAmount(tx, args);
|
@@ -8231,10 +7937,7 @@ export namespace validator {
|
|
8231
7937
|
}
|
8232
7938
|
export async function poolTokenExchangeRateAtEpoch(
|
8233
7939
|
client: SuiClient,
|
8234
|
-
args: [
|
8235
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8236
|
-
bigint | TransactionArgument,
|
8237
|
-
],
|
7940
|
+
args: [string, bigint],
|
8238
7941
|
): Promise<TypedDevInspectResults<[staking_pool.PoolTokenExchangeRate]>> {
|
8239
7942
|
const tx = new Transaction();
|
8240
7943
|
builder.poolTokenExchangeRateAtEpoch(tx, args);
|
@@ -8249,7 +7952,7 @@ export namespace validator {
|
|
8249
7952
|
}
|
8250
7953
|
export async function primaryAddress(
|
8251
7954
|
client: SuiClient,
|
8252
|
-
args: [string
|
7955
|
+
args: [string],
|
8253
7956
|
): Promise<TypedDevInspectResults<[string]>> {
|
8254
7957
|
const tx = new Transaction();
|
8255
7958
|
builder.primaryAddress(tx, args);
|
@@ -8264,7 +7967,7 @@ export namespace validator {
|
|
8264
7967
|
}
|
8265
7968
|
export async function processPendingStakesAndWithdraws(
|
8266
7969
|
client: SuiClient,
|
8267
|
-
args: [string
|
7970
|
+
args: [string],
|
8268
7971
|
): Promise<TypedDevInspectResults<[]>> {
|
8269
7972
|
const tx = new Transaction();
|
8270
7973
|
builder.processPendingStakesAndWithdraws(tx, args);
|
@@ -8279,7 +7982,7 @@ export namespace validator {
|
|
8279
7982
|
}
|
8280
7983
|
export async function projectUrl(
|
8281
7984
|
client: SuiClient,
|
8282
|
-
args: [string
|
7985
|
+
args: [string],
|
8283
7986
|
): Promise<TypedDevInspectResults<[string]>> {
|
8284
7987
|
const tx = new Transaction();
|
8285
7988
|
builder.projectUrl(tx, args);
|
@@ -8294,7 +7997,7 @@ export namespace validator {
|
|
8294
7997
|
}
|
8295
7998
|
export async function proofOfPossession(
|
8296
7999
|
client: SuiClient,
|
8297
|
-
args: [string
|
8000
|
+
args: [string],
|
8298
8001
|
): Promise<TypedDevInspectResults<[string]>> {
|
8299
8002
|
const tx = new Transaction();
|
8300
8003
|
builder.proofOfPossession(tx, args);
|
@@ -8309,7 +8012,7 @@ export namespace validator {
|
|
8309
8012
|
}
|
8310
8013
|
export async function protocolPubkeyBytes(
|
8311
8014
|
client: SuiClient,
|
8312
|
-
args: [string
|
8015
|
+
args: [string],
|
8313
8016
|
): Promise<TypedDevInspectResults<[string]>> {
|
8314
8017
|
const tx = new Transaction();
|
8315
8018
|
builder.protocolPubkeyBytes(tx, args);
|
@@ -8324,10 +8027,7 @@ export namespace validator {
|
|
8324
8027
|
}
|
8325
8028
|
export async function redeemFungibleStakedSui(
|
8326
8029
|
client: SuiClient,
|
8327
|
-
args: [
|
8328
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8329
|
-
staking_pool.FungibleStakedSui | TransactionArgument,
|
8330
|
-
],
|
8030
|
+
args: [string, staking_pool.FungibleStakedSui],
|
8331
8031
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
8332
8032
|
const tx = new Transaction();
|
8333
8033
|
builder.redeemFungibleStakedSui(tx, args);
|
@@ -8342,11 +8042,7 @@ export namespace validator {
|
|
8342
8042
|
}
|
8343
8043
|
export async function requestAddStake(
|
8344
8044
|
client: SuiClient,
|
8345
|
-
args: [
|
8346
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8347
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
8348
|
-
string | TransactionArgument,
|
8349
|
-
],
|
8045
|
+
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, string],
|
8350
8046
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
8351
8047
|
const tx = new Transaction();
|
8352
8048
|
builder.requestAddStake(tx, args);
|
@@ -8361,11 +8057,7 @@ export namespace validator {
|
|
8361
8057
|
}
|
8362
8058
|
export async function requestAddStakeAtGenesis(
|
8363
8059
|
client: SuiClient,
|
8364
|
-
args: [
|
8365
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8366
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
8367
|
-
string | TransactionArgument,
|
8368
|
-
],
|
8060
|
+
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, string],
|
8369
8061
|
): Promise<TypedDevInspectResults<[]>> {
|
8370
8062
|
const tx = new Transaction();
|
8371
8063
|
builder.requestAddStakeAtGenesis(tx, args);
|
@@ -8380,10 +8072,7 @@ export namespace validator {
|
|
8380
8072
|
}
|
8381
8073
|
export async function requestSetCommissionRate(
|
8382
8074
|
client: SuiClient,
|
8383
|
-
args: [
|
8384
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8385
|
-
bigint | TransactionArgument,
|
8386
|
-
],
|
8075
|
+
args: [string, bigint],
|
8387
8076
|
): Promise<TypedDevInspectResults<[]>> {
|
8388
8077
|
const tx = new Transaction();
|
8389
8078
|
builder.requestSetCommissionRate(tx, args);
|
@@ -8398,11 +8087,7 @@ export namespace validator {
|
|
8398
8087
|
}
|
8399
8088
|
export async function requestSetGasPrice(
|
8400
8089
|
client: SuiClient,
|
8401
|
-
args: [
|
8402
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8403
|
-
validator_cap.ValidatorOperationCap | TransactionArgument,
|
8404
|
-
bigint | TransactionArgument,
|
8405
|
-
],
|
8090
|
+
args: [string, validator_cap.ValidatorOperationCap, bigint],
|
8406
8091
|
): Promise<TypedDevInspectResults<[]>> {
|
8407
8092
|
const tx = new Transaction();
|
8408
8093
|
builder.requestSetGasPrice(tx, args);
|
@@ -8417,10 +8102,7 @@ export namespace validator {
|
|
8417
8102
|
}
|
8418
8103
|
export async function requestWithdrawStake(
|
8419
8104
|
client: SuiClient,
|
8420
|
-
args: [
|
8421
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8422
|
-
staking_pool.StakedSui | TransactionArgument,
|
8423
|
-
],
|
8105
|
+
args: [string, staking_pool.StakedSui],
|
8424
8106
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
8425
8107
|
const tx = new Transaction();
|
8426
8108
|
builder.requestWithdrawStake(tx, args);
|
@@ -8435,10 +8117,7 @@ export namespace validator {
|
|
8435
8117
|
}
|
8436
8118
|
export async function setCandidateCommissionRate(
|
8437
8119
|
client: SuiClient,
|
8438
|
-
args: [
|
8439
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8440
|
-
bigint | TransactionArgument,
|
8441
|
-
],
|
8120
|
+
args: [string, bigint],
|
8442
8121
|
): Promise<TypedDevInspectResults<[]>> {
|
8443
8122
|
const tx = new Transaction();
|
8444
8123
|
builder.setCandidateCommissionRate(tx, args);
|
@@ -8453,11 +8132,7 @@ export namespace validator {
|
|
8453
8132
|
}
|
8454
8133
|
export async function setCandidateGasPrice(
|
8455
8134
|
client: SuiClient,
|
8456
|
-
args: [
|
8457
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8458
|
-
validator_cap.ValidatorOperationCap | TransactionArgument,
|
8459
|
-
bigint | TransactionArgument,
|
8460
|
-
],
|
8135
|
+
args: [string, validator_cap.ValidatorOperationCap, bigint],
|
8461
8136
|
): Promise<TypedDevInspectResults<[]>> {
|
8462
8137
|
const tx = new Transaction();
|
8463
8138
|
builder.setCandidateGasPrice(tx, args);
|
@@ -8472,10 +8147,7 @@ export namespace validator {
|
|
8472
8147
|
}
|
8473
8148
|
export async function setVotingPower(
|
8474
8149
|
client: SuiClient,
|
8475
|
-
args: [
|
8476
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8477
|
-
bigint | TransactionArgument,
|
8478
|
-
],
|
8150
|
+
args: [string, bigint],
|
8479
8151
|
): Promise<TypedDevInspectResults<[]>> {
|
8480
8152
|
const tx = new Transaction();
|
8481
8153
|
builder.setVotingPower(tx, args);
|
@@ -8490,7 +8162,7 @@ export namespace validator {
|
|
8490
8162
|
}
|
8491
8163
|
export async function stakeAmount(
|
8492
8164
|
client: SuiClient,
|
8493
|
-
args: [string
|
8165
|
+
args: [string],
|
8494
8166
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
8495
8167
|
const tx = new Transaction();
|
8496
8168
|
builder.stakeAmount(tx, args);
|
@@ -8505,8 +8177,8 @@ export namespace validator {
|
|
8505
8177
|
}
|
8506
8178
|
export async function stakingPoolId(
|
8507
8179
|
client: SuiClient,
|
8508
|
-
args: [string
|
8509
|
-
): Promise<TypedDevInspectResults<[_0x2.
|
8180
|
+
args: [string],
|
8181
|
+
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
8510
8182
|
const tx = new Transaction();
|
8511
8183
|
builder.stakingPoolId(tx, args);
|
8512
8184
|
const inspectRes = await client.devInspectTransactionBlock({
|
@@ -8515,12 +8187,12 @@ export namespace validator {
|
|
8515
8187
|
});
|
8516
8188
|
|
8517
8189
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
8518
|
-
[_0x2.
|
8190
|
+
[_0x2.object$.ID]
|
8519
8191
|
>(inspectRes);
|
8520
8192
|
}
|
8521
8193
|
export async function suiAddress(
|
8522
8194
|
client: SuiClient,
|
8523
|
-
args: [string
|
8195
|
+
args: [string],
|
8524
8196
|
): Promise<TypedDevInspectResults<[string]>> {
|
8525
8197
|
const tx = new Transaction();
|
8526
8198
|
builder.suiAddress(tx, args);
|
@@ -8535,7 +8207,7 @@ export namespace validator {
|
|
8535
8207
|
}
|
8536
8208
|
export async function totalStake(
|
8537
8209
|
client: SuiClient,
|
8538
|
-
args: [string
|
8210
|
+
args: [string],
|
8539
8211
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
8540
8212
|
const tx = new Transaction();
|
8541
8213
|
builder.totalStake(tx, args);
|
@@ -8550,7 +8222,7 @@ export namespace validator {
|
|
8550
8222
|
}
|
8551
8223
|
export async function totalStakeAmount(
|
8552
8224
|
client: SuiClient,
|
8553
|
-
args: [string
|
8225
|
+
args: [string],
|
8554
8226
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
8555
8227
|
const tx = new Transaction();
|
8556
8228
|
builder.totalStakeAmount(tx, args);
|
@@ -8565,10 +8237,7 @@ export namespace validator {
|
|
8565
8237
|
}
|
8566
8238
|
export async function updateCandidateNetworkAddress(
|
8567
8239
|
client: SuiClient,
|
8568
|
-
args: [
|
8569
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8570
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8571
|
-
],
|
8240
|
+
args: [string, string[]],
|
8572
8241
|
): Promise<TypedDevInspectResults<[]>> {
|
8573
8242
|
const tx = new Transaction();
|
8574
8243
|
builder.updateCandidateNetworkAddress(tx, args);
|
@@ -8583,10 +8252,7 @@ export namespace validator {
|
|
8583
8252
|
}
|
8584
8253
|
export async function updateCandidateNetworkPubkey(
|
8585
8254
|
client: SuiClient,
|
8586
|
-
args: [
|
8587
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8588
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8589
|
-
],
|
8255
|
+
args: [string, string[]],
|
8590
8256
|
): Promise<TypedDevInspectResults<[]>> {
|
8591
8257
|
const tx = new Transaction();
|
8592
8258
|
builder.updateCandidateNetworkPubkey(tx, args);
|
@@ -8601,10 +8267,7 @@ export namespace validator {
|
|
8601
8267
|
}
|
8602
8268
|
export async function updateCandidateP2pAddress(
|
8603
8269
|
client: SuiClient,
|
8604
|
-
args: [
|
8605
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8606
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8607
|
-
],
|
8270
|
+
args: [string, string[]],
|
8608
8271
|
): Promise<TypedDevInspectResults<[]>> {
|
8609
8272
|
const tx = new Transaction();
|
8610
8273
|
builder.updateCandidateP2pAddress(tx, args);
|
@@ -8619,10 +8282,7 @@ export namespace validator {
|
|
8619
8282
|
}
|
8620
8283
|
export async function updateCandidatePrimaryAddress(
|
8621
8284
|
client: SuiClient,
|
8622
|
-
args: [
|
8623
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8624
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8625
|
-
],
|
8285
|
+
args: [string, string[]],
|
8626
8286
|
): Promise<TypedDevInspectResults<[]>> {
|
8627
8287
|
const tx = new Transaction();
|
8628
8288
|
builder.updateCandidatePrimaryAddress(tx, args);
|
@@ -8637,11 +8297,7 @@ export namespace validator {
|
|
8637
8297
|
}
|
8638
8298
|
export async function updateCandidateProtocolPubkey(
|
8639
8299
|
client: SuiClient,
|
8640
|
-
args: [
|
8641
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8642
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8643
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8644
|
-
],
|
8300
|
+
args: [string, string[], string[]],
|
8645
8301
|
): Promise<TypedDevInspectResults<[]>> {
|
8646
8302
|
const tx = new Transaction();
|
8647
8303
|
builder.updateCandidateProtocolPubkey(tx, args);
|
@@ -8656,10 +8312,7 @@ export namespace validator {
|
|
8656
8312
|
}
|
8657
8313
|
export async function updateCandidateWorkerAddress(
|
8658
8314
|
client: SuiClient,
|
8659
|
-
args: [
|
8660
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8661
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8662
|
-
],
|
8315
|
+
args: [string, string[]],
|
8663
8316
|
): Promise<TypedDevInspectResults<[]>> {
|
8664
8317
|
const tx = new Transaction();
|
8665
8318
|
builder.updateCandidateWorkerAddress(tx, args);
|
@@ -8674,10 +8327,7 @@ export namespace validator {
|
|
8674
8327
|
}
|
8675
8328
|
export async function updateCandidateWorkerPubkey(
|
8676
8329
|
client: SuiClient,
|
8677
|
-
args: [
|
8678
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8679
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8680
|
-
],
|
8330
|
+
args: [string, string[]],
|
8681
8331
|
): Promise<TypedDevInspectResults<[]>> {
|
8682
8332
|
const tx = new Transaction();
|
8683
8333
|
builder.updateCandidateWorkerPubkey(tx, args);
|
@@ -8692,10 +8342,7 @@ export namespace validator {
|
|
8692
8342
|
}
|
8693
8343
|
export async function updateDescription(
|
8694
8344
|
client: SuiClient,
|
8695
|
-
args: [
|
8696
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8697
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8698
|
-
],
|
8345
|
+
args: [string, string[]],
|
8699
8346
|
): Promise<TypedDevInspectResults<[]>> {
|
8700
8347
|
const tx = new Transaction();
|
8701
8348
|
builder.updateDescription(tx, args);
|
@@ -8710,10 +8357,7 @@ export namespace validator {
|
|
8710
8357
|
}
|
8711
8358
|
export async function updateImageUrl(
|
8712
8359
|
client: SuiClient,
|
8713
|
-
args: [
|
8714
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8715
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8716
|
-
],
|
8360
|
+
args: [string, string[]],
|
8717
8361
|
): Promise<TypedDevInspectResults<[]>> {
|
8718
8362
|
const tx = new Transaction();
|
8719
8363
|
builder.updateImageUrl(tx, args);
|
@@ -8728,10 +8372,7 @@ export namespace validator {
|
|
8728
8372
|
}
|
8729
8373
|
export async function updateName(
|
8730
8374
|
client: SuiClient,
|
8731
|
-
args: [
|
8732
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8733
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8734
|
-
],
|
8375
|
+
args: [string, string[]],
|
8735
8376
|
): Promise<TypedDevInspectResults<[]>> {
|
8736
8377
|
const tx = new Transaction();
|
8737
8378
|
builder.updateName(tx, args);
|
@@ -8746,10 +8387,7 @@ export namespace validator {
|
|
8746
8387
|
}
|
8747
8388
|
export async function updateNextEpochNetworkAddress(
|
8748
8389
|
client: SuiClient,
|
8749
|
-
args: [
|
8750
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8751
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8752
|
-
],
|
8390
|
+
args: [string, string[]],
|
8753
8391
|
): Promise<TypedDevInspectResults<[]>> {
|
8754
8392
|
const tx = new Transaction();
|
8755
8393
|
builder.updateNextEpochNetworkAddress(tx, args);
|
@@ -8764,10 +8402,7 @@ export namespace validator {
|
|
8764
8402
|
}
|
8765
8403
|
export async function updateNextEpochNetworkPubkey(
|
8766
8404
|
client: SuiClient,
|
8767
|
-
args: [
|
8768
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8769
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8770
|
-
],
|
8405
|
+
args: [string, string[]],
|
8771
8406
|
): Promise<TypedDevInspectResults<[]>> {
|
8772
8407
|
const tx = new Transaction();
|
8773
8408
|
builder.updateNextEpochNetworkPubkey(tx, args);
|
@@ -8782,10 +8417,7 @@ export namespace validator {
|
|
8782
8417
|
}
|
8783
8418
|
export async function updateNextEpochP2pAddress(
|
8784
8419
|
client: SuiClient,
|
8785
|
-
args: [
|
8786
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8787
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8788
|
-
],
|
8420
|
+
args: [string, string[]],
|
8789
8421
|
): Promise<TypedDevInspectResults<[]>> {
|
8790
8422
|
const tx = new Transaction();
|
8791
8423
|
builder.updateNextEpochP2pAddress(tx, args);
|
@@ -8800,10 +8432,7 @@ export namespace validator {
|
|
8800
8432
|
}
|
8801
8433
|
export async function updateNextEpochPrimaryAddress(
|
8802
8434
|
client: SuiClient,
|
8803
|
-
args: [
|
8804
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8805
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8806
|
-
],
|
8435
|
+
args: [string, string[]],
|
8807
8436
|
): Promise<TypedDevInspectResults<[]>> {
|
8808
8437
|
const tx = new Transaction();
|
8809
8438
|
builder.updateNextEpochPrimaryAddress(tx, args);
|
@@ -8818,11 +8447,7 @@ export namespace validator {
|
|
8818
8447
|
}
|
8819
8448
|
export async function updateNextEpochProtocolPubkey(
|
8820
8449
|
client: SuiClient,
|
8821
|
-
args: [
|
8822
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8823
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8824
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8825
|
-
],
|
8450
|
+
args: [string, string[], string[]],
|
8826
8451
|
): Promise<TypedDevInspectResults<[]>> {
|
8827
8452
|
const tx = new Transaction();
|
8828
8453
|
builder.updateNextEpochProtocolPubkey(tx, args);
|
@@ -8837,10 +8462,7 @@ export namespace validator {
|
|
8837
8462
|
}
|
8838
8463
|
export async function updateNextEpochWorkerAddress(
|
8839
8464
|
client: SuiClient,
|
8840
|
-
args: [
|
8841
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8842
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8843
|
-
],
|
8465
|
+
args: [string, string[]],
|
8844
8466
|
): Promise<TypedDevInspectResults<[]>> {
|
8845
8467
|
const tx = new Transaction();
|
8846
8468
|
builder.updateNextEpochWorkerAddress(tx, args);
|
@@ -8855,10 +8477,7 @@ export namespace validator {
|
|
8855
8477
|
}
|
8856
8478
|
export async function updateNextEpochWorkerPubkey(
|
8857
8479
|
client: SuiClient,
|
8858
|
-
args: [
|
8859
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8860
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8861
|
-
],
|
8480
|
+
args: [string, string[]],
|
8862
8481
|
): Promise<TypedDevInspectResults<[]>> {
|
8863
8482
|
const tx = new Transaction();
|
8864
8483
|
builder.updateNextEpochWorkerPubkey(tx, args);
|
@@ -8873,10 +8492,7 @@ export namespace validator {
|
|
8873
8492
|
}
|
8874
8493
|
export async function updateProjectUrl(
|
8875
8494
|
client: SuiClient,
|
8876
|
-
args: [
|
8877
|
-
string | TransactionObjectArgument | TransactionArgument,
|
8878
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
8879
|
-
],
|
8495
|
+
args: [string, string[]],
|
8880
8496
|
): Promise<TypedDevInspectResults<[]>> {
|
8881
8497
|
const tx = new Transaction();
|
8882
8498
|
builder.updateProjectUrl(tx, args);
|
@@ -8891,7 +8507,7 @@ export namespace validator {
|
|
8891
8507
|
}
|
8892
8508
|
export async function validateMetadata(
|
8893
8509
|
client: SuiClient,
|
8894
|
-
args: [string
|
8510
|
+
args: [string],
|
8895
8511
|
): Promise<TypedDevInspectResults<[]>> {
|
8896
8512
|
const tx = new Transaction();
|
8897
8513
|
builder.validateMetadata(tx, args);
|
@@ -8906,7 +8522,7 @@ export namespace validator {
|
|
8906
8522
|
}
|
8907
8523
|
export async function validateMetadataBcs(
|
8908
8524
|
client: SuiClient,
|
8909
|
-
args: [
|
8525
|
+
args: [string[]],
|
8910
8526
|
): Promise<TypedDevInspectResults<[]>> {
|
8911
8527
|
const tx = new Transaction();
|
8912
8528
|
builder.validateMetadataBcs(tx, args);
|
@@ -8921,7 +8537,7 @@ export namespace validator {
|
|
8921
8537
|
}
|
8922
8538
|
export async function votingPower(
|
8923
8539
|
client: SuiClient,
|
8924
|
-
args: [string
|
8540
|
+
args: [string],
|
8925
8541
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
8926
8542
|
const tx = new Transaction();
|
8927
8543
|
builder.votingPower(tx, args);
|
@@ -8936,7 +8552,7 @@ export namespace validator {
|
|
8936
8552
|
}
|
8937
8553
|
export async function workerAddress(
|
8938
8554
|
client: SuiClient,
|
8939
|
-
args: [string
|
8555
|
+
args: [string],
|
8940
8556
|
): Promise<TypedDevInspectResults<[string]>> {
|
8941
8557
|
const tx = new Transaction();
|
8942
8558
|
builder.workerAddress(tx, args);
|
@@ -8951,7 +8567,7 @@ export namespace validator {
|
|
8951
8567
|
}
|
8952
8568
|
export async function workerPubkeyBytes(
|
8953
8569
|
client: SuiClient,
|
8954
|
-
args: [string
|
8570
|
+
args: [string],
|
8955
8571
|
): Promise<TypedDevInspectResults<[string]>> {
|
8956
8572
|
const tx = new Transaction();
|
8957
8573
|
builder.workerPubkeyBytes(tx, args);
|
@@ -8969,7 +8585,7 @@ export namespace validator {
|
|
8969
8585
|
|
8970
8586
|
export namespace validator_cap {
|
8971
8587
|
export interface UnverifiedValidatorOperationCap {
|
8972
|
-
id: _0x2.
|
8588
|
+
id: _0x2.object$.UID;
|
8973
8589
|
authorizer_validator_address: string;
|
8974
8590
|
}
|
8975
8591
|
|
@@ -9060,7 +8676,7 @@ export namespace validator_cap {
|
|
9060
8676
|
export namespace view {
|
9061
8677
|
export async function newFromUnverified(
|
9062
8678
|
client: SuiClient,
|
9063
|
-
args: [string
|
8679
|
+
args: [string],
|
9064
8680
|
): Promise<TypedDevInspectResults<[validator_cap.ValidatorOperationCap]>> {
|
9065
8681
|
const tx = new Transaction();
|
9066
8682
|
builder.newFromUnverified(tx, args);
|
@@ -9075,8 +8691,8 @@ export namespace validator_cap {
|
|
9075
8691
|
}
|
9076
8692
|
export async function newUnverifiedValidatorOperationCapAndTransfer(
|
9077
8693
|
client: SuiClient,
|
9078
|
-
args: [string
|
9079
|
-
): Promise<TypedDevInspectResults<[_0x2.
|
8694
|
+
args: [string],
|
8695
|
+
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
9080
8696
|
const tx = new Transaction();
|
9081
8697
|
builder.newUnverifiedValidatorOperationCapAndTransfer(tx, args);
|
9082
8698
|
const inspectRes = await client.devInspectTransactionBlock({
|
@@ -9085,12 +8701,12 @@ export namespace validator_cap {
|
|
9085
8701
|
});
|
9086
8702
|
|
9087
8703
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
9088
|
-
[_0x2.
|
8704
|
+
[_0x2.object$.ID]
|
9089
8705
|
>(inspectRes);
|
9090
8706
|
}
|
9091
8707
|
export async function unverifiedOperationCapAddress(
|
9092
8708
|
client: SuiClient,
|
9093
|
-
args: [string
|
8709
|
+
args: [string],
|
9094
8710
|
): Promise<TypedDevInspectResults<[string]>> {
|
9095
8711
|
const tx = new Transaction();
|
9096
8712
|
builder.unverifiedOperationCapAddress(tx, args);
|
@@ -9105,7 +8721,7 @@ export namespace validator_cap {
|
|
9105
8721
|
}
|
9106
8722
|
export async function verifiedOperationCapAddress(
|
9107
8723
|
client: SuiClient,
|
9108
|
-
args: [string
|
8724
|
+
args: [string],
|
9109
8725
|
): Promise<TypedDevInspectResults<[string]>> {
|
9110
8726
|
const tx = new Transaction();
|
9111
8727
|
builder.verifiedOperationCapAddress(tx, args);
|
@@ -9262,7 +8878,7 @@ export namespace validator_set {
|
|
9262
8878
|
export interface ValidatorJoinEvent {
|
9263
8879
|
epoch: bigint;
|
9264
8880
|
validator_address: string;
|
9265
|
-
staking_pool_id: _0x2.
|
8881
|
+
staking_pool_id: _0x2.object$.ID;
|
9266
8882
|
}
|
9267
8883
|
|
9268
8884
|
export namespace ValidatorJoinEvent {
|
@@ -9286,7 +8902,7 @@ export namespace validator_set {
|
|
9286
8902
|
export interface ValidatorLeaveEvent {
|
9287
8903
|
epoch: bigint;
|
9288
8904
|
validator_address: string;
|
9289
|
-
staking_pool_id: _0x2.
|
8905
|
+
staking_pool_id: _0x2.object$.ID;
|
9290
8906
|
is_voluntary: boolean;
|
9291
8907
|
}
|
9292
8908
|
|
@@ -9313,9 +8929,9 @@ export namespace validator_set {
|
|
9313
8929
|
active_validators: validator.Validator[];
|
9314
8930
|
pending_active_validators: _0x2.table_vec.TableVec<validator.Validator>;
|
9315
8931
|
pending_removals: bigint[];
|
9316
|
-
staking_pool_mappings: _0x2.table.Table<_0x2.
|
8932
|
+
staking_pool_mappings: _0x2.table.Table<_0x2.object$.ID, string>;
|
9317
8933
|
inactive_validators: _0x2.table.Table<
|
9318
|
-
_0x2.
|
8934
|
+
_0x2.object$.ID,
|
9319
8935
|
validator_wrapper.ValidatorWrapper
|
9320
8936
|
>;
|
9321
8937
|
validator_candidates: _0x2.table.Table<
|
@@ -9606,7 +9222,7 @@ export namespace validator_set {
|
|
9606
9222
|
tx: Transaction,
|
9607
9223
|
args: [
|
9608
9224
|
string | TransactionObjectArgument | TransactionArgument,
|
9609
|
-
_0x2.
|
9225
|
+
_0x2.object$.ID | TransactionArgument,
|
9610
9226
|
],
|
9611
9227
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
9612
9228
|
const _args: any[] = [];
|
@@ -9636,7 +9252,7 @@ export namespace validator_set {
|
|
9636
9252
|
arguments: _args,
|
9637
9253
|
});
|
9638
9254
|
}
|
9639
|
-
export function
|
9255
|
+
export function new$(
|
9640
9256
|
tx: Transaction,
|
9641
9257
|
args: [(string | TransactionObjectArgument)[] | TransactionArgument],
|
9642
9258
|
): TransactionArgument & [TransactionArgument] {
|
@@ -9962,7 +9578,7 @@ export namespace validator_set {
|
|
9962
9578
|
export namespace view {
|
9963
9579
|
export async function activeValidatorAddresses(
|
9964
9580
|
client: SuiClient,
|
9965
|
-
args: [string
|
9581
|
+
args: [string],
|
9966
9582
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
9967
9583
|
const tx = new Transaction();
|
9968
9584
|
builder.activeValidatorAddresses(tx, args);
|
@@ -9977,7 +9593,7 @@ export namespace validator_set {
|
|
9977
9593
|
}
|
9978
9594
|
export async function activeValidators(
|
9979
9595
|
client: SuiClient,
|
9980
|
-
args: [string
|
9596
|
+
args: [string],
|
9981
9597
|
): Promise<TypedDevInspectResults<[string]>> {
|
9982
9598
|
const tx = new Transaction();
|
9983
9599
|
builder.activeValidators(tx, args);
|
@@ -9992,16 +9608,7 @@ export namespace validator_set {
|
|
9992
9608
|
}
|
9993
9609
|
export async function advanceEpoch(
|
9994
9610
|
client: SuiClient,
|
9995
|
-
args: [
|
9996
|
-
string | TransactionObjectArgument | TransactionArgument,
|
9997
|
-
string | TransactionObjectArgument | TransactionArgument,
|
9998
|
-
string | TransactionObjectArgument | TransactionArgument,
|
9999
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10000
|
-
bigint | TransactionArgument,
|
10001
|
-
bigint | TransactionArgument,
|
10002
|
-
bigint | TransactionArgument,
|
10003
|
-
bigint | TransactionArgument,
|
10004
|
-
],
|
9611
|
+
args: [string, string, string, string, bigint, bigint, bigint, bigint],
|
10005
9612
|
): Promise<TypedDevInspectResults<[]>> {
|
10006
9613
|
const tx = new Transaction();
|
10007
9614
|
builder.advanceEpoch(tx, args);
|
@@ -10016,10 +9623,7 @@ export namespace validator_set {
|
|
10016
9623
|
}
|
10017
9624
|
export async function assertNoPendingOrActiveDuplicates(
|
10018
9625
|
client: SuiClient,
|
10019
|
-
args: [
|
10020
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10021
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10022
|
-
],
|
9626
|
+
args: [string, string],
|
10023
9627
|
): Promise<TypedDevInspectResults<[]>> {
|
10024
9628
|
const tx = new Transaction();
|
10025
9629
|
builder.assertNoPendingOrActiveDuplicates(tx, args);
|
@@ -10034,10 +9638,7 @@ export namespace validator_set {
|
|
10034
9638
|
}
|
10035
9639
|
export async function convertToFungibleStakedSui(
|
10036
9640
|
client: SuiClient,
|
10037
|
-
args: [
|
10038
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10039
|
-
staking_pool.StakedSui | TransactionArgument,
|
10040
|
-
],
|
9641
|
+
args: [string, staking_pool.StakedSui],
|
10041
9642
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
10042
9643
|
const tx = new Transaction();
|
10043
9644
|
builder.convertToFungibleStakedSui(tx, args);
|
@@ -10052,7 +9653,7 @@ export namespace validator_set {
|
|
10052
9653
|
}
|
10053
9654
|
export async function deriveReferenceGasPrice(
|
10054
9655
|
client: SuiClient,
|
10055
|
-
args: [string
|
9656
|
+
args: [string],
|
10056
9657
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
10057
9658
|
const tx = new Transaction();
|
10058
9659
|
builder.deriveReferenceGasPrice(tx, args);
|
@@ -10067,11 +9668,7 @@ export namespace validator_set {
|
|
10067
9668
|
}
|
10068
9669
|
export async function getActiveOrPendingOrCandidateValidatorRef(
|
10069
9670
|
client: SuiClient,
|
10070
|
-
args: [
|
10071
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10072
|
-
string | TransactionArgument,
|
10073
|
-
number | TransactionArgument,
|
10074
|
-
],
|
9671
|
+
args: [string, string, number],
|
10075
9672
|
): Promise<TypedDevInspectResults<[string]>> {
|
10076
9673
|
const tx = new Transaction();
|
10077
9674
|
builder.getActiveOrPendingOrCandidateValidatorRef(tx, args);
|
@@ -10086,10 +9683,7 @@ export namespace validator_set {
|
|
10086
9683
|
}
|
10087
9684
|
export async function getActiveValidatorRef(
|
10088
9685
|
client: SuiClient,
|
10089
|
-
args: [
|
10090
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10091
|
-
string | TransactionArgument,
|
10092
|
-
],
|
9686
|
+
args: [string, string],
|
10093
9687
|
): Promise<TypedDevInspectResults<[string]>> {
|
10094
9688
|
const tx = new Transaction();
|
10095
9689
|
builder.getActiveValidatorRef(tx, args);
|
@@ -10104,10 +9698,7 @@ export namespace validator_set {
|
|
10104
9698
|
}
|
10105
9699
|
export async function getPendingValidatorRef(
|
10106
9700
|
client: SuiClient,
|
10107
|
-
args: [
|
10108
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10109
|
-
string | TransactionArgument,
|
10110
|
-
],
|
9701
|
+
args: [string, string],
|
10111
9702
|
): Promise<TypedDevInspectResults<[string]>> {
|
10112
9703
|
const tx = new Transaction();
|
10113
9704
|
builder.getPendingValidatorRef(tx, args);
|
@@ -10122,10 +9713,7 @@ export namespace validator_set {
|
|
10122
9713
|
}
|
10123
9714
|
export async function getValidatorMut(
|
10124
9715
|
client: SuiClient,
|
10125
|
-
args: [
|
10126
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10127
|
-
string | TransactionArgument,
|
10128
|
-
],
|
9716
|
+
args: [string, string],
|
10129
9717
|
): Promise<TypedDevInspectResults<[string]>> {
|
10130
9718
|
const tx = new Transaction();
|
10131
9719
|
builder.getValidatorMut(tx, args);
|
@@ -10140,7 +9728,7 @@ export namespace validator_set {
|
|
10140
9728
|
}
|
10141
9729
|
export async function getValidatorMutWithCtx(
|
10142
9730
|
client: SuiClient,
|
10143
|
-
args: [string
|
9731
|
+
args: [string],
|
10144
9732
|
): Promise<TypedDevInspectResults<[string]>> {
|
10145
9733
|
const tx = new Transaction();
|
10146
9734
|
builder.getValidatorMutWithCtx(tx, args);
|
@@ -10155,7 +9743,7 @@ export namespace validator_set {
|
|
10155
9743
|
}
|
10156
9744
|
export async function getValidatorMutWithCtxIncludingCandidates(
|
10157
9745
|
client: SuiClient,
|
10158
|
-
args: [string
|
9746
|
+
args: [string],
|
10159
9747
|
): Promise<TypedDevInspectResults<[string]>> {
|
10160
9748
|
const tx = new Transaction();
|
10161
9749
|
builder.getValidatorMutWithCtxIncludingCandidates(tx, args);
|
@@ -10170,11 +9758,7 @@ export namespace validator_set {
|
|
10170
9758
|
}
|
10171
9759
|
export async function getValidatorMutWithVerifiedCap(
|
10172
9760
|
client: SuiClient,
|
10173
|
-
args: [
|
10174
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10175
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10176
|
-
boolean | TransactionArgument,
|
10177
|
-
],
|
9761
|
+
args: [string, string, boolean],
|
10178
9762
|
): Promise<TypedDevInspectResults<[string]>> {
|
10179
9763
|
const tx = new Transaction();
|
10180
9764
|
builder.getValidatorMutWithVerifiedCap(tx, args);
|
@@ -10189,10 +9773,7 @@ export namespace validator_set {
|
|
10189
9773
|
}
|
10190
9774
|
export async function isActiveValidatorBySuiAddress(
|
10191
9775
|
client: SuiClient,
|
10192
|
-
args: [
|
10193
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10194
|
-
string | TransactionArgument,
|
10195
|
-
],
|
9776
|
+
args: [string, string],
|
10196
9777
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
10197
9778
|
const tx = new Transaction();
|
10198
9779
|
builder.isActiveValidatorBySuiAddress(tx, args);
|
@@ -10207,10 +9788,7 @@ export namespace validator_set {
|
|
10207
9788
|
}
|
10208
9789
|
export async function isDuplicateValidator(
|
10209
9790
|
client: SuiClient,
|
10210
|
-
args: [
|
10211
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10212
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10213
|
-
],
|
9791
|
+
args: [string, string],
|
10214
9792
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
10215
9793
|
const tx = new Transaction();
|
10216
9794
|
builder.isDuplicateValidator(tx, args);
|
@@ -10225,10 +9803,7 @@ export namespace validator_set {
|
|
10225
9803
|
}
|
10226
9804
|
export async function isInactiveValidator(
|
10227
9805
|
client: SuiClient,
|
10228
|
-
args: [
|
10229
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10230
|
-
_0x2.object_.ID | TransactionArgument,
|
10231
|
-
],
|
9806
|
+
args: [string, _0x2.object$.ID],
|
10232
9807
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
10233
9808
|
const tx = new Transaction();
|
10234
9809
|
builder.isInactiveValidator(tx, args);
|
@@ -10243,10 +9818,7 @@ export namespace validator_set {
|
|
10243
9818
|
}
|
10244
9819
|
export async function isValidatorCandidate(
|
10245
9820
|
client: SuiClient,
|
10246
|
-
args: [
|
10247
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10248
|
-
string | TransactionArgument,
|
10249
|
-
],
|
9821
|
+
args: [string, string],
|
10250
9822
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
10251
9823
|
const tx = new Transaction();
|
10252
9824
|
builder.isValidatorCandidate(tx, args);
|
@@ -10259,12 +9831,12 @@ export namespace validator_set {
|
|
10259
9831
|
inspectRes,
|
10260
9832
|
);
|
10261
9833
|
}
|
10262
|
-
export async function
|
9834
|
+
export async function new$(
|
10263
9835
|
client: SuiClient,
|
10264
|
-
args: [
|
9836
|
+
args: [string[]],
|
10265
9837
|
): Promise<TypedDevInspectResults<[validator_set.ValidatorSet]>> {
|
10266
9838
|
const tx = new Transaction();
|
10267
|
-
builder.
|
9839
|
+
builder.new$(tx, args);
|
10268
9840
|
const inspectRes = await client.devInspectTransactionBlock({
|
10269
9841
|
transactionBlock: tx,
|
10270
9842
|
sender: ZERO_ADDRESS,
|
@@ -10276,7 +9848,7 @@ export namespace validator_set {
|
|
10276
9848
|
}
|
10277
9849
|
export async function nextEpochValidatorCount(
|
10278
9850
|
client: SuiClient,
|
10279
|
-
args: [string
|
9851
|
+
args: [string],
|
10280
9852
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
10281
9853
|
const tx = new Transaction();
|
10282
9854
|
builder.nextEpochValidatorCount(tx, args);
|
@@ -10291,10 +9863,7 @@ export namespace validator_set {
|
|
10291
9863
|
}
|
10292
9864
|
export async function poolExchangeRates(
|
10293
9865
|
client: SuiClient,
|
10294
|
-
args: [
|
10295
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10296
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10297
|
-
],
|
9866
|
+
args: [string, string],
|
10298
9867
|
): Promise<TypedDevInspectResults<[string]>> {
|
10299
9868
|
const tx = new Transaction();
|
10300
9869
|
builder.poolExchangeRates(tx, args);
|
@@ -10309,10 +9878,7 @@ export namespace validator_set {
|
|
10309
9878
|
}
|
10310
9879
|
export async function redeemFungibleStakedSui(
|
10311
9880
|
client: SuiClient,
|
10312
|
-
args: [
|
10313
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10314
|
-
staking_pool.FungibleStakedSui | TransactionArgument,
|
10315
|
-
],
|
9881
|
+
args: [string, staking_pool.FungibleStakedSui],
|
10316
9882
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
10317
9883
|
const tx = new Transaction();
|
10318
9884
|
builder.redeemFungibleStakedSui(tx, args);
|
@@ -10327,11 +9893,7 @@ export namespace validator_set {
|
|
10327
9893
|
}
|
10328
9894
|
export async function requestAddStake(
|
10329
9895
|
client: SuiClient,
|
10330
|
-
args: [
|
10331
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10332
|
-
string | TransactionArgument,
|
10333
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
10334
|
-
],
|
9896
|
+
args: [string, string, _0x2.balance.Balance<_0x2.sui.SUI>],
|
10335
9897
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
10336
9898
|
const tx = new Transaction();
|
10337
9899
|
builder.requestAddStake(tx, args);
|
@@ -10346,10 +9908,7 @@ export namespace validator_set {
|
|
10346
9908
|
}
|
10347
9909
|
export async function requestAddValidator(
|
10348
9910
|
client: SuiClient,
|
10349
|
-
args: [
|
10350
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10351
|
-
bigint | TransactionArgument,
|
10352
|
-
],
|
9911
|
+
args: [string, bigint],
|
10353
9912
|
): Promise<TypedDevInspectResults<[]>> {
|
10354
9913
|
const tx = new Transaction();
|
10355
9914
|
builder.requestAddValidator(tx, args);
|
@@ -10364,10 +9923,7 @@ export namespace validator_set {
|
|
10364
9923
|
}
|
10365
9924
|
export async function requestAddValidatorCandidate(
|
10366
9925
|
client: SuiClient,
|
10367
|
-
args: [
|
10368
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10369
|
-
validator.Validator | TransactionArgument,
|
10370
|
-
],
|
9926
|
+
args: [string, validator.Validator],
|
10371
9927
|
): Promise<TypedDevInspectResults<[]>> {
|
10372
9928
|
const tx = new Transaction();
|
10373
9929
|
builder.requestAddValidatorCandidate(tx, args);
|
@@ -10382,7 +9938,7 @@ export namespace validator_set {
|
|
10382
9938
|
}
|
10383
9939
|
export async function requestRemoveValidator(
|
10384
9940
|
client: SuiClient,
|
10385
|
-
args: [string
|
9941
|
+
args: [string],
|
10386
9942
|
): Promise<TypedDevInspectResults<[]>> {
|
10387
9943
|
const tx = new Transaction();
|
10388
9944
|
builder.requestRemoveValidator(tx, args);
|
@@ -10397,7 +9953,7 @@ export namespace validator_set {
|
|
10397
9953
|
}
|
10398
9954
|
export async function requestRemoveValidatorCandidate(
|
10399
9955
|
client: SuiClient,
|
10400
|
-
args: [string
|
9956
|
+
args: [string],
|
10401
9957
|
): Promise<TypedDevInspectResults<[]>> {
|
10402
9958
|
const tx = new Transaction();
|
10403
9959
|
builder.requestRemoveValidatorCandidate(tx, args);
|
@@ -10412,10 +9968,7 @@ export namespace validator_set {
|
|
10412
9968
|
}
|
10413
9969
|
export async function requestSetCommissionRate(
|
10414
9970
|
client: SuiClient,
|
10415
|
-
args: [
|
10416
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10417
|
-
bigint | TransactionArgument,
|
10418
|
-
],
|
9971
|
+
args: [string, bigint],
|
10419
9972
|
): Promise<TypedDevInspectResults<[]>> {
|
10420
9973
|
const tx = new Transaction();
|
10421
9974
|
builder.requestSetCommissionRate(tx, args);
|
@@ -10430,10 +9983,7 @@ export namespace validator_set {
|
|
10430
9983
|
}
|
10431
9984
|
export async function requestWithdrawStake(
|
10432
9985
|
client: SuiClient,
|
10433
|
-
args: [
|
10434
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10435
|
-
staking_pool.StakedSui | TransactionArgument,
|
10436
|
-
],
|
9986
|
+
args: [string, staking_pool.StakedSui],
|
10437
9987
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
10438
9988
|
const tx = new Transaction();
|
10439
9989
|
builder.requestWithdrawStake(tx, args);
|
@@ -10448,7 +9998,7 @@ export namespace validator_set {
|
|
10448
9998
|
}
|
10449
9999
|
export async function stakingPoolMappings(
|
10450
10000
|
client: SuiClient,
|
10451
|
-
args: [string
|
10001
|
+
args: [string],
|
10452
10002
|
): Promise<TypedDevInspectResults<[string]>> {
|
10453
10003
|
const tx = new Transaction();
|
10454
10004
|
builder.stakingPoolMappings(tx, args);
|
@@ -10463,10 +10013,7 @@ export namespace validator_set {
|
|
10463
10013
|
}
|
10464
10014
|
export async function sumVotingPowerByAddresses(
|
10465
10015
|
client: SuiClient,
|
10466
|
-
args: [
|
10467
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10468
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10469
|
-
],
|
10016
|
+
args: [string, string],
|
10470
10017
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
10471
10018
|
const tx = new Transaction();
|
10472
10019
|
builder.sumVotingPowerByAddresses(tx, args);
|
@@ -10481,7 +10028,7 @@ export namespace validator_set {
|
|
10481
10028
|
}
|
10482
10029
|
export async function totalStake(
|
10483
10030
|
client: SuiClient,
|
10484
|
-
args: [string
|
10031
|
+
args: [string],
|
10485
10032
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
10486
10033
|
const tx = new Transaction();
|
10487
10034
|
builder.totalStake(tx, args);
|
@@ -10496,10 +10043,7 @@ export namespace validator_set {
|
|
10496
10043
|
}
|
10497
10044
|
export async function validatorAddressByPoolId(
|
10498
10045
|
client: SuiClient,
|
10499
|
-
args: [
|
10500
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10501
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10502
|
-
],
|
10046
|
+
args: [string, string],
|
10503
10047
|
): Promise<TypedDevInspectResults<[string]>> {
|
10504
10048
|
const tx = new Transaction();
|
10505
10049
|
builder.validatorAddressByPoolId(tx, args);
|
@@ -10514,10 +10058,7 @@ export namespace validator_set {
|
|
10514
10058
|
}
|
10515
10059
|
export async function validatorStakeAmount(
|
10516
10060
|
client: SuiClient,
|
10517
|
-
args: [
|
10518
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10519
|
-
string | TransactionArgument,
|
10520
|
-
],
|
10061
|
+
args: [string, string],
|
10521
10062
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
10522
10063
|
const tx = new Transaction();
|
10523
10064
|
builder.validatorStakeAmount(tx, args);
|
@@ -10532,11 +10073,8 @@ export namespace validator_set {
|
|
10532
10073
|
}
|
10533
10074
|
export async function validatorStakingPoolId(
|
10534
10075
|
client: SuiClient,
|
10535
|
-
args: [
|
10536
|
-
|
10537
|
-
string | TransactionArgument,
|
10538
|
-
],
|
10539
|
-
): Promise<TypedDevInspectResults<[_0x2.object_.ID]>> {
|
10076
|
+
args: [string, string],
|
10077
|
+
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
10540
10078
|
const tx = new Transaction();
|
10541
10079
|
builder.validatorStakingPoolId(tx, args);
|
10542
10080
|
const inspectRes = await client.devInspectTransactionBlock({
|
@@ -10545,15 +10083,12 @@ export namespace validator_set {
|
|
10545
10083
|
});
|
10546
10084
|
|
10547
10085
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
10548
|
-
[_0x2.
|
10086
|
+
[_0x2.object$.ID]
|
10549
10087
|
>(inspectRes);
|
10550
10088
|
}
|
10551
10089
|
export async function validatorTotalStakeAmount(
|
10552
10090
|
client: SuiClient,
|
10553
|
-
args: [
|
10554
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10555
|
-
string | TransactionArgument,
|
10556
|
-
],
|
10091
|
+
args: [string, string],
|
10557
10092
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
10558
10093
|
const tx = new Transaction();
|
10559
10094
|
builder.validatorTotalStakeAmount(tx, args);
|
@@ -10568,10 +10103,7 @@ export namespace validator_set {
|
|
10568
10103
|
}
|
10569
10104
|
export async function validatorVotingPower(
|
10570
10105
|
client: SuiClient,
|
10571
|
-
args: [
|
10572
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10573
|
-
string | TransactionArgument,
|
10574
|
-
],
|
10106
|
+
args: [string, string],
|
10575
10107
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
10576
10108
|
const tx = new Transaction();
|
10577
10109
|
builder.validatorVotingPower(tx, args);
|
@@ -10586,11 +10118,7 @@ export namespace validator_set {
|
|
10586
10118
|
}
|
10587
10119
|
export async function verifyCap(
|
10588
10120
|
client: SuiClient,
|
10589
|
-
args: [
|
10590
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10591
|
-
string | TransactionObjectArgument | TransactionArgument,
|
10592
|
-
number | TransactionArgument,
|
10593
|
-
],
|
10121
|
+
args: [string, string, number],
|
10594
10122
|
): Promise<TypedDevInspectResults<[validator_cap.ValidatorOperationCap]>> {
|
10595
10123
|
const tx = new Transaction();
|
10596
10124
|
builder.verifyCap(tx, args);
|
@@ -10667,7 +10195,7 @@ export namespace validator_wrapper {
|
|
10667
10195
|
export namespace view {
|
10668
10196
|
export async function createV1(
|
10669
10197
|
client: SuiClient,
|
10670
|
-
args: [validator.Validator
|
10198
|
+
args: [validator.Validator],
|
10671
10199
|
): Promise<TypedDevInspectResults<[validator_wrapper.ValidatorWrapper]>> {
|
10672
10200
|
const tx = new Transaction();
|
10673
10201
|
builder.createV1(tx, args);
|
@@ -10682,7 +10210,7 @@ export namespace validator_wrapper {
|
|
10682
10210
|
}
|
10683
10211
|
export async function destroy(
|
10684
10212
|
client: SuiClient,
|
10685
|
-
args: [validator_wrapper.ValidatorWrapper
|
10213
|
+
args: [validator_wrapper.ValidatorWrapper],
|
10686
10214
|
): Promise<TypedDevInspectResults<[validator.Validator]>> {
|
10687
10215
|
const tx = new Transaction();
|
10688
10216
|
builder.destroy(tx, args);
|
@@ -10697,7 +10225,7 @@ export namespace validator_wrapper {
|
|
10697
10225
|
}
|
10698
10226
|
export async function loadValidatorMaybeUpgrade(
|
10699
10227
|
client: SuiClient,
|
10700
|
-
args: [string
|
10228
|
+
args: [string],
|
10701
10229
|
): Promise<TypedDevInspectResults<[string]>> {
|
10702
10230
|
const tx = new Transaction();
|
10703
10231
|
builder.loadValidatorMaybeUpgrade(tx, args);
|
@@ -10806,7 +10334,7 @@ export namespace voting_power {
|
|
10806
10334
|
}
|
10807
10335
|
export async function setVotingPower(
|
10808
10336
|
client: SuiClient,
|
10809
|
-
args: [string
|
10337
|
+
args: [string],
|
10810
10338
|
): Promise<TypedDevInspectResults<[]>> {
|
10811
10339
|
const tx = new Transaction();
|
10812
10340
|
builder.setVotingPower(tx, args);
|