@iotexproject/kit 0.0.50 → 0.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6968,6 +6968,15 @@ declare class MSP {
|
|
|
6968
6968
|
address: string;
|
|
6969
6969
|
}[] | null>;
|
|
6970
6970
|
}
|
|
6971
|
+
export interface Candidate {
|
|
6972
|
+
ownerAddress: string;
|
|
6973
|
+
operatorAddress: string;
|
|
6974
|
+
rewardAddress: string;
|
|
6975
|
+
name: string;
|
|
6976
|
+
totalWeightedVotes: bigint;
|
|
6977
|
+
selfStakeBucketIdx: bigint;
|
|
6978
|
+
selfStakingTokens: bigint;
|
|
6979
|
+
}
|
|
6971
6980
|
export interface Bucket {
|
|
6972
6981
|
index: bigint;
|
|
6973
6982
|
candidateAddress: string;
|
|
@@ -7026,6 +7035,9 @@ declare class Staking {
|
|
|
7026
7035
|
duration: string;
|
|
7027
7036
|
autoStake: boolean;
|
|
7028
7037
|
}): Promise<any>;
|
|
7038
|
+
candidates(): Promise<Candidate[] | {
|
|
7039
|
+
error: any;
|
|
7040
|
+
}>;
|
|
7029
7041
|
}
|
|
7030
7042
|
declare class utils {
|
|
7031
7043
|
erc20(args: {
|