@poolzfinance/api4 1.11.3 → 1.11.5

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,6 +11,9 @@ 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
  }>>;
@@ -81,6 +84,9 @@ declare const documents: {
81
84
  "\n query MyRole {\n myRole\n}": DocumentNode<types.MyRoleQuery, types.Exact<{
82
85
  [key: string]: never;
83
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
+ }>>;
84
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<{
85
91
  [key: string]: never;
86
92
  }>>;
@@ -90,6 +96,11 @@ declare const documents: {
90
96
  "\n query MySignup {\n mySignup {\n SignupId\n }\n}": DocumentNode<types.MySignupQuery, types.Exact<{
91
97
  [key: string]: never;
92
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
+ }>>;
93
104
  };
94
105
  /**
95
106
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
@@ -104,6 +115,10 @@ declare const documents: {
104
115
  * Please regenerate the types.
105
116
  */
106
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 }"];
107
122
  /**
108
123
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
109
124
  */
@@ -188,6 +203,10 @@ export declare function gql(source: "\n query KYC {\n myProxyKYC {\n Pr
188
203
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
189
204
  */
190
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 }"];
191
210
  /**
192
211
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
193
212
  */
@@ -200,5 +219,9 @@ export declare function gql(source: "\n query Signup($signUpId: Int!) {\n si
200
219
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
201
220
  */
202
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"];
203
226
  export type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode<infer TType, any> ? TType : never;
204
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
  }>;
@@ -804,6 +830,17 @@ export type MyRoleQuery = {
804
830
  __typename?: 'Query';
805
831
  myRole: string;
806
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
+ };
807
844
  export type GetPoolxTokenomicsQueryVariables = Exact<{
808
845
  [key: string]: never;
809
846
  }>;
@@ -854,6 +891,36 @@ export type MySignupQuery = {
854
891
  SignupId: number;
855
892
  }>;
856
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
+ }>>;
857
924
  export declare const AdminAutoSignUpDocument: DocumentNode<AdminAutoSignUpQuery, Exact<{
858
925
  note?: InputMaybe<string> | undefined;
859
926
  }>>;
@@ -924,6 +991,9 @@ export declare const KycDocument: DocumentNode<KycQuery, Exact<{
924
991
  export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
925
992
  [key: string]: never;
926
993
  }>>;
994
+ export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, Exact<{
995
+ poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
996
+ }>>;
927
997
  export declare const GetPoolxTokenomicsDocument: DocumentNode<GetPoolxTokenomicsQuery, Exact<{
928
998
  [key: string]: never;
929
999
  }>>;
@@ -933,3 +1003,8 @@ export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
933
1003
  export declare const MySignupDocument: DocumentNode<MySignupQuery, Exact<{
934
1004
  [key: string]: never;
935
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.3",
3
+ "version": "1.11.5",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",