@poolzfinance/api4 1.11.54 → 1.11.57
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/dispenser.d.ts +2 -4
- 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 +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 +4 -17
- package/dist/types/graphql/graphql.d.ts +68 -59
- package/package.json +1 -1
|
@@ -54,8 +54,9 @@ declare const documents: {
|
|
|
54
54
|
"\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}": DocumentNode<types.AdminCreateAssetMutation, types.Exact<{
|
|
55
55
|
Request: types.CreateAssetRequest;
|
|
56
56
|
}>>;
|
|
57
|
-
"\n query MyAssets {\n myAssets {\n UserAddress\n
|
|
58
|
-
|
|
57
|
+
"\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n Count\n Assets {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n }\n}": DocumentNode<types.MyAssetsQuery, types.Exact<{
|
|
58
|
+
limit: number;
|
|
59
|
+
page: number;
|
|
59
60
|
}>>;
|
|
60
61
|
"\n query RetrieveSignature($request: RetrieveSignatureRequest!) {\n retrieveSignature(request: $request) {\n ValidUntil\n Receiver\n ChainId\n PoolId\n Signature\n IsRefund\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n}": DocumentNode<types.RetrieveSignatureQuery, types.Exact<{
|
|
61
62
|
request: types.RetrieveSignatureRequest;
|
|
@@ -164,12 +165,6 @@ declare const documents: {
|
|
|
164
165
|
owner: string;
|
|
165
166
|
note: string;
|
|
166
167
|
}>>;
|
|
167
|
-
"\n query Signup($signUpId: Int!) {\n signUp(id: $signUpId) {\n Address\n Amount\n }\n}": DocumentNode<types.SignupQuery, types.Exact<{
|
|
168
|
-
signUpId: number;
|
|
169
|
-
}>>;
|
|
170
|
-
"\n query MySignup {\n mySignup {\n SignupId\n }\n}": DocumentNode<types.MySignupQuery, types.Exact<{
|
|
171
|
-
[key: string]: never;
|
|
172
|
-
}>>;
|
|
173
168
|
"\n query MySignUpV2($projectIDs: [Int!]!) {\n mySignUpV2(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n": DocumentNode<types.MySignUpV2Query, types.Exact<{
|
|
174
169
|
projectIDs: number | number[];
|
|
175
170
|
}>>;
|
|
@@ -263,7 +258,7 @@ export declare function gql(source: "\n mutation AdminCreateAsset($Request: Cre
|
|
|
263
258
|
/**
|
|
264
259
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
265
260
|
*/
|
|
266
|
-
export declare function gql(source: "\n query MyAssets {\n myAssets {\n UserAddress\n
|
|
261
|
+
export declare function gql(source: "\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n Count\n Assets {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n }\n}"): (typeof documents)["\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n Count\n Assets {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n }\n}"];
|
|
267
262
|
/**
|
|
268
263
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
269
264
|
*/
|
|
@@ -384,14 +379,6 @@ export declare function gql(source: "\n mutation UpdateSeasonPass($Owner: Strin
|
|
|
384
379
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
385
380
|
*/
|
|
386
381
|
export declare function gql(source: "\n mutation DeleteSeasonPass($owner: String!, $note: String!) {\n deleteSeasonPass(owner: $owner, note: $note) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n mutation DeleteSeasonPass($owner: String!, $note: String!) {\n deleteSeasonPass(owner: $owner, note: $note) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
|
|
387
|
-
/**
|
|
388
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
389
|
-
*/
|
|
390
|
-
export declare function gql(source: "\n query Signup($signUpId: Int!) {\n signUp(id: $signUpId) {\n Address\n Amount\n }\n}"): (typeof documents)["\n query Signup($signUpId: Int!) {\n signUp(id: $signUpId) {\n Address\n Amount\n }\n}"];
|
|
391
|
-
/**
|
|
392
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
393
|
-
*/
|
|
394
|
-
export declare function gql(source: "\n query MySignup {\n mySignup {\n SignupId\n }\n}"): (typeof documents)["\n query MySignup {\n mySignup {\n SignupId\n }\n}"];
|
|
395
382
|
/**
|
|
396
383
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
397
384
|
*/
|
|
@@ -106,6 +106,11 @@ export type AdminKycProxy = {
|
|
|
106
106
|
SubmitCount?: Maybe<Scalars['Int']['output']>;
|
|
107
107
|
WaitingDate?: Maybe<Scalars['String']['output']>;
|
|
108
108
|
};
|
|
109
|
+
export type AdminListAssetsResponse = {
|
|
110
|
+
__typename?: 'AdminListAssetsResponse';
|
|
111
|
+
PoolId: Scalars['Int']['output'];
|
|
112
|
+
WeiStartAmount: Scalars['String']['output'];
|
|
113
|
+
};
|
|
109
114
|
export type AdminListOfCollateral = {
|
|
110
115
|
__typename?: 'AdminListOfCollateral';
|
|
111
116
|
FinishTime: Scalars['Int']['output'];
|
|
@@ -449,6 +454,11 @@ export type MyAssets = {
|
|
|
449
454
|
UserAddress: Scalars['String']['output'];
|
|
450
455
|
WithdrawalDetail: MyAssets_TransactionDetail;
|
|
451
456
|
};
|
|
457
|
+
export type MyAssetsResponse = {
|
|
458
|
+
__typename?: 'MyAssetsResponse';
|
|
459
|
+
Assets: Array<MyAssets>;
|
|
460
|
+
Count: Scalars['Int']['output'];
|
|
461
|
+
};
|
|
452
462
|
export type MyAssets_Builder = {
|
|
453
463
|
__typename?: 'MyAssets_Builder';
|
|
454
464
|
FinishTime?: Maybe<Scalars['Int']['output']>;
|
|
@@ -601,6 +611,7 @@ export type Query = {
|
|
|
601
611
|
adminAutoSignUp: Array<AdminAutoSignUp>;
|
|
602
612
|
adminGetActions: Array<GetAction>;
|
|
603
613
|
adminKycProxy: Array<AdminKycProxy>;
|
|
614
|
+
adminListAssets: Array<AdminListAssetsResponse>;
|
|
604
615
|
adminListOfCollateral: Array<AdminListOfCollateral>;
|
|
605
616
|
adminNonEvmInvested: Array<AdminNonEvmInvested>;
|
|
606
617
|
/** @deprecated Use a new query 'adminNonEvmInvested'. */
|
|
@@ -615,8 +626,9 @@ export type Query = {
|
|
|
615
626
|
investedErc20: Array<InvestedErc20>;
|
|
616
627
|
kolInvestedErc20: Array<KolInvestedErc20>;
|
|
617
628
|
leaderBoard: Array<LeaderBoard>;
|
|
618
|
-
myAssets:
|
|
629
|
+
myAssets: MyAssetsResponse;
|
|
619
630
|
myData?: Maybe<MyData>;
|
|
631
|
+
/** @deprecated Right now isn't work. Will be deleted with new Invested contract/system. */
|
|
620
632
|
myInvestSum: MyInvestSum;
|
|
621
633
|
myInvestmentsETH: Array<MyInvestmentsEth>;
|
|
622
634
|
myInvestmentsErc20: Array<MyInvestmentsErc20>;
|
|
@@ -624,8 +636,10 @@ export type Query = {
|
|
|
624
636
|
/** @deprecated Use 'myRoles' endpoint. */
|
|
625
637
|
myRole: Scalars['String']['output'];
|
|
626
638
|
myRoles: Array<Scalars['String']['output']>;
|
|
639
|
+
/** @deprecated Old system. Please use new endpoints from API4.SignUp. */
|
|
627
640
|
mySignUpCheck: Array<SignUpCheck>;
|
|
628
641
|
mySignUpV2: Array<MySignUpV2>;
|
|
642
|
+
/** @deprecated Old system. Please use new endpoints from API4.SignUp. */
|
|
629
643
|
mySignup: Array<MySignUp>;
|
|
630
644
|
onboardingData: Array<OnboardingData_Data>;
|
|
631
645
|
onboardingProjects: Array<OnboardingProject>;
|
|
@@ -633,10 +647,15 @@ export type Query = {
|
|
|
633
647
|
poolxTokenomics: PoolxTokenomics;
|
|
634
648
|
retrieveSignature: RetrieveSignatureResponse;
|
|
635
649
|
seasonPass: Array<SeasonPass>;
|
|
650
|
+
/** @deprecated Old system. Please use new endpoints from API4.SignUp. */
|
|
636
651
|
signUp: Array<SignUp>;
|
|
652
|
+
/** @deprecated Right now, isn't work. */
|
|
637
653
|
signUpAllocation?: Maybe<Array<SignUpAllocation>>;
|
|
654
|
+
/** @deprecated Old system. Please use new endpoints from API4.SignUp. */
|
|
638
655
|
signUpCheck: Array<SignUpCheck>;
|
|
656
|
+
/** @deprecated Old system. Please use new endpoints from API4.SignUp. */
|
|
639
657
|
signUpList: Array<SignUpList>;
|
|
658
|
+
/** @deprecated Old system. Please use new endpoints from API4.SignUp. */
|
|
640
659
|
signUpsTimes: Array<SignUpsTimes>;
|
|
641
660
|
simpleUrlShortener?: Maybe<SimpleUrlShortener>;
|
|
642
661
|
splitDataEncoder: Scalars['String']['output'];
|
|
@@ -651,6 +670,7 @@ export type Query = {
|
|
|
651
670
|
unlocks: Array<Unlocks>;
|
|
652
671
|
/** @deprecated This endpoint is deprecated. */
|
|
653
672
|
vaultOut: Array<VaultOut>;
|
|
673
|
+
/** The 'fetchBalance' will be deprecated */
|
|
654
674
|
vaults: Array<Vaults>;
|
|
655
675
|
};
|
|
656
676
|
export type QueryAdminAutoSignUpArgs = {
|
|
@@ -659,6 +679,12 @@ export type QueryAdminAutoSignUpArgs = {
|
|
|
659
679
|
export type QueryAdminKycProxyArgs = {
|
|
660
680
|
status?: InputMaybe<Scalars['String']['input']>;
|
|
661
681
|
};
|
|
682
|
+
export type QueryAdminListAssetsArgs = {
|
|
683
|
+
chainId: Scalars['Int']['input'];
|
|
684
|
+
dispenserProvider: Scalars['String']['input'];
|
|
685
|
+
limit: Scalars['Int']['input'];
|
|
686
|
+
page: Scalars['Int']['input'];
|
|
687
|
+
};
|
|
662
688
|
export type QueryAdminListOfCollateralArgs = {
|
|
663
689
|
chainId: Scalars['Int']['input'];
|
|
664
690
|
collateralAddress: Scalars['String']['input'];
|
|
@@ -705,6 +731,10 @@ export type QueryLeaderBoardArgs = {
|
|
|
705
731
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
706
732
|
timestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
707
733
|
};
|
|
734
|
+
export type QueryMyAssetsArgs = {
|
|
735
|
+
limit: Scalars['Int']['input'];
|
|
736
|
+
page: Scalars['Int']['input'];
|
|
737
|
+
};
|
|
708
738
|
export type QueryMyDataArgs = {
|
|
709
739
|
chainNames?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
710
740
|
};
|
|
@@ -1182,39 +1212,44 @@ export type AdminCreateAssetMutation = {
|
|
|
1182
1212
|
};
|
|
1183
1213
|
};
|
|
1184
1214
|
export type MyAssetsQueryVariables = Exact<{
|
|
1185
|
-
|
|
1215
|
+
limit: Scalars['Int']['input'];
|
|
1216
|
+
page: Scalars['Int']['input'];
|
|
1186
1217
|
}>;
|
|
1187
1218
|
export type MyAssetsQuery = {
|
|
1188
1219
|
__typename?: 'Query';
|
|
1189
|
-
myAssets:
|
|
1190
|
-
__typename?: '
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1220
|
+
myAssets: {
|
|
1221
|
+
__typename?: 'MyAssetsResponse';
|
|
1222
|
+
Count: number;
|
|
1223
|
+
Assets: Array<{
|
|
1224
|
+
__typename?: 'MyAssets';
|
|
1225
|
+
UserAddress: string;
|
|
1226
|
+
RefundFinishTime?: number | null;
|
|
1227
|
+
WithdrawalDetail: {
|
|
1228
|
+
__typename?: 'MyAssets_TransactionDetail';
|
|
1229
|
+
ChainId: number;
|
|
1230
|
+
PoolId: number;
|
|
1231
|
+
Builders: Array<{
|
|
1232
|
+
__typename?: 'MyAssets_Builder';
|
|
1233
|
+
ProviderAddress: string;
|
|
1234
|
+
WeiAmount: string;
|
|
1235
|
+
StartTime?: number | null;
|
|
1236
|
+
FinishTime?: number | null;
|
|
1237
|
+
}>;
|
|
1238
|
+
};
|
|
1239
|
+
RefundDetail?: {
|
|
1240
|
+
__typename?: 'MyAssets_TransactionDetail';
|
|
1241
|
+
ChainId: number;
|
|
1242
|
+
PoolId: number;
|
|
1243
|
+
Builders: Array<{
|
|
1244
|
+
__typename?: 'MyAssets_Builder';
|
|
1245
|
+
ProviderAddress: string;
|
|
1246
|
+
WeiAmount: string;
|
|
1247
|
+
StartTime?: number | null;
|
|
1248
|
+
FinishTime?: number | null;
|
|
1249
|
+
}>;
|
|
1250
|
+
} | null;
|
|
1251
|
+
}>;
|
|
1252
|
+
};
|
|
1218
1253
|
};
|
|
1219
1254
|
export type RetrieveSignatureQueryVariables = Exact<{
|
|
1220
1255
|
request: RetrieveSignatureRequest;
|
|
@@ -1624,27 +1659,6 @@ export type DeleteSeasonPassMutation = {
|
|
|
1624
1659
|
Note: string;
|
|
1625
1660
|
};
|
|
1626
1661
|
};
|
|
1627
|
-
export type SignupQueryVariables = Exact<{
|
|
1628
|
-
signUpId: Scalars['Int']['input'];
|
|
1629
|
-
}>;
|
|
1630
|
-
export type SignupQuery = {
|
|
1631
|
-
__typename?: 'Query';
|
|
1632
|
-
signUp: Array<{
|
|
1633
|
-
__typename?: 'SignUp';
|
|
1634
|
-
Address: string;
|
|
1635
|
-
Amount: number;
|
|
1636
|
-
}>;
|
|
1637
|
-
};
|
|
1638
|
-
export type MySignupQueryVariables = Exact<{
|
|
1639
|
-
[key: string]: never;
|
|
1640
|
-
}>;
|
|
1641
|
-
export type MySignupQuery = {
|
|
1642
|
-
__typename?: 'Query';
|
|
1643
|
-
mySignup: Array<{
|
|
1644
|
-
__typename?: 'MySignUp';
|
|
1645
|
-
SignupId: number;
|
|
1646
|
-
}>;
|
|
1647
|
-
};
|
|
1648
1662
|
export type MySignUpV2QueryVariables = Exact<{
|
|
1649
1663
|
projectIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
|
|
1650
1664
|
}>;
|
|
@@ -1825,7 +1839,8 @@ export declare const AdminCreateAssetDocument: DocumentNode<AdminCreateAssetMuta
|
|
|
1825
1839
|
Request: CreateAssetRequest;
|
|
1826
1840
|
}>>;
|
|
1827
1841
|
export declare const MyAssetsDocument: DocumentNode<MyAssetsQuery, Exact<{
|
|
1828
|
-
|
|
1842
|
+
limit: Scalars['Int']['input'];
|
|
1843
|
+
page: Scalars['Int']['input'];
|
|
1829
1844
|
}>>;
|
|
1830
1845
|
export declare const RetrieveSignatureDocument: DocumentNode<RetrieveSignatureQuery, Exact<{
|
|
1831
1846
|
request: RetrieveSignatureRequest;
|
|
@@ -1934,12 +1949,6 @@ export declare const DeleteSeasonPassDocument: DocumentNode<DeleteSeasonPassMuta
|
|
|
1934
1949
|
owner: Scalars['String']['input'];
|
|
1935
1950
|
note: Scalars['String']['input'];
|
|
1936
1951
|
}>>;
|
|
1937
|
-
export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
|
|
1938
|
-
signUpId: Scalars['Int']['input'];
|
|
1939
|
-
}>>;
|
|
1940
|
-
export declare const MySignupDocument: DocumentNode<MySignupQuery, Exact<{
|
|
1941
|
-
[key: string]: never;
|
|
1942
|
-
}>>;
|
|
1943
1952
|
export declare const MySignUpV2Document: DocumentNode<MySignUpV2Query, Exact<{
|
|
1944
1953
|
projectIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
|
|
1945
1954
|
}>>;
|