@iotexproject/kit 0.2.5 → 0.2.7
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 +5 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6865,8 +6865,9 @@ export interface Candidate {
|
|
|
6865
6865
|
selfStakeBucketIdx: bigint;
|
|
6866
6866
|
selfStakingTokens: bigint;
|
|
6867
6867
|
}
|
|
6868
|
-
export interface
|
|
6868
|
+
export interface CandidateV4 extends Candidate {
|
|
6869
6869
|
id: string;
|
|
6870
|
+
blsPubKey: string;
|
|
6870
6871
|
}
|
|
6871
6872
|
export interface CompositeBucket {
|
|
6872
6873
|
index: bigint;
|
|
@@ -7047,7 +7048,7 @@ declare class Staking {
|
|
|
7047
7048
|
}>;
|
|
7048
7049
|
getDelegateByAddress(args: {
|
|
7049
7050
|
ownerAddress: `0x${string}` | `io${string}`;
|
|
7050
|
-
}, ctx?: ConfigContext): Promise<
|
|
7051
|
+
}, ctx?: ConfigContext): Promise<CandidateV4>;
|
|
7051
7052
|
upsertRewardDistribution(args: {
|
|
7052
7053
|
foundationRewardPortion: number;
|
|
7053
7054
|
epochRewardPortion: number;
|
|
@@ -7060,11 +7061,6 @@ declare class Staking {
|
|
|
7060
7061
|
epochRewardPortion: number;
|
|
7061
7062
|
blockRewardPortion: number;
|
|
7062
7063
|
} | null>;
|
|
7063
|
-
candidateUpdate({ name, operatorAddress, rewardAddress }: {
|
|
7064
|
-
name: string;
|
|
7065
|
-
operatorAddress: `0x${string}`;
|
|
7066
|
-
rewardAddress: `0x${string}`;
|
|
7067
|
-
}, ctx?: ConfigContext): Promise<any>;
|
|
7068
7064
|
getEndorseBucketsByDelegate(args: {
|
|
7069
7065
|
ownerAddress: `0x${string}` | `io${string}`;
|
|
7070
7066
|
}, ctx?: ConfigContext): Promise<CompositeBucket[]>;
|
|
@@ -8686,9 +8682,9 @@ declare class Delegate {
|
|
|
8686
8682
|
operatorAddress: string;
|
|
8687
8683
|
rewardAddress: string;
|
|
8688
8684
|
ownerAddress: string;
|
|
8689
|
-
amount: string;
|
|
8690
8685
|
duration: string;
|
|
8691
8686
|
autoStake: boolean;
|
|
8687
|
+
blsPubKey: string;
|
|
8692
8688
|
}, ctx?: ConfigContext): Promise<any>;
|
|
8693
8689
|
upsertRewardDistribution(args: {
|
|
8694
8690
|
foundationRewardPortion: number;
|
|
@@ -8699,6 +8695,7 @@ declare class Delegate {
|
|
|
8699
8695
|
name: string;
|
|
8700
8696
|
operatorAddress: string;
|
|
8701
8697
|
rewardAddress: string;
|
|
8698
|
+
blsPubKey: string;
|
|
8702
8699
|
}, ctx?: ConfigContext): Promise<any>;
|
|
8703
8700
|
}
|
|
8704
8701
|
declare const modules: {
|