@poolzfinance/api4 1.13.9 → 1.14.0
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/poolxTokenomicsV2.d.ts +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- 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 +10 -0
- package/dist/types/graphql/graphql.d.ts +98 -0
- package/package.json +1 -1
|
@@ -46,6 +46,8 @@ type Documents = {
|
|
|
46
46
|
"\n query MyRoles {\n myRoles\n }": typeof types.MyRolesDocument;
|
|
47
47
|
"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": typeof types.PoolxPriceDocument;
|
|
48
48
|
"\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n": typeof types.GetPoolxTokenomicsDocument;
|
|
49
|
+
"\n query PoolxTokenomicsV2_Simple {\n poolxTokenomicsV2 {\n CirculatingSupply\n Locked\n }\n }\n": typeof types.PoolxTokenomicsV2_SimpleDocument;
|
|
50
|
+
"\n query PoolxTokenomicsV2_Full {\n poolxTokenomicsV2 {\n CirculatingSupply\n Locked\n InternalSum\n ExternalSum\n External {\n Name\n Balance\n }\n Internal {\n Name\n Balance\n }\n }\n }\n": typeof types.PoolxTokenomicsV2_FullDocument;
|
|
49
51
|
"\n query ProjectIdToPoolzBackId($projectId: String!) {\n projectIdToPoolzBackId(projectId: $projectId)\n }\n": typeof types.ProjectIdToPoolzBackIdDocument;
|
|
50
52
|
"\n query MySignUpV3($projectIDs: [String!]!) {\n mySignUpV3(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n": typeof types.MySignUpV3Document;
|
|
51
53
|
"\n query AdminSignUpV3($projectId: String!, $minPoolxAmount: Int!) {\n adminSignUpV3(projectId: $projectId, minPoolxAmount: $minPoolxAmount) {\n Address\n Amount\n }\n }\n": typeof types.AdminSignUpV3Document;
|
|
@@ -203,6 +205,14 @@ export declare function gql(source: "\n query PoolxPrice {\n poolxPrice {\n
|
|
|
203
205
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
204
206
|
*/
|
|
205
207
|
export declare function gql(source: "\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n"): (typeof documents)["\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n"];
|
|
208
|
+
/**
|
|
209
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
210
|
+
*/
|
|
211
|
+
export declare function gql(source: "\n query PoolxTokenomicsV2_Simple {\n poolxTokenomicsV2 {\n CirculatingSupply\n Locked\n }\n }\n"): (typeof documents)["\n query PoolxTokenomicsV2_Simple {\n poolxTokenomicsV2 {\n CirculatingSupply\n Locked\n }\n }\n"];
|
|
212
|
+
/**
|
|
213
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
214
|
+
*/
|
|
215
|
+
export declare function gql(source: "\n query PoolxTokenomicsV2_Full {\n poolxTokenomicsV2 {\n CirculatingSupply\n Locked\n InternalSum\n ExternalSum\n External {\n Name\n Balance\n }\n Internal {\n Name\n Balance\n }\n }\n }\n"): (typeof documents)["\n query PoolxTokenomicsV2_Full {\n poolxTokenomicsV2 {\n CirculatingSupply\n Locked\n InternalSum\n ExternalSum\n External {\n Name\n Balance\n }\n Internal {\n Name\n Balance\n }\n }\n }\n"];
|
|
206
216
|
/**
|
|
207
217
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
208
218
|
*/
|
|
@@ -80,6 +80,11 @@ export type AdminSignUpV3 = {
|
|
|
80
80
|
Address: Scalars['String']['output'];
|
|
81
81
|
Amount: Scalars['Float']['output'];
|
|
82
82
|
};
|
|
83
|
+
export type AdminUsersTotalSpents = {
|
|
84
|
+
__typename?: 'AdminUsersTotalSpents';
|
|
85
|
+
User: Scalars['String']['output'];
|
|
86
|
+
WeiTotalSpent: Scalars['String']['output'];
|
|
87
|
+
};
|
|
83
88
|
export type AdminWriteAllocation = {
|
|
84
89
|
PhaseId: Scalars['String']['input'];
|
|
85
90
|
ProjectId: Scalars['String']['input'];
|
|
@@ -95,6 +100,14 @@ export type ApprovedContracts = {
|
|
|
95
100
|
ContractAddress: Scalars['String']['output'];
|
|
96
101
|
Status: Scalars['Boolean']['output'];
|
|
97
102
|
};
|
|
103
|
+
export type ApprovedContractsV2 = {
|
|
104
|
+
__typename?: 'ApprovedContractsV2';
|
|
105
|
+
BlockNumber: Scalars['Int']['output'];
|
|
106
|
+
BlockTimestamp: Scalars['Int']['output'];
|
|
107
|
+
ContractAddress: Scalars['String']['output'];
|
|
108
|
+
Status: Scalars['Boolean']['output'];
|
|
109
|
+
TransactionHash: Scalars['String']['output'];
|
|
110
|
+
};
|
|
98
111
|
export type BoostProxy = {
|
|
99
112
|
__typename?: 'BoostProxy';
|
|
100
113
|
Actions: Scalars['Int']['output'];
|
|
@@ -387,6 +400,20 @@ export type PoolxTokenomicsTrade = {
|
|
|
387
400
|
PancakeSwapV3_01: Scalars['Float']['output'];
|
|
388
401
|
Sum: Scalars['Float']['output'];
|
|
389
402
|
};
|
|
403
|
+
export type PoolxTokenomicsV2 = {
|
|
404
|
+
__typename?: 'PoolxTokenomicsV2';
|
|
405
|
+
CirculatingSupply: Scalars['Float']['output'];
|
|
406
|
+
External: Array<PoolxTokenomicsV2_Balance>;
|
|
407
|
+
ExternalSum: Scalars['Float']['output'];
|
|
408
|
+
Internal: Array<PoolxTokenomicsV2_Balance>;
|
|
409
|
+
InternalSum: Scalars['Float']['output'];
|
|
410
|
+
Locked: Scalars['Float']['output'];
|
|
411
|
+
};
|
|
412
|
+
export type PoolxTokenomicsV2_Balance = {
|
|
413
|
+
__typename?: 'PoolxTokenomicsV2_Balance';
|
|
414
|
+
Balance: Scalars['Float']['output'];
|
|
415
|
+
Name: Scalars['String']['output'];
|
|
416
|
+
};
|
|
390
417
|
export type ProjectSignUpV3 = {
|
|
391
418
|
__typename?: 'ProjectSignUpV3';
|
|
392
419
|
JoinedTime: Scalars['Int']['output'];
|
|
@@ -406,8 +433,10 @@ export type Query = {
|
|
|
406
433
|
adminReadAssets: ReadAssetsResponse;
|
|
407
434
|
adminRpcWallets: Array<RpcWallet>;
|
|
408
435
|
adminSignUpV3: Array<AdminSignUpV3>;
|
|
436
|
+
adminUsersTotalSpents: Array<AdminUsersTotalSpents>;
|
|
409
437
|
/** Will be updated in new endoint. */
|
|
410
438
|
approvedContracts: Array<ApprovedContracts>;
|
|
439
|
+
approvedContractsV2: Array<ApprovedContractsV2>;
|
|
411
440
|
boostProxy: Array<BoostProxy>;
|
|
412
441
|
/** Will be updated in new endoint. */
|
|
413
442
|
daoSenderHistory: DaoSenderHistoryPage;
|
|
@@ -427,7 +456,9 @@ export type Query = {
|
|
|
427
456
|
mySignUpV3: Array<MySignUpV3>;
|
|
428
457
|
myUpcomingAllocation: Array<MyUpcomingAllocation>;
|
|
429
458
|
poolxPrice: PoolxPrice;
|
|
459
|
+
/** @deprecated Use new `poolxTokenomicsV2` endpoint. */
|
|
430
460
|
poolxTokenomics: PoolxTokenomics;
|
|
461
|
+
poolxTokenomicsV2: PoolxTokenomicsV2;
|
|
431
462
|
projectIdToPoolzBackId: Scalars['Int']['output'];
|
|
432
463
|
retrieveSignature: RetrieveSignatureResponse;
|
|
433
464
|
/** @deprecated Will be removed */
|
|
@@ -437,8 +468,10 @@ export type Query = {
|
|
|
437
468
|
tokenInfo?: Maybe<TokenInfo>;
|
|
438
469
|
/** @deprecated Need to fix */
|
|
439
470
|
unlocks: Array<Unlocks>;
|
|
471
|
+
unlocksV2: Array<UnlocksV2>;
|
|
440
472
|
/** The 'fetchBalance' will be deprecated & Will be updated in new endoint. */
|
|
441
473
|
vaults: Array<Vaults>;
|
|
474
|
+
vaultsV2: Array<VaultsV2>;
|
|
442
475
|
};
|
|
443
476
|
export type QueryAdminGetAllocationArgs = {
|
|
444
477
|
projectId: Scalars['String']['input'];
|
|
@@ -463,6 +496,10 @@ export type QueryAdminSignUpV3Args = {
|
|
|
463
496
|
export type QueryApprovedContractsArgs = {
|
|
464
497
|
onlyApproved: Scalars['Boolean']['input'];
|
|
465
498
|
};
|
|
499
|
+
export type QueryApprovedContractsV2Args = {
|
|
500
|
+
chainId: Scalars['Int']['input'];
|
|
501
|
+
onlyApproved: Scalars['Boolean']['input'];
|
|
502
|
+
};
|
|
466
503
|
export type QueryBoostProxyArgs = {
|
|
467
504
|
campaignCodes: Array<Scalars['String']['input']>;
|
|
468
505
|
};
|
|
@@ -513,12 +550,18 @@ export type QueryTokenInfoArgs = {
|
|
|
513
550
|
export type QueryUnlocksArgs = {
|
|
514
551
|
address: Scalars['String']['input'];
|
|
515
552
|
};
|
|
553
|
+
export type QueryUnlocksV2Args = {
|
|
554
|
+
chainId: Scalars['Int']['input'];
|
|
555
|
+
};
|
|
516
556
|
export type QueryVaultsArgs = {
|
|
517
557
|
chainId?: InputMaybe<Scalars['Int']['input']>;
|
|
518
558
|
fetchBalance?: InputMaybe<Scalars['Boolean']['input']>;
|
|
519
559
|
tokenAddress?: InputMaybe<Scalars['String']['input']>;
|
|
520
560
|
updateTotalSupply?: InputMaybe<Scalars['Boolean']['input']>;
|
|
521
561
|
};
|
|
562
|
+
export type QueryVaultsV2Args = {
|
|
563
|
+
chainId: Scalars['Int']['input'];
|
|
564
|
+
};
|
|
522
565
|
export type ReadAssetResponse_Asset = {
|
|
523
566
|
__typename?: 'ReadAssetResponse_Asset';
|
|
524
567
|
ChainId: Scalars['Int']['output'];
|
|
@@ -602,6 +645,14 @@ export type Unlocks = {
|
|
|
602
645
|
Timespan: Scalars['Int']['output'];
|
|
603
646
|
Total: Scalars['Float']['output'];
|
|
604
647
|
};
|
|
648
|
+
export type UnlocksV2 = {
|
|
649
|
+
__typename?: 'UnlocksV2';
|
|
650
|
+
CreatedAt: Scalars['Int']['output'];
|
|
651
|
+
Owner: Scalars['String']['output'];
|
|
652
|
+
PoolId: Scalars['Int']['output'];
|
|
653
|
+
UnlocksAt: Scalars['Int']['output'];
|
|
654
|
+
WeiAmount: Scalars['String']['output'];
|
|
655
|
+
};
|
|
605
656
|
export type UserData = {
|
|
606
657
|
__typename?: 'UserData';
|
|
607
658
|
Agree: Scalars['Boolean']['output'];
|
|
@@ -630,6 +681,17 @@ export type VaultsDataBalance = {
|
|
|
630
681
|
BalanceOfToken: Scalars['Float']['output'];
|
|
631
682
|
FetchTime: Scalars['Int']['output'];
|
|
632
683
|
};
|
|
684
|
+
export type VaultsV2 = {
|
|
685
|
+
__typename?: 'VaultsV2';
|
|
686
|
+
DepositStatus: Scalars['Boolean']['output'];
|
|
687
|
+
RoyaltyFeeNumerator: Scalars['Int']['output'];
|
|
688
|
+
RoyaltyReceiver: Scalars['String']['output'];
|
|
689
|
+
Token: Scalars['String']['output'];
|
|
690
|
+
VaultAddress: Scalars['String']['output'];
|
|
691
|
+
VaultId: Scalars['Int']['output'];
|
|
692
|
+
WeiBalance: Scalars['String']['output'];
|
|
693
|
+
WithdrawStatus: Scalars['Boolean']['output'];
|
|
694
|
+
};
|
|
633
695
|
export type AdminCreatePoolzBackIdMutationVariables = Exact<{
|
|
634
696
|
projectId: Scalars['String']['input'];
|
|
635
697
|
poolzBackId: Scalars['Int']['input'];
|
|
@@ -1129,6 +1191,40 @@ export type GetPoolxTokenomicsQuery = {
|
|
|
1129
1191
|
};
|
|
1130
1192
|
};
|
|
1131
1193
|
};
|
|
1194
|
+
export type PoolxTokenomicsV2_SimpleQueryVariables = Exact<{
|
|
1195
|
+
[key: string]: never;
|
|
1196
|
+
}>;
|
|
1197
|
+
export type PoolxTokenomicsV2_SimpleQuery = {
|
|
1198
|
+
__typename?: 'Query';
|
|
1199
|
+
poolxTokenomicsV2: {
|
|
1200
|
+
__typename?: 'PoolxTokenomicsV2';
|
|
1201
|
+
CirculatingSupply: number;
|
|
1202
|
+
Locked: number;
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
export type PoolxTokenomicsV2_FullQueryVariables = Exact<{
|
|
1206
|
+
[key: string]: never;
|
|
1207
|
+
}>;
|
|
1208
|
+
export type PoolxTokenomicsV2_FullQuery = {
|
|
1209
|
+
__typename?: 'Query';
|
|
1210
|
+
poolxTokenomicsV2: {
|
|
1211
|
+
__typename?: 'PoolxTokenomicsV2';
|
|
1212
|
+
CirculatingSupply: number;
|
|
1213
|
+
Locked: number;
|
|
1214
|
+
InternalSum: number;
|
|
1215
|
+
ExternalSum: number;
|
|
1216
|
+
External: Array<{
|
|
1217
|
+
__typename?: 'PoolxTokenomicsV2_Balance';
|
|
1218
|
+
Name: string;
|
|
1219
|
+
Balance: number;
|
|
1220
|
+
}>;
|
|
1221
|
+
Internal: Array<{
|
|
1222
|
+
__typename?: 'PoolxTokenomicsV2_Balance';
|
|
1223
|
+
Name: string;
|
|
1224
|
+
Balance: number;
|
|
1225
|
+
}>;
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1132
1228
|
export type ProjectIdToPoolzBackIdQueryVariables = Exact<{
|
|
1133
1229
|
projectId: Scalars['String']['input'];
|
|
1134
1230
|
}>;
|
|
@@ -1247,6 +1343,8 @@ export declare const KycDocument: DocumentNode<KycQuery, KycQueryVariables>;
|
|
|
1247
1343
|
export declare const MyRolesDocument: DocumentNode<MyRolesQuery, MyRolesQueryVariables>;
|
|
1248
1344
|
export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, PoolxPriceQueryVariables>;
|
|
1249
1345
|
export declare const GetPoolxTokenomicsDocument: DocumentNode<GetPoolxTokenomicsQuery, GetPoolxTokenomicsQueryVariables>;
|
|
1346
|
+
export declare const PoolxTokenomicsV2_SimpleDocument: DocumentNode<PoolxTokenomicsV2_SimpleQuery, PoolxTokenomicsV2_SimpleQueryVariables>;
|
|
1347
|
+
export declare const PoolxTokenomicsV2_FullDocument: DocumentNode<PoolxTokenomicsV2_FullQuery, PoolxTokenomicsV2_FullQueryVariables>;
|
|
1250
1348
|
export declare const ProjectIdToPoolzBackIdDocument: DocumentNode<ProjectIdToPoolzBackIdQuery, ProjectIdToPoolzBackIdQueryVariables>;
|
|
1251
1349
|
export declare const MySignUpV3Document: DocumentNode<MySignUpV3Query, MySignUpV3QueryVariables>;
|
|
1252
1350
|
export declare const AdminSignUpV3Document: DocumentNode<AdminSignUpV3Query, AdminSignUpV3QueryVariables>;
|