@iotexproject/kit 0.0.55 → 0.0.57
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 -26
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7045,6 +7045,17 @@ declare class Staking {
|
|
|
7045
7045
|
bucketIndex: string;
|
|
7046
7046
|
endorse: boolean;
|
|
7047
7047
|
}): Promise<any>;
|
|
7048
|
+
nftV2StakingConfig(): Promise<{
|
|
7049
|
+
min_amount: any;
|
|
7050
|
+
max_duration: any;
|
|
7051
|
+
one_day: any;
|
|
7052
|
+
error?: undefined;
|
|
7053
|
+
} | {
|
|
7054
|
+
error: unknown;
|
|
7055
|
+
min_amount?: undefined;
|
|
7056
|
+
max_duration?: undefined;
|
|
7057
|
+
one_day?: undefined;
|
|
7058
|
+
}>;
|
|
7048
7059
|
}
|
|
7049
7060
|
declare class utils {
|
|
7050
7061
|
erc20(args: {
|
|
@@ -7123,32 +7134,6 @@ export interface Dapp {
|
|
|
7123
7134
|
}
|
|
7124
7135
|
declare class UseHub {
|
|
7125
7136
|
constructor();
|
|
7126
|
-
myRewards(args: {
|
|
7127
|
-
address: string;
|
|
7128
|
-
start_date?: string;
|
|
7129
|
-
end_date?: string;
|
|
7130
|
-
}): Promise<{
|
|
7131
|
-
RewardRecord: {
|
|
7132
|
-
total_reward_delta: number;
|
|
7133
|
-
burndrop_reward_delta: number;
|
|
7134
|
-
hermes_reward_delta: number;
|
|
7135
|
-
date: string;
|
|
7136
|
-
}[];
|
|
7137
|
-
RewardRecord_aggregate: {
|
|
7138
|
-
aggregate: {
|
|
7139
|
-
sum: {
|
|
7140
|
-
total_reward_delta: number;
|
|
7141
|
-
burndrop_reward_delta: number;
|
|
7142
|
-
hermes_reward_delta: number;
|
|
7143
|
-
};
|
|
7144
|
-
};
|
|
7145
|
-
};
|
|
7146
|
-
KV: [
|
|
7147
|
-
{
|
|
7148
|
-
value: string;
|
|
7149
|
-
}
|
|
7150
|
-
];
|
|
7151
|
-
}>;
|
|
7152
7137
|
rewardSummary(args: {
|
|
7153
7138
|
address: string;
|
|
7154
7139
|
start_date?: string;
|