@typemove/sui 1.6.10 → 1.6.11
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/dist/cjs/builtin/0x1.d.ts +166 -305
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +559 -1475
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +334 -806
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/codegen/codegen.d.ts.map +1 -1
- package/dist/cjs/codegen/codegen.js +12 -6
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +166 -305
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +559 -1475
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +334 -806
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/codegen/codegen.d.ts.map +1 -1
- package/dist/esm/codegen/codegen.js +12 -6
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/package.json +2 -2
- package/src/builtin/0x1.ts +166 -305
- package/src/builtin/0x2.ts +552 -1468
- package/src/builtin/0x3.ts +331 -803
- package/src/codegen/codegen.ts +12 -6
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +4 -13
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +46 -188
- package/src/tests/types/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.ts +29 -78
- package/src/tests/types/testnet/0xdee9.ts +110 -346
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +245 -642
package/src/builtin/0x3.ts
CHANGED
|
@@ -238,7 +238,7 @@ export namespace stake_subsidy {
|
|
|
238
238
|
export namespace view {
|
|
239
239
|
export async function advanceEpoch(
|
|
240
240
|
client: SuiClient,
|
|
241
|
-
args: [string
|
|
241
|
+
args: [string],
|
|
242
242
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
243
243
|
const tx = new Transaction();
|
|
244
244
|
builder.advanceEpoch(tx, args);
|
|
@@ -253,12 +253,7 @@ export namespace stake_subsidy {
|
|
|
253
253
|
}
|
|
254
254
|
export async function create(
|
|
255
255
|
client: SuiClient,
|
|
256
|
-
args: [
|
|
257
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
|
258
|
-
bigint | TransactionArgument,
|
|
259
|
-
bigint | TransactionArgument,
|
|
260
|
-
number | TransactionArgument,
|
|
261
|
-
],
|
|
256
|
+
args: [_0x2.balance.Balance<_0x2.sui.SUI>, bigint, bigint, number],
|
|
262
257
|
): Promise<TypedDevInspectResults<[stake_subsidy.StakeSubsidy]>> {
|
|
263
258
|
const tx = new Transaction();
|
|
264
259
|
builder.create(tx, args);
|
|
@@ -273,7 +268,7 @@ export namespace stake_subsidy {
|
|
|
273
268
|
}
|
|
274
269
|
export async function currentEpochSubsidyAmount(
|
|
275
270
|
client: SuiClient,
|
|
276
|
-
args: [string
|
|
271
|
+
args: [string],
|
|
277
272
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
278
273
|
const tx = new Transaction();
|
|
279
274
|
builder.currentEpochSubsidyAmount(tx, args);
|
|
@@ -288,7 +283,7 @@ export namespace stake_subsidy {
|
|
|
288
283
|
}
|
|
289
284
|
export async function getDistributionCounter(
|
|
290
285
|
client: SuiClient,
|
|
291
|
-
args: [string
|
|
286
|
+
args: [string],
|
|
292
287
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
293
288
|
const tx = new Transaction();
|
|
294
289
|
builder.getDistributionCounter(tx, args);
|
|
@@ -897,10 +892,7 @@ export namespace staking_pool {
|
|
|
897
892
|
export namespace view {
|
|
898
893
|
export async function activateStakingPool(
|
|
899
894
|
client: SuiClient,
|
|
900
|
-
args: [
|
|
901
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
902
|
-
bigint | TransactionArgument,
|
|
903
|
-
],
|
|
895
|
+
args: [string, bigint],
|
|
904
896
|
): Promise<TypedDevInspectResults<[]>> {
|
|
905
897
|
const tx = new Transaction();
|
|
906
898
|
builder.activateStakingPool(tx, args);
|
|
@@ -915,10 +907,7 @@ export namespace staking_pool {
|
|
|
915
907
|
}
|
|
916
908
|
export async function convertToFungibleStakedSui(
|
|
917
909
|
client: SuiClient,
|
|
918
|
-
args: [
|
|
919
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
920
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
921
|
-
],
|
|
910
|
+
args: [string, staking_pool.StakedSui],
|
|
922
911
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
923
912
|
const tx = new Transaction();
|
|
924
913
|
builder.convertToFungibleStakedSui(tx, args);
|
|
@@ -933,10 +922,7 @@ export namespace staking_pool {
|
|
|
933
922
|
}
|
|
934
923
|
export async function deactivateStakingPool(
|
|
935
924
|
client: SuiClient,
|
|
936
|
-
args: [
|
|
937
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
938
|
-
bigint | TransactionArgument,
|
|
939
|
-
],
|
|
925
|
+
args: [string, bigint],
|
|
940
926
|
): Promise<TypedDevInspectResults<[]>> {
|
|
941
927
|
const tx = new Transaction();
|
|
942
928
|
builder.deactivateStakingPool(tx, args);
|
|
@@ -951,10 +937,7 @@ export namespace staking_pool {
|
|
|
951
937
|
}
|
|
952
938
|
export async function depositRewards(
|
|
953
939
|
client: SuiClient,
|
|
954
|
-
args: [
|
|
955
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
956
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
|
957
|
-
],
|
|
940
|
+
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>],
|
|
958
941
|
): Promise<TypedDevInspectResults<[]>> {
|
|
959
942
|
const tx = new Transaction();
|
|
960
943
|
builder.depositRewards(tx, args);
|
|
@@ -969,7 +952,7 @@ export namespace staking_pool {
|
|
|
969
952
|
}
|
|
970
953
|
export async function exchangeRates(
|
|
971
954
|
client: SuiClient,
|
|
972
|
-
args: [string
|
|
955
|
+
args: [string],
|
|
973
956
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
974
957
|
const tx = new Transaction();
|
|
975
958
|
builder.exchangeRates(tx, args);
|
|
@@ -984,7 +967,7 @@ export namespace staking_pool {
|
|
|
984
967
|
}
|
|
985
968
|
export async function fungibleStakedSuiPoolId(
|
|
986
969
|
client: SuiClient,
|
|
987
|
-
args: [string
|
|
970
|
+
args: [string],
|
|
988
971
|
): Promise<TypedDevInspectResults<[_0x2.object_.ID]>> {
|
|
989
972
|
const tx = new Transaction();
|
|
990
973
|
builder.fungibleStakedSuiPoolId(tx, args);
|
|
@@ -999,7 +982,7 @@ export namespace staking_pool {
|
|
|
999
982
|
}
|
|
1000
983
|
export async function fungibleStakedSuiValue(
|
|
1001
984
|
client: SuiClient,
|
|
1002
|
-
args: [string
|
|
985
|
+
args: [string],
|
|
1003
986
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1004
987
|
const tx = new Transaction();
|
|
1005
988
|
builder.fungibleStakedSuiValue(tx, args);
|
|
@@ -1014,10 +997,7 @@ export namespace staking_pool {
|
|
|
1014
997
|
}
|
|
1015
998
|
export async function isEqualStakingMetadata(
|
|
1016
999
|
client: SuiClient,
|
|
1017
|
-
args: [
|
|
1018
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1019
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1020
|
-
],
|
|
1000
|
+
args: [string, string],
|
|
1021
1001
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1022
1002
|
const tx = new Transaction();
|
|
1023
1003
|
builder.isEqualStakingMetadata(tx, args);
|
|
@@ -1032,7 +1012,7 @@ export namespace staking_pool {
|
|
|
1032
1012
|
}
|
|
1033
1013
|
export async function isInactive(
|
|
1034
1014
|
client: SuiClient,
|
|
1035
|
-
args: [string
|
|
1015
|
+
args: [string],
|
|
1036
1016
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1037
1017
|
const tx = new Transaction();
|
|
1038
1018
|
builder.isInactive(tx, args);
|
|
@@ -1047,7 +1027,7 @@ export namespace staking_pool {
|
|
|
1047
1027
|
}
|
|
1048
1028
|
export async function isPreactive(
|
|
1049
1029
|
client: SuiClient,
|
|
1050
|
-
args: [string
|
|
1030
|
+
args: [string],
|
|
1051
1031
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1052
1032
|
const tx = new Transaction();
|
|
1053
1033
|
builder.isPreactive(tx, args);
|
|
@@ -1062,10 +1042,7 @@ export namespace staking_pool {
|
|
|
1062
1042
|
}
|
|
1063
1043
|
export async function joinFungibleStakedSui(
|
|
1064
1044
|
client: SuiClient,
|
|
1065
|
-
args: [
|
|
1066
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1067
|
-
staking_pool.FungibleStakedSui | TransactionArgument,
|
|
1068
|
-
],
|
|
1045
|
+
args: [string, staking_pool.FungibleStakedSui],
|
|
1069
1046
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1070
1047
|
const tx = new Transaction();
|
|
1071
1048
|
builder.joinFungibleStakedSui(tx, args);
|
|
@@ -1080,10 +1057,7 @@ export namespace staking_pool {
|
|
|
1080
1057
|
}
|
|
1081
1058
|
export async function joinStakedSui(
|
|
1082
1059
|
client: SuiClient,
|
|
1083
|
-
args: [
|
|
1084
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1085
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
1086
|
-
],
|
|
1060
|
+
args: [string, staking_pool.StakedSui],
|
|
1087
1061
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1088
1062
|
const tx = new Transaction();
|
|
1089
1063
|
builder.joinStakedSui(tx, args);
|
|
@@ -1113,7 +1087,7 @@ export namespace staking_pool {
|
|
|
1113
1087
|
}
|
|
1114
1088
|
export async function pendingStakeAmount(
|
|
1115
1089
|
client: SuiClient,
|
|
1116
|
-
args: [string
|
|
1090
|
+
args: [string],
|
|
1117
1091
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1118
1092
|
const tx = new Transaction();
|
|
1119
1093
|
builder.pendingStakeAmount(tx, args);
|
|
@@ -1128,7 +1102,7 @@ export namespace staking_pool {
|
|
|
1128
1102
|
}
|
|
1129
1103
|
export async function pendingStakeWithdrawAmount(
|
|
1130
1104
|
client: SuiClient,
|
|
1131
|
-
args: [string
|
|
1105
|
+
args: [string],
|
|
1132
1106
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1133
1107
|
const tx = new Transaction();
|
|
1134
1108
|
builder.pendingStakeWithdrawAmount(tx, args);
|
|
@@ -1143,7 +1117,7 @@ export namespace staking_pool {
|
|
|
1143
1117
|
}
|
|
1144
1118
|
export async function poolId(
|
|
1145
1119
|
client: SuiClient,
|
|
1146
|
-
args: [string
|
|
1120
|
+
args: [string],
|
|
1147
1121
|
): Promise<TypedDevInspectResults<[_0x2.object_.ID]>> {
|
|
1148
1122
|
const tx = new Transaction();
|
|
1149
1123
|
builder.poolId(tx, args);
|
|
@@ -1158,7 +1132,7 @@ export namespace staking_pool {
|
|
|
1158
1132
|
}
|
|
1159
1133
|
export async function poolTokenAmount(
|
|
1160
1134
|
client: SuiClient,
|
|
1161
|
-
args: [string
|
|
1135
|
+
args: [string],
|
|
1162
1136
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1163
1137
|
const tx = new Transaction();
|
|
1164
1138
|
builder.poolTokenAmount(tx, args);
|
|
@@ -1173,10 +1147,7 @@ export namespace staking_pool {
|
|
|
1173
1147
|
}
|
|
1174
1148
|
export async function poolTokenExchangeRateAtEpoch(
|
|
1175
1149
|
client: SuiClient,
|
|
1176
|
-
args: [
|
|
1177
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1178
|
-
bigint | TransactionArgument,
|
|
1179
|
-
],
|
|
1150
|
+
args: [string, bigint],
|
|
1180
1151
|
): Promise<TypedDevInspectResults<[staking_pool.PoolTokenExchangeRate]>> {
|
|
1181
1152
|
const tx = new Transaction();
|
|
1182
1153
|
builder.poolTokenExchangeRateAtEpoch(tx, args);
|
|
@@ -1191,7 +1162,7 @@ export namespace staking_pool {
|
|
|
1191
1162
|
}
|
|
1192
1163
|
export async function processPendingStake(
|
|
1193
1164
|
client: SuiClient,
|
|
1194
|
-
args: [string
|
|
1165
|
+
args: [string],
|
|
1195
1166
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1196
1167
|
const tx = new Transaction();
|
|
1197
1168
|
builder.processPendingStake(tx, args);
|
|
@@ -1206,7 +1177,7 @@ export namespace staking_pool {
|
|
|
1206
1177
|
}
|
|
1207
1178
|
export async function processPendingStakesAndWithdraws(
|
|
1208
1179
|
client: SuiClient,
|
|
1209
|
-
args: [string
|
|
1180
|
+
args: [string],
|
|
1210
1181
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1211
1182
|
const tx = new Transaction();
|
|
1212
1183
|
builder.processPendingStakesAndWithdraws(tx, args);
|
|
@@ -1221,10 +1192,7 @@ export namespace staking_pool {
|
|
|
1221
1192
|
}
|
|
1222
1193
|
export async function redeemFungibleStakedSui(
|
|
1223
1194
|
client: SuiClient,
|
|
1224
|
-
args: [
|
|
1225
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1226
|
-
staking_pool.FungibleStakedSui | TransactionArgument,
|
|
1227
|
-
],
|
|
1195
|
+
args: [string, staking_pool.FungibleStakedSui],
|
|
1228
1196
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
1229
1197
|
const tx = new Transaction();
|
|
1230
1198
|
builder.redeemFungibleStakedSui(tx, args);
|
|
@@ -1239,11 +1207,7 @@ export namespace staking_pool {
|
|
|
1239
1207
|
}
|
|
1240
1208
|
export async function requestAddStake(
|
|
1241
1209
|
client: SuiClient,
|
|
1242
|
-
args: [
|
|
1243
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1244
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
|
1245
|
-
bigint | TransactionArgument,
|
|
1246
|
-
],
|
|
1210
|
+
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, bigint],
|
|
1247
1211
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
1248
1212
|
const tx = new Transaction();
|
|
1249
1213
|
builder.requestAddStake(tx, args);
|
|
@@ -1258,10 +1222,7 @@ export namespace staking_pool {
|
|
|
1258
1222
|
}
|
|
1259
1223
|
export async function requestWithdrawStake(
|
|
1260
1224
|
client: SuiClient,
|
|
1261
|
-
args: [
|
|
1262
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1263
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
1264
|
-
],
|
|
1225
|
+
args: [string, staking_pool.StakedSui],
|
|
1265
1226
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
1266
1227
|
const tx = new Transaction();
|
|
1267
1228
|
builder.requestWithdrawStake(tx, args);
|
|
@@ -1276,10 +1237,7 @@ export namespace staking_pool {
|
|
|
1276
1237
|
}
|
|
1277
1238
|
export async function split(
|
|
1278
1239
|
client: SuiClient,
|
|
1279
|
-
args: [
|
|
1280
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1281
|
-
bigint | TransactionArgument,
|
|
1282
|
-
],
|
|
1240
|
+
args: [string, bigint],
|
|
1283
1241
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
1284
1242
|
const tx = new Transaction();
|
|
1285
1243
|
builder.split(tx, args);
|
|
@@ -1294,10 +1252,7 @@ export namespace staking_pool {
|
|
|
1294
1252
|
}
|
|
1295
1253
|
export async function splitFungibleStakedSui(
|
|
1296
1254
|
client: SuiClient,
|
|
1297
|
-
args: [
|
|
1298
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1299
|
-
bigint | TransactionArgument,
|
|
1300
|
-
],
|
|
1255
|
+
args: [string, bigint],
|
|
1301
1256
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
1302
1257
|
const tx = new Transaction();
|
|
1303
1258
|
builder.splitFungibleStakedSui(tx, args);
|
|
@@ -1312,10 +1267,7 @@ export namespace staking_pool {
|
|
|
1312
1267
|
}
|
|
1313
1268
|
export async function splitStakedSui(
|
|
1314
1269
|
client: SuiClient,
|
|
1315
|
-
args: [
|
|
1316
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1317
|
-
bigint | TransactionArgument,
|
|
1318
|
-
],
|
|
1270
|
+
args: [string, bigint],
|
|
1319
1271
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1320
1272
|
const tx = new Transaction();
|
|
1321
1273
|
builder.splitStakedSui(tx, args);
|
|
@@ -1330,7 +1282,7 @@ export namespace staking_pool {
|
|
|
1330
1282
|
}
|
|
1331
1283
|
export async function stakeActivationEpoch(
|
|
1332
1284
|
client: SuiClient,
|
|
1333
|
-
args: [string
|
|
1285
|
+
args: [string],
|
|
1334
1286
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1335
1287
|
const tx = new Transaction();
|
|
1336
1288
|
builder.stakeActivationEpoch(tx, args);
|
|
@@ -1345,7 +1297,7 @@ export namespace staking_pool {
|
|
|
1345
1297
|
}
|
|
1346
1298
|
export async function stakedSuiAmount(
|
|
1347
1299
|
client: SuiClient,
|
|
1348
|
-
args: [string
|
|
1300
|
+
args: [string],
|
|
1349
1301
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1350
1302
|
const tx = new Transaction();
|
|
1351
1303
|
builder.stakedSuiAmount(tx, args);
|
|
@@ -1360,7 +1312,7 @@ export namespace staking_pool {
|
|
|
1360
1312
|
}
|
|
1361
1313
|
export async function suiAmount(
|
|
1362
1314
|
client: SuiClient,
|
|
1363
|
-
args: [string
|
|
1315
|
+
args: [string],
|
|
1364
1316
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1365
1317
|
const tx = new Transaction();
|
|
1366
1318
|
builder.suiAmount(tx, args);
|
|
@@ -1375,7 +1327,7 @@ export namespace staking_pool {
|
|
|
1375
1327
|
}
|
|
1376
1328
|
export async function suiBalance(
|
|
1377
1329
|
client: SuiClient,
|
|
1378
|
-
args: [string
|
|
1330
|
+
args: [string],
|
|
1379
1331
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1380
1332
|
const tx = new Transaction();
|
|
1381
1333
|
builder.suiBalance(tx, args);
|
|
@@ -1390,10 +1342,7 @@ export namespace staking_pool {
|
|
|
1390
1342
|
}
|
|
1391
1343
|
export async function withdrawFromPrincipal(
|
|
1392
1344
|
client: SuiClient,
|
|
1393
|
-
args: [
|
|
1394
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
1395
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
1396
|
-
],
|
|
1345
|
+
args: [string, staking_pool.StakedSui],
|
|
1397
1346
|
): Promise<
|
|
1398
1347
|
TypedDevInspectResults<[bigint, _0x2.balance.Balance<_0x2.sui.SUI>]>
|
|
1399
1348
|
> {
|
|
@@ -1505,12 +1454,12 @@ export namespace storage_fund {
|
|
|
1505
1454
|
export async function advanceEpoch(
|
|
1506
1455
|
client: SuiClient,
|
|
1507
1456
|
args: [
|
|
1508
|
-
string
|
|
1509
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
|
1510
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
|
1511
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
|
1512
|
-
bigint
|
|
1513
|
-
bigint
|
|
1457
|
+
string,
|
|
1458
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
1459
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
1460
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
1461
|
+
bigint,
|
|
1462
|
+
bigint,
|
|
1514
1463
|
],
|
|
1515
1464
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
1516
1465
|
const tx = new Transaction();
|
|
@@ -1526,7 +1475,7 @@ export namespace storage_fund {
|
|
|
1526
1475
|
}
|
|
1527
1476
|
export async function new_(
|
|
1528
1477
|
client: SuiClient,
|
|
1529
|
-
args: [_0x2.balance.Balance<_0x2.sui.SUI>
|
|
1478
|
+
args: [_0x2.balance.Balance<_0x2.sui.SUI>],
|
|
1530
1479
|
): Promise<TypedDevInspectResults<[storage_fund.StorageFund]>> {
|
|
1531
1480
|
const tx = new Transaction();
|
|
1532
1481
|
builder.new_(tx, args);
|
|
@@ -1541,7 +1490,7 @@ export namespace storage_fund {
|
|
|
1541
1490
|
}
|
|
1542
1491
|
export async function totalBalance(
|
|
1543
1492
|
client: SuiClient,
|
|
1544
|
-
args: [string
|
|
1493
|
+
args: [string],
|
|
1545
1494
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1546
1495
|
const tx = new Transaction();
|
|
1547
1496
|
builder.totalBalance(tx, args);
|
|
@@ -1556,7 +1505,7 @@ export namespace storage_fund {
|
|
|
1556
1505
|
}
|
|
1557
1506
|
export async function totalObjectStorageRebates(
|
|
1558
1507
|
client: SuiClient,
|
|
1559
|
-
args: [string
|
|
1508
|
+
args: [string],
|
|
1560
1509
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1561
1510
|
const tx = new Transaction();
|
|
1562
1511
|
builder.totalObjectStorageRebates(tx, args);
|
|
@@ -2349,7 +2298,7 @@ export namespace sui_system {
|
|
|
2349
2298
|
export namespace view {
|
|
2350
2299
|
export async function activeValidatorAddresses(
|
|
2351
2300
|
client: SuiClient,
|
|
2352
|
-
args: [string
|
|
2301
|
+
args: [string],
|
|
2353
2302
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
2354
2303
|
const tx = new Transaction();
|
|
2355
2304
|
builder.activeValidatorAddresses(tx, args);
|
|
@@ -2364,10 +2313,7 @@ export namespace sui_system {
|
|
|
2364
2313
|
}
|
|
2365
2314
|
export async function convertToFungibleStakedSui(
|
|
2366
2315
|
client: SuiClient,
|
|
2367
|
-
args: [
|
|
2368
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2369
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
2370
|
-
],
|
|
2316
|
+
args: [string, staking_pool.StakedSui],
|
|
2371
2317
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
2372
2318
|
const tx = new Transaction();
|
|
2373
2319
|
builder.convertToFungibleStakedSui(tx, args);
|
|
@@ -2383,13 +2329,13 @@ export namespace sui_system {
|
|
|
2383
2329
|
export async function create(
|
|
2384
2330
|
client: SuiClient,
|
|
2385
2331
|
args: [
|
|
2386
|
-
_0x2.object_.UID
|
|
2387
|
-
|
|
2388
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
|
2389
|
-
bigint
|
|
2390
|
-
bigint
|
|
2391
|
-
sui_system_state_inner.SystemParameters
|
|
2392
|
-
stake_subsidy.StakeSubsidy
|
|
2332
|
+
_0x2.object_.UID,
|
|
2333
|
+
string[],
|
|
2334
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
2335
|
+
bigint,
|
|
2336
|
+
bigint,
|
|
2337
|
+
sui_system_state_inner.SystemParameters,
|
|
2338
|
+
stake_subsidy.StakeSubsidy,
|
|
2393
2339
|
],
|
|
2394
2340
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2395
2341
|
const tx = new Transaction();
|
|
@@ -2405,10 +2351,7 @@ export namespace sui_system {
|
|
|
2405
2351
|
}
|
|
2406
2352
|
export async function poolExchangeRates(
|
|
2407
2353
|
client: SuiClient,
|
|
2408
|
-
args: [
|
|
2409
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2410
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2411
|
-
],
|
|
2354
|
+
args: [string, string],
|
|
2412
2355
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2413
2356
|
const tx = new Transaction();
|
|
2414
2357
|
builder.poolExchangeRates(tx, args);
|
|
@@ -2423,10 +2366,7 @@ export namespace sui_system {
|
|
|
2423
2366
|
}
|
|
2424
2367
|
export async function redeemFungibleStakedSui(
|
|
2425
2368
|
client: SuiClient,
|
|
2426
|
-
args: [
|
|
2427
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2428
|
-
staking_pool.FungibleStakedSui | TransactionArgument,
|
|
2429
|
-
],
|
|
2369
|
+
args: [string, staking_pool.FungibleStakedSui],
|
|
2430
2370
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
2431
2371
|
const tx = new Transaction();
|
|
2432
2372
|
builder.redeemFungibleStakedSui(tx, args);
|
|
@@ -2441,11 +2381,7 @@ export namespace sui_system {
|
|
|
2441
2381
|
}
|
|
2442
2382
|
export async function reportValidator(
|
|
2443
2383
|
client: SuiClient,
|
|
2444
|
-
args: [
|
|
2445
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2446
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2447
|
-
string | TransactionArgument,
|
|
2448
|
-
],
|
|
2384
|
+
args: [string, string, string],
|
|
2449
2385
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2450
2386
|
const tx = new Transaction();
|
|
2451
2387
|
builder.reportValidator(tx, args);
|
|
@@ -2460,11 +2396,7 @@ export namespace sui_system {
|
|
|
2460
2396
|
}
|
|
2461
2397
|
export async function requestAddStake(
|
|
2462
2398
|
client: SuiClient,
|
|
2463
|
-
args: [
|
|
2464
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2465
|
-
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
|
2466
|
-
string | TransactionArgument,
|
|
2467
|
-
],
|
|
2399
|
+
args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string],
|
|
2468
2400
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2469
2401
|
const tx = new Transaction();
|
|
2470
2402
|
builder.requestAddStake(tx, args);
|
|
@@ -2479,12 +2411,7 @@ export namespace sui_system {
|
|
|
2479
2411
|
}
|
|
2480
2412
|
export async function requestAddStakeMulCoin(
|
|
2481
2413
|
client: SuiClient,
|
|
2482
|
-
args: [
|
|
2483
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2484
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2485
|
-
_0x1.option.Option<bigint> | TransactionArgument,
|
|
2486
|
-
string | TransactionArgument,
|
|
2487
|
-
],
|
|
2414
|
+
args: [string, string[], _0x1.option.Option<bigint>, string],
|
|
2488
2415
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2489
2416
|
const tx = new Transaction();
|
|
2490
2417
|
builder.requestAddStakeMulCoin(tx, args);
|
|
@@ -2499,11 +2426,7 @@ export namespace sui_system {
|
|
|
2499
2426
|
}
|
|
2500
2427
|
export async function requestAddStakeNonEntry(
|
|
2501
2428
|
client: SuiClient,
|
|
2502
|
-
args: [
|
|
2503
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2504
|
-
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
|
2505
|
-
string | TransactionArgument,
|
|
2506
|
-
],
|
|
2429
|
+
args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string],
|
|
2507
2430
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
2508
2431
|
const tx = new Transaction();
|
|
2509
2432
|
builder.requestAddStakeNonEntry(tx, args);
|
|
@@ -2518,7 +2441,7 @@ export namespace sui_system {
|
|
|
2518
2441
|
}
|
|
2519
2442
|
export async function requestAddValidator(
|
|
2520
2443
|
client: SuiClient,
|
|
2521
|
-
args: [string
|
|
2444
|
+
args: [string],
|
|
2522
2445
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2523
2446
|
const tx = new Transaction();
|
|
2524
2447
|
builder.requestAddValidator(tx, args);
|
|
@@ -2534,21 +2457,21 @@ export namespace sui_system {
|
|
|
2534
2457
|
export async function requestAddValidatorCandidate(
|
|
2535
2458
|
client: SuiClient,
|
|
2536
2459
|
args: [
|
|
2537
|
-
string
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
bigint
|
|
2551
|
-
bigint
|
|
2460
|
+
string,
|
|
2461
|
+
string[],
|
|
2462
|
+
string[],
|
|
2463
|
+
string[],
|
|
2464
|
+
string[],
|
|
2465
|
+
string[],
|
|
2466
|
+
string[],
|
|
2467
|
+
string[],
|
|
2468
|
+
string[],
|
|
2469
|
+
string[],
|
|
2470
|
+
string[],
|
|
2471
|
+
string[],
|
|
2472
|
+
string[],
|
|
2473
|
+
bigint,
|
|
2474
|
+
bigint,
|
|
2552
2475
|
],
|
|
2553
2476
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2554
2477
|
const tx = new Transaction();
|
|
@@ -2564,7 +2487,7 @@ export namespace sui_system {
|
|
|
2564
2487
|
}
|
|
2565
2488
|
export async function requestRemoveValidator(
|
|
2566
2489
|
client: SuiClient,
|
|
2567
|
-
args: [string
|
|
2490
|
+
args: [string],
|
|
2568
2491
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2569
2492
|
const tx = new Transaction();
|
|
2570
2493
|
builder.requestRemoveValidator(tx, args);
|
|
@@ -2579,7 +2502,7 @@ export namespace sui_system {
|
|
|
2579
2502
|
}
|
|
2580
2503
|
export async function requestRemoveValidatorCandidate(
|
|
2581
2504
|
client: SuiClient,
|
|
2582
|
-
args: [string
|
|
2505
|
+
args: [string],
|
|
2583
2506
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2584
2507
|
const tx = new Transaction();
|
|
2585
2508
|
builder.requestRemoveValidatorCandidate(tx, args);
|
|
@@ -2594,10 +2517,7 @@ export namespace sui_system {
|
|
|
2594
2517
|
}
|
|
2595
2518
|
export async function requestSetCommissionRate(
|
|
2596
2519
|
client: SuiClient,
|
|
2597
|
-
args: [
|
|
2598
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2599
|
-
bigint | TransactionArgument,
|
|
2600
|
-
],
|
|
2520
|
+
args: [string, bigint],
|
|
2601
2521
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2602
2522
|
const tx = new Transaction();
|
|
2603
2523
|
builder.requestSetCommissionRate(tx, args);
|
|
@@ -2612,11 +2532,7 @@ export namespace sui_system {
|
|
|
2612
2532
|
}
|
|
2613
2533
|
export async function requestSetGasPrice(
|
|
2614
2534
|
client: SuiClient,
|
|
2615
|
-
args: [
|
|
2616
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2617
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2618
|
-
bigint | TransactionArgument,
|
|
2619
|
-
],
|
|
2535
|
+
args: [string, string, bigint],
|
|
2620
2536
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2621
2537
|
const tx = new Transaction();
|
|
2622
2538
|
builder.requestSetGasPrice(tx, args);
|
|
@@ -2631,10 +2547,7 @@ export namespace sui_system {
|
|
|
2631
2547
|
}
|
|
2632
2548
|
export async function requestWithdrawStake(
|
|
2633
2549
|
client: SuiClient,
|
|
2634
|
-
args: [
|
|
2635
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2636
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
2637
|
-
],
|
|
2550
|
+
args: [string, staking_pool.StakedSui],
|
|
2638
2551
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2639
2552
|
const tx = new Transaction();
|
|
2640
2553
|
builder.requestWithdrawStake(tx, args);
|
|
@@ -2649,10 +2562,7 @@ export namespace sui_system {
|
|
|
2649
2562
|
}
|
|
2650
2563
|
export async function requestWithdrawStakeNonEntry(
|
|
2651
2564
|
client: SuiClient,
|
|
2652
|
-
args: [
|
|
2653
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2654
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
2655
|
-
],
|
|
2565
|
+
args: [string, staking_pool.StakedSui],
|
|
2656
2566
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
2657
2567
|
const tx = new Transaction();
|
|
2658
2568
|
builder.requestWithdrawStakeNonEntry(tx, args);
|
|
@@ -2667,7 +2577,7 @@ export namespace sui_system {
|
|
|
2667
2577
|
}
|
|
2668
2578
|
export async function rotateOperationCap(
|
|
2669
2579
|
client: SuiClient,
|
|
2670
|
-
args: [string
|
|
2580
|
+
args: [string],
|
|
2671
2581
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2672
2582
|
const tx = new Transaction();
|
|
2673
2583
|
builder.rotateOperationCap(tx, args);
|
|
@@ -2682,10 +2592,7 @@ export namespace sui_system {
|
|
|
2682
2592
|
}
|
|
2683
2593
|
export async function setCandidateValidatorCommissionRate(
|
|
2684
2594
|
client: SuiClient,
|
|
2685
|
-
args: [
|
|
2686
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2687
|
-
bigint | TransactionArgument,
|
|
2688
|
-
],
|
|
2595
|
+
args: [string, bigint],
|
|
2689
2596
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2690
2597
|
const tx = new Transaction();
|
|
2691
2598
|
builder.setCandidateValidatorCommissionRate(tx, args);
|
|
@@ -2700,11 +2607,7 @@ export namespace sui_system {
|
|
|
2700
2607
|
}
|
|
2701
2608
|
export async function setCandidateValidatorGasPrice(
|
|
2702
2609
|
client: SuiClient,
|
|
2703
|
-
args: [
|
|
2704
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2705
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2706
|
-
bigint | TransactionArgument,
|
|
2707
|
-
],
|
|
2610
|
+
args: [string, string, bigint],
|
|
2708
2611
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2709
2612
|
const tx = new Transaction();
|
|
2710
2613
|
builder.setCandidateValidatorGasPrice(tx, args);
|
|
@@ -2719,11 +2622,7 @@ export namespace sui_system {
|
|
|
2719
2622
|
}
|
|
2720
2623
|
export async function undoReportValidator(
|
|
2721
2624
|
client: SuiClient,
|
|
2722
|
-
args: [
|
|
2723
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2724
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2725
|
-
string | TransactionArgument,
|
|
2726
|
-
],
|
|
2625
|
+
args: [string, string, string],
|
|
2727
2626
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2728
2627
|
const tx = new Transaction();
|
|
2729
2628
|
builder.undoReportValidator(tx, args);
|
|
@@ -2738,10 +2637,7 @@ export namespace sui_system {
|
|
|
2738
2637
|
}
|
|
2739
2638
|
export async function updateCandidateValidatorNetworkAddress(
|
|
2740
2639
|
client: SuiClient,
|
|
2741
|
-
args: [
|
|
2742
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2743
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2744
|
-
],
|
|
2640
|
+
args: [string, string[]],
|
|
2745
2641
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2746
2642
|
const tx = new Transaction();
|
|
2747
2643
|
builder.updateCandidateValidatorNetworkAddress(tx, args);
|
|
@@ -2756,10 +2652,7 @@ export namespace sui_system {
|
|
|
2756
2652
|
}
|
|
2757
2653
|
export async function updateCandidateValidatorNetworkPubkey(
|
|
2758
2654
|
client: SuiClient,
|
|
2759
|
-
args: [
|
|
2760
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2761
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2762
|
-
],
|
|
2655
|
+
args: [string, string[]],
|
|
2763
2656
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2764
2657
|
const tx = new Transaction();
|
|
2765
2658
|
builder.updateCandidateValidatorNetworkPubkey(tx, args);
|
|
@@ -2774,10 +2667,7 @@ export namespace sui_system {
|
|
|
2774
2667
|
}
|
|
2775
2668
|
export async function updateCandidateValidatorP2pAddress(
|
|
2776
2669
|
client: SuiClient,
|
|
2777
|
-
args: [
|
|
2778
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2779
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2780
|
-
],
|
|
2670
|
+
args: [string, string[]],
|
|
2781
2671
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2782
2672
|
const tx = new Transaction();
|
|
2783
2673
|
builder.updateCandidateValidatorP2pAddress(tx, args);
|
|
@@ -2792,10 +2682,7 @@ export namespace sui_system {
|
|
|
2792
2682
|
}
|
|
2793
2683
|
export async function updateCandidateValidatorPrimaryAddress(
|
|
2794
2684
|
client: SuiClient,
|
|
2795
|
-
args: [
|
|
2796
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2797
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2798
|
-
],
|
|
2685
|
+
args: [string, string[]],
|
|
2799
2686
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2800
2687
|
const tx = new Transaction();
|
|
2801
2688
|
builder.updateCandidateValidatorPrimaryAddress(tx, args);
|
|
@@ -2810,11 +2697,7 @@ export namespace sui_system {
|
|
|
2810
2697
|
}
|
|
2811
2698
|
export async function updateCandidateValidatorProtocolPubkey(
|
|
2812
2699
|
client: SuiClient,
|
|
2813
|
-
args: [
|
|
2814
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2815
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2816
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2817
|
-
],
|
|
2700
|
+
args: [string, string[], string[]],
|
|
2818
2701
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2819
2702
|
const tx = new Transaction();
|
|
2820
2703
|
builder.updateCandidateValidatorProtocolPubkey(tx, args);
|
|
@@ -2829,10 +2712,7 @@ export namespace sui_system {
|
|
|
2829
2712
|
}
|
|
2830
2713
|
export async function updateCandidateValidatorWorkerAddress(
|
|
2831
2714
|
client: SuiClient,
|
|
2832
|
-
args: [
|
|
2833
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2834
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2835
|
-
],
|
|
2715
|
+
args: [string, string[]],
|
|
2836
2716
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2837
2717
|
const tx = new Transaction();
|
|
2838
2718
|
builder.updateCandidateValidatorWorkerAddress(tx, args);
|
|
@@ -2847,10 +2727,7 @@ export namespace sui_system {
|
|
|
2847
2727
|
}
|
|
2848
2728
|
export async function updateCandidateValidatorWorkerPubkey(
|
|
2849
2729
|
client: SuiClient,
|
|
2850
|
-
args: [
|
|
2851
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2852
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2853
|
-
],
|
|
2730
|
+
args: [string, string[]],
|
|
2854
2731
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2855
2732
|
const tx = new Transaction();
|
|
2856
2733
|
builder.updateCandidateValidatorWorkerPubkey(tx, args);
|
|
@@ -2865,10 +2742,7 @@ export namespace sui_system {
|
|
|
2865
2742
|
}
|
|
2866
2743
|
export async function updateValidatorDescription(
|
|
2867
2744
|
client: SuiClient,
|
|
2868
|
-
args: [
|
|
2869
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2870
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2871
|
-
],
|
|
2745
|
+
args: [string, string[]],
|
|
2872
2746
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2873
2747
|
const tx = new Transaction();
|
|
2874
2748
|
builder.updateValidatorDescription(tx, args);
|
|
@@ -2883,10 +2757,7 @@ export namespace sui_system {
|
|
|
2883
2757
|
}
|
|
2884
2758
|
export async function updateValidatorImageUrl(
|
|
2885
2759
|
client: SuiClient,
|
|
2886
|
-
args: [
|
|
2887
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2888
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2889
|
-
],
|
|
2760
|
+
args: [string, string[]],
|
|
2890
2761
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2891
2762
|
const tx = new Transaction();
|
|
2892
2763
|
builder.updateValidatorImageUrl(tx, args);
|
|
@@ -2901,10 +2772,7 @@ export namespace sui_system {
|
|
|
2901
2772
|
}
|
|
2902
2773
|
export async function updateValidatorName(
|
|
2903
2774
|
client: SuiClient,
|
|
2904
|
-
args: [
|
|
2905
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2906
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2907
|
-
],
|
|
2775
|
+
args: [string, string[]],
|
|
2908
2776
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2909
2777
|
const tx = new Transaction();
|
|
2910
2778
|
builder.updateValidatorName(tx, args);
|
|
@@ -2919,10 +2787,7 @@ export namespace sui_system {
|
|
|
2919
2787
|
}
|
|
2920
2788
|
export async function updateValidatorNextEpochNetworkAddress(
|
|
2921
2789
|
client: SuiClient,
|
|
2922
|
-
args: [
|
|
2923
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2924
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2925
|
-
],
|
|
2790
|
+
args: [string, string[]],
|
|
2926
2791
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2927
2792
|
const tx = new Transaction();
|
|
2928
2793
|
builder.updateValidatorNextEpochNetworkAddress(tx, args);
|
|
@@ -2937,10 +2802,7 @@ export namespace sui_system {
|
|
|
2937
2802
|
}
|
|
2938
2803
|
export async function updateValidatorNextEpochNetworkPubkey(
|
|
2939
2804
|
client: SuiClient,
|
|
2940
|
-
args: [
|
|
2941
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2942
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2943
|
-
],
|
|
2805
|
+
args: [string, string[]],
|
|
2944
2806
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2945
2807
|
const tx = new Transaction();
|
|
2946
2808
|
builder.updateValidatorNextEpochNetworkPubkey(tx, args);
|
|
@@ -2955,10 +2817,7 @@ export namespace sui_system {
|
|
|
2955
2817
|
}
|
|
2956
2818
|
export async function updateValidatorNextEpochP2pAddress(
|
|
2957
2819
|
client: SuiClient,
|
|
2958
|
-
args: [
|
|
2959
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2960
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2961
|
-
],
|
|
2820
|
+
args: [string, string[]],
|
|
2962
2821
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2963
2822
|
const tx = new Transaction();
|
|
2964
2823
|
builder.updateValidatorNextEpochP2pAddress(tx, args);
|
|
@@ -2973,10 +2832,7 @@ export namespace sui_system {
|
|
|
2973
2832
|
}
|
|
2974
2833
|
export async function updateValidatorNextEpochPrimaryAddress(
|
|
2975
2834
|
client: SuiClient,
|
|
2976
|
-
args: [
|
|
2977
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2978
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2979
|
-
],
|
|
2835
|
+
args: [string, string[]],
|
|
2980
2836
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2981
2837
|
const tx = new Transaction();
|
|
2982
2838
|
builder.updateValidatorNextEpochPrimaryAddress(tx, args);
|
|
@@ -2991,11 +2847,7 @@ export namespace sui_system {
|
|
|
2991
2847
|
}
|
|
2992
2848
|
export async function updateValidatorNextEpochProtocolPubkey(
|
|
2993
2849
|
client: SuiClient,
|
|
2994
|
-
args: [
|
|
2995
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
2996
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2997
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
2998
|
-
],
|
|
2850
|
+
args: [string, string[], string[]],
|
|
2999
2851
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3000
2852
|
const tx = new Transaction();
|
|
3001
2853
|
builder.updateValidatorNextEpochProtocolPubkey(tx, args);
|
|
@@ -3010,10 +2862,7 @@ export namespace sui_system {
|
|
|
3010
2862
|
}
|
|
3011
2863
|
export async function updateValidatorNextEpochWorkerAddress(
|
|
3012
2864
|
client: SuiClient,
|
|
3013
|
-
args: [
|
|
3014
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3015
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
3016
|
-
],
|
|
2865
|
+
args: [string, string[]],
|
|
3017
2866
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3018
2867
|
const tx = new Transaction();
|
|
3019
2868
|
builder.updateValidatorNextEpochWorkerAddress(tx, args);
|
|
@@ -3028,10 +2877,7 @@ export namespace sui_system {
|
|
|
3028
2877
|
}
|
|
3029
2878
|
export async function updateValidatorNextEpochWorkerPubkey(
|
|
3030
2879
|
client: SuiClient,
|
|
3031
|
-
args: [
|
|
3032
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3033
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
3034
|
-
],
|
|
2880
|
+
args: [string, string[]],
|
|
3035
2881
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3036
2882
|
const tx = new Transaction();
|
|
3037
2883
|
builder.updateValidatorNextEpochWorkerPubkey(tx, args);
|
|
@@ -3046,10 +2892,7 @@ export namespace sui_system {
|
|
|
3046
2892
|
}
|
|
3047
2893
|
export async function updateValidatorProjectUrl(
|
|
3048
2894
|
client: SuiClient,
|
|
3049
|
-
args: [
|
|
3050
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3051
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
3052
|
-
],
|
|
2895
|
+
args: [string, string[]],
|
|
3053
2896
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3054
2897
|
const tx = new Transaction();
|
|
3055
2898
|
builder.updateValidatorProjectUrl(tx, args);
|
|
@@ -3064,10 +2907,7 @@ export namespace sui_system {
|
|
|
3064
2907
|
}
|
|
3065
2908
|
export async function validatorAddressByPoolId(
|
|
3066
2909
|
client: SuiClient,
|
|
3067
|
-
args: [
|
|
3068
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3069
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
3070
|
-
],
|
|
2910
|
+
args: [string, string],
|
|
3071
2911
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
3072
2912
|
const tx = new Transaction();
|
|
3073
2913
|
builder.validatorAddressByPoolId(tx, args);
|
|
@@ -4234,7 +4074,7 @@ export namespace sui_system_state_inner {
|
|
|
4234
4074
|
export namespace view {
|
|
4235
4075
|
export async function activeValidatorAddresses(
|
|
4236
4076
|
client: SuiClient,
|
|
4237
|
-
args: [string
|
|
4077
|
+
args: [string],
|
|
4238
4078
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
4239
4079
|
const tx = new Transaction();
|
|
4240
4080
|
builder.activeValidatorAddresses(tx, args);
|
|
@@ -4249,7 +4089,7 @@ export namespace sui_system_state_inner {
|
|
|
4249
4089
|
}
|
|
4250
4090
|
export async function activeValidatorVotingPowers(
|
|
4251
4091
|
client: SuiClient,
|
|
4252
|
-
args: [string
|
|
4092
|
+
args: [string],
|
|
4253
4093
|
): Promise<TypedDevInspectResults<[_0x2.vec_map.VecMap<string, bigint>]>> {
|
|
4254
4094
|
const tx = new Transaction();
|
|
4255
4095
|
builder.activeValidatorVotingPowers(tx, args);
|
|
@@ -4265,16 +4105,16 @@ export namespace sui_system_state_inner {
|
|
|
4265
4105
|
export async function advanceEpoch(
|
|
4266
4106
|
client: SuiClient,
|
|
4267
4107
|
args: [
|
|
4268
|
-
string
|
|
4269
|
-
bigint
|
|
4270
|
-
bigint
|
|
4271
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
|
4272
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
|
4273
|
-
bigint
|
|
4274
|
-
bigint
|
|
4275
|
-
bigint
|
|
4276
|
-
bigint
|
|
4277
|
-
bigint
|
|
4108
|
+
string,
|
|
4109
|
+
bigint,
|
|
4110
|
+
bigint,
|
|
4111
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
4112
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
4113
|
+
bigint,
|
|
4114
|
+
bigint,
|
|
4115
|
+
bigint,
|
|
4116
|
+
bigint,
|
|
4117
|
+
bigint,
|
|
4278
4118
|
],
|
|
4279
4119
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
4280
4120
|
const tx = new Transaction();
|
|
@@ -4290,10 +4130,7 @@ export namespace sui_system_state_inner {
|
|
|
4290
4130
|
}
|
|
4291
4131
|
export async function convertToFungibleStakedSui(
|
|
4292
4132
|
client: SuiClient,
|
|
4293
|
-
args: [
|
|
4294
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4295
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
4296
|
-
],
|
|
4133
|
+
args: [string, staking_pool.StakedSui],
|
|
4297
4134
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
4298
4135
|
const tx = new Transaction();
|
|
4299
4136
|
builder.convertToFungibleStakedSui(tx, args);
|
|
@@ -4309,12 +4146,12 @@ export namespace sui_system_state_inner {
|
|
|
4309
4146
|
export async function create(
|
|
4310
4147
|
client: SuiClient,
|
|
4311
4148
|
args: [
|
|
4312
|
-
|
|
4313
|
-
_0x2.balance.Balance<_0x2.sui.SUI
|
|
4314
|
-
bigint
|
|
4315
|
-
bigint
|
|
4316
|
-
sui_system_state_inner.SystemParameters
|
|
4317
|
-
stake_subsidy.StakeSubsidy
|
|
4149
|
+
string[],
|
|
4150
|
+
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
4151
|
+
bigint,
|
|
4152
|
+
bigint,
|
|
4153
|
+
sui_system_state_inner.SystemParameters,
|
|
4154
|
+
stake_subsidy.StakeSubsidy,
|
|
4318
4155
|
],
|
|
4319
4156
|
): Promise<
|
|
4320
4157
|
TypedDevInspectResults<[sui_system_state_inner.SuiSystemStateInner]>
|
|
@@ -4332,15 +4169,7 @@ export namespace sui_system_state_inner {
|
|
|
4332
4169
|
}
|
|
4333
4170
|
export async function createSystemParameters(
|
|
4334
4171
|
client: SuiClient,
|
|
4335
|
-
args: [
|
|
4336
|
-
bigint | TransactionArgument,
|
|
4337
|
-
bigint | TransactionArgument,
|
|
4338
|
-
bigint | TransactionArgument,
|
|
4339
|
-
bigint | TransactionArgument,
|
|
4340
|
-
bigint | TransactionArgument,
|
|
4341
|
-
bigint | TransactionArgument,
|
|
4342
|
-
bigint | TransactionArgument,
|
|
4343
|
-
],
|
|
4172
|
+
args: [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
4344
4173
|
): Promise<
|
|
4345
4174
|
TypedDevInspectResults<[sui_system_state_inner.SystemParameters]>
|
|
4346
4175
|
> {
|
|
@@ -4357,7 +4186,7 @@ export namespace sui_system_state_inner {
|
|
|
4357
4186
|
}
|
|
4358
4187
|
export async function epoch(
|
|
4359
4188
|
client: SuiClient,
|
|
4360
|
-
args: [string
|
|
4189
|
+
args: [string],
|
|
4361
4190
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4362
4191
|
const tx = new Transaction();
|
|
4363
4192
|
builder.epoch(tx, args);
|
|
@@ -4372,7 +4201,7 @@ export namespace sui_system_state_inner {
|
|
|
4372
4201
|
}
|
|
4373
4202
|
export async function epochStartTimestampMs(
|
|
4374
4203
|
client: SuiClient,
|
|
4375
|
-
args: [string
|
|
4204
|
+
args: [string],
|
|
4376
4205
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4377
4206
|
const tx = new Transaction();
|
|
4378
4207
|
builder.epochStartTimestampMs(tx, args);
|
|
@@ -4402,10 +4231,7 @@ export namespace sui_system_state_inner {
|
|
|
4402
4231
|
}
|
|
4403
4232
|
export async function getReportersOf(
|
|
4404
4233
|
client: SuiClient,
|
|
4405
|
-
args: [
|
|
4406
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4407
|
-
string | TransactionArgument,
|
|
4408
|
-
],
|
|
4234
|
+
args: [string, string],
|
|
4409
4235
|
): Promise<TypedDevInspectResults<[_0x2.vec_set.VecSet<string>]>> {
|
|
4410
4236
|
const tx = new Transaction();
|
|
4411
4237
|
builder.getReportersOf(tx, args);
|
|
@@ -4420,7 +4246,7 @@ export namespace sui_system_state_inner {
|
|
|
4420
4246
|
}
|
|
4421
4247
|
export async function getStorageFundObjectRebates(
|
|
4422
4248
|
client: SuiClient,
|
|
4423
|
-
args: [string
|
|
4249
|
+
args: [string],
|
|
4424
4250
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4425
4251
|
const tx = new Transaction();
|
|
4426
4252
|
builder.getStorageFundObjectRebates(tx, args);
|
|
@@ -4435,7 +4261,7 @@ export namespace sui_system_state_inner {
|
|
|
4435
4261
|
}
|
|
4436
4262
|
export async function getStorageFundTotalBalance(
|
|
4437
4263
|
client: SuiClient,
|
|
4438
|
-
args: [string
|
|
4264
|
+
args: [string],
|
|
4439
4265
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4440
4266
|
const tx = new Transaction();
|
|
4441
4267
|
builder.getStorageFundTotalBalance(tx, args);
|
|
@@ -4450,10 +4276,7 @@ export namespace sui_system_state_inner {
|
|
|
4450
4276
|
}
|
|
4451
4277
|
export async function poolExchangeRates(
|
|
4452
4278
|
client: SuiClient,
|
|
4453
|
-
args: [
|
|
4454
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4455
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4456
|
-
],
|
|
4279
|
+
args: [string, string],
|
|
4457
4280
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
4458
4281
|
const tx = new Transaction();
|
|
4459
4282
|
builder.poolExchangeRates(tx, args);
|
|
@@ -4468,7 +4291,7 @@ export namespace sui_system_state_inner {
|
|
|
4468
4291
|
}
|
|
4469
4292
|
export async function protocolVersion(
|
|
4470
4293
|
client: SuiClient,
|
|
4471
|
-
args: [string
|
|
4294
|
+
args: [string],
|
|
4472
4295
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4473
4296
|
const tx = new Transaction();
|
|
4474
4297
|
builder.protocolVersion(tx, args);
|
|
@@ -4483,10 +4306,7 @@ export namespace sui_system_state_inner {
|
|
|
4483
4306
|
}
|
|
4484
4307
|
export async function redeemFungibleStakedSui(
|
|
4485
4308
|
client: SuiClient,
|
|
4486
|
-
args: [
|
|
4487
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4488
|
-
staking_pool.FungibleStakedSui | TransactionArgument,
|
|
4489
|
-
],
|
|
4309
|
+
args: [string, staking_pool.FungibleStakedSui],
|
|
4490
4310
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
4491
4311
|
const tx = new Transaction();
|
|
4492
4312
|
builder.redeemFungibleStakedSui(tx, args);
|
|
@@ -4501,11 +4321,7 @@ export namespace sui_system_state_inner {
|
|
|
4501
4321
|
}
|
|
4502
4322
|
export async function reportValidator(
|
|
4503
4323
|
client: SuiClient,
|
|
4504
|
-
args: [
|
|
4505
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4506
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4507
|
-
string | TransactionArgument,
|
|
4508
|
-
],
|
|
4324
|
+
args: [string, string, string],
|
|
4509
4325
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4510
4326
|
const tx = new Transaction();
|
|
4511
4327
|
builder.reportValidator(tx, args);
|
|
@@ -4520,11 +4336,7 @@ export namespace sui_system_state_inner {
|
|
|
4520
4336
|
}
|
|
4521
4337
|
export async function requestAddStake(
|
|
4522
4338
|
client: SuiClient,
|
|
4523
|
-
args: [
|
|
4524
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4525
|
-
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
|
4526
|
-
string | TransactionArgument,
|
|
4527
|
-
],
|
|
4339
|
+
args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string],
|
|
4528
4340
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
4529
4341
|
const tx = new Transaction();
|
|
4530
4342
|
builder.requestAddStake(tx, args);
|
|
@@ -4539,12 +4351,7 @@ export namespace sui_system_state_inner {
|
|
|
4539
4351
|
}
|
|
4540
4352
|
export async function requestAddStakeMulCoin(
|
|
4541
4353
|
client: SuiClient,
|
|
4542
|
-
args: [
|
|
4543
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4544
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4545
|
-
_0x1.option.Option<bigint> | TransactionArgument,
|
|
4546
|
-
string | TransactionArgument,
|
|
4547
|
-
],
|
|
4354
|
+
args: [string, string[], _0x1.option.Option<bigint>, string],
|
|
4548
4355
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
4549
4356
|
const tx = new Transaction();
|
|
4550
4357
|
builder.requestAddStakeMulCoin(tx, args);
|
|
@@ -4559,7 +4366,7 @@ export namespace sui_system_state_inner {
|
|
|
4559
4366
|
}
|
|
4560
4367
|
export async function requestAddValidator(
|
|
4561
4368
|
client: SuiClient,
|
|
4562
|
-
args: [string
|
|
4369
|
+
args: [string],
|
|
4563
4370
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4564
4371
|
const tx = new Transaction();
|
|
4565
4372
|
builder.requestAddValidator(tx, args);
|
|
@@ -4575,21 +4382,21 @@ export namespace sui_system_state_inner {
|
|
|
4575
4382
|
export async function requestAddValidatorCandidate(
|
|
4576
4383
|
client: SuiClient,
|
|
4577
4384
|
args: [
|
|
4578
|
-
string
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
bigint
|
|
4592
|
-
bigint
|
|
4385
|
+
string,
|
|
4386
|
+
string[],
|
|
4387
|
+
string[],
|
|
4388
|
+
string[],
|
|
4389
|
+
string[],
|
|
4390
|
+
string[],
|
|
4391
|
+
string[],
|
|
4392
|
+
string[],
|
|
4393
|
+
string[],
|
|
4394
|
+
string[],
|
|
4395
|
+
string[],
|
|
4396
|
+
string[],
|
|
4397
|
+
string[],
|
|
4398
|
+
bigint,
|
|
4399
|
+
bigint,
|
|
4593
4400
|
],
|
|
4594
4401
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4595
4402
|
const tx = new Transaction();
|
|
@@ -4605,7 +4412,7 @@ export namespace sui_system_state_inner {
|
|
|
4605
4412
|
}
|
|
4606
4413
|
export async function requestRemoveValidator(
|
|
4607
4414
|
client: SuiClient,
|
|
4608
|
-
args: [string
|
|
4415
|
+
args: [string],
|
|
4609
4416
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4610
4417
|
const tx = new Transaction();
|
|
4611
4418
|
builder.requestRemoveValidator(tx, args);
|
|
@@ -4620,7 +4427,7 @@ export namespace sui_system_state_inner {
|
|
|
4620
4427
|
}
|
|
4621
4428
|
export async function requestRemoveValidatorCandidate(
|
|
4622
4429
|
client: SuiClient,
|
|
4623
|
-
args: [string
|
|
4430
|
+
args: [string],
|
|
4624
4431
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4625
4432
|
const tx = new Transaction();
|
|
4626
4433
|
builder.requestRemoveValidatorCandidate(tx, args);
|
|
@@ -4635,10 +4442,7 @@ export namespace sui_system_state_inner {
|
|
|
4635
4442
|
}
|
|
4636
4443
|
export async function requestSetCommissionRate(
|
|
4637
4444
|
client: SuiClient,
|
|
4638
|
-
args: [
|
|
4639
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4640
|
-
bigint | TransactionArgument,
|
|
4641
|
-
],
|
|
4445
|
+
args: [string, bigint],
|
|
4642
4446
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4643
4447
|
const tx = new Transaction();
|
|
4644
4448
|
builder.requestSetCommissionRate(tx, args);
|
|
@@ -4653,11 +4457,7 @@ export namespace sui_system_state_inner {
|
|
|
4653
4457
|
}
|
|
4654
4458
|
export async function requestSetGasPrice(
|
|
4655
4459
|
client: SuiClient,
|
|
4656
|
-
args: [
|
|
4657
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4658
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4659
|
-
bigint | TransactionArgument,
|
|
4660
|
-
],
|
|
4460
|
+
args: [string, string, bigint],
|
|
4661
4461
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4662
4462
|
const tx = new Transaction();
|
|
4663
4463
|
builder.requestSetGasPrice(tx, args);
|
|
@@ -4672,10 +4472,7 @@ export namespace sui_system_state_inner {
|
|
|
4672
4472
|
}
|
|
4673
4473
|
export async function requestWithdrawStake(
|
|
4674
4474
|
client: SuiClient,
|
|
4675
|
-
args: [
|
|
4676
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4677
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
4678
|
-
],
|
|
4475
|
+
args: [string, staking_pool.StakedSui],
|
|
4679
4476
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
4680
4477
|
const tx = new Transaction();
|
|
4681
4478
|
builder.requestWithdrawStake(tx, args);
|
|
@@ -4690,7 +4487,7 @@ export namespace sui_system_state_inner {
|
|
|
4690
4487
|
}
|
|
4691
4488
|
export async function rotateOperationCap(
|
|
4692
4489
|
client: SuiClient,
|
|
4693
|
-
args: [string
|
|
4490
|
+
args: [string],
|
|
4694
4491
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4695
4492
|
const tx = new Transaction();
|
|
4696
4493
|
builder.rotateOperationCap(tx, args);
|
|
@@ -4705,10 +4502,7 @@ export namespace sui_system_state_inner {
|
|
|
4705
4502
|
}
|
|
4706
4503
|
export async function setCandidateValidatorCommissionRate(
|
|
4707
4504
|
client: SuiClient,
|
|
4708
|
-
args: [
|
|
4709
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4710
|
-
bigint | TransactionArgument,
|
|
4711
|
-
],
|
|
4505
|
+
args: [string, bigint],
|
|
4712
4506
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4713
4507
|
const tx = new Transaction();
|
|
4714
4508
|
builder.setCandidateValidatorCommissionRate(tx, args);
|
|
@@ -4723,11 +4517,7 @@ export namespace sui_system_state_inner {
|
|
|
4723
4517
|
}
|
|
4724
4518
|
export async function setCandidateValidatorGasPrice(
|
|
4725
4519
|
client: SuiClient,
|
|
4726
|
-
args: [
|
|
4727
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4728
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4729
|
-
bigint | TransactionArgument,
|
|
4730
|
-
],
|
|
4520
|
+
args: [string, string, bigint],
|
|
4731
4521
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4732
4522
|
const tx = new Transaction();
|
|
4733
4523
|
builder.setCandidateValidatorGasPrice(tx, args);
|
|
@@ -4742,7 +4532,7 @@ export namespace sui_system_state_inner {
|
|
|
4742
4532
|
}
|
|
4743
4533
|
export async function systemStateVersion(
|
|
4744
4534
|
client: SuiClient,
|
|
4745
|
-
args: [string
|
|
4535
|
+
args: [string],
|
|
4746
4536
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4747
4537
|
const tx = new Transaction();
|
|
4748
4538
|
builder.systemStateVersion(tx, args);
|
|
@@ -4757,11 +4547,7 @@ export namespace sui_system_state_inner {
|
|
|
4757
4547
|
}
|
|
4758
4548
|
export async function undoReportValidator(
|
|
4759
4549
|
client: SuiClient,
|
|
4760
|
-
args: [
|
|
4761
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4762
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4763
|
-
string | TransactionArgument,
|
|
4764
|
-
],
|
|
4550
|
+
args: [string, string, string],
|
|
4765
4551
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4766
4552
|
const tx = new Transaction();
|
|
4767
4553
|
builder.undoReportValidator(tx, args);
|
|
@@ -4776,10 +4562,7 @@ export namespace sui_system_state_inner {
|
|
|
4776
4562
|
}
|
|
4777
4563
|
export async function updateCandidateValidatorNetworkAddress(
|
|
4778
4564
|
client: SuiClient,
|
|
4779
|
-
args: [
|
|
4780
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4781
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4782
|
-
],
|
|
4565
|
+
args: [string, string[]],
|
|
4783
4566
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4784
4567
|
const tx = new Transaction();
|
|
4785
4568
|
builder.updateCandidateValidatorNetworkAddress(tx, args);
|
|
@@ -4794,10 +4577,7 @@ export namespace sui_system_state_inner {
|
|
|
4794
4577
|
}
|
|
4795
4578
|
export async function updateCandidateValidatorNetworkPubkey(
|
|
4796
4579
|
client: SuiClient,
|
|
4797
|
-
args: [
|
|
4798
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4799
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4800
|
-
],
|
|
4580
|
+
args: [string, string[]],
|
|
4801
4581
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4802
4582
|
const tx = new Transaction();
|
|
4803
4583
|
builder.updateCandidateValidatorNetworkPubkey(tx, args);
|
|
@@ -4812,10 +4592,7 @@ export namespace sui_system_state_inner {
|
|
|
4812
4592
|
}
|
|
4813
4593
|
export async function updateCandidateValidatorP2pAddress(
|
|
4814
4594
|
client: SuiClient,
|
|
4815
|
-
args: [
|
|
4816
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4817
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4818
|
-
],
|
|
4595
|
+
args: [string, string[]],
|
|
4819
4596
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4820
4597
|
const tx = new Transaction();
|
|
4821
4598
|
builder.updateCandidateValidatorP2pAddress(tx, args);
|
|
@@ -4830,10 +4607,7 @@ export namespace sui_system_state_inner {
|
|
|
4830
4607
|
}
|
|
4831
4608
|
export async function updateCandidateValidatorPrimaryAddress(
|
|
4832
4609
|
client: SuiClient,
|
|
4833
|
-
args: [
|
|
4834
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4835
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4836
|
-
],
|
|
4610
|
+
args: [string, string[]],
|
|
4837
4611
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4838
4612
|
const tx = new Transaction();
|
|
4839
4613
|
builder.updateCandidateValidatorPrimaryAddress(tx, args);
|
|
@@ -4848,11 +4622,7 @@ export namespace sui_system_state_inner {
|
|
|
4848
4622
|
}
|
|
4849
4623
|
export async function updateCandidateValidatorProtocolPubkey(
|
|
4850
4624
|
client: SuiClient,
|
|
4851
|
-
args: [
|
|
4852
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4853
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4854
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4855
|
-
],
|
|
4625
|
+
args: [string, string[], string[]],
|
|
4856
4626
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4857
4627
|
const tx = new Transaction();
|
|
4858
4628
|
builder.updateCandidateValidatorProtocolPubkey(tx, args);
|
|
@@ -4867,10 +4637,7 @@ export namespace sui_system_state_inner {
|
|
|
4867
4637
|
}
|
|
4868
4638
|
export async function updateCandidateValidatorWorkerAddress(
|
|
4869
4639
|
client: SuiClient,
|
|
4870
|
-
args: [
|
|
4871
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4872
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4873
|
-
],
|
|
4640
|
+
args: [string, string[]],
|
|
4874
4641
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4875
4642
|
const tx = new Transaction();
|
|
4876
4643
|
builder.updateCandidateValidatorWorkerAddress(tx, args);
|
|
@@ -4885,10 +4652,7 @@ export namespace sui_system_state_inner {
|
|
|
4885
4652
|
}
|
|
4886
4653
|
export async function updateCandidateValidatorWorkerPubkey(
|
|
4887
4654
|
client: SuiClient,
|
|
4888
|
-
args: [
|
|
4889
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4890
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4891
|
-
],
|
|
4655
|
+
args: [string, string[]],
|
|
4892
4656
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4893
4657
|
const tx = new Transaction();
|
|
4894
4658
|
builder.updateCandidateValidatorWorkerPubkey(tx, args);
|
|
@@ -4903,10 +4667,7 @@ export namespace sui_system_state_inner {
|
|
|
4903
4667
|
}
|
|
4904
4668
|
export async function updateValidatorDescription(
|
|
4905
4669
|
client: SuiClient,
|
|
4906
|
-
args: [
|
|
4907
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4908
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4909
|
-
],
|
|
4670
|
+
args: [string, string[]],
|
|
4910
4671
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4911
4672
|
const tx = new Transaction();
|
|
4912
4673
|
builder.updateValidatorDescription(tx, args);
|
|
@@ -4921,10 +4682,7 @@ export namespace sui_system_state_inner {
|
|
|
4921
4682
|
}
|
|
4922
4683
|
export async function updateValidatorImageUrl(
|
|
4923
4684
|
client: SuiClient,
|
|
4924
|
-
args: [
|
|
4925
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4926
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4927
|
-
],
|
|
4685
|
+
args: [string, string[]],
|
|
4928
4686
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4929
4687
|
const tx = new Transaction();
|
|
4930
4688
|
builder.updateValidatorImageUrl(tx, args);
|
|
@@ -4939,10 +4697,7 @@ export namespace sui_system_state_inner {
|
|
|
4939
4697
|
}
|
|
4940
4698
|
export async function updateValidatorName(
|
|
4941
4699
|
client: SuiClient,
|
|
4942
|
-
args: [
|
|
4943
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4944
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4945
|
-
],
|
|
4700
|
+
args: [string, string[]],
|
|
4946
4701
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4947
4702
|
const tx = new Transaction();
|
|
4948
4703
|
builder.updateValidatorName(tx, args);
|
|
@@ -4957,10 +4712,7 @@ export namespace sui_system_state_inner {
|
|
|
4957
4712
|
}
|
|
4958
4713
|
export async function updateValidatorNextEpochNetworkAddress(
|
|
4959
4714
|
client: SuiClient,
|
|
4960
|
-
args: [
|
|
4961
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4962
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4963
|
-
],
|
|
4715
|
+
args: [string, string[]],
|
|
4964
4716
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4965
4717
|
const tx = new Transaction();
|
|
4966
4718
|
builder.updateValidatorNextEpochNetworkAddress(tx, args);
|
|
@@ -4975,10 +4727,7 @@ export namespace sui_system_state_inner {
|
|
|
4975
4727
|
}
|
|
4976
4728
|
export async function updateValidatorNextEpochNetworkPubkey(
|
|
4977
4729
|
client: SuiClient,
|
|
4978
|
-
args: [
|
|
4979
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4980
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4981
|
-
],
|
|
4730
|
+
args: [string, string[]],
|
|
4982
4731
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4983
4732
|
const tx = new Transaction();
|
|
4984
4733
|
builder.updateValidatorNextEpochNetworkPubkey(tx, args);
|
|
@@ -4993,10 +4742,7 @@ export namespace sui_system_state_inner {
|
|
|
4993
4742
|
}
|
|
4994
4743
|
export async function updateValidatorNextEpochP2pAddress(
|
|
4995
4744
|
client: SuiClient,
|
|
4996
|
-
args: [
|
|
4997
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
4998
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
4999
|
-
],
|
|
4745
|
+
args: [string, string[]],
|
|
5000
4746
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5001
4747
|
const tx = new Transaction();
|
|
5002
4748
|
builder.updateValidatorNextEpochP2pAddress(tx, args);
|
|
@@ -5011,10 +4757,7 @@ export namespace sui_system_state_inner {
|
|
|
5011
4757
|
}
|
|
5012
4758
|
export async function updateValidatorNextEpochPrimaryAddress(
|
|
5013
4759
|
client: SuiClient,
|
|
5014
|
-
args: [
|
|
5015
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5016
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
5017
|
-
],
|
|
4760
|
+
args: [string, string[]],
|
|
5018
4761
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5019
4762
|
const tx = new Transaction();
|
|
5020
4763
|
builder.updateValidatorNextEpochPrimaryAddress(tx, args);
|
|
@@ -5029,11 +4772,7 @@ export namespace sui_system_state_inner {
|
|
|
5029
4772
|
}
|
|
5030
4773
|
export async function updateValidatorNextEpochProtocolPubkey(
|
|
5031
4774
|
client: SuiClient,
|
|
5032
|
-
args: [
|
|
5033
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5034
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
5035
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
5036
|
-
],
|
|
4775
|
+
args: [string, string[], string[]],
|
|
5037
4776
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5038
4777
|
const tx = new Transaction();
|
|
5039
4778
|
builder.updateValidatorNextEpochProtocolPubkey(tx, args);
|
|
@@ -5048,10 +4787,7 @@ export namespace sui_system_state_inner {
|
|
|
5048
4787
|
}
|
|
5049
4788
|
export async function updateValidatorNextEpochWorkerAddress(
|
|
5050
4789
|
client: SuiClient,
|
|
5051
|
-
args: [
|
|
5052
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5053
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
5054
|
-
],
|
|
4790
|
+
args: [string, string[]],
|
|
5055
4791
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5056
4792
|
const tx = new Transaction();
|
|
5057
4793
|
builder.updateValidatorNextEpochWorkerAddress(tx, args);
|
|
@@ -5066,10 +4802,7 @@ export namespace sui_system_state_inner {
|
|
|
5066
4802
|
}
|
|
5067
4803
|
export async function updateValidatorNextEpochWorkerPubkey(
|
|
5068
4804
|
client: SuiClient,
|
|
5069
|
-
args: [
|
|
5070
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5071
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
5072
|
-
],
|
|
4805
|
+
args: [string, string[]],
|
|
5073
4806
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5074
4807
|
const tx = new Transaction();
|
|
5075
4808
|
builder.updateValidatorNextEpochWorkerPubkey(tx, args);
|
|
@@ -5084,10 +4817,7 @@ export namespace sui_system_state_inner {
|
|
|
5084
4817
|
}
|
|
5085
4818
|
export async function updateValidatorProjectUrl(
|
|
5086
4819
|
client: SuiClient,
|
|
5087
|
-
args: [
|
|
5088
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5089
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
5090
|
-
],
|
|
4820
|
+
args: [string, string[]],
|
|
5091
4821
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5092
4822
|
const tx = new Transaction();
|
|
5093
4823
|
builder.updateValidatorProjectUrl(tx, args);
|
|
@@ -5102,7 +4832,7 @@ export namespace sui_system_state_inner {
|
|
|
5102
4832
|
}
|
|
5103
4833
|
export async function v1ToV2(
|
|
5104
4834
|
client: SuiClient,
|
|
5105
|
-
args: [sui_system_state_inner.SuiSystemStateInner
|
|
4835
|
+
args: [sui_system_state_inner.SuiSystemStateInner],
|
|
5106
4836
|
): Promise<
|
|
5107
4837
|
TypedDevInspectResults<[sui_system_state_inner.SuiSystemStateInnerV2]>
|
|
5108
4838
|
> {
|
|
@@ -5119,10 +4849,7 @@ export namespace sui_system_state_inner {
|
|
|
5119
4849
|
}
|
|
5120
4850
|
export async function validatorAddressByPoolId(
|
|
5121
4851
|
client: SuiClient,
|
|
5122
|
-
args: [
|
|
5123
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5124
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5125
|
-
],
|
|
4852
|
+
args: [string, string],
|
|
5126
4853
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
5127
4854
|
const tx = new Transaction();
|
|
5128
4855
|
builder.validatorAddressByPoolId(tx, args);
|
|
@@ -5137,10 +4864,7 @@ export namespace sui_system_state_inner {
|
|
|
5137
4864
|
}
|
|
5138
4865
|
export async function validatorStakeAmount(
|
|
5139
4866
|
client: SuiClient,
|
|
5140
|
-
args: [
|
|
5141
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5142
|
-
string | TransactionArgument,
|
|
5143
|
-
],
|
|
4867
|
+
args: [string, string],
|
|
5144
4868
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
5145
4869
|
const tx = new Transaction();
|
|
5146
4870
|
builder.validatorStakeAmount(tx, args);
|
|
@@ -5155,10 +4879,7 @@ export namespace sui_system_state_inner {
|
|
|
5155
4879
|
}
|
|
5156
4880
|
export async function validatorStakingPoolId(
|
|
5157
4881
|
client: SuiClient,
|
|
5158
|
-
args: [
|
|
5159
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
5160
|
-
string | TransactionArgument,
|
|
5161
|
-
],
|
|
4882
|
+
args: [string, string],
|
|
5162
4883
|
): Promise<TypedDevInspectResults<[_0x2.object_.ID]>> {
|
|
5163
4884
|
const tx = new Transaction();
|
|
5164
4885
|
builder.validatorStakingPoolId(tx, args);
|
|
@@ -5173,7 +4894,7 @@ export namespace sui_system_state_inner {
|
|
|
5173
4894
|
}
|
|
5174
4895
|
export async function validatorStakingPoolMappings(
|
|
5175
4896
|
client: SuiClient,
|
|
5176
|
-
args: [string
|
|
4897
|
+
args: [string],
|
|
5177
4898
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
5178
4899
|
const tx = new Transaction();
|
|
5179
4900
|
builder.validatorStakingPoolMappings(tx, args);
|
|
@@ -6589,10 +6310,7 @@ export namespace validator {
|
|
|
6589
6310
|
export namespace view {
|
|
6590
6311
|
export async function activate(
|
|
6591
6312
|
client: SuiClient,
|
|
6592
|
-
args: [
|
|
6593
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
6594
|
-
bigint | TransactionArgument,
|
|
6595
|
-
],
|
|
6313
|
+
args: [string, bigint],
|
|
6596
6314
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6597
6315
|
const tx = new Transaction();
|
|
6598
6316
|
builder.activate(tx, args);
|
|
@@ -6607,7 +6325,7 @@ export namespace validator {
|
|
|
6607
6325
|
}
|
|
6608
6326
|
export async function adjustStakeAndGasPrice(
|
|
6609
6327
|
client: SuiClient,
|
|
6610
|
-
args: [string
|
|
6328
|
+
args: [string],
|
|
6611
6329
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6612
6330
|
const tx = new Transaction();
|
|
6613
6331
|
builder.adjustStakeAndGasPrice(tx, args);
|
|
@@ -6622,7 +6340,7 @@ export namespace validator {
|
|
|
6622
6340
|
}
|
|
6623
6341
|
export async function commissionRate(
|
|
6624
6342
|
client: SuiClient,
|
|
6625
|
-
args: [string
|
|
6343
|
+
args: [string],
|
|
6626
6344
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
6627
6345
|
const tx = new Transaction();
|
|
6628
6346
|
builder.commissionRate(tx, args);
|
|
@@ -6637,10 +6355,7 @@ export namespace validator {
|
|
|
6637
6355
|
}
|
|
6638
6356
|
export async function convertToFungibleStakedSui(
|
|
6639
6357
|
client: SuiClient,
|
|
6640
|
-
args: [
|
|
6641
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
6642
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
6643
|
-
],
|
|
6358
|
+
args: [string, staking_pool.StakedSui],
|
|
6644
6359
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
6645
6360
|
const tx = new Transaction();
|
|
6646
6361
|
builder.convertToFungibleStakedSui(tx, args);
|
|
@@ -6655,10 +6370,7 @@ export namespace validator {
|
|
|
6655
6370
|
}
|
|
6656
6371
|
export async function deactivate(
|
|
6657
6372
|
client: SuiClient,
|
|
6658
|
-
args: [
|
|
6659
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
6660
|
-
bigint | TransactionArgument,
|
|
6661
|
-
],
|
|
6373
|
+
args: [string, bigint],
|
|
6662
6374
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6663
6375
|
const tx = new Transaction();
|
|
6664
6376
|
builder.deactivate(tx, args);
|
|
@@ -6673,10 +6385,7 @@ export namespace validator {
|
|
|
6673
6385
|
}
|
|
6674
6386
|
export async function depositStakeRewards(
|
|
6675
6387
|
client: SuiClient,
|
|
6676
|
-
args: [
|
|
6677
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
6678
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
|
6679
|
-
],
|
|
6388
|
+
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>],
|
|
6680
6389
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6681
6390
|
const tx = new Transaction();
|
|
6682
6391
|
builder.depositStakeRewards(tx, args);
|
|
@@ -6691,7 +6400,7 @@ export namespace validator {
|
|
|
6691
6400
|
}
|
|
6692
6401
|
export async function description(
|
|
6693
6402
|
client: SuiClient,
|
|
6694
|
-
args: [string
|
|
6403
|
+
args: [string],
|
|
6695
6404
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6696
6405
|
const tx = new Transaction();
|
|
6697
6406
|
builder.description(tx, args);
|
|
@@ -6706,7 +6415,7 @@ export namespace validator {
|
|
|
6706
6415
|
}
|
|
6707
6416
|
export async function effectuateStagedMetadata(
|
|
6708
6417
|
client: SuiClient,
|
|
6709
|
-
args: [string
|
|
6418
|
+
args: [string],
|
|
6710
6419
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6711
6420
|
const tx = new Transaction();
|
|
6712
6421
|
builder.effectuateStagedMetadata(tx, args);
|
|
@@ -6721,7 +6430,7 @@ export namespace validator {
|
|
|
6721
6430
|
}
|
|
6722
6431
|
export async function gasPrice(
|
|
6723
6432
|
client: SuiClient,
|
|
6724
|
-
args: [string
|
|
6433
|
+
args: [string],
|
|
6725
6434
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
6726
6435
|
const tx = new Transaction();
|
|
6727
6436
|
builder.gasPrice(tx, args);
|
|
@@ -6736,7 +6445,7 @@ export namespace validator {
|
|
|
6736
6445
|
}
|
|
6737
6446
|
export async function getStakingPoolRef(
|
|
6738
6447
|
client: SuiClient,
|
|
6739
|
-
args: [string
|
|
6448
|
+
args: [string],
|
|
6740
6449
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6741
6450
|
const tx = new Transaction();
|
|
6742
6451
|
builder.getStakingPoolRef(tx, args);
|
|
@@ -6751,7 +6460,7 @@ export namespace validator {
|
|
|
6751
6460
|
}
|
|
6752
6461
|
export async function imageUrl(
|
|
6753
6462
|
client: SuiClient,
|
|
6754
|
-
args: [string
|
|
6463
|
+
args: [string],
|
|
6755
6464
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6756
6465
|
const tx = new Transaction();
|
|
6757
6466
|
builder.imageUrl(tx, args);
|
|
@@ -6766,10 +6475,7 @@ export namespace validator {
|
|
|
6766
6475
|
}
|
|
6767
6476
|
export async function isDuplicate(
|
|
6768
6477
|
client: SuiClient,
|
|
6769
|
-
args: [
|
|
6770
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
6771
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
6772
|
-
],
|
|
6478
|
+
args: [string, string],
|
|
6773
6479
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
6774
6480
|
const tx = new Transaction();
|
|
6775
6481
|
builder.isDuplicate(tx, args);
|
|
@@ -6784,7 +6490,7 @@ export namespace validator {
|
|
|
6784
6490
|
}
|
|
6785
6491
|
export async function isPreactive(
|
|
6786
6492
|
client: SuiClient,
|
|
6787
|
-
args: [string
|
|
6493
|
+
args: [string],
|
|
6788
6494
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
6789
6495
|
const tx = new Transaction();
|
|
6790
6496
|
builder.isPreactive(tx, args);
|
|
@@ -6799,7 +6505,7 @@ export namespace validator {
|
|
|
6799
6505
|
}
|
|
6800
6506
|
export async function metadata(
|
|
6801
6507
|
client: SuiClient,
|
|
6802
|
-
args: [string
|
|
6508
|
+
args: [string],
|
|
6803
6509
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6804
6510
|
const tx = new Transaction();
|
|
6805
6511
|
builder.metadata(tx, args);
|
|
@@ -6814,7 +6520,7 @@ export namespace validator {
|
|
|
6814
6520
|
}
|
|
6815
6521
|
export async function name(
|
|
6816
6522
|
client: SuiClient,
|
|
6817
|
-
args: [string
|
|
6523
|
+
args: [string],
|
|
6818
6524
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6819
6525
|
const tx = new Transaction();
|
|
6820
6526
|
builder.name(tx, args);
|
|
@@ -6829,7 +6535,7 @@ export namespace validator {
|
|
|
6829
6535
|
}
|
|
6830
6536
|
export async function networkAddress(
|
|
6831
6537
|
client: SuiClient,
|
|
6832
|
-
args: [string
|
|
6538
|
+
args: [string],
|
|
6833
6539
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6834
6540
|
const tx = new Transaction();
|
|
6835
6541
|
builder.networkAddress(tx, args);
|
|
@@ -6844,7 +6550,7 @@ export namespace validator {
|
|
|
6844
6550
|
}
|
|
6845
6551
|
export async function networkPubkeyBytes(
|
|
6846
6552
|
client: SuiClient,
|
|
6847
|
-
args: [string
|
|
6553
|
+
args: [string],
|
|
6848
6554
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6849
6555
|
const tx = new Transaction();
|
|
6850
6556
|
builder.networkPubkeyBytes(tx, args);
|
|
@@ -6860,21 +6566,21 @@ export namespace validator {
|
|
|
6860
6566
|
export async function new_(
|
|
6861
6567
|
client: SuiClient,
|
|
6862
6568
|
args: [
|
|
6863
|
-
string
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
bigint
|
|
6877
|
-
bigint
|
|
6569
|
+
string,
|
|
6570
|
+
string[],
|
|
6571
|
+
string[],
|
|
6572
|
+
string[],
|
|
6573
|
+
string[],
|
|
6574
|
+
string[],
|
|
6575
|
+
string[],
|
|
6576
|
+
string[],
|
|
6577
|
+
string[],
|
|
6578
|
+
string[],
|
|
6579
|
+
string[],
|
|
6580
|
+
string[],
|
|
6581
|
+
string[],
|
|
6582
|
+
bigint,
|
|
6583
|
+
bigint,
|
|
6878
6584
|
],
|
|
6879
6585
|
): Promise<TypedDevInspectResults<[validator.Validator]>> {
|
|
6880
6586
|
const tx = new Transaction();
|
|
@@ -6891,20 +6597,20 @@ export namespace validator {
|
|
|
6891
6597
|
export async function newMetadata(
|
|
6892
6598
|
client: SuiClient,
|
|
6893
6599
|
args: [
|
|
6894
|
-
string
|
|
6895
|
-
|
|
6896
|
-
|
|
6897
|
-
|
|
6898
|
-
|
|
6899
|
-
string
|
|
6900
|
-
string
|
|
6901
|
-
_0x2.url.Url
|
|
6902
|
-
_0x2.url.Url
|
|
6903
|
-
string
|
|
6904
|
-
string
|
|
6905
|
-
string
|
|
6906
|
-
string
|
|
6907
|
-
_0x2.bag.Bag
|
|
6600
|
+
string,
|
|
6601
|
+
string[],
|
|
6602
|
+
string[],
|
|
6603
|
+
string[],
|
|
6604
|
+
string[],
|
|
6605
|
+
string,
|
|
6606
|
+
string,
|
|
6607
|
+
_0x2.url.Url,
|
|
6608
|
+
_0x2.url.Url,
|
|
6609
|
+
string,
|
|
6610
|
+
string,
|
|
6611
|
+
string,
|
|
6612
|
+
string,
|
|
6613
|
+
_0x2.bag.Bag,
|
|
6908
6614
|
],
|
|
6909
6615
|
): Promise<TypedDevInspectResults<[validator.ValidatorMetadata]>> {
|
|
6910
6616
|
const tx = new Transaction();
|
|
@@ -6920,7 +6626,7 @@ export namespace validator {
|
|
|
6920
6626
|
}
|
|
6921
6627
|
export async function newUnverifiedValidatorOperationCapAndTransfer(
|
|
6922
6628
|
client: SuiClient,
|
|
6923
|
-
args: [string
|
|
6629
|
+
args: [string],
|
|
6924
6630
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6925
6631
|
const tx = new Transaction();
|
|
6926
6632
|
builder.newUnverifiedValidatorOperationCapAndTransfer(tx, args);
|
|
@@ -6935,7 +6641,7 @@ export namespace validator {
|
|
|
6935
6641
|
}
|
|
6936
6642
|
export async function nextEpochGasPrice(
|
|
6937
6643
|
client: SuiClient,
|
|
6938
|
-
args: [string
|
|
6644
|
+
args: [string],
|
|
6939
6645
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
6940
6646
|
const tx = new Transaction();
|
|
6941
6647
|
builder.nextEpochGasPrice(tx, args);
|
|
@@ -6950,7 +6656,7 @@ export namespace validator {
|
|
|
6950
6656
|
}
|
|
6951
6657
|
export async function nextEpochNetworkAddress(
|
|
6952
6658
|
client: SuiClient,
|
|
6953
|
-
args: [string
|
|
6659
|
+
args: [string],
|
|
6954
6660
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6955
6661
|
const tx = new Transaction();
|
|
6956
6662
|
builder.nextEpochNetworkAddress(tx, args);
|
|
@@ -6965,7 +6671,7 @@ export namespace validator {
|
|
|
6965
6671
|
}
|
|
6966
6672
|
export async function nextEpochNetworkPubkeyBytes(
|
|
6967
6673
|
client: SuiClient,
|
|
6968
|
-
args: [string
|
|
6674
|
+
args: [string],
|
|
6969
6675
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6970
6676
|
const tx = new Transaction();
|
|
6971
6677
|
builder.nextEpochNetworkPubkeyBytes(tx, args);
|
|
@@ -6980,7 +6686,7 @@ export namespace validator {
|
|
|
6980
6686
|
}
|
|
6981
6687
|
export async function nextEpochP2pAddress(
|
|
6982
6688
|
client: SuiClient,
|
|
6983
|
-
args: [string
|
|
6689
|
+
args: [string],
|
|
6984
6690
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6985
6691
|
const tx = new Transaction();
|
|
6986
6692
|
builder.nextEpochP2pAddress(tx, args);
|
|
@@ -6995,7 +6701,7 @@ export namespace validator {
|
|
|
6995
6701
|
}
|
|
6996
6702
|
export async function nextEpochPrimaryAddress(
|
|
6997
6703
|
client: SuiClient,
|
|
6998
|
-
args: [string
|
|
6704
|
+
args: [string],
|
|
6999
6705
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7000
6706
|
const tx = new Transaction();
|
|
7001
6707
|
builder.nextEpochPrimaryAddress(tx, args);
|
|
@@ -7010,7 +6716,7 @@ export namespace validator {
|
|
|
7010
6716
|
}
|
|
7011
6717
|
export async function nextEpochProofOfPossession(
|
|
7012
6718
|
client: SuiClient,
|
|
7013
|
-
args: [string
|
|
6719
|
+
args: [string],
|
|
7014
6720
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7015
6721
|
const tx = new Transaction();
|
|
7016
6722
|
builder.nextEpochProofOfPossession(tx, args);
|
|
@@ -7025,7 +6731,7 @@ export namespace validator {
|
|
|
7025
6731
|
}
|
|
7026
6732
|
export async function nextEpochProtocolPubkeyBytes(
|
|
7027
6733
|
client: SuiClient,
|
|
7028
|
-
args: [string
|
|
6734
|
+
args: [string],
|
|
7029
6735
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7030
6736
|
const tx = new Transaction();
|
|
7031
6737
|
builder.nextEpochProtocolPubkeyBytes(tx, args);
|
|
@@ -7040,7 +6746,7 @@ export namespace validator {
|
|
|
7040
6746
|
}
|
|
7041
6747
|
export async function nextEpochWorkerAddress(
|
|
7042
6748
|
client: SuiClient,
|
|
7043
|
-
args: [string
|
|
6749
|
+
args: [string],
|
|
7044
6750
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7045
6751
|
const tx = new Transaction();
|
|
7046
6752
|
builder.nextEpochWorkerAddress(tx, args);
|
|
@@ -7055,7 +6761,7 @@ export namespace validator {
|
|
|
7055
6761
|
}
|
|
7056
6762
|
export async function nextEpochWorkerPubkeyBytes(
|
|
7057
6763
|
client: SuiClient,
|
|
7058
|
-
args: [string
|
|
6764
|
+
args: [string],
|
|
7059
6765
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7060
6766
|
const tx = new Transaction();
|
|
7061
6767
|
builder.nextEpochWorkerPubkeyBytes(tx, args);
|
|
@@ -7070,7 +6776,7 @@ export namespace validator {
|
|
|
7070
6776
|
}
|
|
7071
6777
|
export async function operationCapId(
|
|
7072
6778
|
client: SuiClient,
|
|
7073
|
-
args: [string
|
|
6779
|
+
args: [string],
|
|
7074
6780
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7075
6781
|
const tx = new Transaction();
|
|
7076
6782
|
builder.operationCapId(tx, args);
|
|
@@ -7085,7 +6791,7 @@ export namespace validator {
|
|
|
7085
6791
|
}
|
|
7086
6792
|
export async function p2pAddress(
|
|
7087
6793
|
client: SuiClient,
|
|
7088
|
-
args: [string
|
|
6794
|
+
args: [string],
|
|
7089
6795
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7090
6796
|
const tx = new Transaction();
|
|
7091
6797
|
builder.p2pAddress(tx, args);
|
|
@@ -7100,7 +6806,7 @@ export namespace validator {
|
|
|
7100
6806
|
}
|
|
7101
6807
|
export async function pendingStakeAmount(
|
|
7102
6808
|
client: SuiClient,
|
|
7103
|
-
args: [string
|
|
6809
|
+
args: [string],
|
|
7104
6810
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7105
6811
|
const tx = new Transaction();
|
|
7106
6812
|
builder.pendingStakeAmount(tx, args);
|
|
@@ -7115,7 +6821,7 @@ export namespace validator {
|
|
|
7115
6821
|
}
|
|
7116
6822
|
export async function pendingStakeWithdrawAmount(
|
|
7117
6823
|
client: SuiClient,
|
|
7118
|
-
args: [string
|
|
6824
|
+
args: [string],
|
|
7119
6825
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7120
6826
|
const tx = new Transaction();
|
|
7121
6827
|
builder.pendingStakeWithdrawAmount(tx, args);
|
|
@@ -7130,10 +6836,7 @@ export namespace validator {
|
|
|
7130
6836
|
}
|
|
7131
6837
|
export async function poolTokenExchangeRateAtEpoch(
|
|
7132
6838
|
client: SuiClient,
|
|
7133
|
-
args: [
|
|
7134
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7135
|
-
bigint | TransactionArgument,
|
|
7136
|
-
],
|
|
6839
|
+
args: [string, bigint],
|
|
7137
6840
|
): Promise<TypedDevInspectResults<[staking_pool.PoolTokenExchangeRate]>> {
|
|
7138
6841
|
const tx = new Transaction();
|
|
7139
6842
|
builder.poolTokenExchangeRateAtEpoch(tx, args);
|
|
@@ -7148,7 +6851,7 @@ export namespace validator {
|
|
|
7148
6851
|
}
|
|
7149
6852
|
export async function primaryAddress(
|
|
7150
6853
|
client: SuiClient,
|
|
7151
|
-
args: [string
|
|
6854
|
+
args: [string],
|
|
7152
6855
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7153
6856
|
const tx = new Transaction();
|
|
7154
6857
|
builder.primaryAddress(tx, args);
|
|
@@ -7163,7 +6866,7 @@ export namespace validator {
|
|
|
7163
6866
|
}
|
|
7164
6867
|
export async function processPendingStakesAndWithdraws(
|
|
7165
6868
|
client: SuiClient,
|
|
7166
|
-
args: [string
|
|
6869
|
+
args: [string],
|
|
7167
6870
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7168
6871
|
const tx = new Transaction();
|
|
7169
6872
|
builder.processPendingStakesAndWithdraws(tx, args);
|
|
@@ -7178,7 +6881,7 @@ export namespace validator {
|
|
|
7178
6881
|
}
|
|
7179
6882
|
export async function projectUrl(
|
|
7180
6883
|
client: SuiClient,
|
|
7181
|
-
args: [string
|
|
6884
|
+
args: [string],
|
|
7182
6885
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7183
6886
|
const tx = new Transaction();
|
|
7184
6887
|
builder.projectUrl(tx, args);
|
|
@@ -7193,7 +6896,7 @@ export namespace validator {
|
|
|
7193
6896
|
}
|
|
7194
6897
|
export async function proofOfPossession(
|
|
7195
6898
|
client: SuiClient,
|
|
7196
|
-
args: [string
|
|
6899
|
+
args: [string],
|
|
7197
6900
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7198
6901
|
const tx = new Transaction();
|
|
7199
6902
|
builder.proofOfPossession(tx, args);
|
|
@@ -7208,7 +6911,7 @@ export namespace validator {
|
|
|
7208
6911
|
}
|
|
7209
6912
|
export async function protocolPubkeyBytes(
|
|
7210
6913
|
client: SuiClient,
|
|
7211
|
-
args: [string
|
|
6914
|
+
args: [string],
|
|
7212
6915
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7213
6916
|
const tx = new Transaction();
|
|
7214
6917
|
builder.protocolPubkeyBytes(tx, args);
|
|
@@ -7223,10 +6926,7 @@ export namespace validator {
|
|
|
7223
6926
|
}
|
|
7224
6927
|
export async function redeemFungibleStakedSui(
|
|
7225
6928
|
client: SuiClient,
|
|
7226
|
-
args: [
|
|
7227
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7228
|
-
staking_pool.FungibleStakedSui | TransactionArgument,
|
|
7229
|
-
],
|
|
6929
|
+
args: [string, staking_pool.FungibleStakedSui],
|
|
7230
6930
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
7231
6931
|
const tx = new Transaction();
|
|
7232
6932
|
builder.redeemFungibleStakedSui(tx, args);
|
|
@@ -7241,11 +6941,7 @@ export namespace validator {
|
|
|
7241
6941
|
}
|
|
7242
6942
|
export async function requestAddStake(
|
|
7243
6943
|
client: SuiClient,
|
|
7244
|
-
args: [
|
|
7245
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7246
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
|
7247
|
-
string | TransactionArgument,
|
|
7248
|
-
],
|
|
6944
|
+
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, string],
|
|
7249
6945
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
7250
6946
|
const tx = new Transaction();
|
|
7251
6947
|
builder.requestAddStake(tx, args);
|
|
@@ -7260,11 +6956,7 @@ export namespace validator {
|
|
|
7260
6956
|
}
|
|
7261
6957
|
export async function requestAddStakeAtGenesis(
|
|
7262
6958
|
client: SuiClient,
|
|
7263
|
-
args: [
|
|
7264
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7265
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
|
7266
|
-
string | TransactionArgument,
|
|
7267
|
-
],
|
|
6959
|
+
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, string],
|
|
7268
6960
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7269
6961
|
const tx = new Transaction();
|
|
7270
6962
|
builder.requestAddStakeAtGenesis(tx, args);
|
|
@@ -7279,10 +6971,7 @@ export namespace validator {
|
|
|
7279
6971
|
}
|
|
7280
6972
|
export async function requestSetCommissionRate(
|
|
7281
6973
|
client: SuiClient,
|
|
7282
|
-
args: [
|
|
7283
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7284
|
-
bigint | TransactionArgument,
|
|
7285
|
-
],
|
|
6974
|
+
args: [string, bigint],
|
|
7286
6975
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7287
6976
|
const tx = new Transaction();
|
|
7288
6977
|
builder.requestSetCommissionRate(tx, args);
|
|
@@ -7297,11 +6986,7 @@ export namespace validator {
|
|
|
7297
6986
|
}
|
|
7298
6987
|
export async function requestSetGasPrice(
|
|
7299
6988
|
client: SuiClient,
|
|
7300
|
-
args: [
|
|
7301
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7302
|
-
validator_cap.ValidatorOperationCap | TransactionArgument,
|
|
7303
|
-
bigint | TransactionArgument,
|
|
7304
|
-
],
|
|
6989
|
+
args: [string, validator_cap.ValidatorOperationCap, bigint],
|
|
7305
6990
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7306
6991
|
const tx = new Transaction();
|
|
7307
6992
|
builder.requestSetGasPrice(tx, args);
|
|
@@ -7316,10 +7001,7 @@ export namespace validator {
|
|
|
7316
7001
|
}
|
|
7317
7002
|
export async function requestWithdrawStake(
|
|
7318
7003
|
client: SuiClient,
|
|
7319
|
-
args: [
|
|
7320
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7321
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
7322
|
-
],
|
|
7004
|
+
args: [string, staking_pool.StakedSui],
|
|
7323
7005
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
7324
7006
|
const tx = new Transaction();
|
|
7325
7007
|
builder.requestWithdrawStake(tx, args);
|
|
@@ -7334,10 +7016,7 @@ export namespace validator {
|
|
|
7334
7016
|
}
|
|
7335
7017
|
export async function setCandidateCommissionRate(
|
|
7336
7018
|
client: SuiClient,
|
|
7337
|
-
args: [
|
|
7338
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7339
|
-
bigint | TransactionArgument,
|
|
7340
|
-
],
|
|
7019
|
+
args: [string, bigint],
|
|
7341
7020
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7342
7021
|
const tx = new Transaction();
|
|
7343
7022
|
builder.setCandidateCommissionRate(tx, args);
|
|
@@ -7352,11 +7031,7 @@ export namespace validator {
|
|
|
7352
7031
|
}
|
|
7353
7032
|
export async function setCandidateGasPrice(
|
|
7354
7033
|
client: SuiClient,
|
|
7355
|
-
args: [
|
|
7356
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7357
|
-
validator_cap.ValidatorOperationCap | TransactionArgument,
|
|
7358
|
-
bigint | TransactionArgument,
|
|
7359
|
-
],
|
|
7034
|
+
args: [string, validator_cap.ValidatorOperationCap, bigint],
|
|
7360
7035
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7361
7036
|
const tx = new Transaction();
|
|
7362
7037
|
builder.setCandidateGasPrice(tx, args);
|
|
@@ -7371,10 +7046,7 @@ export namespace validator {
|
|
|
7371
7046
|
}
|
|
7372
7047
|
export async function setVotingPower(
|
|
7373
7048
|
client: SuiClient,
|
|
7374
|
-
args: [
|
|
7375
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7376
|
-
bigint | TransactionArgument,
|
|
7377
|
-
],
|
|
7049
|
+
args: [string, bigint],
|
|
7378
7050
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7379
7051
|
const tx = new Transaction();
|
|
7380
7052
|
builder.setVotingPower(tx, args);
|
|
@@ -7389,7 +7061,7 @@ export namespace validator {
|
|
|
7389
7061
|
}
|
|
7390
7062
|
export async function stakeAmount(
|
|
7391
7063
|
client: SuiClient,
|
|
7392
|
-
args: [string
|
|
7064
|
+
args: [string],
|
|
7393
7065
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7394
7066
|
const tx = new Transaction();
|
|
7395
7067
|
builder.stakeAmount(tx, args);
|
|
@@ -7404,7 +7076,7 @@ export namespace validator {
|
|
|
7404
7076
|
}
|
|
7405
7077
|
export async function stakingPoolId(
|
|
7406
7078
|
client: SuiClient,
|
|
7407
|
-
args: [string
|
|
7079
|
+
args: [string],
|
|
7408
7080
|
): Promise<TypedDevInspectResults<[_0x2.object_.ID]>> {
|
|
7409
7081
|
const tx = new Transaction();
|
|
7410
7082
|
builder.stakingPoolId(tx, args);
|
|
@@ -7419,7 +7091,7 @@ export namespace validator {
|
|
|
7419
7091
|
}
|
|
7420
7092
|
export async function suiAddress(
|
|
7421
7093
|
client: SuiClient,
|
|
7422
|
-
args: [string
|
|
7094
|
+
args: [string],
|
|
7423
7095
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7424
7096
|
const tx = new Transaction();
|
|
7425
7097
|
builder.suiAddress(tx, args);
|
|
@@ -7434,7 +7106,7 @@ export namespace validator {
|
|
|
7434
7106
|
}
|
|
7435
7107
|
export async function totalStake(
|
|
7436
7108
|
client: SuiClient,
|
|
7437
|
-
args: [string
|
|
7109
|
+
args: [string],
|
|
7438
7110
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7439
7111
|
const tx = new Transaction();
|
|
7440
7112
|
builder.totalStake(tx, args);
|
|
@@ -7449,7 +7121,7 @@ export namespace validator {
|
|
|
7449
7121
|
}
|
|
7450
7122
|
export async function totalStakeAmount(
|
|
7451
7123
|
client: SuiClient,
|
|
7452
|
-
args: [string
|
|
7124
|
+
args: [string],
|
|
7453
7125
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7454
7126
|
const tx = new Transaction();
|
|
7455
7127
|
builder.totalStakeAmount(tx, args);
|
|
@@ -7464,10 +7136,7 @@ export namespace validator {
|
|
|
7464
7136
|
}
|
|
7465
7137
|
export async function updateCandidateNetworkAddress(
|
|
7466
7138
|
client: SuiClient,
|
|
7467
|
-
args: [
|
|
7468
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7469
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7470
|
-
],
|
|
7139
|
+
args: [string, string[]],
|
|
7471
7140
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7472
7141
|
const tx = new Transaction();
|
|
7473
7142
|
builder.updateCandidateNetworkAddress(tx, args);
|
|
@@ -7482,10 +7151,7 @@ export namespace validator {
|
|
|
7482
7151
|
}
|
|
7483
7152
|
export async function updateCandidateNetworkPubkey(
|
|
7484
7153
|
client: SuiClient,
|
|
7485
|
-
args: [
|
|
7486
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7487
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7488
|
-
],
|
|
7154
|
+
args: [string, string[]],
|
|
7489
7155
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7490
7156
|
const tx = new Transaction();
|
|
7491
7157
|
builder.updateCandidateNetworkPubkey(tx, args);
|
|
@@ -7500,10 +7166,7 @@ export namespace validator {
|
|
|
7500
7166
|
}
|
|
7501
7167
|
export async function updateCandidateP2pAddress(
|
|
7502
7168
|
client: SuiClient,
|
|
7503
|
-
args: [
|
|
7504
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7505
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7506
|
-
],
|
|
7169
|
+
args: [string, string[]],
|
|
7507
7170
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7508
7171
|
const tx = new Transaction();
|
|
7509
7172
|
builder.updateCandidateP2pAddress(tx, args);
|
|
@@ -7518,10 +7181,7 @@ export namespace validator {
|
|
|
7518
7181
|
}
|
|
7519
7182
|
export async function updateCandidatePrimaryAddress(
|
|
7520
7183
|
client: SuiClient,
|
|
7521
|
-
args: [
|
|
7522
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7523
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7524
|
-
],
|
|
7184
|
+
args: [string, string[]],
|
|
7525
7185
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7526
7186
|
const tx = new Transaction();
|
|
7527
7187
|
builder.updateCandidatePrimaryAddress(tx, args);
|
|
@@ -7536,11 +7196,7 @@ export namespace validator {
|
|
|
7536
7196
|
}
|
|
7537
7197
|
export async function updateCandidateProtocolPubkey(
|
|
7538
7198
|
client: SuiClient,
|
|
7539
|
-
args: [
|
|
7540
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7541
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7542
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7543
|
-
],
|
|
7199
|
+
args: [string, string[], string[]],
|
|
7544
7200
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7545
7201
|
const tx = new Transaction();
|
|
7546
7202
|
builder.updateCandidateProtocolPubkey(tx, args);
|
|
@@ -7555,10 +7211,7 @@ export namespace validator {
|
|
|
7555
7211
|
}
|
|
7556
7212
|
export async function updateCandidateWorkerAddress(
|
|
7557
7213
|
client: SuiClient,
|
|
7558
|
-
args: [
|
|
7559
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7560
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7561
|
-
],
|
|
7214
|
+
args: [string, string[]],
|
|
7562
7215
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7563
7216
|
const tx = new Transaction();
|
|
7564
7217
|
builder.updateCandidateWorkerAddress(tx, args);
|
|
@@ -7573,10 +7226,7 @@ export namespace validator {
|
|
|
7573
7226
|
}
|
|
7574
7227
|
export async function updateCandidateWorkerPubkey(
|
|
7575
7228
|
client: SuiClient,
|
|
7576
|
-
args: [
|
|
7577
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7578
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7579
|
-
],
|
|
7229
|
+
args: [string, string[]],
|
|
7580
7230
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7581
7231
|
const tx = new Transaction();
|
|
7582
7232
|
builder.updateCandidateWorkerPubkey(tx, args);
|
|
@@ -7591,10 +7241,7 @@ export namespace validator {
|
|
|
7591
7241
|
}
|
|
7592
7242
|
export async function updateDescription(
|
|
7593
7243
|
client: SuiClient,
|
|
7594
|
-
args: [
|
|
7595
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7596
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7597
|
-
],
|
|
7244
|
+
args: [string, string[]],
|
|
7598
7245
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7599
7246
|
const tx = new Transaction();
|
|
7600
7247
|
builder.updateDescription(tx, args);
|
|
@@ -7609,10 +7256,7 @@ export namespace validator {
|
|
|
7609
7256
|
}
|
|
7610
7257
|
export async function updateImageUrl(
|
|
7611
7258
|
client: SuiClient,
|
|
7612
|
-
args: [
|
|
7613
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7614
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7615
|
-
],
|
|
7259
|
+
args: [string, string[]],
|
|
7616
7260
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7617
7261
|
const tx = new Transaction();
|
|
7618
7262
|
builder.updateImageUrl(tx, args);
|
|
@@ -7627,10 +7271,7 @@ export namespace validator {
|
|
|
7627
7271
|
}
|
|
7628
7272
|
export async function updateName(
|
|
7629
7273
|
client: SuiClient,
|
|
7630
|
-
args: [
|
|
7631
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7632
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7633
|
-
],
|
|
7274
|
+
args: [string, string[]],
|
|
7634
7275
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7635
7276
|
const tx = new Transaction();
|
|
7636
7277
|
builder.updateName(tx, args);
|
|
@@ -7645,10 +7286,7 @@ export namespace validator {
|
|
|
7645
7286
|
}
|
|
7646
7287
|
export async function updateNextEpochNetworkAddress(
|
|
7647
7288
|
client: SuiClient,
|
|
7648
|
-
args: [
|
|
7649
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7650
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7651
|
-
],
|
|
7289
|
+
args: [string, string[]],
|
|
7652
7290
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7653
7291
|
const tx = new Transaction();
|
|
7654
7292
|
builder.updateNextEpochNetworkAddress(tx, args);
|
|
@@ -7663,10 +7301,7 @@ export namespace validator {
|
|
|
7663
7301
|
}
|
|
7664
7302
|
export async function updateNextEpochNetworkPubkey(
|
|
7665
7303
|
client: SuiClient,
|
|
7666
|
-
args: [
|
|
7667
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7668
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7669
|
-
],
|
|
7304
|
+
args: [string, string[]],
|
|
7670
7305
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7671
7306
|
const tx = new Transaction();
|
|
7672
7307
|
builder.updateNextEpochNetworkPubkey(tx, args);
|
|
@@ -7681,10 +7316,7 @@ export namespace validator {
|
|
|
7681
7316
|
}
|
|
7682
7317
|
export async function updateNextEpochP2pAddress(
|
|
7683
7318
|
client: SuiClient,
|
|
7684
|
-
args: [
|
|
7685
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7686
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7687
|
-
],
|
|
7319
|
+
args: [string, string[]],
|
|
7688
7320
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7689
7321
|
const tx = new Transaction();
|
|
7690
7322
|
builder.updateNextEpochP2pAddress(tx, args);
|
|
@@ -7699,10 +7331,7 @@ export namespace validator {
|
|
|
7699
7331
|
}
|
|
7700
7332
|
export async function updateNextEpochPrimaryAddress(
|
|
7701
7333
|
client: SuiClient,
|
|
7702
|
-
args: [
|
|
7703
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7704
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7705
|
-
],
|
|
7334
|
+
args: [string, string[]],
|
|
7706
7335
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7707
7336
|
const tx = new Transaction();
|
|
7708
7337
|
builder.updateNextEpochPrimaryAddress(tx, args);
|
|
@@ -7717,11 +7346,7 @@ export namespace validator {
|
|
|
7717
7346
|
}
|
|
7718
7347
|
export async function updateNextEpochProtocolPubkey(
|
|
7719
7348
|
client: SuiClient,
|
|
7720
|
-
args: [
|
|
7721
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7722
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7723
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7724
|
-
],
|
|
7349
|
+
args: [string, string[], string[]],
|
|
7725
7350
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7726
7351
|
const tx = new Transaction();
|
|
7727
7352
|
builder.updateNextEpochProtocolPubkey(tx, args);
|
|
@@ -7736,10 +7361,7 @@ export namespace validator {
|
|
|
7736
7361
|
}
|
|
7737
7362
|
export async function updateNextEpochWorkerAddress(
|
|
7738
7363
|
client: SuiClient,
|
|
7739
|
-
args: [
|
|
7740
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7741
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7742
|
-
],
|
|
7364
|
+
args: [string, string[]],
|
|
7743
7365
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7744
7366
|
const tx = new Transaction();
|
|
7745
7367
|
builder.updateNextEpochWorkerAddress(tx, args);
|
|
@@ -7754,10 +7376,7 @@ export namespace validator {
|
|
|
7754
7376
|
}
|
|
7755
7377
|
export async function updateNextEpochWorkerPubkey(
|
|
7756
7378
|
client: SuiClient,
|
|
7757
|
-
args: [
|
|
7758
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7759
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7760
|
-
],
|
|
7379
|
+
args: [string, string[]],
|
|
7761
7380
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7762
7381
|
const tx = new Transaction();
|
|
7763
7382
|
builder.updateNextEpochWorkerPubkey(tx, args);
|
|
@@ -7772,10 +7391,7 @@ export namespace validator {
|
|
|
7772
7391
|
}
|
|
7773
7392
|
export async function updateProjectUrl(
|
|
7774
7393
|
client: SuiClient,
|
|
7775
|
-
args: [
|
|
7776
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
7777
|
-
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
7778
|
-
],
|
|
7394
|
+
args: [string, string[]],
|
|
7779
7395
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7780
7396
|
const tx = new Transaction();
|
|
7781
7397
|
builder.updateProjectUrl(tx, args);
|
|
@@ -7790,7 +7406,7 @@ export namespace validator {
|
|
|
7790
7406
|
}
|
|
7791
7407
|
export async function validateMetadata(
|
|
7792
7408
|
client: SuiClient,
|
|
7793
|
-
args: [string
|
|
7409
|
+
args: [string],
|
|
7794
7410
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7795
7411
|
const tx = new Transaction();
|
|
7796
7412
|
builder.validateMetadata(tx, args);
|
|
@@ -7805,7 +7421,7 @@ export namespace validator {
|
|
|
7805
7421
|
}
|
|
7806
7422
|
export async function validateMetadataBcs(
|
|
7807
7423
|
client: SuiClient,
|
|
7808
|
-
args: [
|
|
7424
|
+
args: [string[]],
|
|
7809
7425
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7810
7426
|
const tx = new Transaction();
|
|
7811
7427
|
builder.validateMetadataBcs(tx, args);
|
|
@@ -7820,7 +7436,7 @@ export namespace validator {
|
|
|
7820
7436
|
}
|
|
7821
7437
|
export async function votingPower(
|
|
7822
7438
|
client: SuiClient,
|
|
7823
|
-
args: [string
|
|
7439
|
+
args: [string],
|
|
7824
7440
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7825
7441
|
const tx = new Transaction();
|
|
7826
7442
|
builder.votingPower(tx, args);
|
|
@@ -7835,7 +7451,7 @@ export namespace validator {
|
|
|
7835
7451
|
}
|
|
7836
7452
|
export async function workerAddress(
|
|
7837
7453
|
client: SuiClient,
|
|
7838
|
-
args: [string
|
|
7454
|
+
args: [string],
|
|
7839
7455
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7840
7456
|
const tx = new Transaction();
|
|
7841
7457
|
builder.workerAddress(tx, args);
|
|
@@ -7850,7 +7466,7 @@ export namespace validator {
|
|
|
7850
7466
|
}
|
|
7851
7467
|
export async function workerPubkeyBytes(
|
|
7852
7468
|
client: SuiClient,
|
|
7853
|
-
args: [string
|
|
7469
|
+
args: [string],
|
|
7854
7470
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7855
7471
|
const tx = new Transaction();
|
|
7856
7472
|
builder.workerPubkeyBytes(tx, args);
|
|
@@ -7959,7 +7575,7 @@ export namespace validator_cap {
|
|
|
7959
7575
|
export namespace view {
|
|
7960
7576
|
export async function newFromUnverified(
|
|
7961
7577
|
client: SuiClient,
|
|
7962
|
-
args: [string
|
|
7578
|
+
args: [string],
|
|
7963
7579
|
): Promise<TypedDevInspectResults<[validator_cap.ValidatorOperationCap]>> {
|
|
7964
7580
|
const tx = new Transaction();
|
|
7965
7581
|
builder.newFromUnverified(tx, args);
|
|
@@ -7974,7 +7590,7 @@ export namespace validator_cap {
|
|
|
7974
7590
|
}
|
|
7975
7591
|
export async function newUnverifiedValidatorOperationCapAndTransfer(
|
|
7976
7592
|
client: SuiClient,
|
|
7977
|
-
args: [string
|
|
7593
|
+
args: [string],
|
|
7978
7594
|
): Promise<TypedDevInspectResults<[_0x2.object_.ID]>> {
|
|
7979
7595
|
const tx = new Transaction();
|
|
7980
7596
|
builder.newUnverifiedValidatorOperationCapAndTransfer(tx, args);
|
|
@@ -7989,7 +7605,7 @@ export namespace validator_cap {
|
|
|
7989
7605
|
}
|
|
7990
7606
|
export async function unverifiedOperationCapAddress(
|
|
7991
7607
|
client: SuiClient,
|
|
7992
|
-
args: [string
|
|
7608
|
+
args: [string],
|
|
7993
7609
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7994
7610
|
const tx = new Transaction();
|
|
7995
7611
|
builder.unverifiedOperationCapAddress(tx, args);
|
|
@@ -8004,7 +7620,7 @@ export namespace validator_cap {
|
|
|
8004
7620
|
}
|
|
8005
7621
|
export async function verifiedOperationCapAddress(
|
|
8006
7622
|
client: SuiClient,
|
|
8007
|
-
args: [string
|
|
7623
|
+
args: [string],
|
|
8008
7624
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8009
7625
|
const tx = new Transaction();
|
|
8010
7626
|
builder.verifiedOperationCapAddress(tx, args);
|
|
@@ -8787,7 +8403,7 @@ export namespace validator_set {
|
|
|
8787
8403
|
export namespace view {
|
|
8788
8404
|
export async function activeValidatorAddresses(
|
|
8789
8405
|
client: SuiClient,
|
|
8790
|
-
args: [string
|
|
8406
|
+
args: [string],
|
|
8791
8407
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
8792
8408
|
const tx = new Transaction();
|
|
8793
8409
|
builder.activeValidatorAddresses(tx, args);
|
|
@@ -8802,7 +8418,7 @@ export namespace validator_set {
|
|
|
8802
8418
|
}
|
|
8803
8419
|
export async function activeValidators(
|
|
8804
8420
|
client: SuiClient,
|
|
8805
|
-
args: [string
|
|
8421
|
+
args: [string],
|
|
8806
8422
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8807
8423
|
const tx = new Transaction();
|
|
8808
8424
|
builder.activeValidators(tx, args);
|
|
@@ -8817,16 +8433,7 @@ export namespace validator_set {
|
|
|
8817
8433
|
}
|
|
8818
8434
|
export async function advanceEpoch(
|
|
8819
8435
|
client: SuiClient,
|
|
8820
|
-
args: [
|
|
8821
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
8822
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
8823
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
8824
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
8825
|
-
bigint | TransactionArgument,
|
|
8826
|
-
bigint | TransactionArgument,
|
|
8827
|
-
bigint | TransactionArgument,
|
|
8828
|
-
bigint | TransactionArgument,
|
|
8829
|
-
],
|
|
8436
|
+
args: [string, string, string, string, bigint, bigint, bigint, bigint],
|
|
8830
8437
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8831
8438
|
const tx = new Transaction();
|
|
8832
8439
|
builder.advanceEpoch(tx, args);
|
|
@@ -8841,10 +8448,7 @@ export namespace validator_set {
|
|
|
8841
8448
|
}
|
|
8842
8449
|
export async function assertNoPendingOrActiveDuplicates(
|
|
8843
8450
|
client: SuiClient,
|
|
8844
|
-
args: [
|
|
8845
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
8846
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
8847
|
-
],
|
|
8451
|
+
args: [string, string],
|
|
8848
8452
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8849
8453
|
const tx = new Transaction();
|
|
8850
8454
|
builder.assertNoPendingOrActiveDuplicates(tx, args);
|
|
@@ -8859,10 +8463,7 @@ export namespace validator_set {
|
|
|
8859
8463
|
}
|
|
8860
8464
|
export async function convertToFungibleStakedSui(
|
|
8861
8465
|
client: SuiClient,
|
|
8862
|
-
args: [
|
|
8863
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
8864
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
8865
|
-
],
|
|
8466
|
+
args: [string, staking_pool.StakedSui],
|
|
8866
8467
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
8867
8468
|
const tx = new Transaction();
|
|
8868
8469
|
builder.convertToFungibleStakedSui(tx, args);
|
|
@@ -8877,7 +8478,7 @@ export namespace validator_set {
|
|
|
8877
8478
|
}
|
|
8878
8479
|
export async function deriveReferenceGasPrice(
|
|
8879
8480
|
client: SuiClient,
|
|
8880
|
-
args: [string
|
|
8481
|
+
args: [string],
|
|
8881
8482
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
8882
8483
|
const tx = new Transaction();
|
|
8883
8484
|
builder.deriveReferenceGasPrice(tx, args);
|
|
@@ -8892,11 +8493,7 @@ export namespace validator_set {
|
|
|
8892
8493
|
}
|
|
8893
8494
|
export async function getActiveOrPendingOrCandidateValidatorRef(
|
|
8894
8495
|
client: SuiClient,
|
|
8895
|
-
args: [
|
|
8896
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
8897
|
-
string | TransactionArgument,
|
|
8898
|
-
number | TransactionArgument,
|
|
8899
|
-
],
|
|
8496
|
+
args: [string, string, number],
|
|
8900
8497
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8901
8498
|
const tx = new Transaction();
|
|
8902
8499
|
builder.getActiveOrPendingOrCandidateValidatorRef(tx, args);
|
|
@@ -8911,10 +8508,7 @@ export namespace validator_set {
|
|
|
8911
8508
|
}
|
|
8912
8509
|
export async function getActiveValidatorRef(
|
|
8913
8510
|
client: SuiClient,
|
|
8914
|
-
args: [
|
|
8915
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
8916
|
-
string | TransactionArgument,
|
|
8917
|
-
],
|
|
8511
|
+
args: [string, string],
|
|
8918
8512
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8919
8513
|
const tx = new Transaction();
|
|
8920
8514
|
builder.getActiveValidatorRef(tx, args);
|
|
@@ -8929,10 +8523,7 @@ export namespace validator_set {
|
|
|
8929
8523
|
}
|
|
8930
8524
|
export async function getPendingValidatorRef(
|
|
8931
8525
|
client: SuiClient,
|
|
8932
|
-
args: [
|
|
8933
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
8934
|
-
string | TransactionArgument,
|
|
8935
|
-
],
|
|
8526
|
+
args: [string, string],
|
|
8936
8527
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8937
8528
|
const tx = new Transaction();
|
|
8938
8529
|
builder.getPendingValidatorRef(tx, args);
|
|
@@ -8947,10 +8538,7 @@ export namespace validator_set {
|
|
|
8947
8538
|
}
|
|
8948
8539
|
export async function getValidatorMut(
|
|
8949
8540
|
client: SuiClient,
|
|
8950
|
-
args: [
|
|
8951
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
8952
|
-
string | TransactionArgument,
|
|
8953
|
-
],
|
|
8541
|
+
args: [string, string],
|
|
8954
8542
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8955
8543
|
const tx = new Transaction();
|
|
8956
8544
|
builder.getValidatorMut(tx, args);
|
|
@@ -8965,7 +8553,7 @@ export namespace validator_set {
|
|
|
8965
8553
|
}
|
|
8966
8554
|
export async function getValidatorMutWithCtx(
|
|
8967
8555
|
client: SuiClient,
|
|
8968
|
-
args: [string
|
|
8556
|
+
args: [string],
|
|
8969
8557
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8970
8558
|
const tx = new Transaction();
|
|
8971
8559
|
builder.getValidatorMutWithCtx(tx, args);
|
|
@@ -8980,7 +8568,7 @@ export namespace validator_set {
|
|
|
8980
8568
|
}
|
|
8981
8569
|
export async function getValidatorMutWithCtxIncludingCandidates(
|
|
8982
8570
|
client: SuiClient,
|
|
8983
|
-
args: [string
|
|
8571
|
+
args: [string],
|
|
8984
8572
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8985
8573
|
const tx = new Transaction();
|
|
8986
8574
|
builder.getValidatorMutWithCtxIncludingCandidates(tx, args);
|
|
@@ -8995,11 +8583,7 @@ export namespace validator_set {
|
|
|
8995
8583
|
}
|
|
8996
8584
|
export async function getValidatorMutWithVerifiedCap(
|
|
8997
8585
|
client: SuiClient,
|
|
8998
|
-
args: [
|
|
8999
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9000
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9001
|
-
boolean | TransactionArgument,
|
|
9002
|
-
],
|
|
8586
|
+
args: [string, string, boolean],
|
|
9003
8587
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9004
8588
|
const tx = new Transaction();
|
|
9005
8589
|
builder.getValidatorMutWithVerifiedCap(tx, args);
|
|
@@ -9014,10 +8598,7 @@ export namespace validator_set {
|
|
|
9014
8598
|
}
|
|
9015
8599
|
export async function isActiveValidatorBySuiAddress(
|
|
9016
8600
|
client: SuiClient,
|
|
9017
|
-
args: [
|
|
9018
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9019
|
-
string | TransactionArgument,
|
|
9020
|
-
],
|
|
8601
|
+
args: [string, string],
|
|
9021
8602
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
9022
8603
|
const tx = new Transaction();
|
|
9023
8604
|
builder.isActiveValidatorBySuiAddress(tx, args);
|
|
@@ -9032,10 +8613,7 @@ export namespace validator_set {
|
|
|
9032
8613
|
}
|
|
9033
8614
|
export async function isDuplicateValidator(
|
|
9034
8615
|
client: SuiClient,
|
|
9035
|
-
args: [
|
|
9036
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9037
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9038
|
-
],
|
|
8616
|
+
args: [string, string],
|
|
9039
8617
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
9040
8618
|
const tx = new Transaction();
|
|
9041
8619
|
builder.isDuplicateValidator(tx, args);
|
|
@@ -9050,10 +8628,7 @@ export namespace validator_set {
|
|
|
9050
8628
|
}
|
|
9051
8629
|
export async function isInactiveValidator(
|
|
9052
8630
|
client: SuiClient,
|
|
9053
|
-
args: [
|
|
9054
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9055
|
-
_0x2.object_.ID | TransactionArgument,
|
|
9056
|
-
],
|
|
8631
|
+
args: [string, _0x2.object_.ID],
|
|
9057
8632
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
9058
8633
|
const tx = new Transaction();
|
|
9059
8634
|
builder.isInactiveValidator(tx, args);
|
|
@@ -9068,10 +8643,7 @@ export namespace validator_set {
|
|
|
9068
8643
|
}
|
|
9069
8644
|
export async function isValidatorCandidate(
|
|
9070
8645
|
client: SuiClient,
|
|
9071
|
-
args: [
|
|
9072
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9073
|
-
string | TransactionArgument,
|
|
9074
|
-
],
|
|
8646
|
+
args: [string, string],
|
|
9075
8647
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
9076
8648
|
const tx = new Transaction();
|
|
9077
8649
|
builder.isValidatorCandidate(tx, args);
|
|
@@ -9086,7 +8658,7 @@ export namespace validator_set {
|
|
|
9086
8658
|
}
|
|
9087
8659
|
export async function new_(
|
|
9088
8660
|
client: SuiClient,
|
|
9089
|
-
args: [
|
|
8661
|
+
args: [string[]],
|
|
9090
8662
|
): Promise<TypedDevInspectResults<[validator_set.ValidatorSet]>> {
|
|
9091
8663
|
const tx = new Transaction();
|
|
9092
8664
|
builder.new_(tx, args);
|
|
@@ -9101,7 +8673,7 @@ export namespace validator_set {
|
|
|
9101
8673
|
}
|
|
9102
8674
|
export async function nextEpochValidatorCount(
|
|
9103
8675
|
client: SuiClient,
|
|
9104
|
-
args: [string
|
|
8676
|
+
args: [string],
|
|
9105
8677
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9106
8678
|
const tx = new Transaction();
|
|
9107
8679
|
builder.nextEpochValidatorCount(tx, args);
|
|
@@ -9116,10 +8688,7 @@ export namespace validator_set {
|
|
|
9116
8688
|
}
|
|
9117
8689
|
export async function poolExchangeRates(
|
|
9118
8690
|
client: SuiClient,
|
|
9119
|
-
args: [
|
|
9120
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9121
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9122
|
-
],
|
|
8691
|
+
args: [string, string],
|
|
9123
8692
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9124
8693
|
const tx = new Transaction();
|
|
9125
8694
|
builder.poolExchangeRates(tx, args);
|
|
@@ -9134,10 +8703,7 @@ export namespace validator_set {
|
|
|
9134
8703
|
}
|
|
9135
8704
|
export async function redeemFungibleStakedSui(
|
|
9136
8705
|
client: SuiClient,
|
|
9137
|
-
args: [
|
|
9138
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9139
|
-
staking_pool.FungibleStakedSui | TransactionArgument,
|
|
9140
|
-
],
|
|
8706
|
+
args: [string, staking_pool.FungibleStakedSui],
|
|
9141
8707
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
9142
8708
|
const tx = new Transaction();
|
|
9143
8709
|
builder.redeemFungibleStakedSui(tx, args);
|
|
@@ -9152,11 +8718,7 @@ export namespace validator_set {
|
|
|
9152
8718
|
}
|
|
9153
8719
|
export async function requestAddStake(
|
|
9154
8720
|
client: SuiClient,
|
|
9155
|
-
args: [
|
|
9156
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9157
|
-
string | TransactionArgument,
|
|
9158
|
-
_0x2.balance.Balance<_0x2.sui.SUI> | TransactionArgument,
|
|
9159
|
-
],
|
|
8721
|
+
args: [string, string, _0x2.balance.Balance<_0x2.sui.SUI>],
|
|
9160
8722
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
9161
8723
|
const tx = new Transaction();
|
|
9162
8724
|
builder.requestAddStake(tx, args);
|
|
@@ -9171,10 +8733,7 @@ export namespace validator_set {
|
|
|
9171
8733
|
}
|
|
9172
8734
|
export async function requestAddValidator(
|
|
9173
8735
|
client: SuiClient,
|
|
9174
|
-
args: [
|
|
9175
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9176
|
-
bigint | TransactionArgument,
|
|
9177
|
-
],
|
|
8736
|
+
args: [string, bigint],
|
|
9178
8737
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9179
8738
|
const tx = new Transaction();
|
|
9180
8739
|
builder.requestAddValidator(tx, args);
|
|
@@ -9189,10 +8748,7 @@ export namespace validator_set {
|
|
|
9189
8748
|
}
|
|
9190
8749
|
export async function requestAddValidatorCandidate(
|
|
9191
8750
|
client: SuiClient,
|
|
9192
|
-
args: [
|
|
9193
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9194
|
-
validator.Validator | TransactionArgument,
|
|
9195
|
-
],
|
|
8751
|
+
args: [string, validator.Validator],
|
|
9196
8752
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9197
8753
|
const tx = new Transaction();
|
|
9198
8754
|
builder.requestAddValidatorCandidate(tx, args);
|
|
@@ -9207,7 +8763,7 @@ export namespace validator_set {
|
|
|
9207
8763
|
}
|
|
9208
8764
|
export async function requestRemoveValidator(
|
|
9209
8765
|
client: SuiClient,
|
|
9210
|
-
args: [string
|
|
8766
|
+
args: [string],
|
|
9211
8767
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9212
8768
|
const tx = new Transaction();
|
|
9213
8769
|
builder.requestRemoveValidator(tx, args);
|
|
@@ -9222,7 +8778,7 @@ export namespace validator_set {
|
|
|
9222
8778
|
}
|
|
9223
8779
|
export async function requestRemoveValidatorCandidate(
|
|
9224
8780
|
client: SuiClient,
|
|
9225
|
-
args: [string
|
|
8781
|
+
args: [string],
|
|
9226
8782
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9227
8783
|
const tx = new Transaction();
|
|
9228
8784
|
builder.requestRemoveValidatorCandidate(tx, args);
|
|
@@ -9237,10 +8793,7 @@ export namespace validator_set {
|
|
|
9237
8793
|
}
|
|
9238
8794
|
export async function requestSetCommissionRate(
|
|
9239
8795
|
client: SuiClient,
|
|
9240
|
-
args: [
|
|
9241
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9242
|
-
bigint | TransactionArgument,
|
|
9243
|
-
],
|
|
8796
|
+
args: [string, bigint],
|
|
9244
8797
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9245
8798
|
const tx = new Transaction();
|
|
9246
8799
|
builder.requestSetCommissionRate(tx, args);
|
|
@@ -9255,10 +8808,7 @@ export namespace validator_set {
|
|
|
9255
8808
|
}
|
|
9256
8809
|
export async function requestWithdrawStake(
|
|
9257
8810
|
client: SuiClient,
|
|
9258
|
-
args: [
|
|
9259
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9260
|
-
staking_pool.StakedSui | TransactionArgument,
|
|
9261
|
-
],
|
|
8811
|
+
args: [string, staking_pool.StakedSui],
|
|
9262
8812
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
9263
8813
|
const tx = new Transaction();
|
|
9264
8814
|
builder.requestWithdrawStake(tx, args);
|
|
@@ -9273,7 +8823,7 @@ export namespace validator_set {
|
|
|
9273
8823
|
}
|
|
9274
8824
|
export async function stakingPoolMappings(
|
|
9275
8825
|
client: SuiClient,
|
|
9276
|
-
args: [string
|
|
8826
|
+
args: [string],
|
|
9277
8827
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9278
8828
|
const tx = new Transaction();
|
|
9279
8829
|
builder.stakingPoolMappings(tx, args);
|
|
@@ -9288,10 +8838,7 @@ export namespace validator_set {
|
|
|
9288
8838
|
}
|
|
9289
8839
|
export async function sumVotingPowerByAddresses(
|
|
9290
8840
|
client: SuiClient,
|
|
9291
|
-
args: [
|
|
9292
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9293
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9294
|
-
],
|
|
8841
|
+
args: [string, string],
|
|
9295
8842
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9296
8843
|
const tx = new Transaction();
|
|
9297
8844
|
builder.sumVotingPowerByAddresses(tx, args);
|
|
@@ -9306,7 +8853,7 @@ export namespace validator_set {
|
|
|
9306
8853
|
}
|
|
9307
8854
|
export async function totalStake(
|
|
9308
8855
|
client: SuiClient,
|
|
9309
|
-
args: [string
|
|
8856
|
+
args: [string],
|
|
9310
8857
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9311
8858
|
const tx = new Transaction();
|
|
9312
8859
|
builder.totalStake(tx, args);
|
|
@@ -9321,10 +8868,7 @@ export namespace validator_set {
|
|
|
9321
8868
|
}
|
|
9322
8869
|
export async function validatorAddressByPoolId(
|
|
9323
8870
|
client: SuiClient,
|
|
9324
|
-
args: [
|
|
9325
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9326
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9327
|
-
],
|
|
8871
|
+
args: [string, string],
|
|
9328
8872
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9329
8873
|
const tx = new Transaction();
|
|
9330
8874
|
builder.validatorAddressByPoolId(tx, args);
|
|
@@ -9339,10 +8883,7 @@ export namespace validator_set {
|
|
|
9339
8883
|
}
|
|
9340
8884
|
export async function validatorStakeAmount(
|
|
9341
8885
|
client: SuiClient,
|
|
9342
|
-
args: [
|
|
9343
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9344
|
-
string | TransactionArgument,
|
|
9345
|
-
],
|
|
8886
|
+
args: [string, string],
|
|
9346
8887
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9347
8888
|
const tx = new Transaction();
|
|
9348
8889
|
builder.validatorStakeAmount(tx, args);
|
|
@@ -9357,10 +8898,7 @@ export namespace validator_set {
|
|
|
9357
8898
|
}
|
|
9358
8899
|
export async function validatorStakingPoolId(
|
|
9359
8900
|
client: SuiClient,
|
|
9360
|
-
args: [
|
|
9361
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9362
|
-
string | TransactionArgument,
|
|
9363
|
-
],
|
|
8901
|
+
args: [string, string],
|
|
9364
8902
|
): Promise<TypedDevInspectResults<[_0x2.object_.ID]>> {
|
|
9365
8903
|
const tx = new Transaction();
|
|
9366
8904
|
builder.validatorStakingPoolId(tx, args);
|
|
@@ -9375,10 +8913,7 @@ export namespace validator_set {
|
|
|
9375
8913
|
}
|
|
9376
8914
|
export async function validatorTotalStakeAmount(
|
|
9377
8915
|
client: SuiClient,
|
|
9378
|
-
args: [
|
|
9379
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9380
|
-
string | TransactionArgument,
|
|
9381
|
-
],
|
|
8916
|
+
args: [string, string],
|
|
9382
8917
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9383
8918
|
const tx = new Transaction();
|
|
9384
8919
|
builder.validatorTotalStakeAmount(tx, args);
|
|
@@ -9393,10 +8928,7 @@ export namespace validator_set {
|
|
|
9393
8928
|
}
|
|
9394
8929
|
export async function validatorVotingPower(
|
|
9395
8930
|
client: SuiClient,
|
|
9396
|
-
args: [
|
|
9397
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9398
|
-
string | TransactionArgument,
|
|
9399
|
-
],
|
|
8931
|
+
args: [string, string],
|
|
9400
8932
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9401
8933
|
const tx = new Transaction();
|
|
9402
8934
|
builder.validatorVotingPower(tx, args);
|
|
@@ -9411,11 +8943,7 @@ export namespace validator_set {
|
|
|
9411
8943
|
}
|
|
9412
8944
|
export async function verifyCap(
|
|
9413
8945
|
client: SuiClient,
|
|
9414
|
-
args: [
|
|
9415
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9416
|
-
string | TransactionObjectArgument | TransactionArgument,
|
|
9417
|
-
number | TransactionArgument,
|
|
9418
|
-
],
|
|
8946
|
+
args: [string, string, number],
|
|
9419
8947
|
): Promise<TypedDevInspectResults<[validator_cap.ValidatorOperationCap]>> {
|
|
9420
8948
|
const tx = new Transaction();
|
|
9421
8949
|
builder.verifyCap(tx, args);
|
|
@@ -9492,7 +9020,7 @@ export namespace validator_wrapper {
|
|
|
9492
9020
|
export namespace view {
|
|
9493
9021
|
export async function createV1(
|
|
9494
9022
|
client: SuiClient,
|
|
9495
|
-
args: [validator.Validator
|
|
9023
|
+
args: [validator.Validator],
|
|
9496
9024
|
): Promise<TypedDevInspectResults<[validator_wrapper.ValidatorWrapper]>> {
|
|
9497
9025
|
const tx = new Transaction();
|
|
9498
9026
|
builder.createV1(tx, args);
|
|
@@ -9507,7 +9035,7 @@ export namespace validator_wrapper {
|
|
|
9507
9035
|
}
|
|
9508
9036
|
export async function destroy(
|
|
9509
9037
|
client: SuiClient,
|
|
9510
|
-
args: [validator_wrapper.ValidatorWrapper
|
|
9038
|
+
args: [validator_wrapper.ValidatorWrapper],
|
|
9511
9039
|
): Promise<TypedDevInspectResults<[validator.Validator]>> {
|
|
9512
9040
|
const tx = new Transaction();
|
|
9513
9041
|
builder.destroy(tx, args);
|
|
@@ -9522,7 +9050,7 @@ export namespace validator_wrapper {
|
|
|
9522
9050
|
}
|
|
9523
9051
|
export async function loadValidatorMaybeUpgrade(
|
|
9524
9052
|
client: SuiClient,
|
|
9525
|
-
args: [string
|
|
9053
|
+
args: [string],
|
|
9526
9054
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9527
9055
|
const tx = new Transaction();
|
|
9528
9056
|
builder.loadValidatorMaybeUpgrade(tx, args);
|
|
@@ -9631,7 +9159,7 @@ export namespace voting_power {
|
|
|
9631
9159
|
}
|
|
9632
9160
|
export async function setVotingPower(
|
|
9633
9161
|
client: SuiClient,
|
|
9634
|
-
args: [string
|
|
9162
|
+
args: [string],
|
|
9635
9163
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9636
9164
|
const tx = new Transaction();
|
|
9637
9165
|
builder.setVotingPower(tx, args);
|