@poolzfinance/api4 1.15.7 → 1.15.9
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/daoSenderHistory.d.ts +7 -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 +7 -2
- package/dist/types/graphql/graphql.d.ts +85 -4
- package/package.json +1 -1
|
@@ -22,6 +22,7 @@ type Documents = {
|
|
|
22
22
|
"\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}": typeof types.BoostProxyDataDocument;
|
|
23
23
|
"\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}": typeof types.BoostProxyUsersDocument;
|
|
24
24
|
"\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n": typeof types.DaoSenderHistoryDocument;
|
|
25
|
+
"\n query DaoSenderHistoryV2($limit: Int!, $nextToken: String) {\n daoSenderHistoryV2(limit: $limit, nextToken: $nextToken) {\n nextToken\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n TokenObject {\n Address\n Decimals\n Name\n Symbol\n }\n }\n }\n }\n": typeof types.DaoSenderHistoryV2Document;
|
|
25
26
|
"\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}": typeof types.AdminCreateAssetDocument;
|
|
26
27
|
"\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n TotalAssets\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 types.MyAssetsDocument;
|
|
27
28
|
"\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}": typeof types.RetrieveSignatureDocument;
|
|
@@ -42,7 +43,7 @@ type Documents = {
|
|
|
42
43
|
"\n mutation AddNonEvmWallet($chainName: String!, $wallet: String!) {\n addNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallet\n }\n}": typeof types.AddNonEvmWalletDocument;
|
|
43
44
|
"\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}": typeof types.DeleteNonEvmWalletDocument;
|
|
44
45
|
"\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;
|
|
45
|
-
"\n query MyInvest {\n myInvest {\n ProjectId\n
|
|
46
|
+
"\n query MyInvest {\n myInvest {\n PoolId\n ProjectId\n ProjectName\n ProjectLogoUrl\n ChainId\n Amount\n FinishTime\n StartTime\n Token\n TokenSymbol\n TokenName\n ChainLogo {\n DisplayText\n Color\n Url\n }\n OriginalLogo {\n DisplayText\n Color\n Url\n }\n TokenObject {\n Address\n Name\n Symbol\n }\n }\n }\n": typeof types.MyInvestDocument;
|
|
46
47
|
"\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}": typeof types.KycDocument;
|
|
47
48
|
"\n query MyRoles {\n myRoles\n }": typeof types.MyRolesDocument;
|
|
48
49
|
"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": typeof types.PoolxPriceDocument;
|
|
@@ -109,6 +110,10 @@ export declare function gql(source: "\n query BoostProxyUsers($campaignCodes: [
|
|
|
109
110
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
110
111
|
*/
|
|
111
112
|
export declare function gql(source: "\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n"): (typeof documents)["\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n"];
|
|
113
|
+
/**
|
|
114
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
115
|
+
*/
|
|
116
|
+
export declare function gql(source: "\n query DaoSenderHistoryV2($limit: Int!, $nextToken: String) {\n daoSenderHistoryV2(limit: $limit, nextToken: $nextToken) {\n nextToken\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n TokenObject {\n Address\n Decimals\n Name\n Symbol\n }\n }\n }\n }\n"): (typeof documents)["\n query DaoSenderHistoryV2($limit: Int!, $nextToken: String) {\n daoSenderHistoryV2(limit: $limit, nextToken: $nextToken) {\n nextToken\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n TokenObject {\n Address\n Decimals\n Name\n Symbol\n }\n }\n }\n }\n"];
|
|
112
117
|
/**
|
|
113
118
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
114
119
|
*/
|
|
@@ -192,7 +197,7 @@ export declare function gql(source: "\n mutation UpdateNonEvmWallet($chainName:
|
|
|
192
197
|
/**
|
|
193
198
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
194
199
|
*/
|
|
195
|
-
export declare function gql(source: "\n query MyInvest {\n myInvest {\n ProjectId\n
|
|
200
|
+
export declare function gql(source: "\n query MyInvest {\n myInvest {\n PoolId\n ProjectId\n ProjectName\n ProjectLogoUrl\n ChainId\n Amount\n FinishTime\n StartTime\n Token\n TokenSymbol\n TokenName\n ChainLogo {\n DisplayText\n Color\n Url\n }\n OriginalLogo {\n DisplayText\n Color\n Url\n }\n TokenObject {\n Address\n Name\n Symbol\n }\n }\n }\n"): (typeof documents)["\n query MyInvest {\n myInvest {\n PoolId\n ProjectId\n ProjectName\n ProjectLogoUrl\n ChainId\n Amount\n FinishTime\n StartTime\n Token\n TokenSymbol\n TokenName\n ChainLogo {\n DisplayText\n Color\n Url\n }\n OriginalLogo {\n DisplayText\n Color\n Url\n }\n TokenObject {\n Address\n Name\n Symbol\n }\n }\n }\n"];
|
|
196
201
|
/**
|
|
197
202
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
198
203
|
*/
|
|
@@ -187,6 +187,27 @@ export type DaoSenderHistoryPage = {
|
|
|
187
187
|
items?: Maybe<Array<DaoSenderHistory>>;
|
|
188
188
|
totalPages: Scalars['Int']['output'];
|
|
189
189
|
};
|
|
190
|
+
export type DaoSenderHistoryV2 = {
|
|
191
|
+
__typename?: 'DaoSenderHistoryV2';
|
|
192
|
+
items: Array<DaoSenderHistoryV2_Item>;
|
|
193
|
+
nextToken?: Maybe<Scalars['String']['output']>;
|
|
194
|
+
};
|
|
195
|
+
export type DaoSenderHistoryV2_Item = {
|
|
196
|
+
__typename?: 'DaoSenderHistoryV2_Item';
|
|
197
|
+
ChainId: Scalars['Int']['output'];
|
|
198
|
+
Token: Scalars['String']['output'];
|
|
199
|
+
TokenObject: DaoSenderHistoryV2_Token;
|
|
200
|
+
TotalAmount: Scalars['Float']['output'];
|
|
201
|
+
TxHash: Scalars['String']['output'];
|
|
202
|
+
UserCount: Scalars['Int']['output'];
|
|
203
|
+
};
|
|
204
|
+
export type DaoSenderHistoryV2_Token = {
|
|
205
|
+
__typename?: 'DaoSenderHistoryV2_Token';
|
|
206
|
+
Address: Scalars['String']['output'];
|
|
207
|
+
Decimals: Scalars['Int']['output'];
|
|
208
|
+
Name: Scalars['String']['output'];
|
|
209
|
+
Symbol: Scalars['String']['output'];
|
|
210
|
+
};
|
|
190
211
|
export type DeleteAssetRequest = {
|
|
191
212
|
Message: DeleteAssetRequest_Message;
|
|
192
213
|
Signature: Scalars['String']['input'];
|
|
@@ -361,6 +382,8 @@ export type MyInvest = {
|
|
|
361
382
|
OriginalLogo: MyInvest_Logo;
|
|
362
383
|
PoolId: Scalars['Int']['output'];
|
|
363
384
|
ProjectId: Scalars['String']['output'];
|
|
385
|
+
ProjectLogoUrl?: Maybe<Scalars['String']['output']>;
|
|
386
|
+
ProjectName: Scalars['String']['output'];
|
|
364
387
|
StartTime: Scalars['Int']['output'];
|
|
365
388
|
Token: Scalars['String']['output'];
|
|
366
389
|
TokenName: Scalars['String']['output'];
|
|
@@ -445,8 +468,12 @@ export type Query = {
|
|
|
445
468
|
adminUsersTotalSpents: Array<AdminUsersTotalSpents>;
|
|
446
469
|
approvedContractsV2: Array<ApprovedContractsV2>;
|
|
447
470
|
boostProxy: Array<BoostProxy>;
|
|
448
|
-
/**
|
|
471
|
+
/**
|
|
472
|
+
* Will be updated in new endoint.
|
|
473
|
+
* @deprecated Use new 'daoSenderHistoryV2' endpoint.
|
|
474
|
+
*/
|
|
449
475
|
daoSenderHistory: DaoSenderHistoryPage;
|
|
476
|
+
daoSenderHistoryV2: DaoSenderHistoryV2;
|
|
450
477
|
generateMyInvestSignature: GenerateMyInvestSignature;
|
|
451
478
|
getTokenBalances?: Maybe<TokenBalances>;
|
|
452
479
|
leaderBoard: Array<LeaderBoard>;
|
|
@@ -516,6 +543,11 @@ export type QueryDaoSenderHistoryArgs = {
|
|
|
516
543
|
page: Scalars['Int']['input'];
|
|
517
544
|
};
|
|
518
545
|
/** --- your entry point --- */
|
|
546
|
+
export type QueryDaoSenderHistoryV2Args = {
|
|
547
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
548
|
+
nextToken?: InputMaybe<Scalars['String']['input']>;
|
|
549
|
+
};
|
|
550
|
+
/** --- your entry point --- */
|
|
519
551
|
export type QueryGenerateMyInvestSignatureArgs = {
|
|
520
552
|
projectId: Scalars['String']['input'];
|
|
521
553
|
weiAmount: Scalars['String']['input'];
|
|
@@ -847,6 +879,32 @@ export type DaoSenderHistoryQuery = {
|
|
|
847
879
|
}> | null;
|
|
848
880
|
};
|
|
849
881
|
};
|
|
882
|
+
export type DaoSenderHistoryV2QueryVariables = Exact<{
|
|
883
|
+
limit: Scalars['Int']['input'];
|
|
884
|
+
nextToken?: InputMaybe<Scalars['String']['input']>;
|
|
885
|
+
}>;
|
|
886
|
+
export type DaoSenderHistoryV2Query = {
|
|
887
|
+
__typename?: 'Query';
|
|
888
|
+
daoSenderHistoryV2: {
|
|
889
|
+
__typename?: 'DaoSenderHistoryV2';
|
|
890
|
+
nextToken?: string | null;
|
|
891
|
+
items: Array<{
|
|
892
|
+
__typename?: 'DaoSenderHistoryV2_Item';
|
|
893
|
+
ChainId: number;
|
|
894
|
+
TxHash: string;
|
|
895
|
+
Token: string;
|
|
896
|
+
UserCount: number;
|
|
897
|
+
TotalAmount: number;
|
|
898
|
+
TokenObject: {
|
|
899
|
+
__typename?: 'DaoSenderHistoryV2_Token';
|
|
900
|
+
Address: string;
|
|
901
|
+
Decimals: number;
|
|
902
|
+
Name: string;
|
|
903
|
+
Symbol: string;
|
|
904
|
+
};
|
|
905
|
+
}>;
|
|
906
|
+
};
|
|
907
|
+
};
|
|
850
908
|
export type AdminCreateAssetMutationVariables = Exact<{
|
|
851
909
|
Request: CreateAssetRequest;
|
|
852
910
|
}>;
|
|
@@ -1141,13 +1199,35 @@ export type MyInvestQuery = {
|
|
|
1141
1199
|
__typename?: 'Query';
|
|
1142
1200
|
myInvest: Array<{
|
|
1143
1201
|
__typename?: 'MyInvest';
|
|
1144
|
-
ProjectId: string;
|
|
1145
1202
|
PoolId: number;
|
|
1203
|
+
ProjectId: string;
|
|
1204
|
+
ProjectName: string;
|
|
1205
|
+
ProjectLogoUrl?: string | null;
|
|
1146
1206
|
ChainId: number;
|
|
1147
|
-
Token: string;
|
|
1148
1207
|
Amount: number;
|
|
1149
|
-
|
|
1208
|
+
FinishTime: number;
|
|
1209
|
+
StartTime: number;
|
|
1210
|
+
Token: string;
|
|
1150
1211
|
TokenSymbol: string;
|
|
1212
|
+
TokenName: string;
|
|
1213
|
+
ChainLogo: {
|
|
1214
|
+
__typename?: 'MyInvest_Logo';
|
|
1215
|
+
DisplayText: string;
|
|
1216
|
+
Color?: string | null;
|
|
1217
|
+
Url: string;
|
|
1218
|
+
};
|
|
1219
|
+
OriginalLogo: {
|
|
1220
|
+
__typename?: 'MyInvest_Logo';
|
|
1221
|
+
DisplayText: string;
|
|
1222
|
+
Color?: string | null;
|
|
1223
|
+
Url: string;
|
|
1224
|
+
};
|
|
1225
|
+
TokenObject: {
|
|
1226
|
+
__typename?: 'MyInvest_Token';
|
|
1227
|
+
Address: string;
|
|
1228
|
+
Name: string;
|
|
1229
|
+
Symbol: string;
|
|
1230
|
+
};
|
|
1151
1231
|
}>;
|
|
1152
1232
|
};
|
|
1153
1233
|
export type KycQueryVariables = Exact<{
|
|
@@ -1298,6 +1378,7 @@ export declare const GetApprovedContractsV2Document: DocumentNode<GetApprovedCon
|
|
|
1298
1378
|
export declare const BoostProxyDataDocument: DocumentNode<BoostProxyDataQuery, BoostProxyDataQueryVariables>;
|
|
1299
1379
|
export declare const BoostProxyUsersDocument: DocumentNode<BoostProxyUsersQuery, BoostProxyUsersQueryVariables>;
|
|
1300
1380
|
export declare const DaoSenderHistoryDocument: DocumentNode<DaoSenderHistoryQuery, DaoSenderHistoryQueryVariables>;
|
|
1381
|
+
export declare const DaoSenderHistoryV2Document: DocumentNode<DaoSenderHistoryV2Query, DaoSenderHistoryV2QueryVariables>;
|
|
1301
1382
|
export declare const AdminCreateAssetDocument: DocumentNode<AdminCreateAssetMutation, AdminCreateAssetMutationVariables>;
|
|
1302
1383
|
export declare const MyAssetsDocument: DocumentNode<MyAssetsQuery, MyAssetsQueryVariables>;
|
|
1303
1384
|
export declare const RetrieveSignatureDocument: DocumentNode<RetrieveSignatureQuery, RetrieveSignatureQueryVariables>;
|