@sentio/sdk 3.3.0 → 3.4.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/builtin/0x1.d.ts +111 -0
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +131 -1
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.js +1 -1
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.js +1 -1
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/iota/builtin/0x2.d.ts +573 -0
- package/lib/iota/builtin/0x2.d.ts.map +1 -1
- package/lib/iota/builtin/0x2.js +3905 -1823
- package/lib/iota/builtin/0x2.js.map +1 -1
- package/lib/iota/builtin/0x3.d.ts +46 -7
- package/lib/iota/builtin/0x3.d.ts.map +1 -1
- package/lib/iota/builtin/0x3.js +16 -7
- package/lib/iota/builtin/0x3.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +354 -197
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +1599 -67
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +1130 -623
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +2105 -79
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +305 -269
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +92 -1
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/context.d.ts +4 -4
- package/lib/sui/context.d.ts.map +1 -1
- package/lib/sui/ext/move-dex.d.ts +1 -1
- package/lib/sui/ext/move-dex.d.ts.map +1 -1
- package/lib/sui/models.d.ts +1 -1
- package/lib/sui/models.d.ts.map +1 -1
- package/lib/sui/network.d.ts +2 -2
- package/lib/sui/network.d.ts.map +1 -1
- package/lib/sui/network.js +13 -2
- package/lib/sui/network.js.map +1 -1
- package/lib/sui/sui-object-processor-template.d.ts +1 -1
- package/lib/sui/sui-object-processor-template.d.ts.map +1 -1
- package/lib/sui/sui-object-processor.d.ts +1 -1
- package/lib/sui/sui-object-processor.d.ts.map +1 -1
- package/lib/sui/sui-processor.d.ts +1 -1
- package/lib/sui/sui-processor.d.ts.map +1 -1
- package/lib/sui/utils.d.ts +1 -1
- package/lib/sui/utils.d.ts.map +1 -1
- package/lib/testing/sui-facet.d.ts +1 -1
- package/lib/testing/sui-facet.d.ts.map +1 -1
- package/package.json +11 -11
- package/src/aptos/abis/0x1.json +1694 -323
- package/src/aptos/abis/0x3.json +75 -5
- package/src/aptos/abis/0x4.json +48 -20
- package/src/aptos/builtin/0x1.ts +233 -1
- package/src/aptos/builtin/0x3.ts +1 -1
- package/src/aptos/builtin/0x4.ts +1 -1
- package/src/iota/abis/0x2.json +8847 -5376
- package/src/iota/abis/0x3.json +25 -2
- package/src/iota/builtin/0x2.ts +4722 -1344
- package/src/iota/builtin/0x3.ts +60 -11
- package/src/sui/abis/0x1.json +1643 -220
- package/src/sui/abis/0x2.json +3768 -372
- package/src/sui/abis/0x3.json +114 -0
- package/src/sui/builtin/0x1.ts +2448 -333
- package/src/sui/builtin/0x2.ts +4356 -1214
- package/src/sui/builtin/0x3.ts +449 -270
- package/src/sui/codegen/codegen.ts +1 -1
- package/src/sui/context.ts +5 -5
- package/src/sui/ext/coin.ts +1 -1
- package/src/sui/ext/move-dex.ts +1 -1
- package/src/sui/models.ts +1 -1
- package/src/sui/network.ts +11 -3
- package/src/sui/sui-object-processor-template.ts +1 -1
- package/src/sui/sui-object-processor.ts +1 -1
- package/src/sui/sui-processor.ts +1 -1
- package/src/sui/utils.ts +1 -1
- package/src/testing/sui-facet.ts +1 -1
package/lib/sui/builtin/0x3.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { TypeDescriptor } from "@typemove/move";
|
|
|
2
2
|
import { MoveCoder, TypedEventInstance } from "@typemove/sui";
|
|
3
3
|
import { TypedDevInspectResults } from "@typemove/sui";
|
|
4
4
|
import { Transaction, TransactionArgument, TransactionObjectArgument } from "@mysten/sui/transactions";
|
|
5
|
-
import {
|
|
5
|
+
import { SuiJsonRpcClient } from "@mysten/sui/jsonRpc";
|
|
6
6
|
import { CallFilter, MoveFetchConfig, EventFilter } from "@sentio/sdk/move";
|
|
7
7
|
import { HandlerOptions } from "@sentio/sdk";
|
|
8
8
|
import { SuiBindOptions, SuiBaseProcessor, TypedFunctionPayload, SuiContext } from "@sentio/sdk/sui";
|
|
@@ -113,10 +113,10 @@ export declare namespace stake_subsidy {
|
|
|
113
113
|
function getDistributionCounter(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
114
114
|
}
|
|
115
115
|
namespace view {
|
|
116
|
-
function advanceEpoch(client:
|
|
117
|
-
function create(client:
|
|
118
|
-
function currentEpochSubsidyAmount(client:
|
|
119
|
-
function getDistributionCounter(client:
|
|
116
|
+
function advanceEpoch(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
117
|
+
function create(client: SuiJsonRpcClient, args: [_0x2.balance.Balance<_0x2.sui.SUI>, bigint, bigint, number]): Promise<TypedDevInspectResults<[stake_subsidy.StakeSubsidy]>>;
|
|
118
|
+
function currentEpochSubsidyAmount(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
119
|
+
function getDistributionCounter(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
export declare class staking_pool extends SuiBaseProcessor {
|
|
@@ -285,39 +285,39 @@ export declare namespace staking_pool {
|
|
|
285
285
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
286
286
|
}
|
|
287
287
|
namespace view {
|
|
288
|
-
function activateStakingPool(client:
|
|
289
|
-
function activationEpoch(client:
|
|
290
|
-
function calculateRewards(client:
|
|
291
|
-
function convertToFungibleStakedSui(client:
|
|
292
|
-
function deactivateStakingPool(client:
|
|
293
|
-
function depositRewards(client:
|
|
294
|
-
function exchangeRates(client:
|
|
295
|
-
function fungibleStakedSuiPoolId(client:
|
|
296
|
-
function fungibleStakedSuiValue(client:
|
|
297
|
-
function isEqualStakingMetadata(client:
|
|
298
|
-
function isInactive(client:
|
|
299
|
-
function isPreactive(client:
|
|
300
|
-
function joinFungibleStakedSui(client:
|
|
301
|
-
function joinStakedSui(client:
|
|
302
|
-
function new$(client:
|
|
303
|
-
function pendingStakeAmount(client:
|
|
304
|
-
function pendingStakeWithdrawAmount(client:
|
|
305
|
-
function poolId(client:
|
|
306
|
-
function poolTokenAmount(client:
|
|
307
|
-
function poolTokenExchangeRateAtEpoch(client:
|
|
308
|
-
function processPendingStake(client:
|
|
309
|
-
function processPendingStakesAndWithdraws(client:
|
|
310
|
-
function redeemFungibleStakedSui(client:
|
|
311
|
-
function requestAddStake(client:
|
|
312
|
-
function requestWithdrawStake(client:
|
|
313
|
-
function split(client:
|
|
314
|
-
function splitFungibleStakedSui(client:
|
|
315
|
-
function splitStakedSui(client:
|
|
316
|
-
function stakeActivationEpoch(client:
|
|
317
|
-
function stakedSuiAmount(client:
|
|
318
|
-
function suiAmount(client:
|
|
319
|
-
function suiBalance(client:
|
|
320
|
-
function withdrawFromPrincipal(client:
|
|
288
|
+
function activateStakingPool(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
289
|
+
function activationEpoch(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
|
290
|
+
function calculateRewards(client: SuiJsonRpcClient, args: [string, string, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
291
|
+
function convertToFungibleStakedSui(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>>;
|
|
292
|
+
function deactivateStakingPool(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
293
|
+
function depositRewards(client: SuiJsonRpcClient, args: [string, _0x2.balance.Balance<_0x2.sui.SUI>]): Promise<TypedDevInspectResults<[]>>;
|
|
294
|
+
function exchangeRates(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
295
|
+
function fungibleStakedSuiPoolId(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[_0x2.object$.ID]>>;
|
|
296
|
+
function fungibleStakedSuiValue(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
297
|
+
function isEqualStakingMetadata(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
298
|
+
function isInactive(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
299
|
+
function isPreactive(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
300
|
+
function joinFungibleStakedSui(client: SuiJsonRpcClient, args: [string, staking_pool.FungibleStakedSui]): Promise<TypedDevInspectResults<[]>>;
|
|
301
|
+
function joinStakedSui(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[]>>;
|
|
302
|
+
function new$(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[staking_pool.StakingPool]>>;
|
|
303
|
+
function pendingStakeAmount(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
304
|
+
function pendingStakeWithdrawAmount(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
305
|
+
function poolId(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[_0x2.object$.ID]>>;
|
|
306
|
+
function poolTokenAmount(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
307
|
+
function poolTokenExchangeRateAtEpoch(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[staking_pool.PoolTokenExchangeRate]>>;
|
|
308
|
+
function processPendingStake(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
309
|
+
function processPendingStakesAndWithdraws(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
310
|
+
function redeemFungibleStakedSui(client: SuiJsonRpcClient, args: [string, staking_pool.FungibleStakedSui]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
311
|
+
function requestAddStake(client: SuiJsonRpcClient, args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, bigint]): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>>;
|
|
312
|
+
function requestWithdrawStake(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
313
|
+
function split(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>>;
|
|
314
|
+
function splitFungibleStakedSui(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>>;
|
|
315
|
+
function splitStakedSui(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
316
|
+
function stakeActivationEpoch(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
317
|
+
function stakedSuiAmount(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
318
|
+
function suiAmount(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
319
|
+
function suiBalance(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
320
|
+
function withdrawFromPrincipal(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[bigint, _0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
321
321
|
}
|
|
322
322
|
interface JoinStakedSuiPayload extends TypedFunctionPayload<[string, staking_pool.StakedSui]> {
|
|
323
323
|
arguments_decoded: [string, staking_pool.StakedSui];
|
|
@@ -358,7 +358,7 @@ export declare namespace storage_fund {
|
|
|
358
358
|
function totalObjectStorageRebates(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
359
359
|
}
|
|
360
360
|
namespace view {
|
|
361
|
-
function advanceEpoch(client:
|
|
361
|
+
function advanceEpoch(client: SuiJsonRpcClient, args: [
|
|
362
362
|
string,
|
|
363
363
|
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
364
364
|
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
@@ -366,9 +366,9 @@ export declare namespace storage_fund {
|
|
|
366
366
|
bigint,
|
|
367
367
|
bigint
|
|
368
368
|
]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
369
|
-
function new$(client:
|
|
370
|
-
function totalBalance(client:
|
|
371
|
-
function totalObjectStorageRebates(client:
|
|
369
|
+
function new$(client: SuiJsonRpcClient, args: [_0x2.balance.Balance<_0x2.sui.SUI>]): Promise<TypedDevInspectResults<[storage_fund.StorageFund]>>;
|
|
370
|
+
function totalBalance(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
371
|
+
function totalObjectStorageRebates(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
export declare class sui_system extends SuiBaseProcessor {
|
|
@@ -407,8 +407,20 @@ export declare class sui_system extends SuiBaseProcessor {
|
|
|
407
407
|
onEntryUpdateValidatorNextEpochWorkerAddress(func: (call: sui_system.UpdateValidatorNextEpochWorkerAddressPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, sui_system.UpdateValidatorNextEpochWorkerAddressPayload>): sui_system;
|
|
408
408
|
onEntryUpdateValidatorNextEpochWorkerPubkey(func: (call: sui_system.UpdateValidatorNextEpochWorkerPubkeyPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, sui_system.UpdateValidatorNextEpochWorkerPubkeyPayload>): sui_system;
|
|
409
409
|
onEntryUpdateValidatorProjectUrl(func: (call: sui_system.UpdateValidatorProjectUrlPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, sui_system.UpdateValidatorProjectUrlPayload>): sui_system;
|
|
410
|
+
onEventAccumulatorStorageCostKey(func: (event: sui_system.AccumulatorStorageCostKeyInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, sui_system.AccumulatorStorageCostKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): sui_system;
|
|
410
411
|
}
|
|
411
412
|
export declare namespace sui_system {
|
|
413
|
+
interface AccumulatorStorageCostKey {
|
|
414
|
+
dummy_field: boolean;
|
|
415
|
+
}
|
|
416
|
+
namespace AccumulatorStorageCostKey {
|
|
417
|
+
const TYPE_QNAME = "0x3::sui_system::AccumulatorStorageCostKey";
|
|
418
|
+
function type(): TypeDescriptor<AccumulatorStorageCostKey>;
|
|
419
|
+
}
|
|
420
|
+
type AccumulatorStorageCostKeyInstance = TypedEventInstance<AccumulatorStorageCostKey> & {
|
|
421
|
+
data_decoded: AccumulatorStorageCostKey;
|
|
422
|
+
type_arguments: [];
|
|
423
|
+
};
|
|
412
424
|
interface SuiSystemState {
|
|
413
425
|
id: _0x2.object$.UID;
|
|
414
426
|
version: bigint;
|
|
@@ -654,12 +666,12 @@ export declare namespace sui_system {
|
|
|
654
666
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
655
667
|
}
|
|
656
668
|
namespace view {
|
|
657
|
-
function activeValidatorAddresses(client:
|
|
658
|
-
function activeValidatorAddressesRef(client:
|
|
659
|
-
function activeValidatorVotingPowers(client:
|
|
660
|
-
function calculateRewards(client:
|
|
661
|
-
function convertToFungibleStakedSui(client:
|
|
662
|
-
function create(client:
|
|
669
|
+
function activeValidatorAddresses(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string[]]>>;
|
|
670
|
+
function activeValidatorAddressesRef(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string[]]>>;
|
|
671
|
+
function activeValidatorVotingPowers(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[_0x2.vec_map.VecMap<string, bigint>]>>;
|
|
672
|
+
function calculateRewards(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
673
|
+
function convertToFungibleStakedSui(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>>;
|
|
674
|
+
function create(client: SuiJsonRpcClient, args: [
|
|
663
675
|
_0x2.object$.UID,
|
|
664
676
|
string[],
|
|
665
677
|
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
@@ -668,14 +680,14 @@ export declare namespace sui_system {
|
|
|
668
680
|
sui_system_state_inner.SystemParameters,
|
|
669
681
|
stake_subsidy.StakeSubsidy
|
|
670
682
|
]): Promise<TypedDevInspectResults<[]>>;
|
|
671
|
-
function poolExchangeRates(client:
|
|
672
|
-
function redeemFungibleStakedSui(client:
|
|
673
|
-
function reportValidator(client:
|
|
674
|
-
function requestAddStake(client:
|
|
675
|
-
function requestAddStakeMulCoin(client:
|
|
676
|
-
function requestAddStakeNonEntry(client:
|
|
677
|
-
function requestAddValidator(client:
|
|
678
|
-
function requestAddValidatorCandidate(client:
|
|
683
|
+
function poolExchangeRates(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
684
|
+
function redeemFungibleStakedSui(client: SuiJsonRpcClient, args: [string, staking_pool.FungibleStakedSui]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
685
|
+
function reportValidator(client: SuiJsonRpcClient, args: [string, string, string]): Promise<TypedDevInspectResults<[]>>;
|
|
686
|
+
function requestAddStake(client: SuiJsonRpcClient, args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string]): Promise<TypedDevInspectResults<[]>>;
|
|
687
|
+
function requestAddStakeMulCoin(client: SuiJsonRpcClient, args: [string, string[], _0x1.option.Option<bigint>, string]): Promise<TypedDevInspectResults<[]>>;
|
|
688
|
+
function requestAddStakeNonEntry(client: SuiJsonRpcClient, args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string]): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>>;
|
|
689
|
+
function requestAddValidator(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
690
|
+
function requestAddValidatorCandidate(client: SuiJsonRpcClient, args: [
|
|
679
691
|
string,
|
|
680
692
|
string[],
|
|
681
693
|
string[],
|
|
@@ -692,35 +704,35 @@ export declare namespace sui_system {
|
|
|
692
704
|
bigint,
|
|
693
705
|
bigint
|
|
694
706
|
]): Promise<TypedDevInspectResults<[]>>;
|
|
695
|
-
function requestRemoveValidator(client:
|
|
696
|
-
function requestRemoveValidatorCandidate(client:
|
|
697
|
-
function requestSetCommissionRate(client:
|
|
698
|
-
function requestSetGasPrice(client:
|
|
699
|
-
function requestWithdrawStake(client:
|
|
700
|
-
function requestWithdrawStakeNonEntry(client:
|
|
701
|
-
function rotateOperationCap(client:
|
|
702
|
-
function setCandidateValidatorCommissionRate(client:
|
|
703
|
-
function setCandidateValidatorGasPrice(client:
|
|
704
|
-
function undoReportValidator(client:
|
|
705
|
-
function updateCandidateValidatorNetworkAddress(client:
|
|
706
|
-
function updateCandidateValidatorNetworkPubkey(client:
|
|
707
|
-
function updateCandidateValidatorP2pAddress(client:
|
|
708
|
-
function updateCandidateValidatorPrimaryAddress(client:
|
|
709
|
-
function updateCandidateValidatorProtocolPubkey(client:
|
|
710
|
-
function updateCandidateValidatorWorkerAddress(client:
|
|
711
|
-
function updateCandidateValidatorWorkerPubkey(client:
|
|
712
|
-
function updateValidatorDescription(client:
|
|
713
|
-
function updateValidatorImageUrl(client:
|
|
714
|
-
function updateValidatorName(client:
|
|
715
|
-
function updateValidatorNextEpochNetworkAddress(client:
|
|
716
|
-
function updateValidatorNextEpochNetworkPubkey(client:
|
|
717
|
-
function updateValidatorNextEpochP2pAddress(client:
|
|
718
|
-
function updateValidatorNextEpochPrimaryAddress(client:
|
|
719
|
-
function updateValidatorNextEpochProtocolPubkey(client:
|
|
720
|
-
function updateValidatorNextEpochWorkerAddress(client:
|
|
721
|
-
function updateValidatorNextEpochWorkerPubkey(client:
|
|
722
|
-
function updateValidatorProjectUrl(client:
|
|
723
|
-
function validatorAddressByPoolId(client:
|
|
707
|
+
function requestRemoveValidator(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
708
|
+
function requestRemoveValidatorCandidate(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
709
|
+
function requestSetCommissionRate(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
710
|
+
function requestSetGasPrice(client: SuiJsonRpcClient, args: [string, string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
711
|
+
function requestWithdrawStake(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[]>>;
|
|
712
|
+
function requestWithdrawStakeNonEntry(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
713
|
+
function rotateOperationCap(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
714
|
+
function setCandidateValidatorCommissionRate(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
715
|
+
function setCandidateValidatorGasPrice(client: SuiJsonRpcClient, args: [string, string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
716
|
+
function undoReportValidator(client: SuiJsonRpcClient, args: [string, string, string]): Promise<TypedDevInspectResults<[]>>;
|
|
717
|
+
function updateCandidateValidatorNetworkAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
718
|
+
function updateCandidateValidatorNetworkPubkey(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
719
|
+
function updateCandidateValidatorP2pAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
720
|
+
function updateCandidateValidatorPrimaryAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
721
|
+
function updateCandidateValidatorProtocolPubkey(client: SuiJsonRpcClient, args: [string, string[], string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
722
|
+
function updateCandidateValidatorWorkerAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
723
|
+
function updateCandidateValidatorWorkerPubkey(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
724
|
+
function updateValidatorDescription(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
725
|
+
function updateValidatorImageUrl(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
726
|
+
function updateValidatorName(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
727
|
+
function updateValidatorNextEpochNetworkAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
728
|
+
function updateValidatorNextEpochNetworkPubkey(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
729
|
+
function updateValidatorNextEpochP2pAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
730
|
+
function updateValidatorNextEpochPrimaryAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
731
|
+
function updateValidatorNextEpochProtocolPubkey(client: SuiJsonRpcClient, args: [string, string[], string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
732
|
+
function updateValidatorNextEpochWorkerAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
733
|
+
function updateValidatorNextEpochWorkerPubkey(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
734
|
+
function updateValidatorProjectUrl(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
735
|
+
function validatorAddressByPoolId(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
724
736
|
}
|
|
725
737
|
interface ReportValidatorPayload extends TypedFunctionPayload<[string, string, string]> {
|
|
726
738
|
arguments_decoded: [string, string, string];
|
|
@@ -906,9 +918,21 @@ export declare class sui_system_state_inner extends SuiBaseProcessor {
|
|
|
906
918
|
constructor(options: SuiBindOptions);
|
|
907
919
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
|
908
920
|
static bind(options?: Partial<SuiBindOptions>): sui_system_state_inner;
|
|
921
|
+
onEventExecutionTimeObservationChunkKey(func: (event: sui_system_state_inner.ExecutionTimeObservationChunkKeyInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, sui_system_state_inner.ExecutionTimeObservationChunkKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): sui_system_state_inner;
|
|
909
922
|
onEventSystemEpochInfoEvent(func: (event: sui_system_state_inner.SystemEpochInfoEventInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, sui_system_state_inner.SystemEpochInfoEventInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): sui_system_state_inner;
|
|
910
923
|
}
|
|
911
924
|
export declare namespace sui_system_state_inner {
|
|
925
|
+
interface ExecutionTimeObservationChunkKey {
|
|
926
|
+
chunk_index: bigint;
|
|
927
|
+
}
|
|
928
|
+
namespace ExecutionTimeObservationChunkKey {
|
|
929
|
+
const TYPE_QNAME = "0x3::sui_system_state_inner::ExecutionTimeObservationChunkKey";
|
|
930
|
+
function type(): TypeDescriptor<ExecutionTimeObservationChunkKey>;
|
|
931
|
+
}
|
|
932
|
+
type ExecutionTimeObservationChunkKeyInstance = TypedEventInstance<ExecutionTimeObservationChunkKey> & {
|
|
933
|
+
data_decoded: ExecutionTimeObservationChunkKey;
|
|
934
|
+
type_arguments: [];
|
|
935
|
+
};
|
|
912
936
|
interface SuiSystemStateInner {
|
|
913
937
|
epoch: bigint;
|
|
914
938
|
protocol_version: bigint;
|
|
@@ -1017,6 +1041,7 @@ export declare namespace sui_system_state_inner {
|
|
|
1017
1041
|
bigint | TransactionArgument,
|
|
1018
1042
|
bigint | TransactionArgument,
|
|
1019
1043
|
bigint | TransactionArgument,
|
|
1044
|
+
bigint | TransactionArgument,
|
|
1020
1045
|
bigint | TransactionArgument
|
|
1021
1046
|
]): TransactionArgument & [
|
|
1022
1047
|
TransactionArgument,
|
|
@@ -1028,6 +1053,7 @@ export declare namespace sui_system_state_inner {
|
|
|
1028
1053
|
TransactionArgument,
|
|
1029
1054
|
TransactionArgument,
|
|
1030
1055
|
TransactionArgument,
|
|
1056
|
+
TransactionArgument,
|
|
1031
1057
|
TransactionArgument
|
|
1032
1058
|
];
|
|
1033
1059
|
function convertToFungibleStakedSui(tx: Transaction, args: [
|
|
@@ -1068,6 +1094,8 @@ export declare namespace sui_system_state_inner {
|
|
|
1068
1094
|
];
|
|
1069
1095
|
function epoch(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
1070
1096
|
function epochStartTimestampMs(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
1097
|
+
function extraFields(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
1098
|
+
function extraFieldsMut(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
1071
1099
|
function genesisSystemStateVersion(tx: Transaction, args: []): TransactionArgument & [];
|
|
1072
1100
|
function getReportersOf(tx: Transaction, args: [string | TransactionObjectArgument, string | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1073
1101
|
function getStorageFundObjectRebates(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
@@ -1175,6 +1203,10 @@ export declare namespace sui_system_state_inner {
|
|
|
1175
1203
|
string | TransactionObjectArgument,
|
|
1176
1204
|
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1177
1205
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1206
|
+
function storeExecutionTimeEstimatesV2(tx: Transaction, args: [
|
|
1207
|
+
string | TransactionObjectArgument,
|
|
1208
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
1209
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1178
1210
|
function systemStateVersion(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
1179
1211
|
function undoReportValidator(tx: Transaction, args: [
|
|
1180
1212
|
string | TransactionObjectArgument,
|
|
@@ -1279,9 +1311,9 @@ export declare namespace sui_system_state_inner {
|
|
|
1279
1311
|
function validatorsMut(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
1280
1312
|
}
|
|
1281
1313
|
namespace view {
|
|
1282
|
-
function activeValidatorAddresses(client:
|
|
1283
|
-
function activeValidatorVotingPowers(client:
|
|
1284
|
-
function advanceEpoch(client:
|
|
1314
|
+
function activeValidatorAddresses(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string[]]>>;
|
|
1315
|
+
function activeValidatorVotingPowers(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[_0x2.vec_map.VecMap<string, bigint>]>>;
|
|
1316
|
+
function advanceEpoch(client: SuiJsonRpcClient, args: [
|
|
1285
1317
|
string,
|
|
1286
1318
|
bigint,
|
|
1287
1319
|
bigint,
|
|
@@ -1291,10 +1323,11 @@ export declare namespace sui_system_state_inner {
|
|
|
1291
1323
|
bigint,
|
|
1292
1324
|
bigint,
|
|
1293
1325
|
bigint,
|
|
1326
|
+
bigint,
|
|
1294
1327
|
bigint
|
|
1295
1328
|
]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
1296
|
-
function convertToFungibleStakedSui(client:
|
|
1297
|
-
function create(client:
|
|
1329
|
+
function convertToFungibleStakedSui(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>>;
|
|
1330
|
+
function create(client: SuiJsonRpcClient, args: [
|
|
1298
1331
|
string[],
|
|
1299
1332
|
_0x2.balance.Balance<_0x2.sui.SUI>,
|
|
1300
1333
|
bigint,
|
|
@@ -1302,21 +1335,23 @@ export declare namespace sui_system_state_inner {
|
|
|
1302
1335
|
sui_system_state_inner.SystemParameters,
|
|
1303
1336
|
stake_subsidy.StakeSubsidy
|
|
1304
1337
|
]): Promise<TypedDevInspectResults<[sui_system_state_inner.SuiSystemStateInner]>>;
|
|
1305
|
-
function createSystemParameters(client:
|
|
1306
|
-
function epoch(client:
|
|
1307
|
-
function epochStartTimestampMs(client:
|
|
1308
|
-
function
|
|
1309
|
-
function
|
|
1310
|
-
function
|
|
1311
|
-
function
|
|
1312
|
-
function
|
|
1313
|
-
function
|
|
1314
|
-
function
|
|
1315
|
-
function
|
|
1316
|
-
function
|
|
1317
|
-
function
|
|
1318
|
-
function
|
|
1319
|
-
function
|
|
1338
|
+
function createSystemParameters(client: SuiJsonRpcClient, args: [bigint, bigint, bigint, bigint, bigint, bigint, bigint]): Promise<TypedDevInspectResults<[sui_system_state_inner.SystemParameters]>>;
|
|
1339
|
+
function epoch(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1340
|
+
function epochStartTimestampMs(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1341
|
+
function extraFields(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1342
|
+
function extraFieldsMut(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1343
|
+
function genesisSystemStateVersion(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1344
|
+
function getReportersOf(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[_0x2.vec_set.VecSet<string>]>>;
|
|
1345
|
+
function getStorageFundObjectRebates(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1346
|
+
function getStorageFundTotalBalance(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1347
|
+
function poolExchangeRates(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1348
|
+
function protocolVersion(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1349
|
+
function redeemFungibleStakedSui(client: SuiJsonRpcClient, args: [string, staking_pool.FungibleStakedSui]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
1350
|
+
function reportValidator(client: SuiJsonRpcClient, args: [string, string, string]): Promise<TypedDevInspectResults<[]>>;
|
|
1351
|
+
function requestAddStake(client: SuiJsonRpcClient, args: [string, _0x2.coin.Coin<_0x2.sui.SUI>, string]): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>>;
|
|
1352
|
+
function requestAddStakeMulCoin(client: SuiJsonRpcClient, args: [string, string[], _0x1.option.Option<bigint>, string]): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>>;
|
|
1353
|
+
function requestAddValidator(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
1354
|
+
function requestAddValidatorCandidate(client: SuiJsonRpcClient, args: [
|
|
1320
1355
|
string,
|
|
1321
1356
|
string[],
|
|
1322
1357
|
string[],
|
|
@@ -1333,42 +1368,43 @@ export declare namespace sui_system_state_inner {
|
|
|
1333
1368
|
bigint,
|
|
1334
1369
|
bigint
|
|
1335
1370
|
]): Promise<TypedDevInspectResults<[]>>;
|
|
1336
|
-
function requestRemoveValidator(client:
|
|
1337
|
-
function requestRemoveValidatorCandidate(client:
|
|
1338
|
-
function requestSetCommissionRate(client:
|
|
1339
|
-
function requestSetGasPrice(client:
|
|
1340
|
-
function requestWithdrawStake(client:
|
|
1341
|
-
function rotateOperationCap(client:
|
|
1342
|
-
function setCandidateValidatorCommissionRate(client:
|
|
1343
|
-
function setCandidateValidatorGasPrice(client:
|
|
1344
|
-
function storeExecutionTimeEstimates(client:
|
|
1345
|
-
function
|
|
1346
|
-
function
|
|
1347
|
-
function
|
|
1348
|
-
function
|
|
1349
|
-
function
|
|
1350
|
-
function
|
|
1351
|
-
function
|
|
1352
|
-
function
|
|
1353
|
-
function
|
|
1354
|
-
function
|
|
1355
|
-
function
|
|
1356
|
-
function
|
|
1357
|
-
function
|
|
1358
|
-
function
|
|
1359
|
-
function
|
|
1360
|
-
function
|
|
1361
|
-
function
|
|
1362
|
-
function
|
|
1363
|
-
function
|
|
1364
|
-
function
|
|
1365
|
-
function
|
|
1366
|
-
function
|
|
1367
|
-
function
|
|
1368
|
-
function
|
|
1369
|
-
function
|
|
1370
|
-
function
|
|
1371
|
-
function
|
|
1371
|
+
function requestRemoveValidator(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
1372
|
+
function requestRemoveValidatorCandidate(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
1373
|
+
function requestSetCommissionRate(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
1374
|
+
function requestSetGasPrice(client: SuiJsonRpcClient, args: [string, string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
1375
|
+
function requestWithdrawStake(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
1376
|
+
function rotateOperationCap(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
1377
|
+
function setCandidateValidatorCommissionRate(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
1378
|
+
function setCandidateValidatorGasPrice(client: SuiJsonRpcClient, args: [string, string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
1379
|
+
function storeExecutionTimeEstimates(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1380
|
+
function storeExecutionTimeEstimatesV2(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1381
|
+
function systemStateVersion(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1382
|
+
function undoReportValidator(client: SuiJsonRpcClient, args: [string, string, string]): Promise<TypedDevInspectResults<[]>>;
|
|
1383
|
+
function updateCandidateValidatorNetworkAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1384
|
+
function updateCandidateValidatorNetworkPubkey(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1385
|
+
function updateCandidateValidatorP2pAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1386
|
+
function updateCandidateValidatorPrimaryAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1387
|
+
function updateCandidateValidatorProtocolPubkey(client: SuiJsonRpcClient, args: [string, string[], string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1388
|
+
function updateCandidateValidatorWorkerAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1389
|
+
function updateCandidateValidatorWorkerPubkey(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1390
|
+
function updateValidatorDescription(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1391
|
+
function updateValidatorImageUrl(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1392
|
+
function updateValidatorName(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1393
|
+
function updateValidatorNextEpochNetworkAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1394
|
+
function updateValidatorNextEpochNetworkPubkey(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1395
|
+
function updateValidatorNextEpochP2pAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1396
|
+
function updateValidatorNextEpochPrimaryAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1397
|
+
function updateValidatorNextEpochProtocolPubkey(client: SuiJsonRpcClient, args: [string, string[], string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1398
|
+
function updateValidatorNextEpochWorkerAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1399
|
+
function updateValidatorNextEpochWorkerPubkey(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1400
|
+
function updateValidatorProjectUrl(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1401
|
+
function v1ToV2(client: SuiJsonRpcClient, args: [sui_system_state_inner.SuiSystemStateInner]): Promise<TypedDevInspectResults<[sui_system_state_inner.SuiSystemStateInnerV2]>>;
|
|
1402
|
+
function validatorAddressByPoolId(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1403
|
+
function validatorStakeAmount(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1404
|
+
function validatorStakingPoolId(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[_0x2.object$.ID]>>;
|
|
1405
|
+
function validatorStakingPoolMappings(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1406
|
+
function validators(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1407
|
+
function validatorsMut(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1372
1408
|
}
|
|
1373
1409
|
}
|
|
1374
1410
|
export declare class validator extends SuiBaseProcessor {
|
|
@@ -1736,24 +1772,24 @@ export declare namespace validator {
|
|
|
1736
1772
|
function workerPubkeyBytes(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
1737
1773
|
}
|
|
1738
1774
|
namespace view {
|
|
1739
|
-
function activate(client:
|
|
1740
|
-
function adjustStakeAndGasPrice(client:
|
|
1741
|
-
function commissionRate(client:
|
|
1742
|
-
function convertToFungibleStakedSui(client:
|
|
1743
|
-
function deactivate(client:
|
|
1744
|
-
function depositStakeRewards(client:
|
|
1745
|
-
function description(client:
|
|
1746
|
-
function effectuateStagedMetadata(client:
|
|
1747
|
-
function gasPrice(client:
|
|
1748
|
-
function getStakingPoolRef(client:
|
|
1749
|
-
function imageUrl(client:
|
|
1750
|
-
function isDuplicate(client:
|
|
1751
|
-
function isPreactive(client:
|
|
1752
|
-
function metadata(client:
|
|
1753
|
-
function name(client:
|
|
1754
|
-
function networkAddress(client:
|
|
1755
|
-
function networkPubkeyBytes(client:
|
|
1756
|
-
function new$(client:
|
|
1775
|
+
function activate(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
1776
|
+
function adjustStakeAndGasPrice(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
1777
|
+
function commissionRate(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1778
|
+
function convertToFungibleStakedSui(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>>;
|
|
1779
|
+
function deactivate(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
1780
|
+
function depositStakeRewards(client: SuiJsonRpcClient, args: [string, _0x2.balance.Balance<_0x2.sui.SUI>]): Promise<TypedDevInspectResults<[]>>;
|
|
1781
|
+
function description(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1782
|
+
function effectuateStagedMetadata(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
1783
|
+
function gasPrice(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1784
|
+
function getStakingPoolRef(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1785
|
+
function imageUrl(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1786
|
+
function isDuplicate(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1787
|
+
function isPreactive(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1788
|
+
function metadata(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1789
|
+
function name(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1790
|
+
function networkAddress(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1791
|
+
function networkPubkeyBytes(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1792
|
+
function new$(client: SuiJsonRpcClient, args: [
|
|
1757
1793
|
string,
|
|
1758
1794
|
string[],
|
|
1759
1795
|
string[],
|
|
@@ -1770,7 +1806,7 @@ export declare namespace validator {
|
|
|
1770
1806
|
bigint,
|
|
1771
1807
|
bigint
|
|
1772
1808
|
]): Promise<TypedDevInspectResults<[validator.Validator]>>;
|
|
1773
|
-
function newMetadata(client:
|
|
1809
|
+
function newMetadata(client: SuiJsonRpcClient, args: [
|
|
1774
1810
|
string,
|
|
1775
1811
|
string[],
|
|
1776
1812
|
string[],
|
|
@@ -1786,63 +1822,63 @@ export declare namespace validator {
|
|
|
1786
1822
|
string,
|
|
1787
1823
|
_0x2.bag.Bag
|
|
1788
1824
|
]): Promise<TypedDevInspectResults<[validator.ValidatorMetadata]>>;
|
|
1789
|
-
function newUnverifiedValidatorOperationCapAndTransfer(client:
|
|
1790
|
-
function nextEpochGasPrice(client:
|
|
1791
|
-
function nextEpochNetworkAddress(client:
|
|
1792
|
-
function nextEpochNetworkPubkeyBytes(client:
|
|
1793
|
-
function nextEpochP2pAddress(client:
|
|
1794
|
-
function nextEpochPrimaryAddress(client:
|
|
1795
|
-
function nextEpochProofOfPossession(client:
|
|
1796
|
-
function nextEpochProtocolPubkeyBytes(client:
|
|
1797
|
-
function nextEpochWorkerAddress(client:
|
|
1798
|
-
function nextEpochWorkerPubkeyBytes(client:
|
|
1799
|
-
function operationCapId(client:
|
|
1800
|
-
function p2pAddress(client:
|
|
1801
|
-
function pendingStakeAmount(client:
|
|
1802
|
-
function pendingStakeWithdrawAmount(client:
|
|
1803
|
-
function poolTokenExchangeRateAtEpoch(client:
|
|
1804
|
-
function primaryAddress(client:
|
|
1805
|
-
function processPendingStakesAndWithdraws(client:
|
|
1806
|
-
function projectUrl(client:
|
|
1807
|
-
function proofOfPossession(client:
|
|
1808
|
-
function protocolPubkeyBytes(client:
|
|
1809
|
-
function redeemFungibleStakedSui(client:
|
|
1810
|
-
function requestAddStake(client:
|
|
1811
|
-
function requestAddStakeAtGenesis(client:
|
|
1812
|
-
function requestSetCommissionRate(client:
|
|
1813
|
-
function requestSetGasPrice(client:
|
|
1814
|
-
function requestWithdrawStake(client:
|
|
1815
|
-
function setCandidateCommissionRate(client:
|
|
1816
|
-
function setCandidateGasPrice(client:
|
|
1817
|
-
function setVotingPower(client:
|
|
1818
|
-
function stakeAmount(client:
|
|
1819
|
-
function stakingPoolId(client:
|
|
1820
|
-
function suiAddress(client:
|
|
1821
|
-
function totalStake(client:
|
|
1822
|
-
function totalStakeAmount(client:
|
|
1823
|
-
function updateCandidateNetworkAddress(client:
|
|
1824
|
-
function updateCandidateNetworkPubkey(client:
|
|
1825
|
-
function updateCandidateP2pAddress(client:
|
|
1826
|
-
function updateCandidatePrimaryAddress(client:
|
|
1827
|
-
function updateCandidateProtocolPubkey(client:
|
|
1828
|
-
function updateCandidateWorkerAddress(client:
|
|
1829
|
-
function updateCandidateWorkerPubkey(client:
|
|
1830
|
-
function updateDescription(client:
|
|
1831
|
-
function updateImageUrl(client:
|
|
1832
|
-
function updateName(client:
|
|
1833
|
-
function updateNextEpochNetworkAddress(client:
|
|
1834
|
-
function updateNextEpochNetworkPubkey(client:
|
|
1835
|
-
function updateNextEpochP2pAddress(client:
|
|
1836
|
-
function updateNextEpochPrimaryAddress(client:
|
|
1837
|
-
function updateNextEpochProtocolPubkey(client:
|
|
1838
|
-
function updateNextEpochWorkerAddress(client:
|
|
1839
|
-
function updateNextEpochWorkerPubkey(client:
|
|
1840
|
-
function updateProjectUrl(client:
|
|
1841
|
-
function validateMetadata(client:
|
|
1842
|
-
function validateMetadataBcs(client:
|
|
1843
|
-
function votingPower(client:
|
|
1844
|
-
function workerAddress(client:
|
|
1845
|
-
function workerPubkeyBytes(client:
|
|
1825
|
+
function newUnverifiedValidatorOperationCapAndTransfer(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
1826
|
+
function nextEpochGasPrice(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1827
|
+
function nextEpochNetworkAddress(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1828
|
+
function nextEpochNetworkPubkeyBytes(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1829
|
+
function nextEpochP2pAddress(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1830
|
+
function nextEpochPrimaryAddress(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1831
|
+
function nextEpochProofOfPossession(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1832
|
+
function nextEpochProtocolPubkeyBytes(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1833
|
+
function nextEpochWorkerAddress(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1834
|
+
function nextEpochWorkerPubkeyBytes(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1835
|
+
function operationCapId(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1836
|
+
function p2pAddress(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1837
|
+
function pendingStakeAmount(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1838
|
+
function pendingStakeWithdrawAmount(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1839
|
+
function poolTokenExchangeRateAtEpoch(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[staking_pool.PoolTokenExchangeRate]>>;
|
|
1840
|
+
function primaryAddress(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1841
|
+
function processPendingStakesAndWithdraws(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
1842
|
+
function projectUrl(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1843
|
+
function proofOfPossession(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1844
|
+
function protocolPubkeyBytes(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1845
|
+
function redeemFungibleStakedSui(client: SuiJsonRpcClient, args: [string, staking_pool.FungibleStakedSui]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
1846
|
+
function requestAddStake(client: SuiJsonRpcClient, args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, string]): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>>;
|
|
1847
|
+
function requestAddStakeAtGenesis(client: SuiJsonRpcClient, args: [string, _0x2.balance.Balance<_0x2.sui.SUI>, string]): Promise<TypedDevInspectResults<[]>>;
|
|
1848
|
+
function requestSetCommissionRate(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
1849
|
+
function requestSetGasPrice(client: SuiJsonRpcClient, args: [string, validator_cap.ValidatorOperationCap, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
1850
|
+
function requestWithdrawStake(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
1851
|
+
function setCandidateCommissionRate(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
1852
|
+
function setCandidateGasPrice(client: SuiJsonRpcClient, args: [string, validator_cap.ValidatorOperationCap, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
1853
|
+
function setVotingPower(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
1854
|
+
function stakeAmount(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1855
|
+
function stakingPoolId(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[_0x2.object$.ID]>>;
|
|
1856
|
+
function suiAddress(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1857
|
+
function totalStake(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1858
|
+
function totalStakeAmount(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1859
|
+
function updateCandidateNetworkAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1860
|
+
function updateCandidateNetworkPubkey(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1861
|
+
function updateCandidateP2pAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1862
|
+
function updateCandidatePrimaryAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1863
|
+
function updateCandidateProtocolPubkey(client: SuiJsonRpcClient, args: [string, string[], string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1864
|
+
function updateCandidateWorkerAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1865
|
+
function updateCandidateWorkerPubkey(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1866
|
+
function updateDescription(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1867
|
+
function updateImageUrl(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1868
|
+
function updateName(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1869
|
+
function updateNextEpochNetworkAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1870
|
+
function updateNextEpochNetworkPubkey(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1871
|
+
function updateNextEpochP2pAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1872
|
+
function updateNextEpochPrimaryAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1873
|
+
function updateNextEpochProtocolPubkey(client: SuiJsonRpcClient, args: [string, string[], string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1874
|
+
function updateNextEpochWorkerAddress(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1875
|
+
function updateNextEpochWorkerPubkey(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1876
|
+
function updateProjectUrl(client: SuiJsonRpcClient, args: [string, string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1877
|
+
function validateMetadata(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
1878
|
+
function validateMetadataBcs(client: SuiJsonRpcClient, args: [string[]]): Promise<TypedDevInspectResults<[]>>;
|
|
1879
|
+
function votingPower(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1880
|
+
function workerAddress(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1881
|
+
function workerPubkeyBytes(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1846
1882
|
}
|
|
1847
1883
|
}
|
|
1848
1884
|
export declare namespace validator_cap {
|
|
@@ -1868,10 +1904,10 @@ export declare namespace validator_cap {
|
|
|
1868
1904
|
function verifiedOperationCapAddress(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
1869
1905
|
}
|
|
1870
1906
|
namespace view {
|
|
1871
|
-
function intoVerified(client:
|
|
1872
|
-
function newUnverifiedValidatorOperationCapAndTransfer(client:
|
|
1873
|
-
function unverifiedOperationCapAddress(client:
|
|
1874
|
-
function verifiedOperationCapAddress(client:
|
|
1907
|
+
function intoVerified(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[validator_cap.ValidatorOperationCap]>>;
|
|
1908
|
+
function newUnverifiedValidatorOperationCapAndTransfer(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[_0x2.object$.ID]>>;
|
|
1909
|
+
function unverifiedOperationCapAddress(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1910
|
+
function verifiedOperationCapAddress(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1875
1911
|
}
|
|
1876
1912
|
}
|
|
1877
1913
|
export declare class validator_set extends SuiBaseProcessor {
|
|
@@ -2102,47 +2138,47 @@ export declare namespace validator_set {
|
|
|
2102
2138
|
];
|
|
2103
2139
|
}
|
|
2104
2140
|
namespace view {
|
|
2105
|
-
function activeValidatorAddresses(client:
|
|
2106
|
-
function activeValidators(client:
|
|
2107
|
-
function advanceEpoch(client:
|
|
2108
|
-
function assertNoPendingOrActiveDuplicates(client:
|
|
2109
|
-
function calculateTotalStakes(client:
|
|
2110
|
-
function convertToFungibleStakedSui(client:
|
|
2111
|
-
function deriveReferenceGasPrice(client:
|
|
2112
|
-
function getActiveOrPendingOrCandidateValidatorRef(client:
|
|
2113
|
-
function getActiveValidatorRef(client:
|
|
2114
|
-
function getPendingValidatorRef(client:
|
|
2115
|
-
function getValidatorMut(client:
|
|
2116
|
-
function getValidatorMutWithCtx(client:
|
|
2117
|
-
function getValidatorMutWithCtxIncludingCandidates(client:
|
|
2118
|
-
function getValidatorMutWithVerifiedCap(client:
|
|
2119
|
-
function isActiveValidator(client:
|
|
2120
|
-
function isActiveValidatorBySuiAddress(client:
|
|
2121
|
-
function isAtRiskValidator(client:
|
|
2122
|
-
function isDuplicateValidator(client:
|
|
2123
|
-
function isInactiveValidator(client:
|
|
2124
|
-
function isValidatorCandidate(client:
|
|
2125
|
-
function new$(client:
|
|
2126
|
-
function nextEpochValidatorCount(client:
|
|
2127
|
-
function poolExchangeRates(client:
|
|
2128
|
-
function redeemFungibleStakedSui(client:
|
|
2129
|
-
function requestAddStake(client:
|
|
2130
|
-
function requestAddValidator(client:
|
|
2131
|
-
function requestAddValidatorCandidate(client:
|
|
2132
|
-
function requestRemoveValidator(client:
|
|
2133
|
-
function requestRemoveValidatorCandidate(client:
|
|
2134
|
-
function requestSetCommissionRate(client:
|
|
2135
|
-
function requestWithdrawStake(client:
|
|
2136
|
-
function stakingPoolMappings(client:
|
|
2137
|
-
function sumVotingPowerByAddresses(client:
|
|
2138
|
-
function totalStake(client:
|
|
2139
|
-
function validatorAddressByPoolId(client:
|
|
2140
|
-
function validatorByPoolId(client:
|
|
2141
|
-
function validatorStakeAmount(client:
|
|
2142
|
-
function validatorStakingPoolId(client:
|
|
2143
|
-
function validatorTotalStakeAmount(client:
|
|
2144
|
-
function validatorVotingPower(client:
|
|
2145
|
-
function verifyCap(client:
|
|
2141
|
+
function activeValidatorAddresses(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string[]]>>;
|
|
2142
|
+
function activeValidators(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2143
|
+
function advanceEpoch(client: SuiJsonRpcClient, args: [string, string, string, string, bigint, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
2144
|
+
function assertNoPendingOrActiveDuplicates(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[]>>;
|
|
2145
|
+
function calculateTotalStakes(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2146
|
+
function convertToFungibleStakedSui(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[staking_pool.FungibleStakedSui]>>;
|
|
2147
|
+
function deriveReferenceGasPrice(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2148
|
+
function getActiveOrPendingOrCandidateValidatorRef(client: SuiJsonRpcClient, args: [string, string, number]): Promise<TypedDevInspectResults<[string]>>;
|
|
2149
|
+
function getActiveValidatorRef(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2150
|
+
function getPendingValidatorRef(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2151
|
+
function getValidatorMut(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2152
|
+
function getValidatorMutWithCtx(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2153
|
+
function getValidatorMutWithCtxIncludingCandidates(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2154
|
+
function getValidatorMutWithVerifiedCap(client: SuiJsonRpcClient, args: [string, string, boolean]): Promise<TypedDevInspectResults<[string]>>;
|
|
2155
|
+
function isActiveValidator(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
2156
|
+
function isActiveValidatorBySuiAddress(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
2157
|
+
function isAtRiskValidator(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
2158
|
+
function isDuplicateValidator(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
2159
|
+
function isInactiveValidator(client: SuiJsonRpcClient, args: [string, _0x2.object$.ID]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
2160
|
+
function isValidatorCandidate(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
2161
|
+
function new$(client: SuiJsonRpcClient, args: [string[]]): Promise<TypedDevInspectResults<[validator_set.ValidatorSet]>>;
|
|
2162
|
+
function nextEpochValidatorCount(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2163
|
+
function poolExchangeRates(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2164
|
+
function redeemFungibleStakedSui(client: SuiJsonRpcClient, args: [string, staking_pool.FungibleStakedSui]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
2165
|
+
function requestAddStake(client: SuiJsonRpcClient, args: [string, string, _0x2.balance.Balance<_0x2.sui.SUI>]): Promise<TypedDevInspectResults<[staking_pool.StakedSui]>>;
|
|
2166
|
+
function requestAddValidator(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
2167
|
+
function requestAddValidatorCandidate(client: SuiJsonRpcClient, args: [string, validator.Validator]): Promise<TypedDevInspectResults<[]>>;
|
|
2168
|
+
function requestRemoveValidator(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
2169
|
+
function requestRemoveValidatorCandidate(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[]>>;
|
|
2170
|
+
function requestSetCommissionRate(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
2171
|
+
function requestWithdrawStake(client: SuiJsonRpcClient, args: [string, staking_pool.StakedSui]): Promise<TypedDevInspectResults<[_0x2.balance.Balance<_0x2.sui.SUI>]>>;
|
|
2172
|
+
function stakingPoolMappings(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2173
|
+
function sumVotingPowerByAddresses(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2174
|
+
function totalStake(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2175
|
+
function validatorAddressByPoolId(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2176
|
+
function validatorByPoolId(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2177
|
+
function validatorStakeAmount(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2178
|
+
function validatorStakingPoolId(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[_0x2.object$.ID]>>;
|
|
2179
|
+
function validatorTotalStakeAmount(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2180
|
+
function validatorVotingPower(client: SuiJsonRpcClient, args: [string, string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2181
|
+
function verifyCap(client: SuiJsonRpcClient, args: [string, string, number]): Promise<TypedDevInspectResults<[validator_cap.ValidatorOperationCap]>>;
|
|
2146
2182
|
}
|
|
2147
2183
|
}
|
|
2148
2184
|
export declare namespace validator_wrapper {
|
|
@@ -2159,9 +2195,9 @@ export declare namespace validator_wrapper {
|
|
|
2159
2195
|
function loadValidatorMaybeUpgrade(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
2160
2196
|
}
|
|
2161
2197
|
namespace view {
|
|
2162
|
-
function createV1(client:
|
|
2163
|
-
function destroy(client:
|
|
2164
|
-
function loadValidatorMaybeUpgrade(client:
|
|
2198
|
+
function createV1(client: SuiJsonRpcClient, args: [validator.Validator]): Promise<TypedDevInspectResults<[validator_wrapper.ValidatorWrapper]>>;
|
|
2199
|
+
function destroy(client: SuiJsonRpcClient, args: [validator_wrapper.ValidatorWrapper]): Promise<TypedDevInspectResults<[validator.Validator]>>;
|
|
2200
|
+
function loadValidatorMaybeUpgrade(client: SuiJsonRpcClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2165
2201
|
}
|
|
2166
2202
|
}
|
|
2167
2203
|
export declare namespace voting_power {
|
|
@@ -2189,10 +2225,10 @@ export declare namespace voting_power {
|
|
|
2189
2225
|
function totalVotingPower(tx: Transaction, args: []): TransactionArgument & [];
|
|
2190
2226
|
}
|
|
2191
2227
|
namespace view {
|
|
2192
|
-
function deriveRawVotingPower(client:
|
|
2193
|
-
function quorumThreshold(client:
|
|
2194
|
-
function setVotingPower(client:
|
|
2195
|
-
function totalVotingPower(client:
|
|
2228
|
+
function deriveRawVotingPower(client: SuiJsonRpcClient, args: [bigint, bigint]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2229
|
+
function quorumThreshold(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2230
|
+
function setVotingPower(client: SuiJsonRpcClient, args: [string, bigint]): Promise<TypedDevInspectResults<[]>>;
|
|
2231
|
+
function totalVotingPower(client: SuiJsonRpcClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2196
2232
|
}
|
|
2197
2233
|
}
|
|
2198
2234
|
export declare function loadAllTypes(coder: MoveCoder): void;
|