@poolzfinance/api4 1.11.26 → 1.11.27

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.
@@ -49,6 +49,9 @@ declare const documents: {
49
49
  eip4361message: string;
50
50
  signature: string;
51
51
  }>>;
52
+ "\n query InvestedErc20($investedErc20Id: Int!) {\n investedErc20(id: $investedErc20Id) {\n Wallet\n AmountIn\n TokenOut\n }\n}": DocumentNode<types.InvestedErc20Query, types.Exact<{
53
+ investedErc20Id: number;
54
+ }>>;
52
55
  "\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}": DocumentNode<types.GetLeaderboardByAddressQuery, types.Exact<{
53
56
  address?: types.InputMaybe<string> | undefined;
54
57
  }>>;
@@ -121,8 +124,8 @@ declare const documents: {
121
124
  "\n query MySignup {\n mySignup {\n SignupId\n }\n}": DocumentNode<types.MySignupQuery, types.Exact<{
122
125
  [key: string]: never;
123
126
  }>>;
124
- "\n query SimpleUrlShortener($hashKey: String!) {\n simpleUrlShortener(hashKey: $hashKey) {\n ShortUrl\n ErrorMessage\n }\n}": DocumentNode<types.SimpleUrlShortenerQuery, types.Exact<{
125
- hashKey: string;
127
+ "\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n }\n}": DocumentNode<types.SimpleUrlShortenerQuery, types.Exact<{
128
+ input: types.TxHashChainIdInput;
126
129
  }>>;
127
130
  "\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<{
128
131
  [key: string]: never;
@@ -193,6 +196,10 @@ export declare function gql(source: "\n query MyQuery {\n time\n}"): (typeof
193
196
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
194
197
  */
195
198
  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}"];
199
+ /**
200
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
201
+ */
202
+ export declare function gql(source: "\n query InvestedErc20($investedErc20Id: Int!) {\n investedErc20(id: $investedErc20Id) {\n Wallet\n AmountIn\n TokenOut\n }\n}"): (typeof documents)["\n query InvestedErc20($investedErc20Id: Int!) {\n investedErc20(id: $investedErc20Id) {\n Wallet\n AmountIn\n TokenOut\n }\n}"];
196
203
  /**
197
204
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
198
205
  */
@@ -280,7 +287,7 @@ export declare function gql(source: "\n query MySignup {\n mySignup {\n
280
287
  /**
281
288
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
282
289
  */
283
- export declare function gql(source: "\n query SimpleUrlShortener($hashKey: String!) {\n simpleUrlShortener(hashKey: $hashKey) {\n ShortUrl\n ErrorMessage\n }\n}"): (typeof documents)["\n query SimpleUrlShortener($hashKey: String!) {\n simpleUrlShortener(hashKey: $hashKey) {\n ShortUrl\n ErrorMessage\n }\n}"];
290
+ export declare function gql(source: "\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n }\n}"): (typeof documents)["\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n }\n}"];
284
291
  /**
285
292
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
286
293
  */
@@ -532,7 +532,7 @@ export type QuerySignUpListArgs = {
532
532
  id: Scalars['Int']['input'];
533
533
  };
534
534
  export type QuerySimpleUrlShortenerArgs = {
535
- hashKey: Scalars['String']['input'];
535
+ input: TxHashChainIdInput;
536
536
  };
537
537
  export type QuerySplitDataEncoderArgs = {
538
538
  address: Scalars['String']['input'];
@@ -598,7 +598,7 @@ export type SignUpsTimes = {
598
598
  };
599
599
  export type SimpleUrlShortener = {
600
600
  __typename?: 'SimpleUrlShortener';
601
- ErrorMessage?: Maybe<Scalars['String']['output']>;
601
+ ContainerText: Scalars['String']['output'];
602
602
  ShortUrl: Scalars['String']['output'];
603
603
  };
604
604
  export type Status = {
@@ -641,6 +641,10 @@ export type TokenRefunds = {
641
641
  OriginalLeftAmount: Scalars['Float']['output'];
642
642
  TxHash: Scalars['String']['output'];
643
643
  };
644
+ export type TxHashChainIdInput = {
645
+ ChainId: Scalars['Int']['input'];
646
+ TxHash: Scalars['String']['input'];
647
+ };
644
648
  export type UniqueUsers = {
645
649
  __typename?: 'UniqueUsers';
646
650
  LDv2NewPoolCreated: Scalars['Int']['output'];
@@ -850,6 +854,18 @@ export type GenerateTokenFromSignatureMutation = {
850
854
  validUntil: number;
851
855
  };
852
856
  };
857
+ export type InvestedErc20QueryVariables = Exact<{
858
+ investedErc20Id: Scalars['Int']['input'];
859
+ }>;
860
+ export type InvestedErc20Query = {
861
+ __typename?: 'Query';
862
+ investedErc20: Array<{
863
+ __typename?: 'InvestedErc20';
864
+ Wallet: string;
865
+ AmountIn: number;
866
+ TokenOut: number;
867
+ }>;
868
+ };
853
869
  export type GetLeaderboardByAddressQueryVariables = Exact<{
854
870
  address?: InputMaybe<Scalars['String']['input']>;
855
871
  }>;
@@ -1127,14 +1143,14 @@ export type MySignupQuery = {
1127
1143
  }>;
1128
1144
  };
1129
1145
  export type SimpleUrlShortenerQueryVariables = Exact<{
1130
- hashKey: Scalars['String']['input'];
1146
+ input: TxHashChainIdInput;
1131
1147
  }>;
1132
1148
  export type SimpleUrlShortenerQuery = {
1133
1149
  __typename?: 'Query';
1134
1150
  simpleUrlShortener?: {
1135
1151
  __typename?: 'SimpleUrlShortener';
1136
1152
  ShortUrl: string;
1137
- ErrorMessage?: string | null;
1153
+ ContainerText: string;
1138
1154
  } | null;
1139
1155
  };
1140
1156
  export type StatusQueryVariables = Exact<{
@@ -1240,6 +1256,9 @@ export declare const GenerateTokenFromSignatureDocument: DocumentNode<GenerateTo
1240
1256
  eip4361message: Scalars['String']['input'];
1241
1257
  signature: Scalars['String']['input'];
1242
1258
  }>>;
1259
+ export declare const InvestedErc20Document: DocumentNode<InvestedErc20Query, Exact<{
1260
+ investedErc20Id: Scalars['Int']['input'];
1261
+ }>>;
1243
1262
  export declare const GetLeaderboardByAddressDocument: DocumentNode<GetLeaderboardByAddressQuery, Exact<{
1244
1263
  address?: InputMaybe<string> | undefined;
1245
1264
  }>>;
@@ -1313,7 +1332,7 @@ export declare const MySignupDocument: DocumentNode<MySignupQuery, Exact<{
1313
1332
  [key: string]: never;
1314
1333
  }>>;
1315
1334
  export declare const SimpleUrlShortenerDocument: DocumentNode<SimpleUrlShortenerQuery, Exact<{
1316
- hashKey: Scalars['String']['input'];
1335
+ input: TxHashChainIdInput;
1317
1336
  }>>;
1318
1337
  export declare const StatusDocument: DocumentNode<StatusQuery, Exact<{
1319
1338
  [key: string]: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.26",
3
+ "version": "1.11.27",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",