@iotexproject/kit 0.1.46 → 0.1.48

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 +25 -28
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -7940,17 +7940,17 @@ declare class SmartChefEntity {
7940
7940
  startTime(): Promise<number | undefined>;
7941
7941
  isNew(): Promise<boolean>;
7942
7942
  isExpired(): Promise<boolean>;
7943
- poolBalance(account: `0x${string}`): Promise<{
7944
- poolBalance: {
7943
+ myPoolBalance(account: `0x${string}`): Promise<{
7944
+ myPoolBalance: {
7945
7945
  value: string;
7946
7946
  format: string;
7947
7947
  originFormat: string;
7948
7948
  decimals: string;
7949
7949
  };
7950
- poolBalanceUSD: string;
7950
+ myPoolBalanceUSD: string;
7951
7951
  }>;
7952
7952
  apr(): Promise<string | undefined>;
7953
- pendingReward(account: `0x${string}`): Promise<{
7953
+ myPendingReward(account: `0x${string}`): Promise<{
7954
7954
  pendingReward: {
7955
7955
  value: string;
7956
7956
  format: string;
@@ -7963,7 +7963,7 @@ declare class SmartChefEntity {
7963
7963
  originFormat: string;
7964
7964
  decimals: string;
7965
7965
  };
7966
- } | undefined>;
7966
+ }>;
7967
7967
  totalReward(): Promise<{
7968
7968
  totalRewardUSD: {
7969
7969
  value: string;
@@ -7987,7 +7987,20 @@ declare class SmartChefEntity {
7987
7987
  } | undefined;
7988
7988
  totalStakedBalanceUSD: string;
7989
7989
  } | undefined>;
7990
- stakedToken(): Promise<import("@dappworks/kit/aiem").QueryReturnType<LPTokenEntity, {
7990
+ myStakedTokenBalance(account: `0x${string}`): Promise<{
7991
+ value: string;
7992
+ format: string;
7993
+ originFormat: string;
7994
+ decimals: string;
7995
+ } | undefined>;
7996
+ RewardToken(): Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
7997
+ address: true;
7998
+ symbol: true;
7999
+ priceUSD: true;
8000
+ decimals: true;
8001
+ tokenUrl: true;
8002
+ }>>;
8003
+ StakedToken(): Promise<import("@dappworks/kit/aiem").QueryReturnType<LPTokenEntity, {
7991
8004
  address: true;
7992
8005
  decimals: true;
7993
8006
  symbol: true;
@@ -8010,31 +8023,15 @@ declare class SmartChefEntity {
8010
8023
  tokenUrl: true;
8011
8024
  type: true;
8012
8025
  }> | undefined>;
8013
- myStakedTokenBalance(account: `0x${string}`): Promise<import("@dappworks/kit/aiem").QueryReturnType<LPTokenEntity, {
8014
- balanceOf: [
8015
- `0x${string}`
8016
- ];
8017
- }> | import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8018
- balanceOf: [
8019
- `0x${string}`
8020
- ];
8021
- }> | undefined>;
8022
- rewardToken(): Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
8023
- address: true;
8024
- symbol: true;
8025
- priceUSD: true;
8026
- decimals: true;
8027
- tokenUrl: true;
8028
- }> | undefined>;
8029
8026
  deposit: (_amount: string) => Promise<any>;
8030
8027
  withdraw: (_amount: string) => Promise<any>;
8031
8028
  }
8032
8029
  declare class LiquidityMining {
8033
- poolsList({ account }: {
8034
- account: `0x${string}`;
8030
+ poolsList(args: {
8031
+ account?: `0x${string}`;
8035
8032
  }, ctx?: ConfigContext): Promise<import("@dappworks/kit/aiem").QueryReturnType<SmartChefEntity, {
8036
- rewardToken: true;
8037
- stakedToken: true;
8033
+ RewardToken: true;
8034
+ StakedToken: true;
8038
8035
  endTime: true;
8039
8036
  startTime: true;
8040
8037
  isNew: true;
@@ -8044,11 +8041,11 @@ declare class LiquidityMining {
8044
8041
  myStakedTokenBalance: false | [
8045
8042
  `0x${string}`
8046
8043
  ];
8047
- poolBalance: false | [
8044
+ myPoolBalance: false | [
8048
8045
  `0x${string}`
8049
8046
  ];
8050
8047
  apr: true;
8051
- pendingReward: false | [
8048
+ myPendingReward: false | [
8052
8049
  `0x${string}`
8053
8050
  ];
8054
8051
  totalStakedBalance: true;
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.1.46",
5
+ "version": "v0.1.48",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {