@typemove/sui 1.6.3 → 1.6.4-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/builtin/0x1.d.ts +187 -131
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +696 -131
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +572 -572
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +569 -569
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +422 -242
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +639 -239
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/codegen/codegen.d.ts +1 -1
- package/dist/cjs/codegen/codegen.d.ts.map +1 -1
- package/dist/cjs/codegen/codegen.js +7 -7
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/cjs/models.d.ts +1 -1
- package/dist/cjs/models.d.ts.map +1 -1
- package/dist/cjs/move-coder.d.ts +5 -4
- package/dist/cjs/move-coder.d.ts.map +1 -1
- package/dist/cjs/move-coder.js +62 -23
- package/dist/cjs/move-coder.js.map +1 -1
- package/dist/cjs/move-coder.test.js.map +1 -1
- package/dist/cjs/sui-chain-adapter.d.ts +1 -1
- package/dist/cjs/sui-chain-adapter.d.ts.map +1 -1
- package/dist/cjs/sui-chain-adapter.js +1 -1
- package/dist/cjs/sui-chain-adapter.js.map +1 -1
- package/dist/cjs/to-internal.d.ts +1 -1
- package/dist/cjs/to-internal.d.ts.map +1 -1
- package/dist/cjs/to-internal.js +4 -4
- package/dist/cjs/transaction.d.ts +4 -4
- package/dist/cjs/transaction.d.ts.map +1 -1
- package/dist/cjs/transaction.js +2 -2
- package/dist/cjs/transaction.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +187 -131
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +696 -131
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +572 -572
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +569 -569
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +422 -242
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +639 -239
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/codegen/codegen.d.ts +1 -1
- package/dist/esm/codegen/codegen.d.ts.map +1 -1
- package/dist/esm/codegen/codegen.js +7 -7
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/dist/esm/codegen/run.js +1 -1
- package/dist/esm/codegen/run.js.map +1 -1
- package/dist/esm/models.d.ts +1 -1
- package/dist/esm/models.d.ts.map +1 -1
- package/dist/esm/move-coder.d.ts +5 -4
- package/dist/esm/move-coder.d.ts.map +1 -1
- package/dist/esm/move-coder.js +62 -23
- package/dist/esm/move-coder.js.map +1 -1
- package/dist/esm/move-coder.test.js.map +1 -1
- package/dist/esm/sui-chain-adapter.d.ts +1 -1
- package/dist/esm/sui-chain-adapter.d.ts.map +1 -1
- package/dist/esm/sui-chain-adapter.js +1 -1
- package/dist/esm/sui-chain-adapter.js.map +1 -1
- package/dist/esm/to-internal.d.ts +1 -1
- package/dist/esm/to-internal.d.ts.map +1 -1
- package/dist/esm/to-internal.js +5 -5
- package/dist/esm/to-internal.js.map +1 -1
- package/dist/esm/transaction.d.ts +4 -4
- package/dist/esm/transaction.d.ts.map +1 -1
- package/dist/esm/transaction.js +2 -2
- package/dist/esm/transaction.js.map +1 -1
- package/package.json +3 -4
- package/src/abis/0x1.json +499 -0
- package/src/abis/0x3.json +900 -41
- package/src/builtin/0x1.ts +1058 -267
- package/src/builtin/0x2.ts +1141 -1165
- package/src/builtin/0x3.ts +1171 -485
- package/src/codegen/codegen.ts +7 -7
- package/src/codegen/run.ts +1 -1
- package/src/models.ts +1 -1
- package/src/move-coder.ts +60 -28
- package/src/sui-chain-adapter.ts +1 -1
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +11 -11
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +99 -99
- package/src/tests/types/testnet/0xdee9.ts +183 -183
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +313 -316
- package/src/to-internal.ts +7 -7
- package/src/transaction.ts +6 -6
package/dist/esm/builtin/0x3.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { TypeDescriptor } from "@typemove/move";
|
|
6
6
|
import { defaultMoveCoder } from "@typemove/sui";
|
|
7
7
|
import { ZERO_ADDRESS, getMoveCoder, } from "@typemove/sui";
|
|
8
|
-
import {
|
|
8
|
+
import { Transaction, } from "@mysten/sui/transactions";
|
|
9
9
|
import { transactionArgumentOrObject, transactionArgumentOrPure, transactionArgumentOrVec, } from "@typemove/sui";
|
|
10
10
|
import * as _0x1 from "./0x1.js";
|
|
11
11
|
import * as _0x2 from "./0x2.js";
|
|
@@ -98,7 +98,7 @@ export var stake_subsidy;
|
|
|
98
98
|
let view;
|
|
99
99
|
(function (view) {
|
|
100
100
|
async function advanceEpoch(client, args) {
|
|
101
|
-
const tx = new
|
|
101
|
+
const tx = new Transaction();
|
|
102
102
|
builder.advanceEpoch(tx, args);
|
|
103
103
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
104
104
|
transactionBlock: tx,
|
|
@@ -108,7 +108,7 @@ export var stake_subsidy;
|
|
|
108
108
|
}
|
|
109
109
|
view.advanceEpoch = advanceEpoch;
|
|
110
110
|
async function create(client, args) {
|
|
111
|
-
const tx = new
|
|
111
|
+
const tx = new Transaction();
|
|
112
112
|
builder.create(tx, args);
|
|
113
113
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
114
114
|
transactionBlock: tx,
|
|
@@ -118,7 +118,7 @@ export var stake_subsidy;
|
|
|
118
118
|
}
|
|
119
119
|
view.create = create;
|
|
120
120
|
async function currentEpochSubsidyAmount(client, args) {
|
|
121
|
-
const tx = new
|
|
121
|
+
const tx = new Transaction();
|
|
122
122
|
builder.currentEpochSubsidyAmount(tx, args);
|
|
123
123
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
124
124
|
transactionBlock: tx,
|
|
@@ -131,6 +131,33 @@ export var stake_subsidy;
|
|
|
131
131
|
})(stake_subsidy || (stake_subsidy = {}));
|
|
132
132
|
export var staking_pool;
|
|
133
133
|
(function (staking_pool) {
|
|
134
|
+
let FungibleStakedSui;
|
|
135
|
+
(function (FungibleStakedSui) {
|
|
136
|
+
FungibleStakedSui.TYPE_QNAME = "0x3::staking_pool::FungibleStakedSui";
|
|
137
|
+
const TYPE = new TypeDescriptor(FungibleStakedSui.TYPE_QNAME);
|
|
138
|
+
function type() {
|
|
139
|
+
return TYPE.apply();
|
|
140
|
+
}
|
|
141
|
+
FungibleStakedSui.type = type;
|
|
142
|
+
})(FungibleStakedSui = staking_pool.FungibleStakedSui || (staking_pool.FungibleStakedSui = {}));
|
|
143
|
+
let FungibleStakedSuiData;
|
|
144
|
+
(function (FungibleStakedSuiData) {
|
|
145
|
+
FungibleStakedSuiData.TYPE_QNAME = "0x3::staking_pool::FungibleStakedSuiData";
|
|
146
|
+
const TYPE = new TypeDescriptor(FungibleStakedSuiData.TYPE_QNAME);
|
|
147
|
+
function type() {
|
|
148
|
+
return TYPE.apply();
|
|
149
|
+
}
|
|
150
|
+
FungibleStakedSuiData.type = type;
|
|
151
|
+
})(FungibleStakedSuiData = staking_pool.FungibleStakedSuiData || (staking_pool.FungibleStakedSuiData = {}));
|
|
152
|
+
let FungibleStakedSuiDataKey;
|
|
153
|
+
(function (FungibleStakedSuiDataKey) {
|
|
154
|
+
FungibleStakedSuiDataKey.TYPE_QNAME = "0x3::staking_pool::FungibleStakedSuiDataKey";
|
|
155
|
+
const TYPE = new TypeDescriptor(FungibleStakedSuiDataKey.TYPE_QNAME);
|
|
156
|
+
function type() {
|
|
157
|
+
return TYPE.apply();
|
|
158
|
+
}
|
|
159
|
+
FungibleStakedSuiDataKey.type = type;
|
|
160
|
+
})(FungibleStakedSuiDataKey = staking_pool.FungibleStakedSuiDataKey || (staking_pool.FungibleStakedSuiDataKey = {}));
|
|
134
161
|
let PoolTokenExchangeRate;
|
|
135
162
|
(function (PoolTokenExchangeRate) {
|
|
136
163
|
PoolTokenExchangeRate.TYPE_QNAME = "0x3::staking_pool::PoolTokenExchangeRate";
|
|
@@ -171,6 +198,17 @@ export var staking_pool;
|
|
|
171
198
|
});
|
|
172
199
|
}
|
|
173
200
|
builder.activateStakingPool = activateStakingPool;
|
|
201
|
+
function convertToFungibleStakedSui(tx, args) {
|
|
202
|
+
const _args = [];
|
|
203
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
204
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
205
|
+
// @ts-ignore
|
|
206
|
+
return tx.moveCall({
|
|
207
|
+
target: "0x3::staking_pool::convert_to_fungible_staked_sui",
|
|
208
|
+
arguments: _args,
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
builder.convertToFungibleStakedSui = convertToFungibleStakedSui;
|
|
174
212
|
function deactivateStakingPool(tx, args) {
|
|
175
213
|
const _args = [];
|
|
176
214
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -203,6 +241,26 @@ export var staking_pool;
|
|
|
203
241
|
});
|
|
204
242
|
}
|
|
205
243
|
builder.exchangeRates = exchangeRates;
|
|
244
|
+
function fungibleStakedSuiPoolId(tx, args) {
|
|
245
|
+
const _args = [];
|
|
246
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
247
|
+
// @ts-ignore
|
|
248
|
+
return tx.moveCall({
|
|
249
|
+
target: "0x3::staking_pool::fungible_staked_sui_pool_id",
|
|
250
|
+
arguments: _args,
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
builder.fungibleStakedSuiPoolId = fungibleStakedSuiPoolId;
|
|
254
|
+
function fungibleStakedSuiValue(tx, args) {
|
|
255
|
+
const _args = [];
|
|
256
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
257
|
+
// @ts-ignore
|
|
258
|
+
return tx.moveCall({
|
|
259
|
+
target: "0x3::staking_pool::fungible_staked_sui_value",
|
|
260
|
+
arguments: _args,
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
builder.fungibleStakedSuiValue = fungibleStakedSuiValue;
|
|
206
264
|
function isEqualStakingMetadata(tx, args) {
|
|
207
265
|
const _args = [];
|
|
208
266
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -234,6 +292,17 @@ export var staking_pool;
|
|
|
234
292
|
});
|
|
235
293
|
}
|
|
236
294
|
builder.isPreactive = isPreactive;
|
|
295
|
+
function joinFungibleStakedSui(tx, args) {
|
|
296
|
+
const _args = [];
|
|
297
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
298
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
299
|
+
// @ts-ignore
|
|
300
|
+
return tx.moveCall({
|
|
301
|
+
target: "0x3::staking_pool::join_fungible_staked_sui",
|
|
302
|
+
arguments: _args,
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
builder.joinFungibleStakedSui = joinFungibleStakedSui;
|
|
237
306
|
function joinStakedSui(tx, args) {
|
|
238
307
|
const _args = [];
|
|
239
308
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -325,6 +394,17 @@ export var staking_pool;
|
|
|
325
394
|
});
|
|
326
395
|
}
|
|
327
396
|
builder.processPendingStakesAndWithdraws = processPendingStakesAndWithdraws;
|
|
397
|
+
function redeemFungibleStakedSui(tx, args) {
|
|
398
|
+
const _args = [];
|
|
399
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
400
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
401
|
+
// @ts-ignore
|
|
402
|
+
return tx.moveCall({
|
|
403
|
+
target: "0x3::staking_pool::redeem_fungible_staked_sui",
|
|
404
|
+
arguments: _args,
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
builder.redeemFungibleStakedSui = redeemFungibleStakedSui;
|
|
328
408
|
function requestAddStake(tx, args) {
|
|
329
409
|
const _args = [];
|
|
330
410
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -359,6 +439,17 @@ export var staking_pool;
|
|
|
359
439
|
});
|
|
360
440
|
}
|
|
361
441
|
builder.split = split;
|
|
442
|
+
function splitFungibleStakedSui(tx, args) {
|
|
443
|
+
const _args = [];
|
|
444
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
445
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
446
|
+
// @ts-ignore
|
|
447
|
+
return tx.moveCall({
|
|
448
|
+
target: "0x3::staking_pool::split_fungible_staked_sui",
|
|
449
|
+
arguments: _args,
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
builder.splitFungibleStakedSui = splitFungibleStakedSui;
|
|
362
453
|
function splitStakedSui(tx, args) {
|
|
363
454
|
const _args = [];
|
|
364
455
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -425,7 +516,7 @@ export var staking_pool;
|
|
|
425
516
|
let view;
|
|
426
517
|
(function (view) {
|
|
427
518
|
async function activateStakingPool(client, args) {
|
|
428
|
-
const tx = new
|
|
519
|
+
const tx = new Transaction();
|
|
429
520
|
builder.activateStakingPool(tx, args);
|
|
430
521
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
431
522
|
transactionBlock: tx,
|
|
@@ -434,8 +525,18 @@ export var staking_pool;
|
|
|
434
525
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
435
526
|
}
|
|
436
527
|
view.activateStakingPool = activateStakingPool;
|
|
528
|
+
async function convertToFungibleStakedSui(client, args) {
|
|
529
|
+
const tx = new Transaction();
|
|
530
|
+
builder.convertToFungibleStakedSui(tx, args);
|
|
531
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
532
|
+
transactionBlock: tx,
|
|
533
|
+
sender: ZERO_ADDRESS,
|
|
534
|
+
});
|
|
535
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
536
|
+
}
|
|
537
|
+
view.convertToFungibleStakedSui = convertToFungibleStakedSui;
|
|
437
538
|
async function deactivateStakingPool(client, args) {
|
|
438
|
-
const tx = new
|
|
539
|
+
const tx = new Transaction();
|
|
439
540
|
builder.deactivateStakingPool(tx, args);
|
|
440
541
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
441
542
|
transactionBlock: tx,
|
|
@@ -445,7 +546,7 @@ export var staking_pool;
|
|
|
445
546
|
}
|
|
446
547
|
view.deactivateStakingPool = deactivateStakingPool;
|
|
447
548
|
async function depositRewards(client, args) {
|
|
448
|
-
const tx = new
|
|
549
|
+
const tx = new Transaction();
|
|
449
550
|
builder.depositRewards(tx, args);
|
|
450
551
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
451
552
|
transactionBlock: tx,
|
|
@@ -455,7 +556,7 @@ export var staking_pool;
|
|
|
455
556
|
}
|
|
456
557
|
view.depositRewards = depositRewards;
|
|
457
558
|
async function exchangeRates(client, args) {
|
|
458
|
-
const tx = new
|
|
559
|
+
const tx = new Transaction();
|
|
459
560
|
builder.exchangeRates(tx, args);
|
|
460
561
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
461
562
|
transactionBlock: tx,
|
|
@@ -464,8 +565,28 @@ export var staking_pool;
|
|
|
464
565
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
465
566
|
}
|
|
466
567
|
view.exchangeRates = exchangeRates;
|
|
568
|
+
async function fungibleStakedSuiPoolId(client, args) {
|
|
569
|
+
const tx = new Transaction();
|
|
570
|
+
builder.fungibleStakedSuiPoolId(tx, args);
|
|
571
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
572
|
+
transactionBlock: tx,
|
|
573
|
+
sender: ZERO_ADDRESS,
|
|
574
|
+
});
|
|
575
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
576
|
+
}
|
|
577
|
+
view.fungibleStakedSuiPoolId = fungibleStakedSuiPoolId;
|
|
578
|
+
async function fungibleStakedSuiValue(client, args) {
|
|
579
|
+
const tx = new Transaction();
|
|
580
|
+
builder.fungibleStakedSuiValue(tx, args);
|
|
581
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
582
|
+
transactionBlock: tx,
|
|
583
|
+
sender: ZERO_ADDRESS,
|
|
584
|
+
});
|
|
585
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
586
|
+
}
|
|
587
|
+
view.fungibleStakedSuiValue = fungibleStakedSuiValue;
|
|
467
588
|
async function isEqualStakingMetadata(client, args) {
|
|
468
|
-
const tx = new
|
|
589
|
+
const tx = new Transaction();
|
|
469
590
|
builder.isEqualStakingMetadata(tx, args);
|
|
470
591
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
471
592
|
transactionBlock: tx,
|
|
@@ -475,7 +596,7 @@ export var staking_pool;
|
|
|
475
596
|
}
|
|
476
597
|
view.isEqualStakingMetadata = isEqualStakingMetadata;
|
|
477
598
|
async function isInactive(client, args) {
|
|
478
|
-
const tx = new
|
|
599
|
+
const tx = new Transaction();
|
|
479
600
|
builder.isInactive(tx, args);
|
|
480
601
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
481
602
|
transactionBlock: tx,
|
|
@@ -485,7 +606,7 @@ export var staking_pool;
|
|
|
485
606
|
}
|
|
486
607
|
view.isInactive = isInactive;
|
|
487
608
|
async function isPreactive(client, args) {
|
|
488
|
-
const tx = new
|
|
609
|
+
const tx = new Transaction();
|
|
489
610
|
builder.isPreactive(tx, args);
|
|
490
611
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
491
612
|
transactionBlock: tx,
|
|
@@ -494,8 +615,18 @@ export var staking_pool;
|
|
|
494
615
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
495
616
|
}
|
|
496
617
|
view.isPreactive = isPreactive;
|
|
618
|
+
async function joinFungibleStakedSui(client, args) {
|
|
619
|
+
const tx = new Transaction();
|
|
620
|
+
builder.joinFungibleStakedSui(tx, args);
|
|
621
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
622
|
+
transactionBlock: tx,
|
|
623
|
+
sender: ZERO_ADDRESS,
|
|
624
|
+
});
|
|
625
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
626
|
+
}
|
|
627
|
+
view.joinFungibleStakedSui = joinFungibleStakedSui;
|
|
497
628
|
async function joinStakedSui(client, args) {
|
|
498
|
-
const tx = new
|
|
629
|
+
const tx = new Transaction();
|
|
499
630
|
builder.joinStakedSui(tx, args);
|
|
500
631
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
501
632
|
transactionBlock: tx,
|
|
@@ -505,7 +636,7 @@ export var staking_pool;
|
|
|
505
636
|
}
|
|
506
637
|
view.joinStakedSui = joinStakedSui;
|
|
507
638
|
async function new_(client, args) {
|
|
508
|
-
const tx = new
|
|
639
|
+
const tx = new Transaction();
|
|
509
640
|
builder.new_(tx, args);
|
|
510
641
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
511
642
|
transactionBlock: tx,
|
|
@@ -515,7 +646,7 @@ export var staking_pool;
|
|
|
515
646
|
}
|
|
516
647
|
view.new_ = new_;
|
|
517
648
|
async function pendingStakeAmount(client, args) {
|
|
518
|
-
const tx = new
|
|
649
|
+
const tx = new Transaction();
|
|
519
650
|
builder.pendingStakeAmount(tx, args);
|
|
520
651
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
521
652
|
transactionBlock: tx,
|
|
@@ -525,7 +656,7 @@ export var staking_pool;
|
|
|
525
656
|
}
|
|
526
657
|
view.pendingStakeAmount = pendingStakeAmount;
|
|
527
658
|
async function pendingStakeWithdrawAmount(client, args) {
|
|
528
|
-
const tx = new
|
|
659
|
+
const tx = new Transaction();
|
|
529
660
|
builder.pendingStakeWithdrawAmount(tx, args);
|
|
530
661
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
531
662
|
transactionBlock: tx,
|
|
@@ -535,7 +666,7 @@ export var staking_pool;
|
|
|
535
666
|
}
|
|
536
667
|
view.pendingStakeWithdrawAmount = pendingStakeWithdrawAmount;
|
|
537
668
|
async function poolId(client, args) {
|
|
538
|
-
const tx = new
|
|
669
|
+
const tx = new Transaction();
|
|
539
670
|
builder.poolId(tx, args);
|
|
540
671
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
541
672
|
transactionBlock: tx,
|
|
@@ -545,7 +676,7 @@ export var staking_pool;
|
|
|
545
676
|
}
|
|
546
677
|
view.poolId = poolId;
|
|
547
678
|
async function poolTokenAmount(client, args) {
|
|
548
|
-
const tx = new
|
|
679
|
+
const tx = new Transaction();
|
|
549
680
|
builder.poolTokenAmount(tx, args);
|
|
550
681
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
551
682
|
transactionBlock: tx,
|
|
@@ -555,7 +686,7 @@ export var staking_pool;
|
|
|
555
686
|
}
|
|
556
687
|
view.poolTokenAmount = poolTokenAmount;
|
|
557
688
|
async function poolTokenExchangeRateAtEpoch(client, args) {
|
|
558
|
-
const tx = new
|
|
689
|
+
const tx = new Transaction();
|
|
559
690
|
builder.poolTokenExchangeRateAtEpoch(tx, args);
|
|
560
691
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
561
692
|
transactionBlock: tx,
|
|
@@ -565,7 +696,7 @@ export var staking_pool;
|
|
|
565
696
|
}
|
|
566
697
|
view.poolTokenExchangeRateAtEpoch = poolTokenExchangeRateAtEpoch;
|
|
567
698
|
async function processPendingStake(client, args) {
|
|
568
|
-
const tx = new
|
|
699
|
+
const tx = new Transaction();
|
|
569
700
|
builder.processPendingStake(tx, args);
|
|
570
701
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
571
702
|
transactionBlock: tx,
|
|
@@ -575,7 +706,7 @@ export var staking_pool;
|
|
|
575
706
|
}
|
|
576
707
|
view.processPendingStake = processPendingStake;
|
|
577
708
|
async function processPendingStakesAndWithdraws(client, args) {
|
|
578
|
-
const tx = new
|
|
709
|
+
const tx = new Transaction();
|
|
579
710
|
builder.processPendingStakesAndWithdraws(tx, args);
|
|
580
711
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
581
712
|
transactionBlock: tx,
|
|
@@ -584,8 +715,18 @@ export var staking_pool;
|
|
|
584
715
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
585
716
|
}
|
|
586
717
|
view.processPendingStakesAndWithdraws = processPendingStakesAndWithdraws;
|
|
718
|
+
async function redeemFungibleStakedSui(client, args) {
|
|
719
|
+
const tx = new Transaction();
|
|
720
|
+
builder.redeemFungibleStakedSui(tx, args);
|
|
721
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
722
|
+
transactionBlock: tx,
|
|
723
|
+
sender: ZERO_ADDRESS,
|
|
724
|
+
});
|
|
725
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
726
|
+
}
|
|
727
|
+
view.redeemFungibleStakedSui = redeemFungibleStakedSui;
|
|
587
728
|
async function requestAddStake(client, args) {
|
|
588
|
-
const tx = new
|
|
729
|
+
const tx = new Transaction();
|
|
589
730
|
builder.requestAddStake(tx, args);
|
|
590
731
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
591
732
|
transactionBlock: tx,
|
|
@@ -595,7 +736,7 @@ export var staking_pool;
|
|
|
595
736
|
}
|
|
596
737
|
view.requestAddStake = requestAddStake;
|
|
597
738
|
async function requestWithdrawStake(client, args) {
|
|
598
|
-
const tx = new
|
|
739
|
+
const tx = new Transaction();
|
|
599
740
|
builder.requestWithdrawStake(tx, args);
|
|
600
741
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
601
742
|
transactionBlock: tx,
|
|
@@ -605,7 +746,7 @@ export var staking_pool;
|
|
|
605
746
|
}
|
|
606
747
|
view.requestWithdrawStake = requestWithdrawStake;
|
|
607
748
|
async function split(client, args) {
|
|
608
|
-
const tx = new
|
|
749
|
+
const tx = new Transaction();
|
|
609
750
|
builder.split(tx, args);
|
|
610
751
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
611
752
|
transactionBlock: tx,
|
|
@@ -614,8 +755,18 @@ export var staking_pool;
|
|
|
614
755
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
615
756
|
}
|
|
616
757
|
view.split = split;
|
|
758
|
+
async function splitFungibleStakedSui(client, args) {
|
|
759
|
+
const tx = new Transaction();
|
|
760
|
+
builder.splitFungibleStakedSui(tx, args);
|
|
761
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
762
|
+
transactionBlock: tx,
|
|
763
|
+
sender: ZERO_ADDRESS,
|
|
764
|
+
});
|
|
765
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
766
|
+
}
|
|
767
|
+
view.splitFungibleStakedSui = splitFungibleStakedSui;
|
|
617
768
|
async function splitStakedSui(client, args) {
|
|
618
|
-
const tx = new
|
|
769
|
+
const tx = new Transaction();
|
|
619
770
|
builder.splitStakedSui(tx, args);
|
|
620
771
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
621
772
|
transactionBlock: tx,
|
|
@@ -625,7 +776,7 @@ export var staking_pool;
|
|
|
625
776
|
}
|
|
626
777
|
view.splitStakedSui = splitStakedSui;
|
|
627
778
|
async function stakeActivationEpoch(client, args) {
|
|
628
|
-
const tx = new
|
|
779
|
+
const tx = new Transaction();
|
|
629
780
|
builder.stakeActivationEpoch(tx, args);
|
|
630
781
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
631
782
|
transactionBlock: tx,
|
|
@@ -635,7 +786,7 @@ export var staking_pool;
|
|
|
635
786
|
}
|
|
636
787
|
view.stakeActivationEpoch = stakeActivationEpoch;
|
|
637
788
|
async function stakedSuiAmount(client, args) {
|
|
638
|
-
const tx = new
|
|
789
|
+
const tx = new Transaction();
|
|
639
790
|
builder.stakedSuiAmount(tx, args);
|
|
640
791
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
641
792
|
transactionBlock: tx,
|
|
@@ -645,7 +796,7 @@ export var staking_pool;
|
|
|
645
796
|
}
|
|
646
797
|
view.stakedSuiAmount = stakedSuiAmount;
|
|
647
798
|
async function suiAmount(client, args) {
|
|
648
|
-
const tx = new
|
|
799
|
+
const tx = new Transaction();
|
|
649
800
|
builder.suiAmount(tx, args);
|
|
650
801
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
651
802
|
transactionBlock: tx,
|
|
@@ -655,7 +806,7 @@ export var staking_pool;
|
|
|
655
806
|
}
|
|
656
807
|
view.suiAmount = suiAmount;
|
|
657
808
|
async function suiBalance(client, args) {
|
|
658
|
-
const tx = new
|
|
809
|
+
const tx = new Transaction();
|
|
659
810
|
builder.suiBalance(tx, args);
|
|
660
811
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
661
812
|
transactionBlock: tx,
|
|
@@ -665,7 +816,7 @@ export var staking_pool;
|
|
|
665
816
|
}
|
|
666
817
|
view.suiBalance = suiBalance;
|
|
667
818
|
async function withdrawFromPrincipal(client, args) {
|
|
668
|
-
const tx = new
|
|
819
|
+
const tx = new Transaction();
|
|
669
820
|
builder.withdrawFromPrincipal(tx, args);
|
|
670
821
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
671
822
|
transactionBlock: tx,
|
|
@@ -738,7 +889,7 @@ export var storage_fund;
|
|
|
738
889
|
let view;
|
|
739
890
|
(function (view) {
|
|
740
891
|
async function advanceEpoch(client, args) {
|
|
741
|
-
const tx = new
|
|
892
|
+
const tx = new Transaction();
|
|
742
893
|
builder.advanceEpoch(tx, args);
|
|
743
894
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
744
895
|
transactionBlock: tx,
|
|
@@ -748,7 +899,7 @@ export var storage_fund;
|
|
|
748
899
|
}
|
|
749
900
|
view.advanceEpoch = advanceEpoch;
|
|
750
901
|
async function new_(client, args) {
|
|
751
|
-
const tx = new
|
|
902
|
+
const tx = new Transaction();
|
|
752
903
|
builder.new_(tx, args);
|
|
753
904
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
754
905
|
transactionBlock: tx,
|
|
@@ -758,7 +909,7 @@ export var storage_fund;
|
|
|
758
909
|
}
|
|
759
910
|
view.new_ = new_;
|
|
760
911
|
async function totalBalance(client, args) {
|
|
761
|
-
const tx = new
|
|
912
|
+
const tx = new Transaction();
|
|
762
913
|
builder.totalBalance(tx, args);
|
|
763
914
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
764
915
|
transactionBlock: tx,
|
|
@@ -768,7 +919,7 @@ export var storage_fund;
|
|
|
768
919
|
}
|
|
769
920
|
view.totalBalance = totalBalance;
|
|
770
921
|
async function totalObjectStorageRebates(client, args) {
|
|
771
|
-
const tx = new
|
|
922
|
+
const tx = new Transaction();
|
|
772
923
|
builder.totalObjectStorageRebates(tx, args);
|
|
773
924
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
774
925
|
transactionBlock: tx,
|
|
@@ -802,6 +953,17 @@ export var sui_system;
|
|
|
802
953
|
});
|
|
803
954
|
}
|
|
804
955
|
builder.activeValidatorAddresses = activeValidatorAddresses;
|
|
956
|
+
function convertToFungibleStakedSui(tx, args) {
|
|
957
|
+
const _args = [];
|
|
958
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
959
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
960
|
+
// @ts-ignore
|
|
961
|
+
return tx.moveCall({
|
|
962
|
+
target: "0x3::sui_system::convert_to_fungible_staked_sui",
|
|
963
|
+
arguments: _args,
|
|
964
|
+
});
|
|
965
|
+
}
|
|
966
|
+
builder.convertToFungibleStakedSui = convertToFungibleStakedSui;
|
|
805
967
|
function create(tx, args) {
|
|
806
968
|
const _args = [];
|
|
807
969
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
@@ -829,6 +991,17 @@ export var sui_system;
|
|
|
829
991
|
});
|
|
830
992
|
}
|
|
831
993
|
builder.poolExchangeRates = poolExchangeRates;
|
|
994
|
+
function redeemFungibleStakedSui(tx, args) {
|
|
995
|
+
const _args = [];
|
|
996
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
997
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
998
|
+
// @ts-ignore
|
|
999
|
+
return tx.moveCall({
|
|
1000
|
+
target: "0x3::sui_system::redeem_fungible_staked_sui",
|
|
1001
|
+
arguments: _args,
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
1004
|
+
builder.redeemFungibleStakedSui = redeemFungibleStakedSui;
|
|
832
1005
|
function reportValidator(tx, args) {
|
|
833
1006
|
const _args = [];
|
|
834
1007
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -1222,11 +1395,22 @@ export var sui_system;
|
|
|
1222
1395
|
});
|
|
1223
1396
|
}
|
|
1224
1397
|
builder.updateValidatorProjectUrl = updateValidatorProjectUrl;
|
|
1398
|
+
function validatorAddressByPoolId(tx, args) {
|
|
1399
|
+
const _args = [];
|
|
1400
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
1401
|
+
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
1402
|
+
// @ts-ignore
|
|
1403
|
+
return tx.moveCall({
|
|
1404
|
+
target: "0x3::sui_system::validator_address_by_pool_id",
|
|
1405
|
+
arguments: _args,
|
|
1406
|
+
});
|
|
1407
|
+
}
|
|
1408
|
+
builder.validatorAddressByPoolId = validatorAddressByPoolId;
|
|
1225
1409
|
})(builder = sui_system.builder || (sui_system.builder = {}));
|
|
1226
1410
|
let view;
|
|
1227
1411
|
(function (view) {
|
|
1228
1412
|
async function activeValidatorAddresses(client, args) {
|
|
1229
|
-
const tx = new
|
|
1413
|
+
const tx = new Transaction();
|
|
1230
1414
|
builder.activeValidatorAddresses(tx, args);
|
|
1231
1415
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1232
1416
|
transactionBlock: tx,
|
|
@@ -1235,8 +1419,18 @@ export var sui_system;
|
|
|
1235
1419
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
1236
1420
|
}
|
|
1237
1421
|
view.activeValidatorAddresses = activeValidatorAddresses;
|
|
1422
|
+
async function convertToFungibleStakedSui(client, args) {
|
|
1423
|
+
const tx = new Transaction();
|
|
1424
|
+
builder.convertToFungibleStakedSui(tx, args);
|
|
1425
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1426
|
+
transactionBlock: tx,
|
|
1427
|
+
sender: ZERO_ADDRESS,
|
|
1428
|
+
});
|
|
1429
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
1430
|
+
}
|
|
1431
|
+
view.convertToFungibleStakedSui = convertToFungibleStakedSui;
|
|
1238
1432
|
async function create(client, args) {
|
|
1239
|
-
const tx = new
|
|
1433
|
+
const tx = new Transaction();
|
|
1240
1434
|
builder.create(tx, args);
|
|
1241
1435
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1242
1436
|
transactionBlock: tx,
|
|
@@ -1246,7 +1440,7 @@ export var sui_system;
|
|
|
1246
1440
|
}
|
|
1247
1441
|
view.create = create;
|
|
1248
1442
|
async function poolExchangeRates(client, args) {
|
|
1249
|
-
const tx = new
|
|
1443
|
+
const tx = new Transaction();
|
|
1250
1444
|
builder.poolExchangeRates(tx, args);
|
|
1251
1445
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1252
1446
|
transactionBlock: tx,
|
|
@@ -1255,8 +1449,18 @@ export var sui_system;
|
|
|
1255
1449
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
1256
1450
|
}
|
|
1257
1451
|
view.poolExchangeRates = poolExchangeRates;
|
|
1452
|
+
async function redeemFungibleStakedSui(client, args) {
|
|
1453
|
+
const tx = new Transaction();
|
|
1454
|
+
builder.redeemFungibleStakedSui(tx, args);
|
|
1455
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1456
|
+
transactionBlock: tx,
|
|
1457
|
+
sender: ZERO_ADDRESS,
|
|
1458
|
+
});
|
|
1459
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
1460
|
+
}
|
|
1461
|
+
view.redeemFungibleStakedSui = redeemFungibleStakedSui;
|
|
1258
1462
|
async function reportValidator(client, args) {
|
|
1259
|
-
const tx = new
|
|
1463
|
+
const tx = new Transaction();
|
|
1260
1464
|
builder.reportValidator(tx, args);
|
|
1261
1465
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1262
1466
|
transactionBlock: tx,
|
|
@@ -1266,7 +1470,7 @@ export var sui_system;
|
|
|
1266
1470
|
}
|
|
1267
1471
|
view.reportValidator = reportValidator;
|
|
1268
1472
|
async function requestAddStake(client, args) {
|
|
1269
|
-
const tx = new
|
|
1473
|
+
const tx = new Transaction();
|
|
1270
1474
|
builder.requestAddStake(tx, args);
|
|
1271
1475
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1272
1476
|
transactionBlock: tx,
|
|
@@ -1276,7 +1480,7 @@ export var sui_system;
|
|
|
1276
1480
|
}
|
|
1277
1481
|
view.requestAddStake = requestAddStake;
|
|
1278
1482
|
async function requestAddStakeMulCoin(client, args) {
|
|
1279
|
-
const tx = new
|
|
1483
|
+
const tx = new Transaction();
|
|
1280
1484
|
builder.requestAddStakeMulCoin(tx, args);
|
|
1281
1485
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1282
1486
|
transactionBlock: tx,
|
|
@@ -1286,7 +1490,7 @@ export var sui_system;
|
|
|
1286
1490
|
}
|
|
1287
1491
|
view.requestAddStakeMulCoin = requestAddStakeMulCoin;
|
|
1288
1492
|
async function requestAddStakeNonEntry(client, args) {
|
|
1289
|
-
const tx = new
|
|
1493
|
+
const tx = new Transaction();
|
|
1290
1494
|
builder.requestAddStakeNonEntry(tx, args);
|
|
1291
1495
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1292
1496
|
transactionBlock: tx,
|
|
@@ -1296,7 +1500,7 @@ export var sui_system;
|
|
|
1296
1500
|
}
|
|
1297
1501
|
view.requestAddStakeNonEntry = requestAddStakeNonEntry;
|
|
1298
1502
|
async function requestAddValidator(client, args) {
|
|
1299
|
-
const tx = new
|
|
1503
|
+
const tx = new Transaction();
|
|
1300
1504
|
builder.requestAddValidator(tx, args);
|
|
1301
1505
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1302
1506
|
transactionBlock: tx,
|
|
@@ -1306,7 +1510,7 @@ export var sui_system;
|
|
|
1306
1510
|
}
|
|
1307
1511
|
view.requestAddValidator = requestAddValidator;
|
|
1308
1512
|
async function requestAddValidatorCandidate(client, args) {
|
|
1309
|
-
const tx = new
|
|
1513
|
+
const tx = new Transaction();
|
|
1310
1514
|
builder.requestAddValidatorCandidate(tx, args);
|
|
1311
1515
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1312
1516
|
transactionBlock: tx,
|
|
@@ -1316,7 +1520,7 @@ export var sui_system;
|
|
|
1316
1520
|
}
|
|
1317
1521
|
view.requestAddValidatorCandidate = requestAddValidatorCandidate;
|
|
1318
1522
|
async function requestRemoveValidator(client, args) {
|
|
1319
|
-
const tx = new
|
|
1523
|
+
const tx = new Transaction();
|
|
1320
1524
|
builder.requestRemoveValidator(tx, args);
|
|
1321
1525
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1322
1526
|
transactionBlock: tx,
|
|
@@ -1326,7 +1530,7 @@ export var sui_system;
|
|
|
1326
1530
|
}
|
|
1327
1531
|
view.requestRemoveValidator = requestRemoveValidator;
|
|
1328
1532
|
async function requestRemoveValidatorCandidate(client, args) {
|
|
1329
|
-
const tx = new
|
|
1533
|
+
const tx = new Transaction();
|
|
1330
1534
|
builder.requestRemoveValidatorCandidate(tx, args);
|
|
1331
1535
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1332
1536
|
transactionBlock: tx,
|
|
@@ -1336,7 +1540,7 @@ export var sui_system;
|
|
|
1336
1540
|
}
|
|
1337
1541
|
view.requestRemoveValidatorCandidate = requestRemoveValidatorCandidate;
|
|
1338
1542
|
async function requestSetCommissionRate(client, args) {
|
|
1339
|
-
const tx = new
|
|
1543
|
+
const tx = new Transaction();
|
|
1340
1544
|
builder.requestSetCommissionRate(tx, args);
|
|
1341
1545
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1342
1546
|
transactionBlock: tx,
|
|
@@ -1346,7 +1550,7 @@ export var sui_system;
|
|
|
1346
1550
|
}
|
|
1347
1551
|
view.requestSetCommissionRate = requestSetCommissionRate;
|
|
1348
1552
|
async function requestSetGasPrice(client, args) {
|
|
1349
|
-
const tx = new
|
|
1553
|
+
const tx = new Transaction();
|
|
1350
1554
|
builder.requestSetGasPrice(tx, args);
|
|
1351
1555
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1352
1556
|
transactionBlock: tx,
|
|
@@ -1356,7 +1560,7 @@ export var sui_system;
|
|
|
1356
1560
|
}
|
|
1357
1561
|
view.requestSetGasPrice = requestSetGasPrice;
|
|
1358
1562
|
async function requestWithdrawStake(client, args) {
|
|
1359
|
-
const tx = new
|
|
1563
|
+
const tx = new Transaction();
|
|
1360
1564
|
builder.requestWithdrawStake(tx, args);
|
|
1361
1565
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1362
1566
|
transactionBlock: tx,
|
|
@@ -1366,7 +1570,7 @@ export var sui_system;
|
|
|
1366
1570
|
}
|
|
1367
1571
|
view.requestWithdrawStake = requestWithdrawStake;
|
|
1368
1572
|
async function requestWithdrawStakeNonEntry(client, args) {
|
|
1369
|
-
const tx = new
|
|
1573
|
+
const tx = new Transaction();
|
|
1370
1574
|
builder.requestWithdrawStakeNonEntry(tx, args);
|
|
1371
1575
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1372
1576
|
transactionBlock: tx,
|
|
@@ -1376,7 +1580,7 @@ export var sui_system;
|
|
|
1376
1580
|
}
|
|
1377
1581
|
view.requestWithdrawStakeNonEntry = requestWithdrawStakeNonEntry;
|
|
1378
1582
|
async function rotateOperationCap(client, args) {
|
|
1379
|
-
const tx = new
|
|
1583
|
+
const tx = new Transaction();
|
|
1380
1584
|
builder.rotateOperationCap(tx, args);
|
|
1381
1585
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1382
1586
|
transactionBlock: tx,
|
|
@@ -1386,7 +1590,7 @@ export var sui_system;
|
|
|
1386
1590
|
}
|
|
1387
1591
|
view.rotateOperationCap = rotateOperationCap;
|
|
1388
1592
|
async function setCandidateValidatorCommissionRate(client, args) {
|
|
1389
|
-
const tx = new
|
|
1593
|
+
const tx = new Transaction();
|
|
1390
1594
|
builder.setCandidateValidatorCommissionRate(tx, args);
|
|
1391
1595
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1392
1596
|
transactionBlock: tx,
|
|
@@ -1396,7 +1600,7 @@ export var sui_system;
|
|
|
1396
1600
|
}
|
|
1397
1601
|
view.setCandidateValidatorCommissionRate = setCandidateValidatorCommissionRate;
|
|
1398
1602
|
async function setCandidateValidatorGasPrice(client, args) {
|
|
1399
|
-
const tx = new
|
|
1603
|
+
const tx = new Transaction();
|
|
1400
1604
|
builder.setCandidateValidatorGasPrice(tx, args);
|
|
1401
1605
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1402
1606
|
transactionBlock: tx,
|
|
@@ -1406,7 +1610,7 @@ export var sui_system;
|
|
|
1406
1610
|
}
|
|
1407
1611
|
view.setCandidateValidatorGasPrice = setCandidateValidatorGasPrice;
|
|
1408
1612
|
async function undoReportValidator(client, args) {
|
|
1409
|
-
const tx = new
|
|
1613
|
+
const tx = new Transaction();
|
|
1410
1614
|
builder.undoReportValidator(tx, args);
|
|
1411
1615
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1412
1616
|
transactionBlock: tx,
|
|
@@ -1416,7 +1620,7 @@ export var sui_system;
|
|
|
1416
1620
|
}
|
|
1417
1621
|
view.undoReportValidator = undoReportValidator;
|
|
1418
1622
|
async function updateCandidateValidatorNetworkAddress(client, args) {
|
|
1419
|
-
const tx = new
|
|
1623
|
+
const tx = new Transaction();
|
|
1420
1624
|
builder.updateCandidateValidatorNetworkAddress(tx, args);
|
|
1421
1625
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1422
1626
|
transactionBlock: tx,
|
|
@@ -1426,7 +1630,7 @@ export var sui_system;
|
|
|
1426
1630
|
}
|
|
1427
1631
|
view.updateCandidateValidatorNetworkAddress = updateCandidateValidatorNetworkAddress;
|
|
1428
1632
|
async function updateCandidateValidatorNetworkPubkey(client, args) {
|
|
1429
|
-
const tx = new
|
|
1633
|
+
const tx = new Transaction();
|
|
1430
1634
|
builder.updateCandidateValidatorNetworkPubkey(tx, args);
|
|
1431
1635
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1432
1636
|
transactionBlock: tx,
|
|
@@ -1436,7 +1640,7 @@ export var sui_system;
|
|
|
1436
1640
|
}
|
|
1437
1641
|
view.updateCandidateValidatorNetworkPubkey = updateCandidateValidatorNetworkPubkey;
|
|
1438
1642
|
async function updateCandidateValidatorP2pAddress(client, args) {
|
|
1439
|
-
const tx = new
|
|
1643
|
+
const tx = new Transaction();
|
|
1440
1644
|
builder.updateCandidateValidatorP2pAddress(tx, args);
|
|
1441
1645
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1442
1646
|
transactionBlock: tx,
|
|
@@ -1446,7 +1650,7 @@ export var sui_system;
|
|
|
1446
1650
|
}
|
|
1447
1651
|
view.updateCandidateValidatorP2pAddress = updateCandidateValidatorP2pAddress;
|
|
1448
1652
|
async function updateCandidateValidatorPrimaryAddress(client, args) {
|
|
1449
|
-
const tx = new
|
|
1653
|
+
const tx = new Transaction();
|
|
1450
1654
|
builder.updateCandidateValidatorPrimaryAddress(tx, args);
|
|
1451
1655
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1452
1656
|
transactionBlock: tx,
|
|
@@ -1456,7 +1660,7 @@ export var sui_system;
|
|
|
1456
1660
|
}
|
|
1457
1661
|
view.updateCandidateValidatorPrimaryAddress = updateCandidateValidatorPrimaryAddress;
|
|
1458
1662
|
async function updateCandidateValidatorProtocolPubkey(client, args) {
|
|
1459
|
-
const tx = new
|
|
1663
|
+
const tx = new Transaction();
|
|
1460
1664
|
builder.updateCandidateValidatorProtocolPubkey(tx, args);
|
|
1461
1665
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1462
1666
|
transactionBlock: tx,
|
|
@@ -1466,7 +1670,7 @@ export var sui_system;
|
|
|
1466
1670
|
}
|
|
1467
1671
|
view.updateCandidateValidatorProtocolPubkey = updateCandidateValidatorProtocolPubkey;
|
|
1468
1672
|
async function updateCandidateValidatorWorkerAddress(client, args) {
|
|
1469
|
-
const tx = new
|
|
1673
|
+
const tx = new Transaction();
|
|
1470
1674
|
builder.updateCandidateValidatorWorkerAddress(tx, args);
|
|
1471
1675
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1472
1676
|
transactionBlock: tx,
|
|
@@ -1476,7 +1680,7 @@ export var sui_system;
|
|
|
1476
1680
|
}
|
|
1477
1681
|
view.updateCandidateValidatorWorkerAddress = updateCandidateValidatorWorkerAddress;
|
|
1478
1682
|
async function updateCandidateValidatorWorkerPubkey(client, args) {
|
|
1479
|
-
const tx = new
|
|
1683
|
+
const tx = new Transaction();
|
|
1480
1684
|
builder.updateCandidateValidatorWorkerPubkey(tx, args);
|
|
1481
1685
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1482
1686
|
transactionBlock: tx,
|
|
@@ -1486,7 +1690,7 @@ export var sui_system;
|
|
|
1486
1690
|
}
|
|
1487
1691
|
view.updateCandidateValidatorWorkerPubkey = updateCandidateValidatorWorkerPubkey;
|
|
1488
1692
|
async function updateValidatorDescription(client, args) {
|
|
1489
|
-
const tx = new
|
|
1693
|
+
const tx = new Transaction();
|
|
1490
1694
|
builder.updateValidatorDescription(tx, args);
|
|
1491
1695
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1492
1696
|
transactionBlock: tx,
|
|
@@ -1496,7 +1700,7 @@ export var sui_system;
|
|
|
1496
1700
|
}
|
|
1497
1701
|
view.updateValidatorDescription = updateValidatorDescription;
|
|
1498
1702
|
async function updateValidatorImageUrl(client, args) {
|
|
1499
|
-
const tx = new
|
|
1703
|
+
const tx = new Transaction();
|
|
1500
1704
|
builder.updateValidatorImageUrl(tx, args);
|
|
1501
1705
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1502
1706
|
transactionBlock: tx,
|
|
@@ -1506,7 +1710,7 @@ export var sui_system;
|
|
|
1506
1710
|
}
|
|
1507
1711
|
view.updateValidatorImageUrl = updateValidatorImageUrl;
|
|
1508
1712
|
async function updateValidatorName(client, args) {
|
|
1509
|
-
const tx = new
|
|
1713
|
+
const tx = new Transaction();
|
|
1510
1714
|
builder.updateValidatorName(tx, args);
|
|
1511
1715
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1512
1716
|
transactionBlock: tx,
|
|
@@ -1516,7 +1720,7 @@ export var sui_system;
|
|
|
1516
1720
|
}
|
|
1517
1721
|
view.updateValidatorName = updateValidatorName;
|
|
1518
1722
|
async function updateValidatorNextEpochNetworkAddress(client, args) {
|
|
1519
|
-
const tx = new
|
|
1723
|
+
const tx = new Transaction();
|
|
1520
1724
|
builder.updateValidatorNextEpochNetworkAddress(tx, args);
|
|
1521
1725
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1522
1726
|
transactionBlock: tx,
|
|
@@ -1526,7 +1730,7 @@ export var sui_system;
|
|
|
1526
1730
|
}
|
|
1527
1731
|
view.updateValidatorNextEpochNetworkAddress = updateValidatorNextEpochNetworkAddress;
|
|
1528
1732
|
async function updateValidatorNextEpochNetworkPubkey(client, args) {
|
|
1529
|
-
const tx = new
|
|
1733
|
+
const tx = new Transaction();
|
|
1530
1734
|
builder.updateValidatorNextEpochNetworkPubkey(tx, args);
|
|
1531
1735
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1532
1736
|
transactionBlock: tx,
|
|
@@ -1536,7 +1740,7 @@ export var sui_system;
|
|
|
1536
1740
|
}
|
|
1537
1741
|
view.updateValidatorNextEpochNetworkPubkey = updateValidatorNextEpochNetworkPubkey;
|
|
1538
1742
|
async function updateValidatorNextEpochP2pAddress(client, args) {
|
|
1539
|
-
const tx = new
|
|
1743
|
+
const tx = new Transaction();
|
|
1540
1744
|
builder.updateValidatorNextEpochP2pAddress(tx, args);
|
|
1541
1745
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1542
1746
|
transactionBlock: tx,
|
|
@@ -1546,7 +1750,7 @@ export var sui_system;
|
|
|
1546
1750
|
}
|
|
1547
1751
|
view.updateValidatorNextEpochP2pAddress = updateValidatorNextEpochP2pAddress;
|
|
1548
1752
|
async function updateValidatorNextEpochPrimaryAddress(client, args) {
|
|
1549
|
-
const tx = new
|
|
1753
|
+
const tx = new Transaction();
|
|
1550
1754
|
builder.updateValidatorNextEpochPrimaryAddress(tx, args);
|
|
1551
1755
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1552
1756
|
transactionBlock: tx,
|
|
@@ -1556,7 +1760,7 @@ export var sui_system;
|
|
|
1556
1760
|
}
|
|
1557
1761
|
view.updateValidatorNextEpochPrimaryAddress = updateValidatorNextEpochPrimaryAddress;
|
|
1558
1762
|
async function updateValidatorNextEpochProtocolPubkey(client, args) {
|
|
1559
|
-
const tx = new
|
|
1763
|
+
const tx = new Transaction();
|
|
1560
1764
|
builder.updateValidatorNextEpochProtocolPubkey(tx, args);
|
|
1561
1765
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1562
1766
|
transactionBlock: tx,
|
|
@@ -1566,7 +1770,7 @@ export var sui_system;
|
|
|
1566
1770
|
}
|
|
1567
1771
|
view.updateValidatorNextEpochProtocolPubkey = updateValidatorNextEpochProtocolPubkey;
|
|
1568
1772
|
async function updateValidatorNextEpochWorkerAddress(client, args) {
|
|
1569
|
-
const tx = new
|
|
1773
|
+
const tx = new Transaction();
|
|
1570
1774
|
builder.updateValidatorNextEpochWorkerAddress(tx, args);
|
|
1571
1775
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1572
1776
|
transactionBlock: tx,
|
|
@@ -1576,7 +1780,7 @@ export var sui_system;
|
|
|
1576
1780
|
}
|
|
1577
1781
|
view.updateValidatorNextEpochWorkerAddress = updateValidatorNextEpochWorkerAddress;
|
|
1578
1782
|
async function updateValidatorNextEpochWorkerPubkey(client, args) {
|
|
1579
|
-
const tx = new
|
|
1783
|
+
const tx = new Transaction();
|
|
1580
1784
|
builder.updateValidatorNextEpochWorkerPubkey(tx, args);
|
|
1581
1785
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1582
1786
|
transactionBlock: tx,
|
|
@@ -1586,7 +1790,7 @@ export var sui_system;
|
|
|
1586
1790
|
}
|
|
1587
1791
|
view.updateValidatorNextEpochWorkerPubkey = updateValidatorNextEpochWorkerPubkey;
|
|
1588
1792
|
async function updateValidatorProjectUrl(client, args) {
|
|
1589
|
-
const tx = new
|
|
1793
|
+
const tx = new Transaction();
|
|
1590
1794
|
builder.updateValidatorProjectUrl(tx, args);
|
|
1591
1795
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1592
1796
|
transactionBlock: tx,
|
|
@@ -1595,6 +1799,16 @@ export var sui_system;
|
|
|
1595
1799
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
1596
1800
|
}
|
|
1597
1801
|
view.updateValidatorProjectUrl = updateValidatorProjectUrl;
|
|
1802
|
+
async function validatorAddressByPoolId(client, args) {
|
|
1803
|
+
const tx = new Transaction();
|
|
1804
|
+
builder.validatorAddressByPoolId(tx, args);
|
|
1805
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
1806
|
+
transactionBlock: tx,
|
|
1807
|
+
sender: ZERO_ADDRESS,
|
|
1808
|
+
});
|
|
1809
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
1810
|
+
}
|
|
1811
|
+
view.validatorAddressByPoolId = validatorAddressByPoolId;
|
|
1598
1812
|
})(view = sui_system.view || (sui_system.view = {}));
|
|
1599
1813
|
})(sui_system || (sui_system = {}));
|
|
1600
1814
|
export var sui_system_state_inner;
|
|
@@ -1685,6 +1899,17 @@ export var sui_system_state_inner;
|
|
|
1685
1899
|
});
|
|
1686
1900
|
}
|
|
1687
1901
|
builder.advanceEpoch = advanceEpoch;
|
|
1902
|
+
function convertToFungibleStakedSui(tx, args) {
|
|
1903
|
+
const _args = [];
|
|
1904
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
1905
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
1906
|
+
// @ts-ignore
|
|
1907
|
+
return tx.moveCall({
|
|
1908
|
+
target: "0x3::sui_system_state_inner::convert_to_fungible_staked_sui",
|
|
1909
|
+
arguments: _args,
|
|
1910
|
+
});
|
|
1911
|
+
}
|
|
1912
|
+
builder.convertToFungibleStakedSui = convertToFungibleStakedSui;
|
|
1688
1913
|
function create(tx, args) {
|
|
1689
1914
|
const _args = [];
|
|
1690
1915
|
_args.push(transactionArgumentOrVec(args[0], tx));
|
|
@@ -1797,6 +2022,17 @@ export var sui_system_state_inner;
|
|
|
1797
2022
|
});
|
|
1798
2023
|
}
|
|
1799
2024
|
builder.protocolVersion = protocolVersion;
|
|
2025
|
+
function redeemFungibleStakedSui(tx, args) {
|
|
2026
|
+
const _args = [];
|
|
2027
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
2028
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
2029
|
+
// @ts-ignore
|
|
2030
|
+
return tx.moveCall({
|
|
2031
|
+
target: "0x3::sui_system_state_inner::redeem_fungible_staked_sui",
|
|
2032
|
+
arguments: _args,
|
|
2033
|
+
});
|
|
2034
|
+
}
|
|
2035
|
+
builder.redeemFungibleStakedSui = redeemFungibleStakedSui;
|
|
1800
2036
|
function reportValidator(tx, args) {
|
|
1801
2037
|
const _args = [];
|
|
1802
2038
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -2187,6 +2423,17 @@ export var sui_system_state_inner;
|
|
|
2187
2423
|
});
|
|
2188
2424
|
}
|
|
2189
2425
|
builder.v1ToV2 = v1ToV2;
|
|
2426
|
+
function validatorAddressByPoolId(tx, args) {
|
|
2427
|
+
const _args = [];
|
|
2428
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
2429
|
+
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
2430
|
+
// @ts-ignore
|
|
2431
|
+
return tx.moveCall({
|
|
2432
|
+
target: "0x3::sui_system_state_inner::validator_address_by_pool_id",
|
|
2433
|
+
arguments: _args,
|
|
2434
|
+
});
|
|
2435
|
+
}
|
|
2436
|
+
builder.validatorAddressByPoolId = validatorAddressByPoolId;
|
|
2190
2437
|
function validatorStakeAmount(tx, args) {
|
|
2191
2438
|
const _args = [];
|
|
2192
2439
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -2223,7 +2470,7 @@ export var sui_system_state_inner;
|
|
|
2223
2470
|
let view;
|
|
2224
2471
|
(function (view) {
|
|
2225
2472
|
async function activeValidatorAddresses(client, args) {
|
|
2226
|
-
const tx = new
|
|
2473
|
+
const tx = new Transaction();
|
|
2227
2474
|
builder.activeValidatorAddresses(tx, args);
|
|
2228
2475
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2229
2476
|
transactionBlock: tx,
|
|
@@ -2233,7 +2480,7 @@ export var sui_system_state_inner;
|
|
|
2233
2480
|
}
|
|
2234
2481
|
view.activeValidatorAddresses = activeValidatorAddresses;
|
|
2235
2482
|
async function activeValidatorVotingPowers(client, args) {
|
|
2236
|
-
const tx = new
|
|
2483
|
+
const tx = new Transaction();
|
|
2237
2484
|
builder.activeValidatorVotingPowers(tx, args);
|
|
2238
2485
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2239
2486
|
transactionBlock: tx,
|
|
@@ -2243,7 +2490,7 @@ export var sui_system_state_inner;
|
|
|
2243
2490
|
}
|
|
2244
2491
|
view.activeValidatorVotingPowers = activeValidatorVotingPowers;
|
|
2245
2492
|
async function advanceEpoch(client, args) {
|
|
2246
|
-
const tx = new
|
|
2493
|
+
const tx = new Transaction();
|
|
2247
2494
|
builder.advanceEpoch(tx, args);
|
|
2248
2495
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2249
2496
|
transactionBlock: tx,
|
|
@@ -2252,8 +2499,18 @@ export var sui_system_state_inner;
|
|
|
2252
2499
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
2253
2500
|
}
|
|
2254
2501
|
view.advanceEpoch = advanceEpoch;
|
|
2502
|
+
async function convertToFungibleStakedSui(client, args) {
|
|
2503
|
+
const tx = new Transaction();
|
|
2504
|
+
builder.convertToFungibleStakedSui(tx, args);
|
|
2505
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2506
|
+
transactionBlock: tx,
|
|
2507
|
+
sender: ZERO_ADDRESS,
|
|
2508
|
+
});
|
|
2509
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
2510
|
+
}
|
|
2511
|
+
view.convertToFungibleStakedSui = convertToFungibleStakedSui;
|
|
2255
2512
|
async function create(client, args) {
|
|
2256
|
-
const tx = new
|
|
2513
|
+
const tx = new Transaction();
|
|
2257
2514
|
builder.create(tx, args);
|
|
2258
2515
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2259
2516
|
transactionBlock: tx,
|
|
@@ -2263,7 +2520,7 @@ export var sui_system_state_inner;
|
|
|
2263
2520
|
}
|
|
2264
2521
|
view.create = create;
|
|
2265
2522
|
async function createSystemParameters(client, args) {
|
|
2266
|
-
const tx = new
|
|
2523
|
+
const tx = new Transaction();
|
|
2267
2524
|
builder.createSystemParameters(tx, args);
|
|
2268
2525
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2269
2526
|
transactionBlock: tx,
|
|
@@ -2273,7 +2530,7 @@ export var sui_system_state_inner;
|
|
|
2273
2530
|
}
|
|
2274
2531
|
view.createSystemParameters = createSystemParameters;
|
|
2275
2532
|
async function epoch(client, args) {
|
|
2276
|
-
const tx = new
|
|
2533
|
+
const tx = new Transaction();
|
|
2277
2534
|
builder.epoch(tx, args);
|
|
2278
2535
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2279
2536
|
transactionBlock: tx,
|
|
@@ -2283,7 +2540,7 @@ export var sui_system_state_inner;
|
|
|
2283
2540
|
}
|
|
2284
2541
|
view.epoch = epoch;
|
|
2285
2542
|
async function epochStartTimestampMs(client, args) {
|
|
2286
|
-
const tx = new
|
|
2543
|
+
const tx = new Transaction();
|
|
2287
2544
|
builder.epochStartTimestampMs(tx, args);
|
|
2288
2545
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2289
2546
|
transactionBlock: tx,
|
|
@@ -2293,7 +2550,7 @@ export var sui_system_state_inner;
|
|
|
2293
2550
|
}
|
|
2294
2551
|
view.epochStartTimestampMs = epochStartTimestampMs;
|
|
2295
2552
|
async function genesisSystemStateVersion(client, args) {
|
|
2296
|
-
const tx = new
|
|
2553
|
+
const tx = new Transaction();
|
|
2297
2554
|
builder.genesisSystemStateVersion(tx, args);
|
|
2298
2555
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2299
2556
|
transactionBlock: tx,
|
|
@@ -2303,7 +2560,7 @@ export var sui_system_state_inner;
|
|
|
2303
2560
|
}
|
|
2304
2561
|
view.genesisSystemStateVersion = genesisSystemStateVersion;
|
|
2305
2562
|
async function getReportersOf(client, args) {
|
|
2306
|
-
const tx = new
|
|
2563
|
+
const tx = new Transaction();
|
|
2307
2564
|
builder.getReportersOf(tx, args);
|
|
2308
2565
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2309
2566
|
transactionBlock: tx,
|
|
@@ -2313,7 +2570,7 @@ export var sui_system_state_inner;
|
|
|
2313
2570
|
}
|
|
2314
2571
|
view.getReportersOf = getReportersOf;
|
|
2315
2572
|
async function getStorageFundObjectRebates(client, args) {
|
|
2316
|
-
const tx = new
|
|
2573
|
+
const tx = new Transaction();
|
|
2317
2574
|
builder.getStorageFundObjectRebates(tx, args);
|
|
2318
2575
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2319
2576
|
transactionBlock: tx,
|
|
@@ -2323,7 +2580,7 @@ export var sui_system_state_inner;
|
|
|
2323
2580
|
}
|
|
2324
2581
|
view.getStorageFundObjectRebates = getStorageFundObjectRebates;
|
|
2325
2582
|
async function getStorageFundTotalBalance(client, args) {
|
|
2326
|
-
const tx = new
|
|
2583
|
+
const tx = new Transaction();
|
|
2327
2584
|
builder.getStorageFundTotalBalance(tx, args);
|
|
2328
2585
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2329
2586
|
transactionBlock: tx,
|
|
@@ -2333,7 +2590,7 @@ export var sui_system_state_inner;
|
|
|
2333
2590
|
}
|
|
2334
2591
|
view.getStorageFundTotalBalance = getStorageFundTotalBalance;
|
|
2335
2592
|
async function poolExchangeRates(client, args) {
|
|
2336
|
-
const tx = new
|
|
2593
|
+
const tx = new Transaction();
|
|
2337
2594
|
builder.poolExchangeRates(tx, args);
|
|
2338
2595
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2339
2596
|
transactionBlock: tx,
|
|
@@ -2343,7 +2600,7 @@ export var sui_system_state_inner;
|
|
|
2343
2600
|
}
|
|
2344
2601
|
view.poolExchangeRates = poolExchangeRates;
|
|
2345
2602
|
async function protocolVersion(client, args) {
|
|
2346
|
-
const tx = new
|
|
2603
|
+
const tx = new Transaction();
|
|
2347
2604
|
builder.protocolVersion(tx, args);
|
|
2348
2605
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2349
2606
|
transactionBlock: tx,
|
|
@@ -2352,8 +2609,18 @@ export var sui_system_state_inner;
|
|
|
2352
2609
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
2353
2610
|
}
|
|
2354
2611
|
view.protocolVersion = protocolVersion;
|
|
2612
|
+
async function redeemFungibleStakedSui(client, args) {
|
|
2613
|
+
const tx = new Transaction();
|
|
2614
|
+
builder.redeemFungibleStakedSui(tx, args);
|
|
2615
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2616
|
+
transactionBlock: tx,
|
|
2617
|
+
sender: ZERO_ADDRESS,
|
|
2618
|
+
});
|
|
2619
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
2620
|
+
}
|
|
2621
|
+
view.redeemFungibleStakedSui = redeemFungibleStakedSui;
|
|
2355
2622
|
async function reportValidator(client, args) {
|
|
2356
|
-
const tx = new
|
|
2623
|
+
const tx = new Transaction();
|
|
2357
2624
|
builder.reportValidator(tx, args);
|
|
2358
2625
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2359
2626
|
transactionBlock: tx,
|
|
@@ -2363,7 +2630,7 @@ export var sui_system_state_inner;
|
|
|
2363
2630
|
}
|
|
2364
2631
|
view.reportValidator = reportValidator;
|
|
2365
2632
|
async function requestAddStake(client, args) {
|
|
2366
|
-
const tx = new
|
|
2633
|
+
const tx = new Transaction();
|
|
2367
2634
|
builder.requestAddStake(tx, args);
|
|
2368
2635
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2369
2636
|
transactionBlock: tx,
|
|
@@ -2373,7 +2640,7 @@ export var sui_system_state_inner;
|
|
|
2373
2640
|
}
|
|
2374
2641
|
view.requestAddStake = requestAddStake;
|
|
2375
2642
|
async function requestAddStakeMulCoin(client, args) {
|
|
2376
|
-
const tx = new
|
|
2643
|
+
const tx = new Transaction();
|
|
2377
2644
|
builder.requestAddStakeMulCoin(tx, args);
|
|
2378
2645
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2379
2646
|
transactionBlock: tx,
|
|
@@ -2383,7 +2650,7 @@ export var sui_system_state_inner;
|
|
|
2383
2650
|
}
|
|
2384
2651
|
view.requestAddStakeMulCoin = requestAddStakeMulCoin;
|
|
2385
2652
|
async function requestAddValidator(client, args) {
|
|
2386
|
-
const tx = new
|
|
2653
|
+
const tx = new Transaction();
|
|
2387
2654
|
builder.requestAddValidator(tx, args);
|
|
2388
2655
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2389
2656
|
transactionBlock: tx,
|
|
@@ -2393,7 +2660,7 @@ export var sui_system_state_inner;
|
|
|
2393
2660
|
}
|
|
2394
2661
|
view.requestAddValidator = requestAddValidator;
|
|
2395
2662
|
async function requestAddValidatorCandidate(client, args) {
|
|
2396
|
-
const tx = new
|
|
2663
|
+
const tx = new Transaction();
|
|
2397
2664
|
builder.requestAddValidatorCandidate(tx, args);
|
|
2398
2665
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2399
2666
|
transactionBlock: tx,
|
|
@@ -2403,7 +2670,7 @@ export var sui_system_state_inner;
|
|
|
2403
2670
|
}
|
|
2404
2671
|
view.requestAddValidatorCandidate = requestAddValidatorCandidate;
|
|
2405
2672
|
async function requestRemoveValidator(client, args) {
|
|
2406
|
-
const tx = new
|
|
2673
|
+
const tx = new Transaction();
|
|
2407
2674
|
builder.requestRemoveValidator(tx, args);
|
|
2408
2675
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2409
2676
|
transactionBlock: tx,
|
|
@@ -2413,7 +2680,7 @@ export var sui_system_state_inner;
|
|
|
2413
2680
|
}
|
|
2414
2681
|
view.requestRemoveValidator = requestRemoveValidator;
|
|
2415
2682
|
async function requestRemoveValidatorCandidate(client, args) {
|
|
2416
|
-
const tx = new
|
|
2683
|
+
const tx = new Transaction();
|
|
2417
2684
|
builder.requestRemoveValidatorCandidate(tx, args);
|
|
2418
2685
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2419
2686
|
transactionBlock: tx,
|
|
@@ -2423,7 +2690,7 @@ export var sui_system_state_inner;
|
|
|
2423
2690
|
}
|
|
2424
2691
|
view.requestRemoveValidatorCandidate = requestRemoveValidatorCandidate;
|
|
2425
2692
|
async function requestSetCommissionRate(client, args) {
|
|
2426
|
-
const tx = new
|
|
2693
|
+
const tx = new Transaction();
|
|
2427
2694
|
builder.requestSetCommissionRate(tx, args);
|
|
2428
2695
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2429
2696
|
transactionBlock: tx,
|
|
@@ -2433,7 +2700,7 @@ export var sui_system_state_inner;
|
|
|
2433
2700
|
}
|
|
2434
2701
|
view.requestSetCommissionRate = requestSetCommissionRate;
|
|
2435
2702
|
async function requestSetGasPrice(client, args) {
|
|
2436
|
-
const tx = new
|
|
2703
|
+
const tx = new Transaction();
|
|
2437
2704
|
builder.requestSetGasPrice(tx, args);
|
|
2438
2705
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2439
2706
|
transactionBlock: tx,
|
|
@@ -2443,7 +2710,7 @@ export var sui_system_state_inner;
|
|
|
2443
2710
|
}
|
|
2444
2711
|
view.requestSetGasPrice = requestSetGasPrice;
|
|
2445
2712
|
async function requestWithdrawStake(client, args) {
|
|
2446
|
-
const tx = new
|
|
2713
|
+
const tx = new Transaction();
|
|
2447
2714
|
builder.requestWithdrawStake(tx, args);
|
|
2448
2715
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2449
2716
|
transactionBlock: tx,
|
|
@@ -2453,7 +2720,7 @@ export var sui_system_state_inner;
|
|
|
2453
2720
|
}
|
|
2454
2721
|
view.requestWithdrawStake = requestWithdrawStake;
|
|
2455
2722
|
async function rotateOperationCap(client, args) {
|
|
2456
|
-
const tx = new
|
|
2723
|
+
const tx = new Transaction();
|
|
2457
2724
|
builder.rotateOperationCap(tx, args);
|
|
2458
2725
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2459
2726
|
transactionBlock: tx,
|
|
@@ -2463,7 +2730,7 @@ export var sui_system_state_inner;
|
|
|
2463
2730
|
}
|
|
2464
2731
|
view.rotateOperationCap = rotateOperationCap;
|
|
2465
2732
|
async function setCandidateValidatorCommissionRate(client, args) {
|
|
2466
|
-
const tx = new
|
|
2733
|
+
const tx = new Transaction();
|
|
2467
2734
|
builder.setCandidateValidatorCommissionRate(tx, args);
|
|
2468
2735
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2469
2736
|
transactionBlock: tx,
|
|
@@ -2473,7 +2740,7 @@ export var sui_system_state_inner;
|
|
|
2473
2740
|
}
|
|
2474
2741
|
view.setCandidateValidatorCommissionRate = setCandidateValidatorCommissionRate;
|
|
2475
2742
|
async function setCandidateValidatorGasPrice(client, args) {
|
|
2476
|
-
const tx = new
|
|
2743
|
+
const tx = new Transaction();
|
|
2477
2744
|
builder.setCandidateValidatorGasPrice(tx, args);
|
|
2478
2745
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2479
2746
|
transactionBlock: tx,
|
|
@@ -2483,7 +2750,7 @@ export var sui_system_state_inner;
|
|
|
2483
2750
|
}
|
|
2484
2751
|
view.setCandidateValidatorGasPrice = setCandidateValidatorGasPrice;
|
|
2485
2752
|
async function systemStateVersion(client, args) {
|
|
2486
|
-
const tx = new
|
|
2753
|
+
const tx = new Transaction();
|
|
2487
2754
|
builder.systemStateVersion(tx, args);
|
|
2488
2755
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2489
2756
|
transactionBlock: tx,
|
|
@@ -2493,7 +2760,7 @@ export var sui_system_state_inner;
|
|
|
2493
2760
|
}
|
|
2494
2761
|
view.systemStateVersion = systemStateVersion;
|
|
2495
2762
|
async function undoReportValidator(client, args) {
|
|
2496
|
-
const tx = new
|
|
2763
|
+
const tx = new Transaction();
|
|
2497
2764
|
builder.undoReportValidator(tx, args);
|
|
2498
2765
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2499
2766
|
transactionBlock: tx,
|
|
@@ -2503,7 +2770,7 @@ export var sui_system_state_inner;
|
|
|
2503
2770
|
}
|
|
2504
2771
|
view.undoReportValidator = undoReportValidator;
|
|
2505
2772
|
async function updateCandidateValidatorNetworkAddress(client, args) {
|
|
2506
|
-
const tx = new
|
|
2773
|
+
const tx = new Transaction();
|
|
2507
2774
|
builder.updateCandidateValidatorNetworkAddress(tx, args);
|
|
2508
2775
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2509
2776
|
transactionBlock: tx,
|
|
@@ -2513,7 +2780,7 @@ export var sui_system_state_inner;
|
|
|
2513
2780
|
}
|
|
2514
2781
|
view.updateCandidateValidatorNetworkAddress = updateCandidateValidatorNetworkAddress;
|
|
2515
2782
|
async function updateCandidateValidatorNetworkPubkey(client, args) {
|
|
2516
|
-
const tx = new
|
|
2783
|
+
const tx = new Transaction();
|
|
2517
2784
|
builder.updateCandidateValidatorNetworkPubkey(tx, args);
|
|
2518
2785
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2519
2786
|
transactionBlock: tx,
|
|
@@ -2523,7 +2790,7 @@ export var sui_system_state_inner;
|
|
|
2523
2790
|
}
|
|
2524
2791
|
view.updateCandidateValidatorNetworkPubkey = updateCandidateValidatorNetworkPubkey;
|
|
2525
2792
|
async function updateCandidateValidatorP2pAddress(client, args) {
|
|
2526
|
-
const tx = new
|
|
2793
|
+
const tx = new Transaction();
|
|
2527
2794
|
builder.updateCandidateValidatorP2pAddress(tx, args);
|
|
2528
2795
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2529
2796
|
transactionBlock: tx,
|
|
@@ -2533,7 +2800,7 @@ export var sui_system_state_inner;
|
|
|
2533
2800
|
}
|
|
2534
2801
|
view.updateCandidateValidatorP2pAddress = updateCandidateValidatorP2pAddress;
|
|
2535
2802
|
async function updateCandidateValidatorPrimaryAddress(client, args) {
|
|
2536
|
-
const tx = new
|
|
2803
|
+
const tx = new Transaction();
|
|
2537
2804
|
builder.updateCandidateValidatorPrimaryAddress(tx, args);
|
|
2538
2805
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2539
2806
|
transactionBlock: tx,
|
|
@@ -2543,7 +2810,7 @@ export var sui_system_state_inner;
|
|
|
2543
2810
|
}
|
|
2544
2811
|
view.updateCandidateValidatorPrimaryAddress = updateCandidateValidatorPrimaryAddress;
|
|
2545
2812
|
async function updateCandidateValidatorProtocolPubkey(client, args) {
|
|
2546
|
-
const tx = new
|
|
2813
|
+
const tx = new Transaction();
|
|
2547
2814
|
builder.updateCandidateValidatorProtocolPubkey(tx, args);
|
|
2548
2815
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2549
2816
|
transactionBlock: tx,
|
|
@@ -2553,7 +2820,7 @@ export var sui_system_state_inner;
|
|
|
2553
2820
|
}
|
|
2554
2821
|
view.updateCandidateValidatorProtocolPubkey = updateCandidateValidatorProtocolPubkey;
|
|
2555
2822
|
async function updateCandidateValidatorWorkerAddress(client, args) {
|
|
2556
|
-
const tx = new
|
|
2823
|
+
const tx = new Transaction();
|
|
2557
2824
|
builder.updateCandidateValidatorWorkerAddress(tx, args);
|
|
2558
2825
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2559
2826
|
transactionBlock: tx,
|
|
@@ -2563,7 +2830,7 @@ export var sui_system_state_inner;
|
|
|
2563
2830
|
}
|
|
2564
2831
|
view.updateCandidateValidatorWorkerAddress = updateCandidateValidatorWorkerAddress;
|
|
2565
2832
|
async function updateCandidateValidatorWorkerPubkey(client, args) {
|
|
2566
|
-
const tx = new
|
|
2833
|
+
const tx = new Transaction();
|
|
2567
2834
|
builder.updateCandidateValidatorWorkerPubkey(tx, args);
|
|
2568
2835
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2569
2836
|
transactionBlock: tx,
|
|
@@ -2573,7 +2840,7 @@ export var sui_system_state_inner;
|
|
|
2573
2840
|
}
|
|
2574
2841
|
view.updateCandidateValidatorWorkerPubkey = updateCandidateValidatorWorkerPubkey;
|
|
2575
2842
|
async function updateValidatorDescription(client, args) {
|
|
2576
|
-
const tx = new
|
|
2843
|
+
const tx = new Transaction();
|
|
2577
2844
|
builder.updateValidatorDescription(tx, args);
|
|
2578
2845
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2579
2846
|
transactionBlock: tx,
|
|
@@ -2583,7 +2850,7 @@ export var sui_system_state_inner;
|
|
|
2583
2850
|
}
|
|
2584
2851
|
view.updateValidatorDescription = updateValidatorDescription;
|
|
2585
2852
|
async function updateValidatorImageUrl(client, args) {
|
|
2586
|
-
const tx = new
|
|
2853
|
+
const tx = new Transaction();
|
|
2587
2854
|
builder.updateValidatorImageUrl(tx, args);
|
|
2588
2855
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2589
2856
|
transactionBlock: tx,
|
|
@@ -2593,7 +2860,7 @@ export var sui_system_state_inner;
|
|
|
2593
2860
|
}
|
|
2594
2861
|
view.updateValidatorImageUrl = updateValidatorImageUrl;
|
|
2595
2862
|
async function updateValidatorName(client, args) {
|
|
2596
|
-
const tx = new
|
|
2863
|
+
const tx = new Transaction();
|
|
2597
2864
|
builder.updateValidatorName(tx, args);
|
|
2598
2865
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2599
2866
|
transactionBlock: tx,
|
|
@@ -2603,7 +2870,7 @@ export var sui_system_state_inner;
|
|
|
2603
2870
|
}
|
|
2604
2871
|
view.updateValidatorName = updateValidatorName;
|
|
2605
2872
|
async function updateValidatorNextEpochNetworkAddress(client, args) {
|
|
2606
|
-
const tx = new
|
|
2873
|
+
const tx = new Transaction();
|
|
2607
2874
|
builder.updateValidatorNextEpochNetworkAddress(tx, args);
|
|
2608
2875
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2609
2876
|
transactionBlock: tx,
|
|
@@ -2613,7 +2880,7 @@ export var sui_system_state_inner;
|
|
|
2613
2880
|
}
|
|
2614
2881
|
view.updateValidatorNextEpochNetworkAddress = updateValidatorNextEpochNetworkAddress;
|
|
2615
2882
|
async function updateValidatorNextEpochNetworkPubkey(client, args) {
|
|
2616
|
-
const tx = new
|
|
2883
|
+
const tx = new Transaction();
|
|
2617
2884
|
builder.updateValidatorNextEpochNetworkPubkey(tx, args);
|
|
2618
2885
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2619
2886
|
transactionBlock: tx,
|
|
@@ -2623,7 +2890,7 @@ export var sui_system_state_inner;
|
|
|
2623
2890
|
}
|
|
2624
2891
|
view.updateValidatorNextEpochNetworkPubkey = updateValidatorNextEpochNetworkPubkey;
|
|
2625
2892
|
async function updateValidatorNextEpochP2pAddress(client, args) {
|
|
2626
|
-
const tx = new
|
|
2893
|
+
const tx = new Transaction();
|
|
2627
2894
|
builder.updateValidatorNextEpochP2pAddress(tx, args);
|
|
2628
2895
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2629
2896
|
transactionBlock: tx,
|
|
@@ -2633,7 +2900,7 @@ export var sui_system_state_inner;
|
|
|
2633
2900
|
}
|
|
2634
2901
|
view.updateValidatorNextEpochP2pAddress = updateValidatorNextEpochP2pAddress;
|
|
2635
2902
|
async function updateValidatorNextEpochPrimaryAddress(client, args) {
|
|
2636
|
-
const tx = new
|
|
2903
|
+
const tx = new Transaction();
|
|
2637
2904
|
builder.updateValidatorNextEpochPrimaryAddress(tx, args);
|
|
2638
2905
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2639
2906
|
transactionBlock: tx,
|
|
@@ -2643,7 +2910,7 @@ export var sui_system_state_inner;
|
|
|
2643
2910
|
}
|
|
2644
2911
|
view.updateValidatorNextEpochPrimaryAddress = updateValidatorNextEpochPrimaryAddress;
|
|
2645
2912
|
async function updateValidatorNextEpochProtocolPubkey(client, args) {
|
|
2646
|
-
const tx = new
|
|
2913
|
+
const tx = new Transaction();
|
|
2647
2914
|
builder.updateValidatorNextEpochProtocolPubkey(tx, args);
|
|
2648
2915
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2649
2916
|
transactionBlock: tx,
|
|
@@ -2653,7 +2920,7 @@ export var sui_system_state_inner;
|
|
|
2653
2920
|
}
|
|
2654
2921
|
view.updateValidatorNextEpochProtocolPubkey = updateValidatorNextEpochProtocolPubkey;
|
|
2655
2922
|
async function updateValidatorNextEpochWorkerAddress(client, args) {
|
|
2656
|
-
const tx = new
|
|
2923
|
+
const tx = new Transaction();
|
|
2657
2924
|
builder.updateValidatorNextEpochWorkerAddress(tx, args);
|
|
2658
2925
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2659
2926
|
transactionBlock: tx,
|
|
@@ -2663,7 +2930,7 @@ export var sui_system_state_inner;
|
|
|
2663
2930
|
}
|
|
2664
2931
|
view.updateValidatorNextEpochWorkerAddress = updateValidatorNextEpochWorkerAddress;
|
|
2665
2932
|
async function updateValidatorNextEpochWorkerPubkey(client, args) {
|
|
2666
|
-
const tx = new
|
|
2933
|
+
const tx = new Transaction();
|
|
2667
2934
|
builder.updateValidatorNextEpochWorkerPubkey(tx, args);
|
|
2668
2935
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2669
2936
|
transactionBlock: tx,
|
|
@@ -2673,7 +2940,7 @@ export var sui_system_state_inner;
|
|
|
2673
2940
|
}
|
|
2674
2941
|
view.updateValidatorNextEpochWorkerPubkey = updateValidatorNextEpochWorkerPubkey;
|
|
2675
2942
|
async function updateValidatorProjectUrl(client, args) {
|
|
2676
|
-
const tx = new
|
|
2943
|
+
const tx = new Transaction();
|
|
2677
2944
|
builder.updateValidatorProjectUrl(tx, args);
|
|
2678
2945
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2679
2946
|
transactionBlock: tx,
|
|
@@ -2683,7 +2950,7 @@ export var sui_system_state_inner;
|
|
|
2683
2950
|
}
|
|
2684
2951
|
view.updateValidatorProjectUrl = updateValidatorProjectUrl;
|
|
2685
2952
|
async function v1ToV2(client, args) {
|
|
2686
|
-
const tx = new
|
|
2953
|
+
const tx = new Transaction();
|
|
2687
2954
|
builder.v1ToV2(tx, args);
|
|
2688
2955
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2689
2956
|
transactionBlock: tx,
|
|
@@ -2692,8 +2959,18 @@ export var sui_system_state_inner;
|
|
|
2692
2959
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
2693
2960
|
}
|
|
2694
2961
|
view.v1ToV2 = v1ToV2;
|
|
2962
|
+
async function validatorAddressByPoolId(client, args) {
|
|
2963
|
+
const tx = new Transaction();
|
|
2964
|
+
builder.validatorAddressByPoolId(tx, args);
|
|
2965
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
2966
|
+
transactionBlock: tx,
|
|
2967
|
+
sender: ZERO_ADDRESS,
|
|
2968
|
+
});
|
|
2969
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
2970
|
+
}
|
|
2971
|
+
view.validatorAddressByPoolId = validatorAddressByPoolId;
|
|
2695
2972
|
async function validatorStakeAmount(client, args) {
|
|
2696
|
-
const tx = new
|
|
2973
|
+
const tx = new Transaction();
|
|
2697
2974
|
builder.validatorStakeAmount(tx, args);
|
|
2698
2975
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2699
2976
|
transactionBlock: tx,
|
|
@@ -2703,7 +2980,7 @@ export var sui_system_state_inner;
|
|
|
2703
2980
|
}
|
|
2704
2981
|
view.validatorStakeAmount = validatorStakeAmount;
|
|
2705
2982
|
async function validatorStakingPoolId(client, args) {
|
|
2706
|
-
const tx = new
|
|
2983
|
+
const tx = new Transaction();
|
|
2707
2984
|
builder.validatorStakingPoolId(tx, args);
|
|
2708
2985
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2709
2986
|
transactionBlock: tx,
|
|
@@ -2713,7 +2990,7 @@ export var sui_system_state_inner;
|
|
|
2713
2990
|
}
|
|
2714
2991
|
view.validatorStakingPoolId = validatorStakingPoolId;
|
|
2715
2992
|
async function validatorStakingPoolMappings(client, args) {
|
|
2716
|
-
const tx = new
|
|
2993
|
+
const tx = new Transaction();
|
|
2717
2994
|
builder.validatorStakingPoolMappings(tx, args);
|
|
2718
2995
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2719
2996
|
transactionBlock: tx,
|
|
@@ -2726,6 +3003,24 @@ export var sui_system_state_inner;
|
|
|
2726
3003
|
})(sui_system_state_inner || (sui_system_state_inner = {}));
|
|
2727
3004
|
export var validator;
|
|
2728
3005
|
(function (validator) {
|
|
3006
|
+
let ConvertingToFungibleStakedSuiEvent;
|
|
3007
|
+
(function (ConvertingToFungibleStakedSuiEvent) {
|
|
3008
|
+
ConvertingToFungibleStakedSuiEvent.TYPE_QNAME = "0x3::validator::ConvertingToFungibleStakedSuiEvent";
|
|
3009
|
+
const TYPE = new TypeDescriptor(ConvertingToFungibleStakedSuiEvent.TYPE_QNAME);
|
|
3010
|
+
function type() {
|
|
3011
|
+
return TYPE.apply();
|
|
3012
|
+
}
|
|
3013
|
+
ConvertingToFungibleStakedSuiEvent.type = type;
|
|
3014
|
+
})(ConvertingToFungibleStakedSuiEvent = validator.ConvertingToFungibleStakedSuiEvent || (validator.ConvertingToFungibleStakedSuiEvent = {}));
|
|
3015
|
+
let RedeemingFungibleStakedSuiEvent;
|
|
3016
|
+
(function (RedeemingFungibleStakedSuiEvent) {
|
|
3017
|
+
RedeemingFungibleStakedSuiEvent.TYPE_QNAME = "0x3::validator::RedeemingFungibleStakedSuiEvent";
|
|
3018
|
+
const TYPE = new TypeDescriptor(RedeemingFungibleStakedSuiEvent.TYPE_QNAME);
|
|
3019
|
+
function type() {
|
|
3020
|
+
return TYPE.apply();
|
|
3021
|
+
}
|
|
3022
|
+
RedeemingFungibleStakedSuiEvent.type = type;
|
|
3023
|
+
})(RedeemingFungibleStakedSuiEvent = validator.RedeemingFungibleStakedSuiEvent || (validator.RedeemingFungibleStakedSuiEvent = {}));
|
|
2729
3024
|
let StakingRequestEvent;
|
|
2730
3025
|
(function (StakingRequestEvent) {
|
|
2731
3026
|
StakingRequestEvent.TYPE_QNAME = "0x3::validator::StakingRequestEvent";
|
|
@@ -2795,6 +3090,17 @@ export var validator;
|
|
|
2795
3090
|
});
|
|
2796
3091
|
}
|
|
2797
3092
|
builder.commissionRate = commissionRate;
|
|
3093
|
+
function convertToFungibleStakedSui(tx, args) {
|
|
3094
|
+
const _args = [];
|
|
3095
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
3096
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
3097
|
+
// @ts-ignore
|
|
3098
|
+
return tx.moveCall({
|
|
3099
|
+
target: "0x3::validator::convert_to_fungible_staked_sui",
|
|
3100
|
+
arguments: _args,
|
|
3101
|
+
});
|
|
3102
|
+
}
|
|
3103
|
+
builder.convertToFungibleStakedSui = convertToFungibleStakedSui;
|
|
2798
3104
|
function deactivate(tx, args) {
|
|
2799
3105
|
const _args = [];
|
|
2800
3106
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -3176,6 +3482,17 @@ export var validator;
|
|
|
3176
3482
|
});
|
|
3177
3483
|
}
|
|
3178
3484
|
builder.protocolPubkeyBytes = protocolPubkeyBytes;
|
|
3485
|
+
function redeemFungibleStakedSui(tx, args) {
|
|
3486
|
+
const _args = [];
|
|
3487
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
3488
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
3489
|
+
// @ts-ignore
|
|
3490
|
+
return tx.moveCall({
|
|
3491
|
+
target: "0x3::validator::redeem_fungible_staked_sui",
|
|
3492
|
+
arguments: _args,
|
|
3493
|
+
});
|
|
3494
|
+
}
|
|
3495
|
+
builder.redeemFungibleStakedSui = redeemFungibleStakedSui;
|
|
3179
3496
|
function requestAddStake(tx, args) {
|
|
3180
3497
|
const _args = [];
|
|
3181
3498
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -3572,7 +3889,7 @@ export var validator;
|
|
|
3572
3889
|
let view;
|
|
3573
3890
|
(function (view) {
|
|
3574
3891
|
async function activate(client, args) {
|
|
3575
|
-
const tx = new
|
|
3892
|
+
const tx = new Transaction();
|
|
3576
3893
|
builder.activate(tx, args);
|
|
3577
3894
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3578
3895
|
transactionBlock: tx,
|
|
@@ -3582,7 +3899,7 @@ export var validator;
|
|
|
3582
3899
|
}
|
|
3583
3900
|
view.activate = activate;
|
|
3584
3901
|
async function adjustStakeAndGasPrice(client, args) {
|
|
3585
|
-
const tx = new
|
|
3902
|
+
const tx = new Transaction();
|
|
3586
3903
|
builder.adjustStakeAndGasPrice(tx, args);
|
|
3587
3904
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3588
3905
|
transactionBlock: tx,
|
|
@@ -3592,7 +3909,7 @@ export var validator;
|
|
|
3592
3909
|
}
|
|
3593
3910
|
view.adjustStakeAndGasPrice = adjustStakeAndGasPrice;
|
|
3594
3911
|
async function commissionRate(client, args) {
|
|
3595
|
-
const tx = new
|
|
3912
|
+
const tx = new Transaction();
|
|
3596
3913
|
builder.commissionRate(tx, args);
|
|
3597
3914
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3598
3915
|
transactionBlock: tx,
|
|
@@ -3601,8 +3918,18 @@ export var validator;
|
|
|
3601
3918
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
3602
3919
|
}
|
|
3603
3920
|
view.commissionRate = commissionRate;
|
|
3921
|
+
async function convertToFungibleStakedSui(client, args) {
|
|
3922
|
+
const tx = new Transaction();
|
|
3923
|
+
builder.convertToFungibleStakedSui(tx, args);
|
|
3924
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
3925
|
+
transactionBlock: tx,
|
|
3926
|
+
sender: ZERO_ADDRESS,
|
|
3927
|
+
});
|
|
3928
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
3929
|
+
}
|
|
3930
|
+
view.convertToFungibleStakedSui = convertToFungibleStakedSui;
|
|
3604
3931
|
async function deactivate(client, args) {
|
|
3605
|
-
const tx = new
|
|
3932
|
+
const tx = new Transaction();
|
|
3606
3933
|
builder.deactivate(tx, args);
|
|
3607
3934
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3608
3935
|
transactionBlock: tx,
|
|
@@ -3612,7 +3939,7 @@ export var validator;
|
|
|
3612
3939
|
}
|
|
3613
3940
|
view.deactivate = deactivate;
|
|
3614
3941
|
async function depositStakeRewards(client, args) {
|
|
3615
|
-
const tx = new
|
|
3942
|
+
const tx = new Transaction();
|
|
3616
3943
|
builder.depositStakeRewards(tx, args);
|
|
3617
3944
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3618
3945
|
transactionBlock: tx,
|
|
@@ -3622,7 +3949,7 @@ export var validator;
|
|
|
3622
3949
|
}
|
|
3623
3950
|
view.depositStakeRewards = depositStakeRewards;
|
|
3624
3951
|
async function description(client, args) {
|
|
3625
|
-
const tx = new
|
|
3952
|
+
const tx = new Transaction();
|
|
3626
3953
|
builder.description(tx, args);
|
|
3627
3954
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3628
3955
|
transactionBlock: tx,
|
|
@@ -3632,7 +3959,7 @@ export var validator;
|
|
|
3632
3959
|
}
|
|
3633
3960
|
view.description = description;
|
|
3634
3961
|
async function effectuateStagedMetadata(client, args) {
|
|
3635
|
-
const tx = new
|
|
3962
|
+
const tx = new Transaction();
|
|
3636
3963
|
builder.effectuateStagedMetadata(tx, args);
|
|
3637
3964
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3638
3965
|
transactionBlock: tx,
|
|
@@ -3642,7 +3969,7 @@ export var validator;
|
|
|
3642
3969
|
}
|
|
3643
3970
|
view.effectuateStagedMetadata = effectuateStagedMetadata;
|
|
3644
3971
|
async function gasPrice(client, args) {
|
|
3645
|
-
const tx = new
|
|
3972
|
+
const tx = new Transaction();
|
|
3646
3973
|
builder.gasPrice(tx, args);
|
|
3647
3974
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3648
3975
|
transactionBlock: tx,
|
|
@@ -3652,7 +3979,7 @@ export var validator;
|
|
|
3652
3979
|
}
|
|
3653
3980
|
view.gasPrice = gasPrice;
|
|
3654
3981
|
async function getStakingPoolRef(client, args) {
|
|
3655
|
-
const tx = new
|
|
3982
|
+
const tx = new Transaction();
|
|
3656
3983
|
builder.getStakingPoolRef(tx, args);
|
|
3657
3984
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3658
3985
|
transactionBlock: tx,
|
|
@@ -3662,7 +3989,7 @@ export var validator;
|
|
|
3662
3989
|
}
|
|
3663
3990
|
view.getStakingPoolRef = getStakingPoolRef;
|
|
3664
3991
|
async function imageUrl(client, args) {
|
|
3665
|
-
const tx = new
|
|
3992
|
+
const tx = new Transaction();
|
|
3666
3993
|
builder.imageUrl(tx, args);
|
|
3667
3994
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3668
3995
|
transactionBlock: tx,
|
|
@@ -3672,7 +3999,7 @@ export var validator;
|
|
|
3672
3999
|
}
|
|
3673
4000
|
view.imageUrl = imageUrl;
|
|
3674
4001
|
async function isDuplicate(client, args) {
|
|
3675
|
-
const tx = new
|
|
4002
|
+
const tx = new Transaction();
|
|
3676
4003
|
builder.isDuplicate(tx, args);
|
|
3677
4004
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3678
4005
|
transactionBlock: tx,
|
|
@@ -3682,7 +4009,7 @@ export var validator;
|
|
|
3682
4009
|
}
|
|
3683
4010
|
view.isDuplicate = isDuplicate;
|
|
3684
4011
|
async function isPreactive(client, args) {
|
|
3685
|
-
const tx = new
|
|
4012
|
+
const tx = new Transaction();
|
|
3686
4013
|
builder.isPreactive(tx, args);
|
|
3687
4014
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3688
4015
|
transactionBlock: tx,
|
|
@@ -3692,7 +4019,7 @@ export var validator;
|
|
|
3692
4019
|
}
|
|
3693
4020
|
view.isPreactive = isPreactive;
|
|
3694
4021
|
async function metadata(client, args) {
|
|
3695
|
-
const tx = new
|
|
4022
|
+
const tx = new Transaction();
|
|
3696
4023
|
builder.metadata(tx, args);
|
|
3697
4024
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3698
4025
|
transactionBlock: tx,
|
|
@@ -3702,7 +4029,7 @@ export var validator;
|
|
|
3702
4029
|
}
|
|
3703
4030
|
view.metadata = metadata;
|
|
3704
4031
|
async function name(client, args) {
|
|
3705
|
-
const tx = new
|
|
4032
|
+
const tx = new Transaction();
|
|
3706
4033
|
builder.name(tx, args);
|
|
3707
4034
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3708
4035
|
transactionBlock: tx,
|
|
@@ -3712,7 +4039,7 @@ export var validator;
|
|
|
3712
4039
|
}
|
|
3713
4040
|
view.name = name;
|
|
3714
4041
|
async function networkAddress(client, args) {
|
|
3715
|
-
const tx = new
|
|
4042
|
+
const tx = new Transaction();
|
|
3716
4043
|
builder.networkAddress(tx, args);
|
|
3717
4044
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3718
4045
|
transactionBlock: tx,
|
|
@@ -3722,7 +4049,7 @@ export var validator;
|
|
|
3722
4049
|
}
|
|
3723
4050
|
view.networkAddress = networkAddress;
|
|
3724
4051
|
async function networkPubkeyBytes(client, args) {
|
|
3725
|
-
const tx = new
|
|
4052
|
+
const tx = new Transaction();
|
|
3726
4053
|
builder.networkPubkeyBytes(tx, args);
|
|
3727
4054
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3728
4055
|
transactionBlock: tx,
|
|
@@ -3732,7 +4059,7 @@ export var validator;
|
|
|
3732
4059
|
}
|
|
3733
4060
|
view.networkPubkeyBytes = networkPubkeyBytes;
|
|
3734
4061
|
async function new_(client, args) {
|
|
3735
|
-
const tx = new
|
|
4062
|
+
const tx = new Transaction();
|
|
3736
4063
|
builder.new_(tx, args);
|
|
3737
4064
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3738
4065
|
transactionBlock: tx,
|
|
@@ -3742,7 +4069,7 @@ export var validator;
|
|
|
3742
4069
|
}
|
|
3743
4070
|
view.new_ = new_;
|
|
3744
4071
|
async function newMetadata(client, args) {
|
|
3745
|
-
const tx = new
|
|
4072
|
+
const tx = new Transaction();
|
|
3746
4073
|
builder.newMetadata(tx, args);
|
|
3747
4074
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3748
4075
|
transactionBlock: tx,
|
|
@@ -3752,7 +4079,7 @@ export var validator;
|
|
|
3752
4079
|
}
|
|
3753
4080
|
view.newMetadata = newMetadata;
|
|
3754
4081
|
async function newUnverifiedValidatorOperationCapAndTransfer(client, args) {
|
|
3755
|
-
const tx = new
|
|
4082
|
+
const tx = new Transaction();
|
|
3756
4083
|
builder.newUnverifiedValidatorOperationCapAndTransfer(tx, args);
|
|
3757
4084
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3758
4085
|
transactionBlock: tx,
|
|
@@ -3762,7 +4089,7 @@ export var validator;
|
|
|
3762
4089
|
}
|
|
3763
4090
|
view.newUnverifiedValidatorOperationCapAndTransfer = newUnverifiedValidatorOperationCapAndTransfer;
|
|
3764
4091
|
async function nextEpochGasPrice(client, args) {
|
|
3765
|
-
const tx = new
|
|
4092
|
+
const tx = new Transaction();
|
|
3766
4093
|
builder.nextEpochGasPrice(tx, args);
|
|
3767
4094
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3768
4095
|
transactionBlock: tx,
|
|
@@ -3772,7 +4099,7 @@ export var validator;
|
|
|
3772
4099
|
}
|
|
3773
4100
|
view.nextEpochGasPrice = nextEpochGasPrice;
|
|
3774
4101
|
async function nextEpochNetworkAddress(client, args) {
|
|
3775
|
-
const tx = new
|
|
4102
|
+
const tx = new Transaction();
|
|
3776
4103
|
builder.nextEpochNetworkAddress(tx, args);
|
|
3777
4104
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3778
4105
|
transactionBlock: tx,
|
|
@@ -3782,7 +4109,7 @@ export var validator;
|
|
|
3782
4109
|
}
|
|
3783
4110
|
view.nextEpochNetworkAddress = nextEpochNetworkAddress;
|
|
3784
4111
|
async function nextEpochNetworkPubkeyBytes(client, args) {
|
|
3785
|
-
const tx = new
|
|
4112
|
+
const tx = new Transaction();
|
|
3786
4113
|
builder.nextEpochNetworkPubkeyBytes(tx, args);
|
|
3787
4114
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3788
4115
|
transactionBlock: tx,
|
|
@@ -3792,7 +4119,7 @@ export var validator;
|
|
|
3792
4119
|
}
|
|
3793
4120
|
view.nextEpochNetworkPubkeyBytes = nextEpochNetworkPubkeyBytes;
|
|
3794
4121
|
async function nextEpochP2pAddress(client, args) {
|
|
3795
|
-
const tx = new
|
|
4122
|
+
const tx = new Transaction();
|
|
3796
4123
|
builder.nextEpochP2pAddress(tx, args);
|
|
3797
4124
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3798
4125
|
transactionBlock: tx,
|
|
@@ -3802,7 +4129,7 @@ export var validator;
|
|
|
3802
4129
|
}
|
|
3803
4130
|
view.nextEpochP2pAddress = nextEpochP2pAddress;
|
|
3804
4131
|
async function nextEpochPrimaryAddress(client, args) {
|
|
3805
|
-
const tx = new
|
|
4132
|
+
const tx = new Transaction();
|
|
3806
4133
|
builder.nextEpochPrimaryAddress(tx, args);
|
|
3807
4134
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3808
4135
|
transactionBlock: tx,
|
|
@@ -3812,7 +4139,7 @@ export var validator;
|
|
|
3812
4139
|
}
|
|
3813
4140
|
view.nextEpochPrimaryAddress = nextEpochPrimaryAddress;
|
|
3814
4141
|
async function nextEpochProofOfPossession(client, args) {
|
|
3815
|
-
const tx = new
|
|
4142
|
+
const tx = new Transaction();
|
|
3816
4143
|
builder.nextEpochProofOfPossession(tx, args);
|
|
3817
4144
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3818
4145
|
transactionBlock: tx,
|
|
@@ -3822,7 +4149,7 @@ export var validator;
|
|
|
3822
4149
|
}
|
|
3823
4150
|
view.nextEpochProofOfPossession = nextEpochProofOfPossession;
|
|
3824
4151
|
async function nextEpochProtocolPubkeyBytes(client, args) {
|
|
3825
|
-
const tx = new
|
|
4152
|
+
const tx = new Transaction();
|
|
3826
4153
|
builder.nextEpochProtocolPubkeyBytes(tx, args);
|
|
3827
4154
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3828
4155
|
transactionBlock: tx,
|
|
@@ -3832,7 +4159,7 @@ export var validator;
|
|
|
3832
4159
|
}
|
|
3833
4160
|
view.nextEpochProtocolPubkeyBytes = nextEpochProtocolPubkeyBytes;
|
|
3834
4161
|
async function nextEpochWorkerAddress(client, args) {
|
|
3835
|
-
const tx = new
|
|
4162
|
+
const tx = new Transaction();
|
|
3836
4163
|
builder.nextEpochWorkerAddress(tx, args);
|
|
3837
4164
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3838
4165
|
transactionBlock: tx,
|
|
@@ -3842,7 +4169,7 @@ export var validator;
|
|
|
3842
4169
|
}
|
|
3843
4170
|
view.nextEpochWorkerAddress = nextEpochWorkerAddress;
|
|
3844
4171
|
async function nextEpochWorkerPubkeyBytes(client, args) {
|
|
3845
|
-
const tx = new
|
|
4172
|
+
const tx = new Transaction();
|
|
3846
4173
|
builder.nextEpochWorkerPubkeyBytes(tx, args);
|
|
3847
4174
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3848
4175
|
transactionBlock: tx,
|
|
@@ -3852,7 +4179,7 @@ export var validator;
|
|
|
3852
4179
|
}
|
|
3853
4180
|
view.nextEpochWorkerPubkeyBytes = nextEpochWorkerPubkeyBytes;
|
|
3854
4181
|
async function operationCapId(client, args) {
|
|
3855
|
-
const tx = new
|
|
4182
|
+
const tx = new Transaction();
|
|
3856
4183
|
builder.operationCapId(tx, args);
|
|
3857
4184
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3858
4185
|
transactionBlock: tx,
|
|
@@ -3862,7 +4189,7 @@ export var validator;
|
|
|
3862
4189
|
}
|
|
3863
4190
|
view.operationCapId = operationCapId;
|
|
3864
4191
|
async function p2pAddress(client, args) {
|
|
3865
|
-
const tx = new
|
|
4192
|
+
const tx = new Transaction();
|
|
3866
4193
|
builder.p2pAddress(tx, args);
|
|
3867
4194
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3868
4195
|
transactionBlock: tx,
|
|
@@ -3872,7 +4199,7 @@ export var validator;
|
|
|
3872
4199
|
}
|
|
3873
4200
|
view.p2pAddress = p2pAddress;
|
|
3874
4201
|
async function pendingStakeAmount(client, args) {
|
|
3875
|
-
const tx = new
|
|
4202
|
+
const tx = new Transaction();
|
|
3876
4203
|
builder.pendingStakeAmount(tx, args);
|
|
3877
4204
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3878
4205
|
transactionBlock: tx,
|
|
@@ -3882,7 +4209,7 @@ export var validator;
|
|
|
3882
4209
|
}
|
|
3883
4210
|
view.pendingStakeAmount = pendingStakeAmount;
|
|
3884
4211
|
async function pendingStakeWithdrawAmount(client, args) {
|
|
3885
|
-
const tx = new
|
|
4212
|
+
const tx = new Transaction();
|
|
3886
4213
|
builder.pendingStakeWithdrawAmount(tx, args);
|
|
3887
4214
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3888
4215
|
transactionBlock: tx,
|
|
@@ -3892,7 +4219,7 @@ export var validator;
|
|
|
3892
4219
|
}
|
|
3893
4220
|
view.pendingStakeWithdrawAmount = pendingStakeWithdrawAmount;
|
|
3894
4221
|
async function poolTokenExchangeRateAtEpoch(client, args) {
|
|
3895
|
-
const tx = new
|
|
4222
|
+
const tx = new Transaction();
|
|
3896
4223
|
builder.poolTokenExchangeRateAtEpoch(tx, args);
|
|
3897
4224
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3898
4225
|
transactionBlock: tx,
|
|
@@ -3902,7 +4229,7 @@ export var validator;
|
|
|
3902
4229
|
}
|
|
3903
4230
|
view.poolTokenExchangeRateAtEpoch = poolTokenExchangeRateAtEpoch;
|
|
3904
4231
|
async function primaryAddress(client, args) {
|
|
3905
|
-
const tx = new
|
|
4232
|
+
const tx = new Transaction();
|
|
3906
4233
|
builder.primaryAddress(tx, args);
|
|
3907
4234
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3908
4235
|
transactionBlock: tx,
|
|
@@ -3912,7 +4239,7 @@ export var validator;
|
|
|
3912
4239
|
}
|
|
3913
4240
|
view.primaryAddress = primaryAddress;
|
|
3914
4241
|
async function processPendingStakesAndWithdraws(client, args) {
|
|
3915
|
-
const tx = new
|
|
4242
|
+
const tx = new Transaction();
|
|
3916
4243
|
builder.processPendingStakesAndWithdraws(tx, args);
|
|
3917
4244
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3918
4245
|
transactionBlock: tx,
|
|
@@ -3922,7 +4249,7 @@ export var validator;
|
|
|
3922
4249
|
}
|
|
3923
4250
|
view.processPendingStakesAndWithdraws = processPendingStakesAndWithdraws;
|
|
3924
4251
|
async function projectUrl(client, args) {
|
|
3925
|
-
const tx = new
|
|
4252
|
+
const tx = new Transaction();
|
|
3926
4253
|
builder.projectUrl(tx, args);
|
|
3927
4254
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3928
4255
|
transactionBlock: tx,
|
|
@@ -3932,7 +4259,7 @@ export var validator;
|
|
|
3932
4259
|
}
|
|
3933
4260
|
view.projectUrl = projectUrl;
|
|
3934
4261
|
async function proofOfPossession(client, args) {
|
|
3935
|
-
const tx = new
|
|
4262
|
+
const tx = new Transaction();
|
|
3936
4263
|
builder.proofOfPossession(tx, args);
|
|
3937
4264
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3938
4265
|
transactionBlock: tx,
|
|
@@ -3942,7 +4269,7 @@ export var validator;
|
|
|
3942
4269
|
}
|
|
3943
4270
|
view.proofOfPossession = proofOfPossession;
|
|
3944
4271
|
async function protocolPubkeyBytes(client, args) {
|
|
3945
|
-
const tx = new
|
|
4272
|
+
const tx = new Transaction();
|
|
3946
4273
|
builder.protocolPubkeyBytes(tx, args);
|
|
3947
4274
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3948
4275
|
transactionBlock: tx,
|
|
@@ -3951,8 +4278,18 @@ export var validator;
|
|
|
3951
4278
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
3952
4279
|
}
|
|
3953
4280
|
view.protocolPubkeyBytes = protocolPubkeyBytes;
|
|
4281
|
+
async function redeemFungibleStakedSui(client, args) {
|
|
4282
|
+
const tx = new Transaction();
|
|
4283
|
+
builder.redeemFungibleStakedSui(tx, args);
|
|
4284
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
4285
|
+
transactionBlock: tx,
|
|
4286
|
+
sender: ZERO_ADDRESS,
|
|
4287
|
+
});
|
|
4288
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
4289
|
+
}
|
|
4290
|
+
view.redeemFungibleStakedSui = redeemFungibleStakedSui;
|
|
3954
4291
|
async function requestAddStake(client, args) {
|
|
3955
|
-
const tx = new
|
|
4292
|
+
const tx = new Transaction();
|
|
3956
4293
|
builder.requestAddStake(tx, args);
|
|
3957
4294
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3958
4295
|
transactionBlock: tx,
|
|
@@ -3962,7 +4299,7 @@ export var validator;
|
|
|
3962
4299
|
}
|
|
3963
4300
|
view.requestAddStake = requestAddStake;
|
|
3964
4301
|
async function requestAddStakeAtGenesis(client, args) {
|
|
3965
|
-
const tx = new
|
|
4302
|
+
const tx = new Transaction();
|
|
3966
4303
|
builder.requestAddStakeAtGenesis(tx, args);
|
|
3967
4304
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3968
4305
|
transactionBlock: tx,
|
|
@@ -3972,7 +4309,7 @@ export var validator;
|
|
|
3972
4309
|
}
|
|
3973
4310
|
view.requestAddStakeAtGenesis = requestAddStakeAtGenesis;
|
|
3974
4311
|
async function requestSetCommissionRate(client, args) {
|
|
3975
|
-
const tx = new
|
|
4312
|
+
const tx = new Transaction();
|
|
3976
4313
|
builder.requestSetCommissionRate(tx, args);
|
|
3977
4314
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3978
4315
|
transactionBlock: tx,
|
|
@@ -3982,7 +4319,7 @@ export var validator;
|
|
|
3982
4319
|
}
|
|
3983
4320
|
view.requestSetCommissionRate = requestSetCommissionRate;
|
|
3984
4321
|
async function requestSetGasPrice(client, args) {
|
|
3985
|
-
const tx = new
|
|
4322
|
+
const tx = new Transaction();
|
|
3986
4323
|
builder.requestSetGasPrice(tx, args);
|
|
3987
4324
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3988
4325
|
transactionBlock: tx,
|
|
@@ -3992,7 +4329,7 @@ export var validator;
|
|
|
3992
4329
|
}
|
|
3993
4330
|
view.requestSetGasPrice = requestSetGasPrice;
|
|
3994
4331
|
async function requestWithdrawStake(client, args) {
|
|
3995
|
-
const tx = new
|
|
4332
|
+
const tx = new Transaction();
|
|
3996
4333
|
builder.requestWithdrawStake(tx, args);
|
|
3997
4334
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3998
4335
|
transactionBlock: tx,
|
|
@@ -4002,7 +4339,7 @@ export var validator;
|
|
|
4002
4339
|
}
|
|
4003
4340
|
view.requestWithdrawStake = requestWithdrawStake;
|
|
4004
4341
|
async function setCandidateCommissionRate(client, args) {
|
|
4005
|
-
const tx = new
|
|
4342
|
+
const tx = new Transaction();
|
|
4006
4343
|
builder.setCandidateCommissionRate(tx, args);
|
|
4007
4344
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4008
4345
|
transactionBlock: tx,
|
|
@@ -4012,7 +4349,7 @@ export var validator;
|
|
|
4012
4349
|
}
|
|
4013
4350
|
view.setCandidateCommissionRate = setCandidateCommissionRate;
|
|
4014
4351
|
async function setCandidateGasPrice(client, args) {
|
|
4015
|
-
const tx = new
|
|
4352
|
+
const tx = new Transaction();
|
|
4016
4353
|
builder.setCandidateGasPrice(tx, args);
|
|
4017
4354
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4018
4355
|
transactionBlock: tx,
|
|
@@ -4022,7 +4359,7 @@ export var validator;
|
|
|
4022
4359
|
}
|
|
4023
4360
|
view.setCandidateGasPrice = setCandidateGasPrice;
|
|
4024
4361
|
async function setVotingPower(client, args) {
|
|
4025
|
-
const tx = new
|
|
4362
|
+
const tx = new Transaction();
|
|
4026
4363
|
builder.setVotingPower(tx, args);
|
|
4027
4364
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4028
4365
|
transactionBlock: tx,
|
|
@@ -4032,7 +4369,7 @@ export var validator;
|
|
|
4032
4369
|
}
|
|
4033
4370
|
view.setVotingPower = setVotingPower;
|
|
4034
4371
|
async function stakeAmount(client, args) {
|
|
4035
|
-
const tx = new
|
|
4372
|
+
const tx = new Transaction();
|
|
4036
4373
|
builder.stakeAmount(tx, args);
|
|
4037
4374
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4038
4375
|
transactionBlock: tx,
|
|
@@ -4042,7 +4379,7 @@ export var validator;
|
|
|
4042
4379
|
}
|
|
4043
4380
|
view.stakeAmount = stakeAmount;
|
|
4044
4381
|
async function stakingPoolId(client, args) {
|
|
4045
|
-
const tx = new
|
|
4382
|
+
const tx = new Transaction();
|
|
4046
4383
|
builder.stakingPoolId(tx, args);
|
|
4047
4384
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4048
4385
|
transactionBlock: tx,
|
|
@@ -4052,7 +4389,7 @@ export var validator;
|
|
|
4052
4389
|
}
|
|
4053
4390
|
view.stakingPoolId = stakingPoolId;
|
|
4054
4391
|
async function suiAddress(client, args) {
|
|
4055
|
-
const tx = new
|
|
4392
|
+
const tx = new Transaction();
|
|
4056
4393
|
builder.suiAddress(tx, args);
|
|
4057
4394
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4058
4395
|
transactionBlock: tx,
|
|
@@ -4062,7 +4399,7 @@ export var validator;
|
|
|
4062
4399
|
}
|
|
4063
4400
|
view.suiAddress = suiAddress;
|
|
4064
4401
|
async function totalStake(client, args) {
|
|
4065
|
-
const tx = new
|
|
4402
|
+
const tx = new Transaction();
|
|
4066
4403
|
builder.totalStake(tx, args);
|
|
4067
4404
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4068
4405
|
transactionBlock: tx,
|
|
@@ -4072,7 +4409,7 @@ export var validator;
|
|
|
4072
4409
|
}
|
|
4073
4410
|
view.totalStake = totalStake;
|
|
4074
4411
|
async function totalStakeAmount(client, args) {
|
|
4075
|
-
const tx = new
|
|
4412
|
+
const tx = new Transaction();
|
|
4076
4413
|
builder.totalStakeAmount(tx, args);
|
|
4077
4414
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4078
4415
|
transactionBlock: tx,
|
|
@@ -4082,7 +4419,7 @@ export var validator;
|
|
|
4082
4419
|
}
|
|
4083
4420
|
view.totalStakeAmount = totalStakeAmount;
|
|
4084
4421
|
async function updateCandidateNetworkAddress(client, args) {
|
|
4085
|
-
const tx = new
|
|
4422
|
+
const tx = new Transaction();
|
|
4086
4423
|
builder.updateCandidateNetworkAddress(tx, args);
|
|
4087
4424
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4088
4425
|
transactionBlock: tx,
|
|
@@ -4092,7 +4429,7 @@ export var validator;
|
|
|
4092
4429
|
}
|
|
4093
4430
|
view.updateCandidateNetworkAddress = updateCandidateNetworkAddress;
|
|
4094
4431
|
async function updateCandidateNetworkPubkey(client, args) {
|
|
4095
|
-
const tx = new
|
|
4432
|
+
const tx = new Transaction();
|
|
4096
4433
|
builder.updateCandidateNetworkPubkey(tx, args);
|
|
4097
4434
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4098
4435
|
transactionBlock: tx,
|
|
@@ -4102,7 +4439,7 @@ export var validator;
|
|
|
4102
4439
|
}
|
|
4103
4440
|
view.updateCandidateNetworkPubkey = updateCandidateNetworkPubkey;
|
|
4104
4441
|
async function updateCandidateP2pAddress(client, args) {
|
|
4105
|
-
const tx = new
|
|
4442
|
+
const tx = new Transaction();
|
|
4106
4443
|
builder.updateCandidateP2pAddress(tx, args);
|
|
4107
4444
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4108
4445
|
transactionBlock: tx,
|
|
@@ -4112,7 +4449,7 @@ export var validator;
|
|
|
4112
4449
|
}
|
|
4113
4450
|
view.updateCandidateP2pAddress = updateCandidateP2pAddress;
|
|
4114
4451
|
async function updateCandidatePrimaryAddress(client, args) {
|
|
4115
|
-
const tx = new
|
|
4452
|
+
const tx = new Transaction();
|
|
4116
4453
|
builder.updateCandidatePrimaryAddress(tx, args);
|
|
4117
4454
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4118
4455
|
transactionBlock: tx,
|
|
@@ -4122,7 +4459,7 @@ export var validator;
|
|
|
4122
4459
|
}
|
|
4123
4460
|
view.updateCandidatePrimaryAddress = updateCandidatePrimaryAddress;
|
|
4124
4461
|
async function updateCandidateProtocolPubkey(client, args) {
|
|
4125
|
-
const tx = new
|
|
4462
|
+
const tx = new Transaction();
|
|
4126
4463
|
builder.updateCandidateProtocolPubkey(tx, args);
|
|
4127
4464
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4128
4465
|
transactionBlock: tx,
|
|
@@ -4132,7 +4469,7 @@ export var validator;
|
|
|
4132
4469
|
}
|
|
4133
4470
|
view.updateCandidateProtocolPubkey = updateCandidateProtocolPubkey;
|
|
4134
4471
|
async function updateCandidateWorkerAddress(client, args) {
|
|
4135
|
-
const tx = new
|
|
4472
|
+
const tx = new Transaction();
|
|
4136
4473
|
builder.updateCandidateWorkerAddress(tx, args);
|
|
4137
4474
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4138
4475
|
transactionBlock: tx,
|
|
@@ -4142,7 +4479,7 @@ export var validator;
|
|
|
4142
4479
|
}
|
|
4143
4480
|
view.updateCandidateWorkerAddress = updateCandidateWorkerAddress;
|
|
4144
4481
|
async function updateCandidateWorkerPubkey(client, args) {
|
|
4145
|
-
const tx = new
|
|
4482
|
+
const tx = new Transaction();
|
|
4146
4483
|
builder.updateCandidateWorkerPubkey(tx, args);
|
|
4147
4484
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4148
4485
|
transactionBlock: tx,
|
|
@@ -4152,7 +4489,7 @@ export var validator;
|
|
|
4152
4489
|
}
|
|
4153
4490
|
view.updateCandidateWorkerPubkey = updateCandidateWorkerPubkey;
|
|
4154
4491
|
async function updateDescription(client, args) {
|
|
4155
|
-
const tx = new
|
|
4492
|
+
const tx = new Transaction();
|
|
4156
4493
|
builder.updateDescription(tx, args);
|
|
4157
4494
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4158
4495
|
transactionBlock: tx,
|
|
@@ -4162,7 +4499,7 @@ export var validator;
|
|
|
4162
4499
|
}
|
|
4163
4500
|
view.updateDescription = updateDescription;
|
|
4164
4501
|
async function updateImageUrl(client, args) {
|
|
4165
|
-
const tx = new
|
|
4502
|
+
const tx = new Transaction();
|
|
4166
4503
|
builder.updateImageUrl(tx, args);
|
|
4167
4504
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4168
4505
|
transactionBlock: tx,
|
|
@@ -4172,7 +4509,7 @@ export var validator;
|
|
|
4172
4509
|
}
|
|
4173
4510
|
view.updateImageUrl = updateImageUrl;
|
|
4174
4511
|
async function updateName(client, args) {
|
|
4175
|
-
const tx = new
|
|
4512
|
+
const tx = new Transaction();
|
|
4176
4513
|
builder.updateName(tx, args);
|
|
4177
4514
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4178
4515
|
transactionBlock: tx,
|
|
@@ -4182,7 +4519,7 @@ export var validator;
|
|
|
4182
4519
|
}
|
|
4183
4520
|
view.updateName = updateName;
|
|
4184
4521
|
async function updateNextEpochNetworkAddress(client, args) {
|
|
4185
|
-
const tx = new
|
|
4522
|
+
const tx = new Transaction();
|
|
4186
4523
|
builder.updateNextEpochNetworkAddress(tx, args);
|
|
4187
4524
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4188
4525
|
transactionBlock: tx,
|
|
@@ -4192,7 +4529,7 @@ export var validator;
|
|
|
4192
4529
|
}
|
|
4193
4530
|
view.updateNextEpochNetworkAddress = updateNextEpochNetworkAddress;
|
|
4194
4531
|
async function updateNextEpochNetworkPubkey(client, args) {
|
|
4195
|
-
const tx = new
|
|
4532
|
+
const tx = new Transaction();
|
|
4196
4533
|
builder.updateNextEpochNetworkPubkey(tx, args);
|
|
4197
4534
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4198
4535
|
transactionBlock: tx,
|
|
@@ -4202,7 +4539,7 @@ export var validator;
|
|
|
4202
4539
|
}
|
|
4203
4540
|
view.updateNextEpochNetworkPubkey = updateNextEpochNetworkPubkey;
|
|
4204
4541
|
async function updateNextEpochP2pAddress(client, args) {
|
|
4205
|
-
const tx = new
|
|
4542
|
+
const tx = new Transaction();
|
|
4206
4543
|
builder.updateNextEpochP2pAddress(tx, args);
|
|
4207
4544
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4208
4545
|
transactionBlock: tx,
|
|
@@ -4212,7 +4549,7 @@ export var validator;
|
|
|
4212
4549
|
}
|
|
4213
4550
|
view.updateNextEpochP2pAddress = updateNextEpochP2pAddress;
|
|
4214
4551
|
async function updateNextEpochPrimaryAddress(client, args) {
|
|
4215
|
-
const tx = new
|
|
4552
|
+
const tx = new Transaction();
|
|
4216
4553
|
builder.updateNextEpochPrimaryAddress(tx, args);
|
|
4217
4554
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4218
4555
|
transactionBlock: tx,
|
|
@@ -4222,7 +4559,7 @@ export var validator;
|
|
|
4222
4559
|
}
|
|
4223
4560
|
view.updateNextEpochPrimaryAddress = updateNextEpochPrimaryAddress;
|
|
4224
4561
|
async function updateNextEpochProtocolPubkey(client, args) {
|
|
4225
|
-
const tx = new
|
|
4562
|
+
const tx = new Transaction();
|
|
4226
4563
|
builder.updateNextEpochProtocolPubkey(tx, args);
|
|
4227
4564
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4228
4565
|
transactionBlock: tx,
|
|
@@ -4232,7 +4569,7 @@ export var validator;
|
|
|
4232
4569
|
}
|
|
4233
4570
|
view.updateNextEpochProtocolPubkey = updateNextEpochProtocolPubkey;
|
|
4234
4571
|
async function updateNextEpochWorkerAddress(client, args) {
|
|
4235
|
-
const tx = new
|
|
4572
|
+
const tx = new Transaction();
|
|
4236
4573
|
builder.updateNextEpochWorkerAddress(tx, args);
|
|
4237
4574
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4238
4575
|
transactionBlock: tx,
|
|
@@ -4242,7 +4579,7 @@ export var validator;
|
|
|
4242
4579
|
}
|
|
4243
4580
|
view.updateNextEpochWorkerAddress = updateNextEpochWorkerAddress;
|
|
4244
4581
|
async function updateNextEpochWorkerPubkey(client, args) {
|
|
4245
|
-
const tx = new
|
|
4582
|
+
const tx = new Transaction();
|
|
4246
4583
|
builder.updateNextEpochWorkerPubkey(tx, args);
|
|
4247
4584
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4248
4585
|
transactionBlock: tx,
|
|
@@ -4252,7 +4589,7 @@ export var validator;
|
|
|
4252
4589
|
}
|
|
4253
4590
|
view.updateNextEpochWorkerPubkey = updateNextEpochWorkerPubkey;
|
|
4254
4591
|
async function updateProjectUrl(client, args) {
|
|
4255
|
-
const tx = new
|
|
4592
|
+
const tx = new Transaction();
|
|
4256
4593
|
builder.updateProjectUrl(tx, args);
|
|
4257
4594
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4258
4595
|
transactionBlock: tx,
|
|
@@ -4262,7 +4599,7 @@ export var validator;
|
|
|
4262
4599
|
}
|
|
4263
4600
|
view.updateProjectUrl = updateProjectUrl;
|
|
4264
4601
|
async function validateMetadata(client, args) {
|
|
4265
|
-
const tx = new
|
|
4602
|
+
const tx = new Transaction();
|
|
4266
4603
|
builder.validateMetadata(tx, args);
|
|
4267
4604
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4268
4605
|
transactionBlock: tx,
|
|
@@ -4272,7 +4609,7 @@ export var validator;
|
|
|
4272
4609
|
}
|
|
4273
4610
|
view.validateMetadata = validateMetadata;
|
|
4274
4611
|
async function validateMetadataBcs(client, args) {
|
|
4275
|
-
const tx = new
|
|
4612
|
+
const tx = new Transaction();
|
|
4276
4613
|
builder.validateMetadataBcs(tx, args);
|
|
4277
4614
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4278
4615
|
transactionBlock: tx,
|
|
@@ -4282,7 +4619,7 @@ export var validator;
|
|
|
4282
4619
|
}
|
|
4283
4620
|
view.validateMetadataBcs = validateMetadataBcs;
|
|
4284
4621
|
async function votingPower(client, args) {
|
|
4285
|
-
const tx = new
|
|
4622
|
+
const tx = new Transaction();
|
|
4286
4623
|
builder.votingPower(tx, args);
|
|
4287
4624
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4288
4625
|
transactionBlock: tx,
|
|
@@ -4292,7 +4629,7 @@ export var validator;
|
|
|
4292
4629
|
}
|
|
4293
4630
|
view.votingPower = votingPower;
|
|
4294
4631
|
async function workerAddress(client, args) {
|
|
4295
|
-
const tx = new
|
|
4632
|
+
const tx = new Transaction();
|
|
4296
4633
|
builder.workerAddress(tx, args);
|
|
4297
4634
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4298
4635
|
transactionBlock: tx,
|
|
@@ -4302,7 +4639,7 @@ export var validator;
|
|
|
4302
4639
|
}
|
|
4303
4640
|
view.workerAddress = workerAddress;
|
|
4304
4641
|
async function workerPubkeyBytes(client, args) {
|
|
4305
|
-
const tx = new
|
|
4642
|
+
const tx = new Transaction();
|
|
4306
4643
|
builder.workerPubkeyBytes(tx, args);
|
|
4307
4644
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4308
4645
|
transactionBlock: tx,
|
|
@@ -4379,7 +4716,7 @@ export var validator_cap;
|
|
|
4379
4716
|
let view;
|
|
4380
4717
|
(function (view) {
|
|
4381
4718
|
async function newFromUnverified(client, args) {
|
|
4382
|
-
const tx = new
|
|
4719
|
+
const tx = new Transaction();
|
|
4383
4720
|
builder.newFromUnverified(tx, args);
|
|
4384
4721
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4385
4722
|
transactionBlock: tx,
|
|
@@ -4389,7 +4726,7 @@ export var validator_cap;
|
|
|
4389
4726
|
}
|
|
4390
4727
|
view.newFromUnverified = newFromUnverified;
|
|
4391
4728
|
async function newUnverifiedValidatorOperationCapAndTransfer(client, args) {
|
|
4392
|
-
const tx = new
|
|
4729
|
+
const tx = new Transaction();
|
|
4393
4730
|
builder.newUnverifiedValidatorOperationCapAndTransfer(tx, args);
|
|
4394
4731
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4395
4732
|
transactionBlock: tx,
|
|
@@ -4399,7 +4736,7 @@ export var validator_cap;
|
|
|
4399
4736
|
}
|
|
4400
4737
|
view.newUnverifiedValidatorOperationCapAndTransfer = newUnverifiedValidatorOperationCapAndTransfer;
|
|
4401
4738
|
async function unverifiedOperationCapAddress(client, args) {
|
|
4402
|
-
const tx = new
|
|
4739
|
+
const tx = new Transaction();
|
|
4403
4740
|
builder.unverifiedOperationCapAddress(tx, args);
|
|
4404
4741
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4405
4742
|
transactionBlock: tx,
|
|
@@ -4409,7 +4746,7 @@ export var validator_cap;
|
|
|
4409
4746
|
}
|
|
4410
4747
|
view.unverifiedOperationCapAddress = unverifiedOperationCapAddress;
|
|
4411
4748
|
async function verifiedOperationCapAddress(client, args) {
|
|
4412
|
-
const tx = new
|
|
4749
|
+
const tx = new Transaction();
|
|
4413
4750
|
builder.verifiedOperationCapAddress(tx, args);
|
|
4414
4751
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4415
4752
|
transactionBlock: tx,
|
|
@@ -4517,6 +4854,17 @@ export var validator_set;
|
|
|
4517
4854
|
});
|
|
4518
4855
|
}
|
|
4519
4856
|
builder.assertNoPendingOrActiveDuplicates = assertNoPendingOrActiveDuplicates;
|
|
4857
|
+
function convertToFungibleStakedSui(tx, args) {
|
|
4858
|
+
const _args = [];
|
|
4859
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4860
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
4861
|
+
// @ts-ignore
|
|
4862
|
+
return tx.moveCall({
|
|
4863
|
+
target: "0x3::validator_set::convert_to_fungible_staked_sui",
|
|
4864
|
+
arguments: _args,
|
|
4865
|
+
});
|
|
4866
|
+
}
|
|
4867
|
+
builder.convertToFungibleStakedSui = convertToFungibleStakedSui;
|
|
4520
4868
|
function deriveReferenceGasPrice(tx, args) {
|
|
4521
4869
|
const _args = [];
|
|
4522
4870
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -4679,6 +5027,17 @@ export var validator_set;
|
|
|
4679
5027
|
});
|
|
4680
5028
|
}
|
|
4681
5029
|
builder.poolExchangeRates = poolExchangeRates;
|
|
5030
|
+
function redeemFungibleStakedSui(tx, args) {
|
|
5031
|
+
const _args = [];
|
|
5032
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
5033
|
+
_args.push(transactionArgumentOrPure(args[1], tx));
|
|
5034
|
+
// @ts-ignore
|
|
5035
|
+
return tx.moveCall({
|
|
5036
|
+
target: "0x3::validator_set::redeem_fungible_staked_sui",
|
|
5037
|
+
arguments: _args,
|
|
5038
|
+
});
|
|
5039
|
+
}
|
|
5040
|
+
builder.redeemFungibleStakedSui = redeemFungibleStakedSui;
|
|
4682
5041
|
function requestAddStake(tx, args) {
|
|
4683
5042
|
const _args = [];
|
|
4684
5043
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -4786,6 +5145,17 @@ export var validator_set;
|
|
|
4786
5145
|
});
|
|
4787
5146
|
}
|
|
4788
5147
|
builder.totalStake = totalStake;
|
|
5148
|
+
function validatorAddressByPoolId(tx, args) {
|
|
5149
|
+
const _args = [];
|
|
5150
|
+
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
5151
|
+
_args.push(transactionArgumentOrObject(args[1], tx));
|
|
5152
|
+
// @ts-ignore
|
|
5153
|
+
return tx.moveCall({
|
|
5154
|
+
target: "0x3::validator_set::validator_address_by_pool_id",
|
|
5155
|
+
arguments: _args,
|
|
5156
|
+
});
|
|
5157
|
+
}
|
|
5158
|
+
builder.validatorAddressByPoolId = validatorAddressByPoolId;
|
|
4789
5159
|
function validatorStakeAmount(tx, args) {
|
|
4790
5160
|
const _args = [];
|
|
4791
5161
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -4846,7 +5216,7 @@ export var validator_set;
|
|
|
4846
5216
|
let view;
|
|
4847
5217
|
(function (view) {
|
|
4848
5218
|
async function activeValidatorAddresses(client, args) {
|
|
4849
|
-
const tx = new
|
|
5219
|
+
const tx = new Transaction();
|
|
4850
5220
|
builder.activeValidatorAddresses(tx, args);
|
|
4851
5221
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4852
5222
|
transactionBlock: tx,
|
|
@@ -4856,7 +5226,7 @@ export var validator_set;
|
|
|
4856
5226
|
}
|
|
4857
5227
|
view.activeValidatorAddresses = activeValidatorAddresses;
|
|
4858
5228
|
async function activeValidators(client, args) {
|
|
4859
|
-
const tx = new
|
|
5229
|
+
const tx = new Transaction();
|
|
4860
5230
|
builder.activeValidators(tx, args);
|
|
4861
5231
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4862
5232
|
transactionBlock: tx,
|
|
@@ -4866,7 +5236,7 @@ export var validator_set;
|
|
|
4866
5236
|
}
|
|
4867
5237
|
view.activeValidators = activeValidators;
|
|
4868
5238
|
async function advanceEpoch(client, args) {
|
|
4869
|
-
const tx = new
|
|
5239
|
+
const tx = new Transaction();
|
|
4870
5240
|
builder.advanceEpoch(tx, args);
|
|
4871
5241
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4872
5242
|
transactionBlock: tx,
|
|
@@ -4876,7 +5246,7 @@ export var validator_set;
|
|
|
4876
5246
|
}
|
|
4877
5247
|
view.advanceEpoch = advanceEpoch;
|
|
4878
5248
|
async function assertNoPendingOrActiveDuplicates(client, args) {
|
|
4879
|
-
const tx = new
|
|
5249
|
+
const tx = new Transaction();
|
|
4880
5250
|
builder.assertNoPendingOrActiveDuplicates(tx, args);
|
|
4881
5251
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4882
5252
|
transactionBlock: tx,
|
|
@@ -4885,8 +5255,18 @@ export var validator_set;
|
|
|
4885
5255
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
4886
5256
|
}
|
|
4887
5257
|
view.assertNoPendingOrActiveDuplicates = assertNoPendingOrActiveDuplicates;
|
|
5258
|
+
async function convertToFungibleStakedSui(client, args) {
|
|
5259
|
+
const tx = new Transaction();
|
|
5260
|
+
builder.convertToFungibleStakedSui(tx, args);
|
|
5261
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5262
|
+
transactionBlock: tx,
|
|
5263
|
+
sender: ZERO_ADDRESS,
|
|
5264
|
+
});
|
|
5265
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
5266
|
+
}
|
|
5267
|
+
view.convertToFungibleStakedSui = convertToFungibleStakedSui;
|
|
4888
5268
|
async function deriveReferenceGasPrice(client, args) {
|
|
4889
|
-
const tx = new
|
|
5269
|
+
const tx = new Transaction();
|
|
4890
5270
|
builder.deriveReferenceGasPrice(tx, args);
|
|
4891
5271
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4892
5272
|
transactionBlock: tx,
|
|
@@ -4896,7 +5276,7 @@ export var validator_set;
|
|
|
4896
5276
|
}
|
|
4897
5277
|
view.deriveReferenceGasPrice = deriveReferenceGasPrice;
|
|
4898
5278
|
async function getActiveOrPendingOrCandidateValidatorRef(client, args) {
|
|
4899
|
-
const tx = new
|
|
5279
|
+
const tx = new Transaction();
|
|
4900
5280
|
builder.getActiveOrPendingOrCandidateValidatorRef(tx, args);
|
|
4901
5281
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4902
5282
|
transactionBlock: tx,
|
|
@@ -4906,7 +5286,7 @@ export var validator_set;
|
|
|
4906
5286
|
}
|
|
4907
5287
|
view.getActiveOrPendingOrCandidateValidatorRef = getActiveOrPendingOrCandidateValidatorRef;
|
|
4908
5288
|
async function getActiveValidatorRef(client, args) {
|
|
4909
|
-
const tx = new
|
|
5289
|
+
const tx = new Transaction();
|
|
4910
5290
|
builder.getActiveValidatorRef(tx, args);
|
|
4911
5291
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4912
5292
|
transactionBlock: tx,
|
|
@@ -4916,7 +5296,7 @@ export var validator_set;
|
|
|
4916
5296
|
}
|
|
4917
5297
|
view.getActiveValidatorRef = getActiveValidatorRef;
|
|
4918
5298
|
async function getPendingValidatorRef(client, args) {
|
|
4919
|
-
const tx = new
|
|
5299
|
+
const tx = new Transaction();
|
|
4920
5300
|
builder.getPendingValidatorRef(tx, args);
|
|
4921
5301
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4922
5302
|
transactionBlock: tx,
|
|
@@ -4926,7 +5306,7 @@ export var validator_set;
|
|
|
4926
5306
|
}
|
|
4927
5307
|
view.getPendingValidatorRef = getPendingValidatorRef;
|
|
4928
5308
|
async function getValidatorMut(client, args) {
|
|
4929
|
-
const tx = new
|
|
5309
|
+
const tx = new Transaction();
|
|
4930
5310
|
builder.getValidatorMut(tx, args);
|
|
4931
5311
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4932
5312
|
transactionBlock: tx,
|
|
@@ -4936,7 +5316,7 @@ export var validator_set;
|
|
|
4936
5316
|
}
|
|
4937
5317
|
view.getValidatorMut = getValidatorMut;
|
|
4938
5318
|
async function getValidatorMutWithCtx(client, args) {
|
|
4939
|
-
const tx = new
|
|
5319
|
+
const tx = new Transaction();
|
|
4940
5320
|
builder.getValidatorMutWithCtx(tx, args);
|
|
4941
5321
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4942
5322
|
transactionBlock: tx,
|
|
@@ -4946,7 +5326,7 @@ export var validator_set;
|
|
|
4946
5326
|
}
|
|
4947
5327
|
view.getValidatorMutWithCtx = getValidatorMutWithCtx;
|
|
4948
5328
|
async function getValidatorMutWithCtxIncludingCandidates(client, args) {
|
|
4949
|
-
const tx = new
|
|
5329
|
+
const tx = new Transaction();
|
|
4950
5330
|
builder.getValidatorMutWithCtxIncludingCandidates(tx, args);
|
|
4951
5331
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4952
5332
|
transactionBlock: tx,
|
|
@@ -4956,7 +5336,7 @@ export var validator_set;
|
|
|
4956
5336
|
}
|
|
4957
5337
|
view.getValidatorMutWithCtxIncludingCandidates = getValidatorMutWithCtxIncludingCandidates;
|
|
4958
5338
|
async function getValidatorMutWithVerifiedCap(client, args) {
|
|
4959
|
-
const tx = new
|
|
5339
|
+
const tx = new Transaction();
|
|
4960
5340
|
builder.getValidatorMutWithVerifiedCap(tx, args);
|
|
4961
5341
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4962
5342
|
transactionBlock: tx,
|
|
@@ -4966,7 +5346,7 @@ export var validator_set;
|
|
|
4966
5346
|
}
|
|
4967
5347
|
view.getValidatorMutWithVerifiedCap = getValidatorMutWithVerifiedCap;
|
|
4968
5348
|
async function isActiveValidatorBySuiAddress(client, args) {
|
|
4969
|
-
const tx = new
|
|
5349
|
+
const tx = new Transaction();
|
|
4970
5350
|
builder.isActiveValidatorBySuiAddress(tx, args);
|
|
4971
5351
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4972
5352
|
transactionBlock: tx,
|
|
@@ -4976,7 +5356,7 @@ export var validator_set;
|
|
|
4976
5356
|
}
|
|
4977
5357
|
view.isActiveValidatorBySuiAddress = isActiveValidatorBySuiAddress;
|
|
4978
5358
|
async function isDuplicateValidator(client, args) {
|
|
4979
|
-
const tx = new
|
|
5359
|
+
const tx = new Transaction();
|
|
4980
5360
|
builder.isDuplicateValidator(tx, args);
|
|
4981
5361
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4982
5362
|
transactionBlock: tx,
|
|
@@ -4986,7 +5366,7 @@ export var validator_set;
|
|
|
4986
5366
|
}
|
|
4987
5367
|
view.isDuplicateValidator = isDuplicateValidator;
|
|
4988
5368
|
async function isInactiveValidator(client, args) {
|
|
4989
|
-
const tx = new
|
|
5369
|
+
const tx = new Transaction();
|
|
4990
5370
|
builder.isInactiveValidator(tx, args);
|
|
4991
5371
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4992
5372
|
transactionBlock: tx,
|
|
@@ -4996,7 +5376,7 @@ export var validator_set;
|
|
|
4996
5376
|
}
|
|
4997
5377
|
view.isInactiveValidator = isInactiveValidator;
|
|
4998
5378
|
async function isValidatorCandidate(client, args) {
|
|
4999
|
-
const tx = new
|
|
5379
|
+
const tx = new Transaction();
|
|
5000
5380
|
builder.isValidatorCandidate(tx, args);
|
|
5001
5381
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5002
5382
|
transactionBlock: tx,
|
|
@@ -5006,7 +5386,7 @@ export var validator_set;
|
|
|
5006
5386
|
}
|
|
5007
5387
|
view.isValidatorCandidate = isValidatorCandidate;
|
|
5008
5388
|
async function new_(client, args) {
|
|
5009
|
-
const tx = new
|
|
5389
|
+
const tx = new Transaction();
|
|
5010
5390
|
builder.new_(tx, args);
|
|
5011
5391
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5012
5392
|
transactionBlock: tx,
|
|
@@ -5016,7 +5396,7 @@ export var validator_set;
|
|
|
5016
5396
|
}
|
|
5017
5397
|
view.new_ = new_;
|
|
5018
5398
|
async function nextEpochValidatorCount(client, args) {
|
|
5019
|
-
const tx = new
|
|
5399
|
+
const tx = new Transaction();
|
|
5020
5400
|
builder.nextEpochValidatorCount(tx, args);
|
|
5021
5401
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5022
5402
|
transactionBlock: tx,
|
|
@@ -5026,7 +5406,7 @@ export var validator_set;
|
|
|
5026
5406
|
}
|
|
5027
5407
|
view.nextEpochValidatorCount = nextEpochValidatorCount;
|
|
5028
5408
|
async function poolExchangeRates(client, args) {
|
|
5029
|
-
const tx = new
|
|
5409
|
+
const tx = new Transaction();
|
|
5030
5410
|
builder.poolExchangeRates(tx, args);
|
|
5031
5411
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5032
5412
|
transactionBlock: tx,
|
|
@@ -5035,8 +5415,18 @@ export var validator_set;
|
|
|
5035
5415
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
5036
5416
|
}
|
|
5037
5417
|
view.poolExchangeRates = poolExchangeRates;
|
|
5418
|
+
async function redeemFungibleStakedSui(client, args) {
|
|
5419
|
+
const tx = new Transaction();
|
|
5420
|
+
builder.redeemFungibleStakedSui(tx, args);
|
|
5421
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5422
|
+
transactionBlock: tx,
|
|
5423
|
+
sender: ZERO_ADDRESS,
|
|
5424
|
+
});
|
|
5425
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
5426
|
+
}
|
|
5427
|
+
view.redeemFungibleStakedSui = redeemFungibleStakedSui;
|
|
5038
5428
|
async function requestAddStake(client, args) {
|
|
5039
|
-
const tx = new
|
|
5429
|
+
const tx = new Transaction();
|
|
5040
5430
|
builder.requestAddStake(tx, args);
|
|
5041
5431
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5042
5432
|
transactionBlock: tx,
|
|
@@ -5046,7 +5436,7 @@ export var validator_set;
|
|
|
5046
5436
|
}
|
|
5047
5437
|
view.requestAddStake = requestAddStake;
|
|
5048
5438
|
async function requestAddValidator(client, args) {
|
|
5049
|
-
const tx = new
|
|
5439
|
+
const tx = new Transaction();
|
|
5050
5440
|
builder.requestAddValidator(tx, args);
|
|
5051
5441
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5052
5442
|
transactionBlock: tx,
|
|
@@ -5056,7 +5446,7 @@ export var validator_set;
|
|
|
5056
5446
|
}
|
|
5057
5447
|
view.requestAddValidator = requestAddValidator;
|
|
5058
5448
|
async function requestAddValidatorCandidate(client, args) {
|
|
5059
|
-
const tx = new
|
|
5449
|
+
const tx = new Transaction();
|
|
5060
5450
|
builder.requestAddValidatorCandidate(tx, args);
|
|
5061
5451
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5062
5452
|
transactionBlock: tx,
|
|
@@ -5066,7 +5456,7 @@ export var validator_set;
|
|
|
5066
5456
|
}
|
|
5067
5457
|
view.requestAddValidatorCandidate = requestAddValidatorCandidate;
|
|
5068
5458
|
async function requestRemoveValidator(client, args) {
|
|
5069
|
-
const tx = new
|
|
5459
|
+
const tx = new Transaction();
|
|
5070
5460
|
builder.requestRemoveValidator(tx, args);
|
|
5071
5461
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5072
5462
|
transactionBlock: tx,
|
|
@@ -5076,7 +5466,7 @@ export var validator_set;
|
|
|
5076
5466
|
}
|
|
5077
5467
|
view.requestRemoveValidator = requestRemoveValidator;
|
|
5078
5468
|
async function requestRemoveValidatorCandidate(client, args) {
|
|
5079
|
-
const tx = new
|
|
5469
|
+
const tx = new Transaction();
|
|
5080
5470
|
builder.requestRemoveValidatorCandidate(tx, args);
|
|
5081
5471
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5082
5472
|
transactionBlock: tx,
|
|
@@ -5086,7 +5476,7 @@ export var validator_set;
|
|
|
5086
5476
|
}
|
|
5087
5477
|
view.requestRemoveValidatorCandidate = requestRemoveValidatorCandidate;
|
|
5088
5478
|
async function requestSetCommissionRate(client, args) {
|
|
5089
|
-
const tx = new
|
|
5479
|
+
const tx = new Transaction();
|
|
5090
5480
|
builder.requestSetCommissionRate(tx, args);
|
|
5091
5481
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5092
5482
|
transactionBlock: tx,
|
|
@@ -5096,7 +5486,7 @@ export var validator_set;
|
|
|
5096
5486
|
}
|
|
5097
5487
|
view.requestSetCommissionRate = requestSetCommissionRate;
|
|
5098
5488
|
async function requestWithdrawStake(client, args) {
|
|
5099
|
-
const tx = new
|
|
5489
|
+
const tx = new Transaction();
|
|
5100
5490
|
builder.requestWithdrawStake(tx, args);
|
|
5101
5491
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5102
5492
|
transactionBlock: tx,
|
|
@@ -5106,7 +5496,7 @@ export var validator_set;
|
|
|
5106
5496
|
}
|
|
5107
5497
|
view.requestWithdrawStake = requestWithdrawStake;
|
|
5108
5498
|
async function stakingPoolMappings(client, args) {
|
|
5109
|
-
const tx = new
|
|
5499
|
+
const tx = new Transaction();
|
|
5110
5500
|
builder.stakingPoolMappings(tx, args);
|
|
5111
5501
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5112
5502
|
transactionBlock: tx,
|
|
@@ -5116,7 +5506,7 @@ export var validator_set;
|
|
|
5116
5506
|
}
|
|
5117
5507
|
view.stakingPoolMappings = stakingPoolMappings;
|
|
5118
5508
|
async function sumVotingPowerByAddresses(client, args) {
|
|
5119
|
-
const tx = new
|
|
5509
|
+
const tx = new Transaction();
|
|
5120
5510
|
builder.sumVotingPowerByAddresses(tx, args);
|
|
5121
5511
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5122
5512
|
transactionBlock: tx,
|
|
@@ -5126,7 +5516,7 @@ export var validator_set;
|
|
|
5126
5516
|
}
|
|
5127
5517
|
view.sumVotingPowerByAddresses = sumVotingPowerByAddresses;
|
|
5128
5518
|
async function totalStake(client, args) {
|
|
5129
|
-
const tx = new
|
|
5519
|
+
const tx = new Transaction();
|
|
5130
5520
|
builder.totalStake(tx, args);
|
|
5131
5521
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5132
5522
|
transactionBlock: tx,
|
|
@@ -5135,8 +5525,18 @@ export var validator_set;
|
|
|
5135
5525
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
5136
5526
|
}
|
|
5137
5527
|
view.totalStake = totalStake;
|
|
5528
|
+
async function validatorAddressByPoolId(client, args) {
|
|
5529
|
+
const tx = new Transaction();
|
|
5530
|
+
builder.validatorAddressByPoolId(tx, args);
|
|
5531
|
+
const inspectRes = await client.devInspectTransactionBlock({
|
|
5532
|
+
transactionBlock: tx,
|
|
5533
|
+
sender: ZERO_ADDRESS,
|
|
5534
|
+
});
|
|
5535
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
5536
|
+
}
|
|
5537
|
+
view.validatorAddressByPoolId = validatorAddressByPoolId;
|
|
5138
5538
|
async function validatorStakeAmount(client, args) {
|
|
5139
|
-
const tx = new
|
|
5539
|
+
const tx = new Transaction();
|
|
5140
5540
|
builder.validatorStakeAmount(tx, args);
|
|
5141
5541
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5142
5542
|
transactionBlock: tx,
|
|
@@ -5146,7 +5546,7 @@ export var validator_set;
|
|
|
5146
5546
|
}
|
|
5147
5547
|
view.validatorStakeAmount = validatorStakeAmount;
|
|
5148
5548
|
async function validatorStakingPoolId(client, args) {
|
|
5149
|
-
const tx = new
|
|
5549
|
+
const tx = new Transaction();
|
|
5150
5550
|
builder.validatorStakingPoolId(tx, args);
|
|
5151
5551
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5152
5552
|
transactionBlock: tx,
|
|
@@ -5156,7 +5556,7 @@ export var validator_set;
|
|
|
5156
5556
|
}
|
|
5157
5557
|
view.validatorStakingPoolId = validatorStakingPoolId;
|
|
5158
5558
|
async function validatorTotalStakeAmount(client, args) {
|
|
5159
|
-
const tx = new
|
|
5559
|
+
const tx = new Transaction();
|
|
5160
5560
|
builder.validatorTotalStakeAmount(tx, args);
|
|
5161
5561
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5162
5562
|
transactionBlock: tx,
|
|
@@ -5166,7 +5566,7 @@ export var validator_set;
|
|
|
5166
5566
|
}
|
|
5167
5567
|
view.validatorTotalStakeAmount = validatorTotalStakeAmount;
|
|
5168
5568
|
async function validatorVotingPower(client, args) {
|
|
5169
|
-
const tx = new
|
|
5569
|
+
const tx = new Transaction();
|
|
5170
5570
|
builder.validatorVotingPower(tx, args);
|
|
5171
5571
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5172
5572
|
transactionBlock: tx,
|
|
@@ -5176,7 +5576,7 @@ export var validator_set;
|
|
|
5176
5576
|
}
|
|
5177
5577
|
view.validatorVotingPower = validatorVotingPower;
|
|
5178
5578
|
async function verifyCap(client, args) {
|
|
5179
|
-
const tx = new
|
|
5579
|
+
const tx = new Transaction();
|
|
5180
5580
|
builder.verifyCap(tx, args);
|
|
5181
5581
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5182
5582
|
transactionBlock: tx,
|
|
@@ -5234,7 +5634,7 @@ export var validator_wrapper;
|
|
|
5234
5634
|
let view;
|
|
5235
5635
|
(function (view) {
|
|
5236
5636
|
async function createV1(client, args) {
|
|
5237
|
-
const tx = new
|
|
5637
|
+
const tx = new Transaction();
|
|
5238
5638
|
builder.createV1(tx, args);
|
|
5239
5639
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5240
5640
|
transactionBlock: tx,
|
|
@@ -5244,7 +5644,7 @@ export var validator_wrapper;
|
|
|
5244
5644
|
}
|
|
5245
5645
|
view.createV1 = createV1;
|
|
5246
5646
|
async function destroy(client, args) {
|
|
5247
|
-
const tx = new
|
|
5647
|
+
const tx = new Transaction();
|
|
5248
5648
|
builder.destroy(tx, args);
|
|
5249
5649
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5250
5650
|
transactionBlock: tx,
|
|
@@ -5254,7 +5654,7 @@ export var validator_wrapper;
|
|
|
5254
5654
|
}
|
|
5255
5655
|
view.destroy = destroy;
|
|
5256
5656
|
async function loadValidatorMaybeUpgrade(client, args) {
|
|
5257
|
-
const tx = new
|
|
5657
|
+
const tx = new Transaction();
|
|
5258
5658
|
builder.loadValidatorMaybeUpgrade(tx, args);
|
|
5259
5659
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5260
5660
|
transactionBlock: tx,
|
|
@@ -5319,7 +5719,7 @@ export var voting_power;
|
|
|
5319
5719
|
let view;
|
|
5320
5720
|
(function (view) {
|
|
5321
5721
|
async function quorumThreshold(client, args) {
|
|
5322
|
-
const tx = new
|
|
5722
|
+
const tx = new Transaction();
|
|
5323
5723
|
builder.quorumThreshold(tx, args);
|
|
5324
5724
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5325
5725
|
transactionBlock: tx,
|
|
@@ -5329,7 +5729,7 @@ export var voting_power;
|
|
|
5329
5729
|
}
|
|
5330
5730
|
view.quorumThreshold = quorumThreshold;
|
|
5331
5731
|
async function setVotingPower(client, args) {
|
|
5332
|
-
const tx = new
|
|
5732
|
+
const tx = new Transaction();
|
|
5333
5733
|
builder.setVotingPower(tx, args);
|
|
5334
5734
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5335
5735
|
transactionBlock: tx,
|
|
@@ -5339,7 +5739,7 @@ export var voting_power;
|
|
|
5339
5739
|
}
|
|
5340
5740
|
view.setVotingPower = setVotingPower;
|
|
5341
5741
|
async function totalVotingPower(client, args) {
|
|
5342
|
-
const tx = new
|
|
5742
|
+
const tx = new Transaction();
|
|
5343
5743
|
builder.totalVotingPower(tx, args);
|
|
5344
5744
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5345
5745
|
transactionBlock: tx,
|
|
@@ -5350,7 +5750,7 @@ export var voting_power;
|
|
|
5350
5750
|
view.totalVotingPower = totalVotingPower;
|
|
5351
5751
|
})(view = voting_power.view || (voting_power.view = {}));
|
|
5352
5752
|
})(voting_power || (voting_power = {}));
|
|
5353
|
-
const MODULES = JSON.parse('{"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"]}}},"staking_pool":{"fileFormatVersion":6,"address":"0x3","name":"staking_pool","friends":[{"address":"0x3","name":"validator"},{"address":"0x3","name":"validator_set"}],"structs":{"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":[]}}}]}},"exposedFunctions":{"activate_staking_pool":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},"U64"],"return":[]},"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":[]}}]}}}]},"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_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":[]},"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_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"}]},"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":[]}}]}}}]},"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":[]}}},"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":[]}}]}}]},"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"]},"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":[]},"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_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"]}}}]}}},"validator":{"fileFormatVersion":6,"address":"0x3","name":"validator","friends":[{"address":"0x3","name":"genesis"},{"address":"0x3","name":"sui_system_state_inner"},{"address":"0x3","name":"validator_set"},{"address":"0x3","name":"voting_power"}],"structs":{"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"]},"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"}}]},"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":{"new_from_unverified":{"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_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":[]}}}]}},"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","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":[]},"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_by_sui_address":{"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":[]}}]}}}]},"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":[]}}},"U64",{"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_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":{"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":[]}}}}],"return":[]},"total_voting_power":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]}}}}');
|
|
5753
|
+
const MODULES = JSON.parse('{"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"]}}},"staking_pool":{"fileFormatVersion":6,"address":"0x3","name":"staking_pool","friends":[{"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":[]}}}]}},"exposedFunctions":{"activate_staking_pool":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x3","module":"staking_pool","name":"StakingPool","typeArguments":[]}}},"U64"],"return":[]},"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"}]},"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":[]},"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"]}}}]}}},"validator":{"fileFormatVersion":6,"address":"0x3","name":"validator","friends":[{"address":"0x3","name":"genesis"},{"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":{"new_from_unverified":{"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_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":[]}}}]}},"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","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":[]},"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_by_sui_address":{"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":[]}}},"U64",{"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_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":{"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":[]}}}}],"return":[]},"total_voting_power":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]}}}}');
|
|
5354
5754
|
export function loadAllTypes(coder) {
|
|
5355
5755
|
_0x1.loadAllTypes(coder);
|
|
5356
5756
|
_0x2.loadAllTypes(coder);
|