@iotexproject/kit 0.1.45 → 0.1.46
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 +29 -10
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7940,12 +7940,6 @@ declare class SmartChefEntity {
|
|
|
7940
7940
|
startTime(): Promise<number | undefined>;
|
|
7941
7941
|
isNew(): Promise<boolean>;
|
|
7942
7942
|
isExpired(): Promise<boolean>;
|
|
7943
|
-
rewardToken(): Promise<import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
|
|
7944
|
-
address: true;
|
|
7945
|
-
symbol: true;
|
|
7946
|
-
priceUSD: true;
|
|
7947
|
-
decimals: true;
|
|
7948
|
-
}> | undefined>;
|
|
7949
7943
|
poolBalance(account: `0x${string}`): Promise<{
|
|
7950
7944
|
poolBalance: {
|
|
7951
7945
|
value: string;
|
|
@@ -8001,6 +7995,10 @@ declare class SmartChefEntity {
|
|
|
8001
7995
|
`0x${string}`
|
|
8002
7996
|
];
|
|
8003
7997
|
priceUSD: true;
|
|
7998
|
+
tokenUrl: true;
|
|
7999
|
+
type: true;
|
|
8000
|
+
token0: true;
|
|
8001
|
+
token1: true;
|
|
8004
8002
|
}> | import("@dappworks/kit/aiem").QueryReturnType<ERC20Entity, {
|
|
8005
8003
|
decimals: true;
|
|
8006
8004
|
address: true;
|
|
@@ -8009,6 +8007,24 @@ declare class SmartChefEntity {
|
|
|
8009
8007
|
`0x${string}`
|
|
8010
8008
|
];
|
|
8011
8009
|
priceUSD: true;
|
|
8010
|
+
tokenUrl: true;
|
|
8011
|
+
type: true;
|
|
8012
|
+
}> | 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;
|
|
8012
8028
|
}> | undefined>;
|
|
8013
8029
|
deposit: (_amount: string) => Promise<any>;
|
|
8014
8030
|
withdraw: (_amount: string) => Promise<any>;
|
|
@@ -8016,7 +8032,7 @@ declare class SmartChefEntity {
|
|
|
8016
8032
|
declare class LiquidityMining {
|
|
8017
8033
|
poolsList({ account }: {
|
|
8018
8034
|
account: `0x${string}`;
|
|
8019
|
-
}, ctx
|
|
8035
|
+
}, ctx?: ConfigContext): Promise<import("@dappworks/kit/aiem").QueryReturnType<SmartChefEntity, {
|
|
8020
8036
|
rewardToken: true;
|
|
8021
8037
|
stakedToken: true;
|
|
8022
8038
|
endTime: true;
|
|
@@ -8025,6 +8041,9 @@ declare class LiquidityMining {
|
|
|
8025
8041
|
isExpired: true;
|
|
8026
8042
|
totalReward: true;
|
|
8027
8043
|
totalRewardUsd: true;
|
|
8044
|
+
myStakedTokenBalance: false | [
|
|
8045
|
+
`0x${string}`
|
|
8046
|
+
];
|
|
8028
8047
|
poolBalance: false | [
|
|
8029
8048
|
`0x${string}`
|
|
8030
8049
|
];
|
|
@@ -8038,7 +8057,7 @@ declare class LiquidityMining {
|
|
|
8038
8057
|
address: `0x${string}`;
|
|
8039
8058
|
amount: string;
|
|
8040
8059
|
account: `0x${string}`;
|
|
8041
|
-
}, ctx
|
|
8060
|
+
}, ctx?: ConfigContext): Promise<{
|
|
8042
8061
|
data: any;
|
|
8043
8062
|
address: `0x${string}`;
|
|
8044
8063
|
chainId: string;
|
|
@@ -8046,7 +8065,7 @@ declare class LiquidityMining {
|
|
|
8046
8065
|
}[]>;
|
|
8047
8066
|
harvest({ address }: {
|
|
8048
8067
|
address: `0x${string}`;
|
|
8049
|
-
}, ctx
|
|
8068
|
+
}, ctx?: ConfigContext): Promise<{
|
|
8050
8069
|
data: any;
|
|
8051
8070
|
address: `0x${string}`;
|
|
8052
8071
|
chainId: string;
|
|
@@ -8054,7 +8073,7 @@ declare class LiquidityMining {
|
|
|
8054
8073
|
withdraw({ address, amount }: {
|
|
8055
8074
|
address: `0x${string}`;
|
|
8056
8075
|
amount: string;
|
|
8057
|
-
}, ctx
|
|
8076
|
+
}, ctx?: ConfigContext): Promise<{
|
|
8058
8077
|
data: any;
|
|
8059
8078
|
address: `0x${string}`;
|
|
8060
8079
|
chainId: string;
|