@sentio/sdk 3.3.0 → 3.4.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/builtin/0x1.d.ts +111 -0
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +131 -1
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.js +1 -1
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.js +1 -1
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/iota/builtin/0x2.d.ts +573 -0
- package/lib/iota/builtin/0x2.d.ts.map +1 -1
- package/lib/iota/builtin/0x2.js +3905 -1823
- package/lib/iota/builtin/0x2.js.map +1 -1
- package/lib/iota/builtin/0x3.d.ts +46 -7
- package/lib/iota/builtin/0x3.d.ts.map +1 -1
- package/lib/iota/builtin/0x3.js +16 -7
- package/lib/iota/builtin/0x3.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +354 -197
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +1599 -67
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +1130 -623
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +2105 -79
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +305 -269
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +92 -1
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/context.d.ts +4 -4
- package/lib/sui/context.d.ts.map +1 -1
- package/lib/sui/ext/move-dex.d.ts +1 -1
- package/lib/sui/ext/move-dex.d.ts.map +1 -1
- package/lib/sui/models.d.ts +1 -1
- package/lib/sui/models.d.ts.map +1 -1
- package/lib/sui/network.d.ts +2 -2
- package/lib/sui/network.d.ts.map +1 -1
- package/lib/sui/network.js +13 -2
- package/lib/sui/network.js.map +1 -1
- package/lib/sui/sui-object-processor-template.d.ts +1 -1
- package/lib/sui/sui-object-processor-template.d.ts.map +1 -1
- package/lib/sui/sui-object-processor.d.ts +1 -1
- package/lib/sui/sui-object-processor.d.ts.map +1 -1
- package/lib/sui/sui-processor.d.ts +1 -1
- package/lib/sui/sui-processor.d.ts.map +1 -1
- package/lib/sui/utils.d.ts +1 -1
- package/lib/sui/utils.d.ts.map +1 -1
- package/lib/testing/sui-facet.d.ts +1 -1
- package/lib/testing/sui-facet.d.ts.map +1 -1
- package/package.json +11 -11
- package/src/aptos/abis/0x1.json +1694 -323
- package/src/aptos/abis/0x3.json +75 -5
- package/src/aptos/abis/0x4.json +48 -20
- package/src/aptos/builtin/0x1.ts +233 -1
- package/src/aptos/builtin/0x3.ts +1 -1
- package/src/aptos/builtin/0x4.ts +1 -1
- package/src/iota/abis/0x2.json +8847 -5376
- package/src/iota/abis/0x3.json +25 -2
- package/src/iota/builtin/0x2.ts +4722 -1344
- package/src/iota/builtin/0x3.ts +60 -11
- package/src/sui/abis/0x1.json +1643 -220
- package/src/sui/abis/0x2.json +3768 -372
- package/src/sui/abis/0x3.json +114 -0
- package/src/sui/builtin/0x1.ts +2448 -333
- package/src/sui/builtin/0x2.ts +4356 -1214
- package/src/sui/builtin/0x3.ts +449 -270
- package/src/sui/codegen/codegen.ts +1 -1
- package/src/sui/context.ts +5 -5
- package/src/sui/ext/coin.ts +1 -1
- package/src/sui/ext/move-dex.ts +1 -1
- package/src/sui/models.ts +1 -1
- package/src/sui/network.ts +11 -3
- package/src/sui/sui-object-processor-template.ts +1 -1
- package/src/sui/sui-object-processor.ts +1 -1
- package/src/sui/sui-processor.ts +1 -1
- package/src/sui/utils.ts +1 -1
- package/src/testing/sui-facet.ts +1 -1
package/src/sui/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,
|
|
@@ -299,7 +299,7 @@ export namespace stake_subsidy {
|
|
|
299
299
|
}
|
|
300
300
|
export namespace view {
|
|
301
301
|
export async function advanceEpoch(
|
|
302
|
-
client:
|
|
302
|
+
client: SuiJsonRpcClient,
|
|
303
303
|
args: [string],
|
|
304
304
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
305
305
|
const tx = new Transaction();
|
|
@@ -314,7 +314,7 @@ export namespace stake_subsidy {
|
|
|
314
314
|
>(inspectRes);
|
|
315
315
|
}
|
|
316
316
|
export async function create(
|
|
317
|
-
client:
|
|
317
|
+
client: SuiJsonRpcClient,
|
|
318
318
|
args: [_0x2.balance.Balance<_0x2.sui.SUI>, bigint, bigint, number],
|
|
319
319
|
): Promise<TypedDevInspectResults<[stake_subsidy.StakeSubsidy]>> {
|
|
320
320
|
const tx = new Transaction();
|
|
@@ -329,7 +329,7 @@ export namespace stake_subsidy {
|
|
|
329
329
|
>(inspectRes);
|
|
330
330
|
}
|
|
331
331
|
export async function currentEpochSubsidyAmount(
|
|
332
|
-
client:
|
|
332
|
+
client: SuiJsonRpcClient,
|
|
333
333
|
args: [string],
|
|
334
334
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
335
335
|
const tx = new Transaction();
|
|
@@ -344,7 +344,7 @@ export namespace stake_subsidy {
|
|
|
344
344
|
);
|
|
345
345
|
}
|
|
346
346
|
export async function getDistributionCounter(
|
|
347
|
-
client:
|
|
347
|
+
client: SuiJsonRpcClient,
|
|
348
348
|
args: [string],
|
|
349
349
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
350
350
|
const tx = new Transaction();
|
|
@@ -1102,7 +1102,7 @@ export namespace staking_pool {
|
|
|
1102
1102
|
}
|
|
1103
1103
|
export namespace view {
|
|
1104
1104
|
export async function activateStakingPool(
|
|
1105
|
-
client:
|
|
1105
|
+
client: SuiJsonRpcClient,
|
|
1106
1106
|
args: [string, bigint],
|
|
1107
1107
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1108
1108
|
const tx = new Transaction();
|
|
@@ -1117,7 +1117,7 @@ export namespace staking_pool {
|
|
|
1117
1117
|
);
|
|
1118
1118
|
}
|
|
1119
1119
|
export async function activationEpoch(
|
|
1120
|
-
client:
|
|
1120
|
+
client: SuiJsonRpcClient,
|
|
1121
1121
|
args: [string],
|
|
1122
1122
|
): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>> {
|
|
1123
1123
|
const tx = new Transaction();
|
|
@@ -1132,7 +1132,7 @@ export namespace staking_pool {
|
|
|
1132
1132
|
>(inspectRes);
|
|
1133
1133
|
}
|
|
1134
1134
|
export async function calculateRewards(
|
|
1135
|
-
client:
|
|
1135
|
+
client: SuiJsonRpcClient,
|
|
1136
1136
|
args: [string, string, bigint],
|
|
1137
1137
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1138
1138
|
const tx = new Transaction();
|
|
@@ -1147,7 +1147,7 @@ export namespace staking_pool {
|
|
|
1147
1147
|
);
|
|
1148
1148
|
}
|
|
1149
1149
|
export async function convertToFungibleStakedSui(
|
|
1150
|
-
client:
|
|
1150
|
+
client: SuiJsonRpcClient,
|
|
1151
1151
|
args: [string, staking_pool.StakedSui],
|
|
1152
1152
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
1153
1153
|
const tx = new Transaction();
|
|
@@ -1162,7 +1162,7 @@ export namespace staking_pool {
|
|
|
1162
1162
|
>(inspectRes);
|
|
1163
1163
|
}
|
|
1164
1164
|
export async function deactivateStakingPool(
|
|
1165
|
-
client:
|
|
1165
|
+
client: SuiJsonRpcClient,
|
|
1166
1166
|
args: [string, bigint],
|
|
1167
1167
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1168
1168
|
const tx = new Transaction();
|
|
@@ -1177,7 +1177,7 @@ export namespace staking_pool {
|
|
|
1177
1177
|
);
|
|
1178
1178
|
}
|
|
1179
1179
|
export async function depositRewards(
|
|
1180
|
-
client:
|
|
1180
|
+
client: SuiJsonRpcClient,
|
|
1181
1181
|
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>],
|
|
1182
1182
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1183
1183
|
const tx = new Transaction();
|
|
@@ -1192,7 +1192,7 @@ export namespace staking_pool {
|
|
|
1192
1192
|
);
|
|
1193
1193
|
}
|
|
1194
1194
|
export async function exchangeRates(
|
|
1195
|
-
client:
|
|
1195
|
+
client: SuiJsonRpcClient,
|
|
1196
1196
|
args: [string],
|
|
1197
1197
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
1198
1198
|
const tx = new Transaction();
|
|
@@ -1207,7 +1207,7 @@ export namespace staking_pool {
|
|
|
1207
1207
|
);
|
|
1208
1208
|
}
|
|
1209
1209
|
export async function fungibleStakedSuiPoolId(
|
|
1210
|
-
client:
|
|
1210
|
+
client: SuiJsonRpcClient,
|
|
1211
1211
|
args: [string],
|
|
1212
1212
|
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
|
1213
1213
|
const tx = new Transaction();
|
|
@@ -1222,7 +1222,7 @@ export namespace staking_pool {
|
|
|
1222
1222
|
>(inspectRes);
|
|
1223
1223
|
}
|
|
1224
1224
|
export async function fungibleStakedSuiValue(
|
|
1225
|
-
client:
|
|
1225
|
+
client: SuiJsonRpcClient,
|
|
1226
1226
|
args: [string],
|
|
1227
1227
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1228
1228
|
const tx = new Transaction();
|
|
@@ -1237,7 +1237,7 @@ export namespace staking_pool {
|
|
|
1237
1237
|
);
|
|
1238
1238
|
}
|
|
1239
1239
|
export async function isEqualStakingMetadata(
|
|
1240
|
-
client:
|
|
1240
|
+
client: SuiJsonRpcClient,
|
|
1241
1241
|
args: [string, string],
|
|
1242
1242
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1243
1243
|
const tx = new Transaction();
|
|
@@ -1252,7 +1252,7 @@ export namespace staking_pool {
|
|
|
1252
1252
|
);
|
|
1253
1253
|
}
|
|
1254
1254
|
export async function isInactive(
|
|
1255
|
-
client:
|
|
1255
|
+
client: SuiJsonRpcClient,
|
|
1256
1256
|
args: [string],
|
|
1257
1257
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1258
1258
|
const tx = new Transaction();
|
|
@@ -1267,7 +1267,7 @@ export namespace staking_pool {
|
|
|
1267
1267
|
);
|
|
1268
1268
|
}
|
|
1269
1269
|
export async function isPreactive(
|
|
1270
|
-
client:
|
|
1270
|
+
client: SuiJsonRpcClient,
|
|
1271
1271
|
args: [string],
|
|
1272
1272
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
1273
1273
|
const tx = new Transaction();
|
|
@@ -1282,7 +1282,7 @@ export namespace staking_pool {
|
|
|
1282
1282
|
);
|
|
1283
1283
|
}
|
|
1284
1284
|
export async function joinFungibleStakedSui(
|
|
1285
|
-
client:
|
|
1285
|
+
client: SuiJsonRpcClient,
|
|
1286
1286
|
args: [string, staking_pool.FungibleStakedSui],
|
|
1287
1287
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1288
1288
|
const tx = new Transaction();
|
|
@@ -1297,7 +1297,7 @@ export namespace staking_pool {
|
|
|
1297
1297
|
);
|
|
1298
1298
|
}
|
|
1299
1299
|
export async function joinStakedSui(
|
|
1300
|
-
client:
|
|
1300
|
+
client: SuiJsonRpcClient,
|
|
1301
1301
|
args: [string, staking_pool.StakedSui],
|
|
1302
1302
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1303
1303
|
const tx = new Transaction();
|
|
@@ -1312,7 +1312,7 @@ export namespace staking_pool {
|
|
|
1312
1312
|
);
|
|
1313
1313
|
}
|
|
1314
1314
|
export async function new$(
|
|
1315
|
-
client:
|
|
1315
|
+
client: SuiJsonRpcClient,
|
|
1316
1316
|
args: [],
|
|
1317
1317
|
): Promise<TypedDevInspectResults<[staking_pool.StakingPool]>> {
|
|
1318
1318
|
const tx = new Transaction();
|
|
@@ -1327,7 +1327,7 @@ export namespace staking_pool {
|
|
|
1327
1327
|
>(inspectRes);
|
|
1328
1328
|
}
|
|
1329
1329
|
export async function pendingStakeAmount(
|
|
1330
|
-
client:
|
|
1330
|
+
client: SuiJsonRpcClient,
|
|
1331
1331
|
args: [string],
|
|
1332
1332
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1333
1333
|
const tx = new Transaction();
|
|
@@ -1342,7 +1342,7 @@ export namespace staking_pool {
|
|
|
1342
1342
|
);
|
|
1343
1343
|
}
|
|
1344
1344
|
export async function pendingStakeWithdrawAmount(
|
|
1345
|
-
client:
|
|
1345
|
+
client: SuiJsonRpcClient,
|
|
1346
1346
|
args: [string],
|
|
1347
1347
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1348
1348
|
const tx = new Transaction();
|
|
@@ -1357,7 +1357,7 @@ export namespace staking_pool {
|
|
|
1357
1357
|
);
|
|
1358
1358
|
}
|
|
1359
1359
|
export async function poolId(
|
|
1360
|
-
client:
|
|
1360
|
+
client: SuiJsonRpcClient,
|
|
1361
1361
|
args: [string],
|
|
1362
1362
|
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
|
1363
1363
|
const tx = new Transaction();
|
|
@@ -1372,7 +1372,7 @@ export namespace staking_pool {
|
|
|
1372
1372
|
>(inspectRes);
|
|
1373
1373
|
}
|
|
1374
1374
|
export async function poolTokenAmount(
|
|
1375
|
-
client:
|
|
1375
|
+
client: SuiJsonRpcClient,
|
|
1376
1376
|
args: [string],
|
|
1377
1377
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1378
1378
|
const tx = new Transaction();
|
|
@@ -1387,7 +1387,7 @@ export namespace staking_pool {
|
|
|
1387
1387
|
);
|
|
1388
1388
|
}
|
|
1389
1389
|
export async function poolTokenExchangeRateAtEpoch(
|
|
1390
|
-
client:
|
|
1390
|
+
client: SuiJsonRpcClient,
|
|
1391
1391
|
args: [string, bigint],
|
|
1392
1392
|
): Promise<TypedDevInspectResults<[staking_pool.PoolTokenExchangeRate]>> {
|
|
1393
1393
|
const tx = new Transaction();
|
|
@@ -1402,7 +1402,7 @@ export namespace staking_pool {
|
|
|
1402
1402
|
>(inspectRes);
|
|
1403
1403
|
}
|
|
1404
1404
|
export async function processPendingStake(
|
|
1405
|
-
client:
|
|
1405
|
+
client: SuiJsonRpcClient,
|
|
1406
1406
|
args: [string],
|
|
1407
1407
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1408
1408
|
const tx = new Transaction();
|
|
@@ -1417,7 +1417,7 @@ export namespace staking_pool {
|
|
|
1417
1417
|
);
|
|
1418
1418
|
}
|
|
1419
1419
|
export async function processPendingStakesAndWithdraws(
|
|
1420
|
-
client:
|
|
1420
|
+
client: SuiJsonRpcClient,
|
|
1421
1421
|
args: [string],
|
|
1422
1422
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1423
1423
|
const tx = new Transaction();
|
|
@@ -1432,7 +1432,7 @@ export namespace staking_pool {
|
|
|
1432
1432
|
);
|
|
1433
1433
|
}
|
|
1434
1434
|
export async function redeemFungibleStakedSui(
|
|
1435
|
-
client:
|
|
1435
|
+
client: SuiJsonRpcClient,
|
|
1436
1436
|
args: [string, staking_pool.FungibleStakedSui],
|
|
1437
1437
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
1438
1438
|
const tx = new Transaction();
|
|
@@ -1447,7 +1447,7 @@ export namespace staking_pool {
|
|
|
1447
1447
|
>(inspectRes);
|
|
1448
1448
|
}
|
|
1449
1449
|
export async function requestAddStake(
|
|
1450
|
-
client:
|
|
1450
|
+
client: SuiJsonRpcClient,
|
|
1451
1451
|
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, bigint],
|
|
1452
1452
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
1453
1453
|
const tx = new Transaction();
|
|
@@ -1462,7 +1462,7 @@ export namespace staking_pool {
|
|
|
1462
1462
|
>(inspectRes);
|
|
1463
1463
|
}
|
|
1464
1464
|
export async function requestWithdrawStake(
|
|
1465
|
-
client:
|
|
1465
|
+
client: SuiJsonRpcClient,
|
|
1466
1466
|
args: [string, staking_pool.StakedSui],
|
|
1467
1467
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
1468
1468
|
const tx = new Transaction();
|
|
@@ -1477,7 +1477,7 @@ export namespace staking_pool {
|
|
|
1477
1477
|
>(inspectRes);
|
|
1478
1478
|
}
|
|
1479
1479
|
export async function split(
|
|
1480
|
-
client:
|
|
1480
|
+
client: SuiJsonRpcClient,
|
|
1481
1481
|
args: [string, bigint],
|
|
1482
1482
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
1483
1483
|
const tx = new Transaction();
|
|
@@ -1492,7 +1492,7 @@ export namespace staking_pool {
|
|
|
1492
1492
|
>(inspectRes);
|
|
1493
1493
|
}
|
|
1494
1494
|
export async function splitFungibleStakedSui(
|
|
1495
|
-
client:
|
|
1495
|
+
client: SuiJsonRpcClient,
|
|
1496
1496
|
args: [string, bigint],
|
|
1497
1497
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
1498
1498
|
const tx = new Transaction();
|
|
@@ -1507,7 +1507,7 @@ export namespace staking_pool {
|
|
|
1507
1507
|
>(inspectRes);
|
|
1508
1508
|
}
|
|
1509
1509
|
export async function splitStakedSui(
|
|
1510
|
-
client:
|
|
1510
|
+
client: SuiJsonRpcClient,
|
|
1511
1511
|
args: [string, bigint],
|
|
1512
1512
|
): Promise<TypedDevInspectResults<[]>> {
|
|
1513
1513
|
const tx = new Transaction();
|
|
@@ -1522,7 +1522,7 @@ export namespace staking_pool {
|
|
|
1522
1522
|
);
|
|
1523
1523
|
}
|
|
1524
1524
|
export async function stakeActivationEpoch(
|
|
1525
|
-
client:
|
|
1525
|
+
client: SuiJsonRpcClient,
|
|
1526
1526
|
args: [string],
|
|
1527
1527
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1528
1528
|
const tx = new Transaction();
|
|
@@ -1537,7 +1537,7 @@ export namespace staking_pool {
|
|
|
1537
1537
|
);
|
|
1538
1538
|
}
|
|
1539
1539
|
export async function stakedSuiAmount(
|
|
1540
|
-
client:
|
|
1540
|
+
client: SuiJsonRpcClient,
|
|
1541
1541
|
args: [string],
|
|
1542
1542
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1543
1543
|
const tx = new Transaction();
|
|
@@ -1552,7 +1552,7 @@ export namespace staking_pool {
|
|
|
1552
1552
|
);
|
|
1553
1553
|
}
|
|
1554
1554
|
export async function suiAmount(
|
|
1555
|
-
client:
|
|
1555
|
+
client: SuiJsonRpcClient,
|
|
1556
1556
|
args: [string],
|
|
1557
1557
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1558
1558
|
const tx = new Transaction();
|
|
@@ -1567,7 +1567,7 @@ export namespace staking_pool {
|
|
|
1567
1567
|
);
|
|
1568
1568
|
}
|
|
1569
1569
|
export async function suiBalance(
|
|
1570
|
-
client:
|
|
1570
|
+
client: SuiJsonRpcClient,
|
|
1571
1571
|
args: [string],
|
|
1572
1572
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1573
1573
|
const tx = new Transaction();
|
|
@@ -1582,7 +1582,7 @@ export namespace staking_pool {
|
|
|
1582
1582
|
);
|
|
1583
1583
|
}
|
|
1584
1584
|
export async function withdrawFromPrincipal(
|
|
1585
|
-
client:
|
|
1585
|
+
client: SuiJsonRpcClient,
|
|
1586
1586
|
args: [string, staking_pool.StakedSui],
|
|
1587
1587
|
): Promise<
|
|
1588
1588
|
TypedDevInspectResults<[bigint, _0x2.balance.Balance<_0x2.sui.SUI>]>
|
|
@@ -1705,7 +1705,7 @@ export namespace storage_fund {
|
|
|
1705
1705
|
}
|
|
1706
1706
|
export namespace view {
|
|
1707
1707
|
export async function advanceEpoch(
|
|
1708
|
-
client:
|
|
1708
|
+
client: SuiJsonRpcClient,
|
|
1709
1709
|
args: [
|
|
1710
1710
|
string,
|
|
1711
1711
|
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
@@ -1727,7 +1727,7 @@ export namespace storage_fund {
|
|
|
1727
1727
|
>(inspectRes);
|
|
1728
1728
|
}
|
|
1729
1729
|
export async function new$(
|
|
1730
|
-
client:
|
|
1730
|
+
client: SuiJsonRpcClient,
|
|
1731
1731
|
args: [_0x2.balance.Balance<_0x2.sui.SUI>],
|
|
1732
1732
|
): Promise<TypedDevInspectResults<[storage_fund.StorageFund]>> {
|
|
1733
1733
|
const tx = new Transaction();
|
|
@@ -1742,7 +1742,7 @@ export namespace storage_fund {
|
|
|
1742
1742
|
>(inspectRes);
|
|
1743
1743
|
}
|
|
1744
1744
|
export async function totalBalance(
|
|
1745
|
-
client:
|
|
1745
|
+
client: SuiJsonRpcClient,
|
|
1746
1746
|
args: [string],
|
|
1747
1747
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1748
1748
|
const tx = new Transaction();
|
|
@@ -1757,7 +1757,7 @@ export namespace storage_fund {
|
|
|
1757
1757
|
);
|
|
1758
1758
|
}
|
|
1759
1759
|
export async function totalObjectStorageRebates(
|
|
1760
|
-
client:
|
|
1760
|
+
client: SuiJsonRpcClient,
|
|
1761
1761
|
args: [string],
|
|
1762
1762
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
1763
1763
|
const tx = new Transaction();
|
|
@@ -2478,9 +2478,50 @@ export class sui_system extends SuiBaseProcessor {
|
|
|
2478
2478
|
);
|
|
2479
2479
|
return this;
|
|
2480
2480
|
}
|
|
2481
|
+
|
|
2482
|
+
onEventAccumulatorStorageCostKey(
|
|
2483
|
+
func: (
|
|
2484
|
+
event: sui_system.AccumulatorStorageCostKeyInstance,
|
|
2485
|
+
ctx: SuiContext,
|
|
2486
|
+
) => void,
|
|
2487
|
+
handlerOptions?: HandlerOptions<
|
|
2488
|
+
MoveFetchConfig,
|
|
2489
|
+
sui_system.AccumulatorStorageCostKeyInstance
|
|
2490
|
+
>,
|
|
2491
|
+
eventFilter?: Omit<EventFilter, "type" | "account">,
|
|
2492
|
+
): sui_system {
|
|
2493
|
+
this.onMoveEvent(
|
|
2494
|
+
func,
|
|
2495
|
+
{ ...(eventFilter ?? {}), type: "sui_system::AccumulatorStorageCostKey" },
|
|
2496
|
+
handlerOptions,
|
|
2497
|
+
);
|
|
2498
|
+
return this;
|
|
2499
|
+
}
|
|
2481
2500
|
}
|
|
2482
2501
|
|
|
2483
2502
|
export namespace sui_system {
|
|
2503
|
+
export interface AccumulatorStorageCostKey {
|
|
2504
|
+
dummy_field: boolean;
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2507
|
+
export namespace AccumulatorStorageCostKey {
|
|
2508
|
+
export const TYPE_QNAME = "0x3::sui_system::AccumulatorStorageCostKey";
|
|
2509
|
+
|
|
2510
|
+
const TYPE = new TypeDescriptor<AccumulatorStorageCostKey>(
|
|
2511
|
+
AccumulatorStorageCostKey.TYPE_QNAME,
|
|
2512
|
+
);
|
|
2513
|
+
|
|
2514
|
+
export function type(): TypeDescriptor<AccumulatorStorageCostKey> {
|
|
2515
|
+
return TYPE.apply();
|
|
2516
|
+
}
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
export type AccumulatorStorageCostKeyInstance =
|
|
2520
|
+
TypedEventInstance<AccumulatorStorageCostKey> & {
|
|
2521
|
+
data_decoded: AccumulatorStorageCostKey;
|
|
2522
|
+
type_arguments: [];
|
|
2523
|
+
};
|
|
2524
|
+
|
|
2484
2525
|
export interface SuiSystemState {
|
|
2485
2526
|
id: _0x2.object$.UID;
|
|
2486
2527
|
version: bigint;
|
|
@@ -3293,7 +3334,7 @@ export namespace sui_system {
|
|
|
3293
3334
|
}
|
|
3294
3335
|
export namespace view {
|
|
3295
3336
|
export async function activeValidatorAddresses(
|
|
3296
|
-
client:
|
|
3337
|
+
client: SuiJsonRpcClient,
|
|
3297
3338
|
args: [string],
|
|
3298
3339
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
3299
3340
|
const tx = new Transaction();
|
|
@@ -3308,7 +3349,7 @@ export namespace sui_system {
|
|
|
3308
3349
|
);
|
|
3309
3350
|
}
|
|
3310
3351
|
export async function activeValidatorAddressesRef(
|
|
3311
|
-
client:
|
|
3352
|
+
client: SuiJsonRpcClient,
|
|
3312
3353
|
args: [string],
|
|
3313
3354
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
3314
3355
|
const tx = new Transaction();
|
|
@@ -3323,7 +3364,7 @@ export namespace sui_system {
|
|
|
3323
3364
|
);
|
|
3324
3365
|
}
|
|
3325
3366
|
export async function activeValidatorVotingPowers(
|
|
3326
|
-
client:
|
|
3367
|
+
client: SuiJsonRpcClient,
|
|
3327
3368
|
args: [string],
|
|
3328
3369
|
): Promise<TypedDevInspectResults<[_0x2.vec_map.VecMap<string, bigint>]>> {
|
|
3329
3370
|
const tx = new Transaction();
|
|
@@ -3338,7 +3379,7 @@ export namespace sui_system {
|
|
|
3338
3379
|
>(inspectRes);
|
|
3339
3380
|
}
|
|
3340
3381
|
export async function calculateRewards(
|
|
3341
|
-
client:
|
|
3382
|
+
client: SuiJsonRpcClient,
|
|
3342
3383
|
args: [string, string],
|
|
3343
3384
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
3344
3385
|
const tx = new Transaction();
|
|
@@ -3353,7 +3394,7 @@ export namespace sui_system {
|
|
|
3353
3394
|
);
|
|
3354
3395
|
}
|
|
3355
3396
|
export async function convertToFungibleStakedSui(
|
|
3356
|
-
client:
|
|
3397
|
+
client: SuiJsonRpcClient,
|
|
3357
3398
|
args: [string, staking_pool.StakedSui],
|
|
3358
3399
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
3359
3400
|
const tx = new Transaction();
|
|
@@ -3368,7 +3409,7 @@ export namespace sui_system {
|
|
|
3368
3409
|
>(inspectRes);
|
|
3369
3410
|
}
|
|
3370
3411
|
export async function create(
|
|
3371
|
-
client:
|
|
3412
|
+
client: SuiJsonRpcClient,
|
|
3372
3413
|
args: [
|
|
3373
3414
|
_0x2.object$.UID,
|
|
3374
3415
|
string[],
|
|
@@ -3391,7 +3432,7 @@ export namespace sui_system {
|
|
|
3391
3432
|
);
|
|
3392
3433
|
}
|
|
3393
3434
|
export async function poolExchangeRates(
|
|
3394
|
-
client:
|
|
3435
|
+
client: SuiJsonRpcClient,
|
|
3395
3436
|
args: [string, string],
|
|
3396
3437
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
3397
3438
|
const tx = new Transaction();
|
|
@@ -3406,7 +3447,7 @@ export namespace sui_system {
|
|
|
3406
3447
|
);
|
|
3407
3448
|
}
|
|
3408
3449
|
export async function redeemFungibleStakedSui(
|
|
3409
|
-
client:
|
|
3450
|
+
client: SuiJsonRpcClient,
|
|
3410
3451
|
args: [string, staking_pool.FungibleStakedSui],
|
|
3411
3452
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
3412
3453
|
const tx = new Transaction();
|
|
@@ -3421,7 +3462,7 @@ export namespace sui_system {
|
|
|
3421
3462
|
>(inspectRes);
|
|
3422
3463
|
}
|
|
3423
3464
|
export async function reportValidator(
|
|
3424
|
-
client:
|
|
3465
|
+
client: SuiJsonRpcClient,
|
|
3425
3466
|
args: [string, string, string],
|
|
3426
3467
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3427
3468
|
const tx = new Transaction();
|
|
@@ -3436,7 +3477,7 @@ export namespace sui_system {
|
|
|
3436
3477
|
);
|
|
3437
3478
|
}
|
|
3438
3479
|
export async function requestAddStake(
|
|
3439
|
-
client:
|
|
3480
|
+
client: SuiJsonRpcClient,
|
|
3440
3481
|
args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string],
|
|
3441
3482
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3442
3483
|
const tx = new Transaction();
|
|
@@ -3451,7 +3492,7 @@ export namespace sui_system {
|
|
|
3451
3492
|
);
|
|
3452
3493
|
}
|
|
3453
3494
|
export async function requestAddStakeMulCoin(
|
|
3454
|
-
client:
|
|
3495
|
+
client: SuiJsonRpcClient,
|
|
3455
3496
|
args: [string, string[], _0x1.option.Option<bigint>, string],
|
|
3456
3497
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3457
3498
|
const tx = new Transaction();
|
|
@@ -3466,7 +3507,7 @@ export namespace sui_system {
|
|
|
3466
3507
|
);
|
|
3467
3508
|
}
|
|
3468
3509
|
export async function requestAddStakeNonEntry(
|
|
3469
|
-
client:
|
|
3510
|
+
client: SuiJsonRpcClient,
|
|
3470
3511
|
args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string],
|
|
3471
3512
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
3472
3513
|
const tx = new Transaction();
|
|
@@ -3481,7 +3522,7 @@ export namespace sui_system {
|
|
|
3481
3522
|
>(inspectRes);
|
|
3482
3523
|
}
|
|
3483
3524
|
export async function requestAddValidator(
|
|
3484
|
-
client:
|
|
3525
|
+
client: SuiJsonRpcClient,
|
|
3485
3526
|
args: [string],
|
|
3486
3527
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3487
3528
|
const tx = new Transaction();
|
|
@@ -3496,7 +3537,7 @@ export namespace sui_system {
|
|
|
3496
3537
|
);
|
|
3497
3538
|
}
|
|
3498
3539
|
export async function requestAddValidatorCandidate(
|
|
3499
|
-
client:
|
|
3540
|
+
client: SuiJsonRpcClient,
|
|
3500
3541
|
args: [
|
|
3501
3542
|
string,
|
|
3502
3543
|
string[],
|
|
@@ -3527,7 +3568,7 @@ export namespace sui_system {
|
|
|
3527
3568
|
);
|
|
3528
3569
|
}
|
|
3529
3570
|
export async function requestRemoveValidator(
|
|
3530
|
-
client:
|
|
3571
|
+
client: SuiJsonRpcClient,
|
|
3531
3572
|
args: [string],
|
|
3532
3573
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3533
3574
|
const tx = new Transaction();
|
|
@@ -3542,7 +3583,7 @@ export namespace sui_system {
|
|
|
3542
3583
|
);
|
|
3543
3584
|
}
|
|
3544
3585
|
export async function requestRemoveValidatorCandidate(
|
|
3545
|
-
client:
|
|
3586
|
+
client: SuiJsonRpcClient,
|
|
3546
3587
|
args: [string],
|
|
3547
3588
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3548
3589
|
const tx = new Transaction();
|
|
@@ -3557,7 +3598,7 @@ export namespace sui_system {
|
|
|
3557
3598
|
);
|
|
3558
3599
|
}
|
|
3559
3600
|
export async function requestSetCommissionRate(
|
|
3560
|
-
client:
|
|
3601
|
+
client: SuiJsonRpcClient,
|
|
3561
3602
|
args: [string, bigint],
|
|
3562
3603
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3563
3604
|
const tx = new Transaction();
|
|
@@ -3572,7 +3613,7 @@ export namespace sui_system {
|
|
|
3572
3613
|
);
|
|
3573
3614
|
}
|
|
3574
3615
|
export async function requestSetGasPrice(
|
|
3575
|
-
client:
|
|
3616
|
+
client: SuiJsonRpcClient,
|
|
3576
3617
|
args: [string, string, bigint],
|
|
3577
3618
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3578
3619
|
const tx = new Transaction();
|
|
@@ -3587,7 +3628,7 @@ export namespace sui_system {
|
|
|
3587
3628
|
);
|
|
3588
3629
|
}
|
|
3589
3630
|
export async function requestWithdrawStake(
|
|
3590
|
-
client:
|
|
3631
|
+
client: SuiJsonRpcClient,
|
|
3591
3632
|
args: [string, staking_pool.StakedSui],
|
|
3592
3633
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3593
3634
|
const tx = new Transaction();
|
|
@@ -3602,7 +3643,7 @@ export namespace sui_system {
|
|
|
3602
3643
|
);
|
|
3603
3644
|
}
|
|
3604
3645
|
export async function requestWithdrawStakeNonEntry(
|
|
3605
|
-
client:
|
|
3646
|
+
client: SuiJsonRpcClient,
|
|
3606
3647
|
args: [string, staking_pool.StakedSui],
|
|
3607
3648
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
3608
3649
|
const tx = new Transaction();
|
|
@@ -3617,7 +3658,7 @@ export namespace sui_system {
|
|
|
3617
3658
|
>(inspectRes);
|
|
3618
3659
|
}
|
|
3619
3660
|
export async function rotateOperationCap(
|
|
3620
|
-
client:
|
|
3661
|
+
client: SuiJsonRpcClient,
|
|
3621
3662
|
args: [string],
|
|
3622
3663
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3623
3664
|
const tx = new Transaction();
|
|
@@ -3632,7 +3673,7 @@ export namespace sui_system {
|
|
|
3632
3673
|
);
|
|
3633
3674
|
}
|
|
3634
3675
|
export async function setCandidateValidatorCommissionRate(
|
|
3635
|
-
client:
|
|
3676
|
+
client: SuiJsonRpcClient,
|
|
3636
3677
|
args: [string, bigint],
|
|
3637
3678
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3638
3679
|
const tx = new Transaction();
|
|
@@ -3647,7 +3688,7 @@ export namespace sui_system {
|
|
|
3647
3688
|
);
|
|
3648
3689
|
}
|
|
3649
3690
|
export async function setCandidateValidatorGasPrice(
|
|
3650
|
-
client:
|
|
3691
|
+
client: SuiJsonRpcClient,
|
|
3651
3692
|
args: [string, string, bigint],
|
|
3652
3693
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3653
3694
|
const tx = new Transaction();
|
|
@@ -3662,7 +3703,7 @@ export namespace sui_system {
|
|
|
3662
3703
|
);
|
|
3663
3704
|
}
|
|
3664
3705
|
export async function undoReportValidator(
|
|
3665
|
-
client:
|
|
3706
|
+
client: SuiJsonRpcClient,
|
|
3666
3707
|
args: [string, string, string],
|
|
3667
3708
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3668
3709
|
const tx = new Transaction();
|
|
@@ -3677,7 +3718,7 @@ export namespace sui_system {
|
|
|
3677
3718
|
);
|
|
3678
3719
|
}
|
|
3679
3720
|
export async function updateCandidateValidatorNetworkAddress(
|
|
3680
|
-
client:
|
|
3721
|
+
client: SuiJsonRpcClient,
|
|
3681
3722
|
args: [string, string[]],
|
|
3682
3723
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3683
3724
|
const tx = new Transaction();
|
|
@@ -3692,7 +3733,7 @@ export namespace sui_system {
|
|
|
3692
3733
|
);
|
|
3693
3734
|
}
|
|
3694
3735
|
export async function updateCandidateValidatorNetworkPubkey(
|
|
3695
|
-
client:
|
|
3736
|
+
client: SuiJsonRpcClient,
|
|
3696
3737
|
args: [string, string[]],
|
|
3697
3738
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3698
3739
|
const tx = new Transaction();
|
|
@@ -3707,7 +3748,7 @@ export namespace sui_system {
|
|
|
3707
3748
|
);
|
|
3708
3749
|
}
|
|
3709
3750
|
export async function updateCandidateValidatorP2pAddress(
|
|
3710
|
-
client:
|
|
3751
|
+
client: SuiJsonRpcClient,
|
|
3711
3752
|
args: [string, string[]],
|
|
3712
3753
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3713
3754
|
const tx = new Transaction();
|
|
@@ -3722,7 +3763,7 @@ export namespace sui_system {
|
|
|
3722
3763
|
);
|
|
3723
3764
|
}
|
|
3724
3765
|
export async function updateCandidateValidatorPrimaryAddress(
|
|
3725
|
-
client:
|
|
3766
|
+
client: SuiJsonRpcClient,
|
|
3726
3767
|
args: [string, string[]],
|
|
3727
3768
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3728
3769
|
const tx = new Transaction();
|
|
@@ -3737,7 +3778,7 @@ export namespace sui_system {
|
|
|
3737
3778
|
);
|
|
3738
3779
|
}
|
|
3739
3780
|
export async function updateCandidateValidatorProtocolPubkey(
|
|
3740
|
-
client:
|
|
3781
|
+
client: SuiJsonRpcClient,
|
|
3741
3782
|
args: [string, string[], string[]],
|
|
3742
3783
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3743
3784
|
const tx = new Transaction();
|
|
@@ -3752,7 +3793,7 @@ export namespace sui_system {
|
|
|
3752
3793
|
);
|
|
3753
3794
|
}
|
|
3754
3795
|
export async function updateCandidateValidatorWorkerAddress(
|
|
3755
|
-
client:
|
|
3796
|
+
client: SuiJsonRpcClient,
|
|
3756
3797
|
args: [string, string[]],
|
|
3757
3798
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3758
3799
|
const tx = new Transaction();
|
|
@@ -3767,7 +3808,7 @@ export namespace sui_system {
|
|
|
3767
3808
|
);
|
|
3768
3809
|
}
|
|
3769
3810
|
export async function updateCandidateValidatorWorkerPubkey(
|
|
3770
|
-
client:
|
|
3811
|
+
client: SuiJsonRpcClient,
|
|
3771
3812
|
args: [string, string[]],
|
|
3772
3813
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3773
3814
|
const tx = new Transaction();
|
|
@@ -3782,7 +3823,7 @@ export namespace sui_system {
|
|
|
3782
3823
|
);
|
|
3783
3824
|
}
|
|
3784
3825
|
export async function updateValidatorDescription(
|
|
3785
|
-
client:
|
|
3826
|
+
client: SuiJsonRpcClient,
|
|
3786
3827
|
args: [string, string[]],
|
|
3787
3828
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3788
3829
|
const tx = new Transaction();
|
|
@@ -3797,7 +3838,7 @@ export namespace sui_system {
|
|
|
3797
3838
|
);
|
|
3798
3839
|
}
|
|
3799
3840
|
export async function updateValidatorImageUrl(
|
|
3800
|
-
client:
|
|
3841
|
+
client: SuiJsonRpcClient,
|
|
3801
3842
|
args: [string, string[]],
|
|
3802
3843
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3803
3844
|
const tx = new Transaction();
|
|
@@ -3812,7 +3853,7 @@ export namespace sui_system {
|
|
|
3812
3853
|
);
|
|
3813
3854
|
}
|
|
3814
3855
|
export async function updateValidatorName(
|
|
3815
|
-
client:
|
|
3856
|
+
client: SuiJsonRpcClient,
|
|
3816
3857
|
args: [string, string[]],
|
|
3817
3858
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3818
3859
|
const tx = new Transaction();
|
|
@@ -3827,7 +3868,7 @@ export namespace sui_system {
|
|
|
3827
3868
|
);
|
|
3828
3869
|
}
|
|
3829
3870
|
export async function updateValidatorNextEpochNetworkAddress(
|
|
3830
|
-
client:
|
|
3871
|
+
client: SuiJsonRpcClient,
|
|
3831
3872
|
args: [string, string[]],
|
|
3832
3873
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3833
3874
|
const tx = new Transaction();
|
|
@@ -3842,7 +3883,7 @@ export namespace sui_system {
|
|
|
3842
3883
|
);
|
|
3843
3884
|
}
|
|
3844
3885
|
export async function updateValidatorNextEpochNetworkPubkey(
|
|
3845
|
-
client:
|
|
3886
|
+
client: SuiJsonRpcClient,
|
|
3846
3887
|
args: [string, string[]],
|
|
3847
3888
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3848
3889
|
const tx = new Transaction();
|
|
@@ -3857,7 +3898,7 @@ export namespace sui_system {
|
|
|
3857
3898
|
);
|
|
3858
3899
|
}
|
|
3859
3900
|
export async function updateValidatorNextEpochP2pAddress(
|
|
3860
|
-
client:
|
|
3901
|
+
client: SuiJsonRpcClient,
|
|
3861
3902
|
args: [string, string[]],
|
|
3862
3903
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3863
3904
|
const tx = new Transaction();
|
|
@@ -3872,7 +3913,7 @@ export namespace sui_system {
|
|
|
3872
3913
|
);
|
|
3873
3914
|
}
|
|
3874
3915
|
export async function updateValidatorNextEpochPrimaryAddress(
|
|
3875
|
-
client:
|
|
3916
|
+
client: SuiJsonRpcClient,
|
|
3876
3917
|
args: [string, string[]],
|
|
3877
3918
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3878
3919
|
const tx = new Transaction();
|
|
@@ -3887,7 +3928,7 @@ export namespace sui_system {
|
|
|
3887
3928
|
);
|
|
3888
3929
|
}
|
|
3889
3930
|
export async function updateValidatorNextEpochProtocolPubkey(
|
|
3890
|
-
client:
|
|
3931
|
+
client: SuiJsonRpcClient,
|
|
3891
3932
|
args: [string, string[], string[]],
|
|
3892
3933
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3893
3934
|
const tx = new Transaction();
|
|
@@ -3902,7 +3943,7 @@ export namespace sui_system {
|
|
|
3902
3943
|
);
|
|
3903
3944
|
}
|
|
3904
3945
|
export async function updateValidatorNextEpochWorkerAddress(
|
|
3905
|
-
client:
|
|
3946
|
+
client: SuiJsonRpcClient,
|
|
3906
3947
|
args: [string, string[]],
|
|
3907
3948
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3908
3949
|
const tx = new Transaction();
|
|
@@ -3917,7 +3958,7 @@ export namespace sui_system {
|
|
|
3917
3958
|
);
|
|
3918
3959
|
}
|
|
3919
3960
|
export async function updateValidatorNextEpochWorkerPubkey(
|
|
3920
|
-
client:
|
|
3961
|
+
client: SuiJsonRpcClient,
|
|
3921
3962
|
args: [string, string[]],
|
|
3922
3963
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3923
3964
|
const tx = new Transaction();
|
|
@@ -3932,7 +3973,7 @@ export namespace sui_system {
|
|
|
3932
3973
|
);
|
|
3933
3974
|
}
|
|
3934
3975
|
export async function updateValidatorProjectUrl(
|
|
3935
|
-
client:
|
|
3976
|
+
client: SuiJsonRpcClient,
|
|
3936
3977
|
args: [string, string[]],
|
|
3937
3978
|
): Promise<TypedDevInspectResults<[]>> {
|
|
3938
3979
|
const tx = new Transaction();
|
|
@@ -3947,7 +3988,7 @@ export namespace sui_system {
|
|
|
3947
3988
|
);
|
|
3948
3989
|
}
|
|
3949
3990
|
export async function validatorAddressByPoolId(
|
|
3950
|
-
client:
|
|
3991
|
+
client: SuiJsonRpcClient,
|
|
3951
3992
|
args: [string, string],
|
|
3952
3993
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
3953
3994
|
const tx = new Transaction();
|
|
@@ -4224,6 +4265,28 @@ export class sui_system_state_inner extends SuiBaseProcessor {
|
|
|
4224
4265
|
});
|
|
4225
4266
|
}
|
|
4226
4267
|
|
|
4268
|
+
onEventExecutionTimeObservationChunkKey(
|
|
4269
|
+
func: (
|
|
4270
|
+
event: sui_system_state_inner.ExecutionTimeObservationChunkKeyInstance,
|
|
4271
|
+
ctx: SuiContext,
|
|
4272
|
+
) => void,
|
|
4273
|
+
handlerOptions?: HandlerOptions<
|
|
4274
|
+
MoveFetchConfig,
|
|
4275
|
+
sui_system_state_inner.ExecutionTimeObservationChunkKeyInstance
|
|
4276
|
+
>,
|
|
4277
|
+
eventFilter?: Omit<EventFilter, "type" | "account">,
|
|
4278
|
+
): sui_system_state_inner {
|
|
4279
|
+
this.onMoveEvent(
|
|
4280
|
+
func,
|
|
4281
|
+
{
|
|
4282
|
+
...(eventFilter ?? {}),
|
|
4283
|
+
type: "sui_system_state_inner::ExecutionTimeObservationChunkKey",
|
|
4284
|
+
},
|
|
4285
|
+
handlerOptions,
|
|
4286
|
+
);
|
|
4287
|
+
return this;
|
|
4288
|
+
}
|
|
4289
|
+
|
|
4227
4290
|
onEventSystemEpochInfoEvent(
|
|
4228
4291
|
func: (
|
|
4229
4292
|
event: sui_system_state_inner.SystemEpochInfoEventInstance,
|
|
@@ -4248,6 +4311,29 @@ export class sui_system_state_inner extends SuiBaseProcessor {
|
|
|
4248
4311
|
}
|
|
4249
4312
|
|
|
4250
4313
|
export namespace sui_system_state_inner {
|
|
4314
|
+
export interface ExecutionTimeObservationChunkKey {
|
|
4315
|
+
chunk_index: bigint;
|
|
4316
|
+
}
|
|
4317
|
+
|
|
4318
|
+
export namespace ExecutionTimeObservationChunkKey {
|
|
4319
|
+
export const TYPE_QNAME =
|
|
4320
|
+
"0x3::sui_system_state_inner::ExecutionTimeObservationChunkKey";
|
|
4321
|
+
|
|
4322
|
+
const TYPE = new TypeDescriptor<ExecutionTimeObservationChunkKey>(
|
|
4323
|
+
ExecutionTimeObservationChunkKey.TYPE_QNAME,
|
|
4324
|
+
);
|
|
4325
|
+
|
|
4326
|
+
export function type(): TypeDescriptor<ExecutionTimeObservationChunkKey> {
|
|
4327
|
+
return TYPE.apply();
|
|
4328
|
+
}
|
|
4329
|
+
}
|
|
4330
|
+
|
|
4331
|
+
export type ExecutionTimeObservationChunkKeyInstance =
|
|
4332
|
+
TypedEventInstance<ExecutionTimeObservationChunkKey> & {
|
|
4333
|
+
data_decoded: ExecutionTimeObservationChunkKey;
|
|
4334
|
+
type_arguments: [];
|
|
4335
|
+
};
|
|
4336
|
+
|
|
4251
4337
|
export interface SuiSystemStateInner {
|
|
4252
4338
|
epoch: bigint;
|
|
4253
4339
|
protocol_version: bigint;
|
|
@@ -4439,6 +4525,7 @@ export namespace sui_system_state_inner {
|
|
|
4439
4525
|
bigint | TransactionArgument,
|
|
4440
4526
|
bigint | TransactionArgument,
|
|
4441
4527
|
bigint | TransactionArgument,
|
|
4528
|
+
bigint | TransactionArgument,
|
|
4442
4529
|
],
|
|
4443
4530
|
): TransactionArgument &
|
|
4444
4531
|
[
|
|
@@ -4452,6 +4539,7 @@ export namespace sui_system_state_inner {
|
|
|
4452
4539
|
TransactionArgument,
|
|
4453
4540
|
TransactionArgument,
|
|
4454
4541
|
TransactionArgument,
|
|
4542
|
+
TransactionArgument,
|
|
4455
4543
|
] {
|
|
4456
4544
|
const _args: any[] = [];
|
|
4457
4545
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -4464,6 +4552,7 @@ export namespace sui_system_state_inner {
|
|
|
4464
4552
|
_args.push(transactionArgumentOrPureU64(args[7], tx));
|
|
4465
4553
|
_args.push(transactionArgumentOrPureU64(args[8], tx));
|
|
4466
4554
|
_args.push(transactionArgumentOrPureU64(args[9], tx));
|
|
4555
|
+
_args.push(transactionArgumentOrPureU64(args[10], tx));
|
|
4467
4556
|
|
|
4468
4557
|
// @ts-ignore
|
|
4469
4558
|
return tx.moveCall({
|
|
@@ -4583,6 +4672,32 @@ export namespace sui_system_state_inner {
|
|
|
4583
4672
|
arguments: _args,
|
|
4584
4673
|
});
|
|
4585
4674
|
}
|
|
4675
|
+
export function extraFields(
|
|
4676
|
+
tx: Transaction,
|
|
4677
|
+
args: [string | TransactionObjectArgument],
|
|
4678
|
+
): TransactionArgument & [TransactionArgument] {
|
|
4679
|
+
const _args: any[] = [];
|
|
4680
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4681
|
+
|
|
4682
|
+
// @ts-ignore
|
|
4683
|
+
return tx.moveCall({
|
|
4684
|
+
target: "0x3::sui_system_state_inner::extra_fields",
|
|
4685
|
+
arguments: _args,
|
|
4686
|
+
});
|
|
4687
|
+
}
|
|
4688
|
+
export function extraFieldsMut(
|
|
4689
|
+
tx: Transaction,
|
|
4690
|
+
args: [string | TransactionObjectArgument],
|
|
4691
|
+
): TransactionArgument & [TransactionArgument] {
|
|
4692
|
+
const _args: any[] = [];
|
|
4693
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4694
|
+
|
|
4695
|
+
// @ts-ignore
|
|
4696
|
+
return tx.moveCall({
|
|
4697
|
+
target: "0x3::sui_system_state_inner::extra_fields_mut",
|
|
4698
|
+
arguments: _args,
|
|
4699
|
+
});
|
|
4700
|
+
}
|
|
4586
4701
|
export function genesisSystemStateVersion(
|
|
4587
4702
|
tx: Transaction,
|
|
4588
4703
|
args: [],
|
|
@@ -4966,6 +5081,24 @@ export namespace sui_system_state_inner {
|
|
|
4966
5081
|
arguments: _args,
|
|
4967
5082
|
});
|
|
4968
5083
|
}
|
|
5084
|
+
export function storeExecutionTimeEstimatesV2(
|
|
5085
|
+
tx: Transaction,
|
|
5086
|
+
args: [
|
|
5087
|
+
string | TransactionObjectArgument,
|
|
5088
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
5089
|
+
],
|
|
5090
|
+
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
5091
|
+
const _args: any[] = [];
|
|
5092
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
5093
|
+
_args.push(transactionArgumentOrVec(args[1], tx));
|
|
5094
|
+
|
|
5095
|
+
// @ts-ignore
|
|
5096
|
+
return tx.moveCall({
|
|
5097
|
+
target:
|
|
5098
|
+
"0x3::sui_system_state_inner::store_execution_time_estimates_v2",
|
|
5099
|
+
arguments: _args,
|
|
5100
|
+
});
|
|
5101
|
+
}
|
|
4969
5102
|
export function systemStateVersion(
|
|
4970
5103
|
tx: Transaction,
|
|
4971
5104
|
args: [string | TransactionObjectArgument],
|
|
@@ -5425,7 +5558,7 @@ export namespace sui_system_state_inner {
|
|
|
5425
5558
|
}
|
|
5426
5559
|
export namespace view {
|
|
5427
5560
|
export async function activeValidatorAddresses(
|
|
5428
|
-
client:
|
|
5561
|
+
client: SuiJsonRpcClient,
|
|
5429
5562
|
args: [string],
|
|
5430
5563
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
5431
5564
|
const tx = new Transaction();
|
|
@@ -5440,7 +5573,7 @@ export namespace sui_system_state_inner {
|
|
|
5440
5573
|
);
|
|
5441
5574
|
}
|
|
5442
5575
|
export async function activeValidatorVotingPowers(
|
|
5443
|
-
client:
|
|
5576
|
+
client: SuiJsonRpcClient,
|
|
5444
5577
|
args: [string],
|
|
5445
5578
|
): Promise<TypedDevInspectResults<[_0x2.vec_map.VecMap<string, bigint>]>> {
|
|
5446
5579
|
const tx = new Transaction();
|
|
@@ -5455,7 +5588,7 @@ export namespace sui_system_state_inner {
|
|
|
5455
5588
|
>(inspectRes);
|
|
5456
5589
|
}
|
|
5457
5590
|
export async function advanceEpoch(
|
|
5458
|
-
client:
|
|
5591
|
+
client: SuiJsonRpcClient,
|
|
5459
5592
|
args: [
|
|
5460
5593
|
string,
|
|
5461
5594
|
bigint,
|
|
@@ -5467,6 +5600,7 @@ export namespace sui_system_state_inner {
|
|
|
5467
5600
|
bigint,
|
|
5468
5601
|
bigint,
|
|
5469
5602
|
bigint,
|
|
5603
|
+
bigint,
|
|
5470
5604
|
],
|
|
5471
5605
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
5472
5606
|
const tx = new Transaction();
|
|
@@ -5481,7 +5615,7 @@ export namespace sui_system_state_inner {
|
|
|
5481
5615
|
>(inspectRes);
|
|
5482
5616
|
}
|
|
5483
5617
|
export async function convertToFungibleStakedSui(
|
|
5484
|
-
client:
|
|
5618
|
+
client: SuiJsonRpcClient,
|
|
5485
5619
|
args: [string, staking_pool.StakedSui],
|
|
5486
5620
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
5487
5621
|
const tx = new Transaction();
|
|
@@ -5496,7 +5630,7 @@ export namespace sui_system_state_inner {
|
|
|
5496
5630
|
>(inspectRes);
|
|
5497
5631
|
}
|
|
5498
5632
|
export async function create(
|
|
5499
|
-
client:
|
|
5633
|
+
client: SuiJsonRpcClient,
|
|
5500
5634
|
args: [
|
|
5501
5635
|
string[],
|
|
5502
5636
|
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
@@ -5520,7 +5654,7 @@ export namespace sui_system_state_inner {
|
|
|
5520
5654
|
>(inspectRes);
|
|
5521
5655
|
}
|
|
5522
5656
|
export async function createSystemParameters(
|
|
5523
|
-
client:
|
|
5657
|
+
client: SuiJsonRpcClient,
|
|
5524
5658
|
args: [bigint, bigint, bigint, bigint, bigint, bigint, bigint],
|
|
5525
5659
|
): Promise<
|
|
5526
5660
|
TypedDevInspectResults<[sui_system_state_inner.SystemParameters]>
|
|
@@ -5537,7 +5671,7 @@ export namespace sui_system_state_inner {
|
|
|
5537
5671
|
>(inspectRes);
|
|
5538
5672
|
}
|
|
5539
5673
|
export async function epoch(
|
|
5540
|
-
client:
|
|
5674
|
+
client: SuiJsonRpcClient,
|
|
5541
5675
|
args: [string],
|
|
5542
5676
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
5543
5677
|
const tx = new Transaction();
|
|
@@ -5552,7 +5686,7 @@ export namespace sui_system_state_inner {
|
|
|
5552
5686
|
);
|
|
5553
5687
|
}
|
|
5554
5688
|
export async function epochStartTimestampMs(
|
|
5555
|
-
client:
|
|
5689
|
+
client: SuiJsonRpcClient,
|
|
5556
5690
|
args: [string],
|
|
5557
5691
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
5558
5692
|
const tx = new Transaction();
|
|
@@ -5566,8 +5700,38 @@ export namespace sui_system_state_inner {
|
|
|
5566
5700
|
inspectRes,
|
|
5567
5701
|
);
|
|
5568
5702
|
}
|
|
5703
|
+
export async function extraFields(
|
|
5704
|
+
client: SuiJsonRpcClient,
|
|
5705
|
+
args: [string],
|
|
5706
|
+
): Promise<TypedDevInspectResults<[string]>> {
|
|
5707
|
+
const tx = new Transaction();
|
|
5708
|
+
builder.extraFields(tx, args);
|
|
5709
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5710
|
+
transactionBlock: tx,
|
|
5711
|
+
sender: ZERO_ADDRESS,
|
|
5712
|
+
});
|
|
5713
|
+
|
|
5714
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
5715
|
+
inspectRes,
|
|
5716
|
+
);
|
|
5717
|
+
}
|
|
5718
|
+
export async function extraFieldsMut(
|
|
5719
|
+
client: SuiJsonRpcClient,
|
|
5720
|
+
args: [string],
|
|
5721
|
+
): Promise<TypedDevInspectResults<[string]>> {
|
|
5722
|
+
const tx = new Transaction();
|
|
5723
|
+
builder.extraFieldsMut(tx, args);
|
|
5724
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5725
|
+
transactionBlock: tx,
|
|
5726
|
+
sender: ZERO_ADDRESS,
|
|
5727
|
+
});
|
|
5728
|
+
|
|
5729
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[string]>(
|
|
5730
|
+
inspectRes,
|
|
5731
|
+
);
|
|
5732
|
+
}
|
|
5569
5733
|
export async function genesisSystemStateVersion(
|
|
5570
|
-
client:
|
|
5734
|
+
client: SuiJsonRpcClient,
|
|
5571
5735
|
args: [],
|
|
5572
5736
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
5573
5737
|
const tx = new Transaction();
|
|
@@ -5582,7 +5746,7 @@ export namespace sui_system_state_inner {
|
|
|
5582
5746
|
);
|
|
5583
5747
|
}
|
|
5584
5748
|
export async function getReportersOf(
|
|
5585
|
-
client:
|
|
5749
|
+
client: SuiJsonRpcClient,
|
|
5586
5750
|
args: [string, string],
|
|
5587
5751
|
): Promise<TypedDevInspectResults<[_0x2.vec_set.VecSet<string>]>> {
|
|
5588
5752
|
const tx = new Transaction();
|
|
@@ -5597,7 +5761,7 @@ export namespace sui_system_state_inner {
|
|
|
5597
5761
|
>(inspectRes);
|
|
5598
5762
|
}
|
|
5599
5763
|
export async function getStorageFundObjectRebates(
|
|
5600
|
-
client:
|
|
5764
|
+
client: SuiJsonRpcClient,
|
|
5601
5765
|
args: [string],
|
|
5602
5766
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
5603
5767
|
const tx = new Transaction();
|
|
@@ -5612,7 +5776,7 @@ export namespace sui_system_state_inner {
|
|
|
5612
5776
|
);
|
|
5613
5777
|
}
|
|
5614
5778
|
export async function getStorageFundTotalBalance(
|
|
5615
|
-
client:
|
|
5779
|
+
client: SuiJsonRpcClient,
|
|
5616
5780
|
args: [string],
|
|
5617
5781
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
5618
5782
|
const tx = new Transaction();
|
|
@@ -5627,7 +5791,7 @@ export namespace sui_system_state_inner {
|
|
|
5627
5791
|
);
|
|
5628
5792
|
}
|
|
5629
5793
|
export async function poolExchangeRates(
|
|
5630
|
-
client:
|
|
5794
|
+
client: SuiJsonRpcClient,
|
|
5631
5795
|
args: [string, string],
|
|
5632
5796
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
5633
5797
|
const tx = new Transaction();
|
|
@@ -5642,7 +5806,7 @@ export namespace sui_system_state_inner {
|
|
|
5642
5806
|
);
|
|
5643
5807
|
}
|
|
5644
5808
|
export async function protocolVersion(
|
|
5645
|
-
client:
|
|
5809
|
+
client: SuiJsonRpcClient,
|
|
5646
5810
|
args: [string],
|
|
5647
5811
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
5648
5812
|
const tx = new Transaction();
|
|
@@ -5657,7 +5821,7 @@ export namespace sui_system_state_inner {
|
|
|
5657
5821
|
);
|
|
5658
5822
|
}
|
|
5659
5823
|
export async function redeemFungibleStakedSui(
|
|
5660
|
-
client:
|
|
5824
|
+
client: SuiJsonRpcClient,
|
|
5661
5825
|
args: [string, staking_pool.FungibleStakedSui],
|
|
5662
5826
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
5663
5827
|
const tx = new Transaction();
|
|
@@ -5672,7 +5836,7 @@ export namespace sui_system_state_inner {
|
|
|
5672
5836
|
>(inspectRes);
|
|
5673
5837
|
}
|
|
5674
5838
|
export async function reportValidator(
|
|
5675
|
-
client:
|
|
5839
|
+
client: SuiJsonRpcClient,
|
|
5676
5840
|
args: [string, string, string],
|
|
5677
5841
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5678
5842
|
const tx = new Transaction();
|
|
@@ -5687,7 +5851,7 @@ export namespace sui_system_state_inner {
|
|
|
5687
5851
|
);
|
|
5688
5852
|
}
|
|
5689
5853
|
export async function requestAddStake(
|
|
5690
|
-
client:
|
|
5854
|
+
client: SuiJsonRpcClient,
|
|
5691
5855
|
args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string],
|
|
5692
5856
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
5693
5857
|
const tx = new Transaction();
|
|
@@ -5702,7 +5866,7 @@ export namespace sui_system_state_inner {
|
|
|
5702
5866
|
>(inspectRes);
|
|
5703
5867
|
}
|
|
5704
5868
|
export async function requestAddStakeMulCoin(
|
|
5705
|
-
client:
|
|
5869
|
+
client: SuiJsonRpcClient,
|
|
5706
5870
|
args: [string, string[], _0x1.option.Option<bigint>, string],
|
|
5707
5871
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
5708
5872
|
const tx = new Transaction();
|
|
@@ -5717,7 +5881,7 @@ export namespace sui_system_state_inner {
|
|
|
5717
5881
|
>(inspectRes);
|
|
5718
5882
|
}
|
|
5719
5883
|
export async function requestAddValidator(
|
|
5720
|
-
client:
|
|
5884
|
+
client: SuiJsonRpcClient,
|
|
5721
5885
|
args: [string],
|
|
5722
5886
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5723
5887
|
const tx = new Transaction();
|
|
@@ -5732,7 +5896,7 @@ export namespace sui_system_state_inner {
|
|
|
5732
5896
|
);
|
|
5733
5897
|
}
|
|
5734
5898
|
export async function requestAddValidatorCandidate(
|
|
5735
|
-
client:
|
|
5899
|
+
client: SuiJsonRpcClient,
|
|
5736
5900
|
args: [
|
|
5737
5901
|
string,
|
|
5738
5902
|
string[],
|
|
@@ -5763,7 +5927,7 @@ export namespace sui_system_state_inner {
|
|
|
5763
5927
|
);
|
|
5764
5928
|
}
|
|
5765
5929
|
export async function requestRemoveValidator(
|
|
5766
|
-
client:
|
|
5930
|
+
client: SuiJsonRpcClient,
|
|
5767
5931
|
args: [string],
|
|
5768
5932
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5769
5933
|
const tx = new Transaction();
|
|
@@ -5778,7 +5942,7 @@ export namespace sui_system_state_inner {
|
|
|
5778
5942
|
);
|
|
5779
5943
|
}
|
|
5780
5944
|
export async function requestRemoveValidatorCandidate(
|
|
5781
|
-
client:
|
|
5945
|
+
client: SuiJsonRpcClient,
|
|
5782
5946
|
args: [string],
|
|
5783
5947
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5784
5948
|
const tx = new Transaction();
|
|
@@ -5793,7 +5957,7 @@ export namespace sui_system_state_inner {
|
|
|
5793
5957
|
);
|
|
5794
5958
|
}
|
|
5795
5959
|
export async function requestSetCommissionRate(
|
|
5796
|
-
client:
|
|
5960
|
+
client: SuiJsonRpcClient,
|
|
5797
5961
|
args: [string, bigint],
|
|
5798
5962
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5799
5963
|
const tx = new Transaction();
|
|
@@ -5808,7 +5972,7 @@ export namespace sui_system_state_inner {
|
|
|
5808
5972
|
);
|
|
5809
5973
|
}
|
|
5810
5974
|
export async function requestSetGasPrice(
|
|
5811
|
-
client:
|
|
5975
|
+
client: SuiJsonRpcClient,
|
|
5812
5976
|
args: [string, string, bigint],
|
|
5813
5977
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5814
5978
|
const tx = new Transaction();
|
|
@@ -5823,7 +5987,7 @@ export namespace sui_system_state_inner {
|
|
|
5823
5987
|
);
|
|
5824
5988
|
}
|
|
5825
5989
|
export async function requestWithdrawStake(
|
|
5826
|
-
client:
|
|
5990
|
+
client: SuiJsonRpcClient,
|
|
5827
5991
|
args: [string, staking_pool.StakedSui],
|
|
5828
5992
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
5829
5993
|
const tx = new Transaction();
|
|
@@ -5838,7 +6002,7 @@ export namespace sui_system_state_inner {
|
|
|
5838
6002
|
>(inspectRes);
|
|
5839
6003
|
}
|
|
5840
6004
|
export async function rotateOperationCap(
|
|
5841
|
-
client:
|
|
6005
|
+
client: SuiJsonRpcClient,
|
|
5842
6006
|
args: [string],
|
|
5843
6007
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5844
6008
|
const tx = new Transaction();
|
|
@@ -5853,7 +6017,7 @@ export namespace sui_system_state_inner {
|
|
|
5853
6017
|
);
|
|
5854
6018
|
}
|
|
5855
6019
|
export async function setCandidateValidatorCommissionRate(
|
|
5856
|
-
client:
|
|
6020
|
+
client: SuiJsonRpcClient,
|
|
5857
6021
|
args: [string, bigint],
|
|
5858
6022
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5859
6023
|
const tx = new Transaction();
|
|
@@ -5868,7 +6032,7 @@ export namespace sui_system_state_inner {
|
|
|
5868
6032
|
);
|
|
5869
6033
|
}
|
|
5870
6034
|
export async function setCandidateValidatorGasPrice(
|
|
5871
|
-
client:
|
|
6035
|
+
client: SuiJsonRpcClient,
|
|
5872
6036
|
args: [string, string, bigint],
|
|
5873
6037
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5874
6038
|
const tx = new Transaction();
|
|
@@ -5883,7 +6047,7 @@ export namespace sui_system_state_inner {
|
|
|
5883
6047
|
);
|
|
5884
6048
|
}
|
|
5885
6049
|
export async function storeExecutionTimeEstimates(
|
|
5886
|
-
client:
|
|
6050
|
+
client: SuiJsonRpcClient,
|
|
5887
6051
|
args: [string, string[]],
|
|
5888
6052
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5889
6053
|
const tx = new Transaction();
|
|
@@ -5897,8 +6061,23 @@ export namespace sui_system_state_inner {
|
|
|
5897
6061
|
inspectRes,
|
|
5898
6062
|
);
|
|
5899
6063
|
}
|
|
6064
|
+
export async function storeExecutionTimeEstimatesV2(
|
|
6065
|
+
client: SuiJsonRpcClient,
|
|
6066
|
+
args: [string, string[]],
|
|
6067
|
+
): Promise<TypedDevInspectResults<[]>> {
|
|
6068
|
+
const tx = new Transaction();
|
|
6069
|
+
builder.storeExecutionTimeEstimatesV2(tx, args);
|
|
6070
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
6071
|
+
transactionBlock: tx,
|
|
6072
|
+
sender: ZERO_ADDRESS,
|
|
6073
|
+
});
|
|
6074
|
+
|
|
6075
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[]>(
|
|
6076
|
+
inspectRes,
|
|
6077
|
+
);
|
|
6078
|
+
}
|
|
5900
6079
|
export async function systemStateVersion(
|
|
5901
|
-
client:
|
|
6080
|
+
client: SuiJsonRpcClient,
|
|
5902
6081
|
args: [string],
|
|
5903
6082
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
5904
6083
|
const tx = new Transaction();
|
|
@@ -5913,7 +6092,7 @@ export namespace sui_system_state_inner {
|
|
|
5913
6092
|
);
|
|
5914
6093
|
}
|
|
5915
6094
|
export async function undoReportValidator(
|
|
5916
|
-
client:
|
|
6095
|
+
client: SuiJsonRpcClient,
|
|
5917
6096
|
args: [string, string, string],
|
|
5918
6097
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5919
6098
|
const tx = new Transaction();
|
|
@@ -5928,7 +6107,7 @@ export namespace sui_system_state_inner {
|
|
|
5928
6107
|
);
|
|
5929
6108
|
}
|
|
5930
6109
|
export async function updateCandidateValidatorNetworkAddress(
|
|
5931
|
-
client:
|
|
6110
|
+
client: SuiJsonRpcClient,
|
|
5932
6111
|
args: [string, string[]],
|
|
5933
6112
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5934
6113
|
const tx = new Transaction();
|
|
@@ -5943,7 +6122,7 @@ export namespace sui_system_state_inner {
|
|
|
5943
6122
|
);
|
|
5944
6123
|
}
|
|
5945
6124
|
export async function updateCandidateValidatorNetworkPubkey(
|
|
5946
|
-
client:
|
|
6125
|
+
client: SuiJsonRpcClient,
|
|
5947
6126
|
args: [string, string[]],
|
|
5948
6127
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5949
6128
|
const tx = new Transaction();
|
|
@@ -5958,7 +6137,7 @@ export namespace sui_system_state_inner {
|
|
|
5958
6137
|
);
|
|
5959
6138
|
}
|
|
5960
6139
|
export async function updateCandidateValidatorP2pAddress(
|
|
5961
|
-
client:
|
|
6140
|
+
client: SuiJsonRpcClient,
|
|
5962
6141
|
args: [string, string[]],
|
|
5963
6142
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5964
6143
|
const tx = new Transaction();
|
|
@@ -5973,7 +6152,7 @@ export namespace sui_system_state_inner {
|
|
|
5973
6152
|
);
|
|
5974
6153
|
}
|
|
5975
6154
|
export async function updateCandidateValidatorPrimaryAddress(
|
|
5976
|
-
client:
|
|
6155
|
+
client: SuiJsonRpcClient,
|
|
5977
6156
|
args: [string, string[]],
|
|
5978
6157
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5979
6158
|
const tx = new Transaction();
|
|
@@ -5988,7 +6167,7 @@ export namespace sui_system_state_inner {
|
|
|
5988
6167
|
);
|
|
5989
6168
|
}
|
|
5990
6169
|
export async function updateCandidateValidatorProtocolPubkey(
|
|
5991
|
-
client:
|
|
6170
|
+
client: SuiJsonRpcClient,
|
|
5992
6171
|
args: [string, string[], string[]],
|
|
5993
6172
|
): Promise<TypedDevInspectResults<[]>> {
|
|
5994
6173
|
const tx = new Transaction();
|
|
@@ -6003,7 +6182,7 @@ export namespace sui_system_state_inner {
|
|
|
6003
6182
|
);
|
|
6004
6183
|
}
|
|
6005
6184
|
export async function updateCandidateValidatorWorkerAddress(
|
|
6006
|
-
client:
|
|
6185
|
+
client: SuiJsonRpcClient,
|
|
6007
6186
|
args: [string, string[]],
|
|
6008
6187
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6009
6188
|
const tx = new Transaction();
|
|
@@ -6018,7 +6197,7 @@ export namespace sui_system_state_inner {
|
|
|
6018
6197
|
);
|
|
6019
6198
|
}
|
|
6020
6199
|
export async function updateCandidateValidatorWorkerPubkey(
|
|
6021
|
-
client:
|
|
6200
|
+
client: SuiJsonRpcClient,
|
|
6022
6201
|
args: [string, string[]],
|
|
6023
6202
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6024
6203
|
const tx = new Transaction();
|
|
@@ -6033,7 +6212,7 @@ export namespace sui_system_state_inner {
|
|
|
6033
6212
|
);
|
|
6034
6213
|
}
|
|
6035
6214
|
export async function updateValidatorDescription(
|
|
6036
|
-
client:
|
|
6215
|
+
client: SuiJsonRpcClient,
|
|
6037
6216
|
args: [string, string[]],
|
|
6038
6217
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6039
6218
|
const tx = new Transaction();
|
|
@@ -6048,7 +6227,7 @@ export namespace sui_system_state_inner {
|
|
|
6048
6227
|
);
|
|
6049
6228
|
}
|
|
6050
6229
|
export async function updateValidatorImageUrl(
|
|
6051
|
-
client:
|
|
6230
|
+
client: SuiJsonRpcClient,
|
|
6052
6231
|
args: [string, string[]],
|
|
6053
6232
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6054
6233
|
const tx = new Transaction();
|
|
@@ -6063,7 +6242,7 @@ export namespace sui_system_state_inner {
|
|
|
6063
6242
|
);
|
|
6064
6243
|
}
|
|
6065
6244
|
export async function updateValidatorName(
|
|
6066
|
-
client:
|
|
6245
|
+
client: SuiJsonRpcClient,
|
|
6067
6246
|
args: [string, string[]],
|
|
6068
6247
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6069
6248
|
const tx = new Transaction();
|
|
@@ -6078,7 +6257,7 @@ export namespace sui_system_state_inner {
|
|
|
6078
6257
|
);
|
|
6079
6258
|
}
|
|
6080
6259
|
export async function updateValidatorNextEpochNetworkAddress(
|
|
6081
|
-
client:
|
|
6260
|
+
client: SuiJsonRpcClient,
|
|
6082
6261
|
args: [string, string[]],
|
|
6083
6262
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6084
6263
|
const tx = new Transaction();
|
|
@@ -6093,7 +6272,7 @@ export namespace sui_system_state_inner {
|
|
|
6093
6272
|
);
|
|
6094
6273
|
}
|
|
6095
6274
|
export async function updateValidatorNextEpochNetworkPubkey(
|
|
6096
|
-
client:
|
|
6275
|
+
client: SuiJsonRpcClient,
|
|
6097
6276
|
args: [string, string[]],
|
|
6098
6277
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6099
6278
|
const tx = new Transaction();
|
|
@@ -6108,7 +6287,7 @@ export namespace sui_system_state_inner {
|
|
|
6108
6287
|
);
|
|
6109
6288
|
}
|
|
6110
6289
|
export async function updateValidatorNextEpochP2pAddress(
|
|
6111
|
-
client:
|
|
6290
|
+
client: SuiJsonRpcClient,
|
|
6112
6291
|
args: [string, string[]],
|
|
6113
6292
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6114
6293
|
const tx = new Transaction();
|
|
@@ -6123,7 +6302,7 @@ export namespace sui_system_state_inner {
|
|
|
6123
6302
|
);
|
|
6124
6303
|
}
|
|
6125
6304
|
export async function updateValidatorNextEpochPrimaryAddress(
|
|
6126
|
-
client:
|
|
6305
|
+
client: SuiJsonRpcClient,
|
|
6127
6306
|
args: [string, string[]],
|
|
6128
6307
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6129
6308
|
const tx = new Transaction();
|
|
@@ -6138,7 +6317,7 @@ export namespace sui_system_state_inner {
|
|
|
6138
6317
|
);
|
|
6139
6318
|
}
|
|
6140
6319
|
export async function updateValidatorNextEpochProtocolPubkey(
|
|
6141
|
-
client:
|
|
6320
|
+
client: SuiJsonRpcClient,
|
|
6142
6321
|
args: [string, string[], string[]],
|
|
6143
6322
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6144
6323
|
const tx = new Transaction();
|
|
@@ -6153,7 +6332,7 @@ export namespace sui_system_state_inner {
|
|
|
6153
6332
|
);
|
|
6154
6333
|
}
|
|
6155
6334
|
export async function updateValidatorNextEpochWorkerAddress(
|
|
6156
|
-
client:
|
|
6335
|
+
client: SuiJsonRpcClient,
|
|
6157
6336
|
args: [string, string[]],
|
|
6158
6337
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6159
6338
|
const tx = new Transaction();
|
|
@@ -6168,7 +6347,7 @@ export namespace sui_system_state_inner {
|
|
|
6168
6347
|
);
|
|
6169
6348
|
}
|
|
6170
6349
|
export async function updateValidatorNextEpochWorkerPubkey(
|
|
6171
|
-
client:
|
|
6350
|
+
client: SuiJsonRpcClient,
|
|
6172
6351
|
args: [string, string[]],
|
|
6173
6352
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6174
6353
|
const tx = new Transaction();
|
|
@@ -6183,7 +6362,7 @@ export namespace sui_system_state_inner {
|
|
|
6183
6362
|
);
|
|
6184
6363
|
}
|
|
6185
6364
|
export async function updateValidatorProjectUrl(
|
|
6186
|
-
client:
|
|
6365
|
+
client: SuiJsonRpcClient,
|
|
6187
6366
|
args: [string, string[]],
|
|
6188
6367
|
): Promise<TypedDevInspectResults<[]>> {
|
|
6189
6368
|
const tx = new Transaction();
|
|
@@ -6198,7 +6377,7 @@ export namespace sui_system_state_inner {
|
|
|
6198
6377
|
);
|
|
6199
6378
|
}
|
|
6200
6379
|
export async function v1ToV2(
|
|
6201
|
-
client:
|
|
6380
|
+
client: SuiJsonRpcClient,
|
|
6202
6381
|
args: [sui_system_state_inner.SuiSystemStateInner],
|
|
6203
6382
|
): Promise<
|
|
6204
6383
|
TypedDevInspectResults<[sui_system_state_inner.SuiSystemStateInnerV2]>
|
|
@@ -6215,7 +6394,7 @@ export namespace sui_system_state_inner {
|
|
|
6215
6394
|
>(inspectRes);
|
|
6216
6395
|
}
|
|
6217
6396
|
export async function validatorAddressByPoolId(
|
|
6218
|
-
client:
|
|
6397
|
+
client: SuiJsonRpcClient,
|
|
6219
6398
|
args: [string, string],
|
|
6220
6399
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6221
6400
|
const tx = new Transaction();
|
|
@@ -6230,7 +6409,7 @@ export namespace sui_system_state_inner {
|
|
|
6230
6409
|
);
|
|
6231
6410
|
}
|
|
6232
6411
|
export async function validatorStakeAmount(
|
|
6233
|
-
client:
|
|
6412
|
+
client: SuiJsonRpcClient,
|
|
6234
6413
|
args: [string, string],
|
|
6235
6414
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
6236
6415
|
const tx = new Transaction();
|
|
@@ -6245,7 +6424,7 @@ export namespace sui_system_state_inner {
|
|
|
6245
6424
|
);
|
|
6246
6425
|
}
|
|
6247
6426
|
export async function validatorStakingPoolId(
|
|
6248
|
-
client:
|
|
6427
|
+
client: SuiJsonRpcClient,
|
|
6249
6428
|
args: [string, string],
|
|
6250
6429
|
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
|
6251
6430
|
const tx = new Transaction();
|
|
@@ -6260,7 +6439,7 @@ export namespace sui_system_state_inner {
|
|
|
6260
6439
|
>(inspectRes);
|
|
6261
6440
|
}
|
|
6262
6441
|
export async function validatorStakingPoolMappings(
|
|
6263
|
-
client:
|
|
6442
|
+
client: SuiJsonRpcClient,
|
|
6264
6443
|
args: [string],
|
|
6265
6444
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6266
6445
|
const tx = new Transaction();
|
|
@@ -6275,7 +6454,7 @@ export namespace sui_system_state_inner {
|
|
|
6275
6454
|
);
|
|
6276
6455
|
}
|
|
6277
6456
|
export async function validators(
|
|
6278
|
-
client:
|
|
6457
|
+
client: SuiJsonRpcClient,
|
|
6279
6458
|
args: [string],
|
|
6280
6459
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6281
6460
|
const tx = new Transaction();
|
|
@@ -6290,7 +6469,7 @@ export namespace sui_system_state_inner {
|
|
|
6290
6469
|
);
|
|
6291
6470
|
}
|
|
6292
6471
|
export async function validatorsMut(
|
|
6293
|
-
client:
|
|
6472
|
+
client: SuiJsonRpcClient,
|
|
6294
6473
|
args: [string],
|
|
6295
6474
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
6296
6475
|
const tx = new Transaction();
|
|
@@ -7784,7 +7963,7 @@ export namespace validator {
|
|
|
7784
7963
|
}
|
|
7785
7964
|
export namespace view {
|
|
7786
7965
|
export async function activate(
|
|
7787
|
-
client:
|
|
7966
|
+
client: SuiJsonRpcClient,
|
|
7788
7967
|
args: [string, bigint],
|
|
7789
7968
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7790
7969
|
const tx = new Transaction();
|
|
@@ -7799,7 +7978,7 @@ export namespace validator {
|
|
|
7799
7978
|
);
|
|
7800
7979
|
}
|
|
7801
7980
|
export async function adjustStakeAndGasPrice(
|
|
7802
|
-
client:
|
|
7981
|
+
client: SuiJsonRpcClient,
|
|
7803
7982
|
args: [string],
|
|
7804
7983
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7805
7984
|
const tx = new Transaction();
|
|
@@ -7814,7 +7993,7 @@ export namespace validator {
|
|
|
7814
7993
|
);
|
|
7815
7994
|
}
|
|
7816
7995
|
export async function commissionRate(
|
|
7817
|
-
client:
|
|
7996
|
+
client: SuiJsonRpcClient,
|
|
7818
7997
|
args: [string],
|
|
7819
7998
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7820
7999
|
const tx = new Transaction();
|
|
@@ -7829,7 +8008,7 @@ export namespace validator {
|
|
|
7829
8008
|
);
|
|
7830
8009
|
}
|
|
7831
8010
|
export async function convertToFungibleStakedSui(
|
|
7832
|
-
client:
|
|
8011
|
+
client: SuiJsonRpcClient,
|
|
7833
8012
|
args: [string, staking_pool.StakedSui],
|
|
7834
8013
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
7835
8014
|
const tx = new Transaction();
|
|
@@ -7844,7 +8023,7 @@ export namespace validator {
|
|
|
7844
8023
|
>(inspectRes);
|
|
7845
8024
|
}
|
|
7846
8025
|
export async function deactivate(
|
|
7847
|
-
client:
|
|
8026
|
+
client: SuiJsonRpcClient,
|
|
7848
8027
|
args: [string, bigint],
|
|
7849
8028
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7850
8029
|
const tx = new Transaction();
|
|
@@ -7859,7 +8038,7 @@ export namespace validator {
|
|
|
7859
8038
|
);
|
|
7860
8039
|
}
|
|
7861
8040
|
export async function depositStakeRewards(
|
|
7862
|
-
client:
|
|
8041
|
+
client: SuiJsonRpcClient,
|
|
7863
8042
|
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>],
|
|
7864
8043
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7865
8044
|
const tx = new Transaction();
|
|
@@ -7874,7 +8053,7 @@ export namespace validator {
|
|
|
7874
8053
|
);
|
|
7875
8054
|
}
|
|
7876
8055
|
export async function description(
|
|
7877
|
-
client:
|
|
8056
|
+
client: SuiJsonRpcClient,
|
|
7878
8057
|
args: [string],
|
|
7879
8058
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7880
8059
|
const tx = new Transaction();
|
|
@@ -7889,7 +8068,7 @@ export namespace validator {
|
|
|
7889
8068
|
);
|
|
7890
8069
|
}
|
|
7891
8070
|
export async function effectuateStagedMetadata(
|
|
7892
|
-
client:
|
|
8071
|
+
client: SuiJsonRpcClient,
|
|
7893
8072
|
args: [string],
|
|
7894
8073
|
): Promise<TypedDevInspectResults<[]>> {
|
|
7895
8074
|
const tx = new Transaction();
|
|
@@ -7904,7 +8083,7 @@ export namespace validator {
|
|
|
7904
8083
|
);
|
|
7905
8084
|
}
|
|
7906
8085
|
export async function gasPrice(
|
|
7907
|
-
client:
|
|
8086
|
+
client: SuiJsonRpcClient,
|
|
7908
8087
|
args: [string],
|
|
7909
8088
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
7910
8089
|
const tx = new Transaction();
|
|
@@ -7919,7 +8098,7 @@ export namespace validator {
|
|
|
7919
8098
|
);
|
|
7920
8099
|
}
|
|
7921
8100
|
export async function getStakingPoolRef(
|
|
7922
|
-
client:
|
|
8101
|
+
client: SuiJsonRpcClient,
|
|
7923
8102
|
args: [string],
|
|
7924
8103
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7925
8104
|
const tx = new Transaction();
|
|
@@ -7934,7 +8113,7 @@ export namespace validator {
|
|
|
7934
8113
|
);
|
|
7935
8114
|
}
|
|
7936
8115
|
export async function imageUrl(
|
|
7937
|
-
client:
|
|
8116
|
+
client: SuiJsonRpcClient,
|
|
7938
8117
|
args: [string],
|
|
7939
8118
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7940
8119
|
const tx = new Transaction();
|
|
@@ -7949,7 +8128,7 @@ export namespace validator {
|
|
|
7949
8128
|
);
|
|
7950
8129
|
}
|
|
7951
8130
|
export async function isDuplicate(
|
|
7952
|
-
client:
|
|
8131
|
+
client: SuiJsonRpcClient,
|
|
7953
8132
|
args: [string, string],
|
|
7954
8133
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
7955
8134
|
const tx = new Transaction();
|
|
@@ -7964,7 +8143,7 @@ export namespace validator {
|
|
|
7964
8143
|
);
|
|
7965
8144
|
}
|
|
7966
8145
|
export async function isPreactive(
|
|
7967
|
-
client:
|
|
8146
|
+
client: SuiJsonRpcClient,
|
|
7968
8147
|
args: [string],
|
|
7969
8148
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
7970
8149
|
const tx = new Transaction();
|
|
@@ -7979,7 +8158,7 @@ export namespace validator {
|
|
|
7979
8158
|
);
|
|
7980
8159
|
}
|
|
7981
8160
|
export async function metadata(
|
|
7982
|
-
client:
|
|
8161
|
+
client: SuiJsonRpcClient,
|
|
7983
8162
|
args: [string],
|
|
7984
8163
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
7985
8164
|
const tx = new Transaction();
|
|
@@ -7994,7 +8173,7 @@ export namespace validator {
|
|
|
7994
8173
|
);
|
|
7995
8174
|
}
|
|
7996
8175
|
export async function name(
|
|
7997
|
-
client:
|
|
8176
|
+
client: SuiJsonRpcClient,
|
|
7998
8177
|
args: [string],
|
|
7999
8178
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8000
8179
|
const tx = new Transaction();
|
|
@@ -8009,7 +8188,7 @@ export namespace validator {
|
|
|
8009
8188
|
);
|
|
8010
8189
|
}
|
|
8011
8190
|
export async function networkAddress(
|
|
8012
|
-
client:
|
|
8191
|
+
client: SuiJsonRpcClient,
|
|
8013
8192
|
args: [string],
|
|
8014
8193
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8015
8194
|
const tx = new Transaction();
|
|
@@ -8024,7 +8203,7 @@ export namespace validator {
|
|
|
8024
8203
|
);
|
|
8025
8204
|
}
|
|
8026
8205
|
export async function networkPubkeyBytes(
|
|
8027
|
-
client:
|
|
8206
|
+
client: SuiJsonRpcClient,
|
|
8028
8207
|
args: [string],
|
|
8029
8208
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8030
8209
|
const tx = new Transaction();
|
|
@@ -8039,7 +8218,7 @@ export namespace validator {
|
|
|
8039
8218
|
);
|
|
8040
8219
|
}
|
|
8041
8220
|
export async function new$(
|
|
8042
|
-
client:
|
|
8221
|
+
client: SuiJsonRpcClient,
|
|
8043
8222
|
args: [
|
|
8044
8223
|
string,
|
|
8045
8224
|
string[],
|
|
@@ -8070,7 +8249,7 @@ export namespace validator {
|
|
|
8070
8249
|
>(inspectRes);
|
|
8071
8250
|
}
|
|
8072
8251
|
export async function newMetadata(
|
|
8073
|
-
client:
|
|
8252
|
+
client: SuiJsonRpcClient,
|
|
8074
8253
|
args: [
|
|
8075
8254
|
string,
|
|
8076
8255
|
string[],
|
|
@@ -8100,7 +8279,7 @@ export namespace validator {
|
|
|
8100
8279
|
>(inspectRes);
|
|
8101
8280
|
}
|
|
8102
8281
|
export async function newUnverifiedValidatorOperationCapAndTransfer(
|
|
8103
|
-
client:
|
|
8282
|
+
client: SuiJsonRpcClient,
|
|
8104
8283
|
args: [string],
|
|
8105
8284
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8106
8285
|
const tx = new Transaction();
|
|
@@ -8115,7 +8294,7 @@ export namespace validator {
|
|
|
8115
8294
|
);
|
|
8116
8295
|
}
|
|
8117
8296
|
export async function nextEpochGasPrice(
|
|
8118
|
-
client:
|
|
8297
|
+
client: SuiJsonRpcClient,
|
|
8119
8298
|
args: [string],
|
|
8120
8299
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
8121
8300
|
const tx = new Transaction();
|
|
@@ -8130,7 +8309,7 @@ export namespace validator {
|
|
|
8130
8309
|
);
|
|
8131
8310
|
}
|
|
8132
8311
|
export async function nextEpochNetworkAddress(
|
|
8133
|
-
client:
|
|
8312
|
+
client: SuiJsonRpcClient,
|
|
8134
8313
|
args: [string],
|
|
8135
8314
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8136
8315
|
const tx = new Transaction();
|
|
@@ -8145,7 +8324,7 @@ export namespace validator {
|
|
|
8145
8324
|
);
|
|
8146
8325
|
}
|
|
8147
8326
|
export async function nextEpochNetworkPubkeyBytes(
|
|
8148
|
-
client:
|
|
8327
|
+
client: SuiJsonRpcClient,
|
|
8149
8328
|
args: [string],
|
|
8150
8329
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8151
8330
|
const tx = new Transaction();
|
|
@@ -8160,7 +8339,7 @@ export namespace validator {
|
|
|
8160
8339
|
);
|
|
8161
8340
|
}
|
|
8162
8341
|
export async function nextEpochP2pAddress(
|
|
8163
|
-
client:
|
|
8342
|
+
client: SuiJsonRpcClient,
|
|
8164
8343
|
args: [string],
|
|
8165
8344
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8166
8345
|
const tx = new Transaction();
|
|
@@ -8175,7 +8354,7 @@ export namespace validator {
|
|
|
8175
8354
|
);
|
|
8176
8355
|
}
|
|
8177
8356
|
export async function nextEpochPrimaryAddress(
|
|
8178
|
-
client:
|
|
8357
|
+
client: SuiJsonRpcClient,
|
|
8179
8358
|
args: [string],
|
|
8180
8359
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8181
8360
|
const tx = new Transaction();
|
|
@@ -8190,7 +8369,7 @@ export namespace validator {
|
|
|
8190
8369
|
);
|
|
8191
8370
|
}
|
|
8192
8371
|
export async function nextEpochProofOfPossession(
|
|
8193
|
-
client:
|
|
8372
|
+
client: SuiJsonRpcClient,
|
|
8194
8373
|
args: [string],
|
|
8195
8374
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8196
8375
|
const tx = new Transaction();
|
|
@@ -8205,7 +8384,7 @@ export namespace validator {
|
|
|
8205
8384
|
);
|
|
8206
8385
|
}
|
|
8207
8386
|
export async function nextEpochProtocolPubkeyBytes(
|
|
8208
|
-
client:
|
|
8387
|
+
client: SuiJsonRpcClient,
|
|
8209
8388
|
args: [string],
|
|
8210
8389
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8211
8390
|
const tx = new Transaction();
|
|
@@ -8220,7 +8399,7 @@ export namespace validator {
|
|
|
8220
8399
|
);
|
|
8221
8400
|
}
|
|
8222
8401
|
export async function nextEpochWorkerAddress(
|
|
8223
|
-
client:
|
|
8402
|
+
client: SuiJsonRpcClient,
|
|
8224
8403
|
args: [string],
|
|
8225
8404
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8226
8405
|
const tx = new Transaction();
|
|
@@ -8235,7 +8414,7 @@ export namespace validator {
|
|
|
8235
8414
|
);
|
|
8236
8415
|
}
|
|
8237
8416
|
export async function nextEpochWorkerPubkeyBytes(
|
|
8238
|
-
client:
|
|
8417
|
+
client: SuiJsonRpcClient,
|
|
8239
8418
|
args: [string],
|
|
8240
8419
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8241
8420
|
const tx = new Transaction();
|
|
@@ -8250,7 +8429,7 @@ export namespace validator {
|
|
|
8250
8429
|
);
|
|
8251
8430
|
}
|
|
8252
8431
|
export async function operationCapId(
|
|
8253
|
-
client:
|
|
8432
|
+
client: SuiJsonRpcClient,
|
|
8254
8433
|
args: [string],
|
|
8255
8434
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8256
8435
|
const tx = new Transaction();
|
|
@@ -8265,7 +8444,7 @@ export namespace validator {
|
|
|
8265
8444
|
);
|
|
8266
8445
|
}
|
|
8267
8446
|
export async function p2pAddress(
|
|
8268
|
-
client:
|
|
8447
|
+
client: SuiJsonRpcClient,
|
|
8269
8448
|
args: [string],
|
|
8270
8449
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8271
8450
|
const tx = new Transaction();
|
|
@@ -8280,7 +8459,7 @@ export namespace validator {
|
|
|
8280
8459
|
);
|
|
8281
8460
|
}
|
|
8282
8461
|
export async function pendingStakeAmount(
|
|
8283
|
-
client:
|
|
8462
|
+
client: SuiJsonRpcClient,
|
|
8284
8463
|
args: [string],
|
|
8285
8464
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
8286
8465
|
const tx = new Transaction();
|
|
@@ -8295,7 +8474,7 @@ export namespace validator {
|
|
|
8295
8474
|
);
|
|
8296
8475
|
}
|
|
8297
8476
|
export async function pendingStakeWithdrawAmount(
|
|
8298
|
-
client:
|
|
8477
|
+
client: SuiJsonRpcClient,
|
|
8299
8478
|
args: [string],
|
|
8300
8479
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
8301
8480
|
const tx = new Transaction();
|
|
@@ -8310,7 +8489,7 @@ export namespace validator {
|
|
|
8310
8489
|
);
|
|
8311
8490
|
}
|
|
8312
8491
|
export async function poolTokenExchangeRateAtEpoch(
|
|
8313
|
-
client:
|
|
8492
|
+
client: SuiJsonRpcClient,
|
|
8314
8493
|
args: [string, bigint],
|
|
8315
8494
|
): Promise<TypedDevInspectResults<[staking_pool.PoolTokenExchangeRate]>> {
|
|
8316
8495
|
const tx = new Transaction();
|
|
@@ -8325,7 +8504,7 @@ export namespace validator {
|
|
|
8325
8504
|
>(inspectRes);
|
|
8326
8505
|
}
|
|
8327
8506
|
export async function primaryAddress(
|
|
8328
|
-
client:
|
|
8507
|
+
client: SuiJsonRpcClient,
|
|
8329
8508
|
args: [string],
|
|
8330
8509
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8331
8510
|
const tx = new Transaction();
|
|
@@ -8340,7 +8519,7 @@ export namespace validator {
|
|
|
8340
8519
|
);
|
|
8341
8520
|
}
|
|
8342
8521
|
export async function processPendingStakesAndWithdraws(
|
|
8343
|
-
client:
|
|
8522
|
+
client: SuiJsonRpcClient,
|
|
8344
8523
|
args: [string],
|
|
8345
8524
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8346
8525
|
const tx = new Transaction();
|
|
@@ -8355,7 +8534,7 @@ export namespace validator {
|
|
|
8355
8534
|
);
|
|
8356
8535
|
}
|
|
8357
8536
|
export async function projectUrl(
|
|
8358
|
-
client:
|
|
8537
|
+
client: SuiJsonRpcClient,
|
|
8359
8538
|
args: [string],
|
|
8360
8539
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8361
8540
|
const tx = new Transaction();
|
|
@@ -8370,7 +8549,7 @@ export namespace validator {
|
|
|
8370
8549
|
);
|
|
8371
8550
|
}
|
|
8372
8551
|
export async function proofOfPossession(
|
|
8373
|
-
client:
|
|
8552
|
+
client: SuiJsonRpcClient,
|
|
8374
8553
|
args: [string],
|
|
8375
8554
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8376
8555
|
const tx = new Transaction();
|
|
@@ -8385,7 +8564,7 @@ export namespace validator {
|
|
|
8385
8564
|
);
|
|
8386
8565
|
}
|
|
8387
8566
|
export async function protocolPubkeyBytes(
|
|
8388
|
-
client:
|
|
8567
|
+
client: SuiJsonRpcClient,
|
|
8389
8568
|
args: [string],
|
|
8390
8569
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8391
8570
|
const tx = new Transaction();
|
|
@@ -8400,7 +8579,7 @@ export namespace validator {
|
|
|
8400
8579
|
);
|
|
8401
8580
|
}
|
|
8402
8581
|
export async function redeemFungibleStakedSui(
|
|
8403
|
-
client:
|
|
8582
|
+
client: SuiJsonRpcClient,
|
|
8404
8583
|
args: [string, staking_pool.FungibleStakedSui],
|
|
8405
8584
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
8406
8585
|
const tx = new Transaction();
|
|
@@ -8415,7 +8594,7 @@ export namespace validator {
|
|
|
8415
8594
|
>(inspectRes);
|
|
8416
8595
|
}
|
|
8417
8596
|
export async function requestAddStake(
|
|
8418
|
-
client:
|
|
8597
|
+
client: SuiJsonRpcClient,
|
|
8419
8598
|
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, string],
|
|
8420
8599
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
8421
8600
|
const tx = new Transaction();
|
|
@@ -8430,7 +8609,7 @@ export namespace validator {
|
|
|
8430
8609
|
>(inspectRes);
|
|
8431
8610
|
}
|
|
8432
8611
|
export async function requestAddStakeAtGenesis(
|
|
8433
|
-
client:
|
|
8612
|
+
client: SuiJsonRpcClient,
|
|
8434
8613
|
args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, string],
|
|
8435
8614
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8436
8615
|
const tx = new Transaction();
|
|
@@ -8445,7 +8624,7 @@ export namespace validator {
|
|
|
8445
8624
|
);
|
|
8446
8625
|
}
|
|
8447
8626
|
export async function requestSetCommissionRate(
|
|
8448
|
-
client:
|
|
8627
|
+
client: SuiJsonRpcClient,
|
|
8449
8628
|
args: [string, bigint],
|
|
8450
8629
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8451
8630
|
const tx = new Transaction();
|
|
@@ -8460,7 +8639,7 @@ export namespace validator {
|
|
|
8460
8639
|
);
|
|
8461
8640
|
}
|
|
8462
8641
|
export async function requestSetGasPrice(
|
|
8463
|
-
client:
|
|
8642
|
+
client: SuiJsonRpcClient,
|
|
8464
8643
|
args: [string, validator_cap.ValidatorOperationCap, bigint],
|
|
8465
8644
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8466
8645
|
const tx = new Transaction();
|
|
@@ -8475,7 +8654,7 @@ export namespace validator {
|
|
|
8475
8654
|
);
|
|
8476
8655
|
}
|
|
8477
8656
|
export async function requestWithdrawStake(
|
|
8478
|
-
client:
|
|
8657
|
+
client: SuiJsonRpcClient,
|
|
8479
8658
|
args: [string, staking_pool.StakedSui],
|
|
8480
8659
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
8481
8660
|
const tx = new Transaction();
|
|
@@ -8490,7 +8669,7 @@ export namespace validator {
|
|
|
8490
8669
|
>(inspectRes);
|
|
8491
8670
|
}
|
|
8492
8671
|
export async function setCandidateCommissionRate(
|
|
8493
|
-
client:
|
|
8672
|
+
client: SuiJsonRpcClient,
|
|
8494
8673
|
args: [string, bigint],
|
|
8495
8674
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8496
8675
|
const tx = new Transaction();
|
|
@@ -8505,7 +8684,7 @@ export namespace validator {
|
|
|
8505
8684
|
);
|
|
8506
8685
|
}
|
|
8507
8686
|
export async function setCandidateGasPrice(
|
|
8508
|
-
client:
|
|
8687
|
+
client: SuiJsonRpcClient,
|
|
8509
8688
|
args: [string, validator_cap.ValidatorOperationCap, bigint],
|
|
8510
8689
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8511
8690
|
const tx = new Transaction();
|
|
@@ -8520,7 +8699,7 @@ export namespace validator {
|
|
|
8520
8699
|
);
|
|
8521
8700
|
}
|
|
8522
8701
|
export async function setVotingPower(
|
|
8523
|
-
client:
|
|
8702
|
+
client: SuiJsonRpcClient,
|
|
8524
8703
|
args: [string, bigint],
|
|
8525
8704
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8526
8705
|
const tx = new Transaction();
|
|
@@ -8535,7 +8714,7 @@ export namespace validator {
|
|
|
8535
8714
|
);
|
|
8536
8715
|
}
|
|
8537
8716
|
export async function stakeAmount(
|
|
8538
|
-
client:
|
|
8717
|
+
client: SuiJsonRpcClient,
|
|
8539
8718
|
args: [string],
|
|
8540
8719
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
8541
8720
|
const tx = new Transaction();
|
|
@@ -8550,7 +8729,7 @@ export namespace validator {
|
|
|
8550
8729
|
);
|
|
8551
8730
|
}
|
|
8552
8731
|
export async function stakingPoolId(
|
|
8553
|
-
client:
|
|
8732
|
+
client: SuiJsonRpcClient,
|
|
8554
8733
|
args: [string],
|
|
8555
8734
|
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
|
8556
8735
|
const tx = new Transaction();
|
|
@@ -8565,7 +8744,7 @@ export namespace validator {
|
|
|
8565
8744
|
>(inspectRes);
|
|
8566
8745
|
}
|
|
8567
8746
|
export async function suiAddress(
|
|
8568
|
-
client:
|
|
8747
|
+
client: SuiJsonRpcClient,
|
|
8569
8748
|
args: [string],
|
|
8570
8749
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8571
8750
|
const tx = new Transaction();
|
|
@@ -8580,7 +8759,7 @@ export namespace validator {
|
|
|
8580
8759
|
);
|
|
8581
8760
|
}
|
|
8582
8761
|
export async function totalStake(
|
|
8583
|
-
client:
|
|
8762
|
+
client: SuiJsonRpcClient,
|
|
8584
8763
|
args: [string],
|
|
8585
8764
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
8586
8765
|
const tx = new Transaction();
|
|
@@ -8595,7 +8774,7 @@ export namespace validator {
|
|
|
8595
8774
|
);
|
|
8596
8775
|
}
|
|
8597
8776
|
export async function totalStakeAmount(
|
|
8598
|
-
client:
|
|
8777
|
+
client: SuiJsonRpcClient,
|
|
8599
8778
|
args: [string],
|
|
8600
8779
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
8601
8780
|
const tx = new Transaction();
|
|
@@ -8610,7 +8789,7 @@ export namespace validator {
|
|
|
8610
8789
|
);
|
|
8611
8790
|
}
|
|
8612
8791
|
export async function updateCandidateNetworkAddress(
|
|
8613
|
-
client:
|
|
8792
|
+
client: SuiJsonRpcClient,
|
|
8614
8793
|
args: [string, string[]],
|
|
8615
8794
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8616
8795
|
const tx = new Transaction();
|
|
@@ -8625,7 +8804,7 @@ export namespace validator {
|
|
|
8625
8804
|
);
|
|
8626
8805
|
}
|
|
8627
8806
|
export async function updateCandidateNetworkPubkey(
|
|
8628
|
-
client:
|
|
8807
|
+
client: SuiJsonRpcClient,
|
|
8629
8808
|
args: [string, string[]],
|
|
8630
8809
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8631
8810
|
const tx = new Transaction();
|
|
@@ -8640,7 +8819,7 @@ export namespace validator {
|
|
|
8640
8819
|
);
|
|
8641
8820
|
}
|
|
8642
8821
|
export async function updateCandidateP2pAddress(
|
|
8643
|
-
client:
|
|
8822
|
+
client: SuiJsonRpcClient,
|
|
8644
8823
|
args: [string, string[]],
|
|
8645
8824
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8646
8825
|
const tx = new Transaction();
|
|
@@ -8655,7 +8834,7 @@ export namespace validator {
|
|
|
8655
8834
|
);
|
|
8656
8835
|
}
|
|
8657
8836
|
export async function updateCandidatePrimaryAddress(
|
|
8658
|
-
client:
|
|
8837
|
+
client: SuiJsonRpcClient,
|
|
8659
8838
|
args: [string, string[]],
|
|
8660
8839
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8661
8840
|
const tx = new Transaction();
|
|
@@ -8670,7 +8849,7 @@ export namespace validator {
|
|
|
8670
8849
|
);
|
|
8671
8850
|
}
|
|
8672
8851
|
export async function updateCandidateProtocolPubkey(
|
|
8673
|
-
client:
|
|
8852
|
+
client: SuiJsonRpcClient,
|
|
8674
8853
|
args: [string, string[], string[]],
|
|
8675
8854
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8676
8855
|
const tx = new Transaction();
|
|
@@ -8685,7 +8864,7 @@ export namespace validator {
|
|
|
8685
8864
|
);
|
|
8686
8865
|
}
|
|
8687
8866
|
export async function updateCandidateWorkerAddress(
|
|
8688
|
-
client:
|
|
8867
|
+
client: SuiJsonRpcClient,
|
|
8689
8868
|
args: [string, string[]],
|
|
8690
8869
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8691
8870
|
const tx = new Transaction();
|
|
@@ -8700,7 +8879,7 @@ export namespace validator {
|
|
|
8700
8879
|
);
|
|
8701
8880
|
}
|
|
8702
8881
|
export async function updateCandidateWorkerPubkey(
|
|
8703
|
-
client:
|
|
8882
|
+
client: SuiJsonRpcClient,
|
|
8704
8883
|
args: [string, string[]],
|
|
8705
8884
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8706
8885
|
const tx = new Transaction();
|
|
@@ -8715,7 +8894,7 @@ export namespace validator {
|
|
|
8715
8894
|
);
|
|
8716
8895
|
}
|
|
8717
8896
|
export async function updateDescription(
|
|
8718
|
-
client:
|
|
8897
|
+
client: SuiJsonRpcClient,
|
|
8719
8898
|
args: [string, string[]],
|
|
8720
8899
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8721
8900
|
const tx = new Transaction();
|
|
@@ -8730,7 +8909,7 @@ export namespace validator {
|
|
|
8730
8909
|
);
|
|
8731
8910
|
}
|
|
8732
8911
|
export async function updateImageUrl(
|
|
8733
|
-
client:
|
|
8912
|
+
client: SuiJsonRpcClient,
|
|
8734
8913
|
args: [string, string[]],
|
|
8735
8914
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8736
8915
|
const tx = new Transaction();
|
|
@@ -8745,7 +8924,7 @@ export namespace validator {
|
|
|
8745
8924
|
);
|
|
8746
8925
|
}
|
|
8747
8926
|
export async function updateName(
|
|
8748
|
-
client:
|
|
8927
|
+
client: SuiJsonRpcClient,
|
|
8749
8928
|
args: [string, string[]],
|
|
8750
8929
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8751
8930
|
const tx = new Transaction();
|
|
@@ -8760,7 +8939,7 @@ export namespace validator {
|
|
|
8760
8939
|
);
|
|
8761
8940
|
}
|
|
8762
8941
|
export async function updateNextEpochNetworkAddress(
|
|
8763
|
-
client:
|
|
8942
|
+
client: SuiJsonRpcClient,
|
|
8764
8943
|
args: [string, string[]],
|
|
8765
8944
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8766
8945
|
const tx = new Transaction();
|
|
@@ -8775,7 +8954,7 @@ export namespace validator {
|
|
|
8775
8954
|
);
|
|
8776
8955
|
}
|
|
8777
8956
|
export async function updateNextEpochNetworkPubkey(
|
|
8778
|
-
client:
|
|
8957
|
+
client: SuiJsonRpcClient,
|
|
8779
8958
|
args: [string, string[]],
|
|
8780
8959
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8781
8960
|
const tx = new Transaction();
|
|
@@ -8790,7 +8969,7 @@ export namespace validator {
|
|
|
8790
8969
|
);
|
|
8791
8970
|
}
|
|
8792
8971
|
export async function updateNextEpochP2pAddress(
|
|
8793
|
-
client:
|
|
8972
|
+
client: SuiJsonRpcClient,
|
|
8794
8973
|
args: [string, string[]],
|
|
8795
8974
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8796
8975
|
const tx = new Transaction();
|
|
@@ -8805,7 +8984,7 @@ export namespace validator {
|
|
|
8805
8984
|
);
|
|
8806
8985
|
}
|
|
8807
8986
|
export async function updateNextEpochPrimaryAddress(
|
|
8808
|
-
client:
|
|
8987
|
+
client: SuiJsonRpcClient,
|
|
8809
8988
|
args: [string, string[]],
|
|
8810
8989
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8811
8990
|
const tx = new Transaction();
|
|
@@ -8820,7 +8999,7 @@ export namespace validator {
|
|
|
8820
8999
|
);
|
|
8821
9000
|
}
|
|
8822
9001
|
export async function updateNextEpochProtocolPubkey(
|
|
8823
|
-
client:
|
|
9002
|
+
client: SuiJsonRpcClient,
|
|
8824
9003
|
args: [string, string[], string[]],
|
|
8825
9004
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8826
9005
|
const tx = new Transaction();
|
|
@@ -8835,7 +9014,7 @@ export namespace validator {
|
|
|
8835
9014
|
);
|
|
8836
9015
|
}
|
|
8837
9016
|
export async function updateNextEpochWorkerAddress(
|
|
8838
|
-
client:
|
|
9017
|
+
client: SuiJsonRpcClient,
|
|
8839
9018
|
args: [string, string[]],
|
|
8840
9019
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8841
9020
|
const tx = new Transaction();
|
|
@@ -8850,7 +9029,7 @@ export namespace validator {
|
|
|
8850
9029
|
);
|
|
8851
9030
|
}
|
|
8852
9031
|
export async function updateNextEpochWorkerPubkey(
|
|
8853
|
-
client:
|
|
9032
|
+
client: SuiJsonRpcClient,
|
|
8854
9033
|
args: [string, string[]],
|
|
8855
9034
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8856
9035
|
const tx = new Transaction();
|
|
@@ -8865,7 +9044,7 @@ export namespace validator {
|
|
|
8865
9044
|
);
|
|
8866
9045
|
}
|
|
8867
9046
|
export async function updateProjectUrl(
|
|
8868
|
-
client:
|
|
9047
|
+
client: SuiJsonRpcClient,
|
|
8869
9048
|
args: [string, string[]],
|
|
8870
9049
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8871
9050
|
const tx = new Transaction();
|
|
@@ -8880,7 +9059,7 @@ export namespace validator {
|
|
|
8880
9059
|
);
|
|
8881
9060
|
}
|
|
8882
9061
|
export async function validateMetadata(
|
|
8883
|
-
client:
|
|
9062
|
+
client: SuiJsonRpcClient,
|
|
8884
9063
|
args: [string],
|
|
8885
9064
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8886
9065
|
const tx = new Transaction();
|
|
@@ -8895,7 +9074,7 @@ export namespace validator {
|
|
|
8895
9074
|
);
|
|
8896
9075
|
}
|
|
8897
9076
|
export async function validateMetadataBcs(
|
|
8898
|
-
client:
|
|
9077
|
+
client: SuiJsonRpcClient,
|
|
8899
9078
|
args: [string[]],
|
|
8900
9079
|
): Promise<TypedDevInspectResults<[]>> {
|
|
8901
9080
|
const tx = new Transaction();
|
|
@@ -8910,7 +9089,7 @@ export namespace validator {
|
|
|
8910
9089
|
);
|
|
8911
9090
|
}
|
|
8912
9091
|
export async function votingPower(
|
|
8913
|
-
client:
|
|
9092
|
+
client: SuiJsonRpcClient,
|
|
8914
9093
|
args: [string],
|
|
8915
9094
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
8916
9095
|
const tx = new Transaction();
|
|
@@ -8925,7 +9104,7 @@ export namespace validator {
|
|
|
8925
9104
|
);
|
|
8926
9105
|
}
|
|
8927
9106
|
export async function workerAddress(
|
|
8928
|
-
client:
|
|
9107
|
+
client: SuiJsonRpcClient,
|
|
8929
9108
|
args: [string],
|
|
8930
9109
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8931
9110
|
const tx = new Transaction();
|
|
@@ -8940,7 +9119,7 @@ export namespace validator {
|
|
|
8940
9119
|
);
|
|
8941
9120
|
}
|
|
8942
9121
|
export async function workerPubkeyBytes(
|
|
8943
|
-
client:
|
|
9122
|
+
client: SuiJsonRpcClient,
|
|
8944
9123
|
args: [string],
|
|
8945
9124
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
8946
9125
|
const tx = new Transaction();
|
|
@@ -9049,7 +9228,7 @@ export namespace validator_cap {
|
|
|
9049
9228
|
}
|
|
9050
9229
|
export namespace view {
|
|
9051
9230
|
export async function intoVerified(
|
|
9052
|
-
client:
|
|
9231
|
+
client: SuiJsonRpcClient,
|
|
9053
9232
|
args: [string],
|
|
9054
9233
|
): Promise<TypedDevInspectResults<[validator_cap.ValidatorOperationCap]>> {
|
|
9055
9234
|
const tx = new Transaction();
|
|
@@ -9064,7 +9243,7 @@ export namespace validator_cap {
|
|
|
9064
9243
|
>(inspectRes);
|
|
9065
9244
|
}
|
|
9066
9245
|
export async function newUnverifiedValidatorOperationCapAndTransfer(
|
|
9067
|
-
client:
|
|
9246
|
+
client: SuiJsonRpcClient,
|
|
9068
9247
|
args: [string],
|
|
9069
9248
|
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
|
9070
9249
|
const tx = new Transaction();
|
|
@@ -9079,7 +9258,7 @@ export namespace validator_cap {
|
|
|
9079
9258
|
>(inspectRes);
|
|
9080
9259
|
}
|
|
9081
9260
|
export async function unverifiedOperationCapAddress(
|
|
9082
|
-
client:
|
|
9261
|
+
client: SuiJsonRpcClient,
|
|
9083
9262
|
args: [string],
|
|
9084
9263
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9085
9264
|
const tx = new Transaction();
|
|
@@ -9094,7 +9273,7 @@ export namespace validator_cap {
|
|
|
9094
9273
|
);
|
|
9095
9274
|
}
|
|
9096
9275
|
export async function verifiedOperationCapAddress(
|
|
9097
|
-
client:
|
|
9276
|
+
client: SuiJsonRpcClient,
|
|
9098
9277
|
args: [string],
|
|
9099
9278
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
9100
9279
|
const tx = new Transaction();
|
|
@@ -10036,7 +10215,7 @@ export namespace validator_set {
|
|
|
10036
10215
|
}
|
|
10037
10216
|
export namespace view {
|
|
10038
10217
|
export async function activeValidatorAddresses(
|
|
10039
|
-
client:
|
|
10218
|
+
client: SuiJsonRpcClient,
|
|
10040
10219
|
args: [string],
|
|
10041
10220
|
): Promise<TypedDevInspectResults<[string[]]>> {
|
|
10042
10221
|
const tx = new Transaction();
|
|
@@ -10051,7 +10230,7 @@ export namespace validator_set {
|
|
|
10051
10230
|
);
|
|
10052
10231
|
}
|
|
10053
10232
|
export async function activeValidators(
|
|
10054
|
-
client:
|
|
10233
|
+
client: SuiJsonRpcClient,
|
|
10055
10234
|
args: [string],
|
|
10056
10235
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10057
10236
|
const tx = new Transaction();
|
|
@@ -10066,7 +10245,7 @@ export namespace validator_set {
|
|
|
10066
10245
|
);
|
|
10067
10246
|
}
|
|
10068
10247
|
export async function advanceEpoch(
|
|
10069
|
-
client:
|
|
10248
|
+
client: SuiJsonRpcClient,
|
|
10070
10249
|
args: [string, string, string, string, bigint, bigint],
|
|
10071
10250
|
): Promise<TypedDevInspectResults<[]>> {
|
|
10072
10251
|
const tx = new Transaction();
|
|
@@ -10081,7 +10260,7 @@ export namespace validator_set {
|
|
|
10081
10260
|
);
|
|
10082
10261
|
}
|
|
10083
10262
|
export async function assertNoPendingOrActiveDuplicates(
|
|
10084
|
-
client:
|
|
10263
|
+
client: SuiJsonRpcClient,
|
|
10085
10264
|
args: [string, string],
|
|
10086
10265
|
): Promise<TypedDevInspectResults<[]>> {
|
|
10087
10266
|
const tx = new Transaction();
|
|
@@ -10096,7 +10275,7 @@ export namespace validator_set {
|
|
|
10096
10275
|
);
|
|
10097
10276
|
}
|
|
10098
10277
|
export async function calculateTotalStakes(
|
|
10099
|
-
client:
|
|
10278
|
+
client: SuiJsonRpcClient,
|
|
10100
10279
|
args: [string],
|
|
10101
10280
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10102
10281
|
const tx = new Transaction();
|
|
@@ -10111,7 +10290,7 @@ export namespace validator_set {
|
|
|
10111
10290
|
);
|
|
10112
10291
|
}
|
|
10113
10292
|
export async function convertToFungibleStakedSui(
|
|
10114
|
-
client:
|
|
10293
|
+
client: SuiJsonRpcClient,
|
|
10115
10294
|
args: [string, staking_pool.StakedSui],
|
|
10116
10295
|
): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>> {
|
|
10117
10296
|
const tx = new Transaction();
|
|
@@ -10126,7 +10305,7 @@ export namespace validator_set {
|
|
|
10126
10305
|
>(inspectRes);
|
|
10127
10306
|
}
|
|
10128
10307
|
export async function deriveReferenceGasPrice(
|
|
10129
|
-
client:
|
|
10308
|
+
client: SuiJsonRpcClient,
|
|
10130
10309
|
args: [string],
|
|
10131
10310
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10132
10311
|
const tx = new Transaction();
|
|
@@ -10141,7 +10320,7 @@ export namespace validator_set {
|
|
|
10141
10320
|
);
|
|
10142
10321
|
}
|
|
10143
10322
|
export async function getActiveOrPendingOrCandidateValidatorRef(
|
|
10144
|
-
client:
|
|
10323
|
+
client: SuiJsonRpcClient,
|
|
10145
10324
|
args: [string, string, number],
|
|
10146
10325
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10147
10326
|
const tx = new Transaction();
|
|
@@ -10156,7 +10335,7 @@ export namespace validator_set {
|
|
|
10156
10335
|
);
|
|
10157
10336
|
}
|
|
10158
10337
|
export async function getActiveValidatorRef(
|
|
10159
|
-
client:
|
|
10338
|
+
client: SuiJsonRpcClient,
|
|
10160
10339
|
args: [string, string],
|
|
10161
10340
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10162
10341
|
const tx = new Transaction();
|
|
@@ -10171,7 +10350,7 @@ export namespace validator_set {
|
|
|
10171
10350
|
);
|
|
10172
10351
|
}
|
|
10173
10352
|
export async function getPendingValidatorRef(
|
|
10174
|
-
client:
|
|
10353
|
+
client: SuiJsonRpcClient,
|
|
10175
10354
|
args: [string, string],
|
|
10176
10355
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10177
10356
|
const tx = new Transaction();
|
|
@@ -10186,7 +10365,7 @@ export namespace validator_set {
|
|
|
10186
10365
|
);
|
|
10187
10366
|
}
|
|
10188
10367
|
export async function getValidatorMut(
|
|
10189
|
-
client:
|
|
10368
|
+
client: SuiJsonRpcClient,
|
|
10190
10369
|
args: [string, string],
|
|
10191
10370
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10192
10371
|
const tx = new Transaction();
|
|
@@ -10201,7 +10380,7 @@ export namespace validator_set {
|
|
|
10201
10380
|
);
|
|
10202
10381
|
}
|
|
10203
10382
|
export async function getValidatorMutWithCtx(
|
|
10204
|
-
client:
|
|
10383
|
+
client: SuiJsonRpcClient,
|
|
10205
10384
|
args: [string],
|
|
10206
10385
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10207
10386
|
const tx = new Transaction();
|
|
@@ -10216,7 +10395,7 @@ export namespace validator_set {
|
|
|
10216
10395
|
);
|
|
10217
10396
|
}
|
|
10218
10397
|
export async function getValidatorMutWithCtxIncludingCandidates(
|
|
10219
|
-
client:
|
|
10398
|
+
client: SuiJsonRpcClient,
|
|
10220
10399
|
args: [string],
|
|
10221
10400
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10222
10401
|
const tx = new Transaction();
|
|
@@ -10231,7 +10410,7 @@ export namespace validator_set {
|
|
|
10231
10410
|
);
|
|
10232
10411
|
}
|
|
10233
10412
|
export async function getValidatorMutWithVerifiedCap(
|
|
10234
|
-
client:
|
|
10413
|
+
client: SuiJsonRpcClient,
|
|
10235
10414
|
args: [string, string, boolean],
|
|
10236
10415
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10237
10416
|
const tx = new Transaction();
|
|
@@ -10246,7 +10425,7 @@ export namespace validator_set {
|
|
|
10246
10425
|
);
|
|
10247
10426
|
}
|
|
10248
10427
|
export async function isActiveValidator(
|
|
10249
|
-
client:
|
|
10428
|
+
client: SuiJsonRpcClient,
|
|
10250
10429
|
args: [string, string],
|
|
10251
10430
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
10252
10431
|
const tx = new Transaction();
|
|
@@ -10261,7 +10440,7 @@ export namespace validator_set {
|
|
|
10261
10440
|
);
|
|
10262
10441
|
}
|
|
10263
10442
|
export async function isActiveValidatorBySuiAddress(
|
|
10264
|
-
client:
|
|
10443
|
+
client: SuiJsonRpcClient,
|
|
10265
10444
|
args: [string, string],
|
|
10266
10445
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
10267
10446
|
const tx = new Transaction();
|
|
@@ -10276,7 +10455,7 @@ export namespace validator_set {
|
|
|
10276
10455
|
);
|
|
10277
10456
|
}
|
|
10278
10457
|
export async function isAtRiskValidator(
|
|
10279
|
-
client:
|
|
10458
|
+
client: SuiJsonRpcClient,
|
|
10280
10459
|
args: [string, string],
|
|
10281
10460
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
10282
10461
|
const tx = new Transaction();
|
|
@@ -10291,7 +10470,7 @@ export namespace validator_set {
|
|
|
10291
10470
|
);
|
|
10292
10471
|
}
|
|
10293
10472
|
export async function isDuplicateValidator(
|
|
10294
|
-
client:
|
|
10473
|
+
client: SuiJsonRpcClient,
|
|
10295
10474
|
args: [string, string],
|
|
10296
10475
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
10297
10476
|
const tx = new Transaction();
|
|
@@ -10306,7 +10485,7 @@ export namespace validator_set {
|
|
|
10306
10485
|
);
|
|
10307
10486
|
}
|
|
10308
10487
|
export async function isInactiveValidator(
|
|
10309
|
-
client:
|
|
10488
|
+
client: SuiJsonRpcClient,
|
|
10310
10489
|
args: [string, _0x2.object$.ID],
|
|
10311
10490
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
10312
10491
|
const tx = new Transaction();
|
|
@@ -10321,7 +10500,7 @@ export namespace validator_set {
|
|
|
10321
10500
|
);
|
|
10322
10501
|
}
|
|
10323
10502
|
export async function isValidatorCandidate(
|
|
10324
|
-
client:
|
|
10503
|
+
client: SuiJsonRpcClient,
|
|
10325
10504
|
args: [string, string],
|
|
10326
10505
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
10327
10506
|
const tx = new Transaction();
|
|
@@ -10336,7 +10515,7 @@ export namespace validator_set {
|
|
|
10336
10515
|
);
|
|
10337
10516
|
}
|
|
10338
10517
|
export async function new$(
|
|
10339
|
-
client:
|
|
10518
|
+
client: SuiJsonRpcClient,
|
|
10340
10519
|
args: [string[]],
|
|
10341
10520
|
): Promise<TypedDevInspectResults<[validator_set.ValidatorSet]>> {
|
|
10342
10521
|
const tx = new Transaction();
|
|
@@ -10351,7 +10530,7 @@ export namespace validator_set {
|
|
|
10351
10530
|
>(inspectRes);
|
|
10352
10531
|
}
|
|
10353
10532
|
export async function nextEpochValidatorCount(
|
|
10354
|
-
client:
|
|
10533
|
+
client: SuiJsonRpcClient,
|
|
10355
10534
|
args: [string],
|
|
10356
10535
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10357
10536
|
const tx = new Transaction();
|
|
@@ -10366,7 +10545,7 @@ export namespace validator_set {
|
|
|
10366
10545
|
);
|
|
10367
10546
|
}
|
|
10368
10547
|
export async function poolExchangeRates(
|
|
10369
|
-
client:
|
|
10548
|
+
client: SuiJsonRpcClient,
|
|
10370
10549
|
args: [string, string],
|
|
10371
10550
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10372
10551
|
const tx = new Transaction();
|
|
@@ -10381,7 +10560,7 @@ export namespace validator_set {
|
|
|
10381
10560
|
);
|
|
10382
10561
|
}
|
|
10383
10562
|
export async function redeemFungibleStakedSui(
|
|
10384
|
-
client:
|
|
10563
|
+
client: SuiJsonRpcClient,
|
|
10385
10564
|
args: [string, staking_pool.FungibleStakedSui],
|
|
10386
10565
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
10387
10566
|
const tx = new Transaction();
|
|
@@ -10396,7 +10575,7 @@ export namespace validator_set {
|
|
|
10396
10575
|
>(inspectRes);
|
|
10397
10576
|
}
|
|
10398
10577
|
export async function requestAddStake(
|
|
10399
|
-
client:
|
|
10578
|
+
client: SuiJsonRpcClient,
|
|
10400
10579
|
args: [string, string, _0x2.balance.Balance<_0x2.sui.SUI>],
|
|
10401
10580
|
): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>> {
|
|
10402
10581
|
const tx = new Transaction();
|
|
@@ -10411,7 +10590,7 @@ export namespace validator_set {
|
|
|
10411
10590
|
>(inspectRes);
|
|
10412
10591
|
}
|
|
10413
10592
|
export async function requestAddValidator(
|
|
10414
|
-
client:
|
|
10593
|
+
client: SuiJsonRpcClient,
|
|
10415
10594
|
args: [string],
|
|
10416
10595
|
): Promise<TypedDevInspectResults<[]>> {
|
|
10417
10596
|
const tx = new Transaction();
|
|
@@ -10426,7 +10605,7 @@ export namespace validator_set {
|
|
|
10426
10605
|
);
|
|
10427
10606
|
}
|
|
10428
10607
|
export async function requestAddValidatorCandidate(
|
|
10429
|
-
client:
|
|
10608
|
+
client: SuiJsonRpcClient,
|
|
10430
10609
|
args: [string, validator.Validator],
|
|
10431
10610
|
): Promise<TypedDevInspectResults<[]>> {
|
|
10432
10611
|
const tx = new Transaction();
|
|
@@ -10441,7 +10620,7 @@ export namespace validator_set {
|
|
|
10441
10620
|
);
|
|
10442
10621
|
}
|
|
10443
10622
|
export async function requestRemoveValidator(
|
|
10444
|
-
client:
|
|
10623
|
+
client: SuiJsonRpcClient,
|
|
10445
10624
|
args: [string],
|
|
10446
10625
|
): Promise<TypedDevInspectResults<[]>> {
|
|
10447
10626
|
const tx = new Transaction();
|
|
@@ -10456,7 +10635,7 @@ export namespace validator_set {
|
|
|
10456
10635
|
);
|
|
10457
10636
|
}
|
|
10458
10637
|
export async function requestRemoveValidatorCandidate(
|
|
10459
|
-
client:
|
|
10638
|
+
client: SuiJsonRpcClient,
|
|
10460
10639
|
args: [string],
|
|
10461
10640
|
): Promise<TypedDevInspectResults<[]>> {
|
|
10462
10641
|
const tx = new Transaction();
|
|
@@ -10471,7 +10650,7 @@ export namespace validator_set {
|
|
|
10471
10650
|
);
|
|
10472
10651
|
}
|
|
10473
10652
|
export async function requestSetCommissionRate(
|
|
10474
|
-
client:
|
|
10653
|
+
client: SuiJsonRpcClient,
|
|
10475
10654
|
args: [string, bigint],
|
|
10476
10655
|
): Promise<TypedDevInspectResults<[]>> {
|
|
10477
10656
|
const tx = new Transaction();
|
|
@@ -10486,7 +10665,7 @@ export namespace validator_set {
|
|
|
10486
10665
|
);
|
|
10487
10666
|
}
|
|
10488
10667
|
export async function requestWithdrawStake(
|
|
10489
|
-
client:
|
|
10668
|
+
client: SuiJsonRpcClient,
|
|
10490
10669
|
args: [string, staking_pool.StakedSui],
|
|
10491
10670
|
): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>> {
|
|
10492
10671
|
const tx = new Transaction();
|
|
@@ -10501,7 +10680,7 @@ export namespace validator_set {
|
|
|
10501
10680
|
>(inspectRes);
|
|
10502
10681
|
}
|
|
10503
10682
|
export async function stakingPoolMappings(
|
|
10504
|
-
client:
|
|
10683
|
+
client: SuiJsonRpcClient,
|
|
10505
10684
|
args: [string],
|
|
10506
10685
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10507
10686
|
const tx = new Transaction();
|
|
@@ -10516,7 +10695,7 @@ export namespace validator_set {
|
|
|
10516
10695
|
);
|
|
10517
10696
|
}
|
|
10518
10697
|
export async function sumVotingPowerByAddresses(
|
|
10519
|
-
client:
|
|
10698
|
+
client: SuiJsonRpcClient,
|
|
10520
10699
|
args: [string, string],
|
|
10521
10700
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10522
10701
|
const tx = new Transaction();
|
|
@@ -10531,7 +10710,7 @@ export namespace validator_set {
|
|
|
10531
10710
|
);
|
|
10532
10711
|
}
|
|
10533
10712
|
export async function totalStake(
|
|
10534
|
-
client:
|
|
10713
|
+
client: SuiJsonRpcClient,
|
|
10535
10714
|
args: [string],
|
|
10536
10715
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10537
10716
|
const tx = new Transaction();
|
|
@@ -10546,7 +10725,7 @@ export namespace validator_set {
|
|
|
10546
10725
|
);
|
|
10547
10726
|
}
|
|
10548
10727
|
export async function validatorAddressByPoolId(
|
|
10549
|
-
client:
|
|
10728
|
+
client: SuiJsonRpcClient,
|
|
10550
10729
|
args: [string, string],
|
|
10551
10730
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10552
10731
|
const tx = new Transaction();
|
|
@@ -10561,7 +10740,7 @@ export namespace validator_set {
|
|
|
10561
10740
|
);
|
|
10562
10741
|
}
|
|
10563
10742
|
export async function validatorByPoolId(
|
|
10564
|
-
client:
|
|
10743
|
+
client: SuiJsonRpcClient,
|
|
10565
10744
|
args: [string, string],
|
|
10566
10745
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10567
10746
|
const tx = new Transaction();
|
|
@@ -10576,7 +10755,7 @@ export namespace validator_set {
|
|
|
10576
10755
|
);
|
|
10577
10756
|
}
|
|
10578
10757
|
export async function validatorStakeAmount(
|
|
10579
|
-
client:
|
|
10758
|
+
client: SuiJsonRpcClient,
|
|
10580
10759
|
args: [string, string],
|
|
10581
10760
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10582
10761
|
const tx = new Transaction();
|
|
@@ -10591,7 +10770,7 @@ export namespace validator_set {
|
|
|
10591
10770
|
);
|
|
10592
10771
|
}
|
|
10593
10772
|
export async function validatorStakingPoolId(
|
|
10594
|
-
client:
|
|
10773
|
+
client: SuiJsonRpcClient,
|
|
10595
10774
|
args: [string, string],
|
|
10596
10775
|
): Promise<TypedDevInspectResults<[_0x2.object$.ID]>> {
|
|
10597
10776
|
const tx = new Transaction();
|
|
@@ -10606,7 +10785,7 @@ export namespace validator_set {
|
|
|
10606
10785
|
>(inspectRes);
|
|
10607
10786
|
}
|
|
10608
10787
|
export async function validatorTotalStakeAmount(
|
|
10609
|
-
client:
|
|
10788
|
+
client: SuiJsonRpcClient,
|
|
10610
10789
|
args: [string, string],
|
|
10611
10790
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10612
10791
|
const tx = new Transaction();
|
|
@@ -10621,7 +10800,7 @@ export namespace validator_set {
|
|
|
10621
10800
|
);
|
|
10622
10801
|
}
|
|
10623
10802
|
export async function validatorVotingPower(
|
|
10624
|
-
client:
|
|
10803
|
+
client: SuiJsonRpcClient,
|
|
10625
10804
|
args: [string, string],
|
|
10626
10805
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10627
10806
|
const tx = new Transaction();
|
|
@@ -10636,7 +10815,7 @@ export namespace validator_set {
|
|
|
10636
10815
|
);
|
|
10637
10816
|
}
|
|
10638
10817
|
export async function verifyCap(
|
|
10639
|
-
client:
|
|
10818
|
+
client: SuiJsonRpcClient,
|
|
10640
10819
|
args: [string, string, number],
|
|
10641
10820
|
): Promise<TypedDevInspectResults<[validator_cap.ValidatorOperationCap]>> {
|
|
10642
10821
|
const tx = new Transaction();
|
|
@@ -10713,7 +10892,7 @@ export namespace validator_wrapper {
|
|
|
10713
10892
|
}
|
|
10714
10893
|
export namespace view {
|
|
10715
10894
|
export async function createV1(
|
|
10716
|
-
client:
|
|
10895
|
+
client: SuiJsonRpcClient,
|
|
10717
10896
|
args: [validator.Validator],
|
|
10718
10897
|
): Promise<TypedDevInspectResults<[validator_wrapper.ValidatorWrapper]>> {
|
|
10719
10898
|
const tx = new Transaction();
|
|
@@ -10728,7 +10907,7 @@ export namespace validator_wrapper {
|
|
|
10728
10907
|
>(inspectRes);
|
|
10729
10908
|
}
|
|
10730
10909
|
export async function destroy(
|
|
10731
|
-
client:
|
|
10910
|
+
client: SuiJsonRpcClient,
|
|
10732
10911
|
args: [validator_wrapper.ValidatorWrapper],
|
|
10733
10912
|
): Promise<TypedDevInspectResults<[validator.Validator]>> {
|
|
10734
10913
|
const tx = new Transaction();
|
|
@@ -10743,7 +10922,7 @@ export namespace validator_wrapper {
|
|
|
10743
10922
|
>(inspectRes);
|
|
10744
10923
|
}
|
|
10745
10924
|
export async function loadValidatorMaybeUpgrade(
|
|
10746
|
-
client:
|
|
10925
|
+
client: SuiJsonRpcClient,
|
|
10747
10926
|
args: [string],
|
|
10748
10927
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10749
10928
|
const tx = new Transaction();
|
|
@@ -10852,7 +11031,7 @@ export namespace voting_power {
|
|
|
10852
11031
|
}
|
|
10853
11032
|
export namespace view {
|
|
10854
11033
|
export async function deriveRawVotingPower(
|
|
10855
|
-
client:
|
|
11034
|
+
client: SuiJsonRpcClient,
|
|
10856
11035
|
args: [bigint, bigint],
|
|
10857
11036
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10858
11037
|
const tx = new Transaction();
|
|
@@ -10867,7 +11046,7 @@ export namespace voting_power {
|
|
|
10867
11046
|
);
|
|
10868
11047
|
}
|
|
10869
11048
|
export async function quorumThreshold(
|
|
10870
|
-
client:
|
|
11049
|
+
client: SuiJsonRpcClient,
|
|
10871
11050
|
args: [],
|
|
10872
11051
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10873
11052
|
const tx = new Transaction();
|
|
@@ -10882,7 +11061,7 @@ export namespace voting_power {
|
|
|
10882
11061
|
);
|
|
10883
11062
|
}
|
|
10884
11063
|
export async function setVotingPower(
|
|
10885
|
-
client:
|
|
11064
|
+
client: SuiJsonRpcClient,
|
|
10886
11065
|
args: [string, bigint],
|
|
10887
11066
|
): Promise<TypedDevInspectResults<[]>> {
|
|
10888
11067
|
const tx = new Transaction();
|
|
@@ -10897,7 +11076,7 @@ export namespace voting_power {
|
|
|
10897
11076
|
);
|
|
10898
11077
|
}
|
|
10899
11078
|
export async function totalVotingPower(
|
|
10900
|
-
client:
|
|
11079
|
+
client: SuiJsonRpcClient,
|
|
10901
11080
|
args: [],
|
|
10902
11081
|
): Promise<TypedDevInspectResults<[bigint]>> {
|
|
10903
11082
|
const tx = new Transaction();
|
|
@@ -10915,7 +11094,7 @@ export namespace voting_power {
|
|
|
10915
11094
|
}
|
|
10916
11095
|
|
|
10917
11096
|
const MODULES = JSON.parse(
|
|
10918
|
-
'{"genesis":{"fileFormatVersion":6,"address":"0x3","name":"genesis","friends":[],"structs":{"GenesisChainParameters":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"protocol_version","type":"U64"},{"name":"chain_start_timestamp_ms","type":"U64"},{"name":"epoch_duration_ms","type":"U64"},{"name":"stake_subsidy_start_epoch","type":"U64"},{"name":"stake_subsidy_initial_distribution_amount","type":"U64"},{"name":"stake_subsidy_period_length","type":"U64"},{"name":"stake_subsidy_decrease_rate","type":"U16"},{"name":"max_validator_count","type":"U64"},{"name":"min_validator_joining_stake","type":"U64"},{"name":"validator_low_stake_threshold","type":"U64"},{"name":"validator_very_low_stake_threshold","type":"U64"},{"name":"validator_low_stake_grace_period","type":"U64"}]},"GenesisValidatorMetadata":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"name","type":{"Vector":"U8"}},{"name":"description","type":{"Vector":"U8"}},{"name":"image_url","type":{"Vector":"U8"}},{"name":"project_url","type":{"Vector":"U8"}},{"name":"sui_address","type":"Address"},{"name":"gas_price","type":"U64"},{"name":"commission_rate","type":"U64"},{"name":"protocol_public_key","type":{"Vector":"U8"}},{"name":"proof_of_possession","type":{"Vector":"U8"}},{"name":"network_public_key","type":{"Vector":"U8"}},{"name":"worker_public_key","type":{"Vector":"U8"}},{"name":"network_address","type":{"Vector":"U8"}},{"name":"p2p_address","type":{"Vector":"U8"}},{"name":"primary_address","type":{"Vector":"U8"}},{"name":"worker_address","type":{"Vector":"U8"}}]},"TokenAllocation":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"recipient_address","type":"Address"},{"name":"amount_mist","type":"U64"},{"name":"staked_with_validator","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}}]},"TokenDistributionSchedule":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"stake_subsidy_fund_mist","type":"U64"},{"name":"allocations","type":{"Vector":{"Struct":{"address":"0x3","module":"genesis","name":"TokenAllocation","typeArguments":[]}}}}]}},"exposedFunctions":{}},"stake_subsidy":{"fileFormatVersion":6,"address":"0x3","name":"stake_subsidy","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system_state_inner"}],"structs":{"StakeSubsidy":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"distribution_counter","type":"U64"},{"name":"current_distribution_amount","type":"U64"},{"name":"stake_subsidy_period_length","type":"U64"},{"name":"stake_subsidy_decrease_rate","type":"U16"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}},"exposedFunctions":{"advance_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"create":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64","U16",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}]},"current_epoch_subsidy_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}}],"return":["U64"]},"get_distribution_counter":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}}],"return":["U64"]}}},"staking_pool":{"fileFormatVersion":6,"address":"0x3","name":"staking_pool","friends":[{"address":"0x3","name":"sui_system"},{"address":"0x3","name":"validator"},{"address":"0x3","name":"validator_set"}],"structs":{"FungibleStakedSui":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"value","type":"U64"}]},"FungibleStakedSuiData":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"total_supply","type":"U64"},{"name":"principal","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}}]},"FungibleStakedSuiDataKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]},"PoolTokenExchangeRate":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"sui_amount","type":"U64"},{"name":"pool_token_amount","type":"U64"}]},"StakedSui":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"stake_activation_epoch","type":"U64"},{"name":"principal","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}}]},"StakingPool":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"activation_epoch","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}},{"name":"deactivation_epoch","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}},{"name":"sui_balance","type":"U64"},{"name":"rewards_pool","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"pool_token_balance","type":"U64"},{"name":"exchange_rates","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}},{"name":"pending_stake","type":"U64"},{"name":"pending_total_sui_withdraw","type":"U64"},{"name":"pending_pool_token_withdraw","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"UnderflowSuiBalance":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]}},"exposedFunctions":{"activate_staking_pool":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},"U64"],"return":[]},"activation_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}]},"calculate_rewards":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},"U64"],"return":["U64"]},"convert_to_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"deactivate_staking_pool":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},"U64"],"return":[]},"deposit_rewards":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[]},"exchange_rates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}}]},"fungible_staked_sui_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"fungible_staked_sui_value":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}}],"return":["U64"]},"is_equal_staking_metadata":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}}],"return":["Bool"]},"is_inactive":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["Bool"]},"is_preactive":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["Bool"]},"join_fungible_staked_sui":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}],"return":[]},"join_staked_sui":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}],"return":[]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}]},"pending_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["U64"]},"pending_stake_withdraw_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["U64"]},"pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"pool_token_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}}],"return":["U64"]},"pool_token_exchange_rate_at_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},"U64"],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]},"process_pending_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":[]},"process_pending_stakes_and_withdraws":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"redeem_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"request_add_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_withdraw_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"split":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"split_fungible_staked_sui":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"split_staked_sui":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"stake_activation_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}}],"return":["U64"]},"staked_sui_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}}],"return":["U64"]},"sui_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}}],"return":["U64"]},"sui_balance":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["U64"]},"withdraw_from_principal":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}],"return":["U64",{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]}}},"storage_fund":{"fileFormatVersion":6,"address":"0x3","name":"storage_fund","friends":[{"address":"0x3","name":"sui_system_state_inner"}],"structs":{"StorageFund":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"total_object_storage_rebates","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"non_refundable_balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}}]}},"exposedFunctions":{"advance_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64"],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}]},"total_balance":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}}],"return":["U64"]},"total_object_storage_rebates":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}}],"return":["U64"]}}},"sui_system":{"fileFormatVersion":6,"address":"0x3","name":"sui_system","friends":[{"address":"0x3","name":"genesis"}],"structs":{"SuiSystemState":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"version","type":"U64"}]}},"exposedFunctions":{"active_validator_addresses":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"active_validator_addresses_ref":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"active_validator_voting_powers":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address","U64"]}}]},"calculate_rewards":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["U64"]},"convert_to_fungible_staked_sui":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"create":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}},{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64",{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParameters","typeArguments":[]}},{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"pool_exchange_rates":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}}]},"redeem_fungible_staked_sui":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"report_validator":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"Address"],"return":[]},"request_add_stake":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_stake_mul_coin":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_stake_non_entry":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_validator":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_validator_candidate":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator_candidate":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_commission_rate":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_gas_price":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U64"],"return":[]},"request_withdraw_stake":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_withdraw_stake_non_entry":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"rotate_operation_cap":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_candidate_validator_commission_rate":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_candidate_validator_gas_price":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U64"],"return":[]},"undo_report_validator":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"Address"],"return":[]},"update_candidate_validator_network_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_network_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_p2p_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_primary_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_protocol_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_worker_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_worker_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_description":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_image_url":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_name":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_network_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_network_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_p2p_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_primary_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_protocol_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_worker_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_worker_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_project_url":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"validator_address_by_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":["Address"]}}},"sui_system_state_inner":{"fileFormatVersion":6,"address":"0x3","name":"sui_system_state_inner","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system"}],"structs":{"SuiSystemStateInner":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"protocol_version","type":"U64"},{"name":"system_state_version","type":"U64"},{"name":"validators","type":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"name":"storage_fund","type":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}},{"name":"parameters","type":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParameters","typeArguments":[]}}},{"name":"reference_gas_price","type":"U64"},{"name":"validator_report_records","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]}}},{"name":"stake_subsidy","type":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}},{"name":"safe_mode","type":"Bool"},{"name":"safe_mode_storage_rewards","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"safe_mode_computation_rewards","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"safe_mode_storage_rebates","type":"U64"},{"name":"safe_mode_non_refundable_storage_fee","type":"U64"},{"name":"epoch_start_timestamp_ms","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"SuiSystemStateInnerV2":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"protocol_version","type":"U64"},{"name":"system_state_version","type":"U64"},{"name":"validators","type":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"name":"storage_fund","type":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}},{"name":"parameters","type":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParametersV2","typeArguments":[]}}},{"name":"reference_gas_price","type":"U64"},{"name":"validator_report_records","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]}}},{"name":"stake_subsidy","type":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}},{"name":"safe_mode","type":"Bool"},{"name":"safe_mode_storage_rewards","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"safe_mode_computation_rewards","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"safe_mode_storage_rebates","type":"U64"},{"name":"safe_mode_non_refundable_storage_fee","type":"U64"},{"name":"epoch_start_timestamp_ms","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"SystemEpochInfoEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"protocol_version","type":"U64"},{"name":"reference_gas_price","type":"U64"},{"name":"total_stake","type":"U64"},{"name":"storage_fund_reinvestment","type":"U64"},{"name":"storage_charge","type":"U64"},{"name":"storage_rebate","type":"U64"},{"name":"storage_fund_balance","type":"U64"},{"name":"stake_subsidy_amount","type":"U64"},{"name":"total_gas_fees","type":"U64"},{"name":"total_stake_rewards_distributed","type":"U64"},{"name":"leftover_storage_fund_inflow","type":"U64"}]},"SystemParameters":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"epoch_duration_ms","type":"U64"},{"name":"stake_subsidy_start_epoch","type":"U64"},{"name":"max_validator_count","type":"U64"},{"name":"min_validator_joining_stake","type":"U64"},{"name":"validator_low_stake_threshold","type":"U64"},{"name":"validator_very_low_stake_threshold","type":"U64"},{"name":"validator_low_stake_grace_period","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"SystemParametersV2":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"epoch_duration_ms","type":"U64"},{"name":"stake_subsidy_start_epoch","type":"U64"},{"name":"min_validator_count","type":"U64"},{"name":"max_validator_count","type":"U64"},{"name":"min_validator_joining_stake","type":"U64"},{"name":"validator_low_stake_threshold","type":"U64"},{"name":"validator_very_low_stake_threshold","type":"U64"},{"name":"validator_low_stake_grace_period","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}},"exposedFunctions":{"active_validator_addresses":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"active_validator_voting_powers":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address","U64"]}}]},"advance_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"U64","U64",{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64","U64","U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"convert_to_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"create":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64",{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParameters","typeArguments":[]}},{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInner","typeArguments":[]}}]},"create_system_parameters":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["U64","U64","U64","U64","U64","U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParameters","typeArguments":[]}}]},"epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"epoch_start_timestamp_ms":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"genesis_system_state_version":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]},"get_reporters_of":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"Address"],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]},"get_storage_fund_object_rebates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"get_storage_fund_total_balance":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"pool_exchange_rates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}}]},"protocol_version":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"redeem_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"report_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"Address"],"return":[]},"request_add_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_stake_mul_coin":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_validator_candidate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator_candidate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U64"],"return":[]},"request_withdraw_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"rotate_operation_cap":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_candidate_validator_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_candidate_validator_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U64"],"return":[]},"store_execution_time_estimates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"system_state_version":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"undo_report_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"Address"],"return":[]},"update_candidate_validator_network_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_network_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_p2p_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_primary_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_protocol_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_worker_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_worker_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_description":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_image_url":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_name":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_network_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_network_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_p2p_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_primary_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_protocol_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_worker_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_worker_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_project_url":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"v1_to_v2":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInner","typeArguments":[]}}],"return":[{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}]},"validator_address_by_pool_id":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":["Address"]},"validator_stake_amount":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"Address"],"return":["U64"]},"validator_staking_pool_id":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"Address"],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"validator_staking_pool_mappings":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"Address"]}}}]},"validators":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}]},"validators_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}]}}},"validator":{"fileFormatVersion":6,"address":"0x3","name":"validator","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system"},{"address":"0x3","name":"sui_system_state_inner"},{"address":"0x3","name":"validator_set"},{"address":"0x3","name":"voting_power"}],"structs":{"ConvertingToFungibleStakedSuiEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"stake_activation_epoch","type":"U64"},{"name":"staked_sui_principal_amount","type":"U64"},{"name":"fungible_staked_sui_amount","type":"U64"}]},"RedeemingFungibleStakedSuiEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"fungible_staked_sui_amount","type":"U64"},{"name":"sui_amount","type":"U64"}]},"StakingRequestEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"validator_address","type":"Address"},{"name":"staker_address","type":"Address"},{"name":"epoch","type":"U64"},{"name":"amount","type":"U64"}]},"UnstakingRequestEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"validator_address","type":"Address"},{"name":"staker_address","type":"Address"},{"name":"stake_activation_epoch","type":"U64"},{"name":"unstaking_epoch","type":"U64"},{"name":"principal_amount","type":"U64"},{"name":"reward_amount","type":"U64"}]},"Validator":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"metadata","type":{"Struct":{"address":"0x3","module":"validator","name":"ValidatorMetadata","typeArguments":[]}}},{"name":"voting_power","type":"U64"},{"name":"operation_cap_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"gas_price","type":"U64"},{"name":"staking_pool","type":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"name":"commission_rate","type":"U64"},{"name":"next_epoch_stake","type":"U64"},{"name":"next_epoch_gas_price","type":"U64"},{"name":"next_epoch_commission_rate","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"ValidatorMetadata":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"sui_address","type":"Address"},{"name":"protocol_pubkey_bytes","type":{"Vector":"U8"}},{"name":"network_pubkey_bytes","type":{"Vector":"U8"}},{"name":"worker_pubkey_bytes","type":{"Vector":"U8"}},{"name":"proof_of_possession","type":{"Vector":"U8"}},{"name":"name","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"description","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"image_url","type":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}},{"name":"project_url","type":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}},{"name":"net_address","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"p2p_address","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"primary_address","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"worker_address","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"next_epoch_protocol_pubkey_bytes","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}},{"name":"next_epoch_proof_of_possession","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}},{"name":"next_epoch_network_pubkey_bytes","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}},{"name":"next_epoch_worker_pubkey_bytes","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}},{"name":"next_epoch_net_address","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"next_epoch_p2p_address","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"next_epoch_primary_address","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"next_epoch_worker_address","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}},"exposedFunctions":{"activate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"adjust_stake_and_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[]},"commission_rate":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"convert_to_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"deactivate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"deposit_stake_rewards":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[]},"description":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"effectuate_staged_metadata":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[]},"gas_price":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"get_staking_pool_ref":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}]},"image_url":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}}]},"is_duplicate":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["Bool"]},"is_preactive":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["Bool"]},"metadata":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"ValidatorMetadata","typeArguments":[]}}}]},"name":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"network_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"network_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}]},"new_metadata":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}},{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}],"return":[{"Struct":{"address":"0x3","module":"validator","name":"ValidatorMetadata","typeArguments":[]}}]},"new_unverified_validator_operation_cap_and_transfer":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"next_epoch_gas_price":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"next_epoch_network_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"next_epoch_network_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}}]},"next_epoch_p2p_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"next_epoch_primary_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"next_epoch_proof_of_possession":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}}]},"next_epoch_protocol_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}}]},"next_epoch_worker_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"next_epoch_worker_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}}]},"operation_cap_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"p2p_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"pending_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"pending_stake_withdraw_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"pool_token_exchange_rate_at_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]},"primary_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"process_pending_stakes_and_withdraws":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"project_url":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}}]},"proof_of_possession":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"protocol_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"redeem_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"request_add_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_stake_at_genesis":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"request_set_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}},"U64"],"return":[]},"request_withdraw_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"set_candidate_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"set_candidate_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}},"U64"],"return":[]},"set_voting_power":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"staking_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"sui_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["Address"]},"total_stake":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"total_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"update_candidate_network_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_network_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_p2p_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_primary_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_protocol_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"}],"return":[]},"update_candidate_worker_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_worker_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_description":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_image_url":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_name":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_network_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_network_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_p2p_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_primary_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_protocol_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"}],"return":[]},"update_next_epoch_worker_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_worker_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_project_url":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"validate_metadata":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"ValidatorMetadata","typeArguments":[]}}}],"return":[]},"validate_metadata_bcs":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[]},"voting_power":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"worker_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"worker_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]}}},"validator_cap":{"fileFormatVersion":6,"address":"0x3","name":"validator_cap","friends":[{"address":"0x3","name":"sui_system_state_inner"},{"address":"0x3","name":"validator"},{"address":"0x3","name":"validator_set"}],"structs":{"UnverifiedValidatorOperationCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"authorizer_validator_address","type":"Address"}]},"ValidatorOperationCap":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"authorizer_validator_address","type":"Address"}]}},"exposedFunctions":{"into_verified":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}}]},"new_unverified_validator_operation_cap_and_transfer":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"unverified_operation_cap_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}}],"return":[{"Reference":"Address"}]},"verified_operation_cap_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}}}],"return":[{"Reference":"Address"}]}}},"validator_set":{"fileFormatVersion":6,"address":"0x3","name":"validator_set","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system"},{"address":"0x3","name":"sui_system_state_inner"}],"structs":{"ValidatorEpochInfoEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"validator_address","type":"Address"},{"name":"reference_gas_survey_quote","type":"U64"},{"name":"stake","type":"U64"},{"name":"commission_rate","type":"U64"},{"name":"pool_staking_reward","type":"U64"},{"name":"storage_fund_staking_reward","type":"U64"},{"name":"pool_token_exchange_rate","type":{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}},{"name":"tallying_rule_reporters","type":{"Vector":"Address"}},{"name":"tallying_rule_global_score","type":"U64"}]},"ValidatorEpochInfoEventV2":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"validator_address","type":"Address"},{"name":"reference_gas_survey_quote","type":"U64"},{"name":"stake","type":"U64"},{"name":"voting_power","type":"U64"},{"name":"commission_rate","type":"U64"},{"name":"pool_staking_reward","type":"U64"},{"name":"storage_fund_staking_reward","type":"U64"},{"name":"pool_token_exchange_rate","type":{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}},{"name":"tallying_rule_reporters","type":{"Vector":"Address"}},{"name":"tallying_rule_global_score","type":"U64"}]},"ValidatorJoinEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"validator_address","type":"Address"},{"name":"staking_pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"ValidatorLeaveEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"validator_address","type":"Address"},{"name":"staking_pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"is_voluntary","type":"Bool"}]},"ValidatorSet":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"total_stake","type":"U64"},{"name":"active_validators","type":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},{"name":"pending_active_validators","type":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}]}}},{"name":"pending_removals","type":{"Vector":"U64"}},{"name":"staking_pool_mappings","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"Address"]}}},{"name":"inactive_validators","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}]}}},{"name":"validator_candidates","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["Address",{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}]}}},{"name":"at_risk_validators","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address","U64"]}}},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"VotingPowerAdmissionStartEpochKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]}},"exposedFunctions":{"active_validator_addresses":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"active_validators":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":[{"Reference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}}]},"advance_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]}}},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"assert_no_pending_or_active_duplicates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[]},"calculate_total_stakes":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}}],"return":["U64"]},"convert_to_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"derive_reference_gas_price":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":["U64"]},"get_active_or_pending_or_candidate_validator_ref":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address","U8"],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_active_validator_ref":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_pending_validator_ref":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_validator_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},"Address"],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_validator_mut_with_ctx":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_validator_mut_with_ctx_including_candidates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_validator_mut_with_verified_cap":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}}},"Bool"],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"is_active_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["Bool"]},"is_active_validator_by_sui_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["Bool"]},"is_at_risk_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["Bool"]},"is_duplicate_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["Bool"]},"is_inactive_validator":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"is_validator_candidate":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["Bool"]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}]},"next_epoch_validator_count":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":["U64"]},"pool_exchange_rates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}}]},"redeem_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"request_add_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address",{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_validator_candidate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator_candidate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_withdraw_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"staking_pool_mappings":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"Address"]}}}]},"sum_voting_power_by_addresses":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},{"Reference":{"Vector":"Address"}}],"return":["U64"]},"total_stake":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":["U64"]},"validator_address_by_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":["Address"]},"validator_by_pool_id":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"validator_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["U64"]},"validator_staking_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"validator_total_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["U64"]},"validator_voting_power":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["U64"]},"verify_cap":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U8"],"return":[{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}}]}}},"validator_wrapper":{"fileFormatVersion":6,"address":"0x3","name":"validator_wrapper","friends":[{"address":"0x3","name":"validator_set"}],"structs":{"ValidatorWrapper":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"inner","type":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}]}},"exposedFunctions":{"create_v1":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}]},"destroy":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}],"return":[{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}]},"load_validator_maybe_upgrade":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]}}},"voting_power":{"fileFormatVersion":6,"address":"0x3","name":"voting_power","friends":[{"address":"0x3","name":"validator_set"}],"structs":{"VotingPowerInfo":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"validator_index","type":"U64"},{"name":"voting_power","type":"U64"}]},"VotingPowerInfoV2":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"validator_index","type":"U64"},{"name":"voting_power","type":"U64"},{"name":"stake","type":"U64"}]}},"exposedFunctions":{"derive_raw_voting_power":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"quorum_threshold":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]},"set_voting_power":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},"U64"],"return":[]},"total_voting_power":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]}}}}',
|
|
11097
|
+
'{"genesis":{"fileFormatVersion":6,"address":"0x3","name":"genesis","friends":[],"structs":{"GenesisChainParameters":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"protocol_version","type":"U64"},{"name":"chain_start_timestamp_ms","type":"U64"},{"name":"epoch_duration_ms","type":"U64"},{"name":"stake_subsidy_start_epoch","type":"U64"},{"name":"stake_subsidy_initial_distribution_amount","type":"U64"},{"name":"stake_subsidy_period_length","type":"U64"},{"name":"stake_subsidy_decrease_rate","type":"U16"},{"name":"max_validator_count","type":"U64"},{"name":"min_validator_joining_stake","type":"U64"},{"name":"validator_low_stake_threshold","type":"U64"},{"name":"validator_very_low_stake_threshold","type":"U64"},{"name":"validator_low_stake_grace_period","type":"U64"}]},"GenesisValidatorMetadata":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"name","type":{"Vector":"U8"}},{"name":"description","type":{"Vector":"U8"}},{"name":"image_url","type":{"Vector":"U8"}},{"name":"project_url","type":{"Vector":"U8"}},{"name":"sui_address","type":"Address"},{"name":"gas_price","type":"U64"},{"name":"commission_rate","type":"U64"},{"name":"protocol_public_key","type":{"Vector":"U8"}},{"name":"proof_of_possession","type":{"Vector":"U8"}},{"name":"network_public_key","type":{"Vector":"U8"}},{"name":"worker_public_key","type":{"Vector":"U8"}},{"name":"network_address","type":{"Vector":"U8"}},{"name":"p2p_address","type":{"Vector":"U8"}},{"name":"primary_address","type":{"Vector":"U8"}},{"name":"worker_address","type":{"Vector":"U8"}}]},"TokenAllocation":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"recipient_address","type":"Address"},{"name":"amount_mist","type":"U64"},{"name":"staked_with_validator","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}}]},"TokenDistributionSchedule":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"stake_subsidy_fund_mist","type":"U64"},{"name":"allocations","type":{"Vector":{"Struct":{"address":"0x3","module":"genesis","name":"TokenAllocation","typeArguments":[]}}}}]}},"exposedFunctions":{}},"stake_subsidy":{"fileFormatVersion":6,"address":"0x3","name":"stake_subsidy","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system_state_inner"}],"structs":{"StakeSubsidy":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"distribution_counter","type":"U64"},{"name":"current_distribution_amount","type":"U64"},{"name":"stake_subsidy_period_length","type":"U64"},{"name":"stake_subsidy_decrease_rate","type":"U16"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}},"exposedFunctions":{"advance_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"create":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64","U16",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}]},"current_epoch_subsidy_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}}],"return":["U64"]},"get_distribution_counter":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}}],"return":["U64"]}}},"staking_pool":{"fileFormatVersion":6,"address":"0x3","name":"staking_pool","friends":[{"address":"0x3","name":"sui_system"},{"address":"0x3","name":"validator"},{"address":"0x3","name":"validator_set"}],"structs":{"FungibleStakedSui":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"value","type":"U64"}]},"FungibleStakedSuiData":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"total_supply","type":"U64"},{"name":"principal","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}}]},"FungibleStakedSuiDataKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]},"PoolTokenExchangeRate":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"sui_amount","type":"U64"},{"name":"pool_token_amount","type":"U64"}]},"StakedSui":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"stake_activation_epoch","type":"U64"},{"name":"principal","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}}]},"StakingPool":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"activation_epoch","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}},{"name":"deactivation_epoch","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}},{"name":"sui_balance","type":"U64"},{"name":"rewards_pool","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"pool_token_balance","type":"U64"},{"name":"exchange_rates","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}},{"name":"pending_stake","type":"U64"},{"name":"pending_total_sui_withdraw","type":"U64"},{"name":"pending_pool_token_withdraw","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"UnderflowSuiBalance":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]}},"exposedFunctions":{"activate_staking_pool":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},"U64"],"return":[]},"activation_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}]},"calculate_rewards":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},"U64"],"return":["U64"]},"convert_to_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"deactivate_staking_pool":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},"U64"],"return":[]},"deposit_rewards":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[]},"exchange_rates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}}]},"fungible_staked_sui_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"fungible_staked_sui_value":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}}],"return":["U64"]},"is_equal_staking_metadata":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}}],"return":["Bool"]},"is_inactive":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["Bool"]},"is_preactive":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["Bool"]},"join_fungible_staked_sui":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}],"return":[]},"join_staked_sui":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}],"return":[]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}]},"pending_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["U64"]},"pending_stake_withdraw_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["U64"]},"pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"pool_token_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}}],"return":["U64"]},"pool_token_exchange_rate_at_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},"U64"],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]},"process_pending_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":[]},"process_pending_stakes_and_withdraws":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"redeem_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"request_add_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_withdraw_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"split":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"split_fungible_staked_sui":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"split_staked_sui":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"stake_activation_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}}],"return":["U64"]},"staked_sui_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}}],"return":["U64"]},"sui_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}}],"return":["U64"]},"sui_balance":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}],"return":["U64"]},"withdraw_from_principal":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}],"return":["U64",{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]}}},"storage_fund":{"fileFormatVersion":6,"address":"0x3","name":"storage_fund","friends":[{"address":"0x3","name":"sui_system_state_inner"}],"structs":{"StorageFund":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"total_object_storage_rebates","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"non_refundable_balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}}]}},"exposedFunctions":{"advance_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64"],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}]},"total_balance":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}}],"return":["U64"]},"total_object_storage_rebates":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}}],"return":["U64"]}}},"sui_system":{"fileFormatVersion":6,"address":"0x3","name":"sui_system","friends":[{"address":"0x3","name":"genesis"}],"structs":{"AccumulatorStorageCostKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]},"SuiSystemState":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"version","type":"U64"}]}},"exposedFunctions":{"active_validator_addresses":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"active_validator_addresses_ref":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"active_validator_voting_powers":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address","U64"]}}]},"calculate_rewards":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["U64"]},"convert_to_fungible_staked_sui":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"create":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}},{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64",{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParameters","typeArguments":[]}},{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"pool_exchange_rates":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}}]},"redeem_fungible_staked_sui":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"report_validator":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"Address"],"return":[]},"request_add_stake":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_stake_mul_coin":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_stake_non_entry":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_validator":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_validator_candidate":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator_candidate":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_commission_rate":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_gas_price":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U64"],"return":[]},"request_withdraw_stake":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_withdraw_stake_non_entry":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"rotate_operation_cap":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_candidate_validator_commission_rate":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_candidate_validator_gas_price":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U64"],"return":[]},"undo_report_validator":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"Address"],"return":[]},"update_candidate_validator_network_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_network_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_p2p_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_primary_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_protocol_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_worker_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_worker_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_description":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_image_url":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_name":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_network_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_network_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_p2p_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_primary_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_protocol_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_worker_address":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_worker_pubkey":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_project_url":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"validator_address_by_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system","name":"SuiSystemState","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":["Address"]}}},"sui_system_state_inner":{"fileFormatVersion":6,"address":"0x3","name":"sui_system_state_inner","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system"}],"structs":{"ExecutionTimeObservationChunkKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"chunk_index","type":"U64"}]},"SuiSystemStateInner":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"protocol_version","type":"U64"},{"name":"system_state_version","type":"U64"},{"name":"validators","type":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"name":"storage_fund","type":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}},{"name":"parameters","type":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParameters","typeArguments":[]}}},{"name":"reference_gas_price","type":"U64"},{"name":"validator_report_records","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]}}},{"name":"stake_subsidy","type":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}},{"name":"safe_mode","type":"Bool"},{"name":"safe_mode_storage_rewards","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"safe_mode_computation_rewards","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"safe_mode_storage_rebates","type":"U64"},{"name":"safe_mode_non_refundable_storage_fee","type":"U64"},{"name":"epoch_start_timestamp_ms","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"SuiSystemStateInnerV2":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"protocol_version","type":"U64"},{"name":"system_state_version","type":"U64"},{"name":"validators","type":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"name":"storage_fund","type":{"Struct":{"address":"0x3","module":"storage_fund","name":"StorageFund","typeArguments":[]}}},{"name":"parameters","type":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParametersV2","typeArguments":[]}}},{"name":"reference_gas_price","type":"U64"},{"name":"validator_report_records","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]}}},{"name":"stake_subsidy","type":{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}}},{"name":"safe_mode","type":"Bool"},{"name":"safe_mode_storage_rewards","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"safe_mode_computation_rewards","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"safe_mode_storage_rebates","type":"U64"},{"name":"safe_mode_non_refundable_storage_fee","type":"U64"},{"name":"epoch_start_timestamp_ms","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"SystemEpochInfoEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"protocol_version","type":"U64"},{"name":"reference_gas_price","type":"U64"},{"name":"total_stake","type":"U64"},{"name":"storage_fund_reinvestment","type":"U64"},{"name":"storage_charge","type":"U64"},{"name":"storage_rebate","type":"U64"},{"name":"storage_fund_balance","type":"U64"},{"name":"stake_subsidy_amount","type":"U64"},{"name":"total_gas_fees","type":"U64"},{"name":"total_stake_rewards_distributed","type":"U64"},{"name":"leftover_storage_fund_inflow","type":"U64"}]},"SystemParameters":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"epoch_duration_ms","type":"U64"},{"name":"stake_subsidy_start_epoch","type":"U64"},{"name":"max_validator_count","type":"U64"},{"name":"min_validator_joining_stake","type":"U64"},{"name":"validator_low_stake_threshold","type":"U64"},{"name":"validator_very_low_stake_threshold","type":"U64"},{"name":"validator_low_stake_grace_period","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"SystemParametersV2":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"epoch_duration_ms","type":"U64"},{"name":"stake_subsidy_start_epoch","type":"U64"},{"name":"min_validator_count","type":"U64"},{"name":"max_validator_count","type":"U64"},{"name":"min_validator_joining_stake","type":"U64"},{"name":"validator_low_stake_threshold","type":"U64"},{"name":"validator_very_low_stake_threshold","type":"U64"},{"name":"validator_low_stake_grace_period","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}},"exposedFunctions":{"active_validator_addresses":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"active_validator_voting_powers":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address","U64"]}}]},"advance_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"U64","U64",{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64","U64","U64","U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"convert_to_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"create":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"U64","U64",{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParameters","typeArguments":[]}},{"Struct":{"address":"0x3","module":"stake_subsidy","name":"StakeSubsidy","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInner","typeArguments":[]}}]},"create_system_parameters":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["U64","U64","U64","U64","U64","U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SystemParameters","typeArguments":[]}}]},"epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"epoch_start_timestamp_ms":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"extra_fields":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"extra_fields_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"genesis_system_state_version":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]},"get_reporters_of":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"Address"],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]},"get_storage_fund_object_rebates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"get_storage_fund_total_balance":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"pool_exchange_rates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}}]},"protocol_version":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"redeem_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"report_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"Address"],"return":[]},"request_add_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_stake_mul_coin":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_validator_candidate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator_candidate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U64"],"return":[]},"request_withdraw_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"rotate_operation_cap":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_candidate_validator_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"set_candidate_validator_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U64"],"return":[]},"store_execution_time_estimates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"store_execution_time_estimates_v2":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":{"Vector":"U8"}}],"return":[]},"system_state_version":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":["U64"]},"undo_report_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"Address"],"return":[]},"update_candidate_validator_network_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_network_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_p2p_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_primary_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_protocol_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_worker_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_candidate_validator_worker_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_description":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_image_url":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_name":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_network_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_network_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_p2p_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_primary_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_protocol_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_worker_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_next_epoch_worker_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"update_validator_project_url":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Vector":"U8"},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"v1_to_v2":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInner","typeArguments":[]}}],"return":[{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}]},"validator_address_by_pool_id":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":["Address"]},"validator_stake_amount":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"Address"],"return":["U64"]},"validator_staking_pool_id":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}},"Address"],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"validator_staking_pool_mappings":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"Address"]}}}]},"validators":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}]},"validators_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"sui_system_state_inner","name":"SuiSystemStateInnerV2","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}]}}},"validator":{"fileFormatVersion":6,"address":"0x3","name":"validator","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system"},{"address":"0x3","name":"sui_system_state_inner"},{"address":"0x3","name":"validator_set"},{"address":"0x3","name":"voting_power"}],"structs":{"ConvertingToFungibleStakedSuiEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"stake_activation_epoch","type":"U64"},{"name":"staked_sui_principal_amount","type":"U64"},{"name":"fungible_staked_sui_amount","type":"U64"}]},"RedeemingFungibleStakedSuiEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"fungible_staked_sui_amount","type":"U64"},{"name":"sui_amount","type":"U64"}]},"StakingRequestEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"validator_address","type":"Address"},{"name":"staker_address","type":"Address"},{"name":"epoch","type":"U64"},{"name":"amount","type":"U64"}]},"UnstakingRequestEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"validator_address","type":"Address"},{"name":"staker_address","type":"Address"},{"name":"stake_activation_epoch","type":"U64"},{"name":"unstaking_epoch","type":"U64"},{"name":"principal_amount","type":"U64"},{"name":"reward_amount","type":"U64"}]},"Validator":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"metadata","type":{"Struct":{"address":"0x3","module":"validator","name":"ValidatorMetadata","typeArguments":[]}}},{"name":"voting_power","type":"U64"},{"name":"operation_cap_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"gas_price","type":"U64"},{"name":"staking_pool","type":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},{"name":"commission_rate","type":"U64"},{"name":"next_epoch_stake","type":"U64"},{"name":"next_epoch_gas_price","type":"U64"},{"name":"next_epoch_commission_rate","type":"U64"},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"ValidatorMetadata":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"sui_address","type":"Address"},{"name":"protocol_pubkey_bytes","type":{"Vector":"U8"}},{"name":"network_pubkey_bytes","type":{"Vector":"U8"}},{"name":"worker_pubkey_bytes","type":{"Vector":"U8"}},{"name":"proof_of_possession","type":{"Vector":"U8"}},{"name":"name","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"description","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"image_url","type":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}},{"name":"project_url","type":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}},{"name":"net_address","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"p2p_address","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"primary_address","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"worker_address","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"next_epoch_protocol_pubkey_bytes","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}},{"name":"next_epoch_proof_of_possession","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}},{"name":"next_epoch_network_pubkey_bytes","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}},{"name":"next_epoch_worker_pubkey_bytes","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}},{"name":"next_epoch_net_address","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"next_epoch_p2p_address","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"next_epoch_primary_address","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"next_epoch_worker_address","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]}},"exposedFunctions":{"activate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"adjust_stake_and_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[]},"commission_rate":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"convert_to_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"deactivate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"deposit_stake_rewards":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[]},"description":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"effectuate_staged_metadata":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[]},"gas_price":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"get_staking_pool_ref":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}}]},"image_url":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}}]},"is_duplicate":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["Bool"]},"is_preactive":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["Bool"]},"metadata":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"ValidatorMetadata","typeArguments":[]}}}]},"name":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"network_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"network_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}]},"new_metadata":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}},{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}],"return":[{"Struct":{"address":"0x3","module":"validator","name":"ValidatorMetadata","typeArguments":[]}}]},"new_unverified_validator_operation_cap_and_transfer":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"next_epoch_gas_price":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"next_epoch_network_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"next_epoch_network_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}}]},"next_epoch_p2p_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"next_epoch_primary_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"next_epoch_proof_of_possession":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}}]},"next_epoch_protocol_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}}]},"next_epoch_worker_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"next_epoch_worker_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Vector":"U8"}]}}}]},"operation_cap_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"p2p_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"pending_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"pending_stake_withdraw_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"pool_token_exchange_rate_at_epoch":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]},"primary_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"process_pending_stakes_and_withdraws":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"project_url":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}}]},"proof_of_possession":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"protocol_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"redeem_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"request_add_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_stake_at_genesis":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"request_set_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}},"U64"],"return":[]},"request_withdraw_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"set_candidate_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"set_candidate_gas_price":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}},"U64"],"return":[]},"set_voting_power":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},"U64"],"return":[]},"stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"staking_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"sui_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["Address"]},"total_stake":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"total_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"update_candidate_network_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_network_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_p2p_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_primary_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_protocol_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"}],"return":[]},"update_candidate_worker_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_candidate_worker_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_description":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_image_url":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_name":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_network_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_network_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_p2p_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_primary_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_protocol_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"},{"Vector":"U8"}],"return":[]},"update_next_epoch_worker_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_next_epoch_worker_pubkey":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"update_project_url":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"Vector":"U8"}],"return":[]},"validate_metadata":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"ValidatorMetadata","typeArguments":[]}}}],"return":[]},"validate_metadata_bcs":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[]},"voting_power":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["U64"]},"worker_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}]},"worker_pubkey_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]}}},"validator_cap":{"fileFormatVersion":6,"address":"0x3","name":"validator_cap","friends":[{"address":"0x3","name":"sui_system_state_inner"},{"address":"0x3","name":"validator"},{"address":"0x3","name":"validator_set"}],"structs":{"UnverifiedValidatorOperationCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"authorizer_validator_address","type":"Address"}]},"ValidatorOperationCap":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"authorizer_validator_address","type":"Address"}]}},"exposedFunctions":{"into_verified":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}}]},"new_unverified_validator_operation_cap_and_transfer":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"unverified_operation_cap_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}}],"return":[{"Reference":"Address"}]},"verified_operation_cap_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}}}],"return":[{"Reference":"Address"}]}}},"validator_set":{"fileFormatVersion":6,"address":"0x3","name":"validator_set","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system"},{"address":"0x3","name":"sui_system_state_inner"}],"structs":{"ValidatorEpochInfoEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"validator_address","type":"Address"},{"name":"reference_gas_survey_quote","type":"U64"},{"name":"stake","type":"U64"},{"name":"commission_rate","type":"U64"},{"name":"pool_staking_reward","type":"U64"},{"name":"storage_fund_staking_reward","type":"U64"},{"name":"pool_token_exchange_rate","type":{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}},{"name":"tallying_rule_reporters","type":{"Vector":"Address"}},{"name":"tallying_rule_global_score","type":"U64"}]},"ValidatorEpochInfoEventV2":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"validator_address","type":"Address"},{"name":"reference_gas_survey_quote","type":"U64"},{"name":"stake","type":"U64"},{"name":"voting_power","type":"U64"},{"name":"commission_rate","type":"U64"},{"name":"pool_staking_reward","type":"U64"},{"name":"storage_fund_staking_reward","type":"U64"},{"name":"pool_token_exchange_rate","type":{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}},{"name":"tallying_rule_reporters","type":{"Vector":"Address"}},{"name":"tallying_rule_global_score","type":"U64"}]},"ValidatorJoinEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"validator_address","type":"Address"},{"name":"staking_pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"ValidatorLeaveEvent":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[],"fields":[{"name":"epoch","type":"U64"},{"name":"validator_address","type":"Address"},{"name":"staking_pool_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"is_voluntary","type":"Bool"}]},"ValidatorSet":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"total_stake","type":"U64"},{"name":"active_validators","type":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},{"name":"pending_active_validators","type":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}]}}},{"name":"pending_removals","type":{"Vector":"U64"}},{"name":"staking_pool_mappings","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"Address"]}}},{"name":"inactive_validators","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}]}}},{"name":"validator_candidates","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["Address",{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}]}}},{"name":"at_risk_validators","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address","U64"]}}},{"name":"extra_fields","type":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}]},"VotingPowerAdmissionStartEpochKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]}},"exposedFunctions":{"active_validator_addresses":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"active_validators":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":[{"Reference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}}]},"advance_epoch":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":["Address"]}}]}}},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"assert_no_pending_or_active_duplicates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":[]},"calculate_total_stakes":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}}],"return":["U64"]},"convert_to_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}}]},"derive_reference_gas_price":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":["U64"]},"get_active_or_pending_or_candidate_validator_ref":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address","U8"],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_active_validator_ref":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_pending_validator_ref":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_validator_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},"Address"],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_validator_mut_with_ctx":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_validator_mut_with_ctx_including_candidates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"get_validator_mut_with_verified_cap":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}}},"Bool"],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"is_active_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["Bool"]},"is_active_validator_by_sui_address":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["Bool"]},"is_at_risk_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["Bool"]},"is_duplicate_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}],"return":["Bool"]},"is_inactive_validator":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"is_validator_candidate":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["Bool"]},"new":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}]},"next_epoch_validator_count":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":["U64"]},"pool_exchange_rates":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"Struct":{"address":"0x3","module":"staking_pool","name":"PoolTokenExchangeRate","typeArguments":[]}}]}}}]},"redeem_fungible_staked_sui":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"FungibleStakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"request_add_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address",{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}}]},"request_add_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_add_validator_candidate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_remove_validator_candidate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_set_commission_rate":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"request_withdraw_stake":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Struct":{"address":"0x3","module":"staking_pool","name":"StakedSui","typeArguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"staking_pool_mappings":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"Address"]}}}]},"sum_voting_power_by_addresses":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},{"Reference":{"Vector":"Address"}}],"return":["U64"]},"total_stake":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}}],"return":["U64"]},"validator_address_by_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":["Address"]},"validator_by_pool_id":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]},"validator_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["U64"]},"validator_staking_pool_id":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"validator_total_stake_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["U64"]},"validator_voting_power":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},"Address"],"return":["U64"]},"verify_cap":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_set","name":"ValidatorSet","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x3","module":"validator_cap","name":"UnverifiedValidatorOperationCap","typeArguments":[]}}},"U8"],"return":[{"Struct":{"address":"0x3","module":"validator_cap","name":"ValidatorOperationCap","typeArguments":[]}}]}}},"validator_wrapper":{"fileFormatVersion":6,"address":"0x3","name":"validator_wrapper","friends":[{"address":"0x3","name":"validator_set"}],"structs":{"ValidatorWrapper":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"inner","type":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}]}},"exposedFunctions":{"create_v1":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}]},"destroy":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}],"return":[{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}]},"load_validator_maybe_upgrade":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator_wrapper","name":"ValidatorWrapper","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}]}}},"voting_power":{"fileFormatVersion":6,"address":"0x3","name":"voting_power","friends":[{"address":"0x3","name":"validator_set"}],"structs":{"VotingPowerInfo":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"validator_index","type":"U64"},{"name":"voting_power","type":"U64"}]},"VotingPowerInfoV2":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"validator_index","type":"U64"},{"name":"voting_power","type":"U64"},{"name":"stake","type":"U64"}]}},"exposedFunctions":{"derive_raw_voting_power":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"quorum_threshold":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]},"set_voting_power":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Vector":{"Struct":{"address":"0x3","module":"validator","name":"Validator","typeArguments":[]}}}},"U64"],"return":[]},"total_voting_power":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]}}}}',
|
|
10919
11098
|
);
|
|
10920
11099
|
|
|
10921
11100
|
export function loadAllTypes(coder: MoveCoder) {
|