@typemove/sui 1.0.0-rc.21 → 1.0.0-rc.23
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/Readme.md +128 -0
- package/builtin/package.json +5 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -0
- package/dist/cjs/builtin/0x1.js +2083 -0
- package/dist/cjs/builtin/0x1.js.map +1 -0
- package/dist/cjs/builtin/0x2.d.ts.map +1 -0
- package/dist/cjs/builtin/0x2.js +9641 -0
- package/dist/cjs/builtin/0x2.js.map +1 -0
- package/dist/cjs/builtin/0x3.d.ts.map +1 -0
- package/dist/cjs/builtin/0x3.js +2625 -0
- package/dist/cjs/builtin/0x3.js.map +1 -0
- package/dist/cjs/builtin/index.d.ts.map +1 -0
- package/dist/cjs/builtin/index.js +11 -0
- package/dist/cjs/builtin/index.js.map +1 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +10 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/models.d.ts.map +1 -0
- package/dist/cjs/models.js +8 -0
- package/dist/cjs/models.js.map +1 -0
- package/dist/cjs/move-coder.d.ts.map +1 -0
- package/dist/cjs/move-coder.js +104 -0
- package/dist/cjs/move-coder.js.map +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/sui-chain-adapter.d.ts.map +1 -0
- package/dist/cjs/sui-chain-adapter.js +86 -0
- package/dist/cjs/sui-chain-adapter.js.map +1 -0
- package/dist/cjs/to-internal.d.ts.map +1 -0
- package/dist/cjs/to-internal.js +85 -0
- package/dist/cjs/to-internal.js.map +1 -0
- package/dist/cjs/utils.d.ts.map +1 -0
- package/dist/cjs/utils.js +49 -0
- package/dist/cjs/utils.js.map +1 -0
- package/dist/esm/builtin/0x1.d.ts +495 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -0
- package/dist/esm/builtin/0x1.js.map +1 -0
- package/dist/esm/builtin/0x2.d.ts +2929 -0
- package/dist/esm/builtin/0x2.d.ts.map +1 -0
- package/dist/esm/builtin/0x2.js.map +1 -0
- package/dist/esm/builtin/0x3.d.ts +1207 -0
- package/dist/esm/builtin/0x3.d.ts.map +1 -0
- package/dist/esm/builtin/0x3.js.map +1 -0
- package/dist/esm/builtin/index.d.ts +4 -0
- package/dist/esm/builtin/index.d.ts.map +1 -0
- package/dist/esm/builtin/index.js.map +1 -0
- package/dist/esm/codegen/codegen.d.ts.map +1 -0
- package/dist/esm/codegen/codegen.js.map +1 -0
- package/dist/esm/codegen/index.d.ts.map +1 -0
- package/dist/esm/codegen/index.js.map +1 -0
- package/dist/{codegen → esm/codegen}/run.d.ts.map +1 -1
- package/dist/esm/codegen/run.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models.d.ts +12 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/move-coder.d.ts +16 -0
- package/dist/esm/move-coder.d.ts.map +1 -0
- package/dist/esm/move-coder.js.map +1 -0
- package/dist/esm/sui-chain-adapter.d.ts +12 -0
- package/dist/esm/sui-chain-adapter.d.ts.map +1 -0
- package/dist/esm/sui-chain-adapter.js.map +1 -0
- package/dist/esm/to-internal.d.ts +4 -0
- package/dist/esm/to-internal.d.ts.map +1 -0
- package/dist/esm/to-internal.js.map +1 -0
- package/dist/esm/utils.d.ts +15 -0
- package/dist/esm/utils.d.ts.map +1 -0
- package/dist/esm/utils.js.map +1 -0
- package/package.json +16 -8
- package/dist/builtin/0x1.d.ts.map +0 -1
- package/dist/builtin/0x1.js.map +0 -1
- package/dist/builtin/0x2.d.ts.map +0 -1
- package/dist/builtin/0x2.js.map +0 -1
- package/dist/builtin/0x3.d.ts.map +0 -1
- package/dist/builtin/0x3.js.map +0 -1
- package/dist/builtin/index.d.ts.map +0 -1
- package/dist/builtin/index.js.map +0 -1
- package/dist/codegen/codegen.d.ts.map +0 -1
- package/dist/codegen/codegen.js.map +0 -1
- package/dist/codegen/index.d.ts.map +0 -1
- package/dist/codegen/index.js.map +0 -1
- package/dist/codegen/run.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/models.d.ts.map +0 -1
- package/dist/models.js.map +0 -1
- package/dist/move-coder.d.ts.map +0 -1
- package/dist/move-coder.js.map +0 -1
- package/dist/sui-chain-adapter.d.ts.map +0 -1
- package/dist/sui-chain-adapter.js.map +0 -1
- package/dist/tests/move-call.test.d.ts +0 -2
- package/dist/tests/move-call.test.d.ts.map +0 -1
- package/dist/tests/move-call.test.js.map +0 -1
- package/dist/tests/move-coder.test.d.ts +0 -2
- package/dist/tests/move-coder.test.d.ts.map +0 -1
- package/dist/tests/move-coder.test.js.map +0 -1
- package/dist/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.d.ts +0 -96
- package/dist/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.d.ts.map +0 -1
- package/dist/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.js +0 -165
- package/dist/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.js.map +0 -1
- package/dist/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.d.ts +0 -769
- package/dist/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.d.ts.map +0 -1
- package/dist/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.js +0 -1544
- package/dist/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.js.map +0 -1
- package/dist/tests/types/testnet/0xdee9.d.ts +0 -1053
- package/dist/tests/types/testnet/0xdee9.d.ts.map +0 -1
- package/dist/tests/types/testnet/0xdee9.js +0 -1697
- package/dist/tests/types/testnet/0xdee9.js.map +0 -1
- package/dist/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.d.ts +0 -3249
- package/dist/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.d.ts.map +0 -1
- package/dist/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.js +0 -5476
- package/dist/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.js.map +0 -1
- package/dist/tests/types/testnet/index.d.ts +0 -5
- package/dist/tests/types/testnet/index.d.ts.map +0 -1
- package/dist/tests/types/testnet/index.js +0 -8
- package/dist/tests/types/testnet/index.js.map +0 -1
- package/dist/to-internal.d.ts.map +0 -1
- package/dist/to-internal.js.map +0 -1
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js.map +0 -1
- /package/dist/{builtin → cjs/builtin}/0x1.d.ts +0 -0
- /package/dist/{builtin → cjs/builtin}/0x2.d.ts +0 -0
- /package/dist/{builtin → cjs/builtin}/0x3.d.ts +0 -0
- /package/dist/{builtin → cjs/builtin}/index.d.ts +0 -0
- /package/dist/{index.d.ts → cjs/index.d.ts} +0 -0
- /package/dist/{models.d.ts → cjs/models.d.ts} +0 -0
- /package/dist/{move-coder.d.ts → cjs/move-coder.d.ts} +0 -0
- /package/dist/{sui-chain-adapter.d.ts → cjs/sui-chain-adapter.d.ts} +0 -0
- /package/dist/{to-internal.d.ts → cjs/to-internal.d.ts} +0 -0
- /package/dist/{utils.d.ts → cjs/utils.d.ts} +0 -0
- /package/dist/{builtin → esm/builtin}/0x1.js +0 -0
- /package/dist/{builtin → esm/builtin}/0x2.js +0 -0
- /package/dist/{builtin → esm/builtin}/0x3.js +0 -0
- /package/dist/{builtin → esm/builtin}/index.js +0 -0
- /package/dist/{codegen → esm/codegen}/codegen.d.ts +0 -0
- /package/dist/{codegen → esm/codegen}/codegen.js +0 -0
- /package/dist/{codegen → esm/codegen}/index.d.ts +0 -0
- /package/dist/{codegen → esm/codegen}/index.js +0 -0
- /package/dist/{codegen → esm/codegen}/run.d.ts +0 -0
- /package/dist/{codegen → esm/codegen}/run.js +0 -0
- /package/dist/{index.js → esm/index.js} +0 -0
- /package/dist/{models.js → esm/models.js} +0 -0
- /package/dist/{move-coder.js → esm/move-coder.js} +0 -0
- /package/dist/{sui-chain-adapter.js → esm/sui-chain-adapter.js} +0 -0
- /package/dist/{to-internal.js → esm/to-internal.js} +0 -0
- /package/dist/{utils.js → esm/utils.js} +0 -0
|
@@ -0,0 +1,1207 @@
|
|
|
1
|
+
import { TypeDescriptor } from "@typemove/move";
|
|
2
|
+
import { MoveCoder, TypedEventInstance } from "@typemove/sui";
|
|
3
|
+
import { TransactionBlock } from "@mysten/sui.js/transactions";
|
|
4
|
+
import { ObjectCallArg, TransactionArgument } from "@mysten/sui.js";
|
|
5
|
+
import { SuiClient } from "@mysten/sui.js/client";
|
|
6
|
+
import * as _0x1 from "./0x1.js";
|
|
7
|
+
import * as _0x2 from "./0x2.js";
|
|
8
|
+
export declare namespace genesis {
|
|
9
|
+
interface GenesisChainParameters {
|
|
10
|
+
protocol_version: bigint;
|
|
11
|
+
chain_start_timestamp_ms: bigint;
|
|
12
|
+
epoch_duration_ms: bigint;
|
|
13
|
+
stake_subsidy_start_epoch: bigint;
|
|
14
|
+
stake_subsidy_initial_distribution_amount: bigint;
|
|
15
|
+
stake_subsidy_period_length: bigint;
|
|
16
|
+
stake_subsidy_decrease_rate: number;
|
|
17
|
+
max_validator_count: bigint;
|
|
18
|
+
min_validator_joining_stake: bigint;
|
|
19
|
+
validator_low_stake_threshold: bigint;
|
|
20
|
+
validator_very_low_stake_threshold: bigint;
|
|
21
|
+
validator_low_stake_grace_period: bigint;
|
|
22
|
+
}
|
|
23
|
+
namespace GenesisChainParameters {
|
|
24
|
+
const TYPE_QNAME = "0x3::genesis::GenesisChainParameters";
|
|
25
|
+
function type(): TypeDescriptor<GenesisChainParameters>;
|
|
26
|
+
}
|
|
27
|
+
interface GenesisChainParametersInstance extends TypedEventInstance<GenesisChainParameters> {
|
|
28
|
+
data_decoded: GenesisChainParameters;
|
|
29
|
+
type_arguments: [];
|
|
30
|
+
}
|
|
31
|
+
interface GenesisValidatorMetadata {
|
|
32
|
+
name: number[];
|
|
33
|
+
description: number[];
|
|
34
|
+
image_url: number[];
|
|
35
|
+
project_url: number[];
|
|
36
|
+
sui_address: string;
|
|
37
|
+
gas_price: bigint;
|
|
38
|
+
commission_rate: bigint;
|
|
39
|
+
protocol_public_key: number[];
|
|
40
|
+
proof_of_possession: number[];
|
|
41
|
+
network_public_key: number[];
|
|
42
|
+
worker_public_key: number[];
|
|
43
|
+
network_address: number[];
|
|
44
|
+
p2p_address: number[];
|
|
45
|
+
primary_address: number[];
|
|
46
|
+
worker_address: number[];
|
|
47
|
+
}
|
|
48
|
+
namespace GenesisValidatorMetadata {
|
|
49
|
+
const TYPE_QNAME = "0x3::genesis::GenesisValidatorMetadata";
|
|
50
|
+
function type(): TypeDescriptor<GenesisValidatorMetadata>;
|
|
51
|
+
}
|
|
52
|
+
interface GenesisValidatorMetadataInstance extends TypedEventInstance<GenesisValidatorMetadata> {
|
|
53
|
+
data_decoded: GenesisValidatorMetadata;
|
|
54
|
+
type_arguments: [];
|
|
55
|
+
}
|
|
56
|
+
interface TokenAllocation {
|
|
57
|
+
recipient_address: string;
|
|
58
|
+
amount_mist: bigint;
|
|
59
|
+
staked_with_validator: _0x1.option.Option<string>;
|
|
60
|
+
}
|
|
61
|
+
namespace TokenAllocation {
|
|
62
|
+
const TYPE_QNAME = "0x3::genesis::TokenAllocation";
|
|
63
|
+
function type(): TypeDescriptor<TokenAllocation>;
|
|
64
|
+
}
|
|
65
|
+
interface TokenDistributionSchedule {
|
|
66
|
+
stake_subsidy_fund_mist: bigint;
|
|
67
|
+
allocations: genesis.TokenAllocation[];
|
|
68
|
+
}
|
|
69
|
+
namespace TokenDistributionSchedule {
|
|
70
|
+
const TYPE_QNAME = "0x3::genesis::TokenDistributionSchedule";
|
|
71
|
+
function type(): TypeDescriptor<TokenDistributionSchedule>;
|
|
72
|
+
}
|
|
73
|
+
namespace builder { }
|
|
74
|
+
namespace view { }
|
|
75
|
+
}
|
|
76
|
+
export declare namespace stake_subsidy {
|
|
77
|
+
interface StakeSubsidy {
|
|
78
|
+
balance: _0x2.balance.Balance<_0x2.sui.SUI>;
|
|
79
|
+
distribution_counter: bigint;
|
|
80
|
+
current_distribution_amount: bigint;
|
|
81
|
+
stake_subsidy_period_length: bigint;
|
|
82
|
+
stake_subsidy_decrease_rate: number;
|
|
83
|
+
extra_fields: _0x2.bag.Bag;
|
|
84
|
+
}
|
|
85
|
+
namespace StakeSubsidy {
|
|
86
|
+
const TYPE_QNAME = "0x3::stake_subsidy::StakeSubsidy";
|
|
87
|
+
function type(): TypeDescriptor<StakeSubsidy>;
|
|
88
|
+
}
|
|
89
|
+
namespace builder {
|
|
90
|
+
function currentEpochSubsidyAmount(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
91
|
+
}
|
|
92
|
+
namespace view {
|
|
93
|
+
function currentEpochSubsidyAmount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
export declare namespace staking_pool {
|
|
97
|
+
interface PoolTokenExchangeRate {
|
|
98
|
+
sui_amount: bigint;
|
|
99
|
+
pool_token_amount: bigint;
|
|
100
|
+
}
|
|
101
|
+
namespace PoolTokenExchangeRate {
|
|
102
|
+
const TYPE_QNAME = "0x3::staking_pool::PoolTokenExchangeRate";
|
|
103
|
+
function type(): TypeDescriptor<PoolTokenExchangeRate>;
|
|
104
|
+
}
|
|
105
|
+
interface PoolTokenExchangeRateInstance extends TypedEventInstance<PoolTokenExchangeRate> {
|
|
106
|
+
data_decoded: PoolTokenExchangeRate;
|
|
107
|
+
type_arguments: [];
|
|
108
|
+
}
|
|
109
|
+
interface StakedSui {
|
|
110
|
+
id: _0x2.object_.UID;
|
|
111
|
+
pool_id: _0x2.object_.ID;
|
|
112
|
+
stake_activation_epoch: bigint;
|
|
113
|
+
principal: _0x2.balance.Balance<_0x2.sui.SUI>;
|
|
114
|
+
}
|
|
115
|
+
namespace StakedSui {
|
|
116
|
+
const TYPE_QNAME = "0x3::staking_pool::StakedSui";
|
|
117
|
+
function type(): TypeDescriptor<StakedSui>;
|
|
118
|
+
}
|
|
119
|
+
interface StakingPool {
|
|
120
|
+
id: _0x2.object_.UID;
|
|
121
|
+
activation_epoch: _0x1.option.Option<bigint>;
|
|
122
|
+
deactivation_epoch: _0x1.option.Option<bigint>;
|
|
123
|
+
sui_balance: bigint;
|
|
124
|
+
rewards_pool: _0x2.balance.Balance<_0x2.sui.SUI>;
|
|
125
|
+
pool_token_balance: bigint;
|
|
126
|
+
exchange_rates: _0x2.table.Table<bigint, staking_pool.PoolTokenExchangeRate>;
|
|
127
|
+
pending_stake: bigint;
|
|
128
|
+
pending_total_sui_withdraw: bigint;
|
|
129
|
+
pending_pool_token_withdraw: bigint;
|
|
130
|
+
extra_fields: _0x2.bag.Bag;
|
|
131
|
+
}
|
|
132
|
+
namespace StakingPool {
|
|
133
|
+
const TYPE_QNAME = "0x3::staking_pool::StakingPool";
|
|
134
|
+
function type(): TypeDescriptor<StakingPool>;
|
|
135
|
+
}
|
|
136
|
+
namespace builder {
|
|
137
|
+
function isEqualStakingMetadata(tx: TransactionBlock, args: [
|
|
138
|
+
string | ObjectCallArg | TransactionArgument,
|
|
139
|
+
string | ObjectCallArg | TransactionArgument
|
|
140
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
141
|
+
function isInactive(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
142
|
+
function isPreactive(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
143
|
+
function joinStakedSui(tx: TransactionBlock, args: [
|
|
144
|
+
string | ObjectCallArg | TransactionArgument,
|
|
145
|
+
staking_pool.StakedSui | TransactionArgument
|
|
146
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
147
|
+
function pendingStakeAmount(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
148
|
+
function pendingStakeWithdrawAmount(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
149
|
+
function poolId(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
150
|
+
function poolTokenExchangeRateAtEpoch(tx: TransactionBlock, args: [
|
|
151
|
+
string | ObjectCallArg | TransactionArgument,
|
|
152
|
+
bigint | TransactionArgument
|
|
153
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
154
|
+
function split(tx: TransactionBlock, args: [
|
|
155
|
+
string | ObjectCallArg | TransactionArgument,
|
|
156
|
+
bigint | TransactionArgument,
|
|
157
|
+
string | ObjectCallArg | TransactionArgument
|
|
158
|
+
]): TransactionArgument & [
|
|
159
|
+
TransactionArgument,
|
|
160
|
+
TransactionArgument,
|
|
161
|
+
TransactionArgument
|
|
162
|
+
];
|
|
163
|
+
function splitStakedSui(tx: TransactionBlock, args: [
|
|
164
|
+
string | ObjectCallArg | TransactionArgument,
|
|
165
|
+
bigint | TransactionArgument,
|
|
166
|
+
string | ObjectCallArg | TransactionArgument
|
|
167
|
+
]): TransactionArgument & [
|
|
168
|
+
TransactionArgument,
|
|
169
|
+
TransactionArgument,
|
|
170
|
+
TransactionArgument
|
|
171
|
+
];
|
|
172
|
+
function stakeActivationEpoch(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
173
|
+
function stakedSuiAmount(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
174
|
+
function suiBalance(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
175
|
+
}
|
|
176
|
+
namespace view {
|
|
177
|
+
function isEqualStakingMetadata(client: SuiClient, args: [
|
|
178
|
+
string | ObjectCallArg | TransactionArgument,
|
|
179
|
+
string | ObjectCallArg | TransactionArgument
|
|
180
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
181
|
+
function isInactive(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
182
|
+
function isPreactive(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
183
|
+
function joinStakedSui(client: SuiClient, args: [
|
|
184
|
+
string | ObjectCallArg | TransactionArgument,
|
|
185
|
+
staking_pool.StakedSui | TransactionArgument
|
|
186
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
187
|
+
function pendingStakeAmount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
188
|
+
function pendingStakeWithdrawAmount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
189
|
+
function poolId(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
190
|
+
function poolTokenExchangeRateAtEpoch(client: SuiClient, args: [
|
|
191
|
+
string | ObjectCallArg | TransactionArgument,
|
|
192
|
+
bigint | TransactionArgument
|
|
193
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
194
|
+
function split(client: SuiClient, args: [
|
|
195
|
+
string | ObjectCallArg | TransactionArgument,
|
|
196
|
+
bigint | TransactionArgument,
|
|
197
|
+
string | ObjectCallArg | TransactionArgument
|
|
198
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
199
|
+
function splitStakedSui(client: SuiClient, args: [
|
|
200
|
+
string | ObjectCallArg | TransactionArgument,
|
|
201
|
+
bigint | TransactionArgument,
|
|
202
|
+
string | ObjectCallArg | TransactionArgument
|
|
203
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
204
|
+
function stakeActivationEpoch(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
205
|
+
function stakedSuiAmount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
206
|
+
function suiBalance(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
export declare namespace storage_fund {
|
|
210
|
+
interface StorageFund {
|
|
211
|
+
total_object_storage_rebates: _0x2.balance.Balance<_0x2.sui.SUI>;
|
|
212
|
+
non_refundable_balance: _0x2.balance.Balance<_0x2.sui.SUI>;
|
|
213
|
+
}
|
|
214
|
+
namespace StorageFund {
|
|
215
|
+
const TYPE_QNAME = "0x3::storage_fund::StorageFund";
|
|
216
|
+
function type(): TypeDescriptor<StorageFund>;
|
|
217
|
+
}
|
|
218
|
+
namespace builder {
|
|
219
|
+
function totalBalance(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
220
|
+
function totalObjectStorageRebates(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
221
|
+
}
|
|
222
|
+
namespace view {
|
|
223
|
+
function totalBalance(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
224
|
+
function totalObjectStorageRebates(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
export declare namespace sui_system {
|
|
228
|
+
interface SuiSystemState {
|
|
229
|
+
id: _0x2.object_.UID;
|
|
230
|
+
version: bigint;
|
|
231
|
+
}
|
|
232
|
+
namespace SuiSystemState {
|
|
233
|
+
const TYPE_QNAME = "0x3::sui_system::SuiSystemState";
|
|
234
|
+
function type(): TypeDescriptor<SuiSystemState>;
|
|
235
|
+
}
|
|
236
|
+
namespace builder {
|
|
237
|
+
function reportValidator(tx: TransactionBlock, args: [
|
|
238
|
+
string | ObjectCallArg | TransactionArgument,
|
|
239
|
+
string | ObjectCallArg | TransactionArgument,
|
|
240
|
+
string | TransactionArgument
|
|
241
|
+
]): TransactionArgument & [
|
|
242
|
+
TransactionArgument,
|
|
243
|
+
TransactionArgument,
|
|
244
|
+
TransactionArgument
|
|
245
|
+
];
|
|
246
|
+
function requestAddStake(tx: TransactionBlock, args: [
|
|
247
|
+
string | ObjectCallArg | TransactionArgument,
|
|
248
|
+
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
|
249
|
+
string | TransactionArgument,
|
|
250
|
+
string | ObjectCallArg | TransactionArgument
|
|
251
|
+
]): TransactionArgument & [
|
|
252
|
+
TransactionArgument,
|
|
253
|
+
TransactionArgument,
|
|
254
|
+
TransactionArgument,
|
|
255
|
+
TransactionArgument
|
|
256
|
+
];
|
|
257
|
+
function requestAddStakeMulCoin(tx: TransactionBlock, args: [
|
|
258
|
+
string | ObjectCallArg | TransactionArgument,
|
|
259
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
260
|
+
_0x1.option.Option<bigint> | TransactionArgument,
|
|
261
|
+
string | TransactionArgument,
|
|
262
|
+
string | ObjectCallArg | TransactionArgument
|
|
263
|
+
]): TransactionArgument & [
|
|
264
|
+
TransactionArgument,
|
|
265
|
+
TransactionArgument,
|
|
266
|
+
TransactionArgument,
|
|
267
|
+
TransactionArgument,
|
|
268
|
+
TransactionArgument
|
|
269
|
+
];
|
|
270
|
+
function requestAddValidator(tx: TransactionBlock, args: [
|
|
271
|
+
string | ObjectCallArg | TransactionArgument,
|
|
272
|
+
string | ObjectCallArg | TransactionArgument
|
|
273
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
274
|
+
function requestAddValidatorCandidate(tx: TransactionBlock, args: [
|
|
275
|
+
string | ObjectCallArg | TransactionArgument,
|
|
276
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
277
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
278
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
279
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
280
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
281
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
282
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
283
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
284
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
285
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
286
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
287
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
288
|
+
bigint | TransactionArgument,
|
|
289
|
+
bigint | TransactionArgument,
|
|
290
|
+
string | ObjectCallArg | TransactionArgument
|
|
291
|
+
]): TransactionArgument & [
|
|
292
|
+
TransactionArgument,
|
|
293
|
+
TransactionArgument,
|
|
294
|
+
TransactionArgument,
|
|
295
|
+
TransactionArgument,
|
|
296
|
+
TransactionArgument,
|
|
297
|
+
TransactionArgument,
|
|
298
|
+
TransactionArgument,
|
|
299
|
+
TransactionArgument,
|
|
300
|
+
TransactionArgument,
|
|
301
|
+
TransactionArgument,
|
|
302
|
+
TransactionArgument,
|
|
303
|
+
TransactionArgument,
|
|
304
|
+
TransactionArgument,
|
|
305
|
+
TransactionArgument,
|
|
306
|
+
TransactionArgument,
|
|
307
|
+
TransactionArgument
|
|
308
|
+
];
|
|
309
|
+
function requestRemoveValidator(tx: TransactionBlock, args: [
|
|
310
|
+
string | ObjectCallArg | TransactionArgument,
|
|
311
|
+
string | ObjectCallArg | TransactionArgument
|
|
312
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
313
|
+
function requestRemoveValidatorCandidate(tx: TransactionBlock, args: [
|
|
314
|
+
string | ObjectCallArg | TransactionArgument,
|
|
315
|
+
string | ObjectCallArg | TransactionArgument
|
|
316
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
317
|
+
function requestSetCommissionRate(tx: TransactionBlock, args: [
|
|
318
|
+
string | ObjectCallArg | TransactionArgument,
|
|
319
|
+
bigint | TransactionArgument,
|
|
320
|
+
string | ObjectCallArg | TransactionArgument
|
|
321
|
+
]): TransactionArgument & [
|
|
322
|
+
TransactionArgument,
|
|
323
|
+
TransactionArgument,
|
|
324
|
+
TransactionArgument
|
|
325
|
+
];
|
|
326
|
+
function requestSetGasPrice(tx: TransactionBlock, args: [
|
|
327
|
+
string | ObjectCallArg | TransactionArgument,
|
|
328
|
+
string | ObjectCallArg | TransactionArgument,
|
|
329
|
+
bigint | TransactionArgument
|
|
330
|
+
]): TransactionArgument & [
|
|
331
|
+
TransactionArgument,
|
|
332
|
+
TransactionArgument,
|
|
333
|
+
TransactionArgument
|
|
334
|
+
];
|
|
335
|
+
function requestWithdrawStake(tx: TransactionBlock, args: [
|
|
336
|
+
string | ObjectCallArg | TransactionArgument,
|
|
337
|
+
staking_pool.StakedSui | TransactionArgument,
|
|
338
|
+
string | ObjectCallArg | TransactionArgument
|
|
339
|
+
]): TransactionArgument & [
|
|
340
|
+
TransactionArgument,
|
|
341
|
+
TransactionArgument,
|
|
342
|
+
TransactionArgument
|
|
343
|
+
];
|
|
344
|
+
function rotateOperationCap(tx: TransactionBlock, args: [
|
|
345
|
+
string | ObjectCallArg | TransactionArgument,
|
|
346
|
+
string | ObjectCallArg | TransactionArgument
|
|
347
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
348
|
+
function setCandidateValidatorCommissionRate(tx: TransactionBlock, args: [
|
|
349
|
+
string | ObjectCallArg | TransactionArgument,
|
|
350
|
+
bigint | TransactionArgument,
|
|
351
|
+
string | ObjectCallArg | TransactionArgument
|
|
352
|
+
]): TransactionArgument & [
|
|
353
|
+
TransactionArgument,
|
|
354
|
+
TransactionArgument,
|
|
355
|
+
TransactionArgument
|
|
356
|
+
];
|
|
357
|
+
function setCandidateValidatorGasPrice(tx: TransactionBlock, args: [
|
|
358
|
+
string | ObjectCallArg | TransactionArgument,
|
|
359
|
+
string | ObjectCallArg | TransactionArgument,
|
|
360
|
+
bigint | TransactionArgument
|
|
361
|
+
]): TransactionArgument & [
|
|
362
|
+
TransactionArgument,
|
|
363
|
+
TransactionArgument,
|
|
364
|
+
TransactionArgument
|
|
365
|
+
];
|
|
366
|
+
function undoReportValidator(tx: TransactionBlock, args: [
|
|
367
|
+
string | ObjectCallArg | TransactionArgument,
|
|
368
|
+
string | ObjectCallArg | TransactionArgument,
|
|
369
|
+
string | TransactionArgument
|
|
370
|
+
]): TransactionArgument & [
|
|
371
|
+
TransactionArgument,
|
|
372
|
+
TransactionArgument,
|
|
373
|
+
TransactionArgument
|
|
374
|
+
];
|
|
375
|
+
function updateCandidateValidatorNetworkAddress(tx: TransactionBlock, args: [
|
|
376
|
+
string | ObjectCallArg | TransactionArgument,
|
|
377
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
378
|
+
string | ObjectCallArg | TransactionArgument
|
|
379
|
+
]): TransactionArgument & [
|
|
380
|
+
TransactionArgument,
|
|
381
|
+
TransactionArgument,
|
|
382
|
+
TransactionArgument
|
|
383
|
+
];
|
|
384
|
+
function updateCandidateValidatorNetworkPubkey(tx: TransactionBlock, args: [
|
|
385
|
+
string | ObjectCallArg | TransactionArgument,
|
|
386
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
387
|
+
string | ObjectCallArg | TransactionArgument
|
|
388
|
+
]): TransactionArgument & [
|
|
389
|
+
TransactionArgument,
|
|
390
|
+
TransactionArgument,
|
|
391
|
+
TransactionArgument
|
|
392
|
+
];
|
|
393
|
+
function updateCandidateValidatorP2pAddress(tx: TransactionBlock, args: [
|
|
394
|
+
string | ObjectCallArg | TransactionArgument,
|
|
395
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
396
|
+
string | ObjectCallArg | TransactionArgument
|
|
397
|
+
]): TransactionArgument & [
|
|
398
|
+
TransactionArgument,
|
|
399
|
+
TransactionArgument,
|
|
400
|
+
TransactionArgument
|
|
401
|
+
];
|
|
402
|
+
function updateCandidateValidatorPrimaryAddress(tx: TransactionBlock, args: [
|
|
403
|
+
string | ObjectCallArg | TransactionArgument,
|
|
404
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
405
|
+
string | ObjectCallArg | TransactionArgument
|
|
406
|
+
]): TransactionArgument & [
|
|
407
|
+
TransactionArgument,
|
|
408
|
+
TransactionArgument,
|
|
409
|
+
TransactionArgument
|
|
410
|
+
];
|
|
411
|
+
function updateCandidateValidatorProtocolPubkey(tx: TransactionBlock, args: [
|
|
412
|
+
string | ObjectCallArg | TransactionArgument,
|
|
413
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
414
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
415
|
+
string | ObjectCallArg | TransactionArgument
|
|
416
|
+
]): TransactionArgument & [
|
|
417
|
+
TransactionArgument,
|
|
418
|
+
TransactionArgument,
|
|
419
|
+
TransactionArgument,
|
|
420
|
+
TransactionArgument
|
|
421
|
+
];
|
|
422
|
+
function updateCandidateValidatorWorkerAddress(tx: TransactionBlock, args: [
|
|
423
|
+
string | ObjectCallArg | TransactionArgument,
|
|
424
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
425
|
+
string | ObjectCallArg | TransactionArgument
|
|
426
|
+
]): TransactionArgument & [
|
|
427
|
+
TransactionArgument,
|
|
428
|
+
TransactionArgument,
|
|
429
|
+
TransactionArgument
|
|
430
|
+
];
|
|
431
|
+
function updateCandidateValidatorWorkerPubkey(tx: TransactionBlock, args: [
|
|
432
|
+
string | ObjectCallArg | TransactionArgument,
|
|
433
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
434
|
+
string | ObjectCallArg | TransactionArgument
|
|
435
|
+
]): TransactionArgument & [
|
|
436
|
+
TransactionArgument,
|
|
437
|
+
TransactionArgument,
|
|
438
|
+
TransactionArgument
|
|
439
|
+
];
|
|
440
|
+
function updateValidatorDescription(tx: TransactionBlock, args: [
|
|
441
|
+
string | ObjectCallArg | TransactionArgument,
|
|
442
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
443
|
+
string | ObjectCallArg | TransactionArgument
|
|
444
|
+
]): TransactionArgument & [
|
|
445
|
+
TransactionArgument,
|
|
446
|
+
TransactionArgument,
|
|
447
|
+
TransactionArgument
|
|
448
|
+
];
|
|
449
|
+
function updateValidatorImageUrl(tx: TransactionBlock, args: [
|
|
450
|
+
string | ObjectCallArg | TransactionArgument,
|
|
451
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
452
|
+
string | ObjectCallArg | TransactionArgument
|
|
453
|
+
]): TransactionArgument & [
|
|
454
|
+
TransactionArgument,
|
|
455
|
+
TransactionArgument,
|
|
456
|
+
TransactionArgument
|
|
457
|
+
];
|
|
458
|
+
function updateValidatorName(tx: TransactionBlock, args: [
|
|
459
|
+
string | ObjectCallArg | TransactionArgument,
|
|
460
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
461
|
+
string | ObjectCallArg | TransactionArgument
|
|
462
|
+
]): TransactionArgument & [
|
|
463
|
+
TransactionArgument,
|
|
464
|
+
TransactionArgument,
|
|
465
|
+
TransactionArgument
|
|
466
|
+
];
|
|
467
|
+
function updateValidatorNextEpochNetworkAddress(tx: TransactionBlock, args: [
|
|
468
|
+
string | ObjectCallArg | TransactionArgument,
|
|
469
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
470
|
+
string | ObjectCallArg | TransactionArgument
|
|
471
|
+
]): TransactionArgument & [
|
|
472
|
+
TransactionArgument,
|
|
473
|
+
TransactionArgument,
|
|
474
|
+
TransactionArgument
|
|
475
|
+
];
|
|
476
|
+
function updateValidatorNextEpochNetworkPubkey(tx: TransactionBlock, args: [
|
|
477
|
+
string | ObjectCallArg | TransactionArgument,
|
|
478
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
479
|
+
string | ObjectCallArg | TransactionArgument
|
|
480
|
+
]): TransactionArgument & [
|
|
481
|
+
TransactionArgument,
|
|
482
|
+
TransactionArgument,
|
|
483
|
+
TransactionArgument
|
|
484
|
+
];
|
|
485
|
+
function updateValidatorNextEpochP2pAddress(tx: TransactionBlock, args: [
|
|
486
|
+
string | ObjectCallArg | TransactionArgument,
|
|
487
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
488
|
+
string | ObjectCallArg | TransactionArgument
|
|
489
|
+
]): TransactionArgument & [
|
|
490
|
+
TransactionArgument,
|
|
491
|
+
TransactionArgument,
|
|
492
|
+
TransactionArgument
|
|
493
|
+
];
|
|
494
|
+
function updateValidatorNextEpochPrimaryAddress(tx: TransactionBlock, args: [
|
|
495
|
+
string | ObjectCallArg | TransactionArgument,
|
|
496
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
497
|
+
string | ObjectCallArg | TransactionArgument
|
|
498
|
+
]): TransactionArgument & [
|
|
499
|
+
TransactionArgument,
|
|
500
|
+
TransactionArgument,
|
|
501
|
+
TransactionArgument
|
|
502
|
+
];
|
|
503
|
+
function updateValidatorNextEpochProtocolPubkey(tx: TransactionBlock, args: [
|
|
504
|
+
string | ObjectCallArg | TransactionArgument,
|
|
505
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
506
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
507
|
+
string | ObjectCallArg | TransactionArgument
|
|
508
|
+
]): TransactionArgument & [
|
|
509
|
+
TransactionArgument,
|
|
510
|
+
TransactionArgument,
|
|
511
|
+
TransactionArgument,
|
|
512
|
+
TransactionArgument
|
|
513
|
+
];
|
|
514
|
+
function updateValidatorNextEpochWorkerAddress(tx: TransactionBlock, args: [
|
|
515
|
+
string | ObjectCallArg | TransactionArgument,
|
|
516
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
517
|
+
string | ObjectCallArg | TransactionArgument
|
|
518
|
+
]): TransactionArgument & [
|
|
519
|
+
TransactionArgument,
|
|
520
|
+
TransactionArgument,
|
|
521
|
+
TransactionArgument
|
|
522
|
+
];
|
|
523
|
+
function updateValidatorNextEpochWorkerPubkey(tx: TransactionBlock, args: [
|
|
524
|
+
string | ObjectCallArg | TransactionArgument,
|
|
525
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
526
|
+
string | ObjectCallArg | TransactionArgument
|
|
527
|
+
]): TransactionArgument & [
|
|
528
|
+
TransactionArgument,
|
|
529
|
+
TransactionArgument,
|
|
530
|
+
TransactionArgument
|
|
531
|
+
];
|
|
532
|
+
function updateValidatorProjectUrl(tx: TransactionBlock, args: [
|
|
533
|
+
string | ObjectCallArg | TransactionArgument,
|
|
534
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
535
|
+
string | ObjectCallArg | TransactionArgument
|
|
536
|
+
]): TransactionArgument & [
|
|
537
|
+
TransactionArgument,
|
|
538
|
+
TransactionArgument,
|
|
539
|
+
TransactionArgument
|
|
540
|
+
];
|
|
541
|
+
}
|
|
542
|
+
namespace view {
|
|
543
|
+
function reportValidator(client: SuiClient, args: [
|
|
544
|
+
string | ObjectCallArg | TransactionArgument,
|
|
545
|
+
string | ObjectCallArg | TransactionArgument,
|
|
546
|
+
string | TransactionArgument
|
|
547
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
548
|
+
function requestAddStake(client: SuiClient, args: [
|
|
549
|
+
string | ObjectCallArg | TransactionArgument,
|
|
550
|
+
_0x2.coin.Coin<_0x2.sui.SUI> | TransactionArgument,
|
|
551
|
+
string | TransactionArgument,
|
|
552
|
+
string | ObjectCallArg | TransactionArgument
|
|
553
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
554
|
+
function requestAddStakeMulCoin(client: SuiClient, args: [
|
|
555
|
+
string | ObjectCallArg | TransactionArgument,
|
|
556
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
557
|
+
_0x1.option.Option<bigint> | TransactionArgument,
|
|
558
|
+
string | TransactionArgument,
|
|
559
|
+
string | ObjectCallArg | TransactionArgument
|
|
560
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
561
|
+
function requestAddValidator(client: SuiClient, args: [
|
|
562
|
+
string | ObjectCallArg | TransactionArgument,
|
|
563
|
+
string | ObjectCallArg | TransactionArgument
|
|
564
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
565
|
+
function requestAddValidatorCandidate(client: SuiClient, args: [
|
|
566
|
+
string | ObjectCallArg | TransactionArgument,
|
|
567
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
568
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
569
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
570
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
571
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
572
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
573
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
574
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
575
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
576
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
577
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
578
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
579
|
+
bigint | TransactionArgument,
|
|
580
|
+
bigint | TransactionArgument,
|
|
581
|
+
string | ObjectCallArg | TransactionArgument
|
|
582
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
583
|
+
function requestRemoveValidator(client: SuiClient, args: [
|
|
584
|
+
string | ObjectCallArg | TransactionArgument,
|
|
585
|
+
string | ObjectCallArg | TransactionArgument
|
|
586
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
587
|
+
function requestRemoveValidatorCandidate(client: SuiClient, args: [
|
|
588
|
+
string | ObjectCallArg | TransactionArgument,
|
|
589
|
+
string | ObjectCallArg | TransactionArgument
|
|
590
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
591
|
+
function requestSetCommissionRate(client: SuiClient, args: [
|
|
592
|
+
string | ObjectCallArg | TransactionArgument,
|
|
593
|
+
bigint | TransactionArgument,
|
|
594
|
+
string | ObjectCallArg | TransactionArgument
|
|
595
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
596
|
+
function requestSetGasPrice(client: SuiClient, args: [
|
|
597
|
+
string | ObjectCallArg | TransactionArgument,
|
|
598
|
+
string | ObjectCallArg | TransactionArgument,
|
|
599
|
+
bigint | TransactionArgument
|
|
600
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
601
|
+
function requestWithdrawStake(client: SuiClient, args: [
|
|
602
|
+
string | ObjectCallArg | TransactionArgument,
|
|
603
|
+
staking_pool.StakedSui | TransactionArgument,
|
|
604
|
+
string | ObjectCallArg | TransactionArgument
|
|
605
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
606
|
+
function rotateOperationCap(client: SuiClient, args: [
|
|
607
|
+
string | ObjectCallArg | TransactionArgument,
|
|
608
|
+
string | ObjectCallArg | TransactionArgument
|
|
609
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
610
|
+
function setCandidateValidatorCommissionRate(client: SuiClient, args: [
|
|
611
|
+
string | ObjectCallArg | TransactionArgument,
|
|
612
|
+
bigint | TransactionArgument,
|
|
613
|
+
string | ObjectCallArg | TransactionArgument
|
|
614
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
615
|
+
function setCandidateValidatorGasPrice(client: SuiClient, args: [
|
|
616
|
+
string | ObjectCallArg | TransactionArgument,
|
|
617
|
+
string | ObjectCallArg | TransactionArgument,
|
|
618
|
+
bigint | TransactionArgument
|
|
619
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
620
|
+
function undoReportValidator(client: SuiClient, args: [
|
|
621
|
+
string | ObjectCallArg | TransactionArgument,
|
|
622
|
+
string | ObjectCallArg | TransactionArgument,
|
|
623
|
+
string | TransactionArgument
|
|
624
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
625
|
+
function updateCandidateValidatorNetworkAddress(client: SuiClient, args: [
|
|
626
|
+
string | ObjectCallArg | TransactionArgument,
|
|
627
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
628
|
+
string | ObjectCallArg | TransactionArgument
|
|
629
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
630
|
+
function updateCandidateValidatorNetworkPubkey(client: SuiClient, args: [
|
|
631
|
+
string | ObjectCallArg | TransactionArgument,
|
|
632
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
633
|
+
string | ObjectCallArg | TransactionArgument
|
|
634
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
635
|
+
function updateCandidateValidatorP2pAddress(client: SuiClient, args: [
|
|
636
|
+
string | ObjectCallArg | TransactionArgument,
|
|
637
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
638
|
+
string | ObjectCallArg | TransactionArgument
|
|
639
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
640
|
+
function updateCandidateValidatorPrimaryAddress(client: SuiClient, args: [
|
|
641
|
+
string | ObjectCallArg | TransactionArgument,
|
|
642
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
643
|
+
string | ObjectCallArg | TransactionArgument
|
|
644
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
645
|
+
function updateCandidateValidatorProtocolPubkey(client: SuiClient, args: [
|
|
646
|
+
string | ObjectCallArg | TransactionArgument,
|
|
647
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
648
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
649
|
+
string | ObjectCallArg | TransactionArgument
|
|
650
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
651
|
+
function updateCandidateValidatorWorkerAddress(client: SuiClient, args: [
|
|
652
|
+
string | ObjectCallArg | TransactionArgument,
|
|
653
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
654
|
+
string | ObjectCallArg | TransactionArgument
|
|
655
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
656
|
+
function updateCandidateValidatorWorkerPubkey(client: SuiClient, args: [
|
|
657
|
+
string | ObjectCallArg | TransactionArgument,
|
|
658
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
659
|
+
string | ObjectCallArg | TransactionArgument
|
|
660
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
661
|
+
function updateValidatorDescription(client: SuiClient, args: [
|
|
662
|
+
string | ObjectCallArg | TransactionArgument,
|
|
663
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
664
|
+
string | ObjectCallArg | TransactionArgument
|
|
665
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
666
|
+
function updateValidatorImageUrl(client: SuiClient, args: [
|
|
667
|
+
string | ObjectCallArg | TransactionArgument,
|
|
668
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
669
|
+
string | ObjectCallArg | TransactionArgument
|
|
670
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
671
|
+
function updateValidatorName(client: SuiClient, args: [
|
|
672
|
+
string | ObjectCallArg | TransactionArgument,
|
|
673
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
674
|
+
string | ObjectCallArg | TransactionArgument
|
|
675
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
676
|
+
function updateValidatorNextEpochNetworkAddress(client: SuiClient, args: [
|
|
677
|
+
string | ObjectCallArg | TransactionArgument,
|
|
678
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
679
|
+
string | ObjectCallArg | TransactionArgument
|
|
680
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
681
|
+
function updateValidatorNextEpochNetworkPubkey(client: SuiClient, args: [
|
|
682
|
+
string | ObjectCallArg | TransactionArgument,
|
|
683
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
684
|
+
string | ObjectCallArg | TransactionArgument
|
|
685
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
686
|
+
function updateValidatorNextEpochP2pAddress(client: SuiClient, args: [
|
|
687
|
+
string | ObjectCallArg | TransactionArgument,
|
|
688
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
689
|
+
string | ObjectCallArg | TransactionArgument
|
|
690
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
691
|
+
function updateValidatorNextEpochPrimaryAddress(client: SuiClient, args: [
|
|
692
|
+
string | ObjectCallArg | TransactionArgument,
|
|
693
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
694
|
+
string | ObjectCallArg | TransactionArgument
|
|
695
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
696
|
+
function updateValidatorNextEpochProtocolPubkey(client: SuiClient, args: [
|
|
697
|
+
string | ObjectCallArg | TransactionArgument,
|
|
698
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
699
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
700
|
+
string | ObjectCallArg | TransactionArgument
|
|
701
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
702
|
+
function updateValidatorNextEpochWorkerAddress(client: SuiClient, args: [
|
|
703
|
+
string | ObjectCallArg | TransactionArgument,
|
|
704
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
705
|
+
string | ObjectCallArg | TransactionArgument
|
|
706
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
707
|
+
function updateValidatorNextEpochWorkerPubkey(client: SuiClient, args: [
|
|
708
|
+
string | ObjectCallArg | TransactionArgument,
|
|
709
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
710
|
+
string | ObjectCallArg | TransactionArgument
|
|
711
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
712
|
+
function updateValidatorProjectUrl(client: SuiClient, args: [
|
|
713
|
+
string | ObjectCallArg | TransactionArgument,
|
|
714
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
715
|
+
string | ObjectCallArg | TransactionArgument
|
|
716
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
export declare namespace sui_system_state_inner {
|
|
720
|
+
interface SuiSystemStateInner {
|
|
721
|
+
epoch: bigint;
|
|
722
|
+
protocol_version: bigint;
|
|
723
|
+
system_state_version: bigint;
|
|
724
|
+
validators: validator_set.ValidatorSet;
|
|
725
|
+
storage_fund: storage_fund.StorageFund;
|
|
726
|
+
parameters: sui_system_state_inner.SystemParameters;
|
|
727
|
+
reference_gas_price: bigint;
|
|
728
|
+
validator_report_records: _0x2.vec_map.VecMap<string, _0x2.vec_set.VecSet<string>>;
|
|
729
|
+
stake_subsidy: stake_subsidy.StakeSubsidy;
|
|
730
|
+
safe_mode: Boolean;
|
|
731
|
+
safe_mode_storage_rewards: _0x2.balance.Balance<_0x2.sui.SUI>;
|
|
732
|
+
safe_mode_computation_rewards: _0x2.balance.Balance<_0x2.sui.SUI>;
|
|
733
|
+
safe_mode_storage_rebates: bigint;
|
|
734
|
+
safe_mode_non_refundable_storage_fee: bigint;
|
|
735
|
+
epoch_start_timestamp_ms: bigint;
|
|
736
|
+
extra_fields: _0x2.bag.Bag;
|
|
737
|
+
}
|
|
738
|
+
namespace SuiSystemStateInner {
|
|
739
|
+
const TYPE_QNAME = "0x3::sui_system_state_inner::SuiSystemStateInner";
|
|
740
|
+
function type(): TypeDescriptor<SuiSystemStateInner>;
|
|
741
|
+
}
|
|
742
|
+
interface SuiSystemStateInnerV2 {
|
|
743
|
+
epoch: bigint;
|
|
744
|
+
protocol_version: bigint;
|
|
745
|
+
system_state_version: bigint;
|
|
746
|
+
validators: validator_set.ValidatorSet;
|
|
747
|
+
storage_fund: storage_fund.StorageFund;
|
|
748
|
+
parameters: sui_system_state_inner.SystemParametersV2;
|
|
749
|
+
reference_gas_price: bigint;
|
|
750
|
+
validator_report_records: _0x2.vec_map.VecMap<string, _0x2.vec_set.VecSet<string>>;
|
|
751
|
+
stake_subsidy: stake_subsidy.StakeSubsidy;
|
|
752
|
+
safe_mode: Boolean;
|
|
753
|
+
safe_mode_storage_rewards: _0x2.balance.Balance<_0x2.sui.SUI>;
|
|
754
|
+
safe_mode_computation_rewards: _0x2.balance.Balance<_0x2.sui.SUI>;
|
|
755
|
+
safe_mode_storage_rebates: bigint;
|
|
756
|
+
safe_mode_non_refundable_storage_fee: bigint;
|
|
757
|
+
epoch_start_timestamp_ms: bigint;
|
|
758
|
+
extra_fields: _0x2.bag.Bag;
|
|
759
|
+
}
|
|
760
|
+
namespace SuiSystemStateInnerV2 {
|
|
761
|
+
const TYPE_QNAME = "0x3::sui_system_state_inner::SuiSystemStateInnerV2";
|
|
762
|
+
function type(): TypeDescriptor<SuiSystemStateInnerV2>;
|
|
763
|
+
}
|
|
764
|
+
interface SystemEpochInfoEvent {
|
|
765
|
+
epoch: bigint;
|
|
766
|
+
protocol_version: bigint;
|
|
767
|
+
reference_gas_price: bigint;
|
|
768
|
+
total_stake: bigint;
|
|
769
|
+
storage_fund_reinvestment: bigint;
|
|
770
|
+
storage_charge: bigint;
|
|
771
|
+
storage_rebate: bigint;
|
|
772
|
+
storage_fund_balance: bigint;
|
|
773
|
+
stake_subsidy_amount: bigint;
|
|
774
|
+
total_gas_fees: bigint;
|
|
775
|
+
total_stake_rewards_distributed: bigint;
|
|
776
|
+
leftover_storage_fund_inflow: bigint;
|
|
777
|
+
}
|
|
778
|
+
namespace SystemEpochInfoEvent {
|
|
779
|
+
const TYPE_QNAME = "0x3::sui_system_state_inner::SystemEpochInfoEvent";
|
|
780
|
+
function type(): TypeDescriptor<SystemEpochInfoEvent>;
|
|
781
|
+
}
|
|
782
|
+
interface SystemEpochInfoEventInstance extends TypedEventInstance<SystemEpochInfoEvent> {
|
|
783
|
+
data_decoded: SystemEpochInfoEvent;
|
|
784
|
+
type_arguments: [];
|
|
785
|
+
}
|
|
786
|
+
interface SystemParameters {
|
|
787
|
+
epoch_duration_ms: bigint;
|
|
788
|
+
stake_subsidy_start_epoch: bigint;
|
|
789
|
+
max_validator_count: bigint;
|
|
790
|
+
min_validator_joining_stake: bigint;
|
|
791
|
+
validator_low_stake_threshold: bigint;
|
|
792
|
+
validator_very_low_stake_threshold: bigint;
|
|
793
|
+
validator_low_stake_grace_period: bigint;
|
|
794
|
+
extra_fields: _0x2.bag.Bag;
|
|
795
|
+
}
|
|
796
|
+
namespace SystemParameters {
|
|
797
|
+
const TYPE_QNAME = "0x3::sui_system_state_inner::SystemParameters";
|
|
798
|
+
function type(): TypeDescriptor<SystemParameters>;
|
|
799
|
+
}
|
|
800
|
+
interface SystemParametersV2 {
|
|
801
|
+
epoch_duration_ms: bigint;
|
|
802
|
+
stake_subsidy_start_epoch: bigint;
|
|
803
|
+
min_validator_count: bigint;
|
|
804
|
+
max_validator_count: bigint;
|
|
805
|
+
min_validator_joining_stake: bigint;
|
|
806
|
+
validator_low_stake_threshold: bigint;
|
|
807
|
+
validator_very_low_stake_threshold: bigint;
|
|
808
|
+
validator_low_stake_grace_period: bigint;
|
|
809
|
+
extra_fields: _0x2.bag.Bag;
|
|
810
|
+
}
|
|
811
|
+
namespace SystemParametersV2 {
|
|
812
|
+
const TYPE_QNAME = "0x3::sui_system_state_inner::SystemParametersV2";
|
|
813
|
+
function type(): TypeDescriptor<SystemParametersV2>;
|
|
814
|
+
}
|
|
815
|
+
namespace builder { }
|
|
816
|
+
namespace view { }
|
|
817
|
+
}
|
|
818
|
+
export declare namespace validator {
|
|
819
|
+
interface StakingRequestEvent {
|
|
820
|
+
pool_id: _0x2.object_.ID;
|
|
821
|
+
validator_address: string;
|
|
822
|
+
staker_address: string;
|
|
823
|
+
epoch: bigint;
|
|
824
|
+
amount: bigint;
|
|
825
|
+
}
|
|
826
|
+
namespace StakingRequestEvent {
|
|
827
|
+
const TYPE_QNAME = "0x3::validator::StakingRequestEvent";
|
|
828
|
+
function type(): TypeDescriptor<StakingRequestEvent>;
|
|
829
|
+
}
|
|
830
|
+
interface StakingRequestEventInstance extends TypedEventInstance<StakingRequestEvent> {
|
|
831
|
+
data_decoded: StakingRequestEvent;
|
|
832
|
+
type_arguments: [];
|
|
833
|
+
}
|
|
834
|
+
interface UnstakingRequestEvent {
|
|
835
|
+
pool_id: _0x2.object_.ID;
|
|
836
|
+
validator_address: string;
|
|
837
|
+
staker_address: string;
|
|
838
|
+
stake_activation_epoch: bigint;
|
|
839
|
+
unstaking_epoch: bigint;
|
|
840
|
+
principal_amount: bigint;
|
|
841
|
+
reward_amount: bigint;
|
|
842
|
+
}
|
|
843
|
+
namespace UnstakingRequestEvent {
|
|
844
|
+
const TYPE_QNAME = "0x3::validator::UnstakingRequestEvent";
|
|
845
|
+
function type(): TypeDescriptor<UnstakingRequestEvent>;
|
|
846
|
+
}
|
|
847
|
+
interface UnstakingRequestEventInstance extends TypedEventInstance<UnstakingRequestEvent> {
|
|
848
|
+
data_decoded: UnstakingRequestEvent;
|
|
849
|
+
type_arguments: [];
|
|
850
|
+
}
|
|
851
|
+
interface Validator {
|
|
852
|
+
metadata: validator.ValidatorMetadata;
|
|
853
|
+
voting_power: bigint;
|
|
854
|
+
operation_cap_id: _0x2.object_.ID;
|
|
855
|
+
gas_price: bigint;
|
|
856
|
+
staking_pool: staking_pool.StakingPool;
|
|
857
|
+
commission_rate: bigint;
|
|
858
|
+
next_epoch_stake: bigint;
|
|
859
|
+
next_epoch_gas_price: bigint;
|
|
860
|
+
next_epoch_commission_rate: bigint;
|
|
861
|
+
extra_fields: _0x2.bag.Bag;
|
|
862
|
+
}
|
|
863
|
+
namespace Validator {
|
|
864
|
+
const TYPE_QNAME = "0x3::validator::Validator";
|
|
865
|
+
function type(): TypeDescriptor<Validator>;
|
|
866
|
+
}
|
|
867
|
+
interface ValidatorMetadata {
|
|
868
|
+
sui_address: string;
|
|
869
|
+
protocol_pubkey_bytes: number[];
|
|
870
|
+
network_pubkey_bytes: number[];
|
|
871
|
+
worker_pubkey_bytes: number[];
|
|
872
|
+
proof_of_possession: number[];
|
|
873
|
+
name: string;
|
|
874
|
+
description: string;
|
|
875
|
+
image_url: _0x2.url.Url;
|
|
876
|
+
project_url: _0x2.url.Url;
|
|
877
|
+
net_address: string;
|
|
878
|
+
p2p_address: string;
|
|
879
|
+
primary_address: string;
|
|
880
|
+
worker_address: string;
|
|
881
|
+
next_epoch_protocol_pubkey_bytes: _0x1.option.Option<number[]>;
|
|
882
|
+
next_epoch_proof_of_possession: _0x1.option.Option<number[]>;
|
|
883
|
+
next_epoch_network_pubkey_bytes: _0x1.option.Option<number[]>;
|
|
884
|
+
next_epoch_worker_pubkey_bytes: _0x1.option.Option<number[]>;
|
|
885
|
+
next_epoch_net_address: _0x1.option.Option<string>;
|
|
886
|
+
next_epoch_p2p_address: _0x1.option.Option<string>;
|
|
887
|
+
next_epoch_primary_address: _0x1.option.Option<string>;
|
|
888
|
+
next_epoch_worker_address: _0x1.option.Option<string>;
|
|
889
|
+
extra_fields: _0x2.bag.Bag;
|
|
890
|
+
}
|
|
891
|
+
namespace ValidatorMetadata {
|
|
892
|
+
const TYPE_QNAME = "0x3::validator::ValidatorMetadata";
|
|
893
|
+
function type(): TypeDescriptor<ValidatorMetadata>;
|
|
894
|
+
}
|
|
895
|
+
namespace builder {
|
|
896
|
+
function commissionRate(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
897
|
+
function description(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
898
|
+
function gasPrice(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
899
|
+
function imageUrl(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
900
|
+
function isDuplicate(tx: TransactionBlock, args: [
|
|
901
|
+
string | ObjectCallArg | TransactionArgument,
|
|
902
|
+
string | ObjectCallArg | TransactionArgument
|
|
903
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
904
|
+
function isPreactive(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
905
|
+
function metadata(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
906
|
+
function name(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
907
|
+
function networkAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
908
|
+
function networkPubkeyBytes(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
909
|
+
function nextEpochGasPrice(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
910
|
+
function nextEpochNetworkAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
911
|
+
function nextEpochNetworkPubkeyBytes(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
912
|
+
function nextEpochP2pAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
913
|
+
function nextEpochPrimaryAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
914
|
+
function nextEpochProofOfPossession(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
915
|
+
function nextEpochProtocolPubkeyBytes(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
916
|
+
function nextEpochWorkerAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
917
|
+
function nextEpochWorkerPubkeyBytes(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
918
|
+
function operationCapId(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
919
|
+
function p2pAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
920
|
+
function pendingStakeAmount(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
921
|
+
function pendingStakeWithdrawAmount(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
922
|
+
function poolTokenExchangeRateAtEpoch(tx: TransactionBlock, args: [
|
|
923
|
+
string | ObjectCallArg | TransactionArgument,
|
|
924
|
+
bigint | TransactionArgument
|
|
925
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
926
|
+
function primaryAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
927
|
+
function projectUrl(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
928
|
+
function proofOfPossession(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
929
|
+
function protocolPubkeyBytes(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
930
|
+
function stakeAmount(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
931
|
+
function stakingPoolId(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
932
|
+
function suiAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
933
|
+
function totalStake(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
934
|
+
function totalStakeAmount(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
935
|
+
function validateMetadata(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
936
|
+
function validateMetadataBcs(tx: TransactionBlock, args: [(string | ObjectCallArg)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
937
|
+
function votingPower(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
938
|
+
function workerAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
939
|
+
function workerPubkeyBytes(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
940
|
+
}
|
|
941
|
+
namespace view {
|
|
942
|
+
function commissionRate(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
943
|
+
function description(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
944
|
+
function gasPrice(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
945
|
+
function imageUrl(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
946
|
+
function isDuplicate(client: SuiClient, args: [
|
|
947
|
+
string | ObjectCallArg | TransactionArgument,
|
|
948
|
+
string | ObjectCallArg | TransactionArgument
|
|
949
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
950
|
+
function isPreactive(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
951
|
+
function metadata(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
952
|
+
function name(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
953
|
+
function networkAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
954
|
+
function networkPubkeyBytes(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
955
|
+
function nextEpochGasPrice(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
956
|
+
function nextEpochNetworkAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
957
|
+
function nextEpochNetworkPubkeyBytes(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
958
|
+
function nextEpochP2pAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
959
|
+
function nextEpochPrimaryAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
960
|
+
function nextEpochProofOfPossession(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
961
|
+
function nextEpochProtocolPubkeyBytes(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
962
|
+
function nextEpochWorkerAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
963
|
+
function nextEpochWorkerPubkeyBytes(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
964
|
+
function operationCapId(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
965
|
+
function p2pAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
966
|
+
function pendingStakeAmount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
967
|
+
function pendingStakeWithdrawAmount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
968
|
+
function poolTokenExchangeRateAtEpoch(client: SuiClient, args: [
|
|
969
|
+
string | ObjectCallArg | TransactionArgument,
|
|
970
|
+
bigint | TransactionArgument
|
|
971
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
972
|
+
function primaryAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
973
|
+
function projectUrl(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
974
|
+
function proofOfPossession(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
975
|
+
function protocolPubkeyBytes(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
976
|
+
function stakeAmount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
977
|
+
function stakingPoolId(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
978
|
+
function suiAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
979
|
+
function totalStake(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
980
|
+
function totalStakeAmount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
981
|
+
function validateMetadata(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
982
|
+
function validateMetadataBcs(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
983
|
+
function votingPower(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
984
|
+
function workerAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
985
|
+
function workerPubkeyBytes(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
export declare namespace validator_cap {
|
|
989
|
+
interface UnverifiedValidatorOperationCap {
|
|
990
|
+
id: _0x2.object_.UID;
|
|
991
|
+
authorizer_validator_address: string;
|
|
992
|
+
}
|
|
993
|
+
namespace UnverifiedValidatorOperationCap {
|
|
994
|
+
const TYPE_QNAME = "0x3::validator_cap::UnverifiedValidatorOperationCap";
|
|
995
|
+
function type(): TypeDescriptor<UnverifiedValidatorOperationCap>;
|
|
996
|
+
}
|
|
997
|
+
interface ValidatorOperationCap {
|
|
998
|
+
authorizer_validator_address: string;
|
|
999
|
+
}
|
|
1000
|
+
namespace ValidatorOperationCap {
|
|
1001
|
+
const TYPE_QNAME = "0x3::validator_cap::ValidatorOperationCap";
|
|
1002
|
+
function type(): TypeDescriptor<ValidatorOperationCap>;
|
|
1003
|
+
}
|
|
1004
|
+
namespace builder { }
|
|
1005
|
+
namespace view { }
|
|
1006
|
+
}
|
|
1007
|
+
export declare namespace validator_set {
|
|
1008
|
+
interface ValidatorEpochInfoEvent {
|
|
1009
|
+
epoch: bigint;
|
|
1010
|
+
validator_address: string;
|
|
1011
|
+
reference_gas_survey_quote: bigint;
|
|
1012
|
+
stake: bigint;
|
|
1013
|
+
commission_rate: bigint;
|
|
1014
|
+
pool_staking_reward: bigint;
|
|
1015
|
+
storage_fund_staking_reward: bigint;
|
|
1016
|
+
pool_token_exchange_rate: staking_pool.PoolTokenExchangeRate;
|
|
1017
|
+
tallying_rule_reporters: string[];
|
|
1018
|
+
tallying_rule_global_score: bigint;
|
|
1019
|
+
}
|
|
1020
|
+
namespace ValidatorEpochInfoEvent {
|
|
1021
|
+
const TYPE_QNAME = "0x3::validator_set::ValidatorEpochInfoEvent";
|
|
1022
|
+
function type(): TypeDescriptor<ValidatorEpochInfoEvent>;
|
|
1023
|
+
}
|
|
1024
|
+
interface ValidatorEpochInfoEventInstance extends TypedEventInstance<ValidatorEpochInfoEvent> {
|
|
1025
|
+
data_decoded: ValidatorEpochInfoEvent;
|
|
1026
|
+
type_arguments: [];
|
|
1027
|
+
}
|
|
1028
|
+
interface ValidatorEpochInfoEventV2 {
|
|
1029
|
+
epoch: bigint;
|
|
1030
|
+
validator_address: string;
|
|
1031
|
+
reference_gas_survey_quote: bigint;
|
|
1032
|
+
stake: bigint;
|
|
1033
|
+
voting_power: bigint;
|
|
1034
|
+
commission_rate: bigint;
|
|
1035
|
+
pool_staking_reward: bigint;
|
|
1036
|
+
storage_fund_staking_reward: bigint;
|
|
1037
|
+
pool_token_exchange_rate: staking_pool.PoolTokenExchangeRate;
|
|
1038
|
+
tallying_rule_reporters: string[];
|
|
1039
|
+
tallying_rule_global_score: bigint;
|
|
1040
|
+
}
|
|
1041
|
+
namespace ValidatorEpochInfoEventV2 {
|
|
1042
|
+
const TYPE_QNAME = "0x3::validator_set::ValidatorEpochInfoEventV2";
|
|
1043
|
+
function type(): TypeDescriptor<ValidatorEpochInfoEventV2>;
|
|
1044
|
+
}
|
|
1045
|
+
interface ValidatorEpochInfoEventV2Instance extends TypedEventInstance<ValidatorEpochInfoEventV2> {
|
|
1046
|
+
data_decoded: ValidatorEpochInfoEventV2;
|
|
1047
|
+
type_arguments: [];
|
|
1048
|
+
}
|
|
1049
|
+
interface ValidatorJoinEvent {
|
|
1050
|
+
epoch: bigint;
|
|
1051
|
+
validator_address: string;
|
|
1052
|
+
staking_pool_id: _0x2.object_.ID;
|
|
1053
|
+
}
|
|
1054
|
+
namespace ValidatorJoinEvent {
|
|
1055
|
+
const TYPE_QNAME = "0x3::validator_set::ValidatorJoinEvent";
|
|
1056
|
+
function type(): TypeDescriptor<ValidatorJoinEvent>;
|
|
1057
|
+
}
|
|
1058
|
+
interface ValidatorJoinEventInstance extends TypedEventInstance<ValidatorJoinEvent> {
|
|
1059
|
+
data_decoded: ValidatorJoinEvent;
|
|
1060
|
+
type_arguments: [];
|
|
1061
|
+
}
|
|
1062
|
+
interface ValidatorLeaveEvent {
|
|
1063
|
+
epoch: bigint;
|
|
1064
|
+
validator_address: string;
|
|
1065
|
+
staking_pool_id: _0x2.object_.ID;
|
|
1066
|
+
is_voluntary: Boolean;
|
|
1067
|
+
}
|
|
1068
|
+
namespace ValidatorLeaveEvent {
|
|
1069
|
+
const TYPE_QNAME = "0x3::validator_set::ValidatorLeaveEvent";
|
|
1070
|
+
function type(): TypeDescriptor<ValidatorLeaveEvent>;
|
|
1071
|
+
}
|
|
1072
|
+
interface ValidatorLeaveEventInstance extends TypedEventInstance<ValidatorLeaveEvent> {
|
|
1073
|
+
data_decoded: ValidatorLeaveEvent;
|
|
1074
|
+
type_arguments: [];
|
|
1075
|
+
}
|
|
1076
|
+
interface ValidatorSet {
|
|
1077
|
+
total_stake: bigint;
|
|
1078
|
+
active_validators: validator.Validator[];
|
|
1079
|
+
pending_active_validators: _0x2.table_vec.TableVec<validator.Validator>;
|
|
1080
|
+
pending_removals: bigint[];
|
|
1081
|
+
staking_pool_mappings: _0x2.table.Table<_0x2.object_.ID, string>;
|
|
1082
|
+
inactive_validators: _0x2.table.Table<_0x2.object_.ID, validator_wrapper.ValidatorWrapper>;
|
|
1083
|
+
validator_candidates: _0x2.table.Table<string, validator_wrapper.ValidatorWrapper>;
|
|
1084
|
+
at_risk_validators: _0x2.vec_map.VecMap<string, bigint>;
|
|
1085
|
+
extra_fields: _0x2.bag.Bag;
|
|
1086
|
+
}
|
|
1087
|
+
namespace ValidatorSet {
|
|
1088
|
+
const TYPE_QNAME = "0x3::validator_set::ValidatorSet";
|
|
1089
|
+
function type(): TypeDescriptor<ValidatorSet>;
|
|
1090
|
+
}
|
|
1091
|
+
namespace builder {
|
|
1092
|
+
function activeValidators(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1093
|
+
function deriveReferenceGasPrice(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1094
|
+
function getActiveValidatorRef(tx: TransactionBlock, args: [
|
|
1095
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1096
|
+
string | TransactionArgument
|
|
1097
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1098
|
+
function getPendingValidatorRef(tx: TransactionBlock, args: [
|
|
1099
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1100
|
+
string | TransactionArgument
|
|
1101
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1102
|
+
function isInactiveValidator(tx: TransactionBlock, args: [
|
|
1103
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1104
|
+
_0x2.object_.ID | TransactionArgument
|
|
1105
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1106
|
+
function isValidatorCandidate(tx: TransactionBlock, args: [
|
|
1107
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1108
|
+
string | TransactionArgument
|
|
1109
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1110
|
+
function stakingPoolMappings(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1111
|
+
function sumVotingPowerByAddresses(tx: TransactionBlock, args: [
|
|
1112
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1113
|
+
string | ObjectCallArg | TransactionArgument
|
|
1114
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1115
|
+
function totalStake(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1116
|
+
function validatorStakeAmount(tx: TransactionBlock, args: [
|
|
1117
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1118
|
+
string | TransactionArgument
|
|
1119
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1120
|
+
function validatorStakingPoolId(tx: TransactionBlock, args: [
|
|
1121
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1122
|
+
string | TransactionArgument
|
|
1123
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1124
|
+
function validatorTotalStakeAmount(tx: TransactionBlock, args: [
|
|
1125
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1126
|
+
string | TransactionArgument
|
|
1127
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1128
|
+
}
|
|
1129
|
+
namespace view {
|
|
1130
|
+
function activeValidators(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1131
|
+
function deriveReferenceGasPrice(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1132
|
+
function getActiveValidatorRef(client: SuiClient, args: [
|
|
1133
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1134
|
+
string | TransactionArgument
|
|
1135
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1136
|
+
function getPendingValidatorRef(client: SuiClient, args: [
|
|
1137
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1138
|
+
string | TransactionArgument
|
|
1139
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1140
|
+
function isInactiveValidator(client: SuiClient, args: [
|
|
1141
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1142
|
+
_0x2.object_.ID | TransactionArgument
|
|
1143
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1144
|
+
function isValidatorCandidate(client: SuiClient, args: [
|
|
1145
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1146
|
+
string | TransactionArgument
|
|
1147
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1148
|
+
function stakingPoolMappings(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1149
|
+
function sumVotingPowerByAddresses(client: SuiClient, args: [
|
|
1150
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1151
|
+
string | ObjectCallArg | TransactionArgument
|
|
1152
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1153
|
+
function totalStake(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1154
|
+
function validatorStakeAmount(client: SuiClient, args: [
|
|
1155
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1156
|
+
string | TransactionArgument
|
|
1157
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1158
|
+
function validatorStakingPoolId(client: SuiClient, args: [
|
|
1159
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1160
|
+
string | TransactionArgument
|
|
1161
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1162
|
+
function validatorTotalStakeAmount(client: SuiClient, args: [
|
|
1163
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1164
|
+
string | TransactionArgument
|
|
1165
|
+
]): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
export declare namespace validator_wrapper {
|
|
1169
|
+
interface ValidatorWrapper {
|
|
1170
|
+
inner: _0x2.versioned.Versioned;
|
|
1171
|
+
}
|
|
1172
|
+
namespace ValidatorWrapper {
|
|
1173
|
+
const TYPE_QNAME = "0x3::validator_wrapper::ValidatorWrapper";
|
|
1174
|
+
function type(): TypeDescriptor<ValidatorWrapper>;
|
|
1175
|
+
}
|
|
1176
|
+
namespace builder { }
|
|
1177
|
+
namespace view { }
|
|
1178
|
+
}
|
|
1179
|
+
export declare namespace voting_power {
|
|
1180
|
+
interface VotingPowerInfo {
|
|
1181
|
+
validator_index: bigint;
|
|
1182
|
+
voting_power: bigint;
|
|
1183
|
+
}
|
|
1184
|
+
namespace VotingPowerInfo {
|
|
1185
|
+
const TYPE_QNAME = "0x3::voting_power::VotingPowerInfo";
|
|
1186
|
+
function type(): TypeDescriptor<VotingPowerInfo>;
|
|
1187
|
+
}
|
|
1188
|
+
interface VotingPowerInfoV2 {
|
|
1189
|
+
validator_index: bigint;
|
|
1190
|
+
voting_power: bigint;
|
|
1191
|
+
stake: bigint;
|
|
1192
|
+
}
|
|
1193
|
+
namespace VotingPowerInfoV2 {
|
|
1194
|
+
const TYPE_QNAME = "0x3::voting_power::VotingPowerInfoV2";
|
|
1195
|
+
function type(): TypeDescriptor<VotingPowerInfoV2>;
|
|
1196
|
+
}
|
|
1197
|
+
namespace builder {
|
|
1198
|
+
function quorumThreshold(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
1199
|
+
function totalVotingPower(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
1200
|
+
}
|
|
1201
|
+
namespace view {
|
|
1202
|
+
function quorumThreshold(client: SuiClient, args: []): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1203
|
+
function totalVotingPower(client: SuiClient, args: []): Promise<import("@mysten/sui.js/dist/cjs/client/index.js").DevInspectResults>;
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
export declare function loadAllTypes(coder: MoveCoder): void;
|
|
1207
|
+
//# sourceMappingURL=0x3.d.ts.map
|