@poolzfinance/api4 1.11.28 → 1.11.30
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 +3 -0
- package/dist/endpoints/getDownloader.d.ts +3 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -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 +16 -2
- package/dist/types/graphql/graphql.d.ts +141 -0
- package/package.json +1 -1
|
@@ -42,9 +42,15 @@ declare const documents: {
|
|
|
42
42
|
"\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}": DocumentNode<types.BoostProxyUsersQuery, types.Exact<{
|
|
43
43
|
campaignCodes: string | string[];
|
|
44
44
|
}>>;
|
|
45
|
+
"\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": DocumentNode<types.DaoSenderHistoryQuery, types.Exact<{
|
|
46
|
+
page: number;
|
|
47
|
+
}>>;
|
|
45
48
|
"\n query MyQuery {\n time\n}": DocumentNode<types.MyQueryQuery, types.Exact<{
|
|
46
49
|
[key: string]: never;
|
|
47
50
|
}>>;
|
|
51
|
+
"\n query Downloader {\n downloader {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n ContractAddress\n EventHash\n Active\n StartingBlock\n EndingBlock\n MaxBatchSize\n ResponseType\n MaxPageNumber\n UrlSet\n Mapping {\n Id\n Path\n Converter\n Name\n }\n }\n }\n}": DocumentNode<types.DownloaderQuery, types.Exact<{
|
|
52
|
+
[key: string]: never;
|
|
53
|
+
}>>;
|
|
48
54
|
"\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}": DocumentNode<types.GenerateTokenFromSignatureMutation, types.Exact<{
|
|
49
55
|
eip4361message: string;
|
|
50
56
|
signature: string;
|
|
@@ -124,7 +130,7 @@ declare const documents: {
|
|
|
124
130
|
"\n query MySignup {\n mySignup {\n SignupId\n }\n}": DocumentNode<types.MySignupQuery, types.Exact<{
|
|
125
131
|
[key: string]: never;
|
|
126
132
|
}>>;
|
|
127
|
-
"\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n }\n}": DocumentNode<types.SimpleUrlShortenerQuery, types.Exact<{
|
|
133
|
+
"\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}": DocumentNode<types.SimpleUrlShortenerQuery, types.Exact<{
|
|
128
134
|
input: types.TxHashChainIdInput;
|
|
129
135
|
}>>;
|
|
130
136
|
"\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }": DocumentNode<types.StatusQuery, types.Exact<{
|
|
@@ -188,10 +194,18 @@ export declare function gql(source: "\n query BoostProxyData($campaignCodes: [S
|
|
|
188
194
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
189
195
|
*/
|
|
190
196
|
export declare function gql(source: "\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 documents)["\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}"];
|
|
197
|
+
/**
|
|
198
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
199
|
+
*/
|
|
200
|
+
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"];
|
|
191
201
|
/**
|
|
192
202
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
193
203
|
*/
|
|
194
204
|
export declare function gql(source: "\n query MyQuery {\n time\n}"): (typeof documents)["\n query MyQuery {\n time\n}"];
|
|
205
|
+
/**
|
|
206
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
207
|
+
*/
|
|
208
|
+
export declare function gql(source: "\n query Downloader {\n downloader {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n ContractAddress\n EventHash\n Active\n StartingBlock\n EndingBlock\n MaxBatchSize\n ResponseType\n MaxPageNumber\n UrlSet\n Mapping {\n Id\n Path\n Converter\n Name\n }\n }\n }\n}"): (typeof documents)["\n query Downloader {\n downloader {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n ContractAddress\n EventHash\n Active\n StartingBlock\n EndingBlock\n MaxBatchSize\n ResponseType\n MaxPageNumber\n UrlSet\n Mapping {\n Id\n Path\n Converter\n Name\n }\n }\n }\n}"];
|
|
195
209
|
/**
|
|
196
210
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
197
211
|
*/
|
|
@@ -287,7 +301,7 @@ export declare function gql(source: "\n query MySignup {\n mySignup {\n
|
|
|
287
301
|
/**
|
|
288
302
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
289
303
|
*/
|
|
290
|
-
export declare function gql(source: "\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n }\n}"): (typeof documents)["\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n }\n}"];
|
|
304
|
+
export declare function gql(source: "\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}"): (typeof documents)["\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}"];
|
|
291
305
|
/**
|
|
292
306
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
293
307
|
*/
|
|
@@ -158,6 +158,20 @@ export type CleanCacheResult = {
|
|
|
158
158
|
__typename?: 'CleanCacheResult';
|
|
159
159
|
id: Scalars['String']['output'];
|
|
160
160
|
};
|
|
161
|
+
export type DaoSenderHistory = {
|
|
162
|
+
__typename?: 'DaoSenderHistory';
|
|
163
|
+
ChainId: Scalars['Int']['output'];
|
|
164
|
+
Token: Scalars['String']['output'];
|
|
165
|
+
TotalAmount: Scalars['Float']['output'];
|
|
166
|
+
TxHash: Scalars['String']['output'];
|
|
167
|
+
UserCount: Scalars['Int']['output'];
|
|
168
|
+
};
|
|
169
|
+
export type DaoSenderHistoryPage = {
|
|
170
|
+
__typename?: 'DaoSenderHistoryPage';
|
|
171
|
+
currentPage: Scalars['Int']['output'];
|
|
172
|
+
items?: Maybe<Array<DaoSenderHistory>>;
|
|
173
|
+
totalPages: Scalars['Int']['output'];
|
|
174
|
+
};
|
|
161
175
|
export type DataOnAuth = {
|
|
162
176
|
auth_date: Scalars['Long']['input'];
|
|
163
177
|
first_name: Scalars['String']['input'];
|
|
@@ -167,6 +181,42 @@ export type DataOnAuth = {
|
|
|
167
181
|
photo_url?: InputMaybe<Scalars['String']['input']>;
|
|
168
182
|
username?: InputMaybe<Scalars['String']['input']>;
|
|
169
183
|
};
|
|
184
|
+
export type Downloader = {
|
|
185
|
+
__typename?: 'Downloader';
|
|
186
|
+
BlockPerSecond: Scalars['Float']['output'];
|
|
187
|
+
ChainId: Scalars['Int']['output'];
|
|
188
|
+
ChainName: Scalars['String']['output'];
|
|
189
|
+
CovalentLastBlock: Scalars['Int']['output'];
|
|
190
|
+
Events?: Maybe<Array<DownloaderEvents>>;
|
|
191
|
+
RpcUrl: Scalars['String']['output'];
|
|
192
|
+
SecondsToError: Scalars['Int']['output'];
|
|
193
|
+
SecondsToWarning: Scalars['Int']['output'];
|
|
194
|
+
};
|
|
195
|
+
export type DownloaderEventInput = {
|
|
196
|
+
Active: Scalars['Boolean']['input'];
|
|
197
|
+
ContractAddress: Scalars['String']['input'];
|
|
198
|
+
EndingBlock?: InputMaybe<Scalars['Int']['input']>;
|
|
199
|
+
EventHash: Scalars['String']['input'];
|
|
200
|
+
Key: Scalars['String']['input'];
|
|
201
|
+
MaxBatchSize: Scalars['Int']['input'];
|
|
202
|
+
MaxPageNumber?: InputMaybe<Scalars['Int']['input']>;
|
|
203
|
+
ResponseType: Scalars['String']['input'];
|
|
204
|
+
StartingBlock: Scalars['Int']['input'];
|
|
205
|
+
UrlSet: Scalars['String']['input'];
|
|
206
|
+
};
|
|
207
|
+
export type DownloaderEvents = {
|
|
208
|
+
__typename?: 'DownloaderEvents';
|
|
209
|
+
Active: Scalars['Boolean']['output'];
|
|
210
|
+
ContractAddress: Scalars['String']['output'];
|
|
211
|
+
EndingBlock?: Maybe<Scalars['Int']['output']>;
|
|
212
|
+
EventHash: Scalars['String']['output'];
|
|
213
|
+
Mapping?: Maybe<Array<Mapping>>;
|
|
214
|
+
MaxBatchSize: Scalars['Int']['output'];
|
|
215
|
+
MaxPageNumber?: Maybe<Scalars['Int']['output']>;
|
|
216
|
+
ResponseType: Scalars['String']['output'];
|
|
217
|
+
StartingBlock: Scalars['Int']['output'];
|
|
218
|
+
UrlSet: Scalars['String']['output'];
|
|
219
|
+
};
|
|
170
220
|
export type GenerateTokenFromSignature = {
|
|
171
221
|
__typename?: 'GenerateTokenFromSignature';
|
|
172
222
|
token: Scalars['String']['output'];
|
|
@@ -216,9 +266,22 @@ export type LeaderBoard = {
|
|
|
216
266
|
Rank: Scalars['Int']['output'];
|
|
217
267
|
VaultAmount: Scalars['Float']['output'];
|
|
218
268
|
};
|
|
269
|
+
export type Mapping = {
|
|
270
|
+
__typename?: 'Mapping';
|
|
271
|
+
Converter: Scalars['String']['output'];
|
|
272
|
+
Id: Scalars['Int']['output'];
|
|
273
|
+
Name: Scalars['String']['output'];
|
|
274
|
+
Path: Scalars['String']['output'];
|
|
275
|
+
};
|
|
276
|
+
export type MappingInput = {
|
|
277
|
+
Converter: Scalars['String']['input'];
|
|
278
|
+
Name: Scalars['String']['input'];
|
|
279
|
+
Path: Scalars['String']['input'];
|
|
280
|
+
};
|
|
219
281
|
export type Mutation = {
|
|
220
282
|
__typename?: 'Mutation';
|
|
221
283
|
addAutoSignUp: AdminAutoSignUp;
|
|
284
|
+
addDownloaderEvent?: Maybe<DownloaderEvents>;
|
|
222
285
|
addEvmWallet: UserData;
|
|
223
286
|
addNonEvmWallet: UserData;
|
|
224
287
|
addUser: AdminUsers;
|
|
@@ -247,6 +310,10 @@ export type MutationAddAutoSignUpArgs = {
|
|
|
247
310
|
note: Scalars['String']['input'];
|
|
248
311
|
poolzAmount: Scalars['Float']['input'];
|
|
249
312
|
};
|
|
313
|
+
export type MutationAddDownloaderEventArgs = {
|
|
314
|
+
chainId: Scalars['Int']['input'];
|
|
315
|
+
eventData: DownloaderEventInput;
|
|
316
|
+
};
|
|
250
317
|
export type MutationAddEvmWalletArgs = {
|
|
251
318
|
wallet: Scalars['String']['input'];
|
|
252
319
|
};
|
|
@@ -433,6 +500,9 @@ export type Query = {
|
|
|
433
500
|
adminUsers: Array<AdminUsers>;
|
|
434
501
|
approvedContracts: Array<ApprovedContracts>;
|
|
435
502
|
boostProxy: Array<BoostProxy>;
|
|
503
|
+
daoSenderHistory: DaoSenderHistoryPage;
|
|
504
|
+
downloader: Array<Downloader>;
|
|
505
|
+
downloaderWithFilter?: Maybe<Array<Downloader>>;
|
|
436
506
|
investedErc20: Array<InvestedErc20>;
|
|
437
507
|
kolInvestedErc20: Array<KolInvestedErc20>;
|
|
438
508
|
leaderBoard: Array<LeaderBoard>;
|
|
@@ -486,6 +556,13 @@ export type QueryApprovedContractsArgs = {
|
|
|
486
556
|
export type QueryBoostProxyArgs = {
|
|
487
557
|
campaignCodes: Array<Scalars['String']['input']>;
|
|
488
558
|
};
|
|
559
|
+
export type QueryDaoSenderHistoryArgs = {
|
|
560
|
+
page: Scalars['Int']['input'];
|
|
561
|
+
};
|
|
562
|
+
export type QueryDownloaderWithFilterArgs = {
|
|
563
|
+
chainId?: InputMaybe<Scalars['Int']['input']>;
|
|
564
|
+
contractAddress?: InputMaybe<Scalars['String']['input']>;
|
|
565
|
+
};
|
|
489
566
|
export type QueryInvestedErc20Args = {
|
|
490
567
|
id: Scalars['Int']['input'];
|
|
491
568
|
};
|
|
@@ -600,6 +677,8 @@ export type SimpleUrlShortener = {
|
|
|
600
677
|
__typename?: 'SimpleUrlShortener';
|
|
601
678
|
ContainerText: Scalars['String']['output'];
|
|
602
679
|
ShortUrl: Scalars['String']['output'];
|
|
680
|
+
UrlToScan: Scalars['String']['output'];
|
|
681
|
+
XPostText: Scalars['String']['output'];
|
|
603
682
|
};
|
|
604
683
|
export type Status = {
|
|
605
684
|
__typename?: 'Status';
|
|
@@ -835,6 +914,25 @@ export type BoostProxyUsersQuery = {
|
|
|
835
914
|
}>;
|
|
836
915
|
}>;
|
|
837
916
|
};
|
|
917
|
+
export type DaoSenderHistoryQueryVariables = Exact<{
|
|
918
|
+
page: Scalars['Int']['input'];
|
|
919
|
+
}>;
|
|
920
|
+
export type DaoSenderHistoryQuery = {
|
|
921
|
+
__typename?: 'Query';
|
|
922
|
+
daoSenderHistory: {
|
|
923
|
+
__typename?: 'DaoSenderHistoryPage';
|
|
924
|
+
currentPage: number;
|
|
925
|
+
totalPages: number;
|
|
926
|
+
items?: Array<{
|
|
927
|
+
__typename?: 'DaoSenderHistory';
|
|
928
|
+
ChainId: number;
|
|
929
|
+
TxHash: string;
|
|
930
|
+
Token: string;
|
|
931
|
+
UserCount: number;
|
|
932
|
+
TotalAmount: number;
|
|
933
|
+
}> | null;
|
|
934
|
+
};
|
|
935
|
+
};
|
|
838
936
|
export type MyQueryQueryVariables = Exact<{
|
|
839
937
|
[key: string]: never;
|
|
840
938
|
}>;
|
|
@@ -842,6 +940,41 @@ export type MyQueryQuery = {
|
|
|
842
940
|
__typename?: 'Query';
|
|
843
941
|
time: number;
|
|
844
942
|
};
|
|
943
|
+
export type DownloaderQueryVariables = Exact<{
|
|
944
|
+
[key: string]: never;
|
|
945
|
+
}>;
|
|
946
|
+
export type DownloaderQuery = {
|
|
947
|
+
__typename?: 'Query';
|
|
948
|
+
downloader: Array<{
|
|
949
|
+
__typename?: 'Downloader';
|
|
950
|
+
ChainId: number;
|
|
951
|
+
ChainName: string;
|
|
952
|
+
RpcUrl: string;
|
|
953
|
+
CovalentLastBlock: number;
|
|
954
|
+
SecondsToWarning: number;
|
|
955
|
+
SecondsToError: number;
|
|
956
|
+
BlockPerSecond: number;
|
|
957
|
+
Events?: Array<{
|
|
958
|
+
__typename?: 'DownloaderEvents';
|
|
959
|
+
ContractAddress: string;
|
|
960
|
+
EventHash: string;
|
|
961
|
+
Active: boolean;
|
|
962
|
+
StartingBlock: number;
|
|
963
|
+
EndingBlock?: number | null;
|
|
964
|
+
MaxBatchSize: number;
|
|
965
|
+
ResponseType: string;
|
|
966
|
+
MaxPageNumber?: number | null;
|
|
967
|
+
UrlSet: string;
|
|
968
|
+
Mapping?: Array<{
|
|
969
|
+
__typename?: 'Mapping';
|
|
970
|
+
Id: number;
|
|
971
|
+
Path: string;
|
|
972
|
+
Converter: string;
|
|
973
|
+
Name: string;
|
|
974
|
+
}> | null;
|
|
975
|
+
}> | null;
|
|
976
|
+
}>;
|
|
977
|
+
};
|
|
845
978
|
export type GenerateTokenFromSignatureMutationVariables = Exact<{
|
|
846
979
|
eip4361message: Scalars['String']['input'];
|
|
847
980
|
signature: Scalars['String']['input'];
|
|
@@ -1151,6 +1284,8 @@ export type SimpleUrlShortenerQuery = {
|
|
|
1151
1284
|
__typename?: 'SimpleUrlShortener';
|
|
1152
1285
|
ShortUrl: string;
|
|
1153
1286
|
ContainerText: string;
|
|
1287
|
+
UrlToScan: string;
|
|
1288
|
+
XPostText: string;
|
|
1154
1289
|
} | null;
|
|
1155
1290
|
};
|
|
1156
1291
|
export type StatusQueryVariables = Exact<{
|
|
@@ -1249,9 +1384,15 @@ export declare const BoostProxyDataDocument: DocumentNode<BoostProxyDataQuery, E
|
|
|
1249
1384
|
export declare const BoostProxyUsersDocument: DocumentNode<BoostProxyUsersQuery, Exact<{
|
|
1250
1385
|
campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
1251
1386
|
}>>;
|
|
1387
|
+
export declare const DaoSenderHistoryDocument: DocumentNode<DaoSenderHistoryQuery, Exact<{
|
|
1388
|
+
page: Scalars['Int']['input'];
|
|
1389
|
+
}>>;
|
|
1252
1390
|
export declare const MyQueryDocument: DocumentNode<MyQueryQuery, Exact<{
|
|
1253
1391
|
[key: string]: never;
|
|
1254
1392
|
}>>;
|
|
1393
|
+
export declare const DownloaderDocument: DocumentNode<DownloaderQuery, Exact<{
|
|
1394
|
+
[key: string]: never;
|
|
1395
|
+
}>>;
|
|
1255
1396
|
export declare const GenerateTokenFromSignatureDocument: DocumentNode<GenerateTokenFromSignatureMutation, Exact<{
|
|
1256
1397
|
eip4361message: Scalars['String']['input'];
|
|
1257
1398
|
signature: Scalars['String']['input'];
|