@poolzfinance/api4 1.9.13 → 1.10.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.
@@ -71,6 +71,9 @@ declare const documents: {
71
71
  "\n query MyRole {\n myRole\n}": DocumentNode<types.MyRoleQuery, types.Exact<{
72
72
  [key: string]: never;
73
73
  }>>;
74
+ "\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<{
75
+ [key: string]: never;
76
+ }>>;
74
77
  "\n query Signup($signUpId: Int!) {\n signUp(id: $signUpId) {\n Address\n Amount\n }\n}": DocumentNode<types.SignupQuery, types.Exact<{
75
78
  signUpId: number;
76
79
  }>>;
@@ -167,6 +170,10 @@ export declare function gql(source: "\n query KYC {\n myProxyKYC {\n Pr
167
170
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
168
171
  */
169
172
  export declare function gql(source: "\n query MyRole {\n myRole\n}"): (typeof documents)["\n query MyRole {\n myRole\n}"];
173
+ /**
174
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
175
+ */
176
+ 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
177
  /**
171
178
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
172
179
  */
@@ -274,6 +274,17 @@ export type MyData = {
274
274
  EvmWallets: Array<Scalars['String']['output']>;
275
275
  NonEvmWallet: Array<NonEvmWallet>;
276
276
  };
277
+ export type MyInvestSum = {
278
+ __typename?: 'MyInvestSum';
279
+ DateOfFirstTx?: Maybe<Scalars['Int']['output']>;
280
+ InvestedTx?: Maybe<Array<Scalars['String']['output']>>;
281
+ SumOfAmountIn?: Maybe<Scalars['Float']['output']>;
282
+ SumOfTokenOut?: Maybe<Scalars['Float']['output']>;
283
+ TotalTokens?: Maybe<Scalars['Float']['output']>;
284
+ UserAddress: Scalars['String']['output'];
285
+ WithdrawnSum?: Maybe<Scalars['Float']['output']>;
286
+ WithdrawnTx?: Maybe<Array<Scalars['String']['output']>>;
287
+ };
277
288
  export type MySignUp = {
278
289
  __typename?: 'MySignUp';
279
290
  SignupId: Scalars['Int']['output'];
@@ -294,6 +305,7 @@ export type PoolxTokenomicsData = {
294
305
  __typename?: 'PoolxTokenomicsData';
295
306
  BuyBack: Scalars['Float']['output'];
296
307
  DelayVault: Scalars['Float']['output'];
308
+ DelayVaultV2: Scalars['Float']['output'];
297
309
  LockedDealV2: Scalars['Float']['output'];
298
310
  Reserved: Scalars['Float']['output'];
299
311
  TotalSupply: Scalars['Float']['output'];
@@ -304,6 +316,7 @@ export type PoolxTokenomicsTrade = {
304
316
  Huobi: Scalars['Float']['output'];
305
317
  Mexc: Scalars['Float']['output'];
306
318
  PancakeSwapV2: Scalars['Float']['output'];
319
+ PancakeSwapV3?: Maybe<Scalars['Float']['output']>;
307
320
  Sum: Scalars['Float']['output'];
308
321
  };
309
322
  export type PutMyDataNonEvmWallet = {
@@ -324,6 +337,7 @@ export type Query = {
324
337
  kolInvestedErc20: Array<KolInvestedErc20>;
325
338
  leaderBoard: Array<LeaderBoard>;
326
339
  myData?: Maybe<MyData>;
340
+ myInvestSum: MyInvestSum;
327
341
  /** @deprecated Use a new query 'myProxyKYC'. */
328
342
  myKYC: Kyc;
329
343
  myProxyKYC: KycProxy;
@@ -377,6 +391,9 @@ export type QueryLeaderBoardArgs = {
377
391
  export type QueryMyDataArgs = {
378
392
  chainNames?: InputMaybe<Array<Scalars['String']['input']>>;
379
393
  };
394
+ export type QueryMyInvestSumArgs = {
395
+ projectId: Scalars['Int']['input'];
396
+ };
380
397
  export type QuerySignUpArgs = {
381
398
  id: Scalars['Int']['input'];
382
399
  };
@@ -741,6 +758,35 @@ export type MyRoleQuery = {
741
758
  __typename?: 'Query';
742
759
  myRole: string;
743
760
  };
761
+ export type GetPoolxTokenomicsQueryVariables = Exact<{
762
+ [key: string]: never;
763
+ }>;
764
+ export type GetPoolxTokenomicsQuery = {
765
+ __typename?: 'Query';
766
+ poolxTokenomics: {
767
+ __typename?: 'PoolxTokenomics';
768
+ CirculatingSupply: number;
769
+ Locked: number;
770
+ Data: {
771
+ __typename?: 'PoolxTokenomicsData';
772
+ TotalSupply: number;
773
+ BuyBack: number;
774
+ LockedDealV2: number;
775
+ DelayVault: number;
776
+ DelayVaultV2: number;
777
+ Reserved: number;
778
+ };
779
+ Trade: {
780
+ __typename?: 'PoolxTokenomicsTrade';
781
+ Sum: number;
782
+ Huobi: number;
783
+ GateIO: number;
784
+ PancakeSwapV2: number;
785
+ PancakeSwapV3?: number | null;
786
+ Mexc: number;
787
+ };
788
+ };
789
+ };
744
790
  export type SignupQueryVariables = Exact<{
745
791
  signUpId: Scalars['Int']['input'];
746
792
  }>;
@@ -822,6 +868,9 @@ export declare const KycDocument: DocumentNode<KycQuery, Exact<{
822
868
  export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
823
869
  [key: string]: never;
824
870
  }>>;
871
+ export declare const GetPoolxTokenomicsDocument: DocumentNode<GetPoolxTokenomicsQuery, Exact<{
872
+ [key: string]: never;
873
+ }>>;
825
874
  export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
826
875
  signUpId: Scalars['Int']['input'];
827
876
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.9.13",
3
+ "version": "1.10.0",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",