@poolzfinance/api4 1.7.4 → 1.8.1
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/leaderboard.d.ts +10 -0
- package/dist/endpoints/myData.d.ts +20 -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 +38 -2
- package/dist/types/graphql/graphql.d.ts +232 -19
- package/package.json +1 -1
|
@@ -43,6 +43,62 @@ export type Scalars = {
|
|
|
43
43
|
output: number;
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
+
export type ActionRegistry = {
|
|
47
|
+
__typename?: 'ActionRegistry';
|
|
48
|
+
AccountId: Scalars['Int']['output'];
|
|
49
|
+
ActionId: Scalars['Int']['output'];
|
|
50
|
+
ActionType: Scalars['Int']['output'];
|
|
51
|
+
ChainId: Scalars['Int']['output'];
|
|
52
|
+
Data: Scalars['String']['output'];
|
|
53
|
+
Details_GasLimit: Scalars['Int']['output'];
|
|
54
|
+
Details_MaxGasPriceGwei: Scalars['Int']['output'];
|
|
55
|
+
Details_Value: Scalars['String']['output'];
|
|
56
|
+
ToAddress: Scalars['String']['output'];
|
|
57
|
+
};
|
|
58
|
+
export type ActionSettings = {
|
|
59
|
+
__typename?: 'ActionSettings';
|
|
60
|
+
ActionId: Scalars['Int']['output'];
|
|
61
|
+
FinishRunningTime: Scalars['String']['output'];
|
|
62
|
+
RepeatCount: Scalars['Int']['output'];
|
|
63
|
+
Repeatable: Scalars['Boolean']['output'];
|
|
64
|
+
SettingsId: Scalars['Int']['output'];
|
|
65
|
+
StartingRunningTime: Scalars['String']['output'];
|
|
66
|
+
};
|
|
67
|
+
export type AdminAction = {
|
|
68
|
+
__typename?: 'AdminAction';
|
|
69
|
+
ActionRegistry: ActionRegistry;
|
|
70
|
+
ActionSettings: ActionSettings;
|
|
71
|
+
};
|
|
72
|
+
export type AdminAddAction = {
|
|
73
|
+
AccountId: Scalars['Int']['input'];
|
|
74
|
+
ActionType?: InputMaybe<Scalars['Int']['input']>;
|
|
75
|
+
ChainId: Scalars['Int']['input'];
|
|
76
|
+
Data: Scalars['String']['input'];
|
|
77
|
+
Details_GasLimit: Scalars['Int']['input'];
|
|
78
|
+
Details_MaxGasPriceGwei: Scalars['Int']['input'];
|
|
79
|
+
Details_Value: Scalars['String']['input'];
|
|
80
|
+
FinishRunningTime: Scalars['String']['input'];
|
|
81
|
+
RepeatCount: Scalars['Int']['input'];
|
|
82
|
+
Repeatable: Scalars['Boolean']['input'];
|
|
83
|
+
StartingRunningTime: Scalars['String']['input'];
|
|
84
|
+
ToAddress: Scalars['String']['input'];
|
|
85
|
+
};
|
|
86
|
+
export type AdminAutoSignUp = {
|
|
87
|
+
__typename?: 'AdminAutoSignUp';
|
|
88
|
+
Address: Scalars['String']['output'];
|
|
89
|
+
Note: Scalars['String']['output'];
|
|
90
|
+
PoolzAmount: Scalars['Int']['output'];
|
|
91
|
+
};
|
|
92
|
+
export type AdminNonEvmWallet = {
|
|
93
|
+
__typename?: 'AdminNonEvmWallet';
|
|
94
|
+
EvmWallet: Scalars['String']['output'];
|
|
95
|
+
NonEvmWallet: Scalars['String']['output'];
|
|
96
|
+
};
|
|
97
|
+
export type AdminUsers = {
|
|
98
|
+
__typename?: 'AdminUsers';
|
|
99
|
+
RoleId: Scalars['Int']['output'];
|
|
100
|
+
Wallet: Scalars['String']['output'];
|
|
101
|
+
};
|
|
46
102
|
export type GenerateTokenFromSignature = {
|
|
47
103
|
__typename?: 'GenerateTokenFromSignature';
|
|
48
104
|
token: Scalars['String']['output'];
|
|
@@ -80,26 +136,54 @@ export type LeaderBoard = {
|
|
|
80
136
|
};
|
|
81
137
|
export type Mutation = {
|
|
82
138
|
__typename?: 'Mutation';
|
|
139
|
+
addAutoSignUp: AdminAutoSignUp;
|
|
83
140
|
addNonEvmWallet: NonEvmWallet;
|
|
141
|
+
addUser: AdminUsers;
|
|
142
|
+
adminAddAction: AdminAction;
|
|
143
|
+
deleteAutoSignUp: AdminAutoSignUp;
|
|
144
|
+
deleteUser: AdminUsers;
|
|
84
145
|
generateTokenFromSignature: GenerateTokenFromSignature;
|
|
85
|
-
putMyData?: Maybe<MyData>;
|
|
86
146
|
sendToMonitor: Scalars['Int']['output'];
|
|
147
|
+
setMyAgree: Scalars['Boolean']['output'];
|
|
148
|
+
updateAutoSignUp: AdminAutoSignUp;
|
|
149
|
+
updateUser: AdminUsers;
|
|
150
|
+
};
|
|
151
|
+
export type MutationAddAutoSignUpArgs = {
|
|
152
|
+
address: Scalars['String']['input'];
|
|
153
|
+
note: Scalars['String']['input'];
|
|
154
|
+
poolzAmount: Scalars['Int']['input'];
|
|
87
155
|
};
|
|
88
156
|
export type MutationAddNonEvmWalletArgs = {
|
|
89
157
|
chainName: Scalars['String']['input'];
|
|
90
158
|
wallet: Scalars['String']['input'];
|
|
91
159
|
};
|
|
160
|
+
export type MutationAddUserArgs = {
|
|
161
|
+
roleId: Scalars['Int']['input'];
|
|
162
|
+
wallet: Scalars['String']['input'];
|
|
163
|
+
};
|
|
164
|
+
export type MutationAdminAddActionArgs = {
|
|
165
|
+
action: AdminAddAction;
|
|
166
|
+
};
|
|
167
|
+
export type MutationDeleteAutoSignUpArgs = {
|
|
168
|
+
address: Scalars['String']['input'];
|
|
169
|
+
};
|
|
170
|
+
export type MutationDeleteUserArgs = {
|
|
171
|
+
wallet: Scalars['String']['input'];
|
|
172
|
+
};
|
|
92
173
|
export type MutationGenerateTokenFromSignatureArgs = {
|
|
93
174
|
eip4361message: Scalars['String']['input'];
|
|
94
175
|
signature: Scalars['String']['input'];
|
|
95
176
|
};
|
|
96
|
-
export type MutationPutMyDataArgs = {
|
|
97
|
-
agree?: InputMaybe<Scalars['Boolean']['input']>;
|
|
98
|
-
nonEvmWallet?: InputMaybe<PutMyDataNonEvmWallet>;
|
|
99
|
-
};
|
|
100
177
|
export type MutationSendToMonitorArgs = {
|
|
101
178
|
input: Scalars['String']['input'];
|
|
102
179
|
};
|
|
180
|
+
export type MutationUpdateAutoSignUpArgs = {
|
|
181
|
+
address: Scalars['String']['input'];
|
|
182
|
+
};
|
|
183
|
+
export type MutationUpdateUserArgs = {
|
|
184
|
+
roleId: Scalars['Int']['input'];
|
|
185
|
+
wallet: Scalars['String']['input'];
|
|
186
|
+
};
|
|
103
187
|
export type MyData = {
|
|
104
188
|
__typename?: 'MyData';
|
|
105
189
|
Agree?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -114,33 +198,82 @@ export type NonEvmWallet = {
|
|
|
114
198
|
ChainName: Scalars['String']['output'];
|
|
115
199
|
Wallet: Scalars['String']['output'];
|
|
116
200
|
};
|
|
201
|
+
export type PoolxTokenomics = {
|
|
202
|
+
__typename?: 'PoolxTokenomics';
|
|
203
|
+
CirculatingSupply: Scalars['Float']['output'];
|
|
204
|
+
Data: PoolxTokenomicsData;
|
|
205
|
+
Locked: Scalars['Float']['output'];
|
|
206
|
+
Trade: PoolxTokenomicsTrade;
|
|
207
|
+
};
|
|
208
|
+
export type PoolxTokenomicsData = {
|
|
209
|
+
__typename?: 'PoolxTokenomicsData';
|
|
210
|
+
BuyBack: Scalars['Float']['output'];
|
|
211
|
+
DelayVault: Scalars['Float']['output'];
|
|
212
|
+
LockedDealV2: Scalars['Float']['output'];
|
|
213
|
+
Reserved: Scalars['Float']['output'];
|
|
214
|
+
TotalSupply: Scalars['Float']['output'];
|
|
215
|
+
};
|
|
216
|
+
export type PoolxTokenomicsTrade = {
|
|
217
|
+
__typename?: 'PoolxTokenomicsTrade';
|
|
218
|
+
GateIO: Scalars['Float']['output'];
|
|
219
|
+
Huobi: Scalars['Float']['output'];
|
|
220
|
+
Mexc: Scalars['Float']['output'];
|
|
221
|
+
PancakeSwapV2: Scalars['Float']['output'];
|
|
222
|
+
Sum: Scalars['Float']['output'];
|
|
223
|
+
};
|
|
117
224
|
export type PutMyDataNonEvmWallet = {
|
|
118
225
|
ChainName: Scalars['String']['input'];
|
|
119
226
|
NonEvmWallet: Scalars['String']['input'];
|
|
120
227
|
};
|
|
121
228
|
export type Query = {
|
|
122
229
|
__typename?: 'Query';
|
|
230
|
+
adminAutoSignUp: Array<Maybe<AdminAutoSignUp>>;
|
|
231
|
+
adminNonEvmWallet: Array<Maybe<AdminNonEvmWallet>>;
|
|
232
|
+
adminRpcWallets: Array<Maybe<RpcWallet>>;
|
|
233
|
+
adminUsers: Array<Maybe<AdminUsers>>;
|
|
234
|
+
/** @deprecated Use a new query 'poolxTokenomics'. */
|
|
123
235
|
circulatingSupply: Scalars['Float']['output'];
|
|
236
|
+
/** @deprecated Use a mutation 'generateTokenFromSignature'. */
|
|
124
237
|
generateToken: Scalars['String']['output'];
|
|
125
238
|
investedErc20: Array<Maybe<InvestedErc20>>;
|
|
239
|
+
/** @deprecated Use a new query 'myKYC'. */
|
|
126
240
|
kyc: Kyc;
|
|
127
241
|
leaderBoard: Array<Maybe<LeaderBoard>>;
|
|
128
|
-
myData
|
|
242
|
+
myData?: Maybe<MyData>;
|
|
243
|
+
myKYC: Kyc;
|
|
244
|
+
myRole: Scalars['String']['output'];
|
|
245
|
+
/** @deprecated Use a new query 'mySignup'. */
|
|
129
246
|
mySignUp: Array<Maybe<MySignUp>>;
|
|
247
|
+
mySignup: Array<Maybe<MySignUp>>;
|
|
248
|
+
poolxTokenomics: PoolxTokenomics;
|
|
130
249
|
signUp: Array<Maybe<SignUp>>;
|
|
131
250
|
signUpAllocation: Array<Maybe<SignUpAllocation>>;
|
|
132
251
|
signUpList: Array<Maybe<SignUpList>>;
|
|
133
252
|
signUpsTimes: Array<Maybe<SignUpsTimes>>;
|
|
134
253
|
status: Array<Maybe<Status>>;
|
|
135
|
-
statusSettings: StatusSettings;
|
|
136
254
|
time: Scalars['Int']['output'];
|
|
137
255
|
tokenNetAmounts: Array<Maybe<TokenNetAmounts>>;
|
|
138
256
|
tokenRefunds: Array<Maybe<TokenRefunds>>;
|
|
257
|
+
/** @deprecated Use a new query 'poolxTokenomics'. */
|
|
139
258
|
totalPoolzLocked: TotalPoolzLocked;
|
|
259
|
+
/** @deprecated Use a new query 'poolxTokenomics'. */
|
|
140
260
|
totalSupply: Scalars['Int']['output'];
|
|
261
|
+
uniqueUsers: UniqueUsers;
|
|
141
262
|
unlocks: Array<Maybe<Unlocks>>;
|
|
142
263
|
vaultOut: Array<Maybe<VaultOut>>;
|
|
143
264
|
};
|
|
265
|
+
export type QueryAdminAutoSignUpArgs = {
|
|
266
|
+
note?: InputMaybe<Scalars['String']['input']>;
|
|
267
|
+
};
|
|
268
|
+
export type QueryAdminNonEvmWalletArgs = {
|
|
269
|
+
chainName: Scalars['String']['input'];
|
|
270
|
+
};
|
|
271
|
+
export type QueryAdminRpcWalletsArgs = {
|
|
272
|
+
IDs: Array<InputMaybe<Scalars['Int']['input']>>;
|
|
273
|
+
};
|
|
274
|
+
export type QueryAdminUsersArgs = {
|
|
275
|
+
address?: InputMaybe<Scalars['String']['input']>;
|
|
276
|
+
};
|
|
144
277
|
export type QueryGenerateTokenArgs = {
|
|
145
278
|
eip4361message: Scalars['String']['input'];
|
|
146
279
|
signature: Scalars['String']['input'];
|
|
@@ -192,6 +325,11 @@ export type QueryVaultOutArgs = {
|
|
|
192
325
|
fromBlock?: InputMaybe<Scalars['Int']['input']>;
|
|
193
326
|
toBlock?: InputMaybe<Scalars['Int']['input']>;
|
|
194
327
|
};
|
|
328
|
+
export type RpcWallet = {
|
|
329
|
+
__typename?: 'RpcWallet';
|
|
330
|
+
Id: Scalars['Int']['output'];
|
|
331
|
+
Wallet: Scalars['String']['output'];
|
|
332
|
+
};
|
|
195
333
|
export type SignUp = {
|
|
196
334
|
__typename?: 'SignUp';
|
|
197
335
|
Address: Scalars['String']['output'];
|
|
@@ -219,9 +357,12 @@ export type SignUpsTimes = {
|
|
|
219
357
|
};
|
|
220
358
|
export type Status = {
|
|
221
359
|
__typename?: 'Status';
|
|
360
|
+
BlockPerSecond: Scalars['Float']['output'];
|
|
222
361
|
ChainId: Scalars['Int']['output'];
|
|
223
362
|
CovalentLastBlock: Scalars['Int']['output'];
|
|
224
363
|
Events?: Maybe<Array<Maybe<StatusEvents>>>;
|
|
364
|
+
SecondsToError: Scalars['Int']['output'];
|
|
365
|
+
SecondsToWarning: Scalars['Int']['output'];
|
|
225
366
|
};
|
|
226
367
|
export type StatusEvents = {
|
|
227
368
|
__typename?: 'StatusEvents';
|
|
@@ -230,17 +371,6 @@ export type StatusEvents = {
|
|
|
230
371
|
ResponseType: Scalars['String']['output'];
|
|
231
372
|
StartingBlock: Scalars['Int']['output'];
|
|
232
373
|
};
|
|
233
|
-
export type StatusSettings = {
|
|
234
|
-
__typename?: 'StatusSettings';
|
|
235
|
-
Chains: Array<Maybe<StatusSettingsChains>>;
|
|
236
|
-
SecondsToError: Scalars['Int']['output'];
|
|
237
|
-
SecondsToWarning: Scalars['Int']['output'];
|
|
238
|
-
};
|
|
239
|
-
export type StatusSettingsChains = {
|
|
240
|
-
__typename?: 'StatusSettingsChains';
|
|
241
|
-
BlockPerSecond: Scalars['Float']['output'];
|
|
242
|
-
ChainId: Scalars['Int']['output'];
|
|
243
|
-
};
|
|
244
374
|
export type TokenNetAmounts = {
|
|
245
375
|
__typename?: 'TokenNetAmounts';
|
|
246
376
|
Address: Scalars['String']['output'];
|
|
@@ -270,6 +400,15 @@ export type TotalPoolzLockedData = {
|
|
|
270
400
|
LockedDealV2: Scalars['Float']['output'];
|
|
271
401
|
Reserved: Scalars['Float']['output'];
|
|
272
402
|
};
|
|
403
|
+
export type UniqueUsers = {
|
|
404
|
+
__typename?: 'UniqueUsers';
|
|
405
|
+
LDv2NewPoolCreated: Scalars['Int']['output'];
|
|
406
|
+
LDv2TransferOut: Scalars['Int']['output'];
|
|
407
|
+
SignUpPool: Scalars['Int']['output'];
|
|
408
|
+
ThePoolzNewInvestorEvents: Scalars['Int']['output'];
|
|
409
|
+
TotalUniqueUsers: Scalars['Int']['output'];
|
|
410
|
+
VaultValuesChanged: Scalars['Int']['output'];
|
|
411
|
+
};
|
|
273
412
|
export type Unlocks = {
|
|
274
413
|
__typename?: 'Unlocks';
|
|
275
414
|
Timespan: Scalars['Int']['output'];
|
|
@@ -312,7 +451,7 @@ export type KycQueryVariables = Exact<{
|
|
|
312
451
|
}>;
|
|
313
452
|
export type KycQuery = {
|
|
314
453
|
__typename?: 'Query';
|
|
315
|
-
|
|
454
|
+
myKYC: {
|
|
316
455
|
__typename?: 'Kyc';
|
|
317
456
|
data: {
|
|
318
457
|
__typename?: 'KycData';
|
|
@@ -343,6 +482,64 @@ export type GetTotalSupplyQuery = {
|
|
|
343
482
|
__typename?: 'Query';
|
|
344
483
|
totalSupply: number;
|
|
345
484
|
};
|
|
485
|
+
export type GetLeaderboardByAddressQueryVariables = Exact<{
|
|
486
|
+
address?: InputMaybe<Scalars['String']['input']>;
|
|
487
|
+
}>;
|
|
488
|
+
export type GetLeaderboardByAddressQuery = {
|
|
489
|
+
__typename?: 'Query';
|
|
490
|
+
leaderBoard: Array<{
|
|
491
|
+
__typename?: 'LeaderBoard';
|
|
492
|
+
Amount: number;
|
|
493
|
+
Owner: string;
|
|
494
|
+
Rank: number;
|
|
495
|
+
} | null>;
|
|
496
|
+
};
|
|
497
|
+
export type GetLeaderboardQueryVariables = Exact<{
|
|
498
|
+
[key: string]: never;
|
|
499
|
+
}>;
|
|
500
|
+
export type GetLeaderboardQuery = {
|
|
501
|
+
__typename?: 'Query';
|
|
502
|
+
leaderBoard: Array<{
|
|
503
|
+
__typename?: 'LeaderBoard';
|
|
504
|
+
Rank: number;
|
|
505
|
+
Owner: string;
|
|
506
|
+
Amount: number;
|
|
507
|
+
} | null>;
|
|
508
|
+
};
|
|
509
|
+
export type SetMyAgreeMutationVariables = Exact<{
|
|
510
|
+
[key: string]: never;
|
|
511
|
+
}>;
|
|
512
|
+
export type SetMyAgreeMutation = {
|
|
513
|
+
__typename?: 'Mutation';
|
|
514
|
+
setMyAgree: boolean;
|
|
515
|
+
};
|
|
516
|
+
export type MyDataQueryVariables = Exact<{
|
|
517
|
+
[key: string]: never;
|
|
518
|
+
}>;
|
|
519
|
+
export type MyDataQuery = {
|
|
520
|
+
__typename?: 'Query';
|
|
521
|
+
myData?: {
|
|
522
|
+
__typename?: 'MyData';
|
|
523
|
+
Agree?: boolean | null;
|
|
524
|
+
NonEvmWallet?: Array<{
|
|
525
|
+
__typename?: 'NonEvmWallet';
|
|
526
|
+
ChainName: string;
|
|
527
|
+
Wallet: string;
|
|
528
|
+
} | null> | null;
|
|
529
|
+
} | null;
|
|
530
|
+
};
|
|
531
|
+
export type AddNonEvmWalletMutationVariables = Exact<{
|
|
532
|
+
chainName: Scalars['String']['input'];
|
|
533
|
+
wallet: Scalars['String']['input'];
|
|
534
|
+
}>;
|
|
535
|
+
export type AddNonEvmWalletMutation = {
|
|
536
|
+
__typename?: 'Mutation';
|
|
537
|
+
addNonEvmWallet: {
|
|
538
|
+
__typename?: 'NonEvmWallet';
|
|
539
|
+
ChainName: string;
|
|
540
|
+
Wallet: string;
|
|
541
|
+
};
|
|
542
|
+
};
|
|
346
543
|
export declare const GetCirculatingSupplyDocument: DocumentNode<GetCirculatingSupplyQuery, Exact<{
|
|
347
544
|
[key: string]: never;
|
|
348
545
|
}>>;
|
|
@@ -362,3 +559,19 @@ export declare const GetTotalPoolzDocument: DocumentNode<GetTotalPoolzQuery, Exa
|
|
|
362
559
|
export declare const GetTotalSupplyDocument: DocumentNode<GetTotalSupplyQuery, Exact<{
|
|
363
560
|
[key: string]: never;
|
|
364
561
|
}>>;
|
|
562
|
+
export declare const GetLeaderboardByAddressDocument: DocumentNode<GetLeaderboardByAddressQuery, Exact<{
|
|
563
|
+
address?: InputMaybe<string> | undefined;
|
|
564
|
+
}>>;
|
|
565
|
+
export declare const GetLeaderboardDocument: DocumentNode<GetLeaderboardQuery, Exact<{
|
|
566
|
+
[key: string]: never;
|
|
567
|
+
}>>;
|
|
568
|
+
export declare const SetMyAgreeDocument: DocumentNode<SetMyAgreeMutation, Exact<{
|
|
569
|
+
[key: string]: never;
|
|
570
|
+
}>>;
|
|
571
|
+
export declare const MyDataDocument: DocumentNode<MyDataQuery, Exact<{
|
|
572
|
+
[key: string]: never;
|
|
573
|
+
}>>;
|
|
574
|
+
export declare const AddNonEvmWalletDocument: DocumentNode<AddNonEvmWalletMutation, Exact<{
|
|
575
|
+
chainName: Scalars['String']['input'];
|
|
576
|
+
wallet: Scalars['String']['input'];
|
|
577
|
+
}>>;
|