@poolzfinance/api4 1.11.2 → 1.11.4

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.
@@ -11,9 +11,15 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
11
11
  * Therefore it is highly recommended to use the babel or swc plugin for production.
12
12
  */
13
13
  declare const documents: {
14
+ "\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }": DocumentNode<types.GetApprovedContractsQuery, types.Exact<{
15
+ onlyApproved: boolean;
16
+ }>>;
14
17
  "\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }": DocumentNode<types.AdminAutoSignUpQuery, types.Exact<{
15
18
  note?: types.InputMaybe<string> | undefined;
16
19
  }>>;
20
+ "\n query AdminAutoSignUpAll{\n adminAutoSignUp{\n Address\n PoolzAmount\n Note\n }\n }": DocumentNode<types.AdminAutoSignUpAllQuery, types.Exact<{
21
+ [key: string]: never;
22
+ }>>;
17
23
  "\n mutation addAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n addAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }": DocumentNode<types.AddAutoSignUpMutation, types.Exact<{
18
24
  address: string;
19
25
  poolzAmount: number;
@@ -78,6 +84,9 @@ declare const documents: {
78
84
  "\n query MyRole {\n myRole\n}": DocumentNode<types.MyRoleQuery, types.Exact<{
79
85
  [key: string]: never;
80
86
  }>>;
87
+ "\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }": DocumentNode<types.SignUpCheckQuery, types.Exact<{
88
+ poolIDs: number | number[];
89
+ }>>;
81
90
  "\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<{
82
91
  [key: string]: never;
83
92
  }>>;
@@ -87,6 +96,11 @@ declare const documents: {
87
96
  "\n query MySignup {\n mySignup {\n SignupId\n }\n}": DocumentNode<types.MySignupQuery, types.Exact<{
88
97
  [key: string]: never;
89
98
  }>>;
99
+ "\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
+ chainId?: types.InputMaybe<number> | undefined;
101
+ tokenAddress?: types.InputMaybe<string> | undefined;
102
+ fetchBalance?: types.InputMaybe<boolean> | undefined;
103
+ }>>;
90
104
  };
91
105
  /**
92
106
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
@@ -101,10 +115,18 @@ declare const documents: {
101
115
  * Please regenerate the types.
102
116
  */
103
117
  export declare function gql(source: string): unknown;
118
+ /**
119
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
120
+ */
121
+ export declare function gql(source: "\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }"): (typeof documents)["\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }"];
104
122
  /**
105
123
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
106
124
  */
107
125
  export declare function gql(source: "\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"];
126
+ /**
127
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
128
+ */
129
+ export declare function gql(source: "\n query AdminAutoSignUpAll{\n adminAutoSignUp{\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n query AdminAutoSignUpAll{\n adminAutoSignUp{\n Address\n PoolzAmount\n Note\n }\n }"];
108
130
  /**
109
131
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
110
132
  */
@@ -181,6 +203,10 @@ export declare function gql(source: "\n query KYC {\n myProxyKYC {\n Pr
181
203
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
182
204
  */
183
205
  export declare function gql(source: "\n query MyRole {\n myRole\n}"): (typeof documents)["\n query MyRole {\n myRole\n}"];
206
+ /**
207
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
208
+ */
209
+ 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 }"];
184
210
  /**
185
211
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
186
212
  */
@@ -193,5 +219,9 @@ export declare function gql(source: "\n query Signup($signUpId: Int!) {\n si
193
219
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
194
220
  */
195
221
  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}"];
222
+ /**
223
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
224
+ */
225
+ export declare function gql(source: "\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"): (typeof documents)["\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"];
196
226
  export type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode<infer TType, any> ? TType : never;
197
227
  export {};
@@ -348,10 +348,12 @@ export type Query = {
348
348
  myKYC: Kyc;
349
349
  myProxyKYC: KycProxy;
350
350
  myRole: Scalars['String']['output'];
351
+ mySignUpCheck: Array<SignUpCheck>;
351
352
  mySignup: Array<MySignUp>;
352
353
  poolxTokenomics: PoolxTokenomics;
353
354
  signUp: Array<SignUp>;
354
355
  signUpAllocation: Array<SignUpAllocation>;
356
+ signUpCheck: Array<SignUpCheck>;
355
357
  signUpList: Array<SignUpList>;
356
358
  signUpsTimes: Array<SignUpsTimes>;
357
359
  status: Array<Status>;
@@ -400,6 +402,9 @@ export type QueryMyDataArgs = {
400
402
  export type QueryMyInvestSumArgs = {
401
403
  projectId: Scalars['Int']['input'];
402
404
  };
405
+ export type QueryMySignUpCheckArgs = {
406
+ poolIDs: Array<Scalars['Int']['input']>;
407
+ };
403
408
  export type QuerySignUpArgs = {
404
409
  id: Scalars['Int']['input'];
405
410
  };
@@ -412,6 +417,10 @@ export type QuerySignUpAllocationArgs = {
412
417
  totalallocation: Scalars['Int']['input'];
413
418
  winnersratio: Scalars['Float']['input'];
414
419
  };
420
+ export type QuerySignUpCheckArgs = {
421
+ poolIDs: Array<Scalars['Int']['input']>;
422
+ userAddress: Scalars['String']['input'];
423
+ };
415
424
  export type QuerySignUpListArgs = {
416
425
  id: Scalars['Int']['input'];
417
426
  };
@@ -452,6 +461,11 @@ export type SignUpAllocation = {
452
461
  Poolx: Scalars['Float']['output'];
453
462
  Rank: Scalars['Int']['output'];
454
463
  };
464
+ export type SignUpCheck = {
465
+ __typename?: 'SignUpCheck';
466
+ PoolId: Scalars['Int']['output'];
467
+ SignUp?: Maybe<Scalars['Boolean']['output']>;
468
+ };
455
469
  export type SignUpList = {
456
470
  __typename?: 'SignUpList';
457
471
  Address: Scalars['String']['output'];
@@ -538,6 +552,7 @@ export type VaultsData = {
538
552
  TokenDecimals: Scalars['Int']['output'];
539
553
  TokenName: Scalars['String']['output'];
540
554
  TokenSymbol: Scalars['String']['output'];
555
+ TotalSupply: Scalars['Float']['output'];
541
556
  VaultAddress: Scalars['String']['output'];
542
557
  VaultCreationTx: Scalars['String']['output'];
543
558
  VaultId: Scalars['Int']['output'];
@@ -547,6 +562,17 @@ export type VaultsDataBalance = {
547
562
  BalanceOfToken: Scalars['Float']['output'];
548
563
  FetchTime: Scalars['Int']['output'];
549
564
  };
565
+ export type GetApprovedContractsQueryVariables = Exact<{
566
+ onlyApproved: Scalars['Boolean']['input'];
567
+ }>;
568
+ export type GetApprovedContractsQuery = {
569
+ __typename?: 'Query';
570
+ approvedContracts: Array<{
571
+ __typename?: 'ApprovedContracts';
572
+ ContractAddress: string;
573
+ Status: boolean;
574
+ }>;
575
+ };
550
576
  export type AdminAutoSignUpQueryVariables = Exact<{
551
577
  note?: InputMaybe<Scalars['String']['input']>;
552
578
  }>;
@@ -559,6 +585,18 @@ export type AdminAutoSignUpQuery = {
559
585
  Note: string;
560
586
  }>;
561
587
  };
588
+ export type AdminAutoSignUpAllQueryVariables = Exact<{
589
+ [key: string]: never;
590
+ }>;
591
+ export type AdminAutoSignUpAllQuery = {
592
+ __typename?: 'Query';
593
+ adminAutoSignUp: Array<{
594
+ __typename?: 'AdminAutoSignUp';
595
+ Address: string;
596
+ PoolzAmount: number;
597
+ Note: string;
598
+ }>;
599
+ };
562
600
  export type AddAutoSignUpMutationVariables = Exact<{
563
601
  address: Scalars['String']['input'];
564
602
  poolzAmount: Scalars['Float']['input'];
@@ -792,6 +830,17 @@ export type MyRoleQuery = {
792
830
  __typename?: 'Query';
793
831
  myRole: string;
794
832
  };
833
+ export type SignUpCheckQueryVariables = Exact<{
834
+ poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
835
+ }>;
836
+ export type SignUpCheckQuery = {
837
+ __typename?: 'Query';
838
+ mySignUpCheck: Array<{
839
+ __typename?: 'SignUpCheck';
840
+ PoolId: number;
841
+ SignUp?: boolean | null;
842
+ }>;
843
+ };
795
844
  export type GetPoolxTokenomicsQueryVariables = Exact<{
796
845
  [key: string]: never;
797
846
  }>;
@@ -842,9 +891,42 @@ export type MySignupQuery = {
842
891
  SignupId: number;
843
892
  }>;
844
893
  };
894
+ export type DataQueryVariables = Exact<{
895
+ chainId?: InputMaybe<Scalars['Int']['input']>;
896
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
897
+ fetchBalance?: InputMaybe<Scalars['Boolean']['input']>;
898
+ }>;
899
+ export type DataQuery = {
900
+ __typename?: 'Query';
901
+ vaults: Array<{
902
+ __typename?: 'Vaults';
903
+ ChainId: number;
904
+ Data: Array<{
905
+ __typename?: 'VaultsData';
906
+ VaultId: number;
907
+ VaultAddress: string;
908
+ VaultCreationTx: string;
909
+ TokenAddress: string;
910
+ TokenName: string;
911
+ TokenSymbol: string;
912
+ TokenDecimals: number;
913
+ Balance?: {
914
+ __typename?: 'VaultsDataBalance';
915
+ BalanceOfToken: number;
916
+ FetchTime: number;
917
+ } | null;
918
+ }>;
919
+ }>;
920
+ };
921
+ export declare const GetApprovedContractsDocument: DocumentNode<GetApprovedContractsQuery, Exact<{
922
+ onlyApproved: Scalars['Boolean']['input'];
923
+ }>>;
845
924
  export declare const AdminAutoSignUpDocument: DocumentNode<AdminAutoSignUpQuery, Exact<{
846
925
  note?: InputMaybe<string> | undefined;
847
926
  }>>;
927
+ export declare const AdminAutoSignUpAllDocument: DocumentNode<AdminAutoSignUpAllQuery, Exact<{
928
+ [key: string]: never;
929
+ }>>;
848
930
  export declare const AddAutoSignUpDocument: DocumentNode<AddAutoSignUpMutation, Exact<{
849
931
  address: Scalars['String']['input'];
850
932
  poolzAmount: Scalars['Float']['input'];
@@ -909,6 +991,9 @@ export declare const KycDocument: DocumentNode<KycQuery, Exact<{
909
991
  export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
910
992
  [key: string]: never;
911
993
  }>>;
994
+ export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, Exact<{
995
+ poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
996
+ }>>;
912
997
  export declare const GetPoolxTokenomicsDocument: DocumentNode<GetPoolxTokenomicsQuery, Exact<{
913
998
  [key: string]: never;
914
999
  }>>;
@@ -918,3 +1003,8 @@ export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
918
1003
  export declare const MySignupDocument: DocumentNode<MySignupQuery, Exact<{
919
1004
  [key: string]: never;
920
1005
  }>>;
1006
+ export declare const DataDocument: DocumentNode<DataQuery, Exact<{
1007
+ chainId?: InputMaybe<number> | undefined;
1008
+ tokenAddress?: InputMaybe<string> | undefined;
1009
+ fetchBalance?: InputMaybe<boolean> | undefined;
1010
+ }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.2",
3
+ "version": "1.11.4",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",