@typemove/sui 1.13.4-rc.2 → 1.13.4
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/esm/builtin/0x1.d.ts +269 -269
- 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 +684 -684
- 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 +272 -272
- 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 +1 -1
- package/dist/esm/codegen/codegen.d.ts.map +1 -1
- package/dist/esm/codegen/codegen.js +5 -5
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/dist/esm/codegen/run.js +3 -2
- package/dist/esm/codegen/run.js.map +1 -1
- package/dist/esm/models.d.ts +1 -1
- package/dist/esm/models.d.ts.map +1 -1
- package/dist/esm/move-coder.d.ts +3 -3
- package/dist/esm/move-coder.d.ts.map +1 -1
- package/dist/esm/move-coder.js +3 -3
- package/dist/esm/move-coder.js.map +1 -1
- package/dist/esm/sui-chain-adapter.d.ts +4 -3
- package/dist/esm/sui-chain-adapter.d.ts.map +1 -1
- package/dist/esm/sui-chain-adapter.js +13 -2
- package/dist/esm/sui-chain-adapter.js.map +1 -1
- package/dist/esm/to-internal.d.ts +1 -1
- package/dist/esm/to-internal.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/builtin/0x1.ts +269 -269
- package/src/builtin/0x2.ts +684 -684
- package/src/builtin/0x3.ts +272 -272
- package/src/codegen/codegen.ts +5 -5
- package/src/codegen/run.ts +3 -2
- package/src/models.ts +1 -1
- package/src/move-coder.ts +7 -7
- package/src/sui-chain-adapter.ts +13 -5
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +5 -5
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +49 -49
- package/src/tests/types/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.ts +32 -32
- package/src/tests/types/testnet/0xdee9.ts +91 -91
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +156 -156
- package/src/tests/types/testnet/enum.ts +119 -119
- package/src/to-internal.ts +1 -1
package/src/builtin/0x3.ts
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
TransactionArgument,
|
|
20
20
|
TransactionObjectArgument,
|
|
21
21
|
} from "@mysten/sui/transactions";
|
|
22
|
-
import {
|
|
22
|
+
import { SuiJsonRpcClient } from "@mysten/sui/jsonRpc";
|
|
23
23
|
import {
|
|
24
24
|
transactionArgumentOrObject,
|
|
25
25
|
transactionArgumentOrVec,
|
|
@@ -237,7 +237,7 @@ export namespace stake_subsidy {
|
|
|
237
237
|
}
|
|
238
238
|
export namespace view {
|
|
239
239
|
export async function advanceEpoch(
|
|
240
|
-
client:
|
|
240
|
+
client: SuiJsonRpcClient,
|
|
241
241
|
args: [string],
|
|
242
242
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
243
243
|
const tx = new Transaction();
|
|
@@ -252,7 +252,7 @@ export namespace stake_subsidy {
|
|
|
252
252
|
>(inspectRes);
|
|
253
253
|
}
|
|
254
254
|
export async function create(
|
|
255
|
-
client:
|
|
255
|
+
client: SuiJsonRpcClient,
|
|
256
256
|
args: [_0x2.balance.Balance<_0x2.sui.SUI>, bigint, bigint, number],
|
|
257
257
|
): Promise<TypedDevInspectResults<[stake_subsidy.StakeSubsidy]>> {
|
|
258
258
|
const tx = new Transaction();
|
|
@@ -267,7 +267,7 @@ export namespace stake_subsidy {
|
|
|
267
267
|
>(inspectRes);
|
|
268
268
|
}
|
|
269
269
|
export async function currentEpochSubsidyAmount(
|
|
270
|
-
client:
|
|
270
|
+
client: SuiJsonRpcClient,
|
|
271
271
|
args: [string],
|
|
272
272
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
273
273
|
const tx = new Transaction();
|
|
@@ -282,7 +282,7 @@ export namespace stake_subsidy {
|
|
|
282
282
|
);
|
|
283
283
|
}
|
|
284
284
|
export async function getDistributionCounter(
|
|
285
|
-
client:
|
|
285
|
+
client: SuiJsonRpcClient,
|
|
286
286
|
args: [string],
|
|
287
287
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
288
288
|
const tx = new Transaction();
|
|
@@ -928,7 +928,7 @@ export namespace staking_pool {
|
|
|
928
928
|
}
|
|
929
929
|
export namespace view {
|
|
930
930
|
export async function activateStakingPool(
|
|
931
|
-
client:
|
|
931
|
+
client: SuiJsonRpcClient,
|
|
932
932
|
args: [string, bigint],
|
|
933
933
|
): Promise<TypedDevInspectResults<[]>> {
|
|
934
934
|
const tx = new Transaction();
|
|
@@ -943,7 +943,7 @@ export namespace staking_pool {
|
|
|
943
943
|
);
|
|
944
944
|
}
|
|
945
945
|
export async function activationEpoch(
|
|
946
|
-
client:
|
|
946
|
+
client: SuiJsonRpcClient,
|
|
947
947
|
args: [string],
|
|
948
948
|
): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>> {
|
|
949
949
|
const tx = new Transaction();
|
|
@@ -958,7 +958,7 @@ export namespace staking_pool {
|
|
|
958
958
|
>(inspectRes);
|
|
959
959
|
}
|
|
960
960
|
export async function calculateRewards(
|
|
961
|
-
client:
|
|
961
|
+
client: SuiJsonRpcClient,
|
|
962
962
|
args: [string, string, bigint],
|
|
963
963
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
964
964
|
const tx = new Transaction();
|
|
@@ -973,7 +973,7 @@ export namespace staking_pool {
|
|
|
973
973
|
);
|
|
974
974
|
}
|
|
975
975
|
export async function convertToFungibleStakedSui(
|
|
976
|
-
client:
|
|
976
|
+
client: SuiJsonRpcClient,
|
|
977
977
|
args: [string, staking_pool.StakedSui],
|
|
978
978
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
979
979
|
const tx = new Transaction();
|
|
@@ -988,7 +988,7 @@ export namespace staking_pool {
|
|
|
988
988
|
>(inspectRes);
|
|
989
989
|
}
|
|
990
990
|
export async function deactivateStakingPool(
|
|
991
|
-
client:
|
|
991
|
+
client: SuiJsonRpcClient,
|
|
992
992
|
args: [string, bigint],
|
|
993
993
|
): Promise<TypedDevInspectResults<[]>> {
|
|
994
994
|
const tx = new Transaction();
|
|
@@ -1003,7 +1003,7 @@ export namespace staking_pool {
|
|
|
1003
1003
|
);
|
|
1004
1004
|
}
|
|
1005
1005
|
export async function depositRewards(
|
|
1006
|
-
client:
|
|
1006
|
+
client: SuiJsonRpcClient,
|
|
1007
1007
|
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>],
|
|
1008
1008
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1009
1009
|
const tx = new Transaction();
|
|
@@ -1018,7 +1018,7 @@ export namespace staking_pool {
|
|
|
1018
1018
|
);
|
|
1019
1019
|
}
|
|
1020
1020
|
export async function exchangeRates(
|
|
1021
|
-
client:
|
|
1021
|
+
client: SuiJsonRpcClient,
|
|
1022
1022
|
args: [string],
|
|
1023
1023
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1024
1024
|
const tx = new Transaction();
|
|
@@ -1033,7 +1033,7 @@ export namespace staking_pool {
|
|
|
1033
1033
|
);
|
|
1034
1034
|
}
|
|
1035
1035
|
export async function fungibleStakedSuiPoolId(
|
|
1036
|
-
client:
|
|
1036
|
+
client: SuiJsonRpcClient,
|
|
1037
1037
|
args: [string],
|
|
1038
1038
|
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
|
1039
1039
|
const tx = new Transaction();
|
|
@@ -1048,7 +1048,7 @@ export namespace staking_pool {
|
|
|
1048
1048
|
>(inspectRes);
|
|
1049
1049
|
}
|
|
1050
1050
|
export async function fungibleStakedSuiValue(
|
|
1051
|
-
client:
|
|
1051
|
+
client: SuiJsonRpcClient,
|
|
1052
1052
|
args: [string],
|
|
1053
1053
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1054
1054
|
const tx = new Transaction();
|
|
@@ -1063,7 +1063,7 @@ export namespace staking_pool {
|
|
|
1063
1063
|
);
|
|
1064
1064
|
}
|
|
1065
1065
|
export async function isEqualStakingMetadata(
|
|
1066
|
-
client:
|
|
1066
|
+
client: SuiJsonRpcClient,
|
|
1067
1067
|
args: [string, string],
|
|
1068
1068
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1069
1069
|
const tx = new Transaction();
|
|
@@ -1078,7 +1078,7 @@ export namespace staking_pool {
|
|
|
1078
1078
|
);
|
|
1079
1079
|
}
|
|
1080
1080
|
export async function isInactive(
|
|
1081
|
-
client:
|
|
1081
|
+
client: SuiJsonRpcClient,
|
|
1082
1082
|
args: [string],
|
|
1083
1083
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1084
1084
|
const tx = new Transaction();
|
|
@@ -1093,7 +1093,7 @@ export namespace staking_pool {
|
|
|
1093
1093
|
);
|
|
1094
1094
|
}
|
|
1095
1095
|
export async function isPreactive(
|
|
1096
|
-
client:
|
|
1096
|
+
client: SuiJsonRpcClient,
|
|
1097
1097
|
args: [string],
|
|
1098
1098
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1099
1099
|
const tx = new Transaction();
|
|
@@ -1108,7 +1108,7 @@ export namespace staking_pool {
|
|
|
1108
1108
|
);
|
|
1109
1109
|
}
|
|
1110
1110
|
export async function joinFungibleStakedSui(
|
|
1111
|
-
client:
|
|
1111
|
+
client: SuiJsonRpcClient,
|
|
1112
1112
|
args: [string, staking_pool.FungibleStakedSui],
|
|
1113
1113
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1114
1114
|
const tx = new Transaction();
|
|
@@ -1123,7 +1123,7 @@ export namespace staking_pool {
|
|
|
1123
1123
|
);
|
|
1124
1124
|
}
|
|
1125
1125
|
export async function joinStakedSui(
|
|
1126
|
-
client:
|
|
1126
|
+
client: SuiJsonRpcClient,
|
|
1127
1127
|
args: [string, staking_pool.StakedSui],
|
|
1128
1128
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1129
1129
|
const tx = new Transaction();
|
|
@@ -1138,7 +1138,7 @@ export namespace staking_pool {
|
|
|
1138
1138
|
);
|
|
1139
1139
|
}
|
|
1140
1140
|
export async function new$(
|
|
1141
|
-
client:
|
|
1141
|
+
client: SuiJsonRpcClient,
|
|
1142
1142
|
args: [],
|
|
1143
1143
|
): Promise<TypedDevInspectResults<[staking_pool.StakingPool]>> {
|
|
1144
1144
|
const tx = new Transaction();
|
|
@@ -1153,7 +1153,7 @@ export namespace staking_pool {
|
|
|
1153
1153
|
>(inspectRes);
|
|
1154
1154
|
}
|
|
1155
1155
|
export async function pendingStakeAmount(
|
|
1156
|
-
client:
|
|
1156
|
+
client: SuiJsonRpcClient,
|
|
1157
1157
|
args: [string],
|
|
1158
1158
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1159
1159
|
const tx = new Transaction();
|
|
@@ -1168,7 +1168,7 @@ export namespace staking_pool {
|
|
|
1168
1168
|
);
|
|
1169
1169
|
}
|
|
1170
1170
|
export async function pendingStakeWithdrawAmount(
|
|
1171
|
-
client:
|
|
1171
|
+
client: SuiJsonRpcClient,
|
|
1172
1172
|
args: [string],
|
|
1173
1173
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1174
1174
|
const tx = new Transaction();
|
|
@@ -1183,7 +1183,7 @@ export namespace staking_pool {
|
|
|
1183
1183
|
);
|
|
1184
1184
|
}
|
|
1185
1185
|
export async function poolId(
|
|
1186
|
-
client:
|
|
1186
|
+
client: SuiJsonRpcClient,
|
|
1187
1187
|
args: [string],
|
|
1188
1188
|
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
|
1189
1189
|
const tx = new Transaction();
|
|
@@ -1198,7 +1198,7 @@ export namespace staking_pool {
|
|
|
1198
1198
|
>(inspectRes);
|
|
1199
1199
|
}
|
|
1200
1200
|
export async function poolTokenAmount(
|
|
1201
|
-
client:
|
|
1201
|
+
client: SuiJsonRpcClient,
|
|
1202
1202
|
args: [string],
|
|
1203
1203
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1204
1204
|
const tx = new Transaction();
|
|
@@ -1213,7 +1213,7 @@ export namespace staking_pool {
|
|
|
1213
1213
|
);
|
|
1214
1214
|
}
|
|
1215
1215
|
export async function poolTokenExchangeRateAtEpoch(
|
|
1216
|
-
client:
|
|
1216
|
+
client: SuiJsonRpcClient,
|
|
1217
1217
|
args: [string, bigint],
|
|
1218
1218
|
): Promise<TypedDevInspectResults<[staking_pool.PoolTokenExchangeRate]>> {
|
|
1219
1219
|
const tx = new Transaction();
|
|
@@ -1228,7 +1228,7 @@ export namespace staking_pool {
|
|
|
1228
1228
|
>(inspectRes);
|
|
1229
1229
|
}
|
|
1230
1230
|
export async function processPendingStake(
|
|
1231
|
-
client:
|
|
1231
|
+
client: SuiJsonRpcClient,
|
|
1232
1232
|
args: [string],
|
|
1233
1233
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1234
1234
|
const tx = new Transaction();
|
|
@@ -1243,7 +1243,7 @@ export namespace staking_pool {
|
|
|
1243
1243
|
);
|
|
1244
1244
|
}
|
|
1245
1245
|
export async function processPendingStakesAndWithdraws(
|
|
1246
|
-
client:
|
|
1246
|
+
client: SuiJsonRpcClient,
|
|
1247
1247
|
args: [string],
|
|
1248
1248
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1249
1249
|
const tx = new Transaction();
|
|
@@ -1258,7 +1258,7 @@ export namespace staking_pool {
|
|
|
1258
1258
|
);
|
|
1259
1259
|
}
|
|
1260
1260
|
export async function redeemFungibleStakedSui(
|
|
1261
|
-
client:
|
|
1261
|
+
client: SuiJsonRpcClient,
|
|
1262
1262
|
args: [string, staking_pool.FungibleStakedSui],
|
|
1263
1263
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
1264
1264
|
const tx = new Transaction();
|
|
@@ -1273,7 +1273,7 @@ export namespace staking_pool {
|
|
|
1273
1273
|
>(inspectRes);
|
|
1274
1274
|
}
|
|
1275
1275
|
export async function requestAddStake(
|
|
1276
|
-
client:
|
|
1276
|
+
client: SuiJsonRpcClient,
|
|
1277
1277
|
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, bigint],
|
|
1278
1278
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
1279
1279
|
const tx = new Transaction();
|
|
@@ -1288,7 +1288,7 @@ export namespace staking_pool {
|
|
|
1288
1288
|
>(inspectRes);
|
|
1289
1289
|
}
|
|
1290
1290
|
export async function requestWithdrawStake(
|
|
1291
|
-
client:
|
|
1291
|
+
client: SuiJsonRpcClient,
|
|
1292
1292
|
args: [string, staking_pool.StakedSui],
|
|
1293
1293
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
1294
1294
|
const tx = new Transaction();
|
|
@@ -1303,7 +1303,7 @@ export namespace staking_pool {
|
|
|
1303
1303
|
>(inspectRes);
|
|
1304
1304
|
}
|
|
1305
1305
|
export async function split(
|
|
1306
|
-
client:
|
|
1306
|
+
client: SuiJsonRpcClient,
|
|
1307
1307
|
args: [string, bigint],
|
|
1308
1308
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
1309
1309
|
const tx = new Transaction();
|
|
@@ -1318,7 +1318,7 @@ export namespace staking_pool {
|
|
|
1318
1318
|
>(inspectRes);
|
|
1319
1319
|
}
|
|
1320
1320
|
export async function splitFungibleStakedSui(
|
|
1321
|
-
client:
|
|
1321
|
+
client: SuiJsonRpcClient,
|
|
1322
1322
|
args: [string, bigint],
|
|
1323
1323
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
1324
1324
|
const tx = new Transaction();
|
|
@@ -1333,7 +1333,7 @@ export namespace staking_pool {
|
|
|
1333
1333
|
>(inspectRes);
|
|
1334
1334
|
}
|
|
1335
1335
|
export async function splitStakedSui(
|
|
1336
|
-
client:
|
|
1336
|
+
client: SuiJsonRpcClient,
|
|
1337
1337
|
args: [string, bigint],
|
|
1338
1338
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1339
1339
|
const tx = new Transaction();
|
|
@@ -1348,7 +1348,7 @@ export namespace staking_pool {
|
|
|
1348
1348
|
);
|
|
1349
1349
|
}
|
|
1350
1350
|
export async function stakeActivationEpoch(
|
|
1351
|
-
client:
|
|
1351
|
+
client: SuiJsonRpcClient,
|
|
1352
1352
|
args: [string],
|
|
1353
1353
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1354
1354
|
const tx = new Transaction();
|
|
@@ -1363,7 +1363,7 @@ export namespace staking_pool {
|
|
|
1363
1363
|
);
|
|
1364
1364
|
}
|
|
1365
1365
|
export async function stakedSuiAmount(
|
|
1366
|
-
client:
|
|
1366
|
+
client: SuiJsonRpcClient,
|
|
1367
1367
|
args: [string],
|
|
1368
1368
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1369
1369
|
const tx = new Transaction();
|
|
@@ -1378,7 +1378,7 @@ export namespace staking_pool {
|
|
|
1378
1378
|
);
|
|
1379
1379
|
}
|
|
1380
1380
|
export async function suiAmount(
|
|
1381
|
-
client:
|
|
1381
|
+
client: SuiJsonRpcClient,
|
|
1382
1382
|
args: [string],
|
|
1383
1383
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1384
1384
|
const tx = new Transaction();
|
|
@@ -1393,7 +1393,7 @@ export namespace staking_pool {
|
|
|
1393
1393
|
);
|
|
1394
1394
|
}
|
|
1395
1395
|
export async function suiBalance(
|
|
1396
|
-
client:
|
|
1396
|
+
client: SuiJsonRpcClient,
|
|
1397
1397
|
args: [string],
|
|
1398
1398
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1399
1399
|
const tx = new Transaction();
|
|
@@ -1408,7 +1408,7 @@ export namespace staking_pool {
|
|
|
1408
1408
|
);
|
|
1409
1409
|
}
|
|
1410
1410
|
export async function withdrawFromPrincipal(
|
|
1411
|
-
client:
|
|
1411
|
+
client: SuiJsonRpcClient,
|
|
1412
1412
|
args: [string, staking_pool.StakedSui],
|
|
1413
1413
|
): Promise<
|
|
1414
1414
|
TypedDevInspectResults<[bigint, _0x2.balance.Balance<_0x2.sui.SUI>]>
|
|
@@ -1519,7 +1519,7 @@ export namespace storage_fund {
|
|
|
1519
1519
|
}
|
|
1520
1520
|
export namespace view {
|
|
1521
1521
|
export async function advanceEpoch(
|
|
1522
|
-
client:
|
|
1522
|
+
client: SuiJsonRpcClient,
|
|
1523
1523
|
args: [
|
|
1524
1524
|
string,
|
|
1525
1525
|
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
@@ -1541,7 +1541,7 @@ export namespace storage_fund {
|
|
|
1541
1541
|
>(inspectRes);
|
|
1542
1542
|
}
|
|
1543
1543
|
export async function new$(
|
|
1544
|
-
client:
|
|
1544
|
+
client: SuiJsonRpcClient,
|
|
1545
1545
|
args: [_0x2.balance.Balance<_0x2.sui.SUI>],
|
|
1546
1546
|
): Promise<TypedDevInspectResults<[storage_fund.StorageFund]>> {
|
|
1547
1547
|
const tx = new Transaction();
|
|
@@ -1556,7 +1556,7 @@ export namespace storage_fund {
|
|
|
1556
1556
|
>(inspectRes);
|
|
1557
1557
|
}
|
|
1558
1558
|
export async function totalBalance(
|
|
1559
|
-
client:
|
|
1559
|
+
client: SuiJsonRpcClient,
|
|
1560
1560
|
args: [string],
|
|
1561
1561
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1562
1562
|
const tx = new Transaction();
|
|
@@ -1571,7 +1571,7 @@ export namespace storage_fund {
|
|
|
1571
1571
|
);
|
|
1572
1572
|
}
|
|
1573
1573
|
export async function totalObjectStorageRebates(
|
|
1574
|
-
client:
|
|
1574
|
+
client: SuiJsonRpcClient,
|
|
1575
1575
|
args: [string],
|
|
1576
1576
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1577
1577
|
const tx = new Transaction();
|
|
@@ -2423,7 +2423,7 @@ export namespace sui_system {
|
|
|
2423
2423
|
}
|
|
2424
2424
|
export namespace view {
|
|
2425
2425
|
export async function activeValidatorAddresses(
|
|
2426
|
-
client:
|
|
2426
|
+
client: SuiJsonRpcClient,
|
|
2427
2427
|
args: [string],
|
|
2428
2428
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
2429
2429
|
const tx = new Transaction();
|
|
@@ -2438,7 +2438,7 @@ export namespace sui_system {
|
|
|
2438
2438
|
);
|
|
2439
2439
|
}
|
|
2440
2440
|
export async function activeValidatorAddressesRef(
|
|
2441
|
-
client:
|
|
2441
|
+
client: SuiJsonRpcClient,
|
|
2442
2442
|
args: [string],
|
|
2443
2443
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
2444
2444
|
const tx = new Transaction();
|
|
@@ -2453,7 +2453,7 @@ export namespace sui_system {
|
|
|
2453
2453
|
);
|
|
2454
2454
|
}
|
|
2455
2455
|
export async function activeValidatorVotingPowers(
|
|
2456
|
-
client:
|
|
2456
|
+
client: SuiJsonRpcClient,
|
|
2457
2457
|
args: [string],
|
|
2458
2458
|
): Promise<TypedDevInspectResults<[_0x2.vec_map.VecMap<string, bigint>]>> {
|
|
2459
2459
|
const tx = new Transaction();
|
|
@@ -2468,7 +2468,7 @@ export namespace sui_system {
|
|
|
2468
2468
|
>(inspectRes);
|
|
2469
2469
|
}
|
|
2470
2470
|
export async function calculateRewards(
|
|
2471
|
-
client:
|
|
2471
|
+
client: SuiJsonRpcClient,
|
|
2472
2472
|
args: [string, string],
|
|
2473
2473
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
2474
2474
|
const tx = new Transaction();
|
|
@@ -2483,7 +2483,7 @@ export namespace sui_system {
|
|
|
2483
2483
|
);
|
|
2484
2484
|
}
|
|
2485
2485
|
export async function convertToFungibleStakedSui(
|
|
2486
|
-
client:
|
|
2486
|
+
client: SuiJsonRpcClient,
|
|
2487
2487
|
args: [string, staking_pool.StakedSui],
|
|
2488
2488
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
2489
2489
|
const tx = new Transaction();
|
|
@@ -2498,7 +2498,7 @@ export namespace sui_system {
|
|
|
2498
2498
|
>(inspectRes);
|
|
2499
2499
|
}
|
|
2500
2500
|
export async function create(
|
|
2501
|
-
client:
|
|
2501
|
+
client: SuiJsonRpcClient,
|
|
2502
2502
|
args: [
|
|
2503
2503
|
_0x2.object$.UID,
|
|
2504
2504
|
string[],
|
|
@@ -2521,7 +2521,7 @@ export namespace sui_system {
|
|
|
2521
2521
|
);
|
|
2522
2522
|
}
|
|
2523
2523
|
export async function poolExchangeRates(
|
|
2524
|
-
client:
|
|
2524
|
+
client: SuiJsonRpcClient,
|
|
2525
2525
|
args: [string, string],
|
|
2526
2526
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
2527
2527
|
const tx = new Transaction();
|
|
@@ -2536,7 +2536,7 @@ export namespace sui_system {
|
|
|
2536
2536
|
);
|
|
2537
2537
|
}
|
|
2538
2538
|
export async function redeemFungibleStakedSui(
|
|
2539
|
-
client:
|
|
2539
|
+
client: SuiJsonRpcClient,
|
|
2540
2540
|
args: [string, staking_pool.FungibleStakedSui],
|
|
2541
2541
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
2542
2542
|
const tx = new Transaction();
|
|
@@ -2551,7 +2551,7 @@ export namespace sui_system {
|
|
|
2551
2551
|
>(inspectRes);
|
|
2552
2552
|
}
|
|
2553
2553
|
export async function reportValidator(
|
|
2554
|
-
client:
|
|
2554
|
+
client: SuiJsonRpcClient,
|
|
2555
2555
|
args: [string, string, string],
|
|
2556
2556
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2557
2557
|
const tx = new Transaction();
|
|
@@ -2566,7 +2566,7 @@ export namespace sui_system {
|
|
|
2566
2566
|
);
|
|
2567
2567
|
}
|
|
2568
2568
|
export async function requestAddStake(
|
|
2569
|
-
client:
|
|
2569
|
+
client: SuiJsonRpcClient,
|
|
2570
2570
|
args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string],
|
|
2571
2571
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2572
2572
|
const tx = new Transaction();
|
|
@@ -2581,7 +2581,7 @@ export namespace sui_system {
|
|
|
2581
2581
|
);
|
|
2582
2582
|
}
|
|
2583
2583
|
export async function requestAddStakeMulCoin(
|
|
2584
|
-
client:
|
|
2584
|
+
client: SuiJsonRpcClient,
|
|
2585
2585
|
args: [string, string[], _0x1.option.Option<bigint>, string],
|
|
2586
2586
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2587
2587
|
const tx = new Transaction();
|
|
@@ -2596,7 +2596,7 @@ export namespace sui_system {
|
|
|
2596
2596
|
);
|
|
2597
2597
|
}
|
|
2598
2598
|
export async function requestAddStakeNonEntry(
|
|
2599
|
-
client:
|
|
2599
|
+
client: SuiJsonRpcClient,
|
|
2600
2600
|
args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string],
|
|
2601
2601
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
2602
2602
|
const tx = new Transaction();
|
|
@@ -2611,7 +2611,7 @@ export namespace sui_system {
|
|
|
2611
2611
|
>(inspectRes);
|
|
2612
2612
|
}
|
|
2613
2613
|
export async function requestAddValidator(
|
|
2614
|
-
client:
|
|
2614
|
+
client: SuiJsonRpcClient,
|
|
2615
2615
|
args: [string],
|
|
2616
2616
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2617
2617
|
const tx = new Transaction();
|
|
@@ -2626,7 +2626,7 @@ export namespace sui_system {
|
|
|
2626
2626
|
);
|
|
2627
2627
|
}
|
|
2628
2628
|
export async function requestAddValidatorCandidate(
|
|
2629
|
-
client:
|
|
2629
|
+
client: SuiJsonRpcClient,
|
|
2630
2630
|
args: [
|
|
2631
2631
|
string,
|
|
2632
2632
|
string[],
|
|
@@ -2657,7 +2657,7 @@ export namespace sui_system {
|
|
|
2657
2657
|
);
|
|
2658
2658
|
}
|
|
2659
2659
|
export async function requestRemoveValidator(
|
|
2660
|
-
client:
|
|
2660
|
+
client: SuiJsonRpcClient,
|
|
2661
2661
|
args: [string],
|
|
2662
2662
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2663
2663
|
const tx = new Transaction();
|
|
@@ -2672,7 +2672,7 @@ export namespace sui_system {
|
|
|
2672
2672
|
);
|
|
2673
2673
|
}
|
|
2674
2674
|
export async function requestRemoveValidatorCandidate(
|
|
2675
|
-
client:
|
|
2675
|
+
client: SuiJsonRpcClient,
|
|
2676
2676
|
args: [string],
|
|
2677
2677
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2678
2678
|
const tx = new Transaction();
|
|
@@ -2687,7 +2687,7 @@ export namespace sui_system {
|
|
|
2687
2687
|
);
|
|
2688
2688
|
}
|
|
2689
2689
|
export async function requestSetCommissionRate(
|
|
2690
|
-
client:
|
|
2690
|
+
client: SuiJsonRpcClient,
|
|
2691
2691
|
args: [string, bigint],
|
|
2692
2692
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2693
2693
|
const tx = new Transaction();
|
|
@@ -2702,7 +2702,7 @@ export namespace sui_system {
|
|
|
2702
2702
|
);
|
|
2703
2703
|
}
|
|
2704
2704
|
export async function requestSetGasPrice(
|
|
2705
|
-
client:
|
|
2705
|
+
client: SuiJsonRpcClient,
|
|
2706
2706
|
args: [string, string, bigint],
|
|
2707
2707
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2708
2708
|
const tx = new Transaction();
|
|
@@ -2717,7 +2717,7 @@ export namespace sui_system {
|
|
|
2717
2717
|
);
|
|
2718
2718
|
}
|
|
2719
2719
|
export async function requestWithdrawStake(
|
|
2720
|
-
client:
|
|
2720
|
+
client: SuiJsonRpcClient,
|
|
2721
2721
|
args: [string, staking_pool.StakedSui],
|
|
2722
2722
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2723
2723
|
const tx = new Transaction();
|
|
@@ -2732,7 +2732,7 @@ export namespace sui_system {
|
|
|
2732
2732
|
);
|
|
2733
2733
|
}
|
|
2734
2734
|
export async function requestWithdrawStakeNonEntry(
|
|
2735
|
-
client:
|
|
2735
|
+
client: SuiJsonRpcClient,
|
|
2736
2736
|
args: [string, staking_pool.StakedSui],
|
|
2737
2737
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
2738
2738
|
const tx = new Transaction();
|
|
@@ -2747,7 +2747,7 @@ export namespace sui_system {
|
|
|
2747
2747
|
>(inspectRes);
|
|
2748
2748
|
}
|
|
2749
2749
|
export async function rotateOperationCap(
|
|
2750
|
-
client:
|
|
2750
|
+
client: SuiJsonRpcClient,
|
|
2751
2751
|
args: [string],
|
|
2752
2752
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2753
2753
|
const tx = new Transaction();
|
|
@@ -2762,7 +2762,7 @@ export namespace sui_system {
|
|
|
2762
2762
|
);
|
|
2763
2763
|
}
|
|
2764
2764
|
export async function setCandidateValidatorCommissionRate(
|
|
2765
|
-
client:
|
|
2765
|
+
client: SuiJsonRpcClient,
|
|
2766
2766
|
args: [string, bigint],
|
|
2767
2767
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2768
2768
|
const tx = new Transaction();
|
|
@@ -2777,7 +2777,7 @@ export namespace sui_system {
|
|
|
2777
2777
|
);
|
|
2778
2778
|
}
|
|
2779
2779
|
export async function setCandidateValidatorGasPrice(
|
|
2780
|
-
client:
|
|
2780
|
+
client: SuiJsonRpcClient,
|
|
2781
2781
|
args: [string, string, bigint],
|
|
2782
2782
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2783
2783
|
const tx = new Transaction();
|
|
@@ -2792,7 +2792,7 @@ export namespace sui_system {
|
|
|
2792
2792
|
);
|
|
2793
2793
|
}
|
|
2794
2794
|
export async function undoReportValidator(
|
|
2795
|
-
client:
|
|
2795
|
+
client: SuiJsonRpcClient,
|
|
2796
2796
|
args: [string, string, string],
|
|
2797
2797
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2798
2798
|
const tx = new Transaction();
|
|
@@ -2807,7 +2807,7 @@ export namespace sui_system {
|
|
|
2807
2807
|
);
|
|
2808
2808
|
}
|
|
2809
2809
|
export async function updateCandidateValidatorNetworkAddress(
|
|
2810
|
-
client:
|
|
2810
|
+
client: SuiJsonRpcClient,
|
|
2811
2811
|
args: [string, string[]],
|
|
2812
2812
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2813
2813
|
const tx = new Transaction();
|
|
@@ -2822,7 +2822,7 @@ export namespace sui_system {
|
|
|
2822
2822
|
);
|
|
2823
2823
|
}
|
|
2824
2824
|
export async function updateCandidateValidatorNetworkPubkey(
|
|
2825
|
-
client:
|
|
2825
|
+
client: SuiJsonRpcClient,
|
|
2826
2826
|
args: [string, string[]],
|
|
2827
2827
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2828
2828
|
const tx = new Transaction();
|
|
@@ -2837,7 +2837,7 @@ export namespace sui_system {
|
|
|
2837
2837
|
);
|
|
2838
2838
|
}
|
|
2839
2839
|
export async function updateCandidateValidatorP2pAddress(
|
|
2840
|
-
client:
|
|
2840
|
+
client: SuiJsonRpcClient,
|
|
2841
2841
|
args: [string, string[]],
|
|
2842
2842
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2843
2843
|
const tx = new Transaction();
|
|
@@ -2852,7 +2852,7 @@ export namespace sui_system {
|
|
|
2852
2852
|
);
|
|
2853
2853
|
}
|
|
2854
2854
|
export async function updateCandidateValidatorPrimaryAddress(
|
|
2855
|
-
client:
|
|
2855
|
+
client: SuiJsonRpcClient,
|
|
2856
2856
|
args: [string, string[]],
|
|
2857
2857
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2858
2858
|
const tx = new Transaction();
|
|
@@ -2867,7 +2867,7 @@ export namespace sui_system {
|
|
|
2867
2867
|
);
|
|
2868
2868
|
}
|
|
2869
2869
|
export async function updateCandidateValidatorProtocolPubkey(
|
|
2870
|
-
client:
|
|
2870
|
+
client: SuiJsonRpcClient,
|
|
2871
2871
|
args: [string, string[], string[]],
|
|
2872
2872
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2873
2873
|
const tx = new Transaction();
|
|
@@ -2882,7 +2882,7 @@ export namespace sui_system {
|
|
|
2882
2882
|
);
|
|
2883
2883
|
}
|
|
2884
2884
|
export async function updateCandidateValidatorWorkerAddress(
|
|
2885
|
-
client:
|
|
2885
|
+
client: SuiJsonRpcClient,
|
|
2886
2886
|
args: [string, string[]],
|
|
2887
2887
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2888
2888
|
const tx = new Transaction();
|
|
@@ -2897,7 +2897,7 @@ export namespace sui_system {
|
|
|
2897
2897
|
);
|
|
2898
2898
|
}
|
|
2899
2899
|
export async function updateCandidateValidatorWorkerPubkey(
|
|
2900
|
-
client:
|
|
2900
|
+
client: SuiJsonRpcClient,
|
|
2901
2901
|
args: [string, string[]],
|
|
2902
2902
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2903
2903
|
const tx = new Transaction();
|
|
@@ -2912,7 +2912,7 @@ export namespace sui_system {
|
|
|
2912
2912
|
);
|
|
2913
2913
|
}
|
|
2914
2914
|
export async function updateValidatorDescription(
|
|
2915
|
-
client:
|
|
2915
|
+
client: SuiJsonRpcClient,
|
|
2916
2916
|
args: [string, string[]],
|
|
2917
2917
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2918
2918
|
const tx = new Transaction();
|
|
@@ -2927,7 +2927,7 @@ export namespace sui_system {
|
|
|
2927
2927
|
);
|
|
2928
2928
|
}
|
|
2929
2929
|
export async function updateValidatorImageUrl(
|
|
2930
|
-
client:
|
|
2930
|
+
client: SuiJsonRpcClient,
|
|
2931
2931
|
args: [string, string[]],
|
|
2932
2932
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2933
2933
|
const tx = new Transaction();
|
|
@@ -2942,7 +2942,7 @@ export namespace sui_system {
|
|
|
2942
2942
|
);
|
|
2943
2943
|
}
|
|
2944
2944
|
export async function updateValidatorName(
|
|
2945
|
-
client:
|
|
2945
|
+
client: SuiJsonRpcClient,
|
|
2946
2946
|
args: [string, string[]],
|
|
2947
2947
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2948
2948
|
const tx = new Transaction();
|
|
@@ -2957,7 +2957,7 @@ export namespace sui_system {
|
|
|
2957
2957
|
);
|
|
2958
2958
|
}
|
|
2959
2959
|
export async function updateValidatorNextEpochNetworkAddress(
|
|
2960
|
-
client:
|
|
2960
|
+
client: SuiJsonRpcClient,
|
|
2961
2961
|
args: [string, string[]],
|
|
2962
2962
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2963
2963
|
const tx = new Transaction();
|
|
@@ -2972,7 +2972,7 @@ export namespace sui_system {
|
|
|
2972
2972
|
);
|
|
2973
2973
|
}
|
|
2974
2974
|
export async function updateValidatorNextEpochNetworkPubkey(
|
|
2975
|
-
client:
|
|
2975
|
+
client: SuiJsonRpcClient,
|
|
2976
2976
|
args: [string, string[]],
|
|
2977
2977
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2978
2978
|
const tx = new Transaction();
|
|
@@ -2987,7 +2987,7 @@ export namespace sui_system {
|
|
|
2987
2987
|
);
|
|
2988
2988
|
}
|
|
2989
2989
|
export async function updateValidatorNextEpochP2pAddress(
|
|
2990
|
-
client:
|
|
2990
|
+
client: SuiJsonRpcClient,
|
|
2991
2991
|
args: [string, string[]],
|
|
2992
2992
|
): Promise<TypedDevInspectResults<[]>> {
|
|
2993
2993
|
const tx = new Transaction();
|
|
@@ -3002,7 +3002,7 @@ export namespace sui_system {
|
|
|
3002
3002
|
);
|
|
3003
3003
|
}
|
|
3004
3004
|
export async function updateValidatorNextEpochPrimaryAddress(
|
|
3005
|
-
client:
|
|
3005
|
+
client: SuiJsonRpcClient,
|
|
3006
3006
|
args: [string, string[]],
|
|
3007
3007
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3008
3008
|
const tx = new Transaction();
|
|
@@ -3017,7 +3017,7 @@ export namespace sui_system {
|
|
|
3017
3017
|
);
|
|
3018
3018
|
}
|
|
3019
3019
|
export async function updateValidatorNextEpochProtocolPubkey(
|
|
3020
|
-
client:
|
|
3020
|
+
client: SuiJsonRpcClient,
|
|
3021
3021
|
args: [string, string[], string[]],
|
|
3022
3022
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3023
3023
|
const tx = new Transaction();
|
|
@@ -3032,7 +3032,7 @@ export namespace sui_system {
|
|
|
3032
3032
|
);
|
|
3033
3033
|
}
|
|
3034
3034
|
export async function updateValidatorNextEpochWorkerAddress(
|
|
3035
|
-
client:
|
|
3035
|
+
client: SuiJsonRpcClient,
|
|
3036
3036
|
args: [string, string[]],
|
|
3037
3037
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3038
3038
|
const tx = new Transaction();
|
|
@@ -3047,7 +3047,7 @@ export namespace sui_system {
|
|
|
3047
3047
|
);
|
|
3048
3048
|
}
|
|
3049
3049
|
export async function updateValidatorNextEpochWorkerPubkey(
|
|
3050
|
-
client:
|
|
3050
|
+
client: SuiJsonRpcClient,
|
|
3051
3051
|
args: [string, string[]],
|
|
3052
3052
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3053
3053
|
const tx = new Transaction();
|
|
@@ -3062,7 +3062,7 @@ export namespace sui_system {
|
|
|
3062
3062
|
);
|
|
3063
3063
|
}
|
|
3064
3064
|
export async function updateValidatorProjectUrl(
|
|
3065
|
-
client:
|
|
3065
|
+
client: SuiJsonRpcClient,
|
|
3066
3066
|
args: [string, string[]],
|
|
3067
3067
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3068
3068
|
const tx = new Transaction();
|
|
@@ -3077,7 +3077,7 @@ export namespace sui_system {
|
|
|
3077
3077
|
);
|
|
3078
3078
|
}
|
|
3079
3079
|
export async function validatorAddressByPoolId(
|
|
3080
|
-
client:
|
|
3080
|
+
client: SuiJsonRpcClient,
|
|
3081
3081
|
args: [string, string],
|
|
3082
3082
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
3083
3083
|
const tx = new Transaction();
|
|
@@ -4342,7 +4342,7 @@ export namespace sui_system_state_inner {
|
|
|
4342
4342
|
}
|
|
4343
4343
|
export namespace view {
|
|
4344
4344
|
export async function activeValidatorAddresses(
|
|
4345
|
-
client:
|
|
4345
|
+
client: SuiJsonRpcClient,
|
|
4346
4346
|
args: [string],
|
|
4347
4347
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
4348
4348
|
const tx = new Transaction();
|
|
@@ -4357,7 +4357,7 @@ export namespace sui_system_state_inner {
|
|
|
4357
4357
|
);
|
|
4358
4358
|
}
|
|
4359
4359
|
export async function activeValidatorVotingPowers(
|
|
4360
|
-
client:
|
|
4360
|
+
client: SuiJsonRpcClient,
|
|
4361
4361
|
args: [string],
|
|
4362
4362
|
): Promise<TypedDevInspectResults<[_0x2.vec_map.VecMap<string, bigint>]>> {
|
|
4363
4363
|
const tx = new Transaction();
|
|
@@ -4372,7 +4372,7 @@ export namespace sui_system_state_inner {
|
|
|
4372
4372
|
>(inspectRes);
|
|
4373
4373
|
}
|
|
4374
4374
|
export async function advanceEpoch(
|
|
4375
|
-
client:
|
|
4375
|
+
client: SuiJsonRpcClient,
|
|
4376
4376
|
args: [
|
|
4377
4377
|
string,
|
|
4378
4378
|
bigint,
|
|
@@ -4399,7 +4399,7 @@ export namespace sui_system_state_inner {
|
|
|
4399
4399
|
>(inspectRes);
|
|
4400
4400
|
}
|
|
4401
4401
|
export async function convertToFungibleStakedSui(
|
|
4402
|
-
client:
|
|
4402
|
+
client: SuiJsonRpcClient,
|
|
4403
4403
|
args: [string, staking_pool.StakedSui],
|
|
4404
4404
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
4405
4405
|
const tx = new Transaction();
|
|
@@ -4414,7 +4414,7 @@ export namespace sui_system_state_inner {
|
|
|
4414
4414
|
>(inspectRes);
|
|
4415
4415
|
}
|
|
4416
4416
|
export async function create(
|
|
4417
|
-
client:
|
|
4417
|
+
client: SuiJsonRpcClient,
|
|
4418
4418
|
args: [
|
|
4419
4419
|
string[],
|
|
4420
4420
|
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
@@ -4438,7 +4438,7 @@ export namespace sui_system_state_inner {
|
|
|
4438
4438
|
>(inspectRes);
|
|
4439
4439
|
}
|
|
4440
4440
|
export async function createSystemParameters(
|
|
4441
|
-
client:
|
|
4441
|
+
client: SuiJsonRpcClient,
|
|
4442
4442
|
args: [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
4443
4443
|
): Promise<
|
|
4444
4444
|
TypedDevInspectResults<[sui_system_state_inner.SystemParameters]>
|
|
@@ -4455,7 +4455,7 @@ export namespace sui_system_state_inner {
|
|
|
4455
4455
|
>(inspectRes);
|
|
4456
4456
|
}
|
|
4457
4457
|
export async function epoch(
|
|
4458
|
-
client:
|
|
4458
|
+
client: SuiJsonRpcClient,
|
|
4459
4459
|
args: [string],
|
|
4460
4460
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4461
4461
|
const tx = new Transaction();
|
|
@@ -4470,7 +4470,7 @@ export namespace sui_system_state_inner {
|
|
|
4470
4470
|
);
|
|
4471
4471
|
}
|
|
4472
4472
|
export async function epochStartTimestampMs(
|
|
4473
|
-
client:
|
|
4473
|
+
client: SuiJsonRpcClient,
|
|
4474
4474
|
args: [string],
|
|
4475
4475
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4476
4476
|
const tx = new Transaction();
|
|
@@ -4485,7 +4485,7 @@ export namespace sui_system_state_inner {
|
|
|
4485
4485
|
);
|
|
4486
4486
|
}
|
|
4487
4487
|
export async function extraFields(
|
|
4488
|
-
client:
|
|
4488
|
+
client: SuiJsonRpcClient,
|
|
4489
4489
|
args: [string],
|
|
4490
4490
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
4491
4491
|
const tx = new Transaction();
|
|
@@ -4500,7 +4500,7 @@ export namespace sui_system_state_inner {
|
|
|
4500
4500
|
);
|
|
4501
4501
|
}
|
|
4502
4502
|
export async function extraFieldsMut(
|
|
4503
|
-
client:
|
|
4503
|
+
client: SuiJsonRpcClient,
|
|
4504
4504
|
args: [string],
|
|
4505
4505
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
4506
4506
|
const tx = new Transaction();
|
|
@@ -4515,7 +4515,7 @@ export namespace sui_system_state_inner {
|
|
|
4515
4515
|
);
|
|
4516
4516
|
}
|
|
4517
4517
|
export async function genesisSystemStateVersion(
|
|
4518
|
-
client:
|
|
4518
|
+
client: SuiJsonRpcClient,
|
|
4519
4519
|
args: [],
|
|
4520
4520
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4521
4521
|
const tx = new Transaction();
|
|
@@ -4530,7 +4530,7 @@ export namespace sui_system_state_inner {
|
|
|
4530
4530
|
);
|
|
4531
4531
|
}
|
|
4532
4532
|
export async function getReportersOf(
|
|
4533
|
-
client:
|
|
4533
|
+
client: SuiJsonRpcClient,
|
|
4534
4534
|
args: [string, string],
|
|
4535
4535
|
): Promise<TypedDevInspectResults<[_0x2.vec_set.VecSet<string>]>> {
|
|
4536
4536
|
const tx = new Transaction();
|
|
@@ -4545,7 +4545,7 @@ export namespace sui_system_state_inner {
|
|
|
4545
4545
|
>(inspectRes);
|
|
4546
4546
|
}
|
|
4547
4547
|
export async function getStorageFundObjectRebates(
|
|
4548
|
-
client:
|
|
4548
|
+
client: SuiJsonRpcClient,
|
|
4549
4549
|
args: [string],
|
|
4550
4550
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4551
4551
|
const tx = new Transaction();
|
|
@@ -4560,7 +4560,7 @@ export namespace sui_system_state_inner {
|
|
|
4560
4560
|
);
|
|
4561
4561
|
}
|
|
4562
4562
|
export async function getStorageFundTotalBalance(
|
|
4563
|
-
client:
|
|
4563
|
+
client: SuiJsonRpcClient,
|
|
4564
4564
|
args: [string],
|
|
4565
4565
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4566
4566
|
const tx = new Transaction();
|
|
@@ -4575,7 +4575,7 @@ export namespace sui_system_state_inner {
|
|
|
4575
4575
|
);
|
|
4576
4576
|
}
|
|
4577
4577
|
export async function poolExchangeRates(
|
|
4578
|
-
client:
|
|
4578
|
+
client: SuiJsonRpcClient,
|
|
4579
4579
|
args: [string, string],
|
|
4580
4580
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
4581
4581
|
const tx = new Transaction();
|
|
@@ -4590,7 +4590,7 @@ export namespace sui_system_state_inner {
|
|
|
4590
4590
|
);
|
|
4591
4591
|
}
|
|
4592
4592
|
export async function protocolVersion(
|
|
4593
|
-
client:
|
|
4593
|
+
client: SuiJsonRpcClient,
|
|
4594
4594
|
args: [string],
|
|
4595
4595
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4596
4596
|
const tx = new Transaction();
|
|
@@ -4605,7 +4605,7 @@ export namespace sui_system_state_inner {
|
|
|
4605
4605
|
);
|
|
4606
4606
|
}
|
|
4607
4607
|
export async function redeemFungibleStakedSui(
|
|
4608
|
-
client:
|
|
4608
|
+
client: SuiJsonRpcClient,
|
|
4609
4609
|
args: [string, staking_pool.FungibleStakedSui],
|
|
4610
4610
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
4611
4611
|
const tx = new Transaction();
|
|
@@ -4620,7 +4620,7 @@ export namespace sui_system_state_inner {
|
|
|
4620
4620
|
>(inspectRes);
|
|
4621
4621
|
}
|
|
4622
4622
|
export async function reportValidator(
|
|
4623
|
-
client:
|
|
4623
|
+
client: SuiJsonRpcClient,
|
|
4624
4624
|
args: [string, string, string],
|
|
4625
4625
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4626
4626
|
const tx = new Transaction();
|
|
@@ -4635,7 +4635,7 @@ export namespace sui_system_state_inner {
|
|
|
4635
4635
|
);
|
|
4636
4636
|
}
|
|
4637
4637
|
export async function requestAddStake(
|
|
4638
|
-
client:
|
|
4638
|
+
client: SuiJsonRpcClient,
|
|
4639
4639
|
args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string],
|
|
4640
4640
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
4641
4641
|
const tx = new Transaction();
|
|
@@ -4650,7 +4650,7 @@ export namespace sui_system_state_inner {
|
|
|
4650
4650
|
>(inspectRes);
|
|
4651
4651
|
}
|
|
4652
4652
|
export async function requestAddStakeMulCoin(
|
|
4653
|
-
client:
|
|
4653
|
+
client: SuiJsonRpcClient,
|
|
4654
4654
|
args: [string, string[], _0x1.option.Option<bigint>, string],
|
|
4655
4655
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
4656
4656
|
const tx = new Transaction();
|
|
@@ -4665,7 +4665,7 @@ export namespace sui_system_state_inner {
|
|
|
4665
4665
|
>(inspectRes);
|
|
4666
4666
|
}
|
|
4667
4667
|
export async function requestAddValidator(
|
|
4668
|
-
client:
|
|
4668
|
+
client: SuiJsonRpcClient,
|
|
4669
4669
|
args: [string],
|
|
4670
4670
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4671
4671
|
const tx = new Transaction();
|
|
@@ -4680,7 +4680,7 @@ export namespace sui_system_state_inner {
|
|
|
4680
4680
|
);
|
|
4681
4681
|
}
|
|
4682
4682
|
export async function requestAddValidatorCandidate(
|
|
4683
|
-
client:
|
|
4683
|
+
client: SuiJsonRpcClient,
|
|
4684
4684
|
args: [
|
|
4685
4685
|
string,
|
|
4686
4686
|
string[],
|
|
@@ -4711,7 +4711,7 @@ export namespace sui_system_state_inner {
|
|
|
4711
4711
|
);
|
|
4712
4712
|
}
|
|
4713
4713
|
export async function requestRemoveValidator(
|
|
4714
|
-
client:
|
|
4714
|
+
client: SuiJsonRpcClient,
|
|
4715
4715
|
args: [string],
|
|
4716
4716
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4717
4717
|
const tx = new Transaction();
|
|
@@ -4726,7 +4726,7 @@ export namespace sui_system_state_inner {
|
|
|
4726
4726
|
);
|
|
4727
4727
|
}
|
|
4728
4728
|
export async function requestRemoveValidatorCandidate(
|
|
4729
|
-
client:
|
|
4729
|
+
client: SuiJsonRpcClient,
|
|
4730
4730
|
args: [string],
|
|
4731
4731
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4732
4732
|
const tx = new Transaction();
|
|
@@ -4741,7 +4741,7 @@ export namespace sui_system_state_inner {
|
|
|
4741
4741
|
);
|
|
4742
4742
|
}
|
|
4743
4743
|
export async function requestSetCommissionRate(
|
|
4744
|
-
client:
|
|
4744
|
+
client: SuiJsonRpcClient,
|
|
4745
4745
|
args: [string, bigint],
|
|
4746
4746
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4747
4747
|
const tx = new Transaction();
|
|
@@ -4756,7 +4756,7 @@ export namespace sui_system_state_inner {
|
|
|
4756
4756
|
);
|
|
4757
4757
|
}
|
|
4758
4758
|
export async function requestSetGasPrice(
|
|
4759
|
-
client:
|
|
4759
|
+
client: SuiJsonRpcClient,
|
|
4760
4760
|
args: [string, string, bigint],
|
|
4761
4761
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4762
4762
|
const tx = new Transaction();
|
|
@@ -4771,7 +4771,7 @@ export namespace sui_system_state_inner {
|
|
|
4771
4771
|
);
|
|
4772
4772
|
}
|
|
4773
4773
|
export async function requestWithdrawStake(
|
|
4774
|
-
client:
|
|
4774
|
+
client: SuiJsonRpcClient,
|
|
4775
4775
|
args: [string, staking_pool.StakedSui],
|
|
4776
4776
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
4777
4777
|
const tx = new Transaction();
|
|
@@ -4786,7 +4786,7 @@ export namespace sui_system_state_inner {
|
|
|
4786
4786
|
>(inspectRes);
|
|
4787
4787
|
}
|
|
4788
4788
|
export async function rotateOperationCap(
|
|
4789
|
-
client:
|
|
4789
|
+
client: SuiJsonRpcClient,
|
|
4790
4790
|
args: [string],
|
|
4791
4791
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4792
4792
|
const tx = new Transaction();
|
|
@@ -4801,7 +4801,7 @@ export namespace sui_system_state_inner {
|
|
|
4801
4801
|
);
|
|
4802
4802
|
}
|
|
4803
4803
|
export async function setCandidateValidatorCommissionRate(
|
|
4804
|
-
client:
|
|
4804
|
+
client: SuiJsonRpcClient,
|
|
4805
4805
|
args: [string, bigint],
|
|
4806
4806
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4807
4807
|
const tx = new Transaction();
|
|
@@ -4816,7 +4816,7 @@ export namespace sui_system_state_inner {
|
|
|
4816
4816
|
);
|
|
4817
4817
|
}
|
|
4818
4818
|
export async function setCandidateValidatorGasPrice(
|
|
4819
|
-
client:
|
|
4819
|
+
client: SuiJsonRpcClient,
|
|
4820
4820
|
args: [string, string, bigint],
|
|
4821
4821
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4822
4822
|
const tx = new Transaction();
|
|
@@ -4831,7 +4831,7 @@ export namespace sui_system_state_inner {
|
|
|
4831
4831
|
);
|
|
4832
4832
|
}
|
|
4833
4833
|
export async function storeExecutionTimeEstimates(
|
|
4834
|
-
client:
|
|
4834
|
+
client: SuiJsonRpcClient,
|
|
4835
4835
|
args: [string, string[]],
|
|
4836
4836
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4837
4837
|
const tx = new Transaction();
|
|
@@ -4846,7 +4846,7 @@ export namespace sui_system_state_inner {
|
|
|
4846
4846
|
);
|
|
4847
4847
|
}
|
|
4848
4848
|
export async function storeExecutionTimeEstimatesV2(
|
|
4849
|
-
client:
|
|
4849
|
+
client: SuiJsonRpcClient,
|
|
4850
4850
|
args: [string, string[]],
|
|
4851
4851
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4852
4852
|
const tx = new Transaction();
|
|
@@ -4861,7 +4861,7 @@ export namespace sui_system_state_inner {
|
|
|
4861
4861
|
);
|
|
4862
4862
|
}
|
|
4863
4863
|
export async function systemStateVersion(
|
|
4864
|
-
client:
|
|
4864
|
+
client: SuiJsonRpcClient,
|
|
4865
4865
|
args: [string],
|
|
4866
4866
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
4867
4867
|
const tx = new Transaction();
|
|
@@ -4876,7 +4876,7 @@ export namespace sui_system_state_inner {
|
|
|
4876
4876
|
);
|
|
4877
4877
|
}
|
|
4878
4878
|
export async function undoReportValidator(
|
|
4879
|
-
client:
|
|
4879
|
+
client: SuiJsonRpcClient,
|
|
4880
4880
|
args: [string, string, string],
|
|
4881
4881
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4882
4882
|
const tx = new Transaction();
|
|
@@ -4891,7 +4891,7 @@ export namespace sui_system_state_inner {
|
|
|
4891
4891
|
);
|
|
4892
4892
|
}
|
|
4893
4893
|
export async function updateCandidateValidatorNetworkAddress(
|
|
4894
|
-
client:
|
|
4894
|
+
client: SuiJsonRpcClient,
|
|
4895
4895
|
args: [string, string[]],
|
|
4896
4896
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4897
4897
|
const tx = new Transaction();
|
|
@@ -4906,7 +4906,7 @@ export namespace sui_system_state_inner {
|
|
|
4906
4906
|
);
|
|
4907
4907
|
}
|
|
4908
4908
|
export async function updateCandidateValidatorNetworkPubkey(
|
|
4909
|
-
client:
|
|
4909
|
+
client: SuiJsonRpcClient,
|
|
4910
4910
|
args: [string, string[]],
|
|
4911
4911
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4912
4912
|
const tx = new Transaction();
|
|
@@ -4921,7 +4921,7 @@ export namespace sui_system_state_inner {
|
|
|
4921
4921
|
);
|
|
4922
4922
|
}
|
|
4923
4923
|
export async function updateCandidateValidatorP2pAddress(
|
|
4924
|
-
client:
|
|
4924
|
+
client: SuiJsonRpcClient,
|
|
4925
4925
|
args: [string, string[]],
|
|
4926
4926
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4927
4927
|
const tx = new Transaction();
|
|
@@ -4936,7 +4936,7 @@ export namespace sui_system_state_inner {
|
|
|
4936
4936
|
);
|
|
4937
4937
|
}
|
|
4938
4938
|
export async function updateCandidateValidatorPrimaryAddress(
|
|
4939
|
-
client:
|
|
4939
|
+
client: SuiJsonRpcClient,
|
|
4940
4940
|
args: [string, string[]],
|
|
4941
4941
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4942
4942
|
const tx = new Transaction();
|
|
@@ -4951,7 +4951,7 @@ export namespace sui_system_state_inner {
|
|
|
4951
4951
|
);
|
|
4952
4952
|
}
|
|
4953
4953
|
export async function updateCandidateValidatorProtocolPubkey(
|
|
4954
|
-
client:
|
|
4954
|
+
client: SuiJsonRpcClient,
|
|
4955
4955
|
args: [string, string[], string[]],
|
|
4956
4956
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4957
4957
|
const tx = new Transaction();
|
|
@@ -4966,7 +4966,7 @@ export namespace sui_system_state_inner {
|
|
|
4966
4966
|
);
|
|
4967
4967
|
}
|
|
4968
4968
|
export async function updateCandidateValidatorWorkerAddress(
|
|
4969
|
-
client:
|
|
4969
|
+
client: SuiJsonRpcClient,
|
|
4970
4970
|
args: [string, string[]],
|
|
4971
4971
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4972
4972
|
const tx = new Transaction();
|
|
@@ -4981,7 +4981,7 @@ export namespace sui_system_state_inner {
|
|
|
4981
4981
|
);
|
|
4982
4982
|
}
|
|
4983
4983
|
export async function updateCandidateValidatorWorkerPubkey(
|
|
4984
|
-
client:
|
|
4984
|
+
client: SuiJsonRpcClient,
|
|
4985
4985
|
args: [string, string[]],
|
|
4986
4986
|
): Promise<TypedDevInspectResults<[]>> {
|
|
4987
4987
|
const tx = new Transaction();
|
|
@@ -4996,7 +4996,7 @@ export namespace sui_system_state_inner {
|
|
|
4996
4996
|
);
|
|
4997
4997
|
}
|
|
4998
4998
|
export async function updateValidatorDescription(
|
|
4999
|
-
client:
|
|
4999
|
+
client: SuiJsonRpcClient,
|
|
5000
5000
|
args: [string, string[]],
|
|
5001
5001
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5002
5002
|
const tx = new Transaction();
|
|
@@ -5011,7 +5011,7 @@ export namespace sui_system_state_inner {
|
|
|
5011
5011
|
);
|
|
5012
5012
|
}
|
|
5013
5013
|
export async function updateValidatorImageUrl(
|
|
5014
|
-
client:
|
|
5014
|
+
client: SuiJsonRpcClient,
|
|
5015
5015
|
args: [string, string[]],
|
|
5016
5016
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5017
5017
|
const tx = new Transaction();
|
|
@@ -5026,7 +5026,7 @@ export namespace sui_system_state_inner {
|
|
|
5026
5026
|
);
|
|
5027
5027
|
}
|
|
5028
5028
|
export async function updateValidatorName(
|
|
5029
|
-
client:
|
|
5029
|
+
client: SuiJsonRpcClient,
|
|
5030
5030
|
args: [string, string[]],
|
|
5031
5031
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5032
5032
|
const tx = new Transaction();
|
|
@@ -5041,7 +5041,7 @@ export namespace sui_system_state_inner {
|
|
|
5041
5041
|
);
|
|
5042
5042
|
}
|
|
5043
5043
|
export async function updateValidatorNextEpochNetworkAddress(
|
|
5044
|
-
client:
|
|
5044
|
+
client: SuiJsonRpcClient,
|
|
5045
5045
|
args: [string, string[]],
|
|
5046
5046
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5047
5047
|
const tx = new Transaction();
|
|
@@ -5056,7 +5056,7 @@ export namespace sui_system_state_inner {
|
|
|
5056
5056
|
);
|
|
5057
5057
|
}
|
|
5058
5058
|
export async function updateValidatorNextEpochNetworkPubkey(
|
|
5059
|
-
client:
|
|
5059
|
+
client: SuiJsonRpcClient,
|
|
5060
5060
|
args: [string, string[]],
|
|
5061
5061
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5062
5062
|
const tx = new Transaction();
|
|
@@ -5071,7 +5071,7 @@ export namespace sui_system_state_inner {
|
|
|
5071
5071
|
);
|
|
5072
5072
|
}
|
|
5073
5073
|
export async function updateValidatorNextEpochP2pAddress(
|
|
5074
|
-
client:
|
|
5074
|
+
client: SuiJsonRpcClient,
|
|
5075
5075
|
args: [string, string[]],
|
|
5076
5076
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5077
5077
|
const tx = new Transaction();
|
|
@@ -5086,7 +5086,7 @@ export namespace sui_system_state_inner {
|
|
|
5086
5086
|
);
|
|
5087
5087
|
}
|
|
5088
5088
|
export async function updateValidatorNextEpochPrimaryAddress(
|
|
5089
|
-
client:
|
|
5089
|
+
client: SuiJsonRpcClient,
|
|
5090
5090
|
args: [string, string[]],
|
|
5091
5091
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5092
5092
|
const tx = new Transaction();
|
|
@@ -5101,7 +5101,7 @@ export namespace sui_system_state_inner {
|
|
|
5101
5101
|
);
|
|
5102
5102
|
}
|
|
5103
5103
|
export async function updateValidatorNextEpochProtocolPubkey(
|
|
5104
|
-
client:
|
|
5104
|
+
client: SuiJsonRpcClient,
|
|
5105
5105
|
args: [string, string[], string[]],
|
|
5106
5106
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5107
5107
|
const tx = new Transaction();
|
|
@@ -5116,7 +5116,7 @@ export namespace sui_system_state_inner {
|
|
|
5116
5116
|
);
|
|
5117
5117
|
}
|
|
5118
5118
|
export async function updateValidatorNextEpochWorkerAddress(
|
|
5119
|
-
client:
|
|
5119
|
+
client: SuiJsonRpcClient,
|
|
5120
5120
|
args: [string, string[]],
|
|
5121
5121
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5122
5122
|
const tx = new Transaction();
|
|
@@ -5131,7 +5131,7 @@ export namespace sui_system_state_inner {
|
|
|
5131
5131
|
);
|
|
5132
5132
|
}
|
|
5133
5133
|
export async function updateValidatorNextEpochWorkerPubkey(
|
|
5134
|
-
client:
|
|
5134
|
+
client: SuiJsonRpcClient,
|
|
5135
5135
|
args: [string, string[]],
|
|
5136
5136
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5137
5137
|
const tx = new Transaction();
|
|
@@ -5146,7 +5146,7 @@ export namespace sui_system_state_inner {
|
|
|
5146
5146
|
);
|
|
5147
5147
|
}
|
|
5148
5148
|
export async function updateValidatorProjectUrl(
|
|
5149
|
-
client:
|
|
5149
|
+
client: SuiJsonRpcClient,
|
|
5150
5150
|
args: [string, string[]],
|
|
5151
5151
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5152
5152
|
const tx = new Transaction();
|
|
@@ -5161,7 +5161,7 @@ export namespace sui_system_state_inner {
|
|
|
5161
5161
|
);
|
|
5162
5162
|
}
|
|
5163
5163
|
export async function v1ToV2(
|
|
5164
|
-
client:
|
|
5164
|
+
client: SuiJsonRpcClient,
|
|
5165
5165
|
args: [sui_system_state_inner.SuiSystemStateInner],
|
|
5166
5166
|
): Promise<
|
|
5167
5167
|
TypedDevInspectResults<[sui_system_state_inner.SuiSystemStateInnerV2]>
|
|
@@ -5178,7 +5178,7 @@ export namespace sui_system_state_inner {
|
|
|
5178
5178
|
>(inspectRes);
|
|
5179
5179
|
}
|
|
5180
5180
|
export async function validatorAddressByPoolId(
|
|
5181
|
-
client:
|
|
5181
|
+
client: SuiJsonRpcClient,
|
|
5182
5182
|
args: [string, string],
|
|
5183
5183
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
5184
5184
|
const tx = new Transaction();
|
|
@@ -5193,7 +5193,7 @@ export namespace sui_system_state_inner {
|
|
|
5193
5193
|
);
|
|
5194
5194
|
}
|
|
5195
5195
|
export async function validatorStakeAmount(
|
|
5196
|
-
client:
|
|
5196
|
+
client: SuiJsonRpcClient,
|
|
5197
5197
|
args: [string, string],
|
|
5198
5198
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
5199
5199
|
const tx = new Transaction();
|
|
@@ -5208,7 +5208,7 @@ export namespace sui_system_state_inner {
|
|
|
5208
5208
|
);
|
|
5209
5209
|
}
|
|
5210
5210
|
export async function validatorStakingPoolId(
|
|
5211
|
-
client:
|
|
5211
|
+
client: SuiJsonRpcClient,
|
|
5212
5212
|
args: [string, string],
|
|
5213
5213
|
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
|
5214
5214
|
const tx = new Transaction();
|
|
@@ -5223,7 +5223,7 @@ export namespace sui_system_state_inner {
|
|
|
5223
5223
|
>(inspectRes);
|
|
5224
5224
|
}
|
|
5225
5225
|
export async function validatorStakingPoolMappings(
|
|
5226
|
-
client:
|
|
5226
|
+
client: SuiJsonRpcClient,
|
|
5227
5227
|
args: [string],
|
|
5228
5228
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
5229
5229
|
const tx = new Transaction();
|
|
@@ -5238,7 +5238,7 @@ export namespace sui_system_state_inner {
|
|
|
5238
5238
|
);
|
|
5239
5239
|
}
|
|
5240
5240
|
export async function validators(
|
|
5241
|
-
client:
|
|
5241
|
+
client: SuiJsonRpcClient,
|
|
5242
5242
|
args: [string],
|
|
5243
5243
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
5244
5244
|
const tx = new Transaction();
|
|
@@ -5253,7 +5253,7 @@ export namespace sui_system_state_inner {
|
|
|
5253
5253
|
);
|
|
5254
5254
|
}
|
|
5255
5255
|
export async function validatorsMut(
|
|
5256
|
-
client:
|
|
5256
|
+
client: SuiJsonRpcClient,
|
|
5257
5257
|
args: [string],
|
|
5258
5258
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
5259
5259
|
const tx = new Transaction();
|
|
@@ -6651,7 +6651,7 @@ export namespace validator {
|
|
|
6651
6651
|
}
|
|
6652
6652
|
export namespace view {
|
|
6653
6653
|
export async function activate(
|
|
6654
|
-
client:
|
|
6654
|
+
client: SuiJsonRpcClient,
|
|
6655
6655
|
args: [string, bigint],
|
|
6656
6656
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6657
6657
|
const tx = new Transaction();
|
|
@@ -6666,7 +6666,7 @@ export namespace validator {
|
|
|
6666
6666
|
);
|
|
6667
6667
|
}
|
|
6668
6668
|
export async function adjustStakeAndGasPrice(
|
|
6669
|
-
client:
|
|
6669
|
+
client: SuiJsonRpcClient,
|
|
6670
6670
|
args: [string],
|
|
6671
6671
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6672
6672
|
const tx = new Transaction();
|
|
@@ -6681,7 +6681,7 @@ export namespace validator {
|
|
|
6681
6681
|
);
|
|
6682
6682
|
}
|
|
6683
6683
|
export async function commissionRate(
|
|
6684
|
-
client:
|
|
6684
|
+
client: SuiJsonRpcClient,
|
|
6685
6685
|
args: [string],
|
|
6686
6686
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
6687
6687
|
const tx = new Transaction();
|
|
@@ -6696,7 +6696,7 @@ export namespace validator {
|
|
|
6696
6696
|
);
|
|
6697
6697
|
}
|
|
6698
6698
|
export async function convertToFungibleStakedSui(
|
|
6699
|
-
client:
|
|
6699
|
+
client: SuiJsonRpcClient,
|
|
6700
6700
|
args: [string, staking_pool.StakedSui],
|
|
6701
6701
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
6702
6702
|
const tx = new Transaction();
|
|
@@ -6711,7 +6711,7 @@ export namespace validator {
|
|
|
6711
6711
|
>(inspectRes);
|
|
6712
6712
|
}
|
|
6713
6713
|
export async function deactivate(
|
|
6714
|
-
client:
|
|
6714
|
+
client: SuiJsonRpcClient,
|
|
6715
6715
|
args: [string, bigint],
|
|
6716
6716
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6717
6717
|
const tx = new Transaction();
|
|
@@ -6726,7 +6726,7 @@ export namespace validator {
|
|
|
6726
6726
|
);
|
|
6727
6727
|
}
|
|
6728
6728
|
export async function depositStakeRewards(
|
|
6729
|
-
client:
|
|
6729
|
+
client: SuiJsonRpcClient,
|
|
6730
6730
|
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>],
|
|
6731
6731
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6732
6732
|
const tx = new Transaction();
|
|
@@ -6741,7 +6741,7 @@ export namespace validator {
|
|
|
6741
6741
|
);
|
|
6742
6742
|
}
|
|
6743
6743
|
export async function description(
|
|
6744
|
-
client:
|
|
6744
|
+
client: SuiJsonRpcClient,
|
|
6745
6745
|
args: [string],
|
|
6746
6746
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6747
6747
|
const tx = new Transaction();
|
|
@@ -6756,7 +6756,7 @@ export namespace validator {
|
|
|
6756
6756
|
);
|
|
6757
6757
|
}
|
|
6758
6758
|
export async function effectuateStagedMetadata(
|
|
6759
|
-
client:
|
|
6759
|
+
client: SuiJsonRpcClient,
|
|
6760
6760
|
args: [string],
|
|
6761
6761
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6762
6762
|
const tx = new Transaction();
|
|
@@ -6771,7 +6771,7 @@ export namespace validator {
|
|
|
6771
6771
|
);
|
|
6772
6772
|
}
|
|
6773
6773
|
export async function gasPrice(
|
|
6774
|
-
client:
|
|
6774
|
+
client: SuiJsonRpcClient,
|
|
6775
6775
|
args: [string],
|
|
6776
6776
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
6777
6777
|
const tx = new Transaction();
|
|
@@ -6786,7 +6786,7 @@ export namespace validator {
|
|
|
6786
6786
|
);
|
|
6787
6787
|
}
|
|
6788
6788
|
export async function getStakingPoolRef(
|
|
6789
|
-
client:
|
|
6789
|
+
client: SuiJsonRpcClient,
|
|
6790
6790
|
args: [string],
|
|
6791
6791
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6792
6792
|
const tx = new Transaction();
|
|
@@ -6801,7 +6801,7 @@ export namespace validator {
|
|
|
6801
6801
|
);
|
|
6802
6802
|
}
|
|
6803
6803
|
export async function imageUrl(
|
|
6804
|
-
client:
|
|
6804
|
+
client: SuiJsonRpcClient,
|
|
6805
6805
|
args: [string],
|
|
6806
6806
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6807
6807
|
const tx = new Transaction();
|
|
@@ -6816,7 +6816,7 @@ export namespace validator {
|
|
|
6816
6816
|
);
|
|
6817
6817
|
}
|
|
6818
6818
|
export async function isDuplicate(
|
|
6819
|
-
client:
|
|
6819
|
+
client: SuiJsonRpcClient,
|
|
6820
6820
|
args: [string, string],
|
|
6821
6821
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
6822
6822
|
const tx = new Transaction();
|
|
@@ -6831,7 +6831,7 @@ export namespace validator {
|
|
|
6831
6831
|
);
|
|
6832
6832
|
}
|
|
6833
6833
|
export async function isPreactive(
|
|
6834
|
-
client:
|
|
6834
|
+
client: SuiJsonRpcClient,
|
|
6835
6835
|
args: [string],
|
|
6836
6836
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
6837
6837
|
const tx = new Transaction();
|
|
@@ -6846,7 +6846,7 @@ export namespace validator {
|
|
|
6846
6846
|
);
|
|
6847
6847
|
}
|
|
6848
6848
|
export async function metadata(
|
|
6849
|
-
client:
|
|
6849
|
+
client: SuiJsonRpcClient,
|
|
6850
6850
|
args: [string],
|
|
6851
6851
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6852
6852
|
const tx = new Transaction();
|
|
@@ -6861,7 +6861,7 @@ export namespace validator {
|
|
|
6861
6861
|
);
|
|
6862
6862
|
}
|
|
6863
6863
|
export async function name(
|
|
6864
|
-
client:
|
|
6864
|
+
client: SuiJsonRpcClient,
|
|
6865
6865
|
args: [string],
|
|
6866
6866
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6867
6867
|
const tx = new Transaction();
|
|
@@ -6876,7 +6876,7 @@ export namespace validator {
|
|
|
6876
6876
|
);
|
|
6877
6877
|
}
|
|
6878
6878
|
export async function networkAddress(
|
|
6879
|
-
client:
|
|
6879
|
+
client: SuiJsonRpcClient,
|
|
6880
6880
|
args: [string],
|
|
6881
6881
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6882
6882
|
const tx = new Transaction();
|
|
@@ -6891,7 +6891,7 @@ export namespace validator {
|
|
|
6891
6891
|
);
|
|
6892
6892
|
}
|
|
6893
6893
|
export async function networkPubkeyBytes(
|
|
6894
|
-
client:
|
|
6894
|
+
client: SuiJsonRpcClient,
|
|
6895
6895
|
args: [string],
|
|
6896
6896
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6897
6897
|
const tx = new Transaction();
|
|
@@ -6906,7 +6906,7 @@ export namespace validator {
|
|
|
6906
6906
|
);
|
|
6907
6907
|
}
|
|
6908
6908
|
export async function new$(
|
|
6909
|
-
client:
|
|
6909
|
+
client: SuiJsonRpcClient,
|
|
6910
6910
|
args: [
|
|
6911
6911
|
string,
|
|
6912
6912
|
string[],
|
|
@@ -6937,7 +6937,7 @@ export namespace validator {
|
|
|
6937
6937
|
>(inspectRes);
|
|
6938
6938
|
}
|
|
6939
6939
|
export async function newMetadata(
|
|
6940
|
-
client:
|
|
6940
|
+
client: SuiJsonRpcClient,
|
|
6941
6941
|
args: [
|
|
6942
6942
|
string,
|
|
6943
6943
|
string[],
|
|
@@ -6967,7 +6967,7 @@ export namespace validator {
|
|
|
6967
6967
|
>(inspectRes);
|
|
6968
6968
|
}
|
|
6969
6969
|
export async function newUnverifiedValidatorOperationCapAndTransfer(
|
|
6970
|
-
client:
|
|
6970
|
+
client: SuiJsonRpcClient,
|
|
6971
6971
|
args: [string],
|
|
6972
6972
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6973
6973
|
const tx = new Transaction();
|
|
@@ -6982,7 +6982,7 @@ export namespace validator {
|
|
|
6982
6982
|
);
|
|
6983
6983
|
}
|
|
6984
6984
|
export async function nextEpochGasPrice(
|
|
6985
|
-
client:
|
|
6985
|
+
client: SuiJsonRpcClient,
|
|
6986
6986
|
args: [string],
|
|
6987
6987
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
6988
6988
|
const tx = new Transaction();
|
|
@@ -6997,7 +6997,7 @@ export namespace validator {
|
|
|
6997
6997
|
);
|
|
6998
6998
|
}
|
|
6999
6999
|
export async function nextEpochNetworkAddress(
|
|
7000
|
-
client:
|
|
7000
|
+
client: SuiJsonRpcClient,
|
|
7001
7001
|
args: [string],
|
|
7002
7002
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7003
7003
|
const tx = new Transaction();
|
|
@@ -7012,7 +7012,7 @@ export namespace validator {
|
|
|
7012
7012
|
);
|
|
7013
7013
|
}
|
|
7014
7014
|
export async function nextEpochNetworkPubkeyBytes(
|
|
7015
|
-
client:
|
|
7015
|
+
client: SuiJsonRpcClient,
|
|
7016
7016
|
args: [string],
|
|
7017
7017
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7018
7018
|
const tx = new Transaction();
|
|
@@ -7027,7 +7027,7 @@ export namespace validator {
|
|
|
7027
7027
|
);
|
|
7028
7028
|
}
|
|
7029
7029
|
export async function nextEpochP2pAddress(
|
|
7030
|
-
client:
|
|
7030
|
+
client: SuiJsonRpcClient,
|
|
7031
7031
|
args: [string],
|
|
7032
7032
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7033
7033
|
const tx = new Transaction();
|
|
@@ -7042,7 +7042,7 @@ export namespace validator {
|
|
|
7042
7042
|
);
|
|
7043
7043
|
}
|
|
7044
7044
|
export async function nextEpochPrimaryAddress(
|
|
7045
|
-
client:
|
|
7045
|
+
client: SuiJsonRpcClient,
|
|
7046
7046
|
args: [string],
|
|
7047
7047
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7048
7048
|
const tx = new Transaction();
|
|
@@ -7057,7 +7057,7 @@ export namespace validator {
|
|
|
7057
7057
|
);
|
|
7058
7058
|
}
|
|
7059
7059
|
export async function nextEpochProofOfPossession(
|
|
7060
|
-
client:
|
|
7060
|
+
client: SuiJsonRpcClient,
|
|
7061
7061
|
args: [string],
|
|
7062
7062
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7063
7063
|
const tx = new Transaction();
|
|
@@ -7072,7 +7072,7 @@ export namespace validator {
|
|
|
7072
7072
|
);
|
|
7073
7073
|
}
|
|
7074
7074
|
export async function nextEpochProtocolPubkeyBytes(
|
|
7075
|
-
client:
|
|
7075
|
+
client: SuiJsonRpcClient,
|
|
7076
7076
|
args: [string],
|
|
7077
7077
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7078
7078
|
const tx = new Transaction();
|
|
@@ -7087,7 +7087,7 @@ export namespace validator {
|
|
|
7087
7087
|
);
|
|
7088
7088
|
}
|
|
7089
7089
|
export async function nextEpochWorkerAddress(
|
|
7090
|
-
client:
|
|
7090
|
+
client: SuiJsonRpcClient,
|
|
7091
7091
|
args: [string],
|
|
7092
7092
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7093
7093
|
const tx = new Transaction();
|
|
@@ -7102,7 +7102,7 @@ export namespace validator {
|
|
|
7102
7102
|
);
|
|
7103
7103
|
}
|
|
7104
7104
|
export async function nextEpochWorkerPubkeyBytes(
|
|
7105
|
-
client:
|
|
7105
|
+
client: SuiJsonRpcClient,
|
|
7106
7106
|
args: [string],
|
|
7107
7107
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7108
7108
|
const tx = new Transaction();
|
|
@@ -7117,7 +7117,7 @@ export namespace validator {
|
|
|
7117
7117
|
);
|
|
7118
7118
|
}
|
|
7119
7119
|
export async function operationCapId(
|
|
7120
|
-
client:
|
|
7120
|
+
client: SuiJsonRpcClient,
|
|
7121
7121
|
args: [string],
|
|
7122
7122
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7123
7123
|
const tx = new Transaction();
|
|
@@ -7132,7 +7132,7 @@ export namespace validator {
|
|
|
7132
7132
|
);
|
|
7133
7133
|
}
|
|
7134
7134
|
export async function p2pAddress(
|
|
7135
|
-
client:
|
|
7135
|
+
client: SuiJsonRpcClient,
|
|
7136
7136
|
args: [string],
|
|
7137
7137
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7138
7138
|
const tx = new Transaction();
|
|
@@ -7147,7 +7147,7 @@ export namespace validator {
|
|
|
7147
7147
|
);
|
|
7148
7148
|
}
|
|
7149
7149
|
export async function pendingStakeAmount(
|
|
7150
|
-
client:
|
|
7150
|
+
client: SuiJsonRpcClient,
|
|
7151
7151
|
args: [string],
|
|
7152
7152
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7153
7153
|
const tx = new Transaction();
|
|
@@ -7162,7 +7162,7 @@ export namespace validator {
|
|
|
7162
7162
|
);
|
|
7163
7163
|
}
|
|
7164
7164
|
export async function pendingStakeWithdrawAmount(
|
|
7165
|
-
client:
|
|
7165
|
+
client: SuiJsonRpcClient,
|
|
7166
7166
|
args: [string],
|
|
7167
7167
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7168
7168
|
const tx = new Transaction();
|
|
@@ -7177,7 +7177,7 @@ export namespace validator {
|
|
|
7177
7177
|
);
|
|
7178
7178
|
}
|
|
7179
7179
|
export async function poolTokenExchangeRateAtEpoch(
|
|
7180
|
-
client:
|
|
7180
|
+
client: SuiJsonRpcClient,
|
|
7181
7181
|
args: [string, bigint],
|
|
7182
7182
|
): Promise<TypedDevInspectResults<[staking_pool.PoolTokenExchangeRate]>> {
|
|
7183
7183
|
const tx = new Transaction();
|
|
@@ -7192,7 +7192,7 @@ export namespace validator {
|
|
|
7192
7192
|
>(inspectRes);
|
|
7193
7193
|
}
|
|
7194
7194
|
export async function primaryAddress(
|
|
7195
|
-
client:
|
|
7195
|
+
client: SuiJsonRpcClient,
|
|
7196
7196
|
args: [string],
|
|
7197
7197
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7198
7198
|
const tx = new Transaction();
|
|
@@ -7207,7 +7207,7 @@ export namespace validator {
|
|
|
7207
7207
|
);
|
|
7208
7208
|
}
|
|
7209
7209
|
export async function processPendingStakesAndWithdraws(
|
|
7210
|
-
client:
|
|
7210
|
+
client: SuiJsonRpcClient,
|
|
7211
7211
|
args: [string],
|
|
7212
7212
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7213
7213
|
const tx = new Transaction();
|
|
@@ -7222,7 +7222,7 @@ export namespace validator {
|
|
|
7222
7222
|
);
|
|
7223
7223
|
}
|
|
7224
7224
|
export async function projectUrl(
|
|
7225
|
-
client:
|
|
7225
|
+
client: SuiJsonRpcClient,
|
|
7226
7226
|
args: [string],
|
|
7227
7227
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7228
7228
|
const tx = new Transaction();
|
|
@@ -7237,7 +7237,7 @@ export namespace validator {
|
|
|
7237
7237
|
);
|
|
7238
7238
|
}
|
|
7239
7239
|
export async function proofOfPossession(
|
|
7240
|
-
client:
|
|
7240
|
+
client: SuiJsonRpcClient,
|
|
7241
7241
|
args: [string],
|
|
7242
7242
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7243
7243
|
const tx = new Transaction();
|
|
@@ -7252,7 +7252,7 @@ export namespace validator {
|
|
|
7252
7252
|
);
|
|
7253
7253
|
}
|
|
7254
7254
|
export async function protocolPubkeyBytes(
|
|
7255
|
-
client:
|
|
7255
|
+
client: SuiJsonRpcClient,
|
|
7256
7256
|
args: [string],
|
|
7257
7257
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7258
7258
|
const tx = new Transaction();
|
|
@@ -7267,7 +7267,7 @@ export namespace validator {
|
|
|
7267
7267
|
);
|
|
7268
7268
|
}
|
|
7269
7269
|
export async function redeemFungibleStakedSui(
|
|
7270
|
-
client:
|
|
7270
|
+
client: SuiJsonRpcClient,
|
|
7271
7271
|
args: [string, staking_pool.FungibleStakedSui],
|
|
7272
7272
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
7273
7273
|
const tx = new Transaction();
|
|
@@ -7282,7 +7282,7 @@ export namespace validator {
|
|
|
7282
7282
|
>(inspectRes);
|
|
7283
7283
|
}
|
|
7284
7284
|
export async function requestAddStake(
|
|
7285
|
-
client:
|
|
7285
|
+
client: SuiJsonRpcClient,
|
|
7286
7286
|
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, string],
|
|
7287
7287
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
7288
7288
|
const tx = new Transaction();
|
|
@@ -7297,7 +7297,7 @@ export namespace validator {
|
|
|
7297
7297
|
>(inspectRes);
|
|
7298
7298
|
}
|
|
7299
7299
|
export async function requestAddStakeAtGenesis(
|
|
7300
|
-
client:
|
|
7300
|
+
client: SuiJsonRpcClient,
|
|
7301
7301
|
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, string],
|
|
7302
7302
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7303
7303
|
const tx = new Transaction();
|
|
@@ -7312,7 +7312,7 @@ export namespace validator {
|
|
|
7312
7312
|
);
|
|
7313
7313
|
}
|
|
7314
7314
|
export async function requestSetCommissionRate(
|
|
7315
|
-
client:
|
|
7315
|
+
client: SuiJsonRpcClient,
|
|
7316
7316
|
args: [string, bigint],
|
|
7317
7317
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7318
7318
|
const tx = new Transaction();
|
|
@@ -7327,7 +7327,7 @@ export namespace validator {
|
|
|
7327
7327
|
);
|
|
7328
7328
|
}
|
|
7329
7329
|
export async function requestSetGasPrice(
|
|
7330
|
-
client:
|
|
7330
|
+
client: SuiJsonRpcClient,
|
|
7331
7331
|
args: [string, validator_cap.ValidatorOperationCap, bigint],
|
|
7332
7332
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7333
7333
|
const tx = new Transaction();
|
|
@@ -7342,7 +7342,7 @@ export namespace validator {
|
|
|
7342
7342
|
);
|
|
7343
7343
|
}
|
|
7344
7344
|
export async function requestWithdrawStake(
|
|
7345
|
-
client:
|
|
7345
|
+
client: SuiJsonRpcClient,
|
|
7346
7346
|
args: [string, staking_pool.StakedSui],
|
|
7347
7347
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
7348
7348
|
const tx = new Transaction();
|
|
@@ -7357,7 +7357,7 @@ export namespace validator {
|
|
|
7357
7357
|
>(inspectRes);
|
|
7358
7358
|
}
|
|
7359
7359
|
export async function setCandidateCommissionRate(
|
|
7360
|
-
client:
|
|
7360
|
+
client: SuiJsonRpcClient,
|
|
7361
7361
|
args: [string, bigint],
|
|
7362
7362
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7363
7363
|
const tx = new Transaction();
|
|
@@ -7372,7 +7372,7 @@ export namespace validator {
|
|
|
7372
7372
|
);
|
|
7373
7373
|
}
|
|
7374
7374
|
export async function setCandidateGasPrice(
|
|
7375
|
-
client:
|
|
7375
|
+
client: SuiJsonRpcClient,
|
|
7376
7376
|
args: [string, validator_cap.ValidatorOperationCap, bigint],
|
|
7377
7377
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7378
7378
|
const tx = new Transaction();
|
|
@@ -7387,7 +7387,7 @@ export namespace validator {
|
|
|
7387
7387
|
);
|
|
7388
7388
|
}
|
|
7389
7389
|
export async function setVotingPower(
|
|
7390
|
-
client:
|
|
7390
|
+
client: SuiJsonRpcClient,
|
|
7391
7391
|
args: [string, bigint],
|
|
7392
7392
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7393
7393
|
const tx = new Transaction();
|
|
@@ -7402,7 +7402,7 @@ export namespace validator {
|
|
|
7402
7402
|
);
|
|
7403
7403
|
}
|
|
7404
7404
|
export async function stakeAmount(
|
|
7405
|
-
client:
|
|
7405
|
+
client: SuiJsonRpcClient,
|
|
7406
7406
|
args: [string],
|
|
7407
7407
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7408
7408
|
const tx = new Transaction();
|
|
@@ -7417,7 +7417,7 @@ export namespace validator {
|
|
|
7417
7417
|
);
|
|
7418
7418
|
}
|
|
7419
7419
|
export async function stakingPoolId(
|
|
7420
|
-
client:
|
|
7420
|
+
client: SuiJsonRpcClient,
|
|
7421
7421
|
args: [string],
|
|
7422
7422
|
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
|
7423
7423
|
const tx = new Transaction();
|
|
@@ -7432,7 +7432,7 @@ export namespace validator {
|
|
|
7432
7432
|
>(inspectRes);
|
|
7433
7433
|
}
|
|
7434
7434
|
export async function suiAddress(
|
|
7435
|
-
client:
|
|
7435
|
+
client: SuiJsonRpcClient,
|
|
7436
7436
|
args: [string],
|
|
7437
7437
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7438
7438
|
const tx = new Transaction();
|
|
@@ -7447,7 +7447,7 @@ export namespace validator {
|
|
|
7447
7447
|
);
|
|
7448
7448
|
}
|
|
7449
7449
|
export async function totalStake(
|
|
7450
|
-
client:
|
|
7450
|
+
client: SuiJsonRpcClient,
|
|
7451
7451
|
args: [string],
|
|
7452
7452
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7453
7453
|
const tx = new Transaction();
|
|
@@ -7462,7 +7462,7 @@ export namespace validator {
|
|
|
7462
7462
|
);
|
|
7463
7463
|
}
|
|
7464
7464
|
export async function totalStakeAmount(
|
|
7465
|
-
client:
|
|
7465
|
+
client: SuiJsonRpcClient,
|
|
7466
7466
|
args: [string],
|
|
7467
7467
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7468
7468
|
const tx = new Transaction();
|
|
@@ -7477,7 +7477,7 @@ export namespace validator {
|
|
|
7477
7477
|
);
|
|
7478
7478
|
}
|
|
7479
7479
|
export async function updateCandidateNetworkAddress(
|
|
7480
|
-
client:
|
|
7480
|
+
client: SuiJsonRpcClient,
|
|
7481
7481
|
args: [string, string[]],
|
|
7482
7482
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7483
7483
|
const tx = new Transaction();
|
|
@@ -7492,7 +7492,7 @@ export namespace validator {
|
|
|
7492
7492
|
);
|
|
7493
7493
|
}
|
|
7494
7494
|
export async function updateCandidateNetworkPubkey(
|
|
7495
|
-
client:
|
|
7495
|
+
client: SuiJsonRpcClient,
|
|
7496
7496
|
args: [string, string[]],
|
|
7497
7497
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7498
7498
|
const tx = new Transaction();
|
|
@@ -7507,7 +7507,7 @@ export namespace validator {
|
|
|
7507
7507
|
);
|
|
7508
7508
|
}
|
|
7509
7509
|
export async function updateCandidateP2pAddress(
|
|
7510
|
-
client:
|
|
7510
|
+
client: SuiJsonRpcClient,
|
|
7511
7511
|
args: [string, string[]],
|
|
7512
7512
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7513
7513
|
const tx = new Transaction();
|
|
@@ -7522,7 +7522,7 @@ export namespace validator {
|
|
|
7522
7522
|
);
|
|
7523
7523
|
}
|
|
7524
7524
|
export async function updateCandidatePrimaryAddress(
|
|
7525
|
-
client:
|
|
7525
|
+
client: SuiJsonRpcClient,
|
|
7526
7526
|
args: [string, string[]],
|
|
7527
7527
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7528
7528
|
const tx = new Transaction();
|
|
@@ -7537,7 +7537,7 @@ export namespace validator {
|
|
|
7537
7537
|
);
|
|
7538
7538
|
}
|
|
7539
7539
|
export async function updateCandidateProtocolPubkey(
|
|
7540
|
-
client:
|
|
7540
|
+
client: SuiJsonRpcClient,
|
|
7541
7541
|
args: [string, string[], string[]],
|
|
7542
7542
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7543
7543
|
const tx = new Transaction();
|
|
@@ -7552,7 +7552,7 @@ export namespace validator {
|
|
|
7552
7552
|
);
|
|
7553
7553
|
}
|
|
7554
7554
|
export async function updateCandidateWorkerAddress(
|
|
7555
|
-
client:
|
|
7555
|
+
client: SuiJsonRpcClient,
|
|
7556
7556
|
args: [string, string[]],
|
|
7557
7557
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7558
7558
|
const tx = new Transaction();
|
|
@@ -7567,7 +7567,7 @@ export namespace validator {
|
|
|
7567
7567
|
);
|
|
7568
7568
|
}
|
|
7569
7569
|
export async function updateCandidateWorkerPubkey(
|
|
7570
|
-
client:
|
|
7570
|
+
client: SuiJsonRpcClient,
|
|
7571
7571
|
args: [string, string[]],
|
|
7572
7572
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7573
7573
|
const tx = new Transaction();
|
|
@@ -7582,7 +7582,7 @@ export namespace validator {
|
|
|
7582
7582
|
);
|
|
7583
7583
|
}
|
|
7584
7584
|
export async function updateDescription(
|
|
7585
|
-
client:
|
|
7585
|
+
client: SuiJsonRpcClient,
|
|
7586
7586
|
args: [string, string[]],
|
|
7587
7587
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7588
7588
|
const tx = new Transaction();
|
|
@@ -7597,7 +7597,7 @@ export namespace validator {
|
|
|
7597
7597
|
);
|
|
7598
7598
|
}
|
|
7599
7599
|
export async function updateImageUrl(
|
|
7600
|
-
client:
|
|
7600
|
+
client: SuiJsonRpcClient,
|
|
7601
7601
|
args: [string, string[]],
|
|
7602
7602
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7603
7603
|
const tx = new Transaction();
|
|
@@ -7612,7 +7612,7 @@ export namespace validator {
|
|
|
7612
7612
|
);
|
|
7613
7613
|
}
|
|
7614
7614
|
export async function updateName(
|
|
7615
|
-
client:
|
|
7615
|
+
client: SuiJsonRpcClient,
|
|
7616
7616
|
args: [string, string[]],
|
|
7617
7617
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7618
7618
|
const tx = new Transaction();
|
|
@@ -7627,7 +7627,7 @@ export namespace validator {
|
|
|
7627
7627
|
);
|
|
7628
7628
|
}
|
|
7629
7629
|
export async function updateNextEpochNetworkAddress(
|
|
7630
|
-
client:
|
|
7630
|
+
client: SuiJsonRpcClient,
|
|
7631
7631
|
args: [string, string[]],
|
|
7632
7632
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7633
7633
|
const tx = new Transaction();
|
|
@@ -7642,7 +7642,7 @@ export namespace validator {
|
|
|
7642
7642
|
);
|
|
7643
7643
|
}
|
|
7644
7644
|
export async function updateNextEpochNetworkPubkey(
|
|
7645
|
-
client:
|
|
7645
|
+
client: SuiJsonRpcClient,
|
|
7646
7646
|
args: [string, string[]],
|
|
7647
7647
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7648
7648
|
const tx = new Transaction();
|
|
@@ -7657,7 +7657,7 @@ export namespace validator {
|
|
|
7657
7657
|
);
|
|
7658
7658
|
}
|
|
7659
7659
|
export async function updateNextEpochP2pAddress(
|
|
7660
|
-
client:
|
|
7660
|
+
client: SuiJsonRpcClient,
|
|
7661
7661
|
args: [string, string[]],
|
|
7662
7662
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7663
7663
|
const tx = new Transaction();
|
|
@@ -7672,7 +7672,7 @@ export namespace validator {
|
|
|
7672
7672
|
);
|
|
7673
7673
|
}
|
|
7674
7674
|
export async function updateNextEpochPrimaryAddress(
|
|
7675
|
-
client:
|
|
7675
|
+
client: SuiJsonRpcClient,
|
|
7676
7676
|
args: [string, string[]],
|
|
7677
7677
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7678
7678
|
const tx = new Transaction();
|
|
@@ -7687,7 +7687,7 @@ export namespace validator {
|
|
|
7687
7687
|
);
|
|
7688
7688
|
}
|
|
7689
7689
|
export async function updateNextEpochProtocolPubkey(
|
|
7690
|
-
client:
|
|
7690
|
+
client: SuiJsonRpcClient,
|
|
7691
7691
|
args: [string, string[], string[]],
|
|
7692
7692
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7693
7693
|
const tx = new Transaction();
|
|
@@ -7702,7 +7702,7 @@ export namespace validator {
|
|
|
7702
7702
|
);
|
|
7703
7703
|
}
|
|
7704
7704
|
export async function updateNextEpochWorkerAddress(
|
|
7705
|
-
client:
|
|
7705
|
+
client: SuiJsonRpcClient,
|
|
7706
7706
|
args: [string, string[]],
|
|
7707
7707
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7708
7708
|
const tx = new Transaction();
|
|
@@ -7717,7 +7717,7 @@ export namespace validator {
|
|
|
7717
7717
|
);
|
|
7718
7718
|
}
|
|
7719
7719
|
export async function updateNextEpochWorkerPubkey(
|
|
7720
|
-
client:
|
|
7720
|
+
client: SuiJsonRpcClient,
|
|
7721
7721
|
args: [string, string[]],
|
|
7722
7722
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7723
7723
|
const tx = new Transaction();
|
|
@@ -7732,7 +7732,7 @@ export namespace validator {
|
|
|
7732
7732
|
);
|
|
7733
7733
|
}
|
|
7734
7734
|
export async function updateProjectUrl(
|
|
7735
|
-
client:
|
|
7735
|
+
client: SuiJsonRpcClient,
|
|
7736
7736
|
args: [string, string[]],
|
|
7737
7737
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7738
7738
|
const tx = new Transaction();
|
|
@@ -7747,7 +7747,7 @@ export namespace validator {
|
|
|
7747
7747
|
);
|
|
7748
7748
|
}
|
|
7749
7749
|
export async function validateMetadata(
|
|
7750
|
-
client:
|
|
7750
|
+
client: SuiJsonRpcClient,
|
|
7751
7751
|
args: [string],
|
|
7752
7752
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7753
7753
|
const tx = new Transaction();
|
|
@@ -7762,7 +7762,7 @@ export namespace validator {
|
|
|
7762
7762
|
);
|
|
7763
7763
|
}
|
|
7764
7764
|
export async function validateMetadataBcs(
|
|
7765
|
-
client:
|
|
7765
|
+
client: SuiJsonRpcClient,
|
|
7766
7766
|
args: [string[]],
|
|
7767
7767
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7768
7768
|
const tx = new Transaction();
|
|
@@ -7777,7 +7777,7 @@ export namespace validator {
|
|
|
7777
7777
|
);
|
|
7778
7778
|
}
|
|
7779
7779
|
export async function votingPower(
|
|
7780
|
-
client:
|
|
7780
|
+
client: SuiJsonRpcClient,
|
|
7781
7781
|
args: [string],
|
|
7782
7782
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7783
7783
|
const tx = new Transaction();
|
|
@@ -7792,7 +7792,7 @@ export namespace validator {
|
|
|
7792
7792
|
);
|
|
7793
7793
|
}
|
|
7794
7794
|
export async function workerAddress(
|
|
7795
|
-
client:
|
|
7795
|
+
client: SuiJsonRpcClient,
|
|
7796
7796
|
args: [string],
|
|
7797
7797
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7798
7798
|
const tx = new Transaction();
|
|
@@ -7807,7 +7807,7 @@ export namespace validator {
|
|
|
7807
7807
|
);
|
|
7808
7808
|
}
|
|
7809
7809
|
export async function workerPubkeyBytes(
|
|
7810
|
-
client:
|
|
7810
|
+
client: SuiJsonRpcClient,
|
|
7811
7811
|
args: [string],
|
|
7812
7812
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7813
7813
|
const tx = new Transaction();
|
|
@@ -7916,7 +7916,7 @@ export namespace validator_cap {
|
|
|
7916
7916
|
}
|
|
7917
7917
|
export namespace view {
|
|
7918
7918
|
export async function intoVerified(
|
|
7919
|
-
client:
|
|
7919
|
+
client: SuiJsonRpcClient,
|
|
7920
7920
|
args: [string],
|
|
7921
7921
|
): Promise<TypedDevInspectResults<[validator_cap.ValidatorOperationCap]>> {
|
|
7922
7922
|
const tx = new Transaction();
|
|
@@ -7931,7 +7931,7 @@ export namespace validator_cap {
|
|
|
7931
7931
|
>(inspectRes);
|
|
7932
7932
|
}
|
|
7933
7933
|
export async function newUnverifiedValidatorOperationCapAndTransfer(
|
|
7934
|
-
client:
|
|
7934
|
+
client: SuiJsonRpcClient,
|
|
7935
7935
|
args: [string],
|
|
7936
7936
|
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
|
7937
7937
|
const tx = new Transaction();
|
|
@@ -7946,7 +7946,7 @@ export namespace validator_cap {
|
|
|
7946
7946
|
>(inspectRes);
|
|
7947
7947
|
}
|
|
7948
7948
|
export async function unverifiedOperationCapAddress(
|
|
7949
|
-
client:
|
|
7949
|
+
client: SuiJsonRpcClient,
|
|
7950
7950
|
args: [string],
|
|
7951
7951
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7952
7952
|
const tx = new Transaction();
|
|
@@ -7961,7 +7961,7 @@ export namespace validator_cap {
|
|
|
7961
7961
|
);
|
|
7962
7962
|
}
|
|
7963
7963
|
export async function verifiedOperationCapAddress(
|
|
7964
|
-
client:
|
|
7964
|
+
client: SuiJsonRpcClient,
|
|
7965
7965
|
args: [string],
|
|
7966
7966
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7967
7967
|
const tx = new Transaction();
|
|
@@ -8785,7 +8785,7 @@ export namespace validator_set {
|
|
|
8785
8785
|
}
|
|
8786
8786
|
export namespace view {
|
|
8787
8787
|
export async function activeValidatorAddresses(
|
|
8788
|
-
client:
|
|
8788
|
+
client: SuiJsonRpcClient,
|
|
8789
8789
|
args: [string],
|
|
8790
8790
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
8791
8791
|
const tx = new Transaction();
|
|
@@ -8800,7 +8800,7 @@ export namespace validator_set {
|
|
|
8800
8800
|
);
|
|
8801
8801
|
}
|
|
8802
8802
|
export async function activeValidators(
|
|
8803
|
-
client:
|
|
8803
|
+
client: SuiJsonRpcClient,
|
|
8804
8804
|
args: [string],
|
|
8805
8805
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8806
8806
|
const tx = new Transaction();
|
|
@@ -8815,7 +8815,7 @@ export namespace validator_set {
|
|
|
8815
8815
|
);
|
|
8816
8816
|
}
|
|
8817
8817
|
export async function advanceEpoch(
|
|
8818
|
-
client:
|
|
8818
|
+
client: SuiJsonRpcClient,
|
|
8819
8819
|
args: [string, string, string, string, bigint, bigint],
|
|
8820
8820
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8821
8821
|
const tx = new Transaction();
|
|
@@ -8830,7 +8830,7 @@ export namespace validator_set {
|
|
|
8830
8830
|
);
|
|
8831
8831
|
}
|
|
8832
8832
|
export async function assertNoPendingOrActiveDuplicates(
|
|
8833
|
-
client:
|
|
8833
|
+
client: SuiJsonRpcClient,
|
|
8834
8834
|
args: [string, string],
|
|
8835
8835
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8836
8836
|
const tx = new Transaction();
|
|
@@ -8845,7 +8845,7 @@ export namespace validator_set {
|
|
|
8845
8845
|
);
|
|
8846
8846
|
}
|
|
8847
8847
|
export async function calculateTotalStakes(
|
|
8848
|
-
client:
|
|
8848
|
+
client: SuiJsonRpcClient,
|
|
8849
8849
|
args: [string],
|
|
8850
8850
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
8851
8851
|
const tx = new Transaction();
|
|
@@ -8860,7 +8860,7 @@ export namespace validator_set {
|
|
|
8860
8860
|
);
|
|
8861
8861
|
}
|
|
8862
8862
|
export async function convertToFungibleStakedSui(
|
|
8863
|
-
client:
|
|
8863
|
+
client: SuiJsonRpcClient,
|
|
8864
8864
|
args: [string, staking_pool.StakedSui],
|
|
8865
8865
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
8866
8866
|
const tx = new Transaction();
|
|
@@ -8875,7 +8875,7 @@ export namespace validator_set {
|
|
|
8875
8875
|
>(inspectRes);
|
|
8876
8876
|
}
|
|
8877
8877
|
export async function deriveReferenceGasPrice(
|
|
8878
|
-
client:
|
|
8878
|
+
client: SuiJsonRpcClient,
|
|
8879
8879
|
args: [string],
|
|
8880
8880
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
8881
8881
|
const tx = new Transaction();
|
|
@@ -8890,7 +8890,7 @@ export namespace validator_set {
|
|
|
8890
8890
|
);
|
|
8891
8891
|
}
|
|
8892
8892
|
export async function getActiveOrPendingOrCandidateValidatorRef(
|
|
8893
|
-
client:
|
|
8893
|
+
client: SuiJsonRpcClient,
|
|
8894
8894
|
args: [string, string, number],
|
|
8895
8895
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8896
8896
|
const tx = new Transaction();
|
|
@@ -8905,7 +8905,7 @@ export namespace validator_set {
|
|
|
8905
8905
|
);
|
|
8906
8906
|
}
|
|
8907
8907
|
export async function getActiveValidatorRef(
|
|
8908
|
-
client:
|
|
8908
|
+
client: SuiJsonRpcClient,
|
|
8909
8909
|
args: [string, string],
|
|
8910
8910
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8911
8911
|
const tx = new Transaction();
|
|
@@ -8920,7 +8920,7 @@ export namespace validator_set {
|
|
|
8920
8920
|
);
|
|
8921
8921
|
}
|
|
8922
8922
|
export async function getPendingValidatorRef(
|
|
8923
|
-
client:
|
|
8923
|
+
client: SuiJsonRpcClient,
|
|
8924
8924
|
args: [string, string],
|
|
8925
8925
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8926
8926
|
const tx = new Transaction();
|
|
@@ -8935,7 +8935,7 @@ export namespace validator_set {
|
|
|
8935
8935
|
);
|
|
8936
8936
|
}
|
|
8937
8937
|
export async function getValidatorMut(
|
|
8938
|
-
client:
|
|
8938
|
+
client: SuiJsonRpcClient,
|
|
8939
8939
|
args: [string, string],
|
|
8940
8940
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8941
8941
|
const tx = new Transaction();
|
|
@@ -8950,7 +8950,7 @@ export namespace validator_set {
|
|
|
8950
8950
|
);
|
|
8951
8951
|
}
|
|
8952
8952
|
export async function getValidatorMutWithCtx(
|
|
8953
|
-
client:
|
|
8953
|
+
client: SuiJsonRpcClient,
|
|
8954
8954
|
args: [string],
|
|
8955
8955
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8956
8956
|
const tx = new Transaction();
|
|
@@ -8965,7 +8965,7 @@ export namespace validator_set {
|
|
|
8965
8965
|
);
|
|
8966
8966
|
}
|
|
8967
8967
|
export async function getValidatorMutWithCtxIncludingCandidates(
|
|
8968
|
-
client:
|
|
8968
|
+
client: SuiJsonRpcClient,
|
|
8969
8969
|
args: [string],
|
|
8970
8970
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8971
8971
|
const tx = new Transaction();
|
|
@@ -8980,7 +8980,7 @@ export namespace validator_set {
|
|
|
8980
8980
|
);
|
|
8981
8981
|
}
|
|
8982
8982
|
export async function getValidatorMutWithVerifiedCap(
|
|
8983
|
-
client:
|
|
8983
|
+
client: SuiJsonRpcClient,
|
|
8984
8984
|
args: [string, string, boolean],
|
|
8985
8985
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8986
8986
|
const tx = new Transaction();
|
|
@@ -8995,7 +8995,7 @@ export namespace validator_set {
|
|
|
8995
8995
|
);
|
|
8996
8996
|
}
|
|
8997
8997
|
export async function isActiveValidator(
|
|
8998
|
-
client:
|
|
8998
|
+
client: SuiJsonRpcClient,
|
|
8999
8999
|
args: [string, string],
|
|
9000
9000
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
9001
9001
|
const tx = new Transaction();
|
|
@@ -9010,7 +9010,7 @@ export namespace validator_set {
|
|
|
9010
9010
|
);
|
|
9011
9011
|
}
|
|
9012
9012
|
export async function isActiveValidatorBySuiAddress(
|
|
9013
|
-
client:
|
|
9013
|
+
client: SuiJsonRpcClient,
|
|
9014
9014
|
args: [string, string],
|
|
9015
9015
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
9016
9016
|
const tx = new Transaction();
|
|
@@ -9025,7 +9025,7 @@ export namespace validator_set {
|
|
|
9025
9025
|
);
|
|
9026
9026
|
}
|
|
9027
9027
|
export async function isAtRiskValidator(
|
|
9028
|
-
client:
|
|
9028
|
+
client: SuiJsonRpcClient,
|
|
9029
9029
|
args: [string, string],
|
|
9030
9030
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
9031
9031
|
const tx = new Transaction();
|
|
@@ -9040,7 +9040,7 @@ export namespace validator_set {
|
|
|
9040
9040
|
);
|
|
9041
9041
|
}
|
|
9042
9042
|
export async function isDuplicateValidator(
|
|
9043
|
-
client:
|
|
9043
|
+
client: SuiJsonRpcClient,
|
|
9044
9044
|
args: [string, string],
|
|
9045
9045
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
9046
9046
|
const tx = new Transaction();
|
|
@@ -9055,7 +9055,7 @@ export namespace validator_set {
|
|
|
9055
9055
|
);
|
|
9056
9056
|
}
|
|
9057
9057
|
export async function isInactiveValidator(
|
|
9058
|
-
client:
|
|
9058
|
+
client: SuiJsonRpcClient,
|
|
9059
9059
|
args: [string, _0x2.object$.ID],
|
|
9060
9060
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
9061
9061
|
const tx = new Transaction();
|
|
@@ -9070,7 +9070,7 @@ export namespace validator_set {
|
|
|
9070
9070
|
);
|
|
9071
9071
|
}
|
|
9072
9072
|
export async function isValidatorCandidate(
|
|
9073
|
-
client:
|
|
9073
|
+
client: SuiJsonRpcClient,
|
|
9074
9074
|
args: [string, string],
|
|
9075
9075
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
9076
9076
|
const tx = new Transaction();
|
|
@@ -9085,7 +9085,7 @@ export namespace validator_set {
|
|
|
9085
9085
|
);
|
|
9086
9086
|
}
|
|
9087
9087
|
export async function new$(
|
|
9088
|
-
client:
|
|
9088
|
+
client: SuiJsonRpcClient,
|
|
9089
9089
|
args: [string[]],
|
|
9090
9090
|
): Promise<TypedDevInspectResults<[validator_set.ValidatorSet]>> {
|
|
9091
9091
|
const tx = new Transaction();
|
|
@@ -9100,7 +9100,7 @@ export namespace validator_set {
|
|
|
9100
9100
|
>(inspectRes);
|
|
9101
9101
|
}
|
|
9102
9102
|
export async function nextEpochValidatorCount(
|
|
9103
|
-
client:
|
|
9103
|
+
client: SuiJsonRpcClient,
|
|
9104
9104
|
args: [string],
|
|
9105
9105
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9106
9106
|
const tx = new Transaction();
|
|
@@ -9115,7 +9115,7 @@ export namespace validator_set {
|
|
|
9115
9115
|
);
|
|
9116
9116
|
}
|
|
9117
9117
|
export async function poolExchangeRates(
|
|
9118
|
-
client:
|
|
9118
|
+
client: SuiJsonRpcClient,
|
|
9119
9119
|
args: [string, string],
|
|
9120
9120
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9121
9121
|
const tx = new Transaction();
|
|
@@ -9130,7 +9130,7 @@ export namespace validator_set {
|
|
|
9130
9130
|
);
|
|
9131
9131
|
}
|
|
9132
9132
|
export async function redeemFungibleStakedSui(
|
|
9133
|
-
client:
|
|
9133
|
+
client: SuiJsonRpcClient,
|
|
9134
9134
|
args: [string, staking_pool.FungibleStakedSui],
|
|
9135
9135
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
9136
9136
|
const tx = new Transaction();
|
|
@@ -9145,7 +9145,7 @@ export namespace validator_set {
|
|
|
9145
9145
|
>(inspectRes);
|
|
9146
9146
|
}
|
|
9147
9147
|
export async function requestAddStake(
|
|
9148
|
-
client:
|
|
9148
|
+
client: SuiJsonRpcClient,
|
|
9149
9149
|
args: [string, string, _0x2.balance.Balance<_0x2.sui.SUI>],
|
|
9150
9150
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
9151
9151
|
const tx = new Transaction();
|
|
@@ -9160,7 +9160,7 @@ export namespace validator_set {
|
|
|
9160
9160
|
>(inspectRes);
|
|
9161
9161
|
}
|
|
9162
9162
|
export async function requestAddValidator(
|
|
9163
|
-
client:
|
|
9163
|
+
client: SuiJsonRpcClient,
|
|
9164
9164
|
args: [string],
|
|
9165
9165
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9166
9166
|
const tx = new Transaction();
|
|
@@ -9175,7 +9175,7 @@ export namespace validator_set {
|
|
|
9175
9175
|
);
|
|
9176
9176
|
}
|
|
9177
9177
|
export async function requestAddValidatorCandidate(
|
|
9178
|
-
client:
|
|
9178
|
+
client: SuiJsonRpcClient,
|
|
9179
9179
|
args: [string, validator.Validator],
|
|
9180
9180
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9181
9181
|
const tx = new Transaction();
|
|
@@ -9190,7 +9190,7 @@ export namespace validator_set {
|
|
|
9190
9190
|
);
|
|
9191
9191
|
}
|
|
9192
9192
|
export async function requestRemoveValidator(
|
|
9193
|
-
client:
|
|
9193
|
+
client: SuiJsonRpcClient,
|
|
9194
9194
|
args: [string],
|
|
9195
9195
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9196
9196
|
const tx = new Transaction();
|
|
@@ -9205,7 +9205,7 @@ export namespace validator_set {
|
|
|
9205
9205
|
);
|
|
9206
9206
|
}
|
|
9207
9207
|
export async function requestRemoveValidatorCandidate(
|
|
9208
|
-
client:
|
|
9208
|
+
client: SuiJsonRpcClient,
|
|
9209
9209
|
args: [string],
|
|
9210
9210
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9211
9211
|
const tx = new Transaction();
|
|
@@ -9220,7 +9220,7 @@ export namespace validator_set {
|
|
|
9220
9220
|
);
|
|
9221
9221
|
}
|
|
9222
9222
|
export async function requestSetCommissionRate(
|
|
9223
|
-
client:
|
|
9223
|
+
client: SuiJsonRpcClient,
|
|
9224
9224
|
args: [string, bigint],
|
|
9225
9225
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9226
9226
|
const tx = new Transaction();
|
|
@@ -9235,7 +9235,7 @@ export namespace validator_set {
|
|
|
9235
9235
|
);
|
|
9236
9236
|
}
|
|
9237
9237
|
export async function requestWithdrawStake(
|
|
9238
|
-
client:
|
|
9238
|
+
client: SuiJsonRpcClient,
|
|
9239
9239
|
args: [string, staking_pool.StakedSui],
|
|
9240
9240
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
9241
9241
|
const tx = new Transaction();
|
|
@@ -9250,7 +9250,7 @@ export namespace validator_set {
|
|
|
9250
9250
|
>(inspectRes);
|
|
9251
9251
|
}
|
|
9252
9252
|
export async function stakingPoolMappings(
|
|
9253
|
-
client:
|
|
9253
|
+
client: SuiJsonRpcClient,
|
|
9254
9254
|
args: [string],
|
|
9255
9255
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9256
9256
|
const tx = new Transaction();
|
|
@@ -9265,7 +9265,7 @@ export namespace validator_set {
|
|
|
9265
9265
|
);
|
|
9266
9266
|
}
|
|
9267
9267
|
export async function sumVotingPowerByAddresses(
|
|
9268
|
-
client:
|
|
9268
|
+
client: SuiJsonRpcClient,
|
|
9269
9269
|
args: [string, string],
|
|
9270
9270
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9271
9271
|
const tx = new Transaction();
|
|
@@ -9280,7 +9280,7 @@ export namespace validator_set {
|
|
|
9280
9280
|
);
|
|
9281
9281
|
}
|
|
9282
9282
|
export async function totalStake(
|
|
9283
|
-
client:
|
|
9283
|
+
client: SuiJsonRpcClient,
|
|
9284
9284
|
args: [string],
|
|
9285
9285
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9286
9286
|
const tx = new Transaction();
|
|
@@ -9295,7 +9295,7 @@ export namespace validator_set {
|
|
|
9295
9295
|
);
|
|
9296
9296
|
}
|
|
9297
9297
|
export async function validatorAddressByPoolId(
|
|
9298
|
-
client:
|
|
9298
|
+
client: SuiJsonRpcClient,
|
|
9299
9299
|
args: [string, string],
|
|
9300
9300
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9301
9301
|
const tx = new Transaction();
|
|
@@ -9310,7 +9310,7 @@ export namespace validator_set {
|
|
|
9310
9310
|
);
|
|
9311
9311
|
}
|
|
9312
9312
|
export async function validatorByPoolId(
|
|
9313
|
-
client:
|
|
9313
|
+
client: SuiJsonRpcClient,
|
|
9314
9314
|
args: [string, string],
|
|
9315
9315
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9316
9316
|
const tx = new Transaction();
|
|
@@ -9325,7 +9325,7 @@ export namespace validator_set {
|
|
|
9325
9325
|
);
|
|
9326
9326
|
}
|
|
9327
9327
|
export async function validatorStakeAmount(
|
|
9328
|
-
client:
|
|
9328
|
+
client: SuiJsonRpcClient,
|
|
9329
9329
|
args: [string, string],
|
|
9330
9330
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9331
9331
|
const tx = new Transaction();
|
|
@@ -9340,7 +9340,7 @@ export namespace validator_set {
|
|
|
9340
9340
|
);
|
|
9341
9341
|
}
|
|
9342
9342
|
export async function validatorStakingPoolId(
|
|
9343
|
-
client:
|
|
9343
|
+
client: SuiJsonRpcClient,
|
|
9344
9344
|
args: [string, string],
|
|
9345
9345
|
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
|
9346
9346
|
const tx = new Transaction();
|
|
@@ -9355,7 +9355,7 @@ export namespace validator_set {
|
|
|
9355
9355
|
>(inspectRes);
|
|
9356
9356
|
}
|
|
9357
9357
|
export async function validatorTotalStakeAmount(
|
|
9358
|
-
client:
|
|
9358
|
+
client: SuiJsonRpcClient,
|
|
9359
9359
|
args: [string, string],
|
|
9360
9360
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9361
9361
|
const tx = new Transaction();
|
|
@@ -9370,7 +9370,7 @@ export namespace validator_set {
|
|
|
9370
9370
|
);
|
|
9371
9371
|
}
|
|
9372
9372
|
export async function validatorVotingPower(
|
|
9373
|
-
client:
|
|
9373
|
+
client: SuiJsonRpcClient,
|
|
9374
9374
|
args: [string, string],
|
|
9375
9375
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9376
9376
|
const tx = new Transaction();
|
|
@@ -9385,7 +9385,7 @@ export namespace validator_set {
|
|
|
9385
9385
|
);
|
|
9386
9386
|
}
|
|
9387
9387
|
export async function verifyCap(
|
|
9388
|
-
client:
|
|
9388
|
+
client: SuiJsonRpcClient,
|
|
9389
9389
|
args: [string, string, number],
|
|
9390
9390
|
): Promise<TypedDevInspectResults<[validator_cap.ValidatorOperationCap]>> {
|
|
9391
9391
|
const tx = new Transaction();
|
|
@@ -9462,7 +9462,7 @@ export namespace validator_wrapper {
|
|
|
9462
9462
|
}
|
|
9463
9463
|
export namespace view {
|
|
9464
9464
|
export async function createV1(
|
|
9465
|
-
client:
|
|
9465
|
+
client: SuiJsonRpcClient,
|
|
9466
9466
|
args: [validator.Validator],
|
|
9467
9467
|
): Promise<TypedDevInspectResults<[validator_wrapper.ValidatorWrapper]>> {
|
|
9468
9468
|
const tx = new Transaction();
|
|
@@ -9477,7 +9477,7 @@ export namespace validator_wrapper {
|
|
|
9477
9477
|
>(inspectRes);
|
|
9478
9478
|
}
|
|
9479
9479
|
export async function destroy(
|
|
9480
|
-
client:
|
|
9480
|
+
client: SuiJsonRpcClient,
|
|
9481
9481
|
args: [validator_wrapper.ValidatorWrapper],
|
|
9482
9482
|
): Promise<TypedDevInspectResults<[validator.Validator]>> {
|
|
9483
9483
|
const tx = new Transaction();
|
|
@@ -9492,7 +9492,7 @@ export namespace validator_wrapper {
|
|
|
9492
9492
|
>(inspectRes);
|
|
9493
9493
|
}
|
|
9494
9494
|
export async function loadValidatorMaybeUpgrade(
|
|
9495
|
-
client:
|
|
9495
|
+
client: SuiJsonRpcClient,
|
|
9496
9496
|
args: [string],
|
|
9497
9497
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9498
9498
|
const tx = new Transaction();
|
|
@@ -9601,7 +9601,7 @@ export namespace voting_power {
|
|
|
9601
9601
|
}
|
|
9602
9602
|
export namespace view {
|
|
9603
9603
|
export async function deriveRawVotingPower(
|
|
9604
|
-
client:
|
|
9604
|
+
client: SuiJsonRpcClient,
|
|
9605
9605
|
args: [bigint, bigint],
|
|
9606
9606
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9607
9607
|
const tx = new Transaction();
|
|
@@ -9616,7 +9616,7 @@ export namespace voting_power {
|
|
|
9616
9616
|
);
|
|
9617
9617
|
}
|
|
9618
9618
|
export async function quorumThreshold(
|
|
9619
|
-
client:
|
|
9619
|
+
client: SuiJsonRpcClient,
|
|
9620
9620
|
args: [],
|
|
9621
9621
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9622
9622
|
const tx = new Transaction();
|
|
@@ -9631,7 +9631,7 @@ export namespace voting_power {
|
|
|
9631
9631
|
);
|
|
9632
9632
|
}
|
|
9633
9633
|
export async function setVotingPower(
|
|
9634
|
-
client:
|
|
9634
|
+
client: SuiJsonRpcClient,
|
|
9635
9635
|
args: [string, bigint],
|
|
9636
9636
|
): Promise<TypedDevInspectResults<[]>> {
|
|
9637
9637
|
const tx = new Transaction();
|
|
@@ -9646,7 +9646,7 @@ export namespace voting_power {
|
|
|
9646
9646
|
);
|
|
9647
9647
|
}
|
|
9648
9648
|
export async function totalVotingPower(
|
|
9649
|
-
client:
|
|
9649
|
+
client: SuiJsonRpcClient,
|
|
9650
9650
|
args: [],
|
|
9651
9651
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
9652
9652
|
const tx = new Transaction();
|