@poolzfinance/api4 1.16.3 → 1.16.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.
@@ -13,14 +13,14 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
13
13
  */
14
14
  type Documents = {
15
15
  "\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n": typeof types.AdminCreatePoolzBackIdDocument;
16
+ "\n mutation AdminDeleteAsset($deleteAssetRequest: DeleteAssetRequest!) {\n adminDeleteAsset(request: $deleteAssetRequest) {\n StatusCode\n }\n }\n": typeof types.AdminDeleteAssetDocument;
16
17
  "\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n": typeof types.AdminGetAllocationDocument;
17
18
  "\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}": typeof types.AdminListOfPoolzBackIdDocument;
19
+ "\n mutation AdminNonEvmInvested($poolId: Long!, $chainId: Long!, $chainName: String!) {\n adminNonEvmInvested(poolId: $poolId, chainId: $chainId, chainName: $chainName) {\n MissingUsers\n Users {\n EvmWallet\n NonEvmWallet\n Amount\n }\n }\n }\n": typeof types.AdminNonEvmInvestedDocument;
18
20
  "\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}": typeof types.AdminReadAssetsDocument;
19
21
  "\n query AdminUsersInvest($poolId: Int!, $first: Int!, $skip: Int!) {\n adminUsersInvest(poolId: $poolId, first: $first, skip: $skip) {\n UserAddress\n WeiAmount\n }\n }\n": typeof types.AdminUsersInvestDocument;
20
22
  "\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n": typeof types.AdminWriteAllocationDocument;
21
23
  "\n query GetApprovedContractsV2($chainId: Int!, $onlyApproved: Boolean!) {\n approvedContractsV2(chainId: $chainId, onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n BlockNumber\n BlockTimestamp\n TransactionHash\n }\n }": typeof types.GetApprovedContractsV2Document;
22
- "\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}": typeof types.BoostProxyDataDocument;
23
- "\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}": typeof types.BoostProxyUsersDocument;
24
24
  "\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n": typeof types.DaoSenderHistoryDocument;
25
25
  "\n query DaoSenderHistoryV2($limit: Int!, $nextToken: String) {\n daoSenderHistoryV2(limit: $limit, nextToken: $nextToken) {\n nextToken\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n TokenObject {\n Address\n Decimals\n Name\n Symbol\n }\n }\n }\n }\n": typeof types.DaoSenderHistoryV2Document;
26
26
  "\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}": typeof types.AdminCreateAssetDocument;
@@ -78,35 +78,35 @@ export declare function gql(source: "\n mutation AdminCreatePoolzBackId($projec
78
78
  /**
79
79
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
80
80
  */
81
- export declare function gql(source: "\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n"): (typeof documents)["\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n"];
81
+ export declare function gql(source: "\n mutation AdminDeleteAsset($deleteAssetRequest: DeleteAssetRequest!) {\n adminDeleteAsset(request: $deleteAssetRequest) {\n StatusCode\n }\n }\n"): (typeof documents)["\n mutation AdminDeleteAsset($deleteAssetRequest: DeleteAssetRequest!) {\n adminDeleteAsset(request: $deleteAssetRequest) {\n StatusCode\n }\n }\n"];
82
82
  /**
83
83
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
84
84
  */
85
- export declare function gql(source: "\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}"): (typeof documents)["\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}"];
85
+ export declare function gql(source: "\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n"): (typeof documents)["\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n"];
86
86
  /**
87
87
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
88
88
  */
89
- export declare function gql(source: "\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}"): (typeof documents)["\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}"];
89
+ export declare function gql(source: "\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}"): (typeof documents)["\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}"];
90
90
  /**
91
91
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
92
92
  */
93
- export declare function gql(source: "\n query AdminUsersInvest($poolId: Int!, $first: Int!, $skip: Int!) {\n adminUsersInvest(poolId: $poolId, first: $first, skip: $skip) {\n UserAddress\n WeiAmount\n }\n }\n"): (typeof documents)["\n query AdminUsersInvest($poolId: Int!, $first: Int!, $skip: Int!) {\n adminUsersInvest(poolId: $poolId, first: $first, skip: $skip) {\n UserAddress\n WeiAmount\n }\n }\n"];
93
+ export declare function gql(source: "\n mutation AdminNonEvmInvested($poolId: Long!, $chainId: Long!, $chainName: String!) {\n adminNonEvmInvested(poolId: $poolId, chainId: $chainId, chainName: $chainName) {\n MissingUsers\n Users {\n EvmWallet\n NonEvmWallet\n Amount\n }\n }\n }\n"): (typeof documents)["\n mutation AdminNonEvmInvested($poolId: Long!, $chainId: Long!, $chainName: String!) {\n adminNonEvmInvested(poolId: $poolId, chainId: $chainId, chainName: $chainName) {\n MissingUsers\n Users {\n EvmWallet\n NonEvmWallet\n Amount\n }\n }\n }\n"];
94
94
  /**
95
95
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
96
96
  */
97
- export declare function gql(source: "\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n"): (typeof documents)["\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n"];
97
+ export declare function gql(source: "\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}"): (typeof documents)["\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}"];
98
98
  /**
99
99
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
100
100
  */
101
- export declare function gql(source: "\n query GetApprovedContractsV2($chainId: Int!, $onlyApproved: Boolean!) {\n approvedContractsV2(chainId: $chainId, onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n BlockNumber\n BlockTimestamp\n TransactionHash\n }\n }"): (typeof documents)["\n query GetApprovedContractsV2($chainId: Int!, $onlyApproved: Boolean!) {\n approvedContractsV2(chainId: $chainId, onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n BlockNumber\n BlockTimestamp\n TransactionHash\n }\n }"];
101
+ export declare function gql(source: "\n query AdminUsersInvest($poolId: Int!, $first: Int!, $skip: Int!) {\n adminUsersInvest(poolId: $poolId, first: $first, skip: $skip) {\n UserAddress\n WeiAmount\n }\n }\n"): (typeof documents)["\n query AdminUsersInvest($poolId: Int!, $first: Int!, $skip: Int!) {\n adminUsersInvest(poolId: $poolId, first: $first, skip: $skip) {\n UserAddress\n WeiAmount\n }\n }\n"];
102
102
  /**
103
103
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
104
104
  */
105
- export declare function gql(source: "\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}"): (typeof documents)["\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}"];
105
+ export declare function gql(source: "\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n"): (typeof documents)["\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n"];
106
106
  /**
107
107
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
108
108
  */
109
- export declare function gql(source: "\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\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 Actions\n Participants\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}"];
109
+ export declare function gql(source: "\n query GetApprovedContractsV2($chainId: Int!, $onlyApproved: Boolean!) {\n approvedContractsV2(chainId: $chainId, onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n BlockNumber\n BlockTimestamp\n TransactionHash\n }\n }"): (typeof documents)["\n query GetApprovedContractsV2($chainId: Int!, $onlyApproved: Boolean!) {\n approvedContractsV2(chainId: $chainId, onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n BlockNumber\n BlockTimestamp\n TransactionHash\n }\n }"];
110
110
  /**
111
111
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
112
112
  */
@@ -42,11 +42,6 @@ export type Scalars = {
42
42
  input: number;
43
43
  output: number;
44
44
  };
45
- /** The `AWSDateTime` scalar type provided by AWS AppSync, represents a valid ***extended*** [ISO 8601 DateTime](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) string. In other words, this scalar type accepts datetime strings of the form `YYYY-MM-DDThh:mm:ss.SSSZ`. The scalar can also accept "negative years" of the form `-YYYY` which correspond to years before `0000`. For example, "**-2017-01-01T00:00Z**" and "**-9999-01-01T00:00Z**" are both valid datetime strings. The field after the two digit seconds field is a nanoseconds field. It can accept between 1 and 9 digits. So, for example, "**1970-01-01T12:00:00.2Z**", "**1970-01-01T12:00:00.277Z**" and "**1970-01-01T12:00:00.123456789Z**" are all valid datetime strings. The seconds and nanoseconds fields are optional (the seconds field must be specified if the nanoseconds field is to be used). The [time zone offset](https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators) is compulsory for this scalar. The time zone offset must either be `Z` (representing the UTC time zone) or be in the format `±hh:mm:ss`. The seconds field in the timezone offset will be considered valid even though it is not part of the ISO 8601 standard. */
46
- AWSDateTime: {
47
- input: any;
48
- output: any;
49
- };
50
45
  /** Long type */
51
46
  Long: {
52
47
  input: any;
@@ -75,10 +70,14 @@ export type AdminListOfPoolzBackId = {
75
70
  };
76
71
  export type AdminNonEvmInvested = {
77
72
  __typename?: 'AdminNonEvmInvested';
78
- AmountIn: Scalars['Float']['output'];
73
+ MissingUsers: Array<Scalars['String']['output']>;
74
+ Users: Array<AdminNonEvmInvested_User>;
75
+ };
76
+ export type AdminNonEvmInvested_User = {
77
+ __typename?: 'AdminNonEvmInvested_User';
78
+ Amount: Scalars['Float']['output'];
79
79
  EvmWallet: Scalars['String']['output'];
80
80
  NonEvmWallet: Scalars['String']['output'];
81
- TokenOut: Scalars['Float']['output'];
82
81
  };
83
82
  export type AdminSignUpV3 = {
84
83
  __typename?: 'AdminSignUpV3';
@@ -112,35 +111,18 @@ export type ApprovedContractsV2 = {
112
111
  Status: Scalars['Boolean']['output'];
113
112
  TransactionHash: Scalars['String']['output'];
114
113
  };
115
- /** --- your types --- */
116
114
  export type BalanceResult = {
117
115
  __typename?: 'BalanceResult';
118
116
  amount: Scalars['String']['output'];
119
117
  block_num: Scalars['Int']['output'];
120
118
  contract: Scalars['String']['output'];
121
119
  decimals: Scalars['Int']['output'];
122
- last_balance_update: Scalars['AWSDateTime']['output'];
120
+ last_balance_update: Scalars['String']['output'];
123
121
  name: Scalars['String']['output'];
124
122
  network_id: Scalars['String']['output'];
125
123
  symbol: Scalars['String']['output'];
126
124
  value: Scalars['Float']['output'];
127
125
  };
128
- export type BoostProxy = {
129
- __typename?: 'BoostProxy';
130
- Actions: Scalars['Int']['output'];
131
- CampaignCode: Scalars['String']['output'];
132
- CampaignName: Scalars['String']['output'];
133
- DataKey: Scalars['String']['output'];
134
- Participants: Scalars['Int']['output'];
135
- TotalEntries: Scalars['Int']['output'];
136
- TotalUsers: Scalars['Int']['output'];
137
- Users: Array<BoostProxyUser>;
138
- };
139
- export type BoostProxyUser = {
140
- __typename?: 'BoostProxyUser';
141
- Address: Scalars['String']['output'];
142
- Entries: Scalars['Int']['output'];
143
- };
144
126
  export type CreateAssetRequest = {
145
127
  message: CreateAssetRequest_Message;
146
128
  signature: Scalars['String']['input'];
@@ -209,13 +191,13 @@ export type DaoSenderHistoryV2_Token = {
209
191
  Symbol: Scalars['String']['output'];
210
192
  };
211
193
  export type DeleteAssetRequest = {
212
- Message: DeleteAssetRequest_Message;
213
- Signature: Scalars['String']['input'];
194
+ message: DeleteAssetRequest_Message;
195
+ signature: Scalars['String']['input'];
214
196
  };
215
197
  export type DeleteAssetRequest_Message = {
216
- ChainId: Scalars['Int']['input'];
217
- PoolId: Scalars['Int']['input'];
218
- Users: Array<Scalars['String']['input']>;
198
+ chainId: Scalars['Int']['input'];
199
+ poolId: Scalars['Int']['input'];
200
+ users: Array<Scalars['String']['input']>;
219
201
  };
220
202
  export type DeleteAssetResponse = {
221
203
  __typename?: 'DeleteAssetResponse';
@@ -265,6 +247,7 @@ export type Mutation = {
265
247
  adminCreateAsset: CreateAssetResponse;
266
248
  adminCreatePoolzBackId: AdminCreatePoolzBackId;
267
249
  adminDeleteAsset: DeleteAssetResponse;
250
+ adminNonEvmInvested: AdminNonEvmInvested;
268
251
  adminWriteAllocation: Scalars['Int']['output'];
269
252
  deleteEvmWallet: UserData;
270
253
  deleteNonEvmWallet: UserData;
@@ -296,6 +279,11 @@ export type MutationAdminCreatePoolzBackIdArgs = {
296
279
  export type MutationAdminDeleteAssetArgs = {
297
280
  request: DeleteAssetRequest;
298
281
  };
282
+ export type MutationAdminNonEvmInvestedArgs = {
283
+ chainId: Scalars['Long']['input'];
284
+ chainName: Scalars['String']['input'];
285
+ poolId: Scalars['Long']['input'];
286
+ };
299
287
  export type MutationAdminWriteAllocationArgs = {
300
288
  input: AdminWriteAllocation;
301
289
  };
@@ -456,28 +444,17 @@ export type ProjectSignUpV3 = {
456
444
  ProjectId: Scalars['String']['output'];
457
445
  UserAddress: Scalars['String']['output'];
458
446
  };
459
- export type PutMyDataNonEvmWallet = {
460
- ChainName: Scalars['String']['input'];
461
- NonEvmWallet: Scalars['String']['input'];
462
- };
463
- /** --- your entry point --- */
464
447
  export type Query = {
465
448
  __typename?: 'Query';
466
449
  adminGetAllocation: Array<AdminGetAllocation>;
467
450
  /** Works with a maximum of 100 elements */
468
451
  adminListOfPoolzBackId: Array<AdminListOfPoolzBackId>;
469
- adminNonEvmInvested: Array<AdminNonEvmInvested>;
470
452
  adminReadAssets: ReadAssetsResponse;
471
- adminRpcWallets: Array<RpcWallet>;
472
453
  adminSignUpV3: Array<AdminSignUpV3>;
473
454
  adminUsersInvest: Array<AdminUsersInvest>;
474
455
  adminUsersTotalSpents: Array<AdminUsersTotalSpents>;
475
456
  approvedContractsV2: Array<ApprovedContractsV2>;
476
- boostProxy: Array<BoostProxy>;
477
- /**
478
- * Will be updated in new endoint.
479
- * @deprecated Use new 'daoSenderHistoryV2' endpoint.
480
- */
457
+ /** @deprecated Use new 'daoSenderHistoryV2' endpoint. */
481
458
  daoSenderHistory: DaoSenderHistoryPage;
482
459
  daoSenderHistoryV2: DaoSenderHistoryV2;
483
460
  generateMyInvestSignature: GenerateMyInvestSignature;
@@ -504,121 +481,85 @@ export type Query = {
504
481
  unlocksV2: Array<UnlocksV2>;
505
482
  vaultsV2: Array<VaultsV2>;
506
483
  };
507
- /** --- your entry point --- */
508
484
  export type QueryAdminGetAllocationArgs = {
509
485
  projectId: Scalars['String']['input'];
510
486
  };
511
- /** --- your entry point --- */
512
487
  export type QueryAdminListOfPoolzBackIdArgs = {
513
488
  projectIDs: Array<Scalars['String']['input']>;
514
489
  };
515
- /** --- your entry point --- */
516
- export type QueryAdminNonEvmInvestedArgs = {
517
- chainName: Scalars['String']['input'];
518
- poolId: Scalars['Long']['input'];
519
- };
520
- /** --- your entry point --- */
521
490
  export type QueryAdminReadAssetsArgs = {
522
491
  request: Array<ReadAssetsRequest>;
523
492
  };
524
- /** --- your entry point --- */
525
- export type QueryAdminRpcWalletsArgs = {
526
- IDs: Array<InputMaybe<Scalars['Int']['input']>>;
527
- };
528
- /** --- your entry point --- */
529
493
  export type QueryAdminSignUpV3Args = {
530
494
  minPoolxAmount: Scalars['Int']['input'];
531
495
  projectId: Scalars['String']['input'];
532
496
  };
533
- /** --- your entry point --- */
534
497
  export type QueryAdminUsersInvestArgs = {
535
498
  first: Scalars['Int']['input'];
536
499
  poolId: Scalars['Int']['input'];
537
500
  skip: Scalars['Int']['input'];
538
501
  };
539
- /** --- your entry point --- */
540
502
  export type QueryApprovedContractsV2Args = {
541
503
  chainId: Scalars['Int']['input'];
542
504
  onlyApproved: Scalars['Boolean']['input'];
543
505
  };
544
- /** --- your entry point --- */
545
- export type QueryBoostProxyArgs = {
546
- campaignCodes: Array<Scalars['String']['input']>;
547
- };
548
- /** --- your entry point --- */
549
506
  export type QueryDaoSenderHistoryArgs = {
550
507
  limit?: InputMaybe<Scalars['Int']['input']>;
551
508
  page: Scalars['Int']['input'];
552
509
  };
553
- /** --- your entry point --- */
554
510
  export type QueryDaoSenderHistoryV2Args = {
555
511
  limit?: InputMaybe<Scalars['Int']['input']>;
556
512
  nextToken?: InputMaybe<Scalars['String']['input']>;
557
513
  };
558
- /** --- your entry point --- */
559
514
  export type QueryGenerateMyInvestSignatureArgs = {
560
515
  projectId: Scalars['String']['input'];
561
516
  weiAmount: Scalars['String']['input'];
562
517
  };
563
- /** --- your entry point --- */
564
518
  export type QueryGetTokenBalancesArgs = {
565
519
  chainId: Scalars['Int']['input'];
566
520
  limit?: InputMaybe<Scalars['Int']['input']>;
567
521
  page?: InputMaybe<Scalars['Int']['input']>;
568
522
  userAddress: Scalars['String']['input'];
569
523
  };
570
- /** --- your entry point --- */
571
524
  export type QueryLeaderBoardArgs = {
572
525
  address?: InputMaybe<Scalars['String']['input']>;
573
526
  timestamp?: InputMaybe<Scalars['Int']['input']>;
574
527
  };
575
- /** --- your entry point --- */
576
528
  export type QueryMyAllocationArgs = {
577
529
  projectId: Scalars['String']['input'];
578
530
  };
579
- /** --- your entry point --- */
580
531
  export type QueryMyAssetsArgs = {
581
532
  limit: Scalars['Int']['input'];
582
533
  page: Scalars['Int']['input'];
583
534
  };
584
- /** --- your entry point --- */
585
535
  export type QueryMyDataArgs = {
586
536
  chainNames?: InputMaybe<Array<Scalars['String']['input']>>;
587
537
  };
588
- /** --- your entry point --- */
589
538
  export type QueryMySignUpV3Args = {
590
539
  projectIDs: Array<Scalars['String']['input']>;
591
540
  };
592
- /** --- your entry point --- */
593
541
  export type QueryMyUpcomingAllocationArgs = {
594
542
  projectIDs: Array<Scalars['String']['input']>;
595
543
  };
596
- /** --- your entry point --- */
597
544
  export type QueryProjectIdToPoolzBackIdArgs = {
598
545
  projectId: Scalars['String']['input'];
599
546
  };
600
- /** --- your entry point --- */
601
547
  export type QueryProjectIdToPoolzBackIdV2Args = {
602
548
  projectId: Scalars['String']['input'];
603
549
  };
604
- /** --- your entry point --- */
605
550
  export type QueryRetrieveSignatureArgs = {
606
551
  request: RetrieveSignatureRequest;
607
552
  };
608
- /** --- your entry point --- */
609
553
  export type QuerySplitDataEncoderArgs = {
610
554
  address: Scalars['String']['input'];
611
555
  ratio: Scalars['Float']['input'];
612
556
  };
613
- /** --- your entry point --- */
614
557
  export type QueryTokenInfoArgs = {
615
558
  hashKey: Scalars['String']['input'];
616
559
  };
617
- /** --- your entry point --- */
618
560
  export type QueryUnlocksV2Args = {
619
561
  chainId: Scalars['Int']['input'];
620
562
  };
621
- /** --- your entry point --- */
622
563
  export type QueryVaultsV2Args = {
623
564
  chainId: Scalars['Int']['input'];
624
565
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
@@ -676,11 +617,6 @@ export type RetrieveSignatureResponse_Builders = {
676
617
  StartTime?: Maybe<Scalars['Int']['output']>;
677
618
  WeiAmount: Scalars['String']['output'];
678
619
  };
679
- export type RpcWallet = {
680
- __typename?: 'RpcWallet';
681
- Id: Scalars['Int']['output'];
682
- Wallet: Scalars['String']['output'];
683
- };
684
620
  export type Statistics = {
685
621
  __typename?: 'Statistics';
686
622
  bytes_read: Scalars['Int']['output'];
@@ -692,7 +628,7 @@ export type TokenBalances = {
692
628
  data: Array<BalanceResult>;
693
629
  duration_ms: Scalars['Int']['output'];
694
630
  pagination: Pagination;
695
- request_time: Scalars['AWSDateTime']['output'];
631
+ request_time: Scalars['String']['output'];
696
632
  results: Scalars['Int']['output'];
697
633
  statistics: Statistics;
698
634
  total_results: Scalars['Int']['output'];
@@ -706,10 +642,6 @@ export type TokenInfo = {
706
642
  Symbol: Scalars['String']['output'];
707
643
  TotalSupply: Scalars['Float']['output'];
708
644
  };
709
- export type TxHashChainIdInput = {
710
- ChainId: Scalars['Int']['input'];
711
- TxHash: Scalars['String']['input'];
712
- };
713
645
  export type UnlocksV2 = {
714
646
  __typename?: 'UnlocksV2';
715
647
  CreatedAt: Scalars['Int']['output'];
@@ -748,6 +680,16 @@ export type AdminCreatePoolzBackIdMutation = {
748
680
  PoolzBackId: number;
749
681
  };
750
682
  };
683
+ export type AdminDeleteAssetMutationVariables = Exact<{
684
+ deleteAssetRequest: DeleteAssetRequest;
685
+ }>;
686
+ export type AdminDeleteAssetMutation = {
687
+ __typename?: 'Mutation';
688
+ adminDeleteAsset: {
689
+ __typename?: 'DeleteAssetResponse';
690
+ StatusCode: number;
691
+ };
692
+ };
751
693
  export type AdminGetAllocationQueryVariables = Exact<{
752
694
  projectId: Scalars['String']['input'];
753
695
  }>;
@@ -774,6 +716,24 @@ export type AdminListOfPoolzBackIdQuery = {
774
716
  PoolzBackId: number;
775
717
  }>;
776
718
  };
719
+ export type AdminNonEvmInvestedMutationVariables = Exact<{
720
+ poolId: Scalars['Long']['input'];
721
+ chainId: Scalars['Long']['input'];
722
+ chainName: Scalars['String']['input'];
723
+ }>;
724
+ export type AdminNonEvmInvestedMutation = {
725
+ __typename?: 'Mutation';
726
+ adminNonEvmInvested: {
727
+ __typename?: 'AdminNonEvmInvested';
728
+ MissingUsers: Array<string>;
729
+ Users: Array<{
730
+ __typename?: 'AdminNonEvmInvested_User';
731
+ EvmWallet: string;
732
+ NonEvmWallet: string;
733
+ Amount: number;
734
+ }>;
735
+ };
736
+ };
777
737
  export type AdminReadAssetsQueryVariables = Exact<{
778
738
  request: Array<ReadAssetsRequest> | ReadAssetsRequest;
779
739
  }>;
@@ -835,43 +795,6 @@ export type GetApprovedContractsV2Query = {
835
795
  TransactionHash: string;
836
796
  }>;
837
797
  };
838
- export type BoostProxyDataQueryVariables = Exact<{
839
- campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
840
- }>;
841
- export type BoostProxyDataQuery = {
842
- __typename?: 'Query';
843
- boostProxy: Array<{
844
- __typename?: 'BoostProxy';
845
- Actions: number;
846
- Participants: number;
847
- TotalUsers: number;
848
- DataKey: string;
849
- CampaignName: string;
850
- TotalEntries: number;
851
- CampaignCode: string;
852
- }>;
853
- };
854
- export type BoostProxyUsersQueryVariables = Exact<{
855
- campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
856
- }>;
857
- export type BoostProxyUsersQuery = {
858
- __typename?: 'Query';
859
- boostProxy: Array<{
860
- __typename?: 'BoostProxy';
861
- Actions: number;
862
- Participants: number;
863
- TotalUsers: number;
864
- CampaignName: string;
865
- TotalEntries: number;
866
- CampaignCode: string;
867
- DataKey: string;
868
- Users: Array<{
869
- __typename?: 'BoostProxyUser';
870
- Address: string;
871
- Entries: number;
872
- }>;
873
- }>;
874
- };
875
798
  export type DaoSenderHistoryQueryVariables = Exact<{
876
799
  page: Scalars['Int']['input'];
877
800
  }>;
@@ -1394,14 +1317,14 @@ export type VaultsV2Query = {
1394
1317
  }>;
1395
1318
  };
1396
1319
  export declare const AdminCreatePoolzBackIdDocument: DocumentNode<AdminCreatePoolzBackIdMutation, AdminCreatePoolzBackIdMutationVariables>;
1320
+ export declare const AdminDeleteAssetDocument: DocumentNode<AdminDeleteAssetMutation, AdminDeleteAssetMutationVariables>;
1397
1321
  export declare const AdminGetAllocationDocument: DocumentNode<AdminGetAllocationQuery, AdminGetAllocationQueryVariables>;
1398
1322
  export declare const AdminListOfPoolzBackIdDocument: DocumentNode<AdminListOfPoolzBackIdQuery, AdminListOfPoolzBackIdQueryVariables>;
1323
+ export declare const AdminNonEvmInvestedDocument: DocumentNode<AdminNonEvmInvestedMutation, AdminNonEvmInvestedMutationVariables>;
1399
1324
  export declare const AdminReadAssetsDocument: DocumentNode<AdminReadAssetsQuery, AdminReadAssetsQueryVariables>;
1400
1325
  export declare const AdminUsersInvestDocument: DocumentNode<AdminUsersInvestQuery, AdminUsersInvestQueryVariables>;
1401
1326
  export declare const AdminWriteAllocationDocument: DocumentNode<AdminWriteAllocationMutation, AdminWriteAllocationMutationVariables>;
1402
1327
  export declare const GetApprovedContractsV2Document: DocumentNode<GetApprovedContractsV2Query, GetApprovedContractsV2QueryVariables>;
1403
- export declare const BoostProxyDataDocument: DocumentNode<BoostProxyDataQuery, BoostProxyDataQueryVariables>;
1404
- export declare const BoostProxyUsersDocument: DocumentNode<BoostProxyUsersQuery, BoostProxyUsersQueryVariables>;
1405
1328
  export declare const DaoSenderHistoryDocument: DocumentNode<DaoSenderHistoryQuery, DaoSenderHistoryQueryVariables>;
1406
1329
  export declare const DaoSenderHistoryV2Document: DocumentNode<DaoSenderHistoryV2Query, DaoSenderHistoryV2QueryVariables>;
1407
1330
  export declare const AdminCreateAssetDocument: DocumentNode<AdminCreateAssetMutation, AdminCreateAssetMutationVariables>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.16.3",
3
+ "version": "1.16.5",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",
@@ -1,9 +0,0 @@
1
- export declare const useBoostUsers: (campaignCodes?: string) => import("@apollo/client").QueryResult<import("../types/graphql/graphql").BoostProxyUsersQuery, import("../types/graphql/graphql").Exact<{
2
- campaignCodes: Array<import("../types/graphql/graphql").Scalars["String"]["input"]> | import("../types/graphql/graphql").Scalars["String"]["input"];
3
- }>>;
4
- export declare const useBoostData: (campaignCodes?: string[]) => import("@apollo/client").QueryResult<import("../types/graphql/graphql").BoostProxyDataQuery, import("../types/graphql/graphql").Exact<{
5
- campaignCodes: Array<import("../types/graphql/graphql").Scalars["String"]["input"]> | import("../types/graphql/graphql").Scalars["String"]["input"];
6
- }>>;
7
- export declare const useLazyBoostUsers: () => import("@apollo/client").LazyQueryResultTuple<import("../types/graphql/graphql").BoostProxyUsersQuery, import("../types/graphql/graphql").Exact<{
8
- campaignCodes: Array<import("../types/graphql/graphql").Scalars["String"]["input"]> | import("../types/graphql/graphql").Scalars["String"]["input"];
9
- }>>;