@iotexproject/kit 0.2.2 → 0.2.4
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 +18 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7056,9 +7056,9 @@ declare class Staking {
|
|
|
7056
7056
|
getRewardDistribution(args: {
|
|
7057
7057
|
ownerAddress: `0x${string}` | `io${string}`;
|
|
7058
7058
|
}, ctx?: ConfigContext): Promise<{
|
|
7059
|
-
foundationRewardPortion:
|
|
7060
|
-
epochRewardPortion:
|
|
7061
|
-
blockRewardPortion:
|
|
7059
|
+
foundationRewardPortion: number;
|
|
7060
|
+
epochRewardPortion: number;
|
|
7061
|
+
blockRewardPortion: number;
|
|
7062
7062
|
} | null>;
|
|
7063
7063
|
candidateUpdate({ name, operatorAddress, rewardAddress }: {
|
|
7064
7064
|
name: string;
|
|
@@ -9380,6 +9380,14 @@ declare class Delegate$1 extends BaseDBModule {
|
|
|
9380
9380
|
status: string;
|
|
9381
9381
|
data: CandidateProfile;
|
|
9382
9382
|
}>;
|
|
9383
|
+
getCandidateProfileById({ id }: {
|
|
9384
|
+
id: number;
|
|
9385
|
+
}): Promise<{
|
|
9386
|
+
status: string;
|
|
9387
|
+
data: {
|
|
9388
|
+
temp_eth_address: string;
|
|
9389
|
+
} | null;
|
|
9390
|
+
}>;
|
|
9383
9391
|
upsertCandidateSecret(args: Candidate$1): Promise<{
|
|
9384
9392
|
status: string;
|
|
9385
9393
|
data: null;
|
|
@@ -9465,6 +9473,13 @@ declare class Delegate$1 extends BaseDBModule {
|
|
|
9465
9473
|
status: string;
|
|
9466
9474
|
data: MyProfileListItem[];
|
|
9467
9475
|
}>;
|
|
9476
|
+
updateDelegateBanner({ banner_url, temp_eth_address }: {
|
|
9477
|
+
banner_url: string;
|
|
9478
|
+
temp_eth_address: string;
|
|
9479
|
+
}): Promise<{
|
|
9480
|
+
status: string;
|
|
9481
|
+
data: null;
|
|
9482
|
+
}>;
|
|
9468
9483
|
}
|
|
9469
9484
|
declare const modules$1: {
|
|
9470
9485
|
account: Account;
|