@poolzfinance/api4 1.10.0 → 1.11.1
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/autoSignUp.d.ts +28 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -4
- package/dist/index.modern.js +1 -1
- 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 +27 -16
- package/dist/types/graphql/graphql.d.ts +109 -68
- package/package.json +3 -2
- package/dist/endpoints/getCirculatingSupply.d.ts +0 -5
- package/dist/endpoints/getTotalPoolz.d.ts +0 -5
- package/dist/endpoints/getTotalSupply.d.ts +0 -5
|
@@ -11,15 +11,28 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
|
|
|
11
11
|
* Therefore it is highly recommended to use the babel or swc plugin for production.
|
|
12
12
|
*/
|
|
13
13
|
declare const documents: {
|
|
14
|
+
"\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }": DocumentNode<types.AdminAutoSignUpQuery, types.Exact<{
|
|
15
|
+
note?: types.InputMaybe<string> | undefined;
|
|
16
|
+
}>>;
|
|
17
|
+
"\n mutation addAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n addAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }": DocumentNode<types.AddAutoSignUpMutation, types.Exact<{
|
|
18
|
+
address: string;
|
|
19
|
+
poolzAmount: number;
|
|
20
|
+
note: string;
|
|
21
|
+
}>>;
|
|
22
|
+
"\n mutation updateAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n updateAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }": DocumentNode<types.UpdateAutoSignUpMutation, types.Exact<{
|
|
23
|
+
address: string;
|
|
24
|
+
poolzAmount: number;
|
|
25
|
+
note: string;
|
|
26
|
+
}>>;
|
|
27
|
+
"\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }": DocumentNode<types.DeleteAutoSignUpMutation, types.Exact<{
|
|
28
|
+
address: string;
|
|
29
|
+
}>>;
|
|
14
30
|
"\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}": DocumentNode<types.BoostProxyDataQuery, types.Exact<{
|
|
15
31
|
campaignCodes: string | string[];
|
|
16
32
|
}>>;
|
|
17
33
|
"\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}": DocumentNode<types.BoostProxyUsersQuery, types.Exact<{
|
|
18
34
|
campaignCodes: string | string[];
|
|
19
35
|
}>>;
|
|
20
|
-
"\n query getCirculatingSupply {\n circulatingSupply\n}": DocumentNode<types.GetCirculatingSupplyQuery, types.Exact<{
|
|
21
|
-
[key: string]: never;
|
|
22
|
-
}>>;
|
|
23
36
|
"\n query MyQuery {\n time\n}": DocumentNode<types.MyQueryQuery, types.Exact<{
|
|
24
37
|
[key: string]: never;
|
|
25
38
|
}>>;
|
|
@@ -27,12 +40,6 @@ declare const documents: {
|
|
|
27
40
|
eip4361message: string;
|
|
28
41
|
signature: string;
|
|
29
42
|
}>>;
|
|
30
|
-
"\n query getTotalPoolz {\n totalPoolzLocked {\n Locked\n Data {\n LockedDealV2\n DelayVault\n Reserved\n }\n }\n}": DocumentNode<types.GetTotalPoolzQuery, types.Exact<{
|
|
31
|
-
[key: string]: never;
|
|
32
|
-
}>>;
|
|
33
|
-
"\n query getTotalSupply {\n totalSupply\n}": DocumentNode<types.GetTotalSupplyQuery, types.Exact<{
|
|
34
|
-
[key: string]: never;
|
|
35
|
-
}>>;
|
|
36
43
|
"\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}": DocumentNode<types.GetLeaderboardByAddressQuery, types.Exact<{
|
|
37
44
|
address?: types.InputMaybe<string> | undefined;
|
|
38
45
|
}>>;
|
|
@@ -97,31 +104,35 @@ export declare function gql(source: string): unknown;
|
|
|
97
104
|
/**
|
|
98
105
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
99
106
|
*/
|
|
100
|
-
export declare function gql(source: "\n query
|
|
107
|
+
export declare function gql(source: "\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"];
|
|
101
108
|
/**
|
|
102
109
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
103
110
|
*/
|
|
104
|
-
export declare function gql(source: "\n
|
|
111
|
+
export declare function gql(source: "\n mutation addAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n addAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n mutation addAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n addAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"];
|
|
105
112
|
/**
|
|
106
113
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
107
114
|
*/
|
|
108
|
-
export declare function gql(source: "\n
|
|
115
|
+
export declare function gql(source: "\n mutation updateAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n updateAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n mutation updateAutoSignUp($address: String!, $poolzAmount: Float!, $note: String!) {\n updateAutoSignUp(address: $address, poolzAmount: $poolzAmount, note: $note) {\n Address\n PoolzAmount\n Note\n }\n }"];
|
|
109
116
|
/**
|
|
110
117
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
111
118
|
*/
|
|
112
|
-
export declare function gql(source: "\n
|
|
119
|
+
export declare function gql(source: "\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }"): (typeof documents)["\n mutation deleteAutoSignUp($address: String!) {\n deleteAutoSignUp(address: $address) {\n Address\n PoolzAmount\n Note\n }\n }"];
|
|
113
120
|
/**
|
|
114
121
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
115
122
|
*/
|
|
116
|
-
export declare function gql(source: "\
|
|
123
|
+
export declare function gql(source: "\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}"): (typeof documents)["\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}"];
|
|
124
|
+
/**
|
|
125
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
126
|
+
*/
|
|
127
|
+
export declare function gql(source: "\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\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 TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}"];
|
|
117
128
|
/**
|
|
118
129
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
119
130
|
*/
|
|
120
|
-
export declare function gql(source: "\n query
|
|
131
|
+
export declare function gql(source: "\n query MyQuery {\n time\n}"): (typeof documents)["\n query MyQuery {\n time\n}"];
|
|
121
132
|
/**
|
|
122
133
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
123
134
|
*/
|
|
124
|
-
export declare function gql(source: "\n
|
|
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}"];
|
|
125
136
|
/**
|
|
126
137
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
127
138
|
*/
|
|
@@ -87,7 +87,7 @@ export type AdminAutoSignUp = {
|
|
|
87
87
|
__typename?: 'AdminAutoSignUp';
|
|
88
88
|
Address: Scalars['String']['output'];
|
|
89
89
|
Note: Scalars['String']['output'];
|
|
90
|
-
PoolzAmount: Scalars['
|
|
90
|
+
PoolzAmount: Scalars['Float']['output'];
|
|
91
91
|
};
|
|
92
92
|
export type AdminKycProxy = {
|
|
93
93
|
__typename?: 'AdminKycProxy';
|
|
@@ -111,6 +111,11 @@ export type AdminUsers = {
|
|
|
111
111
|
RoleId: Scalars['Int']['output'];
|
|
112
112
|
Wallet: Scalars['String']['output'];
|
|
113
113
|
};
|
|
114
|
+
export type ApprovedContracts = {
|
|
115
|
+
__typename?: 'ApprovedContracts';
|
|
116
|
+
ContractAddress: Scalars['String']['output'];
|
|
117
|
+
Status: Scalars['Boolean']['output'];
|
|
118
|
+
};
|
|
114
119
|
export type BoostProxy = {
|
|
115
120
|
__typename?: 'BoostProxy';
|
|
116
121
|
CampaignCode: Scalars['String']['output'];
|
|
@@ -209,7 +214,7 @@ export type Mutation = {
|
|
|
209
214
|
export type MutationAddAutoSignUpArgs = {
|
|
210
215
|
address: Scalars['String']['input'];
|
|
211
216
|
note: Scalars['String']['input'];
|
|
212
|
-
poolzAmount: Scalars['
|
|
217
|
+
poolzAmount: Scalars['Float']['input'];
|
|
213
218
|
};
|
|
214
219
|
export type MutationAddEvmWalletArgs = {
|
|
215
220
|
wallet: Scalars['String']['input'];
|
|
@@ -255,6 +260,8 @@ export type MutationSendToMonitorArgs = {
|
|
|
255
260
|
};
|
|
256
261
|
export type MutationUpdateAutoSignUpArgs = {
|
|
257
262
|
address: Scalars['String']['input'];
|
|
263
|
+
note: Scalars['String']['input'];
|
|
264
|
+
poolzAmount: Scalars['Float']['input'];
|
|
258
265
|
};
|
|
259
266
|
export type MutationUpdateEvmWalletArgs = {
|
|
260
267
|
newWallet: Scalars['String']['input'];
|
|
@@ -330,9 +337,8 @@ export type Query = {
|
|
|
330
337
|
adminNonEvmWallet: Array<AdminNonEvmWallet>;
|
|
331
338
|
adminRpcWallets: Array<RpcWallet>;
|
|
332
339
|
adminUsers: Array<AdminUsers>;
|
|
340
|
+
approvedContracts: Array<ApprovedContracts>;
|
|
333
341
|
boostProxy: Array<BoostProxy>;
|
|
334
|
-
/** @deprecated Use a new query 'poolxTokenomics'. */
|
|
335
|
-
circulatingSupply: Scalars['Float']['output'];
|
|
336
342
|
investedErc20: Array<InvestedErc20>;
|
|
337
343
|
kolInvestedErc20: Array<KolInvestedErc20>;
|
|
338
344
|
leaderBoard: Array<LeaderBoard>;
|
|
@@ -350,15 +356,12 @@ export type Query = {
|
|
|
350
356
|
signUpsTimes: Array<SignUpsTimes>;
|
|
351
357
|
status: Array<Status>;
|
|
352
358
|
time: Scalars['Int']['output'];
|
|
353
|
-
tokenNetAmounts: Array<TokenNetAmounts>;
|
|
354
359
|
tokenRefunds: Array<TokenRefunds>;
|
|
355
|
-
/** @deprecated Use a new query 'poolxTokenomics'. */
|
|
356
|
-
totalPoolzLocked: TotalPoolzLocked;
|
|
357
|
-
/** @deprecated Use a new query 'poolxTokenomics'. */
|
|
358
|
-
totalSupply: Scalars['Int']['output'];
|
|
359
360
|
uniqueUsers: UniqueUsers;
|
|
360
361
|
unlocks: Array<Unlocks>;
|
|
362
|
+
/** @deprecated This endpoint is deprecated. */
|
|
361
363
|
vaultOut: Array<VaultOut>;
|
|
364
|
+
vaults: Array<Vaults>;
|
|
362
365
|
};
|
|
363
366
|
export type QueryAdminAutoSignUpArgs = {
|
|
364
367
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -375,6 +378,9 @@ export type QueryAdminRpcWalletsArgs = {
|
|
|
375
378
|
export type QueryAdminUsersArgs = {
|
|
376
379
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
377
380
|
};
|
|
381
|
+
export type QueryApprovedContractsArgs = {
|
|
382
|
+
onlyApproved: Scalars['Boolean']['input'];
|
|
383
|
+
};
|
|
378
384
|
export type QueryBoostProxyArgs = {
|
|
379
385
|
campaignCodes: Array<Scalars['String']['input']>;
|
|
380
386
|
};
|
|
@@ -409,10 +415,6 @@ export type QuerySignUpAllocationArgs = {
|
|
|
409
415
|
export type QuerySignUpListArgs = {
|
|
410
416
|
id: Scalars['Int']['input'];
|
|
411
417
|
};
|
|
412
|
-
export type QueryTokenNetAmountsArgs = {
|
|
413
|
-
contractAddress: Scalars['String']['input'];
|
|
414
|
-
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
415
|
-
};
|
|
416
418
|
export type QueryTokenRefundsArgs = {
|
|
417
419
|
chainId: Scalars['Int']['input'];
|
|
418
420
|
decimals?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -428,6 +430,11 @@ export type QueryVaultOutArgs = {
|
|
|
428
430
|
fromBlock?: InputMaybe<Scalars['Int']['input']>;
|
|
429
431
|
toBlock?: InputMaybe<Scalars['Int']['input']>;
|
|
430
432
|
};
|
|
433
|
+
export type QueryVaultsArgs = {
|
|
434
|
+
chainId?: InputMaybe<Scalars['Int']['input']>;
|
|
435
|
+
fetchBalance?: InputMaybe<Scalars['Boolean']['input']>;
|
|
436
|
+
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
437
|
+
};
|
|
431
438
|
export type RpcWallet = {
|
|
432
439
|
__typename?: 'RpcWallet';
|
|
433
440
|
Id: Scalars['Int']['output'];
|
|
@@ -474,11 +481,6 @@ export type StatusEvents = {
|
|
|
474
481
|
ResponseType: Scalars['String']['output'];
|
|
475
482
|
StartingBlock: Scalars['Int']['output'];
|
|
476
483
|
};
|
|
477
|
-
export type TokenNetAmounts = {
|
|
478
|
-
__typename?: 'TokenNetAmounts';
|
|
479
|
-
Address: Scalars['String']['output'];
|
|
480
|
-
NetAmount: Scalars['Float']['output'];
|
|
481
|
-
};
|
|
482
484
|
export type TokenRefunds = {
|
|
483
485
|
__typename?: 'TokenRefunds';
|
|
484
486
|
BlockHeight: Scalars['Int']['output'];
|
|
@@ -492,17 +494,6 @@ export type TokenRefunds = {
|
|
|
492
494
|
OriginalLeftAmount: Scalars['Float']['output'];
|
|
493
495
|
TxHash: Scalars['String']['output'];
|
|
494
496
|
};
|
|
495
|
-
export type TotalPoolzLocked = {
|
|
496
|
-
__typename?: 'TotalPoolzLocked';
|
|
497
|
-
Data: TotalPoolzLockedData;
|
|
498
|
-
Locked: Scalars['Float']['output'];
|
|
499
|
-
};
|
|
500
|
-
export type TotalPoolzLockedData = {
|
|
501
|
-
__typename?: 'TotalPoolzLockedData';
|
|
502
|
-
DelayVault: Scalars['Float']['output'];
|
|
503
|
-
LockedDealV2: Scalars['Float']['output'];
|
|
504
|
-
Reserved: Scalars['Float']['output'];
|
|
505
|
-
};
|
|
506
497
|
export type UniqueUsers = {
|
|
507
498
|
__typename?: 'UniqueUsers';
|
|
508
499
|
LDv2NewPoolCreated: Scalars['Int']['output'];
|
|
@@ -535,6 +526,79 @@ export type VaultOut = {
|
|
|
535
526
|
LockUntil: Scalars['String']['output'];
|
|
536
527
|
Owner: Scalars['String']['output'];
|
|
537
528
|
};
|
|
529
|
+
export type Vaults = {
|
|
530
|
+
__typename?: 'Vaults';
|
|
531
|
+
ChainId: Scalars['Int']['output'];
|
|
532
|
+
Data: Array<VaultsData>;
|
|
533
|
+
};
|
|
534
|
+
export type VaultsData = {
|
|
535
|
+
__typename?: 'VaultsData';
|
|
536
|
+
Balance?: Maybe<VaultsDataBalance>;
|
|
537
|
+
TokenAddress: Scalars['String']['output'];
|
|
538
|
+
TokenDecimals: Scalars['Int']['output'];
|
|
539
|
+
TokenName: Scalars['String']['output'];
|
|
540
|
+
TokenSymbol: Scalars['String']['output'];
|
|
541
|
+
VaultAddress: Scalars['String']['output'];
|
|
542
|
+
VaultCreationTx: Scalars['String']['output'];
|
|
543
|
+
VaultId: Scalars['Int']['output'];
|
|
544
|
+
};
|
|
545
|
+
export type VaultsDataBalance = {
|
|
546
|
+
__typename?: 'VaultsDataBalance';
|
|
547
|
+
BalanceOfToken: Scalars['Float']['output'];
|
|
548
|
+
FetchTime: Scalars['Int']['output'];
|
|
549
|
+
};
|
|
550
|
+
export type AdminAutoSignUpQueryVariables = Exact<{
|
|
551
|
+
note?: InputMaybe<Scalars['String']['input']>;
|
|
552
|
+
}>;
|
|
553
|
+
export type AdminAutoSignUpQuery = {
|
|
554
|
+
__typename?: 'Query';
|
|
555
|
+
adminAutoSignUp: Array<{
|
|
556
|
+
__typename?: 'AdminAutoSignUp';
|
|
557
|
+
Address: string;
|
|
558
|
+
PoolzAmount: number;
|
|
559
|
+
Note: string;
|
|
560
|
+
}>;
|
|
561
|
+
};
|
|
562
|
+
export type AddAutoSignUpMutationVariables = Exact<{
|
|
563
|
+
address: Scalars['String']['input'];
|
|
564
|
+
poolzAmount: Scalars['Float']['input'];
|
|
565
|
+
note: Scalars['String']['input'];
|
|
566
|
+
}>;
|
|
567
|
+
export type AddAutoSignUpMutation = {
|
|
568
|
+
__typename?: 'Mutation';
|
|
569
|
+
addAutoSignUp: {
|
|
570
|
+
__typename?: 'AdminAutoSignUp';
|
|
571
|
+
Address: string;
|
|
572
|
+
PoolzAmount: number;
|
|
573
|
+
Note: string;
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
export type UpdateAutoSignUpMutationVariables = Exact<{
|
|
577
|
+
address: Scalars['String']['input'];
|
|
578
|
+
poolzAmount: Scalars['Float']['input'];
|
|
579
|
+
note: Scalars['String']['input'];
|
|
580
|
+
}>;
|
|
581
|
+
export type UpdateAutoSignUpMutation = {
|
|
582
|
+
__typename?: 'Mutation';
|
|
583
|
+
updateAutoSignUp: {
|
|
584
|
+
__typename?: 'AdminAutoSignUp';
|
|
585
|
+
Address: string;
|
|
586
|
+
PoolzAmount: number;
|
|
587
|
+
Note: string;
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
export type DeleteAutoSignUpMutationVariables = Exact<{
|
|
591
|
+
address: Scalars['String']['input'];
|
|
592
|
+
}>;
|
|
593
|
+
export type DeleteAutoSignUpMutation = {
|
|
594
|
+
__typename?: 'Mutation';
|
|
595
|
+
deleteAutoSignUp: {
|
|
596
|
+
__typename?: 'AdminAutoSignUp';
|
|
597
|
+
Address: string;
|
|
598
|
+
PoolzAmount: number;
|
|
599
|
+
Note: string;
|
|
600
|
+
};
|
|
601
|
+
};
|
|
538
602
|
export type BoostProxyDataQueryVariables = Exact<{
|
|
539
603
|
campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
540
604
|
}>;
|
|
@@ -568,13 +632,6 @@ export type BoostProxyUsersQuery = {
|
|
|
568
632
|
}>;
|
|
569
633
|
}>;
|
|
570
634
|
};
|
|
571
|
-
export type GetCirculatingSupplyQueryVariables = Exact<{
|
|
572
|
-
[key: string]: never;
|
|
573
|
-
}>;
|
|
574
|
-
export type GetCirculatingSupplyQuery = {
|
|
575
|
-
__typename?: 'Query';
|
|
576
|
-
circulatingSupply: number;
|
|
577
|
-
};
|
|
578
635
|
export type MyQueryQueryVariables = Exact<{
|
|
579
636
|
[key: string]: never;
|
|
580
637
|
}>;
|
|
@@ -594,29 +651,6 @@ export type GenerateTokenFromSignatureMutation = {
|
|
|
594
651
|
validUntil: number;
|
|
595
652
|
};
|
|
596
653
|
};
|
|
597
|
-
export type GetTotalPoolzQueryVariables = Exact<{
|
|
598
|
-
[key: string]: never;
|
|
599
|
-
}>;
|
|
600
|
-
export type GetTotalPoolzQuery = {
|
|
601
|
-
__typename?: 'Query';
|
|
602
|
-
totalPoolzLocked: {
|
|
603
|
-
__typename?: 'TotalPoolzLocked';
|
|
604
|
-
Locked: number;
|
|
605
|
-
Data: {
|
|
606
|
-
__typename?: 'TotalPoolzLockedData';
|
|
607
|
-
LockedDealV2: number;
|
|
608
|
-
DelayVault: number;
|
|
609
|
-
Reserved: number;
|
|
610
|
-
};
|
|
611
|
-
};
|
|
612
|
-
};
|
|
613
|
-
export type GetTotalSupplyQueryVariables = Exact<{
|
|
614
|
-
[key: string]: never;
|
|
615
|
-
}>;
|
|
616
|
-
export type GetTotalSupplyQuery = {
|
|
617
|
-
__typename?: 'Query';
|
|
618
|
-
totalSupply: number;
|
|
619
|
-
};
|
|
620
654
|
export type GetLeaderboardByAddressQueryVariables = Exact<{
|
|
621
655
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
622
656
|
}>;
|
|
@@ -808,15 +842,28 @@ export type MySignupQuery = {
|
|
|
808
842
|
SignupId: number;
|
|
809
843
|
}>;
|
|
810
844
|
};
|
|
845
|
+
export declare const AdminAutoSignUpDocument: DocumentNode<AdminAutoSignUpQuery, Exact<{
|
|
846
|
+
note?: InputMaybe<string> | undefined;
|
|
847
|
+
}>>;
|
|
848
|
+
export declare const AddAutoSignUpDocument: DocumentNode<AddAutoSignUpMutation, Exact<{
|
|
849
|
+
address: Scalars['String']['input'];
|
|
850
|
+
poolzAmount: Scalars['Float']['input'];
|
|
851
|
+
note: Scalars['String']['input'];
|
|
852
|
+
}>>;
|
|
853
|
+
export declare const UpdateAutoSignUpDocument: DocumentNode<UpdateAutoSignUpMutation, Exact<{
|
|
854
|
+
address: Scalars['String']['input'];
|
|
855
|
+
poolzAmount: Scalars['Float']['input'];
|
|
856
|
+
note: Scalars['String']['input'];
|
|
857
|
+
}>>;
|
|
858
|
+
export declare const DeleteAutoSignUpDocument: DocumentNode<DeleteAutoSignUpMutation, Exact<{
|
|
859
|
+
address: Scalars['String']['input'];
|
|
860
|
+
}>>;
|
|
811
861
|
export declare const BoostProxyDataDocument: DocumentNode<BoostProxyDataQuery, Exact<{
|
|
812
862
|
campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
813
863
|
}>>;
|
|
814
864
|
export declare const BoostProxyUsersDocument: DocumentNode<BoostProxyUsersQuery, Exact<{
|
|
815
865
|
campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
816
866
|
}>>;
|
|
817
|
-
export declare const GetCirculatingSupplyDocument: DocumentNode<GetCirculatingSupplyQuery, Exact<{
|
|
818
|
-
[key: string]: never;
|
|
819
|
-
}>>;
|
|
820
867
|
export declare const MyQueryDocument: DocumentNode<MyQueryQuery, Exact<{
|
|
821
868
|
[key: string]: never;
|
|
822
869
|
}>>;
|
|
@@ -824,12 +871,6 @@ export declare const GenerateTokenFromSignatureDocument: DocumentNode<GenerateTo
|
|
|
824
871
|
eip4361message: Scalars['String']['input'];
|
|
825
872
|
signature: Scalars['String']['input'];
|
|
826
873
|
}>>;
|
|
827
|
-
export declare const GetTotalPoolzDocument: DocumentNode<GetTotalPoolzQuery, Exact<{
|
|
828
|
-
[key: string]: never;
|
|
829
|
-
}>>;
|
|
830
|
-
export declare const GetTotalSupplyDocument: DocumentNode<GetTotalSupplyQuery, Exact<{
|
|
831
|
-
[key: string]: never;
|
|
832
|
-
}>>;
|
|
833
874
|
export declare const GetLeaderboardByAddressDocument: DocumentNode<GetLeaderboardByAddressQuery, Exact<{
|
|
834
875
|
address?: InputMaybe<string> | undefined;
|
|
835
876
|
}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poolzfinance/api4",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"description": "Bridge between front and back",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"@types/react": "^18.2.14",
|
|
42
42
|
"jest": "^29.5.0",
|
|
43
43
|
"microbundle": "^0.15.1",
|
|
44
|
+
"rimraf": "^5.0.5",
|
|
44
45
|
"ts-jest": "^29.1.0",
|
|
45
46
|
"ts-node": "^10.9.1",
|
|
46
47
|
"typescript": "^5.1.3"
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
"prebuild": "pnpm clean",
|
|
55
56
|
"build": "pnpm prebuild && microbundle --jsx React.createElement",
|
|
56
57
|
"clean": "rm -rf dist",
|
|
57
|
-
"compile": "
|
|
58
|
+
"compile": "rimraf src/types/graphql && graphql-codegen",
|
|
58
59
|
"test": "jest"
|
|
59
60
|
}
|
|
60
61
|
}
|