@iotexproject/kit 0.1.52 → 0.1.53
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 +11 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7968,6 +7968,15 @@ declare class SmartChefEntity {
|
|
|
7968
7968
|
decimals: string;
|
|
7969
7969
|
};
|
|
7970
7970
|
} | null | undefined>;
|
|
7971
|
+
dailyRewards(): Promise<{
|
|
7972
|
+
dailyRewardUSD: string;
|
|
7973
|
+
dailyReward: {
|
|
7974
|
+
value: string;
|
|
7975
|
+
format: string;
|
|
7976
|
+
originFormat: string;
|
|
7977
|
+
decimals: string;
|
|
7978
|
+
};
|
|
7979
|
+
} | null | undefined>;
|
|
7971
7980
|
totalStakedBalance(): Promise<{
|
|
7972
7981
|
totalStakedBalance: {
|
|
7973
7982
|
value: string;
|
|
@@ -8069,6 +8078,7 @@ declare class LiquidityMining {
|
|
|
8069
8078
|
`0x${string}`
|
|
8070
8079
|
];
|
|
8071
8080
|
totalStakedBalance: true;
|
|
8081
|
+
dailyRewards: true;
|
|
8072
8082
|
}>[]>;
|
|
8073
8083
|
deposit({ address, amount, account }: {
|
|
8074
8084
|
address: `0x${string}`;
|
|
@@ -8088,7 +8098,7 @@ declare class LiquidityMining {
|
|
|
8088
8098
|
harvest({ address }: {
|
|
8089
8099
|
address: `0x${string}`;
|
|
8090
8100
|
}, ctx?: ConfigContext): Promise<{
|
|
8091
|
-
data:
|
|
8101
|
+
data: `0x${string}`;
|
|
8092
8102
|
address: `0x${string}`;
|
|
8093
8103
|
chainId: string;
|
|
8094
8104
|
}>;
|