@poolzfinance/api4 1.11.20 → 1.11.22
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/endpoints/onBoardingSetAllocation.d.ts +3 -1
- package/dist/endpoints/tokenInfo.d.ts +3 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/graphql/gql.d.ts +14 -14
- package/dist/types/graphql/graphql.d.ts +40 -32
- package/package.json +1 -1
- package/dist/endpoints/onboardingSetToken.d.ts +0 -9
|
@@ -102,20 +102,17 @@ declare const documents: {
|
|
|
102
102
|
"\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}": DocumentNode<types.OnboardingProjectsQuery, types.Exact<{
|
|
103
103
|
dataOnAuth: types.DataOnAuth;
|
|
104
104
|
}>>;
|
|
105
|
-
"\n mutation OnboardingSetAllocation($tokenAllocation: [OnboardingTokenAllocation!]!, $
|
|
106
|
-
tokenAllocation: types.OnboardingTokenAllocation | types.OnboardingTokenAllocation[];
|
|
105
|
+
"\n mutation OnboardingSetAllocation($dataOnAuth: DataOnAuth!, $chatId: Long!, $tokenAllocation: [OnboardingTokenAllocation!]!, $chainId: Long!, $tokenAddress: String!) {\n onboardingSetAllocation(dataOnAuth: $dataOnAuth, chatId: $chatId, chainId: $chainId, tokenAddress: $tokenAddress, tokenAllocation: $tokenAllocation) {\n Success\n ErrorMessage\n }\n}": DocumentNode<types.OnboardingSetAllocationMutation, types.Exact<{
|
|
107
106
|
dataOnAuth: types.DataOnAuth;
|
|
108
107
|
chatId: any;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
dataOnAuth: types.DataOnAuth;
|
|
113
|
-
token: types.OnboardingToken;
|
|
108
|
+
tokenAllocation: types.OnboardingTokenAllocation | types.OnboardingTokenAllocation[];
|
|
109
|
+
chainId: any;
|
|
110
|
+
tokenAddress: string;
|
|
114
111
|
}>>;
|
|
115
112
|
"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": DocumentNode<types.PoolxPriceQuery, types.Exact<{
|
|
116
113
|
[key: string]: never;
|
|
117
114
|
}>>;
|
|
118
|
-
"\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n
|
|
115
|
+
"\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n": DocumentNode<types.GetPoolxTokenomicsQuery, types.Exact<{
|
|
119
116
|
[key: string]: never;
|
|
120
117
|
}>>;
|
|
121
118
|
"\n query Signup($signUpId: Int!) {\n signUp(id: $signUpId) {\n Address\n Amount\n }\n}": DocumentNode<types.SignupQuery, types.Exact<{
|
|
@@ -127,6 +124,9 @@ declare const documents: {
|
|
|
127
124
|
"\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }": DocumentNode<types.StatusQuery, types.Exact<{
|
|
128
125
|
[key: string]: never;
|
|
129
126
|
}>>;
|
|
127
|
+
"\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n": DocumentNode<types.TokenInfoQuery, types.Exact<{
|
|
128
|
+
hashKey: string;
|
|
129
|
+
}>>;
|
|
130
130
|
"\n query Data($chainId: Int, $tokenAddress: String, $fetchBalance: Boolean) {\n vaults(chainId: $chainId, tokenAddress: $tokenAddress, fetchBalance: $fetchBalance) {\n Data {\n VaultId\n VaultAddress\n VaultCreationTx\n TokenAddress\n TokenName\n TokenSymbol\n TokenDecimals\n Balance {\n BalanceOfToken\n FetchTime\n }\n }\n ChainId\n }\n }\n": DocumentNode<types.DataQuery, types.Exact<{
|
|
131
131
|
chainId?: types.InputMaybe<number> | undefined;
|
|
132
132
|
tokenAddress?: types.InputMaybe<string> | undefined;
|
|
@@ -257,11 +257,7 @@ export declare function gql(source: "\nquery OnboardingProjects($dataOnAuth: Dat
|
|
|
257
257
|
/**
|
|
258
258
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
259
259
|
*/
|
|
260
|
-
export declare function gql(source: "\n mutation OnboardingSetAllocation($tokenAllocation: [OnboardingTokenAllocation!]!, $
|
|
261
|
-
/**
|
|
262
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
263
|
-
*/
|
|
264
|
-
export declare function gql(source: "\n mutation OnboardingSetToken($chatId:Long!, $dataOnAuth: DataOnAuth!, $token: OnboardingToken!) {\n onboardingSetToken(chatId: $chatId, dataOnAuth: $dataOnAuth, token: $token) {\n Success\n ErrorMessage\n }\n}"): (typeof documents)["\n mutation OnboardingSetToken($chatId:Long!, $dataOnAuth: DataOnAuth!, $token: OnboardingToken!) {\n onboardingSetToken(chatId: $chatId, dataOnAuth: $dataOnAuth, token: $token) {\n Success\n ErrorMessage\n }\n}"];
|
|
260
|
+
export declare function gql(source: "\n mutation OnboardingSetAllocation($dataOnAuth: DataOnAuth!, $chatId: Long!, $tokenAllocation: [OnboardingTokenAllocation!]!, $chainId: Long!, $tokenAddress: String!) {\n onboardingSetAllocation(dataOnAuth: $dataOnAuth, chatId: $chatId, chainId: $chainId, tokenAddress: $tokenAddress, tokenAllocation: $tokenAllocation) {\n Success\n ErrorMessage\n }\n}"): (typeof documents)["\n mutation OnboardingSetAllocation($dataOnAuth: DataOnAuth!, $chatId: Long!, $tokenAllocation: [OnboardingTokenAllocation!]!, $chainId: Long!, $tokenAddress: String!) {\n onboardingSetAllocation(dataOnAuth: $dataOnAuth, chatId: $chatId, chainId: $chainId, tokenAddress: $tokenAddress, tokenAllocation: $tokenAllocation) {\n Success\n ErrorMessage\n }\n}"];
|
|
265
261
|
/**
|
|
266
262
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
267
263
|
*/
|
|
@@ -269,7 +265,7 @@ export declare function gql(source: "\n query PoolxPrice {\n poolxPrice {\n
|
|
|
269
265
|
/**
|
|
270
266
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
271
267
|
*/
|
|
272
|
-
export declare function gql(source: "\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n
|
|
268
|
+
export declare function gql(source: "\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n"): (typeof documents)["\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n"];
|
|
273
269
|
/**
|
|
274
270
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
275
271
|
*/
|
|
@@ -282,6 +278,10 @@ export declare function gql(source: "\n query MySignup {\n mySignup {\n
|
|
|
282
278
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
283
279
|
*/
|
|
284
280
|
export declare function gql(source: "\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }"): (typeof documents)["\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }"];
|
|
281
|
+
/**
|
|
282
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
283
|
+
*/
|
|
284
|
+
export declare function gql(source: "\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n"): (typeof documents)["\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n"];
|
|
285
285
|
/**
|
|
286
286
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
287
287
|
*/
|
|
@@ -233,7 +233,6 @@ export type Mutation = {
|
|
|
233
233
|
myLinkTelegram: Scalars['Int']['output'];
|
|
234
234
|
onboardingCheckTx: OnboardingMutationsResponse;
|
|
235
235
|
onboardingSetAllocation: OnboardingMutationsResponse;
|
|
236
|
-
onboardingSetToken: OnboardingMutationsResponse;
|
|
237
236
|
sendToMonitor: Scalars['Int']['output'];
|
|
238
237
|
setMyAgree: Scalars['Boolean']['output'];
|
|
239
238
|
updateAutoSignUp: AdminAutoSignUp;
|
|
@@ -291,15 +290,12 @@ export type MutationOnboardingCheckTxArgs = {
|
|
|
291
290
|
tokenTransfer: OnboardingTokenTransfer;
|
|
292
291
|
};
|
|
293
292
|
export type MutationOnboardingSetAllocationArgs = {
|
|
293
|
+
chainId: Scalars['Long']['input'];
|
|
294
294
|
chatId: Scalars['Long']['input'];
|
|
295
295
|
dataOnAuth: DataOnAuth;
|
|
296
|
+
tokenAddress: Scalars['String']['input'];
|
|
296
297
|
tokenAllocation: Array<OnboardingTokenAllocation>;
|
|
297
298
|
};
|
|
298
|
-
export type MutationOnboardingSetTokenArgs = {
|
|
299
|
-
chatId: Scalars['Long']['input'];
|
|
300
|
-
dataOnAuth: DataOnAuth;
|
|
301
|
-
token: OnboardingToken;
|
|
302
|
-
};
|
|
303
299
|
export type MutationSendToMonitorArgs = {
|
|
304
300
|
input: Scalars['String']['input'];
|
|
305
301
|
};
|
|
@@ -381,11 +377,6 @@ export type OnboardingProject = {
|
|
|
381
377
|
ChatId: Scalars['Long']['output'];
|
|
382
378
|
ChatTitle?: Maybe<Scalars['String']['output']>;
|
|
383
379
|
};
|
|
384
|
-
export type OnboardingToken = {
|
|
385
|
-
Amount: Scalars['Float']['input'];
|
|
386
|
-
ChainId: Scalars['Long']['input'];
|
|
387
|
-
TokenAddress: Scalars['String']['input'];
|
|
388
|
-
};
|
|
389
380
|
export type OnboardingTokenAllocation = {
|
|
390
381
|
FinishDate?: InputMaybe<Scalars['String']['input']>;
|
|
391
382
|
Ratio: Scalars['Float']['input'];
|
|
@@ -463,6 +454,7 @@ export type Query = {
|
|
|
463
454
|
splitDataEncoder: Scalars['String']['output'];
|
|
464
455
|
status: Array<Status>;
|
|
465
456
|
time: Scalars['Int']['output'];
|
|
457
|
+
tokenInfo?: Maybe<TokenInfo>;
|
|
466
458
|
tokenRefunds: Array<TokenRefunds>;
|
|
467
459
|
uniqueUsers: UniqueUsers;
|
|
468
460
|
unlocks: Array<Unlocks>;
|
|
@@ -540,6 +532,9 @@ export type QuerySplitDataEncoderArgs = {
|
|
|
540
532
|
address: Scalars['String']['input'];
|
|
541
533
|
ratio: Scalars['Float']['input'];
|
|
542
534
|
};
|
|
535
|
+
export type QueryTokenInfoArgs = {
|
|
536
|
+
hashKey: Scalars['String']['input'];
|
|
537
|
+
};
|
|
543
538
|
export type QueryTokenRefundsArgs = {
|
|
544
539
|
chainId: Scalars['Int']['input'];
|
|
545
540
|
fromBlock?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -613,6 +608,15 @@ export type StatusEvents = {
|
|
|
613
608
|
ResponseType: Scalars['String']['output'];
|
|
614
609
|
StartingBlock: Scalars['Int']['output'];
|
|
615
610
|
};
|
|
611
|
+
export type TokenInfo = {
|
|
612
|
+
__typename?: 'TokenInfo';
|
|
613
|
+
Address: Scalars['String']['output'];
|
|
614
|
+
ChainId: Scalars['Long']['output'];
|
|
615
|
+
Decimals: Scalars['Int']['output'];
|
|
616
|
+
Name: Scalars['String']['output'];
|
|
617
|
+
Symbol: Scalars['String']['output'];
|
|
618
|
+
TotalSupply: Scalars['Float']['output'];
|
|
619
|
+
};
|
|
616
620
|
export type TokenRefunds = {
|
|
617
621
|
__typename?: 'TokenRefunds';
|
|
618
622
|
BlockHeight: Scalars['Int']['output'];
|
|
@@ -1032,9 +1036,11 @@ export type OnboardingProjectsQuery = {
|
|
|
1032
1036
|
}>;
|
|
1033
1037
|
};
|
|
1034
1038
|
export type OnboardingSetAllocationMutationVariables = Exact<{
|
|
1035
|
-
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1036
1039
|
dataOnAuth: DataOnAuth;
|
|
1037
1040
|
chatId: Scalars['Long']['input'];
|
|
1041
|
+
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1042
|
+
chainId: Scalars['Long']['input'];
|
|
1043
|
+
tokenAddress: Scalars['String']['input'];
|
|
1038
1044
|
}>;
|
|
1039
1045
|
export type OnboardingSetAllocationMutation = {
|
|
1040
1046
|
__typename?: 'Mutation';
|
|
@@ -1044,19 +1050,6 @@ export type OnboardingSetAllocationMutation = {
|
|
|
1044
1050
|
ErrorMessage?: string | null;
|
|
1045
1051
|
};
|
|
1046
1052
|
};
|
|
1047
|
-
export type OnboardingSetTokenMutationVariables = Exact<{
|
|
1048
|
-
chatId: Scalars['Long']['input'];
|
|
1049
|
-
dataOnAuth: DataOnAuth;
|
|
1050
|
-
token: OnboardingToken;
|
|
1051
|
-
}>;
|
|
1052
|
-
export type OnboardingSetTokenMutation = {
|
|
1053
|
-
__typename?: 'Mutation';
|
|
1054
|
-
onboardingSetToken: {
|
|
1055
|
-
__typename?: 'OnboardingMutationsResponse';
|
|
1056
|
-
Success: boolean;
|
|
1057
|
-
ErrorMessage?: string | null;
|
|
1058
|
-
};
|
|
1059
|
-
};
|
|
1060
1053
|
export type PoolxPriceQueryVariables = Exact<{
|
|
1061
1054
|
[key: string]: never;
|
|
1062
1055
|
}>;
|
|
@@ -1091,7 +1084,7 @@ export type GetPoolxTokenomicsQuery = {
|
|
|
1091
1084
|
Sum: number;
|
|
1092
1085
|
Huobi: number;
|
|
1093
1086
|
GateIO: number;
|
|
1094
|
-
|
|
1087
|
+
PancakeSwapV3_01?: number | null;
|
|
1095
1088
|
PancakeSwapV3: number;
|
|
1096
1089
|
Mexc: number;
|
|
1097
1090
|
};
|
|
@@ -1141,6 +1134,21 @@ export type StatusQuery = {
|
|
|
1141
1134
|
}>;
|
|
1142
1135
|
}>;
|
|
1143
1136
|
};
|
|
1137
|
+
export type TokenInfoQueryVariables = Exact<{
|
|
1138
|
+
hashKey: Scalars['String']['input'];
|
|
1139
|
+
}>;
|
|
1140
|
+
export type TokenInfoQuery = {
|
|
1141
|
+
__typename?: 'Query';
|
|
1142
|
+
tokenInfo?: {
|
|
1143
|
+
__typename?: 'TokenInfo';
|
|
1144
|
+
Address: string;
|
|
1145
|
+
ChainId: any;
|
|
1146
|
+
Decimals: number;
|
|
1147
|
+
Name: string;
|
|
1148
|
+
Symbol: string;
|
|
1149
|
+
TotalSupply: number;
|
|
1150
|
+
} | null;
|
|
1151
|
+
};
|
|
1144
1152
|
export type DataQueryVariables = Exact<{
|
|
1145
1153
|
chainId?: InputMaybe<Scalars['Int']['input']>;
|
|
1146
1154
|
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1260,14 +1268,11 @@ export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjects
|
|
|
1260
1268
|
dataOnAuth: DataOnAuth;
|
|
1261
1269
|
}>>;
|
|
1262
1270
|
export declare const OnboardingSetAllocationDocument: DocumentNode<OnboardingSetAllocationMutation, Exact<{
|
|
1263
|
-
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1264
1271
|
dataOnAuth: DataOnAuth;
|
|
1265
1272
|
chatId: Scalars['Long']['input'];
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
dataOnAuth: DataOnAuth;
|
|
1270
|
-
token: OnboardingToken;
|
|
1273
|
+
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1274
|
+
chainId: Scalars['Long']['input'];
|
|
1275
|
+
tokenAddress: Scalars['String']['input'];
|
|
1271
1276
|
}>>;
|
|
1272
1277
|
export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
|
|
1273
1278
|
[key: string]: never;
|
|
@@ -1284,6 +1289,9 @@ export declare const MySignupDocument: DocumentNode<MySignupQuery, Exact<{
|
|
|
1284
1289
|
export declare const StatusDocument: DocumentNode<StatusQuery, Exact<{
|
|
1285
1290
|
[key: string]: never;
|
|
1286
1291
|
}>>;
|
|
1292
|
+
export declare const TokenInfoDocument: DocumentNode<TokenInfoQuery, Exact<{
|
|
1293
|
+
hashKey: Scalars['String']['input'];
|
|
1294
|
+
}>>;
|
|
1287
1295
|
export declare const DataDocument: DocumentNode<DataQuery, Exact<{
|
|
1288
1296
|
chainId?: InputMaybe<number> | undefined;
|
|
1289
1297
|
tokenAddress?: InputMaybe<string> | undefined;
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const useOnBoardingSetToken: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").OnboardingSetTokenMutation, import("../types/graphql/graphql").Exact<{
|
|
2
|
-
chatId: any;
|
|
3
|
-
dataOnAuth: import("../types/graphql/graphql").DataOnAuth;
|
|
4
|
-
token: import("../types/graphql/graphql").OnboardingToken;
|
|
5
|
-
}>, {
|
|
6
|
-
headers: {
|
|
7
|
-
Authorization: string;
|
|
8
|
-
};
|
|
9
|
-
}, import("@apollo/client").ApolloCache<any>>;
|