@iotexproject/kit 0.1.93 → 0.1.95
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 +14 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { RouteConfig } from '@asteasolutions/zod-to-openapi';
|
|
|
4
4
|
import { BentoCache, bentostore } from 'bentocache';
|
|
5
5
|
import DataLoader from 'dataloader';
|
|
6
6
|
import postgres from 'postgres';
|
|
7
|
-
import { Sql } from 'postgres';
|
|
8
7
|
import { PickByValue } from 'utility-types';
|
|
9
8
|
import { z } from 'zod';
|
|
10
9
|
|
|
@@ -6936,6 +6935,9 @@ declare class Staking {
|
|
|
6936
6935
|
migrateStake(args: {
|
|
6937
6936
|
bucketIndex: string;
|
|
6938
6937
|
}, ctx?: ConfigContext): Promise<any>;
|
|
6938
|
+
migrateLegacyBucket(args: {
|
|
6939
|
+
bucketIndex: string;
|
|
6940
|
+
}, ctx?: ConfigContext): Promise<any>;
|
|
6939
6941
|
getNFTV2BucketsByIndexes(args: {
|
|
6940
6942
|
token_ids: string[];
|
|
6941
6943
|
}, ctx?: ConfigContext): Promise<any[]>;
|
|
@@ -6963,7 +6965,7 @@ declare class Staking {
|
|
|
6963
6965
|
max_duration?: undefined;
|
|
6964
6966
|
one_day?: undefined;
|
|
6965
6967
|
}>;
|
|
6966
|
-
|
|
6968
|
+
nftStakingConfig(args?: {
|
|
6967
6969
|
version: "v2" | "v3";
|
|
6968
6970
|
}, ctx?: ConfigContext): Promise<{
|
|
6969
6971
|
min_amount: any;
|
|
@@ -10368,13 +10370,19 @@ declare class Point {
|
|
|
10368
10370
|
}>;
|
|
10369
10371
|
}
|
|
10370
10372
|
declare class IoPay$1 {
|
|
10371
|
-
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
token: string;
|
|
10373
|
+
private queryTokenId;
|
|
10374
|
+
queryKlineData(args: {
|
|
10375
|
+
symbol: string;
|
|
10375
10376
|
start: string;
|
|
10376
10377
|
end: string;
|
|
10377
10378
|
}): Promise<any>;
|
|
10379
|
+
queryTokenPrice(args: {
|
|
10380
|
+
symbol: string;
|
|
10381
|
+
}): Promise<any>;
|
|
10382
|
+
queryQuestions({ symbol, lang }: {
|
|
10383
|
+
symbol: string;
|
|
10384
|
+
lang?: string;
|
|
10385
|
+
}): Promise<string[]>;
|
|
10378
10386
|
}
|
|
10379
10387
|
declare const modules$4: {
|
|
10380
10388
|
point: Point;
|