@poolzfinance/api4 1.11.56 → 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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- 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 +2 -2
- package/dist/types/graphql/graphql.d.ts +51 -30
- package/package.json +1 -1
|
@@ -54,7 +54,7 @@ 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($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n UserAddress\n
|
|
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
58
|
limit: number;
|
|
59
59
|
page: number;
|
|
60
60
|
}>>;
|
|
@@ -258,7 +258,7 @@ export declare function gql(source: "\n mutation AdminCreateAsset($Request: Cre
|
|
|
258
258
|
/**
|
|
259
259
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
260
260
|
*/
|
|
261
|
-
export declare function gql(source: "\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\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}"];
|
|
262
262
|
/**
|
|
263
263
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
264
264
|
*/
|
|
@@ -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,7 +626,7 @@ 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>;
|
|
620
631
|
/** @deprecated Right now isn't work. Will be deleted with new Invested contract/system. */
|
|
621
632
|
myInvestSum: MyInvestSum;
|
|
@@ -668,6 +679,12 @@ export type QueryAdminAutoSignUpArgs = {
|
|
|
668
679
|
export type QueryAdminKycProxyArgs = {
|
|
669
680
|
status?: InputMaybe<Scalars['String']['input']>;
|
|
670
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
|
+
};
|
|
671
688
|
export type QueryAdminListOfCollateralArgs = {
|
|
672
689
|
chainId: Scalars['Int']['input'];
|
|
673
690
|
collateralAddress: Scalars['String']['input'];
|
|
@@ -1200,35 +1217,39 @@ export type MyAssetsQueryVariables = Exact<{
|
|
|
1200
1217
|
}>;
|
|
1201
1218
|
export type MyAssetsQuery = {
|
|
1202
1219
|
__typename?: 'Query';
|
|
1203
|
-
myAssets:
|
|
1204
|
-
__typename?: '
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
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
|
+
};
|
|
1232
1253
|
};
|
|
1233
1254
|
export type RetrieveSignatureQueryVariables = Exact<{
|
|
1234
1255
|
request: RetrieveSignatureRequest;
|