@poolzfinance/api4 1.16.4 → 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.
- package/dist/endpoints/adminNonEvmInvested.d.ts +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/graphql/gql.d.ts +5 -10
- package/dist/types/graphql/graphql.d.ts +34 -122
- package/package.json +1 -1
- package/dist/endpoints/boostProxy.d.ts +0 -9
|
@@ -16,12 +16,11 @@ type Documents = {
|
|
|
16
16
|
"\n mutation AdminDeleteAsset($deleteAssetRequest: DeleteAssetRequest!) {\n adminDeleteAsset(request: $deleteAssetRequest) {\n StatusCode\n }\n }\n": typeof types.AdminDeleteAssetDocument;
|
|
17
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;
|
|
18
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;
|
|
19
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;
|
|
20
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;
|
|
21
22
|
"\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n": typeof types.AdminWriteAllocationDocument;
|
|
22
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;
|
|
23
|
-
"\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;
|
|
24
|
-
"\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;
|
|
25
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;
|
|
26
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;
|
|
27
26
|
"\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}": typeof types.AdminCreateAssetDocument;
|
|
@@ -88,6 +87,10 @@ export declare function gql(source: "\n query AdminGetAllocation($projectId: St
|
|
|
88
87
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
89
88
|
*/
|
|
90
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
|
+
/**
|
|
91
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
92
|
+
*/
|
|
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"];
|
|
91
94
|
/**
|
|
92
95
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
93
96
|
*/
|
|
@@ -104,14 +107,6 @@ export declare function gql(source: "\n mutation AdminWriteAllocation($input: A
|
|
|
104
107
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
105
108
|
*/
|
|
106
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 }"];
|
|
107
|
-
/**
|
|
108
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
109
|
-
*/
|
|
110
|
-
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}"];
|
|
111
|
-
/**
|
|
112
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
113
|
-
*/
|
|
114
|
-
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}"];
|
|
115
110
|
/**
|
|
116
111
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
117
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
|
-
|
|
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['
|
|
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'];
|
|
@@ -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
|
-
|
|
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['
|
|
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'];
|
|
@@ -784,6 +716,24 @@ export type AdminListOfPoolzBackIdQuery = {
|
|
|
784
716
|
PoolzBackId: number;
|
|
785
717
|
}>;
|
|
786
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
|
+
};
|
|
787
737
|
export type AdminReadAssetsQueryVariables = Exact<{
|
|
788
738
|
request: Array<ReadAssetsRequest> | ReadAssetsRequest;
|
|
789
739
|
}>;
|
|
@@ -845,43 +795,6 @@ export type GetApprovedContractsV2Query = {
|
|
|
845
795
|
TransactionHash: string;
|
|
846
796
|
}>;
|
|
847
797
|
};
|
|
848
|
-
export type BoostProxyDataQueryVariables = Exact<{
|
|
849
|
-
campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
850
|
-
}>;
|
|
851
|
-
export type BoostProxyDataQuery = {
|
|
852
|
-
__typename?: 'Query';
|
|
853
|
-
boostProxy: Array<{
|
|
854
|
-
__typename?: 'BoostProxy';
|
|
855
|
-
Actions: number;
|
|
856
|
-
Participants: number;
|
|
857
|
-
TotalUsers: number;
|
|
858
|
-
DataKey: string;
|
|
859
|
-
CampaignName: string;
|
|
860
|
-
TotalEntries: number;
|
|
861
|
-
CampaignCode: string;
|
|
862
|
-
}>;
|
|
863
|
-
};
|
|
864
|
-
export type BoostProxyUsersQueryVariables = Exact<{
|
|
865
|
-
campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
866
|
-
}>;
|
|
867
|
-
export type BoostProxyUsersQuery = {
|
|
868
|
-
__typename?: 'Query';
|
|
869
|
-
boostProxy: Array<{
|
|
870
|
-
__typename?: 'BoostProxy';
|
|
871
|
-
Actions: number;
|
|
872
|
-
Participants: number;
|
|
873
|
-
TotalUsers: number;
|
|
874
|
-
CampaignName: string;
|
|
875
|
-
TotalEntries: number;
|
|
876
|
-
CampaignCode: string;
|
|
877
|
-
DataKey: string;
|
|
878
|
-
Users: Array<{
|
|
879
|
-
__typename?: 'BoostProxyUser';
|
|
880
|
-
Address: string;
|
|
881
|
-
Entries: number;
|
|
882
|
-
}>;
|
|
883
|
-
}>;
|
|
884
|
-
};
|
|
885
798
|
export type DaoSenderHistoryQueryVariables = Exact<{
|
|
886
799
|
page: Scalars['Int']['input'];
|
|
887
800
|
}>;
|
|
@@ -1407,12 +1320,11 @@ export declare const AdminCreatePoolzBackIdDocument: DocumentNode<AdminCreatePoo
|
|
|
1407
1320
|
export declare const AdminDeleteAssetDocument: DocumentNode<AdminDeleteAssetMutation, AdminDeleteAssetMutationVariables>;
|
|
1408
1321
|
export declare const AdminGetAllocationDocument: DocumentNode<AdminGetAllocationQuery, AdminGetAllocationQueryVariables>;
|
|
1409
1322
|
export declare const AdminListOfPoolzBackIdDocument: DocumentNode<AdminListOfPoolzBackIdQuery, AdminListOfPoolzBackIdQueryVariables>;
|
|
1323
|
+
export declare const AdminNonEvmInvestedDocument: DocumentNode<AdminNonEvmInvestedMutation, AdminNonEvmInvestedMutationVariables>;
|
|
1410
1324
|
export declare const AdminReadAssetsDocument: DocumentNode<AdminReadAssetsQuery, AdminReadAssetsQueryVariables>;
|
|
1411
1325
|
export declare const AdminUsersInvestDocument: DocumentNode<AdminUsersInvestQuery, AdminUsersInvestQueryVariables>;
|
|
1412
1326
|
export declare const AdminWriteAllocationDocument: DocumentNode<AdminWriteAllocationMutation, AdminWriteAllocationMutationVariables>;
|
|
1413
1327
|
export declare const GetApprovedContractsV2Document: DocumentNode<GetApprovedContractsV2Query, GetApprovedContractsV2QueryVariables>;
|
|
1414
|
-
export declare const BoostProxyDataDocument: DocumentNode<BoostProxyDataQuery, BoostProxyDataQueryVariables>;
|
|
1415
|
-
export declare const BoostProxyUsersDocument: DocumentNode<BoostProxyUsersQuery, BoostProxyUsersQueryVariables>;
|
|
1416
1328
|
export declare const DaoSenderHistoryDocument: DocumentNode<DaoSenderHistoryQuery, DaoSenderHistoryQueryVariables>;
|
|
1417
1329
|
export declare const DaoSenderHistoryV2Document: DocumentNode<DaoSenderHistoryV2Query, DaoSenderHistoryV2QueryVariables>;
|
|
1418
1330
|
export declare const AdminCreateAssetDocument: DocumentNode<AdminCreateAssetMutation, AdminCreateAssetMutationVariables>;
|
package/package.json
CHANGED
|
@@ -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
|
-
}>>;
|