@poolzfinance/api4 1.9.13 → 1.11.0

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,15 +11,28 @@ 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 AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }": DocumentNode<types.AdminAutoSignUpQuery, types.Exact<{
15
+ note?: types.InputMaybe<string> | undefined;
16
+ }>>;
17
+ "\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
+ address: string;
19
+ poolzAmount: number;
20
+ note: string;
21
+ }>>;
22
+ "\n mutation updateAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n updateAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }": DocumentNode<types.UpdateAutoSignUpMutation, types.Exact<{
23
+ address: string;
24
+ poolzAmount: number;
25
+ note: string;
26
+ }>>;
27
+ "\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }": DocumentNode<types.DeleteAutoSignUpMutation, types.Exact<{
28
+ address: string;
29
+ }>>;
14
30
  "\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}": DocumentNode<types.BoostProxyDataQuery, types.Exact<{
15
31
  campaignCodes: string | string[];
16
32
  }>>;
17
33
  "\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}": DocumentNode<types.BoostProxyUsersQuery, types.Exact<{
18
34
  campaignCodes: string | string[];
19
35
  }>>;
20
- "\n query getCirculatingSupply {\n circulatingSupply\n}": DocumentNode<types.GetCirculatingSupplyQuery, types.Exact<{
21
- [key: string]: never;
22
- }>>;
23
36
  "\n query MyQuery {\n time\n}": DocumentNode<types.MyQueryQuery, types.Exact<{
24
37
  [key: string]: never;
25
38
  }>>;
@@ -27,12 +40,6 @@ declare const documents: {
27
40
  eip4361message: string;
28
41
  signature: string;
29
42
  }>>;
30
- "\n query getTotalPoolz {\n totalPoolzLocked {\n Locked\n Data {\n LockedDealV2\n DelayVault\n Reserved\n }\n }\n}": DocumentNode<types.GetTotalPoolzQuery, types.Exact<{
31
- [key: string]: never;
32
- }>>;
33
- "\n query getTotalSupply {\n totalSupply\n}": DocumentNode<types.GetTotalSupplyQuery, types.Exact<{
34
- [key: string]: never;
35
- }>>;
36
43
  "\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}": DocumentNode<types.GetLeaderboardByAddressQuery, types.Exact<{
37
44
  address?: types.InputMaybe<string> | undefined;
38
45
  }>>;
@@ -71,6 +78,9 @@ declare const documents: {
71
78
  "\n query MyRole {\n myRole\n}": DocumentNode<types.MyRoleQuery, types.Exact<{
72
79
  [key: string]: never;
73
80
  }>>;
81
+ "\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
+ [key: string]: never;
83
+ }>>;
74
84
  "\n query Signup($signUpId: Int!) {\n signUp(id: $signUpId) {\n Address\n Amount\n }\n}": DocumentNode<types.SignupQuery, types.Exact<{
75
85
  signUpId: number;
76
86
  }>>;
@@ -94,31 +104,35 @@ export declare function gql(source: string): unknown;
94
104
  /**
95
105
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
96
106
  */
97
- export declare function gql(source: "\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}"): (typeof documents)["\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}"];
107
+ 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 }"];
98
108
  /**
99
109
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
100
110
  */
101
- export declare function gql(source: "\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}"): (typeof documents)["\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}"];
111
+ export declare function gql(source: "\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 }"): (typeof documents)["\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 }"];
102
112
  /**
103
113
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
104
114
  */
105
- export declare function gql(source: "\n query getCirculatingSupply {\n circulatingSupply\n}"): (typeof documents)["\n query getCirculatingSupply {\n circulatingSupply\n}"];
115
+ export declare function gql(source: "\n mutation updateAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n updateAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n mutation updateAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n updateAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"];
106
116
  /**
107
117
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
108
118
  */
109
- export declare function gql(source: "\n query MyQuery {\n time\n}"): (typeof documents)["\n query MyQuery {\n time\n}"];
119
+ export declare function gql(source: "\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }"];
110
120
  /**
111
121
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
112
122
  */
113
- export declare function gql(source: "\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"): (typeof documents)["\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"];
123
+ export declare function gql(source: "\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}"): (typeof documents)["\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}"];
114
124
  /**
115
125
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
116
126
  */
