@iotexproject/kit 0.1.46 → 0.1.47
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 +17 -20
- 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
|
-
|
|
7944
|
-
|
|
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
|
-
|
|
7950
|
+
myPoolBalanceUSD: string;
|
|
7951
7951
|
}>;
|
|
7952
7952
|
apr(): Promise<string | undefined>;
|
|
7953
|
-
|
|
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
|
-
}
|
|
7966
|
+
}>;
|
|
7967
7967
|
totalReward(): Promise<{
|
|
7968
7968
|
totalRewardUSD: {
|
|
7969
7969
|
value: string;
|
|
@@ -8010,28 +8010,25 @@ declare class SmartChefEntity {
|
|
|
8010
8010
|
tokenUrl: true;
|
|
8011
8011
|
type: true;
|
|
8012
8012
|
}> | undefined>;
|
|
8013
|
-
myStakedTokenBalance(account: `0x${string}`): Promise<
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
|
|
8020
|
-
];
|
|
8021
|
-
}> | undefined>;
|
|
8022
|
-
rewardToken(): Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
|
|
8013
|
+
myStakedTokenBalance(account: `0x${string}`): Promise<{
|
|
8014
|
+
value: string;
|
|
8015
|
+
format: string;
|
|
8016
|
+
originFormat: string;
|
|
8017
|
+
decimals: string;
|
|
8018
|
+
} | undefined>;
|
|
8019
|
+
RewardToken(): Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
|
|
8023
8020
|
address: true;
|
|
8024
8021
|
symbol: true;
|
|
8025
8022
|
priceUSD: true;
|
|
8026
8023
|
decimals: true;
|
|
8027
8024
|
tokenUrl: true;
|
|
8028
|
-
}
|
|
8025
|
+
}>>;
|
|
8029
8026
|
deposit: (_amount: string) => Promise<any>;
|
|
8030
8027
|
withdraw: (_amount: string) => Promise<any>;
|
|
8031
8028
|
}
|
|
8032
8029
|
declare class LiquidityMining {
|
|
8033
|
-
poolsList(
|
|
8034
|
-
account
|
|
8030
|
+
poolsList(args: {
|
|
8031
|
+
account?: `0x${string}`;
|
|
8035
8032
|
}, ctx?: ConfigContext): Promise<import("@dappworks/kit/aiem").QueryReturnType<SmartChefEntity, {
|
|
8036
8033
|
rewardToken: true;
|
|
8037
8034
|
stakedToken: true;
|
|
@@ -8044,11 +8041,11 @@ declare class LiquidityMining {
|
|
|
8044
8041
|
myStakedTokenBalance: false | [
|
|
8045
8042
|
`0x${string}`
|
|
8046
8043
|
];
|
|
8047
|
-
|
|
8044
|
+
myPoolBalance: false | [
|
|
8048
8045
|
`0x${string}`
|
|
8049
8046
|
];
|
|
8050
8047
|
apr: true;
|
|
8051
|
-
|
|
8048
|
+
myPendingReward: false | [
|
|
8052
8049
|
`0x${string}`
|
|
8053
8050
|
];
|
|
8054
8051
|
totalStakedBalance: true;
|