@iotexproject/kit 0.0.55 → 0.0.58
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 +15 -26
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7045,6 +7045,21 @@ 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
|
+
}>;
|
|
7059
|
+
createNFTV2Bucket(args: {
|
|
7060
|
+
duration: string;
|
|
7061
|
+
delegate: `0x${string}`;
|
|
7062
|
+
}): Promise<any>;
|
|
7048
7063
|
}
|
|
7049
7064
|
declare class utils {
|
|
7050
7065
|
erc20(args: {
|
|
@@ -7123,32 +7138,6 @@ export interface Dapp {
|
|
|
7123
7138
|
}
|
|
7124
7139
|
declare class UseHub {
|
|
7125
7140
|
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
7141
|
rewardSummary(args: {
|
|
7153
7142
|
address: string;
|
|
7154
7143
|
start_date?: string;
|