117
- export declare function gql(source: "\n query getTotalPoolz {\n totalPoolzLocked {\n Locked\n Data {\n LockedDealV2\n DelayVault\n Reserved\n }\n }\n}"): (typeof documents)["\n query getTotalPoolz {\n totalPoolzLocked {\n Locked\n Data {\n LockedDealV2\n DelayVault\n Reserved\n }\n }\n}"];
127
+ export declare function gql(source: "\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}"): (typeof documents)["\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}"];
118
128
  /**
119
129
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
120
130
  */
121
- export declare function gql(source: "\n query getTotalSupply {\n totalSupply\n}"): (typeof documents)["\n query getTotalSupply {\n totalSupply\n}"];
131
+ export declare function gql(source: "\n query MyQuery {\n time\n}"): (typeof documents)["\n query MyQuery {\n time\n}"];
132
+ /**
133
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
134
+ */
135
+ export declare function gql(source: "\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"): (typeof documents)["\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"];
122
136
  /**
123
137
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
124
138
  */
@@ -167,6 +181,10 @@ export declare function gql(source: "\n query KYC {\n myProxyKYC {\n Pr
167
181
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
168
182
  */
169
183
  export declare function gql(source: "\n query MyRole {\n myRole\n}"): (typeof documents)["\n query MyRole {\n myRole\n}"];
184
+ /**
185
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
186
+ */
187
+ 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 PancakeSwapV2\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 PancakeSwapV2\n PancakeSwapV3\n Mexc\n }\n }\n }\n"];
170
188
  /**
171
189
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
172
190
  */
@@ -87,7 +87,7 @@ export type AdminAutoSignUp = {
87
87
  __typename?: 'AdminAutoSignUp';
88
88
  Address: Scalars['String']['output'];
89
89
  Note: Scalars['String']['output'];
90
- PoolzAmount: Scalars['Int']['output'];
90
+ PoolzAmount: Scalars['Float']['output'];
91
91
  };
