@poolzfinance/api4 1.15.5 → 1.15.6
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/getTokenBalances.d.ts +5 -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 -5
- package/dist/types/graphql/graphql.d.ts +111 -105
- package/package.json +1 -1
- package/dist/endpoints/myInvested.d.ts +0 -3
|
@@ -28,6 +28,7 @@ type Documents = {
|
|
|
28
28
|
"\n mutation GenerateSignature($request: GenerateSignatureRequest!) {\n generateSignature(request: $request) {\n ValidFrom\n CurrentTime\n }\n}": typeof types.GenerateSignatureDocument;
|
|
29
29
|
"\n query MyQuery {\n time\n}": typeof types.MyQueryDocument;
|
|
30
30
|
"\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}": typeof types.GenerateTokenFromSignatureDocument;
|
|
31
|
+
"\n query GetTokenBalances($userAddress: String!, $chainId: Int!, $limit: Int) {\n getTokenBalances(userAddress: $userAddress, chainId: $chainId, limit: $limit) {\n pagination {\n current_page\n next_page\n total_pages\n }\n data {\n contract\n value\n name\n symbol\n }\n }\n }\n": typeof types.GetTokenBalancesDocument;
|
|
31
32
|
"\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n": typeof types.GenerateMyInvestSignatureDocument;
|
|
32
33
|
"\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}": typeof types.GetLeaderboardByAddressDocument;
|
|
33
34
|
"\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}": typeof types.GetLeaderboardDocument;
|
|
@@ -42,7 +43,6 @@ type Documents = {
|
|
|
42
43
|
"\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}": typeof types.DeleteNonEvmWalletDocument;
|
|
43
44
|
"\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}": typeof types.UpdateNonEvmWalletDocument;
|
|
44
45
|
"\n query MyInvest {\n myInvest {\n ProjectId\n PoolId\n ChainId\n Token\n Amount\n TokenName\n TokenSymbol\n }\n }\n": typeof types.MyInvestDocument;
|
|
45
|
-
"\n query MyInvested {\n myInvestmentsErc20 {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Token\n Id\n }\n myInvestmentsETH {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Id\n }\n}": typeof types.MyInvestedDocument;
|
|
46
46
|
"\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}": typeof types.KycDocument;
|
|
47
47
|
"\n query MyRoles {\n myRoles\n }": typeof types.MyRolesDocument;
|
|
48
48
|
"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": typeof types.PoolxPriceDocument;
|
|
@@ -133,6 +133,10 @@ export declare function gql(source: "\n query MyQuery {\n time\n}"): (typeof
|
|
|
133
133
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
134
134
|
*/
|
|
135
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}"];
|
|
136
|
+
/**
|
|
137
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
138
|
+
*/
|
|
139
|
+
export declare function gql(source: "\n query GetTokenBalances($userAddress: String!, $chainId: Int!, $limit: Int) {\n getTokenBalances(userAddress: $userAddress, chainId: $chainId, limit: $limit) {\n pagination {\n current_page\n next_page\n total_pages\n }\n data {\n contract\n value\n name\n symbol\n }\n }\n }\n"): (typeof documents)["\n query GetTokenBalances($userAddress: String!, $chainId: Int!, $limit: Int) {\n getTokenBalances(userAddress: $userAddress, chainId: $chainId, limit: $limit) {\n pagination {\n current_page\n next_page\n total_pages\n }\n data {\n contract\n value\n name\n symbol\n }\n }\n }\n"];
|
|
136
140
|
/**
|
|
137
141
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
138
142
|
*/
|
|
@@ -189,10 +193,6 @@ export declare function gql(source: "\n mutation UpdateNonEvmWallet($chainName:
|
|
|
189
193
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
190
194
|
*/
|
|
191
195
|
export declare function gql(source: "\n query MyInvest {\n myInvest {\n ProjectId\n PoolId\n ChainId\n Token\n Amount\n TokenName\n TokenSymbol\n }\n }\n"): (typeof documents)["\n query MyInvest {\n myInvest {\n ProjectId\n PoolId\n ChainId\n Token\n Amount\n TokenName\n TokenSymbol\n }\n }\n"];
|
|
192
|
-
/**
|
|
193
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
194
|
-
*/
|
|
195
|
-
export declare function gql(source: "\n query MyInvested {\n myInvestmentsErc20 {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Token\n Id\n }\n myInvestmentsETH {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Id\n }\n}"): (typeof documents)["\n query MyInvested {\n myInvestmentsErc20 {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Token\n Id\n }\n myInvestmentsETH {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Id\n }\n}"];
|
|
196
196
|
/**
|
|
197
197
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
198
198
|
*/
|
|
@@ -42,6 +42,11 @@ 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
|
+
};
|
|
45
50
|
/** Long type */
|
|
46
51
|
Long: {
|
|
47
52
|
input: any;
|
|
@@ -99,12 +104,6 @@ export type AdminWriteAllocation_UserData = {
|
|
|
99
104
|
Amount: Scalars['Float']['input'];
|
|
100
105
|
UserAddress: Scalars['String']['input'];
|
|
101
106
|
};
|
|
102
|
-
export type ApprovedContracts = {
|
|
103
|
-
__typename?: 'ApprovedContracts';
|
|
104
|
-
ChainId: Scalars['Int']['output'];
|
|
105
|
-
ContractAddress: Scalars['String']['output'];
|
|
106
|
-
Status: Scalars['Boolean']['output'];
|
|
107
|
-
};
|
|
108
107
|
export type ApprovedContractsV2 = {
|
|
109
108
|
__typename?: 'ApprovedContractsV2';
|
|
110
109
|
BlockNumber: Scalars['Int']['output'];
|
|
@@ -113,6 +112,19 @@ export type ApprovedContractsV2 = {
|
|
|
113
112
|
Status: Scalars['Boolean']['output'];
|
|
114
113
|
TransactionHash: Scalars['String']['output'];
|
|
115
114
|
};
|
|
115
|
+
/** --- your types --- */
|
|
116
|
+
export type BalanceResult = {
|
|
117
|
+
__typename?: 'BalanceResult';
|
|
118
|
+
amount: Scalars['String']['output'];
|
|
119
|
+
block_num: Scalars['Int']['output'];
|
|
120
|
+
contract: Scalars['String']['output'];
|
|
121
|
+
decimals: Scalars['Int']['output'];
|
|
122
|
+
last_balance_update: Scalars['AWSDateTime']['output'];
|
|
123
|
+
name: Scalars['String']['output'];
|
|
124
|
+
network_id: Scalars['String']['output'];
|
|
125
|
+
symbol: Scalars['String']['output'];
|
|
126
|
+
value: Scalars['Float']['output'];
|
|
127
|
+
};
|
|
116
128
|
export type BoostProxy = {
|
|
117
129
|
__typename?: 'BoostProxy';
|
|
118
130
|
Actions: Scalars['Int']['output'];
|
|
@@ -344,29 +356,28 @@ export type MyInvest = {
|
|
|
344
356
|
__typename?: 'MyInvest';
|
|
345
357
|
Amount: Scalars['Float']['output'];
|
|
346
358
|
ChainId: Scalars['Int']['output'];
|
|
359
|
+
ChainLogo: MyInvest_Logo;
|
|
347
360
|
FinishTime: Scalars['Int']['output'];
|
|
361
|
+
OriginalLogo: MyInvest_Logo;
|
|
348
362
|
PoolId: Scalars['Int']['output'];
|
|
349
363
|
ProjectId: Scalars['String']['output'];
|
|
364
|
+
StartTime: Scalars['Int']['output'];
|
|
350
365
|
Token: Scalars['String']['output'];
|
|
351
366
|
TokenName: Scalars['String']['output'];
|
|
367
|
+
TokenObject: MyInvest_Token;
|
|
352
368
|
TokenSymbol: Scalars['String']['output'];
|
|
353
369
|
};
|
|
354
|
-
export type
|
|
355
|
-
__typename?: '
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
Id: Scalars['Int']['output'];
|
|
360
|
-
TxHash: Scalars['String']['output'];
|
|
370
|
+
export type MyInvest_Logo = {
|
|
371
|
+
__typename?: 'MyInvest_Logo';
|
|
372
|
+
Color?: Maybe<Scalars['String']['output']>;
|
|
373
|
+
DisplayText: Scalars['String']['output'];
|
|
374
|
+
Url: Scalars['String']['output'];
|
|
361
375
|
};
|
|
362
|
-
export type
|
|
363
|
-
__typename?: '
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
Id: Scalars['Int']['output'];
|
|
368
|
-
Token: Scalars['String']['output'];
|
|
369
|
-
TxHash: Scalars['String']['output'];
|
|
376
|
+
export type MyInvest_Token = {
|
|
377
|
+
__typename?: 'MyInvest_Token';
|
|
378
|
+
Address: Scalars['String']['output'];
|
|
379
|
+
Name: Scalars['String']['output'];
|
|
380
|
+
Symbol: Scalars['String']['output'];
|
|
370
381
|
};
|
|
371
382
|
export type MySignUpV3 = {
|
|
372
383
|
__typename?: 'MySignUpV3';
|
|
@@ -384,6 +395,13 @@ export type NonEvmWallet = {
|
|
|
384
395
|
ChainName: Scalars['String']['output'];
|
|
385
396
|
Wallet: Scalars['String']['output'];
|
|
386
397
|
};
|
|
398
|
+
export type Pagination = {
|
|
399
|
+
__typename?: 'Pagination';
|
|
400
|
+
current_page: Scalars['Int']['output'];
|
|
401
|
+
next_page?: Maybe<Scalars['Int']['output']>;
|
|
402
|
+
previous_page: Scalars['Int']['output'];
|
|
403
|
+
total_pages: Scalars['Int']['output'];
|
|
404
|
+
};
|
|
387
405
|
export type PoolxPrice = {
|
|
388
406
|
__typename?: 'PoolxPrice';
|
|
389
407
|
Price: Scalars['Float']['output'];
|
|
@@ -413,6 +431,7 @@ export type PutMyDataNonEvmWallet = {
|
|
|
413
431
|
ChainName: Scalars['String']['input'];
|
|
414
432
|
NonEvmWallet: Scalars['String']['input'];
|
|
415
433
|
};
|
|
434
|
+
/** --- your entry point --- */
|
|
416
435
|
export type Query = {
|
|
417
436
|
__typename?: 'Query';
|
|
418
437
|
adminGetAllocation: Array<AdminGetAllocation>;
|
|
@@ -424,23 +443,18 @@ export type Query = {
|
|
|
424
443
|
adminSignUpV3: Array<AdminSignUpV3>;
|
|
425
444
|
adminUsersInvest: Array<AdminUsersInvest>;
|
|
426
445
|
adminUsersTotalSpents: Array<AdminUsersTotalSpents>;
|
|
427
|
-
/** @deprecated Use new `approvedContractsV2` endpoint. */
|
|
428
|
-
approvedContracts: Array<ApprovedContracts>;
|
|
429
446
|
approvedContractsV2: Array<ApprovedContractsV2>;
|
|
430
447
|
boostProxy: Array<BoostProxy>;
|
|
431
448
|
/** Will be updated in new endoint. */
|
|
432
449
|
daoSenderHistory: DaoSenderHistoryPage;
|
|
433
450
|
generateMyInvestSignature: GenerateMyInvestSignature;
|
|
451
|
+
getTokenBalances?: Maybe<TokenBalances>;
|
|
434
452
|
leaderBoard: Array<LeaderBoard>;
|
|
435
453
|
myAllocation: MyAllocation;
|
|
436
454
|
myAssets: MyAssetsResponse;
|
|
437
455
|
myData?: Maybe<MyData>;
|
|
438
456
|
/** Returns archived and new investments data */
|
|
439
457
|
myInvest: Array<MyInvest>;
|
|
440
|
-
/** @deprecated Use new `myInvest` endpoint */
|
|
441
|
-
myInvestmentsETH: Array<MyInvestmentsEth>;
|
|
442
|
-
/** @deprecated Use new `myInvest` endpoint */
|
|
443
|
-
myInvestmentsErc20: Array<MyInvestmentsErc20>;
|
|
444
458
|
myProxyKYC: KycProxy;
|
|
445
459
|
myRoles: Array<Scalars['String']['output']>;
|
|
446
460
|
mySignUpV3: Array<MySignUpV3>;
|
|
@@ -449,109 +463,118 @@ export type Query = {
|
|
|
449
463
|
poolxTokenomicsV2: PoolxTokenomicsV2;
|
|
450
464
|
projectIdToPoolzBackId: Scalars['Int']['output'];
|
|
451
465
|
retrieveSignature: RetrieveSignatureResponse;
|
|
452
|
-
/** @deprecated Will be removed */
|
|
453
|
-
simpleUrlShortener?: Maybe<SimpleUrlShortener>;
|
|
454
466
|
splitDataEncoder: Scalars['String']['output'];
|
|
455
467
|
time: Scalars['Int']['output'];
|
|
456
468
|
tokenInfo?: Maybe<TokenInfo>;
|
|
457
|
-
/** @deprecated Use new `unlocksV2` endpoint. */
|
|
458
|
-
unlocks: Array<Unlocks>;
|
|
459
469
|
unlocksV2: Array<UnlocksV2>;
|
|
460
|
-
/** @deprecated Use new `vaultsV2` endpoint. */
|
|
461
|
-
vaults: Array<Vaults>;
|
|
462
470
|
vaultsV2: Array<VaultsV2>;
|
|
463
471
|
};
|
|
472
|
+
/** --- your entry point --- */
|
|
464
473
|
export type QueryAdminGetAllocationArgs = {
|
|
465
474
|
projectId: Scalars['String']['input'];
|
|
466
475
|
};
|
|
476
|
+
/** --- your entry point --- */
|
|
467
477
|
export type QueryAdminListOfPoolzBackIdArgs = {
|
|
468
478
|
projectIDs: Array<Scalars['String']['input']>;
|
|
469
479
|
};
|
|
480
|
+
/** --- your entry point --- */
|
|
470
481
|
export type QueryAdminNonEvmInvestedArgs = {
|
|
471
482
|
chainName: Scalars['String']['input'];
|
|
472
483
|
poolId: Scalars['Long']['input'];
|
|
473
484
|
};
|
|
485
|
+
/** --- your entry point --- */
|
|
474
486
|
export type QueryAdminReadAssetsArgs = {
|
|
475
487
|
request: Array<ReadAssetsRequest>;
|
|
476
488
|
};
|
|
489
|
+
/** --- your entry point --- */
|
|
477
490
|
export type QueryAdminRpcWalletsArgs = {
|
|
478
491
|
IDs: Array<InputMaybe<Scalars['Int']['input']>>;
|
|
479
492
|
};
|
|
493
|
+
/** --- your entry point --- */
|
|
480
494
|
export type QueryAdminSignUpV3Args = {
|
|
481
495
|
minPoolxAmount: Scalars['Int']['input'];
|
|
482
496
|
projectId: Scalars['String']['input'];
|
|
483
497
|
};
|
|
498
|
+
/** --- your entry point --- */
|
|
484
499
|
export type QueryAdminUsersInvestArgs = {
|
|
485
500
|
first: Scalars['Int']['input'];
|
|
486
501
|
poolId: Scalars['Int']['input'];
|
|
487
502
|
skip: Scalars['Int']['input'];
|
|
488
503
|
};
|
|
489
|
-
|
|
490
|
-
onlyApproved: Scalars['Boolean']['input'];
|
|
491
|
-
};
|
|
504
|
+
/** --- your entry point --- */
|
|
492
505
|
export type QueryApprovedContractsV2Args = {
|
|
493
506
|
chainId: Scalars['Int']['input'];
|
|
494
507
|
onlyApproved: Scalars['Boolean']['input'];
|
|
495
508
|
};
|
|
509
|
+
/** --- your entry point --- */
|
|
496
510
|
export type QueryBoostProxyArgs = {
|
|
497
511
|
campaignCodes: Array<Scalars['String']['input']>;
|
|
498
512
|
};
|
|
513
|
+
/** --- your entry point --- */
|
|
499
514
|
export type QueryDaoSenderHistoryArgs = {
|
|
500
515
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
501
516
|
page: Scalars['Int']['input'];
|
|
502
517
|
};
|
|
518
|
+
/** --- your entry point --- */
|
|
503
519
|
export type QueryGenerateMyInvestSignatureArgs = {
|
|
504
520
|
projectId: Scalars['String']['input'];
|
|
505
521
|
weiAmount: Scalars['String']['input'];
|
|
506
522
|
};
|
|
523
|
+
/** --- your entry point --- */
|
|
524
|
+
export type QueryGetTokenBalancesArgs = {
|
|
525
|
+
chainId: Scalars['Int']['input'];
|
|
526
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
527
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
528
|
+
userAddress: Scalars['String']['input'];
|
|
529
|
+
};
|
|
530
|
+
/** --- your entry point --- */
|
|
507
531
|
export type QueryLeaderBoardArgs = {
|
|
508
532
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
509
533
|
timestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
510
534
|
};
|
|
535
|
+
/** --- your entry point --- */
|
|
511
536
|
export type QueryMyAllocationArgs = {
|
|
512
537
|
projectId: Scalars['String']['input'];
|
|
513
538
|
};
|
|
539
|
+
/** --- your entry point --- */
|
|
514
540
|
export type QueryMyAssetsArgs = {
|
|
515
541
|
limit: Scalars['Int']['input'];
|
|
516
542
|
page: Scalars['Int']['input'];
|
|
517
543
|
};
|
|
544
|
+
/** --- your entry point --- */
|
|
518
545
|
export type QueryMyDataArgs = {
|
|
519
546
|
chainNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
520
547
|
};
|
|
548
|
+
/** --- your entry point --- */
|
|
521
549
|
export type QueryMySignUpV3Args = {
|
|
522
550
|
projectIDs: Array<Scalars['String']['input']>;
|
|
523
551
|
};
|
|
552
|
+
/** --- your entry point --- */
|
|
524
553
|
export type QueryMyUpcomingAllocationArgs = {
|
|
525
554
|
projectIDs: Array<Scalars['String']['input']>;
|
|
526
555
|
};
|
|
556
|
+
/** --- your entry point --- */
|
|
527
557
|
export type QueryProjectIdToPoolzBackIdArgs = {
|
|
528
558
|
projectId: Scalars['String']['input'];
|
|
529
559
|
};
|
|
560
|
+
/** --- your entry point --- */
|
|
530
561
|
export type QueryRetrieveSignatureArgs = {
|
|
531
562
|
request: RetrieveSignatureRequest;
|
|
532
563
|
};
|
|
533
|
-
|
|
534
|
-
input: TxHashChainIdInput;
|
|
535
|
-
};
|
|
564
|
+
/** --- your entry point --- */
|
|
536
565
|
export type QuerySplitDataEncoderArgs = {
|
|
537
566
|
address: Scalars['String']['input'];
|
|
538
567
|
ratio: Scalars['Float']['input'];
|
|
539
568
|
};
|
|
569
|
+
/** --- your entry point --- */
|
|
540
570
|
export type QueryTokenInfoArgs = {
|
|
541
571
|
hashKey: Scalars['String']['input'];
|
|
542
572
|
};
|
|
543
|
-
|
|
544
|
-
address: Scalars['String']['input'];
|
|
545
|
-
};
|
|
573
|
+
/** --- your entry point --- */
|
|
546
574
|
export type QueryUnlocksV2Args = {
|
|
547
575
|
chainId: Scalars['Int']['input'];
|
|
548
576
|
};
|
|
549
|
-
|
|
550
|
-
chainId?: InputMaybe<Scalars['Int']['input']>;
|
|
551
|
-
fetchBalance?: InputMaybe<Scalars['Boolean']['input']>;
|
|
552
|
-
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
553
|
-
updateTotalSupply?: InputMaybe<Scalars['Boolean']['input']>;
|
|
554
|
-
};
|
|
577
|
+
/** --- your entry point --- */
|
|
555
578
|
export type QueryVaultsV2Args = {
|
|
556
579
|
chainId: Scalars['Int']['input'];
|
|
557
580
|
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -614,12 +637,21 @@ export type RpcWallet = {
|
|
|
614
637
|
Id: Scalars['Int']['output'];
|
|
615
638
|
Wallet: Scalars['String']['output'];
|
|
616
639
|
};
|
|
617
|
-
export type
|
|
618
|
-
__typename?: '
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
640
|
+
export type Statistics = {
|
|
641
|
+
__typename?: 'Statistics';
|
|
642
|
+
bytes_read: Scalars['Int']['output'];
|
|
643
|
+
elapsed: Scalars['Float']['output'];
|
|
644
|
+
rows_read: Scalars['Int']['output'];
|
|
645
|
+
};
|
|
646
|
+
export type TokenBalances = {
|
|
647
|
+
__typename?: 'TokenBalances';
|
|
648
|
+
data: Array<BalanceResult>;
|
|
649
|
+
duration_ms: Scalars['Int']['output'];
|
|
650
|
+
pagination: Pagination;
|
|
651
|
+
request_time: Scalars['AWSDateTime']['output'];
|
|
652
|
+
results: Scalars['Int']['output'];
|
|
653
|
+
statistics: Statistics;
|
|
654
|
+
total_results: Scalars['Int']['output'];
|
|
623
655
|
};
|
|
624
656
|
export type TokenInfo = {
|
|
625
657
|
__typename?: 'TokenInfo';
|
|
@@ -634,11 +666,6 @@ export type TxHashChainIdInput = {
|
|
|
634
666
|
ChainId: Scalars['Int']['input'];
|
|
635
667
|
TxHash: Scalars['String']['input'];
|
|
636
668
|
};
|
|
637
|
-
export type Unlocks = {
|
|
638
|
-
__typename?: 'Unlocks';
|
|
639
|
-
Timespan: Scalars['Int']['output'];
|
|
640
|
-
Total: Scalars['Float']['output'];
|
|
641
|
-
};
|
|
642
669
|
export type UnlocksV2 = {
|
|
643
670
|
__typename?: 'UnlocksV2';
|
|
644
671
|
CreatedAt: Scalars['Int']['output'];
|
|
@@ -653,28 +680,6 @@ export type UserData = {
|
|
|
653
680
|
EvmWallet: Array<Scalars['String']['output']>;
|
|
654
681
|
NonEvmWallet: Array<NonEvmWallet>;
|
|
655
682
|
};
|
|
656
|
-
export type Vaults = {
|
|
657
|
-
__typename?: 'Vaults';
|
|
658
|
-
ChainId: Scalars['Int']['output'];
|
|
659
|
-
Data: Array<VaultsData>;
|
|
660
|
-
};
|
|
661
|
-
export type VaultsData = {
|
|
662
|
-
__typename?: 'VaultsData';
|
|
663
|
-
Balance?: Maybe<VaultsDataBalance>;
|
|
664
|
-
TokenAddress: Scalars['String']['output'];
|
|
665
|
-
TokenDecimals: Scalars['Int']['output'];
|
|
666
|
-
TokenName: Scalars['String']['output'];
|
|
667
|
-
TokenSymbol: Scalars['String']['output'];
|
|
668
|
-
TotalSupply: Scalars['Float']['output'];
|
|
669
|
-
VaultAddress: Scalars['String']['output'];
|
|
670
|
-
VaultCreationTx: Scalars['String']['output'];
|
|
671
|
-
VaultId: Scalars['Int']['output'];
|
|
672
|
-
};
|
|
673
|
-
export type VaultsDataBalance = {
|
|
674
|
-
__typename?: 'VaultsDataBalance';
|
|
675
|
-
BalanceOfToken: Scalars['Float']['output'];
|
|
676
|
-
FetchTime: Scalars['Int']['output'];
|
|
677
|
-
};
|
|
678
683
|
export type VaultsV2 = {
|
|
679
684
|
__typename?: 'VaultsV2';
|
|
680
685
|
DepositStatus: Scalars['Boolean']['output'];
|
|
@@ -944,6 +949,30 @@ export type GenerateTokenFromSignatureMutation = {
|
|
|
944
949
|
validUntil: number;
|
|
945
950
|
};
|
|
946
951
|
};
|
|
952
|
+
export type GetTokenBalancesQueryVariables = Exact<{
|
|
953
|
+
userAddress: Scalars['String']['input'];
|
|
954
|
+
chainId: Scalars['Int']['input'];
|
|
955
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
956
|
+
}>;
|
|
957
|
+
export type GetTokenBalancesQuery = {
|
|
958
|
+
__typename?: 'Query';
|
|
959
|
+
getTokenBalances?: {
|
|
960
|
+
__typename?: 'TokenBalances';
|
|
961
|
+
pagination: {
|
|
962
|
+
__typename?: 'Pagination';
|
|
963
|
+
current_page: number;
|
|
964
|
+
next_page?: number | null;
|
|
965
|
+
total_pages: number;
|
|
966
|
+
};
|
|
967
|
+
data: Array<{
|
|
968
|
+
__typename?: 'BalanceResult';
|
|
969
|
+
contract: string;
|
|
970
|
+
value: number;
|
|
971
|
+
name: string;
|
|
972
|
+
symbol: string;
|
|
973
|
+
}>;
|
|
974
|
+
} | null;
|
|
975
|
+
};
|
|
947
976
|
export type GenerateMyInvestSignatureQueryVariables = Exact<{
|
|
948
977
|
projectId: Scalars['String']['input'];
|
|
949
978
|
weiAmount: Scalars['String']['input'];
|
|
@@ -1120,29 +1149,6 @@ export type MyInvestQuery = {
|
|
|
1120
1149
|
TokenSymbol: string;
|
|
1121
1150
|
}>;
|
|
1122
1151
|
};
|
|
1123
|
-
export type MyInvestedQueryVariables = Exact<{
|
|
1124
|
-
[key: string]: never;
|
|
1125
|
-
}>;
|
|
1126
|
-
export type MyInvestedQuery = {
|
|
1127
|
-
__typename?: 'Query';
|
|
1128
|
-
myInvestmentsErc20: Array<{
|
|
1129
|
-
__typename?: 'MyInvestmentsErc20';
|
|
1130
|
-
ChainId: number;
|
|
1131
|
-
TxHash: string;
|
|
1132
|
-
BlockSignedAt: number;
|
|
1133
|
-
Amount: number;
|
|
1134
|
-
Token: string;
|
|
1135
|
-
Id: number;
|
|
1136
|
-
}>;
|
|
1137
|
-
myInvestmentsETH: Array<{
|
|
1138
|
-
__typename?: 'MyInvestmentsETH';
|
|
1139
|
-
ChainId: number;
|
|
1140
|
-
TxHash: string;
|
|
1141
|
-
BlockSignedAt: number;
|
|
1142
|
-
Amount: number;
|
|
1143
|
-
Id: number;
|
|
1144
|
-
}>;
|
|
1145
|
-
};
|
|
1146
1152
|
export type KycQueryVariables = Exact<{
|
|
1147
1153
|
[key: string]: never;
|
|
1148
1154
|
}>;
|
|
@@ -1297,6 +1303,7 @@ export declare const RetrieveSignatureDocument: DocumentNode<RetrieveSignatureQu
|
|
|
1297
1303
|
export declare const GenerateSignatureDocument: DocumentNode<GenerateSignatureMutation, GenerateSignatureMutationVariables>;
|
|
1298
1304
|
export declare const MyQueryDocument: DocumentNode<MyQueryQuery, MyQueryQueryVariables>;
|
|
1299
1305
|
export declare const GenerateTokenFromSignatureDocument: DocumentNode<GenerateTokenFromSignatureMutation, GenerateTokenFromSignatureMutationVariables>;
|
|
1306
|
+
export declare const GetTokenBalancesDocument: DocumentNode<GetTokenBalancesQuery, GetTokenBalancesQueryVariables>;
|
|
1300
1307
|
export declare const GenerateMyInvestSignatureDocument: DocumentNode<GenerateMyInvestSignatureQuery, GenerateMyInvestSignatureQueryVariables>;
|
|
1301
1308
|
export declare const GetLeaderboardByAddressDocument: DocumentNode<GetLeaderboardByAddressQuery, GetLeaderboardByAddressQueryVariables>;
|
|
1302
1309
|
export declare const GetLeaderboardDocument: DocumentNode<GetLeaderboardQuery, GetLeaderboardQueryVariables>;
|
|
@@ -1311,7 +1318,6 @@ export declare const AddNonEvmWalletDocument: DocumentNode<AddNonEvmWalletMutati
|
|
|
1311
1318
|
export declare const DeleteNonEvmWalletDocument: DocumentNode<DeleteNonEvmWalletMutation, DeleteNonEvmWalletMutationVariables>;
|
|
1312
1319
|
export declare const UpdateNonEvmWalletDocument: DocumentNode<UpdateNonEvmWalletMutation, UpdateNonEvmWalletMutationVariables>;
|
|
1313
1320
|
export declare const MyInvestDocument: DocumentNode<MyInvestQuery, MyInvestQueryVariables>;
|
|
1314
|
-
export declare const MyInvestedDocument: DocumentNode<MyInvestedQuery, MyInvestedQueryVariables>;
|
|
1315
1321
|
export declare const KycDocument: DocumentNode<KycQuery, KycQueryVariables>;
|
|
1316
1322
|
export declare const MyRolesDocument: DocumentNode<MyRolesQuery, MyRolesQueryVariables>;
|
|
1317
1323
|
export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, PoolxPriceQueryVariables>;
|
package/package.json
CHANGED