@poolzfinance/api4 1.11.5 → 1.11.7
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/poolxPrice.d.ts +3 -0
- package/dist/endpoints/status.d.ts +3 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- 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 -0
- package/dist/types/graphql/graphql.d.ts +51 -3
- package/package.json +1 -1
|
@@ -87,6 +87,9 @@ declare const documents: {
|
|
|
87
87
|
"\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }": DocumentNode<types.SignUpCheckQuery, types.Exact<{
|
|
88
88
|
poolIDs: number | number[];
|
|
89
89
|
}>>;
|
|
90
|
+
"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": DocumentNode<types.PoolxPriceQuery, types.Exact<{
|
|
91
|
+
[key: string]: never;
|
|
92
|
+
}>>;
|
|
90
93
|
"\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 PancakeSwapV2\n PancakeSwapV3\n Mexc\n }\n }\n }\n": DocumentNode<types.GetPoolxTokenomicsQuery, types.Exact<{
|
|
91
94
|
[key: string]: never;
|
|
92
95
|
}>>;
|
|
@@ -96,6 +99,9 @@ declare const documents: {
|
|
|
96
99
|
"\n query MySignup {\n mySignup {\n SignupId\n }\n}": DocumentNode<types.MySignupQuery, types.Exact<{
|
|
97
100
|
[key: string]: never;
|
|
98
101
|
}>>;
|
|
102
|
+
"\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<{
|
|
103
|
+
[key: string]: never;
|
|
104
|
+
}>>;
|
|
99
105
|
"\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<{
|
|
100
106
|
chainId?: types.InputMaybe<number> | undefined;
|
|
101
107
|
tokenAddress?: types.InputMaybe<string> | undefined;
|
|
@@ -207,6 +213,10 @@ export declare function gql(source: "\n query MyRole {\n myRole\n}"): (typeo
|
|
|
207
213
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
208
214
|
*/
|
|
209
215
|
export declare function gql(source: "\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }"): (typeof documents)["\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }"];
|
|
216
|
+
/**
|
|
217
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
218
|
+
*/
|
|
219
|
+
export declare function gql(source: "\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }"): (typeof documents)["\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }"];
|
|
210
220
|
/**
|
|
211
221
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
212
222
|
*/
|
|
@@ -219,6 +229,10 @@ export declare function gql(source: "\n query Signup($signUpId: Int!) {\n si
|
|
|
219
229
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
220
230
|
*/
|
|
221
231
|
export declare function gql(source: "\n query MySignup {\n mySignup {\n SignupId\n }\n}"): (typeof documents)["\n query MySignup {\n mySignup {\n SignupId\n }\n}"];
|
|
232
|
+
/**
|
|
233
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
234
|
+
*/
|
|
235
|
+
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 }"];
|
|
222
236
|
/**
|
|
223
237
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
224
238
|
*/
|
|
@@ -301,6 +301,11 @@ export type NonEvmWallet = {
|
|
|
301
301
|
ChainName: Scalars['String']['output'];
|
|
302
302
|
Wallet: Scalars['String']['output'];
|
|
303
303
|
};
|
|
304
|
+
export type PoolxPrice = {
|
|
305
|
+
__typename?: 'PoolxPrice';
|
|
306
|
+
Price: Scalars['Float']['output'];
|
|
307
|
+
Timestamp: Scalars['Int']['output'];
|
|
308
|
+
};
|
|
304
309
|
export type PoolxTokenomics = {
|
|
305
310
|
__typename?: 'PoolxTokenomics';
|
|
306
311
|
CirculatingSupply: Scalars['Float']['output'];
|
|
@@ -350,9 +355,10 @@ export type Query = {
|
|
|
350
355
|
myRole: Scalars['String']['output'];
|
|
351
356
|
mySignUpCheck: Array<SignUpCheck>;
|
|
352
357
|
mySignup: Array<MySignUp>;
|
|
358
|
+
poolxPrice: PoolxPrice;
|
|
353
359
|
poolxTokenomics: PoolxTokenomics;
|
|
354
360
|
signUp: Array<SignUp>;
|
|
355
|
-
signUpAllocation
|
|
361
|
+
signUpAllocation?: Maybe<Array<SignUpAllocation>>;
|
|
356
362
|
signUpCheck: Array<SignUpCheck>;
|
|
357
363
|
signUpList: Array<SignUpList>;
|
|
358
364
|
signUpsTimes: Array<SignUpsTimes>;
|
|
@@ -426,7 +432,6 @@ export type QuerySignUpListArgs = {
|
|
|
426
432
|
};
|
|
427
433
|
export type QueryTokenRefundsArgs = {
|
|
428
434
|
chainId: Scalars['Int']['input'];
|
|
429
|
-
decimals?: InputMaybe<Scalars['Int']['input']>;
|
|
430
435
|
fromBlock?: InputMaybe<Scalars['Int']['input']>;
|
|
431
436
|
newOwner?: InputMaybe<Scalars['String']['input']>;
|
|
432
437
|
toBlock?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -443,6 +448,7 @@ export type QueryVaultsArgs = {
|
|
|
443
448
|
chainId?: InputMaybe<Scalars['Int']['input']>;
|
|
444
449
|
fetchBalance?: InputMaybe<Scalars['Boolean']['input']>;
|
|
445
450
|
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
451
|
+
updateTotalSupply?: InputMaybe<Scalars['Boolean']['input']>;
|
|
446
452
|
};
|
|
447
453
|
export type RpcWallet = {
|
|
448
454
|
__typename?: 'RpcWallet';
|
|
@@ -483,8 +489,10 @@ export type Status = {
|
|
|
483
489
|
__typename?: 'Status';
|
|
484
490
|
BlockPerSecond: Scalars['Float']['output'];
|
|
485
491
|
ChainId: Scalars['Int']['output'];
|
|
492
|
+
ChainName: Scalars['String']['output'];
|
|
486
493
|
CovalentLastBlock: Scalars['Int']['output'];
|
|
487
|
-
Events
|
|
494
|
+
Events: Array<StatusEvents>;
|
|
495
|
+
RpcUrl: Scalars['String']['output'];
|
|
488
496
|
SecondsToError: Scalars['Int']['output'];
|
|
489
497
|
SecondsToWarning: Scalars['Int']['output'];
|
|
490
498
|
};
|
|
@@ -841,6 +849,17 @@ export type SignUpCheckQuery = {
|
|
|
841
849
|
SignUp?: boolean | null;
|
|
842
850
|
}>;
|
|
843
851
|
};
|
|
852
|
+
export type PoolxPriceQueryVariables = Exact<{
|
|
853
|
+
[key: string]: never;
|
|
854
|
+
}>;
|
|
855
|
+
export type PoolxPriceQuery = {
|
|
856
|
+
__typename?: 'Query';
|
|
857
|
+
poolxPrice: {
|
|
858
|
+
__typename?: 'PoolxPrice';
|
|
859
|
+
Price: number;
|
|
860
|
+
Timestamp: number;
|
|
861
|
+
};
|
|
862
|
+
};
|
|
844
863
|
export type GetPoolxTokenomicsQueryVariables = Exact<{
|
|
845
864
|
[key: string]: never;
|
|
846
865
|
}>;
|
|
@@ -891,6 +910,29 @@ export type MySignupQuery = {
|
|
|
891
910
|
SignupId: number;
|
|
892
911
|
}>;
|
|
893
912
|
};
|
|
913
|
+
export type StatusQueryVariables = Exact<{
|
|
914
|
+
[key: string]: never;
|
|
915
|
+
}>;
|
|
916
|
+
export type StatusQuery = {
|
|
917
|
+
__typename?: 'Query';
|
|
918
|
+
status: Array<{
|
|
919
|
+
__typename?: 'Status';
|
|
920
|
+
ChainId: number;
|
|
921
|
+
ChainName: string;
|
|
922
|
+
RpcUrl: string;
|
|
923
|
+
CovalentLastBlock: number;
|
|
924
|
+
SecondsToWarning: number;
|
|
925
|
+
SecondsToError: number;
|
|
926
|
+
BlockPerSecond: number;
|
|
927
|
+
Events: Array<{
|
|
928
|
+
__typename?: 'StatusEvents';
|
|
929
|
+
Active: boolean;
|
|
930
|
+
StartingBlock: number;
|
|
931
|
+
EndingBlock: number;
|
|
932
|
+
ResponseType: string;
|
|
933
|
+
}>;
|
|
934
|
+
}>;
|
|
935
|
+
};
|
|
894
936
|
export type DataQueryVariables = Exact<{
|
|
895
937
|
chainId?: InputMaybe<Scalars['Int']['input']>;
|
|
896
938
|
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -994,6 +1036,9 @@ export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
|
|
|
994
1036
|
export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, Exact<{
|
|
995
1037
|
poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
|
|
996
1038
|
}>>;
|
|
1039
|
+
export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
|
|
1040
|
+
[key: string]: never;
|
|
1041
|
+
}>>;
|
|
997
1042
|
export declare const GetPoolxTokenomicsDocument: DocumentNode<GetPoolxTokenomicsQuery, Exact<{
|
|
998
1043
|
[key: string]: never;
|
|
999
1044
|
}>>;
|
|
@@ -1003,6 +1048,9 @@ export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
|
|
|
1003
1048
|
export declare const MySignupDocument: DocumentNode<MySignupQuery, Exact<{
|
|
1004
1049
|
[key: string]: never;
|
|
1005
1050
|
}>>;
|
|
1051
|
+
export declare const StatusDocument: DocumentNode<StatusQuery, Exact<{
|
|
1052
|
+
[key: string]: never;
|
|
1053
|
+
}>>;
|
|
1006
1054
|
export declare const DataDocument: DocumentNode<DataQuery, Exact<{
|
|
1007
1055
|
chainId?: InputMaybe<number> | undefined;
|
|
1008
1056
|
tokenAddress?: InputMaybe<string> | undefined;
|