92
92
  export type AdminKycProxy = {
93
93
  __typename?: 'AdminKycProxy';
@@ -111,6 +111,11 @@ export type AdminUsers = {
111
111
  RoleId: Scalars['Int']['output'];
112
112
  Wallet: Scalars['String']['output'];
113
113
  };
114
+ export type ApprovedContracts = {
115
+ __typename?: 'ApprovedContracts';
116
+ ContractAddress: Scalars['String']['output'];
117
+ Status: Scalars['Boolean']['output'];
118
+ };
114
119
  export type BoostProxy = {
115
120
  __typename?: 'BoostProxy';
116
121
  CampaignCode: Scalars['String']['output'];
@@ -209,7 +214,7 @@ export type Mutation = {
209
214
  export type MutationAddAutoSignUpArgs = {
210
215
  address: Scalars['String']['input'];
211
216
  note: Scalars['String']['input'];
212
- poolzAmount: Scalars['Int']['input'];
217
+ poolzAmount: Scalars['Float']['input'];
213
218
  };
214
219
  export type MutationAddEvmWalletArgs = {
215
220
  wallet: Scalars['String']['input'];
@@ -255,6 +260,8 @@ export type MutationSendToMonitorArgs = {
255
260
  };
256
261
  export type MutationUpdateAutoSignUpArgs = {
257
262
  address: Scalars['String']['input'];
263
+ note: Scalars['String']['input'];
264
+ poolzAmount: Scalars['Float']['input'];
258
265
  };
259
266
  export type MutationUpdateEvmWalletArgs = {
260
267
  newWallet: Scalars['String']['input'];
@@ -274,6 +281,17 @@ export type MyData = {
274
281
  EvmWallets: Array<Scalars['String']['output']>;
275
282
  NonEvmWallet: Array<NonEvmWallet>;
276
283
  };
284
+ export type MyInvestSum = {
285
+ __typename?: 'MyInvestSum';
286
+ DateOfFirstTx?: Maybe<Scalars['Int']['output']>;
287
+ InvestedTx?: Maybe<Array<Scalars['String']['output']>>;
288
+ SumOfAmountIn?: Maybe<Scalars['Float']['output']>;
289
+ SumOfTokenOut?: Maybe<Scalars['Float']['output']>;
290
+ TotalTokens?: Maybe<Scalars['Float']['output']>;
291
+ UserAddress: Scalars['String']['output'];
292
+ WithdrawnSum?: Maybe<Scalars['Float']['output']>;
293
+ WithdrawnTx?: Maybe<Array<Scalars['String']['output']>>;
294
+ };
277
295
  export type MySignUp = {
278
296
  __typename?: 'MySignUp';
279
297
  SignupId: Scalars['Int']['output'];
@@ -294,6 +312,7 @@ export type PoolxTokenomicsData = {
294
312
  __typename?: 'PoolxTokenomicsData';
295
313
  BuyBack: Scalars['Float']['output'];
296
314
  DelayVault: Scalars['Float']['output'];
315
+ DelayVaultV2: Scalars['Float']['output'];
297
316
  LockedDealV2: Scalars['Float']['output'];
298
317
  Reserved: Scalars['Float']['output'];
299
318
  TotalSupply: Scalars['Float']['output'];
@@ -304,6 +323,7 @@ export type PoolxTokenomicsTrade = {
304
323
  Huobi: Scalars['Float']['output'];
305
324
  Mexc: Scalars['Float']['output'];
306
325
  PancakeSwapV2: Scalars['Float']['output'];
326
+ PancakeSwapV3?: Maybe<Scalars['Float']['output']>;
307
327
  Sum: Scalars['Float']['output'];
308
328
  };
309
329
  export type PutMyDataNonEvmWallet = {
@@ -317,13 +337,13 @@ export type Query = {
317
337
  adminNonEvmWallet: Array<AdminNonEvmWallet>;
318
338
  adminRpcWallets: Array<RpcWallet>;
319
339
  adminUsers: Array<AdminUsers>;
340
+ approvedContracts: Array<ApprovedContracts>;
320
341
  boostProxy: Array<BoostProxy>;
321
- /** @deprecated Use a new query 'poolxTokenomics'. */
322
- circulatingSupply: Scalars['Float']['output'];
323
342
  investedErc20: Array<InvestedErc20>;
324
343
  kolInvestedErc20: Array<KolInvestedErc20>;
325
344
  leaderBoard: Array<LeaderBoard>;
326
345
  myData?: Maybe<MyData>;
346
+ myInvestSum: MyInvestSum;
327
347
  /** @deprecated Use a new query 'myProxyKYC'. */
328
348
  myKYC: Kyc;
329
349
  myProxyKYC: KycProxy;
@@ -336,15 +356,12 @@ export type Query = {
336
356
  signUpsTimes: Array<SignUpsTimes>;
337
357
  status: Array<Status>;
338
358
  time: Scalars['Int']['output'];
339
- tokenNetAmounts: Array<TokenNetAmounts>;
340
359
  tokenRefunds: Array<TokenRefunds>;
341
- /** @deprecated Use a new query 'poolxTokenomics'. */
342
- totalPoolzLocked: TotalPoolzLocked;
343
- /** @deprecated Use a new query 'poolxTokenomics'. */
344
- totalSupply: Scalars['Int']['output'];
345
360
  uniqueUsers: UniqueUsers;
346
361
  unlocks: Array<Unlocks>;
362
+ /** @deprecated This endpoint is deprecated. */
347
363
  vaultOut: Array<VaultOut>;
364
+ vaults: Array<Vaults>;
348
365
  };
349
366
  export type QueryAdminAutoSignUpArgs = {
350
367
  note?: InputMaybe<Scalars['String']['input']>;
@@ -361,6 +378,9 @@ export type QueryAdminRpcWalletsArgs = {
361
378
  export type QueryAdminUsersArgs = {
362
379
  address?: InputMaybe<Scalars['String']['input']>;
363
380
  };
381
+ export type QueryApprovedContractsArgs = {
382
+ onlyApproved: Scalars['Boolean']['input'];
383
+ };
364
384
  export type QueryBoostProxyArgs = {
365
385
  campaignCodes: Array<Scalars['String']['input']>;
366
386
  };
@@ -377,6 +397,9 @@ export type QueryLeaderBoardArgs = {
377
397
  export type QueryMyDataArgs = {
378
398
  chainNames?: InputMaybe<Array<Scalars['String']['input']>>;
379
399
  };
400
+ export type QueryMyInvestSumArgs = {
401
+ projectId: Scalars['Int']['input'];
402
+ };
380
403
  export type QuerySignUpArgs = {
381
404
  id: Scalars['Int']['input'];
382
405
  };
@@ -392,10 +415,6 @@ export type QuerySignUpAllocationArgs = {
392
415
  export type QuerySignUpListArgs = {
393
416
  id: Scalars['Int']['input'];
394
417
  };
395
- export type QueryTokenNetAmountsArgs = {
396
- contractAddress: Scalars['String']['input'];
397
- tokenAddress?: InputMaybe<Scalars['String']['input']>;
398
- };
399
418
  export type QueryTokenRefundsArgs = {
400
419
  chainId: Scalars['Int']['input'];
401
420
  decimals?: InputMaybe<Scalars['Int']['input']>;
@@ -411,6 +430,11 @@ export type QueryVaultOutArgs = {
411
430
  fromBlock?: InputMaybe<Scalars['Int']['input']>;
412
431
  toBlock?: InputMaybe<Scalars['Int']['input']>;
413
432
  };
433
+ export type QueryVaultsArgs = {
434
+ chainId?: InputMaybe<Scalars['Int']['input']>;
435
+ fetchBalance?: InputMaybe<Scalars['Boolean']['input']>;
436
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
437
+ };
414
438
  export type RpcWallet = {
415
439
  __typename?: 'RpcWallet';
416
440
  Id: Scalars['Int']['output'];
@@ -457,11 +481,6 @@ export type StatusEvents = {
457
481
  ResponseType: Scalars['String']['output'];
458
482
  StartingBlock: Scalars['Int']['output'];
459
483
  };
460
- export type TokenNetAmounts = {
461
- __typename?: 'TokenNetAmounts';
462
- Address: Scalars['String']['output'];
463
- NetAmount: Scalars['Float']['output'];
464
- };
465
484
  export type TokenRefunds = {
466
485
  __typename?: 'TokenRefunds';
467
486
  BlockHeight: Scalars['Int']['output'];
@@ -475,17 +494,6 @@ export type TokenRefunds = {
475
494
  OriginalLeftAmount: Scalars['Float']['output'];
476
495
  TxHash: Scalars['String']['output'];
477
496
  };
478
- export type TotalPoolzLocked = {
479
- __typename?: 'TotalPoolzLocked';
480
- Data: TotalPoolzLockedData;
481
- Locked: Scalars['Float']['output'];
482
- };
483
- export type TotalPoolzLockedData = {
484
- __typename?: 'TotalPoolzLockedData';
485
- DelayVault: Scalars['Float']['output'];
486
- LockedDealV2: Scalars['Float']['output'];
487
- Reserved: Scalars['Float']['output'];
488
- };
489
497
  export type UniqueUsers = {
490
498
  __typename?: 'UniqueUsers';
491
499
  LDv2NewPoolCreated: Scalars['Int']['output'];
@@ -518,6 +526,79 @@ export type VaultOut = {
518
526
  LockUntil: Scalars['String']['output'];
519
527
  Owner: Scalars['String']['output'];
520
528
  };
529
+ export type Vaults = {
530
+ __typename?: 'Vaults';
531
+ ChainId: Scalars['Int']['output'];
532
+ Data: Array<VaultsData>;
533
+ };
534
+ export type VaultsData = {
535
+ __typename?: 'VaultsData';
536
+ Balance?: Maybe<VaultsDataBalance>;
537
+ TokenAddress: Scalars['String']['output'];
538
+ TokenDecimals: Scalars['Int']['output'];
539
+ TokenName: Scalars['String']['output'];
540
+ TokenSymbol: Scalars['String']['output'];
541
+ VaultAddress: Scalars['String']['output'];
542
+ VaultCreationTx: Scalars['String']['output'];
543
+ VaultId: Scalars['Int']['output'];
544
+ };
545
+ export type VaultsDataBalance = {
546
+ __typename?: 'VaultsDataBalance';
547
+ BalanceOfToken: Scalars['Float']['output'];
548
+ FetchTime: Scalars['Int']['output'];
549
+ };
550
+ export type AdminAutoSignUpQueryVariables = Exact<{
551
+ note?: InputMaybe<Scalars['String']['input']>;
552
+ }>;
553
+ export type AdminAutoSignUpQuery = {
554
+ __typename?: 'Query';
555
+ adminAutoSignUp: Array<{
556
+ __typename?: 'AdminAutoSignUp';
557
+ Address: string;
558
+ PoolzAmount: number;
559
+ Note: string;
560
+ }>;
561
+ };
562
+ export type AddAutoSignUpMutationVariables = Exact<{
563
+ address: Scalars['String']['input'];
564
+ poolzAmount: Scalars['Float']['input'];
565
+ note: Scalars['String']['input'];
566
+ }>;
567
+ export type AddAutoSignUpMutation = {
568
+ __typename?: 'Mutation';
569
+ addAutoSignUp: {
570
+ __typename?: 'AdminAutoSignUp';
571
+ Address: string;
572
+ PoolzAmount: number;
573
+ Note: string;
574
+ };
575
+ };
576
+ export type UpdateAutoSignUpMutationVariables = Exact<{
577
+ address: Scalars['String']['input'];
578
+ poolzAmount: Scalars['Float']['input'];
579
+ note: Scalars['String']['input'];
580
+ }>;
581
+ export type UpdateAutoSignUpMutation = {
582
+ __typename?: 'Mutation';
583
+ updateAutoSignUp: {
584
+ __typename?: 'AdminAutoSignUp';
585
+ Address: string;
586
+ PoolzAmount: number;
587
+ Note: string;
588
+ };
589
+ };
590
+ export type DeleteAutoSignUpMutationVariables = Exact<{
591
+ address: Scalars['String']['input'];
592
+ }>;
593
+ export type DeleteAutoSignUpMutation = {
594
+ __typename?: 'Mutation';
595
+ deleteAutoSignUp: {
596
+ __typename?: 'AdminAutoSignUp';
597
+ Address: string;
598
+ PoolzAmount: number;
599
+ Note: string;
600
+ };
601
+ };
521
602
  export type BoostProxyDataQueryVariables = Exact<{
522
603
  campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
523
604
  }>;
@@ -551,13 +632,6 @@ export type BoostProxyUsersQuery = {
551
632
  }>;
552
633
  }>;
553
634
  };
554
- export type GetCirculatingSupplyQueryVariables = Exact<{
555
- [key: string]: never;
556
- }>;
557
- export type GetCirculatingSupplyQuery = {
558
- __typename?: 'Query';
559
- circulatingSupply: number;
560
- };
561
635
  export type MyQueryQueryVariables = Exact<{
562
636
  [key: string]: never;
563
637
  }>;
@@ -577,29 +651,6 @@ export type GenerateTokenFromSignatureMutation = {
577
651
  validUntil: number;
578
652
  };
579
653
  };
580
- export type GetTotalPoolzQueryVariables = Exact<{
581
- [key: string]: never;
582
- }>;
583
- export type GetTotalPoolzQuery = {
584
- __typename?: 'Query';
585
- totalPoolzLocked: {
586
- __typename?: 'TotalPoolzLocked';
587
- Locked: number;
588
- Data: {
589
- __typename?: 'TotalPoolzLockedData';
590
- LockedDealV2: number;
591
- DelayVault: number;
592
- Reserved: number;
593
- };
594
- };
595
- };
596
- export type GetTotalSupplyQueryVariables = Exact<{
597
- [key: string]: never;
598
- }>;
599
- export type GetTotalSupplyQuery = {
600
- __typename?: 'Query';
601
- totalSupply: number;
602
- };
603
654
  export type GetLeaderboardByAddressQueryVariables = Exact<{
604
655
  address?: InputMaybe<Scalars['String']['input']>;
605
656
  }>;
@@ -741,6 +792,35 @@ export type MyRoleQuery = {
741
792
  __typename?: 'Query';
742
793
  myRole: string;
743
794
  };
795
+ export type GetPoolxTokenomicsQueryVariables = Exact<{
796
+ [key: string]: never;
797
+ }>;
798
+ export type GetPoolxTokenomicsQuery = {
799
+ __typename?: 'Query';
800
+ poolxTokenomics: {
801
+ __typename?: 'PoolxTokenomics';
802
+ CirculatingSupply: number;
803
+ Locked: number;
804
+ Data: {
805
+ __typename?: 'PoolxTokenomicsData';
806
+ TotalSupply: number;
807
+ BuyBack: number;
808
+ LockedDealV2: number;
809
+ DelayVault: number;
810
+ DelayVaultV2: number;
811
+ Reserved: number;
812
+ };
813
+ Trade: {
814
+ __typename?: 'PoolxTokenomicsTrade';
815
+ Sum: number;
816
+ Huobi: number;
817
+ GateIO: number;
818
+ PancakeSwapV2: number;
819
+ PancakeSwapV3?: number | null;
820
+ Mexc: number;
821
+ };
822
+ };
823
+ };
744
824
  export type SignupQueryVariables = Exact<{
745
825
  signUpId: Scalars['Int']['input'];
746
826
  }>;
@@ -762,15 +842,28 @@ export type MySignupQuery = {
762
842
  SignupId: number;
763
843
  }>;
764
844
  };
845
+ export declare const AdminAutoSignUpDocument: DocumentNode<AdminAutoSignUpQuery, Exact<{
846
+ note?: InputMaybe<string> | undefined;
847
+ }>>;
848
+ export declare const AddAutoSignUpDocument: DocumentNode<AddAutoSignUpMutation, Exact<{
849
+ address: Scalars['String']['input'];
850
+ poolzAmount: Scalars['Float']['input'];
851
+ note: Scalars['String']['input'];
852
+ }>>;
853
+ export declare const UpdateAutoSignUpDocument: DocumentNode<UpdateAutoSignUpMutation, Exact<{
854
+ address: Scalars['String']['input'];
855
+ poolzAmount: Scalars['Float']['input'];
856
+ note: Scalars['String']['input'];
857
+ }>>;
858
+ export declare const DeleteAutoSignUpDocument: DocumentNode<DeleteAutoSignUpMutation, Exact<{
859
+ address: Scalars['String']['input'];
860
+ }>>;
765
861
  export declare const BoostProxyDataDocument: DocumentNode<BoostProxyDataQuery, Exact<{
766
862
  campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
767
863
  }>>;
768
864
  export declare const BoostProxyUsersDocument: DocumentNode<BoostProxyUsersQuery, Exact<{
769
865
  campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
770
866
  }>>;
771
- export declare const GetCirculatingSupplyDocument: DocumentNode<GetCirculatingSupplyQuery, Exact<{
772
- [key: string]: never;
773
- }>>;
774
867
  export declare const MyQueryDocument: DocumentNode<MyQueryQuery, Exact<{
775
868
  [key: string]: never;
776
869
  }>>;
@@ -778,12 +871,6 @@ export declare const GenerateTokenFromSignatureDocument: DocumentNode<GenerateTo
778
871
  eip4361message: Scalars['String']['input'];
779
872
  signature: Scalars['String']['input'];
780
873
  }>>;
781
- export declare const GetTotalPoolzDocument: DocumentNode<GetTotalPoolzQuery, Exact<{
782
- [key: string]: never;
783
- }>>;
784
- export declare const GetTotalSupplyDocument: DocumentNode<GetTotalSupplyQuery, Exact<{
785
- [key: string]: never;
786
- }>>;
787
874
  export declare const GetLeaderboardByAddressDocument: DocumentNode<GetLeaderboardByAddressQuery, Exact<{
788
875
  address?: InputMaybe<string> | undefined;
789
876
  }>>;
@@ -822,6 +909,9 @@ export declare const KycDocument: DocumentNode<KycQuery, Exact<{
822
909
  export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
823
910
  [key: string]: never;
824
911
  }>>;
912
+ export declare const GetPoolxTokenomicsDocument: DocumentNode<GetPoolxTokenomicsQuery, Exact<{
913
+ [key: string]: never;
914
+ }>>;
825
915
  export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
826
916
  signUpId: Scalars['Int']['input'];
827
917
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.9.13",
3
+ "version": "1.11.0",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",
@@ -41,6 +41,7 @@
41
41
  "@types/react": "^18.2.14",
42
42
  "jest": "^29.5.0",
43
43
  "microbundle": "^0.15.1",
44
+ "rimraf": "^5.0.5",
44
45
  "ts-jest": "^29.1.0",
45
46
  "ts-node": "^10.9.1",
46
47
  "typescript": "^5.1.3"
@@ -54,7 +55,7 @@
54
55
  "prebuild": "pnpm clean",
55
56
  "build": "pnpm prebuild && microbundle --jsx React.createElement",
56
57
  "clean": "rm -rf dist",
57
- "compile": "rm -rf src/types/graphql && graphql-codegen",
58
+ "compile": "rimraf src/types/graphql && graphql-codegen",
58
59
  "test": "jest"
59
60
  }
60
61
  }
@@ -1,5 +0,0 @@
1
- export declare const useGetCirculatingSupply: () => {
2
- loading: boolean;
3
- error: import("@apollo/client").ApolloError | undefined;
4
- data: import("../types/graphql/graphql").GetCirculatingSupplyQuery | undefined;
5
- };
@@ -1,5 +0,0 @@
1
- export declare const useGetTotalPoolz: () => {
2
- loading: boolean;
3
- error: import("@apollo/client").ApolloError | undefined;
4
- data: import("../types/graphql/graphql").GetTotalPoolzQuery | undefined;
5
- };
@@ -1,5 +0,0 @@
1
- export declare const useGetTotalSupply: () => {
2
- loading: boolean;
3
- error: import("@apollo/client").ApolloError | undefined;
4
- data: import("../types/graphql/graphql").GetTotalSupplyQuery | undefined;
5
- };