@iotexproject/kit 0.0.53 → 0.0.55

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +24 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6755,9 +6755,12 @@ declare class LSTStrategyEntity {
6755
6755
  transferOwnership: (newOwner: `0x${string}`) => Promise<any>;
6756
6756
  }
6757
6757
  declare class MSP {
6758
- mockBucket(): Promise<{
6758
+ mockBucket(args: {
6759
+ amount: string;
6760
+ }): Promise<{
6759
6761
  data: any;
6760
6762
  address: string;
6763
+ value: string;
6761
6764
  }>;
6762
6765
  mockLST(args: {
6763
6766
  lstTokenAddress: string;
@@ -6796,10 +6799,16 @@ declare class MSP {
6796
6799
  decimals: string;
6797
6800
  isZero: boolean;
6798
6801
  };
6802
+ bucketAmount: {
6803
+ value: string;
6804
+ format: string;
6805
+ originFormat: string;
6806
+ decimals: string;
6807
+ isZero: boolean;
6808
+ };
6799
6809
  stakeStatus: any;
6800
6810
  totalAmount: () => Promise<any>;
6801
6811
  unstakeTime: any;
6802
- bucketAmount: any;
6803
6812
  bucketStaker: (_: string) => Promise<any>;
6804
6813
  withdrawTime: any;
6805
6814
  pendingReward: (token: `0x${string}`, staker: `0x${string}`) => Promise<any>;
@@ -6865,11 +6874,17 @@ declare class MSP {
6865
6874
  decimals: string;
6866
6875
  isZero: boolean;
6867
6876
  };
6877
+ bucketAmount: {
6878
+ value: string;
6879
+ format: string;
6880
+ originFormat: string;
6881
+ decimals: string;
6882
+ isZero: boolean;
6883
+ };
6868
6884
  owner: () => Promise<any>;
6869
6885
  stakeStatus: any;
6870
6886
  totalAmount: () => Promise<any>;
6871
6887
  unstakeTime: any;
6872
- bucketAmount: any;
6873
6888
  bucketStaker: (_: string) => Promise<any>;
6874
6889
  withdrawTime: any;
6875
6890
  pendingReward: (token: `0x${string}`, staker: `0x${string}`) => Promise<any>;
@@ -7026,6 +7041,10 @@ declare class Staking {
7026
7041
  duration: string;
7027
7042
  autoStake: boolean;
7028
7043
  }): Promise<any>;
7044
+ candidateEndorsement(args: {
7045
+ bucketIndex: string;
7046
+ endorse: boolean;
7047
+ }): Promise<any>;
7029
7048
  }
7030
7049
  declare class utils {
7031
7050
  erc20(args: {
@@ -7158,6 +7177,8 @@ declare class UseHub {
7158
7177
  }): Promise<{
7159
7178
  RewardRecord: {
7160
7179
  total_reward_delta: number;
7180
+ burndrop_reward_delta: number;
7181
+ hermes_reward_delta: number;
7161
7182
  date: string;
7162
7183
  }[];
7163
7184
  }>;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@iotexproject/kit",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "v0.0.53",
5
+ "version": "v0.0.55",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {