@tokemak/graph-cli 0.0.4 → 0.0.6
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.d.mts +591 -0
- package/dist/index.d.ts +591 -1
- package/dist/index.js +3102 -4
- package/dist/index.mjs +3073 -0
- package/generated/arbitrum.ts +12671 -8242
- package/generated/base.ts +12671 -8242
- package/generated/eth.ts +12671 -8242
- package/generated/linea.ts +32662 -0
- package/generated/plasma.ts +12671 -8242
- package/generated/sonic.ts +12671 -8242
- package/package.json +5 -3
- package/dist/clients.d.ts +0 -132
- package/dist/clients.js +0 -59
- package/dist/codegen.d.ts +0 -3
- package/dist/codegen.js +0 -51
- package/dist/generated/arbitrum.d.ts +0 -26677
- package/dist/generated/arbitrum.js +0 -3245
- package/dist/generated/base.d.ts +0 -26677
- package/dist/generated/base.js +0 -3245
- package/dist/generated/eth.d.ts +0 -26677
- package/dist/generated/eth.js +0 -3245
- package/dist/generated/plasma.d.ts +0 -26677
- package/dist/generated/plasma.js +0 -3245
- package/dist/generated/plasmaTestnet.d.ts +0 -26687
- package/dist/generated/plasmaTestnet.js +0 -3253
- package/dist/generated/sonic.d.ts +0 -26677
- package/dist/generated/sonic.js +0 -3245
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,591 @@
|
|
|
1
|
+
type Maybe<T> = T | null;
|
|
2
|
+
type InputMaybe<T> = Maybe<T>;
|
|
3
|
+
type Exact<T extends {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}> = {
|
|
6
|
+
[K in keyof T]: T[K];
|
|
7
|
+
};
|
|
8
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
9
|
+
type Scalars = {
|
|
10
|
+
ID: {
|
|
11
|
+
input: string;
|
|
12
|
+
output: string;
|
|
13
|
+
};
|
|
14
|
+
String: {
|
|
15
|
+
input: string;
|
|
16
|
+
output: string;
|
|
17
|
+
};
|
|
18
|
+
Boolean: {
|
|
19
|
+
input: boolean;
|
|
20
|
+
output: boolean;
|
|
21
|
+
};
|
|
22
|
+
Int: {
|
|
23
|
+
input: number;
|
|
24
|
+
output: number;
|
|
25
|
+
};
|
|
26
|
+
Float: {
|
|
27
|
+
input: number;
|
|
28
|
+
output: number;
|
|
29
|
+
};
|
|
30
|
+
BigDecimal: {
|
|
31
|
+
input: any;
|
|
32
|
+
output: any;
|
|
33
|
+
};
|
|
34
|
+
BigInt: {
|
|
35
|
+
input: any;
|
|
36
|
+
output: any;
|
|
37
|
+
};
|
|
38
|
+
Bytes: {
|
|
39
|
+
input: any;
|
|
40
|
+
output: any;
|
|
41
|
+
};
|
|
42
|
+
Int8: {
|
|
43
|
+
input: any;
|
|
44
|
+
output: any;
|
|
45
|
+
};
|
|
46
|
+
Timestamp: {
|
|
47
|
+
input: any;
|
|
48
|
+
output: any;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Type of activity
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
declare enum UserActivityType {
|
|
56
|
+
ExtendStake = "ExtendStake",
|
|
57
|
+
Stake = "Stake",
|
|
58
|
+
StakingRewardsClaimed = "StakingRewardsClaimed",
|
|
59
|
+
StakingRewardsCollected = "StakingRewardsCollected",
|
|
60
|
+
Unstake = "Unstake",
|
|
61
|
+
VaultDeposit = "VaultDeposit",
|
|
62
|
+
VaultRewardStake = "VaultRewardStake",
|
|
63
|
+
VaultRewardUnstake = "VaultRewardUnstake",
|
|
64
|
+
VaultRewardsClaimed = "VaultRewardsClaimed",
|
|
65
|
+
VaultRewardsCollected = "VaultRewardsCollected",
|
|
66
|
+
VaultWithdraw = "VaultWithdraw"
|
|
67
|
+
}
|
|
68
|
+
type GetAllAutopoolRebalancesQueryVariables = Exact<{
|
|
69
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
70
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
71
|
+
}>;
|
|
72
|
+
type GetAllAutopoolRebalancesQuery = {
|
|
73
|
+
__typename?: 'Query';
|
|
74
|
+
autopoolRebalances: Array<{
|
|
75
|
+
__typename?: 'AutopoolRebalance';
|
|
76
|
+
autopool: any;
|
|
77
|
+
timestamp: any;
|
|
78
|
+
blockNumber: any;
|
|
79
|
+
tokenOutValueInEth: any;
|
|
80
|
+
tokenOutValueBaseAsset: any;
|
|
81
|
+
tokenOut: {
|
|
82
|
+
__typename?: 'RefToken';
|
|
83
|
+
id: any;
|
|
84
|
+
symbol?: string | null;
|
|
85
|
+
decimals: any;
|
|
86
|
+
};
|
|
87
|
+
}>;
|
|
88
|
+
};
|
|
89
|
+
type GetAutopoolDayDataQueryVariables = Exact<{
|
|
90
|
+
address: Scalars['String']['input'];
|
|
91
|
+
timestamp: Scalars['BigInt']['input'];
|
|
92
|
+
}>;
|
|
93
|
+
type GetAutopoolDayDataQuery = {
|
|
94
|
+
__typename?: 'Query';
|
|
95
|
+
autopoolDayDatas: Array<{
|
|
96
|
+
__typename?: 'AutopoolDayData';
|
|
97
|
+
totalSupply: any;
|
|
98
|
+
nav: any;
|
|
99
|
+
date: string;
|
|
100
|
+
timestamp: any;
|
|
101
|
+
id: string;
|
|
102
|
+
autopoolApy?: any | null;
|
|
103
|
+
autopoolDay7MAApy?: any | null;
|
|
104
|
+
autopoolDay30MAApy?: any | null;
|
|
105
|
+
rewarderApy?: any | null;
|
|
106
|
+
rewarderDay7MAApy?: any | null;
|
|
107
|
+
rewarderDay30MAApy?: any | null;
|
|
108
|
+
baseAsset: {
|
|
109
|
+
__typename?: 'Token';
|
|
110
|
+
id: any;
|
|
111
|
+
decimals: any;
|
|
112
|
+
};
|
|
113
|
+
}>;
|
|
114
|
+
};
|
|
115
|
+
type GetAutopoolRebalancesQueryVariables = Exact<{
|
|
116
|
+
address: Scalars['Bytes']['input'];
|
|
117
|
+
first?: Scalars['Int']['input'];
|
|
118
|
+
skip?: Scalars['Int']['input'];
|
|
119
|
+
}>;
|
|
120
|
+
type GetAutopoolRebalancesQuery = {
|
|
121
|
+
__typename?: 'Query';
|
|
122
|
+
autopoolRebalances: Array<{
|
|
123
|
+
__typename?: 'AutopoolRebalance';
|
|
124
|
+
autopool: any;
|
|
125
|
+
timestamp: any;
|
|
126
|
+
logIndex: any;
|
|
127
|
+
transactionHash: any;
|
|
128
|
+
blockNumber: any;
|
|
129
|
+
tokenOutAmount: any;
|
|
130
|
+
tokenOutValueInEth: any;
|
|
131
|
+
tokenOutValueBaseAsset: any;
|
|
132
|
+
tokenOutValueDenominatedIn: any;
|
|
133
|
+
tokenInAmount: any;
|
|
134
|
+
tokenInValueInEth: any;
|
|
135
|
+
tokenInValueBaseAsset: any;
|
|
136
|
+
tokenInValueDenominatedIn: any;
|
|
137
|
+
destinationOutName: string;
|
|
138
|
+
destinationOutAddress: any;
|
|
139
|
+
destinationOutExchangeName: string;
|
|
140
|
+
destinationInName: string;
|
|
141
|
+
destinationInAddress: any;
|
|
142
|
+
destinationInExchangeName: string;
|
|
143
|
+
tokenOut: {
|
|
144
|
+
__typename?: 'RefToken';
|
|
145
|
+
id: any;
|
|
146
|
+
symbol?: string | null;
|
|
147
|
+
};
|
|
148
|
+
tokenIn: {
|
|
149
|
+
__typename?: 'RefToken';
|
|
150
|
+
id: any;
|
|
151
|
+
symbol?: string | null;
|
|
152
|
+
};
|
|
153
|
+
destinationOutUnderlyingTokens: Array<{
|
|
154
|
+
__typename?: 'RefToken';
|
|
155
|
+
id: any;
|
|
156
|
+
symbol?: string | null;
|
|
157
|
+
}>;
|
|
158
|
+
destinationInUnderlyingTokens: Array<{
|
|
159
|
+
__typename?: 'RefToken';
|
|
160
|
+
id: any;
|
|
161
|
+
symbol?: string | null;
|
|
162
|
+
}>;
|
|
163
|
+
}>;
|
|
164
|
+
};
|
|
165
|
+
type GetAutopoolsAprQueryVariables = Exact<{
|
|
166
|
+
[key: string]: never;
|
|
167
|
+
}>;
|
|
168
|
+
type GetAutopoolsAprQuery = {
|
|
169
|
+
__typename?: 'Query';
|
|
170
|
+
autopools: Array<{
|
|
171
|
+
__typename?: 'Autopool';
|
|
172
|
+
id: any;
|
|
173
|
+
currentApy?: any | null;
|
|
174
|
+
day7MAApy?: any | null;
|
|
175
|
+
day30MAApy?: any | null;
|
|
176
|
+
rewarder?: {
|
|
177
|
+
__typename?: 'Rewarder';
|
|
178
|
+
id: any;
|
|
179
|
+
currentApy?: any | null;
|
|
180
|
+
day7MAApy?: any | null;
|
|
181
|
+
day30MAApy?: any | null;
|
|
182
|
+
currentRewardDuration?: any | null;
|
|
183
|
+
currentRewardAmount?: any | null;
|
|
184
|
+
extraRewarders?: Array<{
|
|
185
|
+
__typename?: 'Rewarder';
|
|
186
|
+
id: any;
|
|
187
|
+
currentApy?: any | null;
|
|
188
|
+
rewardToken?: {
|
|
189
|
+
__typename?: 'RefToken';
|
|
190
|
+
symbol?: string | null;
|
|
191
|
+
id: any;
|
|
192
|
+
} | null;
|
|
193
|
+
}> | null;
|
|
194
|
+
} | null;
|
|
195
|
+
denominatedIn: {
|
|
196
|
+
__typename?: 'Token';
|
|
197
|
+
id: any;
|
|
198
|
+
decimals: any;
|
|
199
|
+
symbol?: string | null;
|
|
200
|
+
};
|
|
201
|
+
}>;
|
|
202
|
+
};
|
|
203
|
+
type GetAutopoolsDayDataQueryVariables = Exact<{
|
|
204
|
+
timestamp: Scalars['BigInt']['input'];
|
|
205
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
206
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
207
|
+
}>;
|
|
208
|
+
type GetAutopoolsDayDataQuery = {
|
|
209
|
+
__typename?: 'Query';
|
|
210
|
+
autopoolDayDatas: Array<{
|
|
211
|
+
__typename?: 'AutopoolDayData';
|
|
212
|
+
totalSupply: any;
|
|
213
|
+
nav: any;
|
|
214
|
+
date: string;
|
|
215
|
+
timestamp: any;
|
|
216
|
+
id: string;
|
|
217
|
+
}>;
|
|
218
|
+
};
|
|
219
|
+
type GetAutopoolsInactiveDestinationsQueryVariables = Exact<{
|
|
220
|
+
[key: string]: never;
|
|
221
|
+
}>;
|
|
222
|
+
type GetAutopoolsInactiveDestinationsQuery = {
|
|
223
|
+
__typename?: 'Query';
|
|
224
|
+
autopools: Array<{
|
|
225
|
+
__typename?: 'Autopool';
|
|
226
|
+
id: any;
|
|
227
|
+
inactiveDestinations: Array<{
|
|
228
|
+
__typename?: 'RemovedDestination';
|
|
229
|
+
vaultAddress: any;
|
|
230
|
+
exchangeName: string;
|
|
231
|
+
totalSupply: any;
|
|
232
|
+
debtValueHeldByVault: any;
|
|
233
|
+
lastSnapshotTimestamp: any;
|
|
234
|
+
dexPool: any;
|
|
235
|
+
lpTokenAddress: any;
|
|
236
|
+
lpTokenSymbol: string;
|
|
237
|
+
lpTokenName: string;
|
|
238
|
+
compositeReturn: any;
|
|
239
|
+
reservesInEth: Array<any>;
|
|
240
|
+
underlyingTokens: Array<{
|
|
241
|
+
__typename?: 'RemovedDestinationsUnderlyingTokens';
|
|
242
|
+
tokenAddress: any;
|
|
243
|
+
}>;
|
|
244
|
+
underlyingTokenSymbols: Array<{
|
|
245
|
+
__typename?: 'RemovedDestinationsUnderlyingTokenSymbols';
|
|
246
|
+
symbol: string;
|
|
247
|
+
}>;
|
|
248
|
+
underlyingTokenValueHeld: Array<{
|
|
249
|
+
__typename?: 'RemovedDestinationsUnderlyingValueHeld';
|
|
250
|
+
valueHeldInEth: any;
|
|
251
|
+
}>;
|
|
252
|
+
}>;
|
|
253
|
+
}>;
|
|
254
|
+
};
|
|
255
|
+
type GetAutopoolsRebalancesQueryVariables = Exact<{
|
|
256
|
+
[key: string]: never;
|
|
257
|
+
}>;
|
|
258
|
+
type GetAutopoolsRebalancesQuery = {
|
|
259
|
+
__typename?: 'Query';
|
|
260
|
+
autopools: Array<{
|
|
261
|
+
__typename?: 'Autopool';
|
|
262
|
+
id: any;
|
|
263
|
+
rebalances: Array<{
|
|
264
|
+
__typename?: 'Rebalance';
|
|
265
|
+
autopool: any;
|
|
266
|
+
blockNumber: any;
|
|
267
|
+
hash: string;
|
|
268
|
+
id: string;
|
|
269
|
+
ix: any;
|
|
270
|
+
timestamp: any;
|
|
271
|
+
outData?: {
|
|
272
|
+
__typename?: 'RebalanceInOut';
|
|
273
|
+
id: string;
|
|
274
|
+
exchangeName: string;
|
|
275
|
+
ethValue: any;
|
|
276
|
+
destination: any;
|
|
277
|
+
underlyer: {
|
|
278
|
+
__typename?: 'RefToken';
|
|
279
|
+
decimals: any;
|
|
280
|
+
id: any;
|
|
281
|
+
name?: string | null;
|
|
282
|
+
symbol?: string | null;
|
|
283
|
+
};
|
|
284
|
+
tokens: Array<{
|
|
285
|
+
__typename?: 'RefToken';
|
|
286
|
+
decimals: any;
|
|
287
|
+
id: any;
|
|
288
|
+
name?: string | null;
|
|
289
|
+
symbol?: string | null;
|
|
290
|
+
}>;
|
|
291
|
+
} | null;
|
|
292
|
+
inData?: {
|
|
293
|
+
__typename?: 'RebalanceInOut';
|
|
294
|
+
ethValue: any;
|
|
295
|
+
exchangeName: string;
|
|
296
|
+
id: string;
|
|
297
|
+
destination: any;
|
|
298
|
+
underlyer: {
|
|
299
|
+
__typename?: 'RefToken';
|
|
300
|
+
decimals: any;
|
|
301
|
+
id: any;
|
|
302
|
+
name?: string | null;
|
|
303
|
+
symbol?: string | null;
|
|
304
|
+
};
|
|
305
|
+
tokens: Array<{
|
|
306
|
+
__typename?: 'RefToken';
|
|
307
|
+
decimals: any;
|
|
308
|
+
id: any;
|
|
309
|
+
name?: string | null;
|
|
310
|
+
symbol?: string | null;
|
|
311
|
+
}>;
|
|
312
|
+
} | null;
|
|
313
|
+
}>;
|
|
314
|
+
}>;
|
|
315
|
+
};
|
|
316
|
+
type GetLatestSubgraphTimestampQueryVariables = Exact<{
|
|
317
|
+
[key: string]: never;
|
|
318
|
+
}>;
|
|
319
|
+
type GetLatestSubgraphTimestampQuery = {
|
|
320
|
+
__typename?: 'Query';
|
|
321
|
+
_meta?: {
|
|
322
|
+
__typename?: '_Meta_';
|
|
323
|
+
block: {
|
|
324
|
+
__typename?: '_Block_';
|
|
325
|
+
timestamp?: number | null;
|
|
326
|
+
};
|
|
327
|
+
} | null;
|
|
328
|
+
};
|
|
329
|
+
type GetMutlipleAutopoolRebalancesQueryVariables = Exact<{
|
|
330
|
+
addresses: Array<Scalars['Bytes']['input']> | Scalars['Bytes']['input'];
|
|
331
|
+
}>;
|
|
332
|
+
type GetMutlipleAutopoolRebalancesQuery = {
|
|
333
|
+
__typename?: 'Query';
|
|
334
|
+
autopools: Array<{
|
|
335
|
+
__typename?: 'Autopool';
|
|
336
|
+
id: any;
|
|
337
|
+
rebalances: Array<{
|
|
338
|
+
__typename?: 'Rebalance';
|
|
339
|
+
autopool: any;
|
|
340
|
+
blockNumber: any;
|
|
341
|
+
hash: string;
|
|
342
|
+
id: string;
|
|
343
|
+
ix: any;
|
|
344
|
+
timestamp: any;
|
|
345
|
+
outData?: {
|
|
346
|
+
__typename?: 'RebalanceInOut';
|
|
347
|
+
id: string;
|
|
348
|
+
exchangeName: string;
|
|
349
|
+
ethValue: any;
|
|
350
|
+
destination: any;
|
|
351
|
+
underlyer: {
|
|
352
|
+
__typename?: 'RefToken';
|
|
353
|
+
decimals: any;
|
|
354
|
+
id: any;
|
|
355
|
+
name?: string | null;
|
|
356
|
+
symbol?: string | null;
|
|
357
|
+
};
|
|
358
|
+
tokens: Array<{
|
|
359
|
+
__typename?: 'RefToken';
|
|
360
|
+
decimals: any;
|
|
361
|
+
id: any;
|
|
362
|
+
name?: string | null;
|
|
363
|
+
symbol?: string | null;
|
|
364
|
+
}>;
|
|
365
|
+
} | null;
|
|
366
|
+
inData?: {
|
|
367
|
+
__typename?: 'RebalanceInOut';
|
|
368
|
+
ethValue: any;
|
|
369
|
+
exchangeName: string;
|
|
370
|
+
id: string;
|
|
371
|
+
destination: any;
|
|
372
|
+
underlyer: {
|
|
373
|
+
__typename?: 'RefToken';
|
|
374
|
+
decimals: any;
|
|
375
|
+
id: any;
|
|
376
|
+
name?: string | null;
|
|
377
|
+
symbol?: string | null;
|
|
378
|
+
};
|
|
379
|
+
tokens: Array<{
|
|
380
|
+
__typename?: 'RefToken';
|
|
381
|
+
decimals: any;
|
|
382
|
+
id: any;
|
|
383
|
+
name?: string | null;
|
|
384
|
+
symbol?: string | null;
|
|
385
|
+
}>;
|
|
386
|
+
} | null;
|
|
387
|
+
}>;
|
|
388
|
+
}>;
|
|
389
|
+
};
|
|
390
|
+
type GetSTokeRewardsQueryVariables = Exact<{
|
|
391
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
392
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
393
|
+
}>;
|
|
394
|
+
type GetSTokeRewardsQuery = {
|
|
395
|
+
__typename?: 'Query';
|
|
396
|
+
poolRewardsBalances: Array<{
|
|
397
|
+
__typename?: 'PoolRewardsBalance';
|
|
398
|
+
id: any;
|
|
399
|
+
balance: any;
|
|
400
|
+
balanceUSD: any;
|
|
401
|
+
currentAprPerCredit?: any | null;
|
|
402
|
+
}>;
|
|
403
|
+
poolRewardsBalanceDayDatas: Array<{
|
|
404
|
+
__typename?: 'PoolRewardsBalanceDayData';
|
|
405
|
+
id: string;
|
|
406
|
+
earned: any;
|
|
407
|
+
earnedUSD: any;
|
|
408
|
+
balance: any;
|
|
409
|
+
balanceUSD: any;
|
|
410
|
+
dayAprPerCredit: any;
|
|
411
|
+
timestamp: any;
|
|
412
|
+
}>;
|
|
413
|
+
};
|
|
414
|
+
type GetSTokeVotesQueryVariables = Exact<{
|
|
415
|
+
[key: string]: never;
|
|
416
|
+
}>;
|
|
417
|
+
type GetSTokeVotesQuery = {
|
|
418
|
+
__typename?: 'Query';
|
|
419
|
+
voteStatuses: Array<{
|
|
420
|
+
__typename?: 'VoteStatus';
|
|
421
|
+
id: string;
|
|
422
|
+
pools: Array<any>;
|
|
423
|
+
points: Array<any>;
|
|
424
|
+
}>;
|
|
425
|
+
accTokeVoteWeights: Array<{
|
|
426
|
+
__typename?: 'AccTokeVoteWeight';
|
|
427
|
+
id: string;
|
|
428
|
+
voted: any;
|
|
429
|
+
notVoted: any;
|
|
430
|
+
}>;
|
|
431
|
+
};
|
|
432
|
+
type GetTopAutopoolHoldersQueryVariables = Exact<{
|
|
433
|
+
address?: InputMaybe<Scalars['Bytes']['input']>;
|
|
434
|
+
}>;
|
|
435
|
+
type GetTopAutopoolHoldersQuery = {
|
|
436
|
+
__typename?: 'Query';
|
|
437
|
+
holders: Array<{
|
|
438
|
+
__typename?: 'Holder';
|
|
439
|
+
sharesHeld: any;
|
|
440
|
+
user: any;
|
|
441
|
+
lastUpdated: any;
|
|
442
|
+
}>;
|
|
443
|
+
};
|
|
444
|
+
type GetUserActivityQueryVariables = Exact<{
|
|
445
|
+
address: Scalars['Bytes']['input'];
|
|
446
|
+
}>;
|
|
447
|
+
type GetUserActivityQuery = {
|
|
448
|
+
__typename?: 'Query';
|
|
449
|
+
userActivities: Array<{
|
|
450
|
+
__typename?: 'UserActivity';
|
|
451
|
+
id: string;
|
|
452
|
+
timestamp: any;
|
|
453
|
+
type: UserActivityType;
|
|
454
|
+
data: string;
|
|
455
|
+
}>;
|
|
456
|
+
};
|
|
457
|
+
type GetUserBalanceChangeHistoryQueryVariables = Exact<{
|
|
458
|
+
userAddress: Scalars['Bytes']['input'];
|
|
459
|
+
first: Scalars['Int']['input'];
|
|
460
|
+
skip: Scalars['Int']['input'];
|
|
461
|
+
vaultAddress?: InputMaybe<Scalars['Bytes']['input']>;
|
|
462
|
+
}>;
|
|
463
|
+
type GetUserBalanceChangeHistoryQuery = {
|
|
464
|
+
__typename?: 'Query';
|
|
465
|
+
userAutopoolBalanceChanges: Array<{
|
|
466
|
+
__typename?: 'UserAutopoolBalanceChange';
|
|
467
|
+
vaultAddress: any;
|
|
468
|
+
timestamp: any;
|
|
469
|
+
items: Array<{
|
|
470
|
+
__typename?: 'UserAutopoolBalanceChangeItem';
|
|
471
|
+
shareChange: any;
|
|
472
|
+
assetChange: any;
|
|
473
|
+
staked: boolean;
|
|
474
|
+
}>;
|
|
475
|
+
}>;
|
|
476
|
+
};
|
|
477
|
+
type GetUserSTokeBalanceQueryVariables = Exact<{
|
|
478
|
+
address: Scalars['ID']['input'];
|
|
479
|
+
}>;
|
|
480
|
+
type GetUserSTokeBalanceQuery = {
|
|
481
|
+
__typename?: 'Query';
|
|
482
|
+
accountBalanceV1S: Array<{
|
|
483
|
+
__typename?: 'AccountBalanceV1';
|
|
484
|
+
id: string;
|
|
485
|
+
amount: any;
|
|
486
|
+
points: any;
|
|
487
|
+
cycleStartPoints: any;
|
|
488
|
+
cycleStartBalance: any;
|
|
489
|
+
cycleStartBalanceIndex: any;
|
|
490
|
+
}>;
|
|
491
|
+
};
|
|
492
|
+
type GetUserSTokeVotesQueryVariables = Exact<{
|
|
493
|
+
address: Scalars['ID']['input'];
|
|
494
|
+
}>;
|
|
495
|
+
type GetUserSTokeVotesQuery = {
|
|
496
|
+
__typename?: 'Query';
|
|
497
|
+
userVotes: Array<{
|
|
498
|
+
__typename?: 'UserVote';
|
|
499
|
+
id: string;
|
|
500
|
+
weights: Array<any>;
|
|
501
|
+
pools: Array<any>;
|
|
502
|
+
}>;
|
|
503
|
+
accountBalanceV1S: Array<{
|
|
504
|
+
__typename?: 'AccountBalanceV1';
|
|
505
|
+
id: string;
|
|
506
|
+
amount: any;
|
|
507
|
+
points: any;
|
|
508
|
+
cycleStartPoints: any;
|
|
509
|
+
cycleStartBalance: any;
|
|
510
|
+
cycleStartBalanceIndex: any;
|
|
511
|
+
}>;
|
|
512
|
+
};
|
|
513
|
+
type GetUserVaultInfoQueryVariables = Exact<{
|
|
514
|
+
address: Scalars['ID']['input'];
|
|
515
|
+
}>;
|
|
516
|
+
type GetUserVaultInfoQuery = {
|
|
517
|
+
__typename?: 'Query';
|
|
518
|
+
userInfo?: {
|
|
519
|
+
__typename?: 'UserInfo';
|
|
520
|
+
vaults: Array<{
|
|
521
|
+
__typename?: 'UserVault';
|
|
522
|
+
vaultAddress: any;
|
|
523
|
+
totalShares: any;
|
|
524
|
+
walletShares: any;
|
|
525
|
+
stakedShares: any;
|
|
526
|
+
rewardsClaimed: any;
|
|
527
|
+
}>;
|
|
528
|
+
} | null;
|
|
529
|
+
};
|
|
530
|
+
type GetUserVaultsDayDataQueryVariables = Exact<{
|
|
531
|
+
address: Scalars['Bytes']['input'];
|
|
532
|
+
timestamp: Scalars['BigInt']['input'];
|
|
533
|
+
}>;
|
|
534
|
+
type GetUserVaultsDayDataQuery = {
|
|
535
|
+
__typename?: 'Query';
|
|
536
|
+
userVaultDayDatas: Array<{
|
|
537
|
+
__typename?: 'UserVaultDayData';
|
|
538
|
+
date: string;
|
|
539
|
+
vaultAddress: any;
|
|
540
|
+
totalShares: any;
|
|
541
|
+
rewardsClaimed: any;
|
|
542
|
+
timestamp?: any | null;
|
|
543
|
+
}>;
|
|
544
|
+
};
|
|
545
|
+
type GetVaultAddedsQueryVariables = Exact<{
|
|
546
|
+
[key: string]: never;
|
|
547
|
+
}>;
|
|
548
|
+
type GetVaultAddedsQuery = {
|
|
549
|
+
__typename?: 'Query';
|
|
550
|
+
vaultAddeds: Array<{
|
|
551
|
+
__typename?: 'VaultAdded';
|
|
552
|
+
vault: any;
|
|
553
|
+
blockTimestamp: any;
|
|
554
|
+
}>;
|
|
555
|
+
};
|
|
556
|
+
type GetTokenValueDayDatasQueryVariables = Exact<{
|
|
557
|
+
tokenAddress: Scalars['String']['input'];
|
|
558
|
+
}>;
|
|
559
|
+
type GetTokenValueDayDatasQuery = {
|
|
560
|
+
__typename?: 'Query';
|
|
561
|
+
tokenValueDayDatas: Array<{
|
|
562
|
+
__typename?: 'TokenValueDayData';
|
|
563
|
+
lastSnapshotTimestamp: any;
|
|
564
|
+
priceInUsd: any;
|
|
565
|
+
}>;
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
declare const getSdkByChainId: (chainId: number) => {
|
|
569
|
+
GetAllAutopoolRebalances(variables?: GetAllAutopoolRebalancesQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetAllAutopoolRebalancesQuery>;
|
|
570
|
+
GetAutopoolDayData(variables: GetAutopoolDayDataQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetAutopoolDayDataQuery>;
|
|
571
|
+
GetAutopoolRebalances(variables: GetAutopoolRebalancesQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetAutopoolRebalancesQuery>;
|
|
572
|
+
GetAutopoolsApr(variables?: GetAutopoolsAprQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetAutopoolsAprQuery>;
|
|
573
|
+
GetAutopoolsDayData(variables: GetAutopoolsDayDataQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetAutopoolsDayDataQuery>;
|
|
574
|
+
GetAutopoolsInactiveDestinations(variables?: GetAutopoolsInactiveDestinationsQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetAutopoolsInactiveDestinationsQuery>;
|
|
575
|
+
GetAutopoolsRebalances(variables?: GetAutopoolsRebalancesQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetAutopoolsRebalancesQuery>;
|
|
576
|
+
GetLatestSubgraphTimestamp(variables?: GetLatestSubgraphTimestampQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetLatestSubgraphTimestampQuery>;
|
|
577
|
+
GetMutlipleAutopoolRebalances(variables: GetMutlipleAutopoolRebalancesQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetMutlipleAutopoolRebalancesQuery>;
|
|
578
|
+
GetSTokeRewards(variables?: GetSTokeRewardsQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetSTokeRewardsQuery>;
|
|
579
|
+
GetSTokeVotes(variables?: GetSTokeVotesQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetSTokeVotesQuery>;
|
|
580
|
+
GetTopAutopoolHolders(variables?: GetTopAutopoolHoldersQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetTopAutopoolHoldersQuery>;
|
|
581
|
+
GetUserActivity(variables: GetUserActivityQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetUserActivityQuery>;
|
|
582
|
+
GetUserBalanceChangeHistory(variables: GetUserBalanceChangeHistoryQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetUserBalanceChangeHistoryQuery>;
|
|
583
|
+
GetUserSTokeBalance(variables: GetUserSTokeBalanceQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetUserSTokeBalanceQuery>;
|
|
584
|
+
GetUserSTokeVotes(variables: GetUserSTokeVotesQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetUserSTokeVotesQuery>;
|
|
585
|
+
GetUserVaultInfo(variables: GetUserVaultInfoQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetUserVaultInfoQuery>;
|
|
586
|
+
GetUserVaultsDayData(variables: GetUserVaultsDayDataQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetUserVaultsDayDataQuery>;
|
|
587
|
+
GetVaultAddeds(variables?: GetVaultAddedsQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetVaultAddedsQuery>;
|
|
588
|
+
GetTokenValueDayDatas(variables: GetTokenValueDayDatasQueryVariables, requestHeaders?: HeadersInit | undefined): Promise<GetTokenValueDayDatasQuery>;
|
|
589
|
+
};
|
|
590
|
+
|
|
591
|
+
export { getSdkByChainId };
|