@berachain/graphql 0.1.0-alpha.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/LICENSE +21 -0
- package/README.md +9 -0
- package/dist/bend/whisk.codegen.d.ts +1706 -0
- package/dist/bend/whisk.codegen.js +424 -0
- package/dist/chain/chain.codegen.d.ts +376 -0
- package/dist/chain/chain.codegen.js +12 -0
- package/dist/dex/api.codegen.d.ts +3836 -0
- package/dist/dex/api.codegen.js +199 -0
- package/dist/dex/subgraph.codegen.d.ts +5887 -0
- package/dist/dex/subgraph.codegen.js +88 -0
- package/dist/governance/governance.codegen.d.ts +1622 -0
- package/dist/governance/governance.codegen.js +116 -0
- package/dist/honey/honey.codegen.d.ts +936 -0
- package/dist/honey/honey.codegen.js +104 -0
- package/dist/pol/api.codegen.d.ts +3622 -0
- package/dist/pol/api.codegen.js +301 -0
- package/dist/pol/subgraph.codegen.d.ts +4671 -0
- package/dist/pol/subgraph.codegen.js +197 -0
- package/package.json +108 -0
|
@@ -0,0 +1,3836 @@
|
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
2
|
+
|
|
3
|
+
type Maybe<T> = T | null;
|
|
4
|
+
type InputMaybe<T> = Maybe<T>;
|
|
5
|
+
type Exact<T extends {
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}> = {
|
|
8
|
+
[K in keyof T]: T[K];
|
|
9
|
+
};
|
|
10
|
+
type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
11
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
12
|
+
};
|
|
13
|
+
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
14
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
15
|
+
};
|
|
16
|
+
type MakeEmpty<T extends {
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}, K extends keyof T> = {
|
|
19
|
+
[_ in K]?: never;
|
|
20
|
+
};
|
|
21
|
+
type Incremental<T> = T | {
|
|
22
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
23
|
+
};
|
|
24
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
25
|
+
type Scalars = {
|
|
26
|
+
ID: {
|
|
27
|
+
input: string;
|
|
28
|
+
output: string;
|
|
29
|
+
};
|
|
30
|
+
String: {
|
|
31
|
+
input: string;
|
|
32
|
+
output: string;
|
|
33
|
+
};
|
|
34
|
+
Boolean: {
|
|
35
|
+
input: boolean;
|
|
36
|
+
output: boolean;
|
|
37
|
+
};
|
|
38
|
+
Int: {
|
|
39
|
+
input: number;
|
|
40
|
+
output: number;
|
|
41
|
+
};
|
|
42
|
+
Float: {
|
|
43
|
+
input: number;
|
|
44
|
+
output: number;
|
|
45
|
+
};
|
|
46
|
+
AmountHumanReadable: {
|
|
47
|
+
input: any;
|
|
48
|
+
output: any;
|
|
49
|
+
};
|
|
50
|
+
BigDecimal: {
|
|
51
|
+
input: any;
|
|
52
|
+
output: any;
|
|
53
|
+
};
|
|
54
|
+
BigInt: {
|
|
55
|
+
input: any;
|
|
56
|
+
output: any;
|
|
57
|
+
};
|
|
58
|
+
Bytes: {
|
|
59
|
+
input: any;
|
|
60
|
+
output: any;
|
|
61
|
+
};
|
|
62
|
+
Date: {
|
|
63
|
+
input: any;
|
|
64
|
+
output: any;
|
|
65
|
+
};
|
|
66
|
+
GqlBigNumber: {
|
|
67
|
+
input: any;
|
|
68
|
+
output: any;
|
|
69
|
+
};
|
|
70
|
+
JSON: {
|
|
71
|
+
input: any;
|
|
72
|
+
output: any;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
type GqlBalancePoolAprItem = {
|
|
76
|
+
__typename?: 'GqlBalancePoolAprItem';
|
|
77
|
+
apr: GqlPoolAprValue;
|
|
78
|
+
id: Scalars['ID']['output'];
|
|
79
|
+
subItems?: Maybe<Array<GqlBalancePoolAprSubItem>>;
|
|
80
|
+
title: Scalars['String']['output'];
|
|
81
|
+
};
|
|
82
|
+
type GqlBalancePoolAprSubItem = {
|
|
83
|
+
__typename?: 'GqlBalancePoolAprSubItem';
|
|
84
|
+
apr: GqlPoolAprValue;
|
|
85
|
+
id: Scalars['ID']['output'];
|
|
86
|
+
title: Scalars['String']['output'];
|
|
87
|
+
};
|
|
88
|
+
declare enum GqlChain {
|
|
89
|
+
/** @deprecated BARTIO is deprecated */
|
|
90
|
+
Bartio = "BARTIO",
|
|
91
|
+
Berachain = "BERACHAIN",
|
|
92
|
+
/** @deprecated CARTIO is deprecated */
|
|
93
|
+
Cartio = "CARTIO"
|
|
94
|
+
}
|
|
95
|
+
type GqlContentNewsItem = {
|
|
96
|
+
__typename?: 'GqlContentNewsItem';
|
|
97
|
+
discussionUrl?: Maybe<Scalars['String']['output']>;
|
|
98
|
+
id: Scalars['ID']['output'];
|
|
99
|
+
image?: Maybe<Scalars['String']['output']>;
|
|
100
|
+
source: GqlContentNewsItemSource;
|
|
101
|
+
text: Scalars['String']['output'];
|
|
102
|
+
timestamp: Scalars['String']['output'];
|
|
103
|
+
url: Scalars['String']['output'];
|
|
104
|
+
};
|
|
105
|
+
declare enum GqlContentNewsItemSource {
|
|
106
|
+
Discord = "discord",
|
|
107
|
+
Medium = "medium",
|
|
108
|
+
Twitter = "twitter"
|
|
109
|
+
}
|
|
110
|
+
type GqlDefaultRewardAllocation = {
|
|
111
|
+
__typename?: 'GqlDefaultRewardAllocation';
|
|
112
|
+
startBlock: Scalars['Int']['output'];
|
|
113
|
+
weights: Array<GqlDefaultRewardAllocationWeight>;
|
|
114
|
+
};
|
|
115
|
+
type GqlDefaultRewardAllocationWeight = {
|
|
116
|
+
__typename?: 'GqlDefaultRewardAllocationWeight';
|
|
117
|
+
chain: GqlChain;
|
|
118
|
+
percentageNumerator: Scalars['Int']['output'];
|
|
119
|
+
receiver: Scalars['String']['output'];
|
|
120
|
+
receiverVault?: Maybe<GqlRewardVault>;
|
|
121
|
+
};
|
|
122
|
+
type GqlFeaturePoolGroupItemExternalLink = {
|
|
123
|
+
__typename?: 'GqlFeaturePoolGroupItemExternalLink';
|
|
124
|
+
buttonText: Scalars['String']['output'];
|
|
125
|
+
buttonUrl: Scalars['String']['output'];
|
|
126
|
+
id: Scalars['ID']['output'];
|
|
127
|
+
image: Scalars['String']['output'];
|
|
128
|
+
};
|
|
129
|
+
type GqlGlobalInfo = {
|
|
130
|
+
__typename?: 'GqlGlobalInfo';
|
|
131
|
+
annualizedBGTEmission: Scalars['String']['output'];
|
|
132
|
+
annualizedBGTInflation: Scalars['String']['output'];
|
|
133
|
+
baseRewardRate: Scalars['String']['output'];
|
|
134
|
+
chain: GqlChain;
|
|
135
|
+
minBoostedRewardRate: Scalars['String']['output'];
|
|
136
|
+
rewardRate: Scalars['String']['output'];
|
|
137
|
+
totalActiveBoostAmount: Scalars['String']['output'];
|
|
138
|
+
totalActiveIncentives: Scalars['Int']['output'];
|
|
139
|
+
totalActiveIncentivesValueUSD: Scalars['String']['output'];
|
|
140
|
+
totalActiveRewardVaults: Scalars['Int']['output'];
|
|
141
|
+
totalBGTEarnedByValidators: Scalars['String']['output'];
|
|
142
|
+
totalDistributedBGTAmount: Scalars['String']['output'];
|
|
143
|
+
totalQueuedBoostAmount: Scalars['String']['output'];
|
|
144
|
+
totalStakedBeraAmount: Scalars['String']['output'];
|
|
145
|
+
totalValidatorsCount: Scalars['Int']['output'];
|
|
146
|
+
totalWhitelistedRewardVaults: Scalars['Int']['output'];
|
|
147
|
+
};
|
|
148
|
+
/** Configuration options for SOR V2 */
|
|
149
|
+
type GqlGraphTraversalConfigInput = {
|
|
150
|
+
/**
|
|
151
|
+
* Max number of paths to return (can be less)
|
|
152
|
+
*
|
|
153
|
+
* Default: 5
|
|
154
|
+
*/
|
|
155
|
+
approxPathsToReturn?: InputMaybe<Scalars['Int']['input']>;
|
|
156
|
+
/**
|
|
157
|
+
* The max hops in a path.
|
|
158
|
+
*
|
|
159
|
+
* Default: 6
|
|
160
|
+
*/
|
|
161
|
+
maxDepth?: InputMaybe<Scalars['Int']['input']>;
|
|
162
|
+
/**
|
|
163
|
+
* Limit non boosted hop tokens in a boosted path.
|
|
164
|
+
*
|
|
165
|
+
* Default: 2
|
|
166
|
+
*/
|
|
167
|
+
maxNonBoostedHopTokensInBoostedPath?: InputMaybe<Scalars['Int']['input']>;
|
|
168
|
+
/**
|
|
169
|
+
* Limit of "non-boosted" pools for efficiency.
|
|
170
|
+
*
|
|
171
|
+
* Default: 6
|
|
172
|
+
*/
|
|
173
|
+
maxNonBoostedPathDepth?: InputMaybe<Scalars['Int']['input']>;
|
|
174
|
+
poolIdsToInclude?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
175
|
+
};
|
|
176
|
+
type GqlHistoricalTokenPrice = {
|
|
177
|
+
__typename?: 'GqlHistoricalTokenPrice';
|
|
178
|
+
address: Scalars['String']['output'];
|
|
179
|
+
chain: GqlChain;
|
|
180
|
+
prices: Array<GqlHistoricalTokenPriceEntry>;
|
|
181
|
+
};
|
|
182
|
+
type GqlHistoricalTokenPriceEntry = {
|
|
183
|
+
__typename?: 'GqlHistoricalTokenPriceEntry';
|
|
184
|
+
price: Scalars['Float']['output'];
|
|
185
|
+
timestamp: Scalars['String']['output'];
|
|
186
|
+
updatedAt: Scalars['Int']['output'];
|
|
187
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
188
|
+
};
|
|
189
|
+
type GqlLatestSyncedBlocks = {
|
|
190
|
+
__typename?: 'GqlLatestSyncedBlocks';
|
|
191
|
+
poolSyncBlock: Scalars['BigInt']['output'];
|
|
192
|
+
userWalletSyncBlock: Scalars['BigInt']['output'];
|
|
193
|
+
};
|
|
194
|
+
/** All info on the nested pool if the token is a BPT. It will only support 1 level of nesting. */
|
|
195
|
+
type GqlNestedPool = {
|
|
196
|
+
__typename?: 'GqlNestedPool';
|
|
197
|
+
/** Address of the pool. */
|
|
198
|
+
address: Scalars['Bytes']['output'];
|
|
199
|
+
/** Price rate of the Balancer Pool Token (BPT). */
|
|
200
|
+
bptPriceRate: Scalars['BigDecimal']['output'];
|
|
201
|
+
/** Timestamp of when the pool was created. */
|
|
202
|
+
createTime: Scalars['Int']['output'];
|
|
203
|
+
/** Address of the factory contract that created the pool, if applicable. */
|
|
204
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
205
|
+
/** Unique identifier of the pool. */
|
|
206
|
+
id: Scalars['ID']['output'];
|
|
207
|
+
/** Name of the pool. */
|
|
208
|
+
name: Scalars['String']['output'];
|
|
209
|
+
/** Total liquidity of the parent pool in the nested pool in USD. */
|
|
210
|
+
nestedLiquidity: Scalars['BigDecimal']['output'];
|
|
211
|
+
/** Percentage of the parents pool shares inside the nested pool. */
|
|
212
|
+
nestedPercentage: Scalars['BigDecimal']['output'];
|
|
213
|
+
/** Number of shares of the parent pool in the nested pool. */
|
|
214
|
+
nestedShares: Scalars['BigDecimal']['output'];
|
|
215
|
+
/** Address of the pool's owner. */
|
|
216
|
+
owner: Scalars['Bytes']['output'];
|
|
217
|
+
/** Fee charged for swapping tokens in the pool as %. 0.01 -> 0.01% */
|
|
218
|
+
swapFee: Scalars['BigDecimal']['output'];
|
|
219
|
+
/** Symbol of the pool. */
|
|
220
|
+
symbol: Scalars['String']['output'];
|
|
221
|
+
/** List of all tokens in the pool. */
|
|
222
|
+
tokens: Array<GqlPoolTokenDetail>;
|
|
223
|
+
/** Total liquidity in the pool in USD. */
|
|
224
|
+
totalLiquidity: Scalars['BigDecimal']['output'];
|
|
225
|
+
/** Total number of shares in the pool. */
|
|
226
|
+
totalShares: Scalars['BigDecimal']['output'];
|
|
227
|
+
/** Type of the pool. */
|
|
228
|
+
type: GqlPoolType;
|
|
229
|
+
/** Version of the pool. */
|
|
230
|
+
version: Scalars['Int']['output'];
|
|
231
|
+
};
|
|
232
|
+
type GqlPagination = {
|
|
233
|
+
__typename?: 'GqlPagination';
|
|
234
|
+
currentPage: Scalars['Int']['output'];
|
|
235
|
+
pageSize: Scalars['Int']['output'];
|
|
236
|
+
totalCount: Scalars['Int']['output'];
|
|
237
|
+
totalPages: Scalars['Int']['output'];
|
|
238
|
+
};
|
|
239
|
+
type GqlPoolAggregator = {
|
|
240
|
+
__typename?: 'GqlPoolAggregator';
|
|
241
|
+
/** The contract address of the pool. */
|
|
242
|
+
address: Scalars['Bytes']['output'];
|
|
243
|
+
/** Data specific to gyro/fx pools */
|
|
244
|
+
alpha?: Maybe<Scalars['String']['output']>;
|
|
245
|
+
/** Data specific to stable pools */
|
|
246
|
+
amp?: Maybe<Scalars['BigInt']['output']>;
|
|
247
|
+
/** Data specific to gyro/fx pools */
|
|
248
|
+
beta?: Maybe<Scalars['String']['output']>;
|
|
249
|
+
/** Data specific to gyro pools */
|
|
250
|
+
c?: Maybe<Scalars['String']['output']>;
|
|
251
|
+
/** The chain on which the pool is deployed */
|
|
252
|
+
chain: GqlChain;
|
|
253
|
+
/** The timestamp the pool was created. */
|
|
254
|
+
createTime: Scalars['Int']['output'];
|
|
255
|
+
/** Data specific to gyro pools */
|
|
256
|
+
dSq?: Maybe<Scalars['String']['output']>;
|
|
257
|
+
/** The decimals of the BPT, usually 18 */
|
|
258
|
+
decimals: Scalars['Int']['output'];
|
|
259
|
+
/** Data specific to fx pools */
|
|
260
|
+
delta?: Maybe<Scalars['String']['output']>;
|
|
261
|
+
/** Dynamic data such as token balances, swap fees or volume */
|
|
262
|
+
dynamicData: GqlPoolDynamicData;
|
|
263
|
+
/** Data specific to fx pools */
|
|
264
|
+
epsilon?: Maybe<Scalars['String']['output']>;
|
|
265
|
+
/** The factory contract address from which the pool was created. */
|
|
266
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
267
|
+
/** The pool id. This is equal to the address for protocolVersion 3 pools */
|
|
268
|
+
id: Scalars['ID']['output'];
|
|
269
|
+
/** Data specific to gyro/fx pools */
|
|
270
|
+
lambda?: Maybe<Scalars['String']['output']>;
|
|
271
|
+
/** The name of the pool as per contract */
|
|
272
|
+
name: Scalars['String']['output'];
|
|
273
|
+
/** The wallet address of the owner of the pool. Pool owners can set certain properties like swapFees or AMP. */
|
|
274
|
+
owner?: Maybe<Scalars['Bytes']['output']>;
|
|
275
|
+
/** Returns all pool tokens, including BPTs and nested pools if there are any. Only one nested level deep. */
|
|
276
|
+
poolTokens: Array<GqlPoolTokenDetail>;
|
|
277
|
+
/** The protocol version on which the pool is deployed, 1, 2 or 3 */
|
|
278
|
+
protocolVersion: Scalars['Int']['output'];
|
|
279
|
+
/** Data specific to gyro pools */
|
|
280
|
+
root3Alpha?: Maybe<Scalars['String']['output']>;
|
|
281
|
+
/** Data specific to gyro pools */
|
|
282
|
+
s?: Maybe<Scalars['String']['output']>;
|
|
283
|
+
/** Data specific to gyro pools */
|
|
284
|
+
sqrtAlpha?: Maybe<Scalars['String']['output']>;
|
|
285
|
+
/** Data specific to gyro pools */
|
|
286
|
+
sqrtBeta?: Maybe<Scalars['String']['output']>;
|
|
287
|
+
/** The token symbol of the pool as per contract */
|
|
288
|
+
symbol: Scalars['String']['output'];
|
|
289
|
+
/** Data specific to gyro pools */
|
|
290
|
+
tauAlphaX?: Maybe<Scalars['String']['output']>;
|
|
291
|
+
/** Data specific to gyro pools */
|
|
292
|
+
tauAlphaY?: Maybe<Scalars['String']['output']>;
|
|
293
|
+
/** Data specific to gyro pools */
|
|
294
|
+
tauBetaX?: Maybe<Scalars['String']['output']>;
|
|
295
|
+
/** Data specific to gyro pools */
|
|
296
|
+
tauBetaY?: Maybe<Scalars['String']['output']>;
|
|
297
|
+
/** The pool type, such as weighted, stable, etc. */
|
|
298
|
+
type: GqlPoolType;
|
|
299
|
+
/** Data specific to gyro pools */
|
|
300
|
+
u?: Maybe<Scalars['String']['output']>;
|
|
301
|
+
/** Data specific to gyro pools */
|
|
302
|
+
v?: Maybe<Scalars['String']['output']>;
|
|
303
|
+
/** The version of the pool type. */
|
|
304
|
+
version: Scalars['Int']['output'];
|
|
305
|
+
/** Data specific to gyro pools */
|
|
306
|
+
w?: Maybe<Scalars['String']['output']>;
|
|
307
|
+
/** Data specific to gyro pools */
|
|
308
|
+
z?: Maybe<Scalars['String']['output']>;
|
|
309
|
+
};
|
|
310
|
+
type GqlPoolApr = {
|
|
311
|
+
__typename?: 'GqlPoolApr';
|
|
312
|
+
apr: GqlPoolAprValue;
|
|
313
|
+
hasRewardApr: Scalars['Boolean']['output'];
|
|
314
|
+
items: Array<GqlBalancePoolAprItem>;
|
|
315
|
+
nativeRewardApr: GqlPoolAprValue;
|
|
316
|
+
swapApr: Scalars['BigDecimal']['output'];
|
|
317
|
+
thirdPartyApr: GqlPoolAprValue;
|
|
318
|
+
};
|
|
319
|
+
/** All APRs for a pool */
|
|
320
|
+
type GqlPoolAprItem = {
|
|
321
|
+
__typename?: 'GqlPoolAprItem';
|
|
322
|
+
/** The APR value in % -> 0.2 = 0.2% */
|
|
323
|
+
apr: Scalars['Float']['output'];
|
|
324
|
+
/** The id of the APR item */
|
|
325
|
+
id: Scalars['ID']['output'];
|
|
326
|
+
/** The reward token address, if the APR originates from token emissions */
|
|
327
|
+
rewardTokenAddress?: Maybe<Scalars['String']['output']>;
|
|
328
|
+
/** The reward token symbol, if the APR originates from token emissions */
|
|
329
|
+
rewardTokenSymbol?: Maybe<Scalars['String']['output']>;
|
|
330
|
+
/**
|
|
331
|
+
* The title of the APR item, a human readable form
|
|
332
|
+
* @deprecated No replacement, should be built client side
|
|
333
|
+
*/
|
|
334
|
+
title: Scalars['String']['output'];
|
|
335
|
+
/** Specific type of this APR */
|
|
336
|
+
type: GqlPoolAprItemType;
|
|
337
|
+
};
|
|
338
|
+
/** Enum representing the different types of the APR in a pool. */
|
|
339
|
+
declare enum GqlPoolAprItemType {
|
|
340
|
+
/** APR that pools earns when BPT is staked on AURA. */
|
|
341
|
+
Aura = "AURA",
|
|
342
|
+
/** Represents the yield from an IB (Interest-Bearing) asset APR in a pool. */
|
|
343
|
+
IbYield = "IB_YIELD",
|
|
344
|
+
/** APR in a pool that can be earned through locking, i.e. veBAL */
|
|
345
|
+
Locking = "LOCKING",
|
|
346
|
+
/** Reward APR in a pool from maBEETS emissions allocated by gauge votes. Emitted in BEETS. */
|
|
347
|
+
MabeetsEmissions = "MABEETS_EMISSIONS",
|
|
348
|
+
/** Rewards distributed by merkl.xyz */
|
|
349
|
+
Merkl = "MERKL",
|
|
350
|
+
/** Represents if the APR items comes from a nested pool. */
|
|
351
|
+
Nested = "NESTED",
|
|
352
|
+
/** Staking reward APR in a pool from a reward token. */
|
|
353
|
+
Staking = "STAKING",
|
|
354
|
+
/** APR boost that can be earned, i.e. via veBAL or maBEETS. */
|
|
355
|
+
StakingBoost = "STAKING_BOOST",
|
|
356
|
+
/** Cow AMM specific APR */
|
|
357
|
+
Surplus = "SURPLUS",
|
|
358
|
+
/** Represents the swap fee APR in a pool. */
|
|
359
|
+
SwapFee = "SWAP_FEE",
|
|
360
|
+
/** Reward APR in a pool from veBAL emissions allocated by gauge votes. Emitted in BAL. */
|
|
361
|
+
VebalEmissions = "VEBAL_EMISSIONS",
|
|
362
|
+
/** APR that can be earned thourgh voting, i.e. gauge votes */
|
|
363
|
+
Voting = "VOTING"
|
|
364
|
+
}
|
|
365
|
+
type GqlPoolAprRange = {
|
|
366
|
+
__typename?: 'GqlPoolAprRange';
|
|
367
|
+
max: Scalars['BigDecimal']['output'];
|
|
368
|
+
min: Scalars['BigDecimal']['output'];
|
|
369
|
+
};
|
|
370
|
+
type GqlPoolAprTotal = {
|
|
371
|
+
__typename?: 'GqlPoolAprTotal';
|
|
372
|
+
total: Scalars['BigDecimal']['output'];
|
|
373
|
+
};
|
|
374
|
+
type GqlPoolAprValue = GqlPoolAprRange | GqlPoolAprTotal;
|
|
375
|
+
/** The base type as returned by poolGetPool (specific pool query) */
|
|
376
|
+
type GqlPoolBase = {
|
|
377
|
+
/** The contract address of the pool. */
|
|
378
|
+
address: Scalars['Bytes']['output'];
|
|
379
|
+
/**
|
|
380
|
+
* Returns all pool tokens, including any nested tokens and phantom BPTs on one level.
|
|
381
|
+
* @deprecated Use poolTokens instead
|
|
382
|
+
*/
|
|
383
|
+
allTokens: Array<GqlPoolTokenExpanded>;
|
|
384
|
+
/** List of categories assigned by the team based on external factors */
|
|
385
|
+
categories?: Maybe<Array<Maybe<GqlPoolFilterCategory>>>;
|
|
386
|
+
/** The chain on which the pool is deployed */
|
|
387
|
+
chain: GqlChain;
|
|
388
|
+
/** The timestamp the pool was created. */
|
|
389
|
+
createTime: Scalars['Int']['output'];
|
|
390
|
+
/** The decimals of the BPT, usually 18 */
|
|
391
|
+
decimals: Scalars['Int']['output'];
|
|
392
|
+
/**
|
|
393
|
+
* Only returns main tokens, also known as leave tokens. Wont return any nested BPTs. Used for displaying the tokens that the pool consists of.
|
|
394
|
+
* @deprecated Use poolTokens instead
|
|
395
|
+
*/
|
|
396
|
+
displayTokens: Array<GqlPoolTokenDisplay>;
|
|
397
|
+
/** Dynamic data such as token balances, swap fees or volume */
|
|
398
|
+
dynamicData: GqlPoolDynamicData;
|
|
399
|
+
/** The factory contract address from which the pool was created. */
|
|
400
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
401
|
+
/** The pool id. This is equal to the address for protocolVersion 3 pools */
|
|
402
|
+
id: Scalars['ID']['output'];
|
|
403
|
+
/**
|
|
404
|
+
* Deprecated
|
|
405
|
+
* @deprecated Removed without replacement
|
|
406
|
+
*/
|
|
407
|
+
investConfig: GqlPoolInvestConfig;
|
|
408
|
+
/** The name of the pool as per contract */
|
|
409
|
+
name: Scalars['String']['output'];
|
|
410
|
+
/** The wallet address of the owner of the pool. Pool owners can set certain properties like swapFees or AMP. */
|
|
411
|
+
owner?: Maybe<Scalars['Bytes']['output']>;
|
|
412
|
+
/** Returns all pool tokens, including BPTs and nested pools if there are any. Only one nested level deep. */
|
|
413
|
+
poolTokens: Array<GqlPoolTokenDetail>;
|
|
414
|
+
/** The protocol version on which the pool is deployed, 1, 2 or 3 */
|
|
415
|
+
protocolVersion: Scalars['Int']['output'];
|
|
416
|
+
/** The reward vault for the pool if it has one */
|
|
417
|
+
rewardVault?: Maybe<GqlRewardVault>;
|
|
418
|
+
/** The token symbol of the pool as per contract */
|
|
419
|
+
symbol: Scalars['String']['output'];
|
|
420
|
+
/** List of tags assigned by the team based on external factors */
|
|
421
|
+
tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
422
|
+
/** The pool type, such as weighted, stable, etc. */
|
|
423
|
+
type: GqlPoolType;
|
|
424
|
+
/** If a user address was provided in the query, the user balance is populated here */
|
|
425
|
+
userBalance?: Maybe<GqlPoolUserBalance>;
|
|
426
|
+
/**
|
|
427
|
+
* The vault version on which the pool is deployed, 2 or 3
|
|
428
|
+
* @deprecated use protocolVersion instead
|
|
429
|
+
*/
|
|
430
|
+
vaultVersion: Scalars['Int']['output'];
|
|
431
|
+
/** The version of the pool type. */
|
|
432
|
+
version: Scalars['Int']['output'];
|
|
433
|
+
/**
|
|
434
|
+
* Deprecated
|
|
435
|
+
* @deprecated Removed without replacement
|
|
436
|
+
*/
|
|
437
|
+
withdrawConfig: GqlPoolWithdrawConfig;
|
|
438
|
+
};
|
|
439
|
+
type GqlPoolBatchSwap = {
|
|
440
|
+
__typename?: 'GqlPoolBatchSwap';
|
|
441
|
+
chain: GqlChain;
|
|
442
|
+
id: Scalars['ID']['output'];
|
|
443
|
+
swaps: Array<GqlPoolBatchSwapSwap>;
|
|
444
|
+
timestamp: Scalars['Int']['output'];
|
|
445
|
+
tokenAmountIn: Scalars['String']['output'];
|
|
446
|
+
tokenAmountOut: Scalars['String']['output'];
|
|
447
|
+
tokenIn: Scalars['String']['output'];
|
|
448
|
+
tokenInPrice: Scalars['Float']['output'];
|
|
449
|
+
tokenOut: Scalars['String']['output'];
|
|
450
|
+
tokenOutPrice: Scalars['Float']['output'];
|
|
451
|
+
tx: Scalars['String']['output'];
|
|
452
|
+
userAddress: Scalars['String']['output'];
|
|
453
|
+
valueUSD: Scalars['Float']['output'];
|
|
454
|
+
};
|
|
455
|
+
type GqlPoolBatchSwapPool = {
|
|
456
|
+
__typename?: 'GqlPoolBatchSwapPool';
|
|
457
|
+
id: Scalars['ID']['output'];
|
|
458
|
+
tokens: Array<Scalars['String']['output']>;
|
|
459
|
+
};
|
|
460
|
+
type GqlPoolBatchSwapSwap = {
|
|
461
|
+
__typename?: 'GqlPoolBatchSwapSwap';
|
|
462
|
+
id: Scalars['ID']['output'];
|
|
463
|
+
pool: GqlPoolMinimal;
|
|
464
|
+
timestamp: Scalars['Int']['output'];
|
|
465
|
+
tokenAmountIn: Scalars['String']['output'];
|
|
466
|
+
tokenAmountOut: Scalars['String']['output'];
|
|
467
|
+
tokenIn: Scalars['String']['output'];
|
|
468
|
+
tokenOut: Scalars['String']['output'];
|
|
469
|
+
tx: Scalars['String']['output'];
|
|
470
|
+
userAddress: Scalars['String']['output'];
|
|
471
|
+
valueUSD: Scalars['Float']['output'];
|
|
472
|
+
};
|
|
473
|
+
type GqlPoolComposableStable = GqlPoolBase & {
|
|
474
|
+
__typename?: 'GqlPoolComposableStable';
|
|
475
|
+
address: Scalars['Bytes']['output'];
|
|
476
|
+
allTokens: Array<GqlPoolTokenExpanded>;
|
|
477
|
+
amp: Scalars['BigInt']['output'];
|
|
478
|
+
bptPriceRate: Scalars['BigDecimal']['output'];
|
|
479
|
+
categories?: Maybe<Array<Maybe<GqlPoolFilterCategory>>>;
|
|
480
|
+
chain: GqlChain;
|
|
481
|
+
createTime: Scalars['Int']['output'];
|
|
482
|
+
decimals: Scalars['Int']['output'];
|
|
483
|
+
displayTokens: Array<GqlPoolTokenDisplay>;
|
|
484
|
+
dynamicData: GqlPoolDynamicData;
|
|
485
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
486
|
+
id: Scalars['ID']['output'];
|
|
487
|
+
/** @deprecated Removed without replacement */
|
|
488
|
+
investConfig: GqlPoolInvestConfig;
|
|
489
|
+
name: Scalars['String']['output'];
|
|
490
|
+
nestingType: GqlPoolNestingType;
|
|
491
|
+
owner: Scalars['Bytes']['output'];
|
|
492
|
+
poolTokens: Array<GqlPoolTokenDetail>;
|
|
493
|
+
protocolVersion: Scalars['Int']['output'];
|
|
494
|
+
rewardVault?: Maybe<GqlRewardVault>;
|
|
495
|
+
symbol: Scalars['String']['output'];
|
|
496
|
+
tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
497
|
+
/**
|
|
498
|
+
* All tokens of the pool. If it is a nested pool, the nested pool is expanded with its own tokens again.
|
|
499
|
+
* @deprecated Use poolTokens instead
|
|
500
|
+
*/
|
|
501
|
+
tokens: Array<GqlPoolTokenUnion>;
|
|
502
|
+
type: GqlPoolType;
|
|
503
|
+
userBalance?: Maybe<GqlPoolUserBalance>;
|
|
504
|
+
/** @deprecated use protocolVersion instead */
|
|
505
|
+
vaultVersion: Scalars['Int']['output'];
|
|
506
|
+
version: Scalars['Int']['output'];
|
|
507
|
+
/** @deprecated Removed without replacement */
|
|
508
|
+
withdrawConfig: GqlPoolWithdrawConfig;
|
|
509
|
+
};
|
|
510
|
+
type GqlPoolComposableStableNested = {
|
|
511
|
+
__typename?: 'GqlPoolComposableStableNested';
|
|
512
|
+
address: Scalars['Bytes']['output'];
|
|
513
|
+
amp: Scalars['BigInt']['output'];
|
|
514
|
+
bptPriceRate: Scalars['BigDecimal']['output'];
|
|
515
|
+
categories?: Maybe<Array<Maybe<GqlPoolFilterCategory>>>;
|
|
516
|
+
createTime: Scalars['Int']['output'];
|
|
517
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
518
|
+
id: Scalars['ID']['output'];
|
|
519
|
+
name: Scalars['String']['output'];
|
|
520
|
+
nestingType: GqlPoolNestingType;
|
|
521
|
+
owner: Scalars['Bytes']['output'];
|
|
522
|
+
swapFee: Scalars['BigDecimal']['output'];
|
|
523
|
+
symbol: Scalars['String']['output'];
|
|
524
|
+
tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
525
|
+
/** @deprecated Use poolTokens instead */
|
|
526
|
+
tokens: Array<GqlPoolTokenComposableStableNestedUnion>;
|
|
527
|
+
totalLiquidity: Scalars['BigDecimal']['output'];
|
|
528
|
+
totalShares: Scalars['BigDecimal']['output'];
|
|
529
|
+
type: GqlPoolType;
|
|
530
|
+
version: Scalars['Int']['output'];
|
|
531
|
+
};
|
|
532
|
+
type GqlPoolDynamicData = {
|
|
533
|
+
__typename?: 'GqlPoolDynamicData';
|
|
534
|
+
/** Protocol and pool creator fees combined */
|
|
535
|
+
aggregateSwapFee: Scalars['BigDecimal']['output'];
|
|
536
|
+
/** Protocol and pool creator fees combined */
|
|
537
|
+
aggregateYieldFee: Scalars['BigDecimal']['output'];
|
|
538
|
+
/** @deprecated Use aprItems instead */
|
|
539
|
+
apr: GqlPoolApr;
|
|
540
|
+
aprItems: Array<GqlPoolAprItem>;
|
|
541
|
+
fees24h: Scalars['BigDecimal']['output'];
|
|
542
|
+
fees24hAth: Scalars['BigDecimal']['output'];
|
|
543
|
+
fees24hAthTimestamp: Scalars['Int']['output'];
|
|
544
|
+
fees24hAtl: Scalars['BigDecimal']['output'];
|
|
545
|
+
fees24hAtlTimestamp: Scalars['Int']['output'];
|
|
546
|
+
fees48h: Scalars['BigDecimal']['output'];
|
|
547
|
+
holdersCount: Scalars['BigInt']['output'];
|
|
548
|
+
/** True for bricked pools */
|
|
549
|
+
isInRecoveryMode: Scalars['Boolean']['output'];
|
|
550
|
+
isPaused: Scalars['Boolean']['output'];
|
|
551
|
+
lifetimeSwapFees: Scalars['BigDecimal']['output'];
|
|
552
|
+
lifetimeVolume: Scalars['BigDecimal']['output'];
|
|
553
|
+
poolId: Scalars['ID']['output'];
|
|
554
|
+
sharePriceAth: Scalars['BigDecimal']['output'];
|
|
555
|
+
sharePriceAthTimestamp: Scalars['Int']['output'];
|
|
556
|
+
sharePriceAtl: Scalars['BigDecimal']['output'];
|
|
557
|
+
sharePriceAtlTimestamp: Scalars['Int']['output'];
|
|
558
|
+
/** CowAmm specific, equivalent of swap fees */
|
|
559
|
+
surplus24h: Scalars['BigDecimal']['output'];
|
|
560
|
+
/** CowAmm specific, equivalent of swap fees */
|
|
561
|
+
surplus48h: Scalars['BigDecimal']['output'];
|
|
562
|
+
/** Disabled for bricked pools */
|
|
563
|
+
swapEnabled: Scalars['Boolean']['output'];
|
|
564
|
+
swapFee: Scalars['BigDecimal']['output'];
|
|
565
|
+
swapsCount: Scalars['BigInt']['output'];
|
|
566
|
+
totalLiquidity: Scalars['BigDecimal']['output'];
|
|
567
|
+
totalLiquidity24hAgo: Scalars['BigDecimal']['output'];
|
|
568
|
+
totalLiquidityAth: Scalars['BigDecimal']['output'];
|
|
569
|
+
totalLiquidityAthTimestamp: Scalars['Int']['output'];
|
|
570
|
+
totalLiquidityAtl: Scalars['BigDecimal']['output'];
|
|
571
|
+
totalLiquidityAtlTimestamp: Scalars['Int']['output'];
|
|
572
|
+
totalShares: Scalars['BigDecimal']['output'];
|
|
573
|
+
totalShares24hAgo: Scalars['BigDecimal']['output'];
|
|
574
|
+
volume24h: Scalars['BigDecimal']['output'];
|
|
575
|
+
volume24hAth: Scalars['BigDecimal']['output'];
|
|
576
|
+
volume24hAthTimestamp: Scalars['Int']['output'];
|
|
577
|
+
volume24hAtl: Scalars['BigDecimal']['output'];
|
|
578
|
+
volume24hAtlTimestamp: Scalars['Int']['output'];
|
|
579
|
+
volume48h: Scalars['BigDecimal']['output'];
|
|
580
|
+
yieldCapture24h: Scalars['BigDecimal']['output'];
|
|
581
|
+
yieldCapture48h: Scalars['BigDecimal']['output'];
|
|
582
|
+
};
|
|
583
|
+
type GqlPoolElement = GqlPoolBase & {
|
|
584
|
+
__typename?: 'GqlPoolElement';
|
|
585
|
+
address: Scalars['Bytes']['output'];
|
|
586
|
+
allTokens: Array<GqlPoolTokenExpanded>;
|
|
587
|
+
baseToken: Scalars['Bytes']['output'];
|
|
588
|
+
categories?: Maybe<Array<Maybe<GqlPoolFilterCategory>>>;
|
|
589
|
+
chain: GqlChain;
|
|
590
|
+
createTime: Scalars['Int']['output'];
|
|
591
|
+
decimals: Scalars['Int']['output'];
|
|
592
|
+
displayTokens: Array<GqlPoolTokenDisplay>;
|
|
593
|
+
dynamicData: GqlPoolDynamicData;
|
|
594
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
595
|
+
id: Scalars['ID']['output'];
|
|
596
|
+
/** @deprecated Removed without replacement */
|
|
597
|
+
investConfig: GqlPoolInvestConfig;
|
|
598
|
+
name: Scalars['String']['output'];
|
|
599
|
+
owner: Scalars['Bytes']['output'];
|
|
600
|
+
poolTokens: Array<GqlPoolTokenDetail>;
|
|
601
|
+
principalToken: Scalars['Bytes']['output'];
|
|
602
|
+
protocolVersion: Scalars['Int']['output'];
|
|
603
|
+
rewardVault?: Maybe<GqlRewardVault>;
|
|
604
|
+
symbol: Scalars['String']['output'];
|
|
605
|
+
tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
606
|
+
/** @deprecated Use poolTokens instead */
|
|
607
|
+
tokens: Array<GqlPoolToken>;
|
|
608
|
+
type: GqlPoolType;
|
|
609
|
+
unitSeconds: Scalars['BigInt']['output'];
|
|
610
|
+
userBalance?: Maybe<GqlPoolUserBalance>;
|
|
611
|
+
/** @deprecated use protocolVersion instead */
|
|
612
|
+
vaultVersion: Scalars['Int']['output'];
|
|
613
|
+
version: Scalars['Int']['output'];
|
|
614
|
+
/** @deprecated Removed without replacement */
|
|
615
|
+
withdrawConfig: GqlPoolWithdrawConfig;
|
|
616
|
+
};
|
|
617
|
+
/** Represents an event that occurs in a pool. */
|
|
618
|
+
type GqlPoolEvent = {
|
|
619
|
+
/** The block number of the event. */
|
|
620
|
+
blockNumber: Scalars['Int']['output'];
|
|
621
|
+
/** The block timestamp of the event. */
|
|
622
|
+
blockTimestamp: Scalars['Int']['output'];
|
|
623
|
+
/** The chain on which the event occurred. */
|
|
624
|
+
chain: GqlChain;
|
|
625
|
+
/** The unique identifier of the event. */
|
|
626
|
+
id: Scalars['ID']['output'];
|
|
627
|
+
/** The log index of the event. */
|
|
628
|
+
logIndex: Scalars['Int']['output'];
|
|
629
|
+
/** The pool ID associated with the event. */
|
|
630
|
+
poolId: Scalars['String']['output'];
|
|
631
|
+
/** The sender of the event. */
|
|
632
|
+
sender: Scalars['String']['output'];
|
|
633
|
+
/** The timestamp of the event. */
|
|
634
|
+
timestamp: Scalars['Int']['output'];
|
|
635
|
+
/** The transaction hash of the event. */
|
|
636
|
+
tx: Scalars['String']['output'];
|
|
637
|
+
/** The type of the event. */
|
|
638
|
+
type: GqlPoolEventType;
|
|
639
|
+
/** The user address associated with the event. */
|
|
640
|
+
userAddress: Scalars['String']['output'];
|
|
641
|
+
/** The USD value of this event. */
|
|
642
|
+
valueUSD: Scalars['Float']['output'];
|
|
643
|
+
};
|
|
644
|
+
type GqlPoolEventAmount = {
|
|
645
|
+
__typename?: 'GqlPoolEventAmount';
|
|
646
|
+
address: Scalars['String']['output'];
|
|
647
|
+
amount: Scalars['String']['output'];
|
|
648
|
+
valueUSD: Scalars['Float']['output'];
|
|
649
|
+
};
|
|
650
|
+
declare enum GqlPoolEventType {
|
|
651
|
+
Add = "ADD",
|
|
652
|
+
Remove = "REMOVE",
|
|
653
|
+
Swap = "SWAP"
|
|
654
|
+
}
|
|
655
|
+
declare enum GqlPoolEventsDataRange {
|
|
656
|
+
NinetyDays = "NINETY_DAYS",
|
|
657
|
+
SevenDays = "SEVEN_DAYS",
|
|
658
|
+
ThirtyDays = "THIRTY_DAYS"
|
|
659
|
+
}
|
|
660
|
+
type GqlPoolEventsFilter = {
|
|
661
|
+
chainIn?: InputMaybe<Array<InputMaybe<GqlChain>>>;
|
|
662
|
+
poolIdIn?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
663
|
+
range?: InputMaybe<GqlPoolEventsDataRange>;
|
|
664
|
+
typeIn?: InputMaybe<Array<InputMaybe<GqlPoolEventType>>>;
|
|
665
|
+
userAddress?: InputMaybe<Scalars['String']['input']>;
|
|
666
|
+
/** USD value of the event */
|
|
667
|
+
valueUSD_gt?: InputMaybe<Scalars['Float']['input']>;
|
|
668
|
+
/** USD value of the event */
|
|
669
|
+
valueUSD_gte?: InputMaybe<Scalars['Float']['input']>;
|
|
670
|
+
};
|
|
671
|
+
type GqlPoolFeaturedPool = {
|
|
672
|
+
__typename?: 'GqlPoolFeaturedPool';
|
|
673
|
+
description: Scalars['String']['output'];
|
|
674
|
+
pool: GqlPoolBase;
|
|
675
|
+
poolId: Scalars['ID']['output'];
|
|
676
|
+
primary: Scalars['Boolean']['output'];
|
|
677
|
+
};
|
|
678
|
+
type GqlPoolFeaturedPoolGroup = {
|
|
679
|
+
__typename?: 'GqlPoolFeaturedPoolGroup';
|
|
680
|
+
icon: Scalars['String']['output'];
|
|
681
|
+
id: Scalars['ID']['output'];
|
|
682
|
+
items: Array<GqlPoolFeaturedPoolGroupItem>;
|
|
683
|
+
title: Scalars['String']['output'];
|
|
684
|
+
};
|
|
685
|
+
type GqlPoolFeaturedPoolGroupItem = GqlFeaturePoolGroupItemExternalLink | GqlPoolMinimal;
|
|
686
|
+
type GqlPoolFilter = {
|
|
687
|
+
addressIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
688
|
+
addressNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
689
|
+
chainIn?: InputMaybe<Array<GqlChain>>;
|
|
690
|
+
chainNotIn?: InputMaybe<Array<GqlChain>>;
|
|
691
|
+
createTime?: InputMaybe<GqlPoolTimePeriod>;
|
|
692
|
+
filterIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
693
|
+
filterNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
694
|
+
idIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
695
|
+
idNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
696
|
+
minTvl?: InputMaybe<Scalars['Float']['input']>;
|
|
697
|
+
poolTypeIn?: InputMaybe<Array<GqlPoolType>>;
|
|
698
|
+
poolTypeNotIn?: InputMaybe<Array<GqlPoolType>>;
|
|
699
|
+
protocolVersionIn?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
700
|
+
/**
|
|
701
|
+
* For list of tags see: https://github.com/balancer/metadata/blob/main/pools/index.json
|
|
702
|
+
* Use uppercase
|
|
703
|
+
*/
|
|
704
|
+
tagIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
705
|
+
/**
|
|
706
|
+
* For list of tags see: https://github.com/balancer/metadata/blob/main/pools/index.json
|
|
707
|
+
* Use uppercase
|
|
708
|
+
*/
|
|
709
|
+
tagNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
710
|
+
tokensIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
711
|
+
tokensNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
712
|
+
userAddress?: InputMaybe<Scalars['String']['input']>;
|
|
713
|
+
};
|
|
714
|
+
declare enum GqlPoolFilterCategory {
|
|
715
|
+
BlackListed = "BLACK_LISTED",
|
|
716
|
+
Incentivized = "INCENTIVIZED",
|
|
717
|
+
Lrt = "LRT",
|
|
718
|
+
Points = "POINTS",
|
|
719
|
+
PointsEigenlayer = "POINTS_EIGENLAYER",
|
|
720
|
+
PointsGyro = "POINTS_GYRO",
|
|
721
|
+
PointsKelp = "POINTS_KELP",
|
|
722
|
+
PointsRenzo = "POINTS_RENZO",
|
|
723
|
+
PointsSwell = "POINTS_SWELL",
|
|
724
|
+
Superfest = "SUPERFEST"
|
|
725
|
+
}
|
|
726
|
+
type GqlPoolFx = GqlPoolBase & {
|
|
727
|
+
__typename?: 'GqlPoolFx';
|
|
728
|
+
address: Scalars['Bytes']['output'];
|
|
729
|
+
allTokens: Array<GqlPoolTokenExpanded>;
|
|
730
|
+
alpha: Scalars['String']['output'];
|
|
731
|
+
beta: Scalars['String']['output'];
|
|
732
|
+
categories?: Maybe<Array<Maybe<GqlPoolFilterCategory>>>;
|
|
733
|
+
chain: GqlChain;
|
|
734
|
+
createTime: Scalars['Int']['output'];
|
|
735
|
+
decimals: Scalars['Int']['output'];
|
|
736
|
+
delta: Scalars['String']['output'];
|
|
737
|
+
displayTokens: Array<GqlPoolTokenDisplay>;
|
|
738
|
+
dynamicData: GqlPoolDynamicData;
|
|
739
|
+
epsilon: Scalars['String']['output'];
|
|
740
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
741
|
+
id: Scalars['ID']['output'];
|
|
742
|
+
/** @deprecated Removed without replacement */
|
|
743
|
+
investConfig: GqlPoolInvestConfig;
|
|
744
|
+
lambda: Scalars['String']['output'];
|
|
745
|
+
name: Scalars['String']['output'];
|
|
746
|
+
owner?: Maybe<Scalars['Bytes']['output']>;
|
|
747
|
+
poolTokens: Array<GqlPoolTokenDetail>;
|
|
748
|
+
protocolVersion: Scalars['Int']['output'];
|
|
749
|
+
rewardVault?: Maybe<GqlRewardVault>;
|
|
750
|
+
symbol: Scalars['String']['output'];
|
|
751
|
+
tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
752
|
+
/**
|
|
753
|
+
* All tokens of the pool. If it is a nested pool, the nested pool is expanded with its own tokens again.
|
|
754
|
+
* @deprecated Use poolTokens instead
|
|
755
|
+
*/
|
|
756
|
+
tokens: Array<GqlPoolTokenUnion>;
|
|
757
|
+
type: GqlPoolType;
|
|
758
|
+
userBalance?: Maybe<GqlPoolUserBalance>;
|
|
759
|
+
/** @deprecated use protocolVersion instead */
|
|
760
|
+
vaultVersion: Scalars['Int']['output'];
|
|
761
|
+
version: Scalars['Int']['output'];
|
|
762
|
+
/** @deprecated Removed without replacement */
|
|
763
|
+
withdrawConfig: GqlPoolWithdrawConfig;
|
|
764
|
+
};
|
|
765
|
+
type GqlPoolGyro = GqlPoolBase & {
|
|
766
|
+
__typename?: 'GqlPoolGyro';
|
|
767
|
+
address: Scalars['Bytes']['output'];
|
|
768
|
+
allTokens: Array<GqlPoolTokenExpanded>;
|
|
769
|
+
alpha: Scalars['String']['output'];
|
|
770
|
+
beta: Scalars['String']['output'];
|
|
771
|
+
c: Scalars['String']['output'];
|
|
772
|
+
categories?: Maybe<Array<Maybe<GqlPoolFilterCategory>>>;
|
|
773
|
+
chain: GqlChain;
|
|
774
|
+
createTime: Scalars['Int']['output'];
|
|
775
|
+
dSq: Scalars['String']['output'];
|
|
776
|
+
decimals: Scalars['Int']['output'];
|
|
777
|
+
displayTokens: Array<GqlPoolTokenDisplay>;
|
|
778
|
+
dynamicData: GqlPoolDynamicData;
|
|
779
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
780
|
+
id: Scalars['ID']['output'];
|
|
781
|
+
/** @deprecated Removed without replacement */
|
|
782
|
+
investConfig: GqlPoolInvestConfig;
|
|
783
|
+
lambda: Scalars['String']['output'];
|
|
784
|
+
name: Scalars['String']['output'];
|
|
785
|
+
nestingType: GqlPoolNestingType;
|
|
786
|
+
owner: Scalars['Bytes']['output'];
|
|
787
|
+
poolTokens: Array<GqlPoolTokenDetail>;
|
|
788
|
+
protocolVersion: Scalars['Int']['output'];
|
|
789
|
+
rewardVault?: Maybe<GqlRewardVault>;
|
|
790
|
+
root3Alpha: Scalars['String']['output'];
|
|
791
|
+
s: Scalars['String']['output'];
|
|
792
|
+
sqrtAlpha: Scalars['String']['output'];
|
|
793
|
+
sqrtBeta: Scalars['String']['output'];
|
|
794
|
+
symbol: Scalars['String']['output'];
|
|
795
|
+
tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
796
|
+
tauAlphaX: Scalars['String']['output'];
|
|
797
|
+
tauAlphaY: Scalars['String']['output'];
|
|
798
|
+
tauBetaX: Scalars['String']['output'];
|
|
799
|
+
tauBetaY: Scalars['String']['output'];
|
|
800
|
+
/**
|
|
801
|
+
* All tokens of the pool. If it is a nested pool, the nested pool is expanded with its own tokens again.
|
|
802
|
+
* @deprecated Use poolTokens instead
|
|
803
|
+
*/
|
|
804
|
+
tokens: Array<GqlPoolTokenUnion>;
|
|
805
|
+
type: GqlPoolType;
|
|
806
|
+
u: Scalars['String']['output'];
|
|
807
|
+
userBalance?: Maybe<GqlPoolUserBalance>;
|
|
808
|
+
v: Scalars['String']['output'];
|
|
809
|
+
/** @deprecated use protocolVersion instead */
|
|
810
|
+
vaultVersion: Scalars['Int']['output'];
|
|
811
|
+
version: Scalars['Int']['output'];
|
|
812
|
+
w: Scalars['String']['output'];
|
|
813
|
+
/** @deprecated Removed without replacement */
|
|
814
|
+
withdrawConfig: GqlPoolWithdrawConfig;
|
|
815
|
+
z: Scalars['String']['output'];
|
|
816
|
+
};
|
|
817
|
+
type GqlPoolInvestConfig = {
|
|
818
|
+
__typename?: 'GqlPoolInvestConfig';
|
|
819
|
+
options: Array<GqlPoolInvestOption>;
|
|
820
|
+
proportionalEnabled: Scalars['Boolean']['output'];
|
|
821
|
+
singleAssetEnabled: Scalars['Boolean']['output'];
|
|
822
|
+
};
|
|
823
|
+
type GqlPoolInvestOption = {
|
|
824
|
+
__typename?: 'GqlPoolInvestOption';
|
|
825
|
+
poolTokenAddress: Scalars['String']['output'];
|
|
826
|
+
poolTokenIndex: Scalars['Int']['output'];
|
|
827
|
+
tokenOptions: Array<GqlPoolToken>;
|
|
828
|
+
};
|
|
829
|
+
type GqlPoolJoinExit = {
|
|
830
|
+
__typename?: 'GqlPoolJoinExit';
|
|
831
|
+
amounts: Array<GqlPoolJoinExitAmount>;
|
|
832
|
+
chain: GqlChain;
|
|
833
|
+
id: Scalars['ID']['output'];
|
|
834
|
+
poolId: Scalars['String']['output'];
|
|
835
|
+
sender: Scalars['String']['output'];
|
|
836
|
+
timestamp: Scalars['Int']['output'];
|
|
837
|
+
tx: Scalars['String']['output'];
|
|
838
|
+
type: GqlPoolJoinExitType;
|
|
839
|
+
valueUSD?: Maybe<Scalars['String']['output']>;
|
|
840
|
+
};
|
|
841
|
+
type GqlPoolJoinExitAmount = {
|
|
842
|
+
__typename?: 'GqlPoolJoinExitAmount';
|
|
843
|
+
address: Scalars['String']['output'];
|
|
844
|
+
amount: Scalars['String']['output'];
|
|
845
|
+
};
|
|
846
|
+
type GqlPoolJoinExitFilter = {
|
|
847
|
+
chainIn?: InputMaybe<Array<GqlChain>>;
|
|
848
|
+
poolIdIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
849
|
+
};
|
|
850
|
+
declare enum GqlPoolJoinExitType {
|
|
851
|
+
Exit = "Exit",
|
|
852
|
+
Join = "Join"
|
|
853
|
+
}
|
|
854
|
+
type GqlPoolLiquidityBootstrapping = GqlPoolBase & {
|
|
855
|
+
__typename?: 'GqlPoolLiquidityBootstrapping';
|
|
856
|
+
address: Scalars['Bytes']['output'];
|
|
857
|
+
allTokens: Array<GqlPoolTokenExpanded>;
|
|
858
|
+
categories?: Maybe<Array<Maybe<GqlPoolFilterCategory>>>;
|
|
859
|
+
chain: GqlChain;
|
|
860
|
+
createTime: Scalars['Int']['output'];
|
|
861
|
+
decimals: Scalars['Int']['output'];
|
|
862
|
+
displayTokens: Array<GqlPoolTokenDisplay>;
|
|
863
|
+
dynamicData: GqlPoolDynamicData;
|
|
864
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
865
|
+
id: Scalars['ID']['output'];
|
|
866
|
+
/** @deprecated Removed without replacement */
|
|
867
|
+
investConfig: GqlPoolInvestConfig;
|
|
868
|
+
name: Scalars['String']['output'];
|
|
869
|
+
nestingType: GqlPoolNestingType;
|
|
870
|
+
owner: Scalars['Bytes']['output'];
|
|
871
|
+
poolTokens: Array<GqlPoolTokenDetail>;
|
|
872
|
+
protocolVersion: Scalars['Int']['output'];
|
|
873
|
+
rewardVault?: Maybe<GqlRewardVault>;
|
|
874
|
+
symbol: Scalars['String']['output'];
|
|
875
|
+
tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
876
|
+
/**
|
|
877
|
+
* All tokens of the pool. If it is a nested pool, the nested pool is expanded with its own tokens again.
|
|
878
|
+
* @deprecated Use poolTokens instead
|
|
879
|
+
*/
|
|
880
|
+
tokens: Array<GqlPoolTokenUnion>;
|
|
881
|
+
type: GqlPoolType;
|
|
882
|
+
userBalance?: Maybe<GqlPoolUserBalance>;
|
|
883
|
+
/** @deprecated use protocolVersion instead */
|
|
884
|
+
vaultVersion: Scalars['Int']['output'];
|
|
885
|
+
version: Scalars['Int']['output'];
|
|
886
|
+
/** @deprecated Removed without replacement */
|
|
887
|
+
withdrawConfig: GqlPoolWithdrawConfig;
|
|
888
|
+
};
|
|
889
|
+
type GqlPoolMetaStable = GqlPoolBase & {
|
|
890
|
+
__typename?: 'GqlPoolMetaStable';
|
|
891
|
+
address: Scalars['Bytes']['output'];
|
|
892
|
+
allTokens: Array<GqlPoolTokenExpanded>;
|
|
893
|
+
amp: Scalars['BigInt']['output'];
|
|
894
|
+
categories?: Maybe<Array<Maybe<GqlPoolFilterCategory>>>;
|
|
895
|
+
chain: GqlChain;
|
|
896
|
+
createTime: Scalars['Int']['output'];
|
|
897
|
+
decimals: Scalars['Int']['output'];
|
|
898
|
+
displayTokens: Array<GqlPoolTokenDisplay>;
|
|
899
|
+
dynamicData: GqlPoolDynamicData;
|
|
900
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
901
|
+
id: Scalars['ID']['output'];
|
|
902
|
+
/** @deprecated Removed without replacement */
|
|
903
|
+
investConfig: GqlPoolInvestConfig;
|
|
904
|
+
name: Scalars['String']['output'];
|
|
905
|
+
owner: Scalars['Bytes']['output'];
|
|
906
|
+
poolTokens: Array<GqlPoolTokenDetail>;
|
|
907
|
+
protocolVersion: Scalars['Int']['output'];
|
|
908
|
+
rewardVault?: Maybe<GqlRewardVault>;
|
|
909
|
+
symbol: Scalars['String']['output'];
|
|
910
|
+
tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
911
|
+
/** @deprecated Use poolTokens instead */
|
|
912
|
+
tokens: Array<GqlPoolToken>;
|
|
913
|
+
type: GqlPoolType;
|
|
914
|
+
userBalance?: Maybe<GqlPoolUserBalance>;
|
|
915
|
+
/** @deprecated use protocolVersion instead */
|
|
916
|
+
vaultVersion: Scalars['Int']['output'];
|
|
917
|
+
version: Scalars['Int']['output'];
|
|
918
|
+
/** @deprecated Removed without replacement */
|
|
919
|
+
withdrawConfig: GqlPoolWithdrawConfig;
|
|
920
|
+
};
|
|
921
|
+
/** The pool schema returned for poolGetPools (pool list query) */
|
|
922
|
+
type GqlPoolMinimal = {
|
|
923
|
+
__typename?: 'GqlPoolMinimal';
|
|
924
|
+
/** The contract address of the pool. */
|
|
925
|
+
address: Scalars['Bytes']['output'];
|
|
926
|
+
/** Returns all pool tokens, including any nested tokens and phantom BPTs */
|
|
927
|
+
allTokens: Array<GqlPoolTokenExpanded>;
|
|
928
|
+
/** List of categories assigned by the team based on external factors */
|
|
929
|
+
categories?: Maybe<Array<Maybe<GqlPoolFilterCategory>>>;
|
|
930
|
+
/** The chain on which the pool is deployed */
|
|
931
|
+
chain: GqlChain;
|
|
932
|
+
/** The timestamp the pool was created. */
|
|
933
|
+
createTime: Scalars['Int']['output'];
|
|
934
|
+
/** The decimals of the BPT, usually 18 */
|
|
935
|
+
decimals: Scalars['Int']['output'];
|
|
936
|
+
/** Only returns main or underlying tokens, also known as leave tokens. Wont return any nested BPTs. Used for displaying the tokens that the pool consists of. */
|
|
937
|
+
displayTokens: Array<GqlPoolTokenDisplay>;
|
|
938
|
+
/** Dynamic data such as token balances, swap fees or volume */
|
|
939
|
+
dynamicData: GqlPoolDynamicData;
|
|
940
|
+
/** The factory contract address from which the pool was created. */
|
|
941
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
942
|
+
/** Whether at least one token in this pool is considered an ERC4626 token. */
|
|
943
|
+
hasErc4626: Scalars['Boolean']['output'];
|
|
944
|
+
/** Hook assigned to a pool */
|
|
945
|
+
hook?: Maybe<Hook>;
|
|
946
|
+
/** The pool id. This is equal to the address for protocolVersion 3 pools */
|
|
947
|
+
id: Scalars['ID']['output'];
|
|
948
|
+
/** Pool is receiving rewards when liquidity tokens are staked */
|
|
949
|
+
incentivized: Scalars['Boolean']['output'];
|
|
950
|
+
/** The name of the pool as per contract */
|
|
951
|
+
name: Scalars['String']['output'];
|
|
952
|
+
/** The wallet address of the owner of the pool. Pool owners can set certain properties like swapFees or AMP. */
|
|
953
|
+
owner?: Maybe<Scalars['Bytes']['output']>;
|
|
954
|
+
/** The protocol version on which the pool is deployed, 1, 2 or 3 */
|
|
955
|
+
protocolVersion: Scalars['Int']['output'];
|
|
956
|
+
/** The reward vault for the pool if it has one */
|
|
957
|
+
rewardVault?: Maybe<GqlRewardVault>;
|
|
958
|
+
/** The token symbol of the pool as per contract */
|
|
959
|
+
symbol: Scalars['String']['output'];
|
|
960
|
+
/** List of tags assigned by the team based on external factors */
|
|
961
|
+
tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
962
|
+
/** The pool type, such as weighted, stable, etc. */
|
|
963
|
+
type: GqlPoolType;
|
|
964
|
+
/** If a user address was provided in the query, the user balance is populated here */
|
|
965
|
+
userBalance?: Maybe<GqlPoolUserBalance>;
|
|
966
|
+
/**
|
|
967
|
+
* The vault version on which the pool is deployed, 2 or 3
|
|
968
|
+
* @deprecated use protocolVersion instead
|
|
969
|
+
*/
|
|
970
|
+
vaultVersion: Scalars['Int']['output'];
|
|
971
|
+
/** The version of the pool type. */
|
|
972
|
+
version: Scalars['Int']['output'];
|
|
973
|
+
};
|
|
974
|
+
/** Result of the poolReloadPools mutation */
|
|
975
|
+
type GqlPoolMutationResult = {
|
|
976
|
+
__typename?: 'GqlPoolMutationResult';
|
|
977
|
+
/** The chain that was reloaded. */
|
|
978
|
+
chain: GqlChain;
|
|
979
|
+
/** The error message */
|
|
980
|
+
error?: Maybe<Scalars['String']['output']>;
|
|
981
|
+
/** Whether it was successful or not. */
|
|
982
|
+
success: Scalars['Boolean']['output'];
|
|
983
|
+
/** The type of pools that were reloaded. */
|
|
984
|
+
type: Scalars['String']['output'];
|
|
985
|
+
};
|
|
986
|
+
type GqlPoolNestedUnion = GqlPoolComposableStableNested;
|
|
987
|
+
declare enum GqlPoolNestingType {
|
|
988
|
+
HasOnlyPhantomBpt = "HAS_ONLY_PHANTOM_BPT",
|
|
989
|
+
HasSomePhantomBpt = "HAS_SOME_PHANTOM_BPT",
|
|
990
|
+
NoNesting = "NO_NESTING"
|
|
991
|
+
}
|
|
992
|
+
declare enum GqlPoolOrderBy {
|
|
993
|
+
Apr = "apr",
|
|
994
|
+
BgtApr = "bgtApr",
|
|
995
|
+
Fees24h = "fees24h",
|
|
996
|
+
TotalLiquidity = "totalLiquidity",
|
|
997
|
+
TotalShares = "totalShares",
|
|
998
|
+
UserbalanceUsd = "userbalanceUsd",
|
|
999
|
+
Volume24h = "volume24h"
|
|
1000
|
+
}
|
|
1001
|
+
declare enum GqlPoolOrderDirection {
|
|
1002
|
+
Asc = "asc",
|
|
1003
|
+
Desc = "desc"
|
|
1004
|
+
}
|
|
1005
|
+
type GqlPoolSnapshot = {
|
|
1006
|
+
__typename?: 'GqlPoolSnapshot';
|
|
1007
|
+
amounts: Array<Scalars['String']['output']>;
|
|
1008
|
+
chain: GqlChain;
|
|
1009
|
+
fees24h: Scalars['String']['output'];
|
|
1010
|
+
holdersCount: Scalars['String']['output'];
|
|
1011
|
+
id: Scalars['ID']['output'];
|
|
1012
|
+
poolId: Scalars['String']['output'];
|
|
1013
|
+
sharePrice: Scalars['String']['output'];
|
|
1014
|
+
surplus24h: Scalars['String']['output'];
|
|
1015
|
+
swapsCount: Scalars['String']['output'];
|
|
1016
|
+
timestamp: Scalars['Int']['output'];
|
|
1017
|
+
totalLiquidity: Scalars['String']['output'];
|
|
1018
|
+
totalShares: Scalars['String']['output'];
|
|
1019
|
+
totalSurplus: Scalars['String']['output'];
|
|
1020
|
+
totalSwapFee: Scalars['String']['output'];
|
|
1021
|
+
totalSwapVolume: Scalars['String']['output'];
|
|
1022
|
+
volume24h: Scalars['String']['output'];
|
|
1023
|
+
};
|
|
1024
|
+
declare enum GqlPoolSnapshotDataRange {
|
|
1025
|
+
AllTime = "ALL_TIME",
|
|
1026
|
+
NinetyDays = "NINETY_DAYS",
|
|
1027
|
+
OneHundredEightyDays = "ONE_HUNDRED_EIGHTY_DAYS",
|
|
1028
|
+
OneYear = "ONE_YEAR",
|
|
1029
|
+
ThirtyDays = "THIRTY_DAYS"
|
|
1030
|
+
}
|
|
1031
|
+
type GqlPoolStable = GqlPoolBase & {
|
|
1032
|
+
__typename?: 'GqlPoolStable';
|
|
1033
|
+
address: Scalars['Bytes']['output'];
|
|
1034
|
+
allTokens: Array<GqlPoolTokenExpanded>;
|
|
1035
|
+
amp: Scalars['BigInt']['output'];
|
|
1036
|
+
categories?: Maybe<Array<Maybe<GqlPoolFilterCategory>>>;
|
|
1037
|
+
chain: GqlChain;
|
|
1038
|
+
createTime: Scalars['Int']['output'];
|
|
1039
|
+
decimals: Scalars['Int']['output'];
|
|
1040
|
+
displayTokens: Array<GqlPoolTokenDisplay>;
|
|
1041
|
+
dynamicData: GqlPoolDynamicData;
|
|
1042
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
1043
|
+
id: Scalars['ID']['output'];
|
|
1044
|
+
/** @deprecated Removed without replacement */
|
|
1045
|
+
investConfig: GqlPoolInvestConfig;
|
|
1046
|
+
name: Scalars['String']['output'];
|
|
1047
|
+
owner: Scalars['Bytes']['output'];
|
|
1048
|
+
poolTokens: Array<GqlPoolTokenDetail>;
|
|
1049
|
+
protocolVersion: Scalars['Int']['output'];
|
|
1050
|
+
rewardVault?: Maybe<GqlRewardVault>;
|
|
1051
|
+
symbol: Scalars['String']['output'];
|
|
1052
|
+
tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
1053
|
+
/** @deprecated Use poolTokens instead */
|
|
1054
|
+
tokens: Array<GqlPoolToken>;
|
|
1055
|
+
type: GqlPoolType;
|
|
1056
|
+
userBalance?: Maybe<GqlPoolUserBalance>;
|
|
1057
|
+
/** @deprecated use protocolVersion instead */
|
|
1058
|
+
vaultVersion: Scalars['Int']['output'];
|
|
1059
|
+
version: Scalars['Int']['output'];
|
|
1060
|
+
/** @deprecated Removed without replacement */
|
|
1061
|
+
withdrawConfig: GqlPoolWithdrawConfig;
|
|
1062
|
+
};
|
|
1063
|
+
type GqlPoolStableComposablePoolData = {
|
|
1064
|
+
__typename?: 'GqlPoolStableComposablePoolData';
|
|
1065
|
+
address: Scalars['String']['output'];
|
|
1066
|
+
balance: Scalars['String']['output'];
|
|
1067
|
+
id: Scalars['ID']['output'];
|
|
1068
|
+
symbol: Scalars['String']['output'];
|
|
1069
|
+
tokens: Array<GqlPoolToken>;
|
|
1070
|
+
totalSupply: Scalars['String']['output'];
|
|
1071
|
+
};
|
|
1072
|
+
type GqlPoolSwap = {
|
|
1073
|
+
__typename?: 'GqlPoolSwap';
|
|
1074
|
+
chain: GqlChain;
|
|
1075
|
+
id: Scalars['ID']['output'];
|
|
1076
|
+
poolId: Scalars['String']['output'];
|
|
1077
|
+
timestamp: Scalars['Int']['output'];
|
|
1078
|
+
tokenAmountIn: Scalars['String']['output'];
|
|
1079
|
+
tokenAmountOut: Scalars['String']['output'];
|
|
1080
|
+
tokenIn: Scalars['String']['output'];
|
|
1081
|
+
tokenOut: Scalars['String']['output'];
|
|
1082
|
+
tx: Scalars['String']['output'];
|
|
1083
|
+
userAddress: Scalars['String']['output'];
|
|
1084
|
+
valueUSD: Scalars['Float']['output'];
|
|
1085
|
+
};
|
|
1086
|
+
type GqlPoolSwapFilter = {
|
|
1087
|
+
chainIn?: InputMaybe<Array<GqlChain>>;
|
|
1088
|
+
poolIdIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1089
|
+
tokenInIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1090
|
+
tokenOutIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1091
|
+
};
|
|
1092
|
+
type GqlPoolTimePeriod = {
|
|
1093
|
+
gt?: InputMaybe<Scalars['Int']['input']>;
|
|
1094
|
+
lt?: InputMaybe<Scalars['Int']['input']>;
|
|
1095
|
+
};
|
|
1096
|
+
type GqlPoolToken = GqlPoolTokenBase & {
|
|
1097
|
+
__typename?: 'GqlPoolToken';
|
|
1098
|
+
address: Scalars['String']['output'];
|
|
1099
|
+
balance: Scalars['BigDecimal']['output'];
|
|
1100
|
+
decimals: Scalars['Int']['output'];
|
|
1101
|
+
id: Scalars['ID']['output'];
|
|
1102
|
+
index: Scalars['Int']['output'];
|
|
1103
|
+
name: Scalars['String']['output'];
|
|
1104
|
+
priceRate: Scalars['BigDecimal']['output'];
|
|
1105
|
+
priceRateProvider?: Maybe<Scalars['String']['output']>;
|
|
1106
|
+
symbol: Scalars['String']['output'];
|
|
1107
|
+
totalBalance: Scalars['BigDecimal']['output'];
|
|
1108
|
+
weight?: Maybe<Scalars['BigDecimal']['output']>;
|
|
1109
|
+
};
|
|
1110
|
+
type GqlPoolTokenBase = {
|
|
1111
|
+
address: Scalars['String']['output'];
|
|
1112
|
+
balance: Scalars['BigDecimal']['output'];
|
|
1113
|
+
decimals: Scalars['Int']['output'];
|
|
1114
|
+
id: Scalars['ID']['output'];
|
|
1115
|
+
index: Scalars['Int']['output'];
|
|
1116
|
+
name: Scalars['String']['output'];
|
|
1117
|
+
priceRate: Scalars['BigDecimal']['output'];
|
|
1118
|
+
priceRateProvider?: Maybe<Scalars['String']['output']>;
|
|
1119
|
+
symbol: Scalars['String']['output'];
|
|
1120
|
+
totalBalance: Scalars['BigDecimal']['output'];
|
|
1121
|
+
weight?: Maybe<Scalars['BigDecimal']['output']>;
|
|
1122
|
+
};
|
|
1123
|
+
type GqlPoolTokenComposableStable = GqlPoolTokenBase & {
|
|
1124
|
+
__typename?: 'GqlPoolTokenComposableStable';
|
|
1125
|
+
address: Scalars['String']['output'];
|
|
1126
|
+
balance: Scalars['BigDecimal']['output'];
|
|
1127
|
+
decimals: Scalars['Int']['output'];
|
|
1128
|
+
id: Scalars['ID']['output'];
|
|
1129
|
+
index: Scalars['Int']['output'];
|
|
1130
|
+
name: Scalars['String']['output'];
|
|
1131
|
+
pool: GqlPoolComposableStableNested;
|
|
1132
|
+
priceRate: Scalars['BigDecimal']['output'];
|
|
1133
|
+
priceRateProvider?: Maybe<Scalars['String']['output']>;
|
|
1134
|
+
symbol: Scalars['String']['output'];
|
|
1135
|
+
totalBalance: Scalars['BigDecimal']['output'];
|
|
1136
|
+
weight?: Maybe<Scalars['BigDecimal']['output']>;
|
|
1137
|
+
};
|
|
1138
|
+
type GqlPoolTokenComposableStableNestedUnion = GqlPoolToken;
|
|
1139
|
+
/**
|
|
1140
|
+
* All info on the pool token. It will also include the nested pool if the token is a BPT. It will only support 1 level of nesting.
|
|
1141
|
+
* A second (unsupported) level of nesting is shown by having hasNestedPool = true but nestedPool = null.
|
|
1142
|
+
*/
|
|
1143
|
+
type GqlPoolTokenDetail = {
|
|
1144
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
1145
|
+
/** Address of the pool token. */
|
|
1146
|
+
address: Scalars['String']['output'];
|
|
1147
|
+
/** Balance of the pool token inside the pool. */
|
|
1148
|
+
balance: Scalars['BigDecimal']['output'];
|
|
1149
|
+
/** USD Balance of the pool token. */
|
|
1150
|
+
balanceUSD: Scalars['BigDecimal']['output'];
|
|
1151
|
+
/** Decimals of the pool token. */
|
|
1152
|
+
decimals: Scalars['Int']['output'];
|
|
1153
|
+
/** Indicates whether this token is a BPT and therefor has a nested pool. */
|
|
1154
|
+
hasNestedPool: Scalars['Boolean']['output'];
|
|
1155
|
+
/** Id of the token. A combination of pool id and token address. */
|
|
1156
|
+
id: Scalars['ID']['output'];
|
|
1157
|
+
/** Index of the pool token in the pool as returned by the vault. */
|
|
1158
|
+
index: Scalars['Int']['output'];
|
|
1159
|
+
/** Whether the token is in the allow list. */
|
|
1160
|
+
isAllowed: Scalars['Boolean']['output'];
|
|
1161
|
+
/** Whether the token is considered an ERC4626 token. */
|
|
1162
|
+
isErc4626: Scalars['Boolean']['output'];
|
|
1163
|
+
/** Name of the pool token. */
|
|
1164
|
+
name: Scalars['String']['output'];
|
|
1165
|
+
/** Additional data for the nested pool if the token is a BPT. Null otherwise. */
|
|
1166
|
+
nestedPool?: Maybe<GqlNestedPool>;
|
|
1167
|
+
/** If it is an appreciating token, it shows the current price rate. 1 otherwise. */
|
|
1168
|
+
priceRate: Scalars['BigDecimal']['output'];
|
|
1169
|
+
/** The address of the price rate provider. */
|
|
1170
|
+
priceRateProvider?: Maybe<Scalars['String']['output']>;
|
|
1171
|
+
/** Additional data for the price rate provider, such as reviews or warnings. */
|
|
1172
|
+
priceRateProviderData?: Maybe<GqlPriceRateProviderData>;
|
|
1173
|
+
/** Symbol of the pool token. */
|
|
1174
|
+
symbol: Scalars['String']['output'];
|
|
1175
|
+
/** If it is an Erc4262, this will be the underlying token if present in the API. */
|
|
1176
|
+
underlyingToken?: Maybe<GqlToken>;
|
|
1177
|
+
/** The weight of the token in the pool if it is a weighted pool, null otherwise */
|
|
1178
|
+
weight?: Maybe<Scalars['BigDecimal']['output']>;
|
|
1179
|
+
};
|
|
1180
|
+
type GqlPoolTokenDisplay = {
|
|
1181
|
+
__typename?: 'GqlPoolTokenDisplay';
|
|
1182
|
+
address: Scalars['String']['output'];
|
|
1183
|
+
id: Scalars['ID']['output'];
|
|
1184
|
+
name: Scalars['String']['output'];
|
|
1185
|
+
nestedTokens?: Maybe<Array<GqlPoolTokenDisplay>>;
|
|
1186
|
+
symbol: Scalars['String']['output'];
|
|
1187
|
+
weight?: Maybe<Scalars['BigDecimal']['output']>;
|
|
1188
|
+
};
|
|
1189
|
+
type GqlPoolTokenExpanded = {
|
|
1190
|
+
__typename?: 'GqlPoolTokenExpanded';
|
|
1191
|
+
address: Scalars['String']['output'];
|
|
1192
|
+
decimals: Scalars['Int']['output'];
|
|
1193
|
+
id: Scalars['ID']['output'];
|
|
1194
|
+
isErc4626: Scalars['Boolean']['output'];
|
|
1195
|
+
isMainToken: Scalars['Boolean']['output'];
|
|
1196
|
+
isNested: Scalars['Boolean']['output'];
|
|
1197
|
+
isPhantomBpt: Scalars['Boolean']['output'];
|
|
1198
|
+
name: Scalars['String']['output'];
|
|
1199
|
+
symbol: Scalars['String']['output'];
|
|
1200
|
+
weight?: Maybe<Scalars['String']['output']>;
|
|
1201
|
+
};
|
|
1202
|
+
type GqlPoolTokenUnion = GqlPoolToken | GqlPoolTokenComposableStable;
|
|
1203
|
+
/** Supported pool types */
|
|
1204
|
+
declare enum GqlPoolType {
|
|
1205
|
+
ComposableStable = "COMPOSABLE_STABLE",
|
|
1206
|
+
CowAmm = "COW_AMM",
|
|
1207
|
+
Element = "ELEMENT",
|
|
1208
|
+
Fx = "FX",
|
|
1209
|
+
Gyro = "GYRO",
|
|
1210
|
+
Gyro3 = "GYRO3",
|
|
1211
|
+
Gyroe = "GYROE",
|
|
1212
|
+
Investment = "INVESTMENT",
|
|
1213
|
+
LiquidityBootstrapping = "LIQUIDITY_BOOTSTRAPPING",
|
|
1214
|
+
MetaStable = "META_STABLE",
|
|
1215
|
+
PhantomStable = "PHANTOM_STABLE",
|
|
1216
|
+
Stable = "STABLE",
|
|
1217
|
+
Unknown = "UNKNOWN",
|
|
1218
|
+
Weighted = "WEIGHTED"
|
|
1219
|
+
}
|
|
1220
|
+
type GqlPoolUnion = GqlPoolComposableStable | GqlPoolElement | GqlPoolFx | GqlPoolGyro | GqlPoolLiquidityBootstrapping | GqlPoolMetaStable | GqlPoolStable | GqlPoolWeighted;
|
|
1221
|
+
/** If a user address was provided in the query, the user balance is populated here */
|
|
1222
|
+
type GqlPoolUserBalance = {
|
|
1223
|
+
__typename?: 'GqlPoolUserBalance';
|
|
1224
|
+
/** The staking balance (BPT staked in reward vault) as float. */
|
|
1225
|
+
stakingBalance: Scalars['AmountHumanReadable']['output'];
|
|
1226
|
+
/** The staking balance (BPT staked in reward vault) in USD as float. */
|
|
1227
|
+
stakingBalanceUsd: Scalars['Float']['output'];
|
|
1228
|
+
/** Total balance (wallet + staked) as float */
|
|
1229
|
+
totalBalance: Scalars['AmountHumanReadable']['output'];
|
|
1230
|
+
/** Total balance (wallet + staked) in USD as float */
|
|
1231
|
+
totalBalanceUsd: Scalars['Float']['output'];
|
|
1232
|
+
/** The wallet balance (BPT in wallet) as float. */
|
|
1233
|
+
walletBalance: Scalars['AmountHumanReadable']['output'];
|
|
1234
|
+
/** The wallet balance (BPT in wallet) in USD as float. */
|
|
1235
|
+
walletBalanceUsd: Scalars['Float']['output'];
|
|
1236
|
+
};
|
|
1237
|
+
type GqlPoolUserSwapVolume = {
|
|
1238
|
+
__typename?: 'GqlPoolUserSwapVolume';
|
|
1239
|
+
swapVolumeUSD: Scalars['BigDecimal']['output'];
|
|
1240
|
+
userAddress: Scalars['String']['output'];
|
|
1241
|
+
};
|
|
1242
|
+
type GqlPoolWeighted = GqlPoolBase & {
|
|
1243
|
+
__typename?: 'GqlPoolWeighted';
|
|
1244
|
+
address: Scalars['Bytes']['output'];
|
|
1245
|
+
allTokens: Array<GqlPoolTokenExpanded>;
|
|
1246
|
+
categories?: Maybe<Array<Maybe<GqlPoolFilterCategory>>>;
|
|
1247
|
+
chain: GqlChain;
|
|
1248
|
+
createTime: Scalars['Int']['output'];
|
|
1249
|
+
decimals: Scalars['Int']['output'];
|
|
1250
|
+
displayTokens: Array<GqlPoolTokenDisplay>;
|
|
1251
|
+
dynamicData: GqlPoolDynamicData;
|
|
1252
|
+
factory?: Maybe<Scalars['Bytes']['output']>;
|
|
1253
|
+
id: Scalars['ID']['output'];
|
|
1254
|
+
/** @deprecated Removed without replacement */
|
|
1255
|
+
investConfig: GqlPoolInvestConfig;
|
|
1256
|
+
name: Scalars['String']['output'];
|
|
1257
|
+
nestingType: GqlPoolNestingType;
|
|
1258
|
+
owner: Scalars['Bytes']['output'];
|
|
1259
|
+
poolTokens: Array<GqlPoolTokenDetail>;
|
|
1260
|
+
protocolVersion: Scalars['Int']['output'];
|
|
1261
|
+
rewardVault?: Maybe<GqlRewardVault>;
|
|
1262
|
+
symbol: Scalars['String']['output'];
|
|
1263
|
+
tags?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
1264
|
+
/**
|
|
1265
|
+
* All tokens of the pool. If it is a nested pool, the nested pool is expanded with its own tokens again.
|
|
1266
|
+
* @deprecated Use poolTokens instead
|
|
1267
|
+
*/
|
|
1268
|
+
tokens: Array<GqlPoolTokenUnion>;
|
|
1269
|
+
type: GqlPoolType;
|
|
1270
|
+
userBalance?: Maybe<GqlPoolUserBalance>;
|
|
1271
|
+
/** @deprecated use protocolVersion instead */
|
|
1272
|
+
vaultVersion: Scalars['Int']['output'];
|
|
1273
|
+
version: Scalars['Int']['output'];
|
|
1274
|
+
/** @deprecated Removed without replacement */
|
|
1275
|
+
withdrawConfig: GqlPoolWithdrawConfig;
|
|
1276
|
+
};
|
|
1277
|
+
type GqlPoolWithdrawConfig = {
|
|
1278
|
+
__typename?: 'GqlPoolWithdrawConfig';
|
|
1279
|
+
options: Array<GqlPoolWithdrawOption>;
|
|
1280
|
+
proportionalEnabled: Scalars['Boolean']['output'];
|
|
1281
|
+
singleAssetEnabled: Scalars['Boolean']['output'];
|
|
1282
|
+
};
|
|
1283
|
+
type GqlPoolWithdrawOption = {
|
|
1284
|
+
__typename?: 'GqlPoolWithdrawOption';
|
|
1285
|
+
poolTokenAddress: Scalars['String']['output'];
|
|
1286
|
+
poolTokenIndex: Scalars['Int']['output'];
|
|
1287
|
+
tokenOptions: Array<GqlPoolToken>;
|
|
1288
|
+
};
|
|
1289
|
+
/** Returns the price impact of the path. If there is an error in the price impact calculation, priceImpact will be undefined but the error string is populated. */
|
|
1290
|
+
type GqlPriceImpact = {
|
|
1291
|
+
__typename?: 'GqlPriceImpact';
|
|
1292
|
+
/** If priceImpact cant be calculated and is returned as undefined, the error string will be populated. */
|
|
1293
|
+
error?: Maybe<Scalars['String']['output']>;
|
|
1294
|
+
/** Price impact in percent 0.01 -> 0.01%; undefined if an error happened. */
|
|
1295
|
+
priceImpact?: Maybe<Scalars['AmountHumanReadable']['output']>;
|
|
1296
|
+
};
|
|
1297
|
+
/** Represents the data of a price rate provider */
|
|
1298
|
+
type GqlPriceRateProviderData = {
|
|
1299
|
+
__typename?: 'GqlPriceRateProviderData';
|
|
1300
|
+
/** The address of the price rate provider */
|
|
1301
|
+
address: Scalars['String']['output'];
|
|
1302
|
+
/** The factory used to create the price rate provider, if applicable */
|
|
1303
|
+
factory?: Maybe<Scalars['String']['output']>;
|
|
1304
|
+
/** The name of the price rate provider */
|
|
1305
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
1306
|
+
/** The filename of the review of the price rate provider */
|
|
1307
|
+
reviewFile?: Maybe<Scalars['String']['output']>;
|
|
1308
|
+
/** Indicates if the price rate provider has been reviewed */
|
|
1309
|
+
reviewed: Scalars['Boolean']['output'];
|
|
1310
|
+
/** A summary of the price rate provider, usually just says safe or unsafe */
|
|
1311
|
+
summary?: Maybe<Scalars['String']['output']>;
|
|
1312
|
+
/** Upgradeable components of the price rate provider */
|
|
1313
|
+
upgradeableComponents?: Maybe<Array<Maybe<GqlPriceRateProviderUpgradeableComponent>>>;
|
|
1314
|
+
/** Warnings associated with the price rate provider */
|
|
1315
|
+
warnings?: Maybe<Array<Scalars['String']['output']>>;
|
|
1316
|
+
};
|
|
1317
|
+
/** Represents an upgradeable component of a price rate provider */
|
|
1318
|
+
type GqlPriceRateProviderUpgradeableComponent = {
|
|
1319
|
+
__typename?: 'GqlPriceRateProviderUpgradeableComponent';
|
|
1320
|
+
/** The entry point / proxy of the upgradeable component */
|
|
1321
|
+
entryPoint: Scalars['String']['output'];
|
|
1322
|
+
/** Indicates if the implementation of the component has been reviewed */
|
|
1323
|
+
implementationReviewed: Scalars['String']['output'];
|
|
1324
|
+
};
|
|
1325
|
+
type GqlProtocolMetricsAggregated = {
|
|
1326
|
+
__typename?: 'GqlProtocolMetricsAggregated';
|
|
1327
|
+
chains: Array<GqlProtocolMetricsChain>;
|
|
1328
|
+
numLiquidityProviders: Scalars['BigInt']['output'];
|
|
1329
|
+
poolCount: Scalars['BigInt']['output'];
|
|
1330
|
+
swapFee24h: Scalars['BigDecimal']['output'];
|
|
1331
|
+
swapVolume24h: Scalars['BigDecimal']['output'];
|
|
1332
|
+
totalLiquidity: Scalars['BigDecimal']['output'];
|
|
1333
|
+
totalSwapFee: Scalars['BigDecimal']['output'];
|
|
1334
|
+
totalSwapVolume: Scalars['BigDecimal']['output'];
|
|
1335
|
+
yieldCapture24h: Scalars['BigDecimal']['output'];
|
|
1336
|
+
};
|
|
1337
|
+
type GqlProtocolMetricsChain = {
|
|
1338
|
+
__typename?: 'GqlProtocolMetricsChain';
|
|
1339
|
+
chainId: Scalars['String']['output'];
|
|
1340
|
+
numLiquidityProviders: Scalars['BigInt']['output'];
|
|
1341
|
+
poolCount: Scalars['BigInt']['output'];
|
|
1342
|
+
swapFee24h: Scalars['BigDecimal']['output'];
|
|
1343
|
+
swapVolume24h: Scalars['BigDecimal']['output'];
|
|
1344
|
+
totalLiquidity: Scalars['BigDecimal']['output'];
|
|
1345
|
+
totalSwapFee: Scalars['BigDecimal']['output'];
|
|
1346
|
+
totalSwapVolume: Scalars['BigDecimal']['output'];
|
|
1347
|
+
yieldCapture24h: Scalars['BigDecimal']['output'];
|
|
1348
|
+
};
|
|
1349
|
+
type GqlRelicSnapshot = {
|
|
1350
|
+
__typename?: 'GqlRelicSnapshot';
|
|
1351
|
+
balance: Scalars['String']['output'];
|
|
1352
|
+
entryTimestamp: Scalars['Int']['output'];
|
|
1353
|
+
farmId: Scalars['String']['output'];
|
|
1354
|
+
level: Scalars['Int']['output'];
|
|
1355
|
+
relicId: Scalars['Int']['output'];
|
|
1356
|
+
};
|
|
1357
|
+
type GqlRewardVault = {
|
|
1358
|
+
__typename?: 'GqlRewardVault';
|
|
1359
|
+
activeIncentives: Array<GqlRewardVaultIncentive>;
|
|
1360
|
+
chain: GqlChain;
|
|
1361
|
+
dynamicData?: Maybe<GqlRewardVaultDynamicData>;
|
|
1362
|
+
isVaultWhitelisted: Scalars['Boolean']['output'];
|
|
1363
|
+
metadata?: Maybe<GqlRewardVaultMetadata>;
|
|
1364
|
+
stakingToken: GqlToken;
|
|
1365
|
+
stakingTokenAddress: Scalars['String']['output'];
|
|
1366
|
+
stakingTokenAmount: Scalars['String']['output'];
|
|
1367
|
+
vaultAddress: Scalars['String']['output'];
|
|
1368
|
+
whitelistedIncentives: Array<GqlRewardVaultIncentive>;
|
|
1369
|
+
whitelistedTokens: Array<GqlRewardVaultWhitelistedToken>;
|
|
1370
|
+
};
|
|
1371
|
+
type GqlRewardVaultDynamicData = {
|
|
1372
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
1373
|
+
activeIncentivesRateUsd: Scalars['String']['output'];
|
|
1374
|
+
activeIncentivesValueUsd: Scalars['String']['output'];
|
|
1375
|
+
allTimeReceivedBGTAmount: Scalars['String']['output'];
|
|
1376
|
+
apr?: Maybe<Scalars['String']['output']>;
|
|
1377
|
+
/** @deprecated Use apr instead */
|
|
1378
|
+
apy?: Maybe<Scalars['String']['output']>;
|
|
1379
|
+
bgtCapturePerBlock: Scalars['String']['output'];
|
|
1380
|
+
bgtCapturePercentage: Scalars['String']['output'];
|
|
1381
|
+
chain: GqlChain;
|
|
1382
|
+
lastDayReceivedBGTAmount: Scalars['String']['output'];
|
|
1383
|
+
projectedApr?: Maybe<Scalars['String']['output']>;
|
|
1384
|
+
/** @deprecated Use projectedApr instead */
|
|
1385
|
+
projectedApy?: Maybe<Scalars['String']['output']>;
|
|
1386
|
+
tvl: Scalars['String']['output'];
|
|
1387
|
+
vaultAddress: Scalars['String']['output'];
|
|
1388
|
+
};
|
|
1389
|
+
type GqlRewardVaultFilter = {
|
|
1390
|
+
categoriesIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1391
|
+
categoriesNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1392
|
+
chainIn?: InputMaybe<Array<GqlChain>>;
|
|
1393
|
+
chainNotIn?: InputMaybe<Array<GqlChain>>;
|
|
1394
|
+
includeNonWhitelisted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1395
|
+
protocolsIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1396
|
+
protocolsNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1397
|
+
stakingTokensIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1398
|
+
stakingTokensNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1399
|
+
vaultAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1400
|
+
vaultAddressIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1401
|
+
vaultAddressNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1402
|
+
};
|
|
1403
|
+
type GqlRewardVaultIncentive = {
|
|
1404
|
+
__typename?: 'GqlRewardVaultIncentive';
|
|
1405
|
+
active: Scalars['Boolean']['output'];
|
|
1406
|
+
chain: GqlChain;
|
|
1407
|
+
incentiveRate: Scalars['String']['output'];
|
|
1408
|
+
incentiveRateUsd: Scalars['String']['output'];
|
|
1409
|
+
manager: Scalars['String']['output'];
|
|
1410
|
+
remainingAmount: Scalars['String']['output'];
|
|
1411
|
+
remainingAmountUsd: Scalars['String']['output'];
|
|
1412
|
+
token: GqlToken;
|
|
1413
|
+
tokenAddress: Scalars['String']['output'];
|
|
1414
|
+
vaultAddress: Scalars['String']['output'];
|
|
1415
|
+
};
|
|
1416
|
+
declare enum GqlRewardVaultIncentiveOrderBy {
|
|
1417
|
+
AmountRemaining = "amountRemaining",
|
|
1418
|
+
AmountRemainingUsd = "amountRemainingUsd",
|
|
1419
|
+
IncentiveRate = "incentiveRate"
|
|
1420
|
+
}
|
|
1421
|
+
declare enum GqlRewardVaultIncentiveOrderDirection {
|
|
1422
|
+
Asc = "asc",
|
|
1423
|
+
Desc = "desc"
|
|
1424
|
+
}
|
|
1425
|
+
type GqlRewardVaultMetadata = {
|
|
1426
|
+
__typename?: 'GqlRewardVaultMetadata';
|
|
1427
|
+
action: Scalars['String']['output'];
|
|
1428
|
+
categories: Array<Scalars['String']['output']>;
|
|
1429
|
+
chain: GqlChain;
|
|
1430
|
+
description: Scalars['String']['output'];
|
|
1431
|
+
logoURI: Scalars['String']['output'];
|
|
1432
|
+
name: Scalars['String']['output'];
|
|
1433
|
+
protocolIcon: Scalars['String']['output'];
|
|
1434
|
+
protocolName: Scalars['String']['output'];
|
|
1435
|
+
url: Scalars['String']['output'];
|
|
1436
|
+
vaultAddress: Scalars['String']['output'];
|
|
1437
|
+
};
|
|
1438
|
+
declare enum GqlRewardVaultOrderBy {
|
|
1439
|
+
ActiveIncentivesRateUsd = "activeIncentivesRateUsd",
|
|
1440
|
+
ActiveIncentivesValueUsd = "activeIncentivesValueUsd",
|
|
1441
|
+
AllTimeBgtReceived = "allTimeBGTReceived",
|
|
1442
|
+
Apr = "apr",
|
|
1443
|
+
Apy = "apy",
|
|
1444
|
+
BgtCapturePercentage = "bgtCapturePercentage",
|
|
1445
|
+
Last24hBgtReceived = "last24hBGTReceived",
|
|
1446
|
+
ProjectedApr = "projectedApr"
|
|
1447
|
+
}
|
|
1448
|
+
declare enum GqlRewardVaultOrderDirection {
|
|
1449
|
+
Asc = "asc",
|
|
1450
|
+
Desc = "desc"
|
|
1451
|
+
}
|
|
1452
|
+
type GqlRewardVaultSnapshot = {
|
|
1453
|
+
__typename?: 'GqlRewardVaultSnapshot';
|
|
1454
|
+
activeIncentivesValueUsd: Scalars['String']['output'];
|
|
1455
|
+
apr: Scalars['String']['output'];
|
|
1456
|
+
bgtCapturePercentage: Scalars['String']['output'];
|
|
1457
|
+
chain: GqlChain;
|
|
1458
|
+
id: Scalars['ID']['output'];
|
|
1459
|
+
timestamp: Scalars['Int']['output'];
|
|
1460
|
+
tvl: Scalars['String']['output'];
|
|
1461
|
+
vaultAddress: Scalars['String']['output'];
|
|
1462
|
+
};
|
|
1463
|
+
declare enum GqlRewardVaultSnapshotDataRange {
|
|
1464
|
+
NinetyDays = "NINETY_DAYS",
|
|
1465
|
+
SevenDays = "SEVEN_DAYS",
|
|
1466
|
+
SixtyDays = "SIXTY_DAYS",
|
|
1467
|
+
ThirtyDays = "THIRTY_DAYS"
|
|
1468
|
+
}
|
|
1469
|
+
declare enum GqlRewardVaultSnapshotResolution {
|
|
1470
|
+
Day = "DAY",
|
|
1471
|
+
Hour = "HOUR"
|
|
1472
|
+
}
|
|
1473
|
+
type GqlRewardVaultWhitelistedToken = {
|
|
1474
|
+
__typename?: 'GqlRewardVaultWhitelistedToken';
|
|
1475
|
+
chain: GqlChain;
|
|
1476
|
+
token: GqlToken;
|
|
1477
|
+
tokenAddress: Scalars['String']['output'];
|
|
1478
|
+
vaultAddress: Scalars['String']['output'];
|
|
1479
|
+
whitelisted: Scalars['Boolean']['output'];
|
|
1480
|
+
};
|
|
1481
|
+
type GqlSWberaVaultMetadata = {
|
|
1482
|
+
__typename?: 'GqlSWberaVaultMetadata';
|
|
1483
|
+
apr: Scalars['String']['output'];
|
|
1484
|
+
chain: GqlChain;
|
|
1485
|
+
};
|
|
1486
|
+
declare enum GqlSWberaVaultMetadataResolution {
|
|
1487
|
+
OneDay = "ONE_DAY",
|
|
1488
|
+
SevenDays = "SEVEN_DAYS"
|
|
1489
|
+
}
|
|
1490
|
+
type GqlSWberaVaultSnapshot = {
|
|
1491
|
+
__typename?: 'GqlSWberaVaultSnapshot';
|
|
1492
|
+
apr: Scalars['String']['output'];
|
|
1493
|
+
chain: GqlChain;
|
|
1494
|
+
id: Scalars['ID']['output'];
|
|
1495
|
+
timestamp: Scalars['Int']['output'];
|
|
1496
|
+
totalAssets: Scalars['String']['output'];
|
|
1497
|
+
vaultAddress: Scalars['String']['output'];
|
|
1498
|
+
};
|
|
1499
|
+
type GqlSorCallData = {
|
|
1500
|
+
__typename?: 'GqlSorCallData';
|
|
1501
|
+
/** The call data that needs to be sent to the RPC */
|
|
1502
|
+
callData: Scalars['String']['output'];
|
|
1503
|
+
/** Maximum amount to be sent for exact out orders */
|
|
1504
|
+
maxAmountInRaw?: Maybe<Scalars['String']['output']>;
|
|
1505
|
+
/** Minimum amount received for exact in orders */
|
|
1506
|
+
minAmountOutRaw?: Maybe<Scalars['String']['output']>;
|
|
1507
|
+
/** The target contract to send the call data to */
|
|
1508
|
+
to: Scalars['String']['output'];
|
|
1509
|
+
/** Value in ETH that needs to be sent for native swaps */
|
|
1510
|
+
value: Scalars['BigDecimal']['output'];
|
|
1511
|
+
};
|
|
1512
|
+
/** The swap paths for a swap */
|
|
1513
|
+
type GqlSorGetSwapPaths = {
|
|
1514
|
+
__typename?: 'GqlSorGetSwapPaths';
|
|
1515
|
+
/** Transaction data that can be posted to an RPC to execute the swap. */
|
|
1516
|
+
callData?: Maybe<GqlSorCallData>;
|
|
1517
|
+
/** The price of tokenOut in tokenIn. */
|
|
1518
|
+
effectivePrice: Scalars['AmountHumanReadable']['output'];
|
|
1519
|
+
/** The price of tokenIn in tokenOut. */
|
|
1520
|
+
effectivePriceReversed: Scalars['AmountHumanReadable']['output'];
|
|
1521
|
+
/** The found paths as needed as input for the b-sdk to execute the swap */
|
|
1522
|
+
paths: Array<GqlSorPath>;
|
|
1523
|
+
/** Price impact of the path */
|
|
1524
|
+
priceImpact: GqlPriceImpact;
|
|
1525
|
+
/** The version of the protocol these paths are from */
|
|
1526
|
+
protocolVersion: Scalars['Int']['output'];
|
|
1527
|
+
/** The return amount in human form. Return amount is either tokenOutAmount (if swapType is exactIn) or tokenInAmount (if swapType is exactOut) */
|
|
1528
|
+
returnAmount: Scalars['AmountHumanReadable']['output'];
|
|
1529
|
+
/** The return amount in a raw form */
|
|
1530
|
+
returnAmountRaw: Scalars['BigDecimal']['output'];
|
|
1531
|
+
/** The swap routes including pool information. Used to display by the UI */
|
|
1532
|
+
routes: Array<GqlSorSwapRoute>;
|
|
1533
|
+
/** The swap amount in human form. Swap amount is either tokenInAmount (if swapType is exactIn) or tokenOutAmount (if swapType is exactOut) */
|
|
1534
|
+
swapAmount: Scalars['AmountHumanReadable']['output'];
|
|
1535
|
+
/** The swap amount in a raw form */
|
|
1536
|
+
swapAmountRaw: Scalars['BigDecimal']['output'];
|
|
1537
|
+
/** The swapType that was provided, exact_in vs exact_out (givenIn vs givenOut) */
|
|
1538
|
+
swapType: GqlSorSwapType;
|
|
1539
|
+
/** Swaps as needed for the vault swap input to execute the swap */
|
|
1540
|
+
swaps: Array<GqlSorSwap>;
|
|
1541
|
+
/** All token addresses (or assets) as needed for the vault swap input to execute the swap */
|
|
1542
|
+
tokenAddresses: Array<Scalars['String']['output']>;
|
|
1543
|
+
/** The token address of the tokenIn provided */
|
|
1544
|
+
tokenIn: Scalars['String']['output'];
|
|
1545
|
+
/** The amount of tokenIn in human form */
|
|
1546
|
+
tokenInAmount: Scalars['AmountHumanReadable']['output'];
|
|
1547
|
+
/** The token address of the tokenOut provided */
|
|
1548
|
+
tokenOut: Scalars['String']['output'];
|
|
1549
|
+
/** The amount of tokenOut in human form */
|
|
1550
|
+
tokenOutAmount: Scalars['AmountHumanReadable']['output'];
|
|
1551
|
+
/** Total swap fee combining all paths */
|
|
1552
|
+
totalSwapFee: Scalars['BigDecimal']['output'];
|
|
1553
|
+
/**
|
|
1554
|
+
* The version of the vault these paths are from
|
|
1555
|
+
* @deprecated Use protocolVersion instead
|
|
1556
|
+
*/
|
|
1557
|
+
vaultVersion: Scalars['Int']['output'];
|
|
1558
|
+
};
|
|
1559
|
+
type GqlSorGetSwapsResponse = {
|
|
1560
|
+
__typename?: 'GqlSorGetSwapsResponse';
|
|
1561
|
+
effectivePrice: Scalars['AmountHumanReadable']['output'];
|
|
1562
|
+
effectivePriceReversed: Scalars['AmountHumanReadable']['output'];
|
|
1563
|
+
marketSp: Scalars['String']['output'];
|
|
1564
|
+
priceImpact: Scalars['AmountHumanReadable']['output'];
|
|
1565
|
+
returnAmount: Scalars['AmountHumanReadable']['output'];
|
|
1566
|
+
returnAmountConsideringFees: Scalars['BigDecimal']['output'];
|
|
1567
|
+
returnAmountFromSwaps?: Maybe<Scalars['BigDecimal']['output']>;
|
|
1568
|
+
returnAmountScaled: Scalars['BigDecimal']['output'];
|
|
1569
|
+
routes: Array<GqlSorSwapRoute>;
|
|
1570
|
+
swapAmount: Scalars['AmountHumanReadable']['output'];
|
|
1571
|
+
swapAmountForSwaps?: Maybe<Scalars['BigDecimal']['output']>;
|
|
1572
|
+
swapAmountScaled: Scalars['BigDecimal']['output'];
|
|
1573
|
+
swapType: GqlSorSwapType;
|
|
1574
|
+
swaps: Array<GqlSorSwap>;
|
|
1575
|
+
tokenAddresses: Array<Scalars['String']['output']>;
|
|
1576
|
+
tokenIn: Scalars['String']['output'];
|
|
1577
|
+
tokenInAmount: Scalars['AmountHumanReadable']['output'];
|
|
1578
|
+
tokenOut: Scalars['String']['output'];
|
|
1579
|
+
tokenOutAmount: Scalars['AmountHumanReadable']['output'];
|
|
1580
|
+
};
|
|
1581
|
+
/** A path of a swap. A swap can have multiple paths. Used as input to execute the swap via b-sdk */
|
|
1582
|
+
type GqlSorPath = {
|
|
1583
|
+
__typename?: 'GqlSorPath';
|
|
1584
|
+
/** Input amount of this path in scaled form */
|
|
1585
|
+
inputAmountRaw: Scalars['String']['output'];
|
|
1586
|
+
/** A sorted list of booleans that indicate if the respective pool is a buffer */
|
|
1587
|
+
isBuffer: Array<Scalars['Boolean']['output']>;
|
|
1588
|
+
/** Output amount of this path in scaled form */
|
|
1589
|
+
outputAmountRaw: Scalars['String']['output'];
|
|
1590
|
+
/** A sorted list of pool ids that are used in this path */
|
|
1591
|
+
pools: Array<Scalars['String']['output']>;
|
|
1592
|
+
/** The version of the protocol these paths are from */
|
|
1593
|
+
protocolVersion: Scalars['Int']['output'];
|
|
1594
|
+
/** A sorted list of tokens that are ussed in this path */
|
|
1595
|
+
tokens: Array<Token>;
|
|
1596
|
+
/**
|
|
1597
|
+
* Vault version of this path.
|
|
1598
|
+
* @deprecated Use protocolVersion instead
|
|
1599
|
+
*/
|
|
1600
|
+
vaultVersion: Scalars['Int']['output'];
|
|
1601
|
+
};
|
|
1602
|
+
/** A single swap step as used for input to the vault to execute a swap */
|
|
1603
|
+
type GqlSorSwap = {
|
|
1604
|
+
__typename?: 'GqlSorSwap';
|
|
1605
|
+
/** Amount to be swapped in this step. 0 for chained swap. */
|
|
1606
|
+
amount: Scalars['String']['output'];
|
|
1607
|
+
/** Index of the asset used in the tokenAddress array. */
|
|
1608
|
+
assetInIndex: Scalars['Int']['output'];
|
|
1609
|
+
/** Index of the asset used in the tokenAddress array. */
|
|
1610
|
+
assetOutIndex: Scalars['Int']['output'];
|
|
1611
|
+
/** Pool id used in this swap step */
|
|
1612
|
+
poolId: Scalars['String']['output'];
|
|
1613
|
+
/** UserData used in this swap, generally uses defaults. */
|
|
1614
|
+
userData: Scalars['String']['output'];
|
|
1615
|
+
};
|
|
1616
|
+
type GqlSorSwapOptionsInput = {
|
|
1617
|
+
forceRefresh?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1618
|
+
maxPools?: InputMaybe<Scalars['Int']['input']>;
|
|
1619
|
+
queryBatchSwap?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1620
|
+
timestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
1621
|
+
};
|
|
1622
|
+
/** The swap routes including pool information. Used to display by the UI */
|
|
1623
|
+
type GqlSorSwapRoute = {
|
|
1624
|
+
__typename?: 'GqlSorSwapRoute';
|
|
1625
|
+
/** The hops this route takes */
|
|
1626
|
+
hops: Array<GqlSorSwapRouteHop>;
|
|
1627
|
+
/** Share of this route of the total swap */
|
|
1628
|
+
share: Scalars['Float']['output'];
|
|
1629
|
+
/** Address of the tokenIn */
|
|
1630
|
+
tokenIn: Scalars['String']['output'];
|
|
1631
|
+
/** Amount of the tokenIn in human form */
|
|
1632
|
+
tokenInAmount: Scalars['AmountHumanReadable']['output'];
|
|
1633
|
+
/** Address of the tokenOut */
|
|
1634
|
+
tokenOut: Scalars['String']['output'];
|
|
1635
|
+
/** Amount of the tokenOut in human form */
|
|
1636
|
+
tokenOutAmount: Scalars['AmountHumanReadable']['output'];
|
|
1637
|
+
};
|
|
1638
|
+
/** A hop of a route. A route can have many hops meaning it traverses more than one pool. */
|
|
1639
|
+
type GqlSorSwapRouteHop = {
|
|
1640
|
+
__typename?: 'GqlSorSwapRouteHop';
|
|
1641
|
+
/** The pool entity of this hop. */
|
|
1642
|
+
pool: GqlPoolMinimal;
|
|
1643
|
+
/** The pool id of this hop. */
|
|
1644
|
+
poolId: Scalars['String']['output'];
|
|
1645
|
+
/** Address of the tokenIn */
|
|
1646
|
+
tokenIn: Scalars['String']['output'];
|
|
1647
|
+
/** Amount of the tokenIn in human form */
|
|
1648
|
+
tokenInAmount: Scalars['AmountHumanReadable']['output'];
|
|
1649
|
+
/** Address of the tokenOut */
|
|
1650
|
+
tokenOut: Scalars['String']['output'];
|
|
1651
|
+
/** Amount of the tokenOut in human form */
|
|
1652
|
+
tokenOutAmount: Scalars['AmountHumanReadable']['output'];
|
|
1653
|
+
};
|
|
1654
|
+
declare enum GqlSorSwapType {
|
|
1655
|
+
ExactIn = "EXACT_IN",
|
|
1656
|
+
ExactOut = "EXACT_OUT"
|
|
1657
|
+
}
|
|
1658
|
+
type GqlStakeBeraVaultEvent = {
|
|
1659
|
+
__typename?: 'GqlStakeBeraVaultEvent';
|
|
1660
|
+
_from: Scalars['String']['output'];
|
|
1661
|
+
_id: Scalars['String']['output'];
|
|
1662
|
+
_timestamp: Scalars['Int']['output'];
|
|
1663
|
+
assets: Scalars['String']['output'];
|
|
1664
|
+
owner: Scalars['String']['output'];
|
|
1665
|
+
shares: Scalars['String']['output'];
|
|
1666
|
+
type: GqlStakeBeraVaultEventType;
|
|
1667
|
+
};
|
|
1668
|
+
declare enum GqlStakeBeraVaultEventType {
|
|
1669
|
+
Deposit = "DEPOSIT",
|
|
1670
|
+
WithdrawalCompleted = "WITHDRAWAL_COMPLETED"
|
|
1671
|
+
}
|
|
1672
|
+
/** Inputs for the call data to create the swap transaction. If this input is given, call data is added to the response. */
|
|
1673
|
+
type GqlSwapCallDataInput = {
|
|
1674
|
+
/** How long the swap should be valid, provide a timestamp. "999999999999999999" for infinite. Default: infinite */
|
|
1675
|
+
deadline?: InputMaybe<Scalars['Int']['input']>;
|
|
1676
|
+
/** Who receives the output amount. */
|
|
1677
|
+
receiver: Scalars['String']['input'];
|
|
1678
|
+
/** Who sends the input amount. */
|
|
1679
|
+
sender: Scalars['String']['input'];
|
|
1680
|
+
/** The max slippage in percent 0.01 -> 0.01% */
|
|
1681
|
+
slippagePercentage: Scalars['String']['input'];
|
|
1682
|
+
};
|
|
1683
|
+
/** Represents a token */
|
|
1684
|
+
type GqlToken = {
|
|
1685
|
+
__typename?: 'GqlToken';
|
|
1686
|
+
/** The address of the token */
|
|
1687
|
+
address: Scalars['String']['output'];
|
|
1688
|
+
/** The chain of the token */
|
|
1689
|
+
chain: GqlChain;
|
|
1690
|
+
/** The chain ID of the token */
|
|
1691
|
+
chainId: Scalars['Int']['output'];
|
|
1692
|
+
/** The coingecko ID for this token, if present */
|
|
1693
|
+
coingeckoId?: Maybe<Scalars['String']['output']>;
|
|
1694
|
+
/** The number of decimal places for the token */
|
|
1695
|
+
decimals: Scalars['Int']['output'];
|
|
1696
|
+
/** The description of the token */
|
|
1697
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
1698
|
+
/** The Discord URL of the token */
|
|
1699
|
+
discordUrl?: Maybe<Scalars['String']['output']>;
|
|
1700
|
+
/** Whether the token is considered an ERC4626 token. */
|
|
1701
|
+
isErc4626: Scalars['Boolean']['output'];
|
|
1702
|
+
/** The logo URI of the token */
|
|
1703
|
+
logoURI?: Maybe<Scalars['String']['output']>;
|
|
1704
|
+
/** The name of the token */
|
|
1705
|
+
name: Scalars['String']['output'];
|
|
1706
|
+
/** The rate provider data for the token */
|
|
1707
|
+
priceRateProviderData?: Maybe<GqlPriceRateProviderData>;
|
|
1708
|
+
/** The priority of the token, can be used for sorting. */
|
|
1709
|
+
priority: Scalars['Int']['output'];
|
|
1710
|
+
/** The rate provider data for the token */
|
|
1711
|
+
rateProviderData?: Maybe<GqlPriceRateProviderData>;
|
|
1712
|
+
/** The symbol of the token */
|
|
1713
|
+
symbol: Scalars['String']['output'];
|
|
1714
|
+
/** The Telegram URL of the token */
|
|
1715
|
+
telegramUrl?: Maybe<Scalars['String']['output']>;
|
|
1716
|
+
/** Indicates if the token is tradable */
|
|
1717
|
+
tradable: Scalars['Boolean']['output'];
|
|
1718
|
+
/** The Twitter username of the token */
|
|
1719
|
+
twitterUsername?: Maybe<Scalars['String']['output']>;
|
|
1720
|
+
/** The website URL of the token */
|
|
1721
|
+
websiteUrl?: Maybe<Scalars['String']['output']>;
|
|
1722
|
+
};
|
|
1723
|
+
type GqlTokenAmountHumanReadable = {
|
|
1724
|
+
address: Scalars['String']['input'];
|
|
1725
|
+
amount: Scalars['AmountHumanReadable']['input'];
|
|
1726
|
+
};
|
|
1727
|
+
type GqlTokenCandlestickChartDataItem = {
|
|
1728
|
+
__typename?: 'GqlTokenCandlestickChartDataItem';
|
|
1729
|
+
close: Scalars['AmountHumanReadable']['output'];
|
|
1730
|
+
high: Scalars['AmountHumanReadable']['output'];
|
|
1731
|
+
id: Scalars['ID']['output'];
|
|
1732
|
+
low: Scalars['AmountHumanReadable']['output'];
|
|
1733
|
+
open: Scalars['AmountHumanReadable']['output'];
|
|
1734
|
+
timestamp: Scalars['Int']['output'];
|
|
1735
|
+
};
|
|
1736
|
+
declare enum GqlTokenChartDataRange {
|
|
1737
|
+
NinetyDay = "NINETY_DAY",
|
|
1738
|
+
OneHundredEightyDay = "ONE_HUNDRED_EIGHTY_DAY",
|
|
1739
|
+
OneYear = "ONE_YEAR",
|
|
1740
|
+
SevenDay = "SEVEN_DAY",
|
|
1741
|
+
ThirtyDay = "THIRTY_DAY"
|
|
1742
|
+
}
|
|
1743
|
+
type GqlTokenData = {
|
|
1744
|
+
__typename?: 'GqlTokenData';
|
|
1745
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
1746
|
+
discordUrl?: Maybe<Scalars['String']['output']>;
|
|
1747
|
+
id: Scalars['ID']['output'];
|
|
1748
|
+
telegramUrl?: Maybe<Scalars['String']['output']>;
|
|
1749
|
+
tokenAddress: Scalars['String']['output'];
|
|
1750
|
+
twitterUsername?: Maybe<Scalars['String']['output']>;
|
|
1751
|
+
websiteUrl?: Maybe<Scalars['String']['output']>;
|
|
1752
|
+
};
|
|
1753
|
+
/** Represents additional data for a token */
|
|
1754
|
+
type GqlTokenDynamicData = {
|
|
1755
|
+
__typename?: 'GqlTokenDynamicData';
|
|
1756
|
+
/** The all-time high price of the token */
|
|
1757
|
+
ath: Scalars['Float']['output'];
|
|
1758
|
+
/** The all-time low price of the token */
|
|
1759
|
+
atl: Scalars['Float']['output'];
|
|
1760
|
+
/** The fully diluted valuation of the token */
|
|
1761
|
+
fdv?: Maybe<Scalars['String']['output']>;
|
|
1762
|
+
/** The highest price in the last 24 hours */
|
|
1763
|
+
high24h: Scalars['Float']['output'];
|
|
1764
|
+
/** The unique identifier of the dynamic data */
|
|
1765
|
+
id: Scalars['String']['output'];
|
|
1766
|
+
/** The lowest price in the last 24 hours */
|
|
1767
|
+
low24h: Scalars['Float']['output'];
|
|
1768
|
+
/** The market capitalization of the token */
|
|
1769
|
+
marketCap?: Maybe<Scalars['String']['output']>;
|
|
1770
|
+
/** The current price of the token */
|
|
1771
|
+
price: Scalars['Float']['output'];
|
|
1772
|
+
/** The price change in the last 24 hours */
|
|
1773
|
+
priceChange24h: Scalars['Float']['output'];
|
|
1774
|
+
/** The percentage price change in the last 7 days */
|
|
1775
|
+
priceChangePercent7d?: Maybe<Scalars['Float']['output']>;
|
|
1776
|
+
/** The percentage price change in the last 14 days */
|
|
1777
|
+
priceChangePercent14d?: Maybe<Scalars['Float']['output']>;
|
|
1778
|
+
/** The percentage price change in the last 24 hours */
|
|
1779
|
+
priceChangePercent24h: Scalars['Float']['output'];
|
|
1780
|
+
/** The percentage price change in the last 30 days */
|
|
1781
|
+
priceChangePercent30d?: Maybe<Scalars['Float']['output']>;
|
|
1782
|
+
/** The address of the token */
|
|
1783
|
+
tokenAddress: Scalars['String']['output'];
|
|
1784
|
+
/** The timestamp when the data was last updated */
|
|
1785
|
+
updatedAt: Scalars['String']['output'];
|
|
1786
|
+
};
|
|
1787
|
+
/** Result of the poolReloadPools mutation */
|
|
1788
|
+
type GqlTokenMutationResult = {
|
|
1789
|
+
__typename?: 'GqlTokenMutationResult';
|
|
1790
|
+
/** The chain that was reloaded. */
|
|
1791
|
+
chain: GqlChain;
|
|
1792
|
+
/** The error message */
|
|
1793
|
+
error?: Maybe<Scalars['String']['output']>;
|
|
1794
|
+
/** Whether it was successful or not. */
|
|
1795
|
+
success: Scalars['Boolean']['output'];
|
|
1796
|
+
};
|
|
1797
|
+
type GqlTokenPrice = {
|
|
1798
|
+
__typename?: 'GqlTokenPrice';
|
|
1799
|
+
address: Scalars['String']['output'];
|
|
1800
|
+
chain: GqlChain;
|
|
1801
|
+
price: Scalars['Float']['output'];
|
|
1802
|
+
updatedAt: Scalars['Int']['output'];
|
|
1803
|
+
updatedBy?: Maybe<Scalars['String']['output']>;
|
|
1804
|
+
};
|
|
1805
|
+
type GqlTokenPriceChartDataItem = {
|
|
1806
|
+
__typename?: 'GqlTokenPriceChartDataItem';
|
|
1807
|
+
id: Scalars['ID']['output'];
|
|
1808
|
+
price: Scalars['AmountHumanReadable']['output'];
|
|
1809
|
+
timestamp: Scalars['Int']['output'];
|
|
1810
|
+
};
|
|
1811
|
+
declare enum GqlTokenType {
|
|
1812
|
+
Bpt = "BPT",
|
|
1813
|
+
PhantomBpt = "PHANTOM_BPT",
|
|
1814
|
+
WhiteListed = "WHITE_LISTED"
|
|
1815
|
+
}
|
|
1816
|
+
type GqlUserBgtBalance = {
|
|
1817
|
+
__typename?: 'GqlUserBGTBalance';
|
|
1818
|
+
boostedBGTBalance: Scalars['String']['output'];
|
|
1819
|
+
chain: GqlChain;
|
|
1820
|
+
totalBGTBalance: Scalars['String']['output'];
|
|
1821
|
+
unboostedBGTBalance: Scalars['String']['output'];
|
|
1822
|
+
userAddress: Scalars['String']['output'];
|
|
1823
|
+
};
|
|
1824
|
+
type GqlUserPoolBalance = {
|
|
1825
|
+
__typename?: 'GqlUserPoolBalance';
|
|
1826
|
+
chain: GqlChain;
|
|
1827
|
+
poolId: Scalars['String']['output'];
|
|
1828
|
+
tokenAddress: Scalars['String']['output'];
|
|
1829
|
+
tokenPrice?: Maybe<Scalars['Float']['output']>;
|
|
1830
|
+
totalBalance: Scalars['AmountHumanReadable']['output'];
|
|
1831
|
+
user: Scalars['String']['output'];
|
|
1832
|
+
walletBalance: Scalars['AmountHumanReadable']['output'];
|
|
1833
|
+
};
|
|
1834
|
+
type GqlUserSwapVolumeFilter = {
|
|
1835
|
+
poolIdIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1836
|
+
tokenInIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1837
|
+
tokenOutIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1838
|
+
};
|
|
1839
|
+
type GqlUserVaultDeposit = {
|
|
1840
|
+
__typename?: 'GqlUserVaultDeposit';
|
|
1841
|
+
amount: Scalars['String']['output'];
|
|
1842
|
+
chain: GqlChain;
|
|
1843
|
+
userAddress: Scalars['String']['output'];
|
|
1844
|
+
vault?: Maybe<GqlRewardVault>;
|
|
1845
|
+
vaultAddress: Scalars['String']['output'];
|
|
1846
|
+
};
|
|
1847
|
+
type GqlUserVaultDepositMinimal = {
|
|
1848
|
+
__typename?: 'GqlUserVaultDepositMinimal';
|
|
1849
|
+
amount: Scalars['String']['output'];
|
|
1850
|
+
chain: GqlChain;
|
|
1851
|
+
percentage: Scalars['String']['output'];
|
|
1852
|
+
userAddress: Scalars['String']['output'];
|
|
1853
|
+
vaultAddress: Scalars['String']['output'];
|
|
1854
|
+
};
|
|
1855
|
+
declare enum GqlUserVaultDepositOrderBy {
|
|
1856
|
+
Amount = "amount"
|
|
1857
|
+
}
|
|
1858
|
+
declare enum GqlUserVaultDepositOrderDirection {
|
|
1859
|
+
Asc = "asc",
|
|
1860
|
+
Desc = "desc"
|
|
1861
|
+
}
|
|
1862
|
+
type GqlValidator = {
|
|
1863
|
+
__typename?: 'GqlValidator';
|
|
1864
|
+
chain: GqlChain;
|
|
1865
|
+
dynamicData?: Maybe<GqlValidatorDynamicData>;
|
|
1866
|
+
id: Scalars['String']['output'];
|
|
1867
|
+
lastBlockUptime?: Maybe<GqlValidatorBlockUptime>;
|
|
1868
|
+
metadata?: Maybe<GqlValidatorMetadata>;
|
|
1869
|
+
operator?: Maybe<Scalars['String']['output']>;
|
|
1870
|
+
pubkey: Scalars['String']['output'];
|
|
1871
|
+
rewardAllocationStartBlock?: Maybe<Scalars['Int']['output']>;
|
|
1872
|
+
rewardAllocationWeights: Array<GqlValidatorRewardAllocationWeight>;
|
|
1873
|
+
rewardAllocator?: Maybe<Scalars['String']['output']>;
|
|
1874
|
+
valStats?: Maybe<GqlValidatorStats>;
|
|
1875
|
+
};
|
|
1876
|
+
type GqlValidatorBlockUptime = {
|
|
1877
|
+
__typename?: 'GqlValidatorBlockUptime';
|
|
1878
|
+
blockNumber: Scalars['Int']['output'];
|
|
1879
|
+
blockTimestamp: Scalars['Int']['output'];
|
|
1880
|
+
chain: GqlChain;
|
|
1881
|
+
isActive: Scalars['Boolean']['output'];
|
|
1882
|
+
isProposer: Scalars['Boolean']['output'];
|
|
1883
|
+
isSigner: Scalars['Boolean']['output'];
|
|
1884
|
+
status: GqlValidatorBlockUptimeStatus;
|
|
1885
|
+
validatorId: Scalars['String']['output'];
|
|
1886
|
+
};
|
|
1887
|
+
declare enum GqlValidatorBlockUptimeStatus {
|
|
1888
|
+
Inactive = "INACTIVE",
|
|
1889
|
+
Offline = "OFFLINE",
|
|
1890
|
+
Proposed = "PROPOSED",
|
|
1891
|
+
Signed = "SIGNED"
|
|
1892
|
+
}
|
|
1893
|
+
type GqlValidatorBoost = {
|
|
1894
|
+
__typename?: 'GqlValidatorBoost';
|
|
1895
|
+
activeBoostAmount: Scalars['String']['output'];
|
|
1896
|
+
chain: GqlChain;
|
|
1897
|
+
latestBlock: Scalars['Int']['output'];
|
|
1898
|
+
latestBlockTime: Scalars['Int']['output'];
|
|
1899
|
+
queuedBoostAmount: Scalars['String']['output'];
|
|
1900
|
+
queuedDropBoostAmount: Scalars['String']['output'];
|
|
1901
|
+
userAddress: Scalars['String']['output'];
|
|
1902
|
+
validator?: Maybe<GqlValidator>;
|
|
1903
|
+
validatorId: Scalars['String']['output'];
|
|
1904
|
+
};
|
|
1905
|
+
type GqlValidatorBoostDelay = {
|
|
1906
|
+
__typename?: 'GqlValidatorBoostDelay';
|
|
1907
|
+
boostDelay: Scalars['String']['output'];
|
|
1908
|
+
unboostDelay: Scalars['String']['output'];
|
|
1909
|
+
};
|
|
1910
|
+
declare enum GqlValidatorBoostOrderBy {
|
|
1911
|
+
ActiveBoostAmount = "activeBoostAmount",
|
|
1912
|
+
LatestBlock = "latestBlock",
|
|
1913
|
+
LatestBlockTime = "latestBlockTime",
|
|
1914
|
+
QueuedBoostAmount = "queuedBoostAmount",
|
|
1915
|
+
QueuedDropBoostAmount = "queuedDropBoostAmount"
|
|
1916
|
+
}
|
|
1917
|
+
declare enum GqlValidatorBoostOrderDirection {
|
|
1918
|
+
Asc = "asc",
|
|
1919
|
+
Desc = "desc"
|
|
1920
|
+
}
|
|
1921
|
+
type GqlValidatorCommissionDelay = {
|
|
1922
|
+
__typename?: 'GqlValidatorCommissionDelay';
|
|
1923
|
+
commissionChangeDelay: Scalars['String']['output'];
|
|
1924
|
+
maxWeightPerVault: Scalars['String']['output'];
|
|
1925
|
+
rewardAllocationBlockDelay: Scalars['String']['output'];
|
|
1926
|
+
};
|
|
1927
|
+
type GqlValidatorCommissionHistory = {
|
|
1928
|
+
__typename?: 'GqlValidatorCommissionHistory';
|
|
1929
|
+
blockNumber: Scalars['Int']['output'];
|
|
1930
|
+
commissionOnIncentives: Scalars['Int']['output'];
|
|
1931
|
+
timestamp: Scalars['Int']['output'];
|
|
1932
|
+
validatorId: Scalars['String']['output'];
|
|
1933
|
+
};
|
|
1934
|
+
type GqlValidatorDynamicData = {
|
|
1935
|
+
__typename?: 'GqlValidatorDynamicData';
|
|
1936
|
+
activeBoostAmount: Scalars['String']['output'];
|
|
1937
|
+
activeBoostAmountRank: Scalars['Int']['output'];
|
|
1938
|
+
allTimeDistributedBGTAmount: Scalars['String']['output'];
|
|
1939
|
+
allTimeEarnedBGTAmount: Scalars['String']['output'];
|
|
1940
|
+
apy: Scalars['String']['output'];
|
|
1941
|
+
bgtCapturePerBlock: Scalars['String']['output'];
|
|
1942
|
+
bgtCapturePercentage: Scalars['String']['output'];
|
|
1943
|
+
boostApr: Scalars['String']['output'];
|
|
1944
|
+
chain: GqlChain;
|
|
1945
|
+
commissionOnIncentives: Scalars['Int']['output'];
|
|
1946
|
+
commissionOnIncentivesHistory: Array<GqlValidatorCommissionHistory>;
|
|
1947
|
+
lastDayDistributedBGTAmount: Scalars['String']['output'];
|
|
1948
|
+
lastDayEarnedBGTAmount: Scalars['String']['output'];
|
|
1949
|
+
queuedBoostAmount: Scalars['String']['output'];
|
|
1950
|
+
rewardRate: Scalars['String']['output'];
|
|
1951
|
+
stakedBeraAmount: Scalars['String']['output'];
|
|
1952
|
+
usersActiveBoostCount: Scalars['Int']['output'];
|
|
1953
|
+
usersQueuedBoostCount: Scalars['Int']['output'];
|
|
1954
|
+
validator?: Maybe<GqlValidator>;
|
|
1955
|
+
validatorId: Scalars['String']['output'];
|
|
1956
|
+
};
|
|
1957
|
+
type GqlValidatorFilter = {
|
|
1958
|
+
OR?: InputMaybe<Array<GqlValidatorFilter>>;
|
|
1959
|
+
chainIn?: InputMaybe<Array<GqlChain>>;
|
|
1960
|
+
chainNotIn?: InputMaybe<Array<GqlChain>>;
|
|
1961
|
+
idIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1962
|
+
idNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1963
|
+
isActive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1964
|
+
operatorIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1965
|
+
operatorNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1966
|
+
pubkeyIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1967
|
+
pubkeyNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1968
|
+
rewardAllocatorIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1969
|
+
rewardAllocatorNotIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1970
|
+
vaultAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1971
|
+
};
|
|
1972
|
+
type GqlValidatorMetadata = {
|
|
1973
|
+
__typename?: 'GqlValidatorMetadata';
|
|
1974
|
+
chain: GqlChain;
|
|
1975
|
+
description: Scalars['String']['output'];
|
|
1976
|
+
logoURI: Scalars['String']['output'];
|
|
1977
|
+
name: Scalars['String']['output'];
|
|
1978
|
+
twitter: Scalars['String']['output'];
|
|
1979
|
+
validatorId: Scalars['String']['output'];
|
|
1980
|
+
website: Scalars['String']['output'];
|
|
1981
|
+
};
|
|
1982
|
+
declare enum GqlValidatorOrderBy {
|
|
1983
|
+
ActiveBoostAmount = "activeBoostAmount",
|
|
1984
|
+
AllTimeDistributedBgtAmount = "allTimeDistributedBGTAmount",
|
|
1985
|
+
AllTimeEarnedBgtAmount = "allTimeEarnedBGTAmount",
|
|
1986
|
+
Apy = "apy",
|
|
1987
|
+
BgtCapturePercentage = "bgtCapturePercentage",
|
|
1988
|
+
BoostApr = "boostApr",
|
|
1989
|
+
CommissionOnIncentives = "commissionOnIncentives",
|
|
1990
|
+
LastDayDistributedBgtAmount = "lastDayDistributedBGTAmount",
|
|
1991
|
+
LastDayEarnedBgtAmount = "lastDayEarnedBGTAmount",
|
|
1992
|
+
QueuedBoostAmount = "queuedBoostAmount",
|
|
1993
|
+
QueuedDropBoostAmount = "queuedDropBoostAmount",
|
|
1994
|
+
RewardRate = "rewardRate",
|
|
1995
|
+
StakedBeraAmount = "stakedBeraAmount",
|
|
1996
|
+
UsersActiveBoostCount = "usersActiveBoostCount",
|
|
1997
|
+
UsersQueuedBoostCount = "usersQueuedBoostCount"
|
|
1998
|
+
}
|
|
1999
|
+
declare enum GqlValidatorOrderDirection {
|
|
2000
|
+
Asc = "asc",
|
|
2001
|
+
Desc = "desc"
|
|
2002
|
+
}
|
|
2003
|
+
type GqlValidatorRewardAllocationWeight = {
|
|
2004
|
+
__typename?: 'GqlValidatorRewardAllocationWeight';
|
|
2005
|
+
chain: GqlChain;
|
|
2006
|
+
percentageNumerator: Scalars['Int']['output'];
|
|
2007
|
+
receiver: Scalars['String']['output'];
|
|
2008
|
+
receivingVault?: Maybe<GqlRewardVault>;
|
|
2009
|
+
startBlock: Scalars['Int']['output'];
|
|
2010
|
+
validator?: Maybe<GqlValidator>;
|
|
2011
|
+
validatorId: Scalars['String']['output'];
|
|
2012
|
+
};
|
|
2013
|
+
type GqlValidatorStats = {
|
|
2014
|
+
__typename?: 'GqlValidatorStats';
|
|
2015
|
+
activeBoostAmountPercentage: Scalars['String']['output'];
|
|
2016
|
+
stakedBeraAmountPercentage: Scalars['String']['output'];
|
|
2017
|
+
};
|
|
2018
|
+
type GqlVaultDurations = {
|
|
2019
|
+
__typename?: 'GqlVaultDurations';
|
|
2020
|
+
maxRewardDuration: Scalars['String']['output'];
|
|
2021
|
+
minRewardDuration: Scalars['String']['output'];
|
|
2022
|
+
rewardDurationCooldownPeriod: Scalars['String']['output'];
|
|
2023
|
+
};
|
|
2024
|
+
declare enum GqlVaultSnapshotDataRange {
|
|
2025
|
+
NinetyDays = "NINETY_DAYS",
|
|
2026
|
+
SevenDays = "SEVEN_DAYS",
|
|
2027
|
+
SixtyDays = "SIXTY_DAYS",
|
|
2028
|
+
ThirtyDays = "THIRTY_DAYS"
|
|
2029
|
+
}
|
|
2030
|
+
/** Hook data */
|
|
2031
|
+
type Hook = {
|
|
2032
|
+
__typename?: 'Hook';
|
|
2033
|
+
address: Scalars['String']['output'];
|
|
2034
|
+
chain: GqlChain;
|
|
2035
|
+
/** Data points changing over time */
|
|
2036
|
+
dynamicData?: Maybe<HookData>;
|
|
2037
|
+
/** True when hook can change the amounts send to the vault. Necessary to deduct the fees. */
|
|
2038
|
+
enableHookAdjustedAmounts: Scalars['Boolean']['output'];
|
|
2039
|
+
/** List of pools using the hook */
|
|
2040
|
+
poolsIds?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
2041
|
+
shouldCallAfterAddLiquidity: Scalars['Boolean']['output'];
|
|
2042
|
+
shouldCallAfterInitialize: Scalars['Boolean']['output'];
|
|
2043
|
+
shouldCallAfterRemoveLiquidity: Scalars['Boolean']['output'];
|
|
2044
|
+
shouldCallAfterSwap: Scalars['Boolean']['output'];
|
|
2045
|
+
shouldCallBeforeAddLiquidity: Scalars['Boolean']['output'];
|
|
2046
|
+
shouldCallBeforeInitialize: Scalars['Boolean']['output'];
|
|
2047
|
+
shouldCallBeforeRemoveLiquidity: Scalars['Boolean']['output'];
|
|
2048
|
+
shouldCallBeforeSwap: Scalars['Boolean']['output'];
|
|
2049
|
+
shouldCallComputeDynamicSwapFee: Scalars['Boolean']['output'];
|
|
2050
|
+
};
|
|
2051
|
+
/** Collection of hook specific data. Percentage format is 0.01 -> 0.01%. */
|
|
2052
|
+
type HookData = {
|
|
2053
|
+
__typename?: 'HookData';
|
|
2054
|
+
addLiquidityFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2055
|
+
removeLiquidityFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2056
|
+
swapFeePercentage?: Maybe<Scalars['String']['output']>;
|
|
2057
|
+
};
|
|
2058
|
+
type Mutation = {
|
|
2059
|
+
__typename?: 'Mutation';
|
|
2060
|
+
cacheAverageBlockTime: Scalars['String']['output'];
|
|
2061
|
+
polSyncAllRewardVaultsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2062
|
+
polSyncAllValidatorsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2063
|
+
poolDeletePool: Scalars['String']['output'];
|
|
2064
|
+
poolInitOnChainDataForAllPools: Scalars['String']['output'];
|
|
2065
|
+
poolInitializeSnapshotsForPool: Scalars['String']['output'];
|
|
2066
|
+
poolLoadOnChainDataForAllPools: Scalars['String']['output'];
|
|
2067
|
+
poolLoadOnChainDataForPoolsWithActiveUpdates: Scalars['String']['output'];
|
|
2068
|
+
poolLoadSnapshotsForAllPools: Scalars['String']['output'];
|
|
2069
|
+
poolLoadSnapshotsForPools: Scalars['String']['output'];
|
|
2070
|
+
poolReloadAllPoolAprs: Scalars['String']['output'];
|
|
2071
|
+
poolReloadAllTokenNestedPoolIds: Scalars['String']['output'];
|
|
2072
|
+
poolReloadPools: Array<GqlPoolMutationResult>;
|
|
2073
|
+
poolSyncAllCowSnapshots: Array<GqlPoolMutationResult>;
|
|
2074
|
+
poolSyncAllPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2075
|
+
poolSyncLatestSnapshotsForAllPools: Scalars['String']['output'];
|
|
2076
|
+
poolSyncNewPoolsFromSubgraph: Array<Scalars['String']['output']>;
|
|
2077
|
+
poolSyncPool: Scalars['String']['output'];
|
|
2078
|
+
poolSyncPoolAllTokensRelationship: Scalars['String']['output'];
|
|
2079
|
+
poolSyncSanityPoolData: Scalars['String']['output'];
|
|
2080
|
+
poolSyncSwapsForLast48Hours: Scalars['String']['output'];
|
|
2081
|
+
poolSyncTotalShares: Scalars['String']['output'];
|
|
2082
|
+
poolUpdateAprs: Scalars['String']['output'];
|
|
2083
|
+
poolUpdateLifetimeValuesForAllPools: Scalars['String']['output'];
|
|
2084
|
+
poolUpdateLiquidity24hAgoForAllPools: Scalars['String']['output'];
|
|
2085
|
+
poolUpdateLiquidityValuesForAllPools: Scalars['String']['output'];
|
|
2086
|
+
poolUpdateVolumeAndFeeValuesForAllPools: Scalars['String']['output'];
|
|
2087
|
+
protocolCacheMetrics: Scalars['String']['output'];
|
|
2088
|
+
tokenDeleteTokenType: Scalars['String']['output'];
|
|
2089
|
+
tokenReloadAllTokenTypes: Scalars['String']['output'];
|
|
2090
|
+
tokenReloadErc4626Tokens: Array<GqlTokenMutationResult>;
|
|
2091
|
+
tokenReloadTokenPrices?: Maybe<Scalars['Boolean']['output']>;
|
|
2092
|
+
tokenSyncLatestFxPrices: Scalars['String']['output'];
|
|
2093
|
+
tokenSyncTokenDefinitions: Scalars['String']['output'];
|
|
2094
|
+
userInitWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2095
|
+
userInitWalletBalancesForPool: Scalars['String']['output'];
|
|
2096
|
+
userSyncBalance: Scalars['String']['output'];
|
|
2097
|
+
userSyncBalanceAllPools: Scalars['String']['output'];
|
|
2098
|
+
userSyncChangedWalletBalancesForAllPools: Scalars['String']['output'];
|
|
2099
|
+
};
|
|
2100
|
+
type MutationPoolDeletePoolArgs = {
|
|
2101
|
+
poolId: Scalars['String']['input'];
|
|
2102
|
+
};
|
|
2103
|
+
type MutationPoolInitializeSnapshotsForPoolArgs = {
|
|
2104
|
+
poolId: Scalars['String']['input'];
|
|
2105
|
+
};
|
|
2106
|
+
type MutationPoolLoadSnapshotsForPoolsArgs = {
|
|
2107
|
+
poolIds: Array<Scalars['String']['input']>;
|
|
2108
|
+
reload?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2109
|
+
};
|
|
2110
|
+
type MutationPoolReloadAllPoolAprsArgs = {
|
|
2111
|
+
chain: GqlChain;
|
|
2112
|
+
};
|
|
2113
|
+
type MutationPoolReloadPoolsArgs = {
|
|
2114
|
+
chains: Array<GqlChain>;
|
|
2115
|
+
};
|
|
2116
|
+
type MutationPoolSyncAllCowSnapshotsArgs = {
|
|
2117
|
+
chains: Array<GqlChain>;
|
|
2118
|
+
};
|
|
2119
|
+
type MutationPoolSyncLatestSnapshotsForAllPoolsArgs = {
|
|
2120
|
+
chain: GqlChain;
|
|
2121
|
+
};
|
|
2122
|
+
type MutationPoolSyncPoolArgs = {
|
|
2123
|
+
poolId: Scalars['String']['input'];
|
|
2124
|
+
};
|
|
2125
|
+
type MutationPoolUpdateAprsArgs = {
|
|
2126
|
+
chain: GqlChain;
|
|
2127
|
+
};
|
|
2128
|
+
type MutationTokenDeleteTokenTypeArgs = {
|
|
2129
|
+
tokenAddress: Scalars['String']['input'];
|
|
2130
|
+
type: GqlTokenType;
|
|
2131
|
+
};
|
|
2132
|
+
type MutationTokenReloadErc4626TokensArgs = {
|
|
2133
|
+
chains: Array<GqlChain>;
|
|
2134
|
+
};
|
|
2135
|
+
type MutationTokenReloadTokenPricesArgs = {
|
|
2136
|
+
chains: Array<GqlChain>;
|
|
2137
|
+
};
|
|
2138
|
+
type MutationTokenSyncLatestFxPricesArgs = {
|
|
2139
|
+
chain: GqlChain;
|
|
2140
|
+
};
|
|
2141
|
+
type MutationUserInitWalletBalancesForPoolArgs = {
|
|
2142
|
+
poolId: Scalars['String']['input'];
|
|
2143
|
+
};
|
|
2144
|
+
type MutationUserSyncBalanceArgs = {
|
|
2145
|
+
poolId: Scalars['String']['input'];
|
|
2146
|
+
};
|
|
2147
|
+
type PaginatedRewardVaultIncentivesResponse = {
|
|
2148
|
+
__typename?: 'PaginatedRewardVaultIncentivesResponse';
|
|
2149
|
+
incentives: Array<GqlRewardVaultIncentive>;
|
|
2150
|
+
pagination: GqlPagination;
|
|
2151
|
+
};
|
|
2152
|
+
type PaginatedRewardVaultsResponse = {
|
|
2153
|
+
__typename?: 'PaginatedRewardVaultsResponse';
|
|
2154
|
+
pagination: GqlPagination;
|
|
2155
|
+
vaults: Array<GqlRewardVault>;
|
|
2156
|
+
};
|
|
2157
|
+
type PaginatedUserVaultDepositsResponse = {
|
|
2158
|
+
__typename?: 'PaginatedUserVaultDepositsResponse';
|
|
2159
|
+
deposits: Array<GqlUserVaultDeposit>;
|
|
2160
|
+
pagination: GqlPagination;
|
|
2161
|
+
};
|
|
2162
|
+
type PaginatedValidatorBlockUptimesResponse = {
|
|
2163
|
+
__typename?: 'PaginatedValidatorBlockUptimesResponse';
|
|
2164
|
+
pagination: GqlPagination;
|
|
2165
|
+
uptimes: Array<GqlValidatorBlockUptime>;
|
|
2166
|
+
};
|
|
2167
|
+
type PaginatedValidatorBoostsResponse = {
|
|
2168
|
+
__typename?: 'PaginatedValidatorBoostsResponse';
|
|
2169
|
+
boosts: Array<GqlValidatorBoost>;
|
|
2170
|
+
pagination: GqlPagination;
|
|
2171
|
+
};
|
|
2172
|
+
type PaginatedValidatorsResponse = {
|
|
2173
|
+
__typename?: 'PaginatedValidatorsResponse';
|
|
2174
|
+
pagination: GqlPagination;
|
|
2175
|
+
validators: Array<GqlValidator>;
|
|
2176
|
+
};
|
|
2177
|
+
type Query = {
|
|
2178
|
+
__typename?: 'Query';
|
|
2179
|
+
blocksGetAverageBlockTime: Scalars['Float']['output'];
|
|
2180
|
+
blocksGetBlocksPerDay: Scalars['Float']['output'];
|
|
2181
|
+
blocksGetBlocksPerSecond: Scalars['Float']['output'];
|
|
2182
|
+
blocksGetBlocksPerYear: Scalars['Float']['output'];
|
|
2183
|
+
contentGetNewsItems: Array<GqlContentNewsItem>;
|
|
2184
|
+
/** Returns list of hooks. */
|
|
2185
|
+
hooks?: Maybe<Array<Hook>>;
|
|
2186
|
+
latestSyncedBlocks: GqlLatestSyncedBlocks;
|
|
2187
|
+
polGetActiveIncentives: PaginatedRewardVaultIncentivesResponse;
|
|
2188
|
+
polGetDefaultRewardAllocations?: Maybe<GqlDefaultRewardAllocation>;
|
|
2189
|
+
polGetGlobalInfo?: Maybe<GqlGlobalInfo>;
|
|
2190
|
+
polGetRewardVault?: Maybe<GqlRewardVault>;
|
|
2191
|
+
polGetRewardVaultSnapshots: Array<GqlRewardVaultSnapshot>;
|
|
2192
|
+
polGetRewardVaults: PaginatedRewardVaultsResponse;
|
|
2193
|
+
polGetSWberaVaultMetadata: GqlSWberaVaultMetadata;
|
|
2194
|
+
polGetSWberaVaultSnapshots: Array<GqlSWberaVaultSnapshot>;
|
|
2195
|
+
polGetStakeBeraVaultEventsByOwner: Array<GqlStakeBeraVaultEvent>;
|
|
2196
|
+
polGetTopVaultDeposits: Array<GqlUserVaultDepositMinimal>;
|
|
2197
|
+
polGetUserVaultDeposits: PaginatedUserVaultDepositsResponse;
|
|
2198
|
+
polGetValidator?: Maybe<GqlValidator>;
|
|
2199
|
+
polGetValidatorBlockUptimes: Array<GqlValidatorBlockUptime>;
|
|
2200
|
+
polGetValidatorBoostDelay: GqlValidatorBoostDelay;
|
|
2201
|
+
polGetValidatorBoosts: PaginatedValidatorBoostsResponse;
|
|
2202
|
+
polGetValidatorCommissionDelay: GqlValidatorCommissionDelay;
|
|
2203
|
+
polGetValidators: PaginatedValidatorsResponse;
|
|
2204
|
+
polGetVaultDurations: GqlVaultDurations;
|
|
2205
|
+
/** Getting swap, add and remove events with paging */
|
|
2206
|
+
poolEvents: Array<GqlPoolEvent>;
|
|
2207
|
+
/** Returns all pools for a given filter, specific for aggregators */
|
|
2208
|
+
poolGetAggregatorPools: Array<GqlPoolAggregator>;
|
|
2209
|
+
/**
|
|
2210
|
+
* Will de deprecated in favor of poolEvents
|
|
2211
|
+
* @deprecated Use poolEvents instead
|
|
2212
|
+
*/
|
|
2213
|
+
poolGetBatchSwaps: Array<GqlPoolBatchSwap>;
|
|
2214
|
+
/** Getting swap, add and remove events with range */
|
|
2215
|
+
poolGetEvents: Array<GqlPoolEvent>;
|
|
2216
|
+
/**
|
|
2217
|
+
* Will de deprecated in favor of poolGetFeaturedPools
|
|
2218
|
+
* @deprecated Use poolGetFeaturedPools instead
|
|
2219
|
+
*/
|
|
2220
|
+
poolGetFeaturedPoolGroups: Array<GqlPoolFeaturedPoolGroup>;
|
|
2221
|
+
/** Returns the list of featured pools for chains */
|
|
2222
|
+
poolGetFeaturedPools: Array<GqlPoolFeaturedPool>;
|
|
2223
|
+
/**
|
|
2224
|
+
* Will de deprecated in favor of poolEvents
|
|
2225
|
+
* @deprecated Use poolEvents instead
|
|
2226
|
+
*/
|
|
2227
|
+
poolGetJoinExits: Array<GqlPoolJoinExit>;
|
|
2228
|
+
/** Returns one pool. If a user address is provided, the user balances for the given pool will also be returned. */
|
|
2229
|
+
poolGetPool: GqlPoolBase;
|
|
2230
|
+
/** Returns all pools for a given filter */
|
|
2231
|
+
poolGetPools: Array<GqlPoolMinimal>;
|
|
2232
|
+
/** Returns the number of pools for a given filter. */
|
|
2233
|
+
poolGetPoolsCount: Scalars['Int']['output'];
|
|
2234
|
+
/** Gets all the snapshots for a given pool on a chain for a certain range */
|
|
2235
|
+
poolGetSnapshots: Array<GqlPoolSnapshot>;
|
|
2236
|
+
/**
|
|
2237
|
+
* Will de deprecated in favor of poolEvents
|
|
2238
|
+
* @deprecated Use poolEvents instead
|
|
2239
|
+
*/
|
|
2240
|
+
poolGetSwaps: Array<GqlPoolSwap>;
|
|
2241
|
+
poolGetUserBalances: Array<GqlUserPoolBalance>;
|
|
2242
|
+
protocolMetricsAggregated: GqlProtocolMetricsAggregated;
|
|
2243
|
+
protocolMetricsChain: GqlProtocolMetricsChain;
|
|
2244
|
+
/** Get swap quote from the SOR v2 for the V2 vault */
|
|
2245
|
+
sorGetSwapPaths: GqlSorGetSwapPaths;
|
|
2246
|
+
/** Get swap quote from the SOR, queries both the old and new SOR */
|
|
2247
|
+
sorGetSwaps: GqlSorGetSwapsResponse;
|
|
2248
|
+
/**
|
|
2249
|
+
* Returns the candlestick chart data for a token for a given range.
|
|
2250
|
+
* @deprecated Use tokenGetHistoricalPrices instead
|
|
2251
|
+
*/
|
|
2252
|
+
tokenGetCandlestickChartData: Array<GqlTokenCandlestickChartDataItem>;
|
|
2253
|
+
/** Returns the current price for a given token */
|
|
2254
|
+
tokenGetCurrentPrice: GqlTokenPrice;
|
|
2255
|
+
/** Returns all current prices for allowed tokens for a given chain or chains */
|
|
2256
|
+
tokenGetCurrentPrices: Array<GqlTokenPrice>;
|
|
2257
|
+
/** Returns the historical prices for a given set of tokens for a given chain and range */
|
|
2258
|
+
tokenGetHistoricalPrices: Array<GqlHistoricalTokenPrice>;
|
|
2259
|
+
/**
|
|
2260
|
+
* DEPRECATED: Returns pricing data for a given token for a given range
|
|
2261
|
+
* @deprecated Use tokenGetHistoricalPrices instead
|
|
2262
|
+
*/
|
|
2263
|
+
tokenGetPriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2264
|
+
/**
|
|
2265
|
+
* Returns the price of either BAL or BEETS depending on chain
|
|
2266
|
+
* @deprecated Use tokenGetTokensDynamicData instead
|
|
2267
|
+
*/
|
|
2268
|
+
tokenGetProtocolTokenPrice: Scalars['AmountHumanReadable']['output'];
|
|
2269
|
+
/** Returns the price of a token priced in another token for a given range. */
|
|
2270
|
+
tokenGetRelativePriceChartData: Array<GqlTokenPriceChartDataItem>;
|
|
2271
|
+
/** Returns a token for a given address and chain */
|
|
2272
|
+
tokenGetToken: GqlToken;
|
|
2273
|
+
/**
|
|
2274
|
+
* Returns meta data for a given token such as description, website, etc.
|
|
2275
|
+
* @deprecated Use tokenGetTokens instead
|
|
2276
|
+
*/
|
|
2277
|
+
tokenGetTokenData?: Maybe<GqlTokenData>;
|
|
2278
|
+
/** Returns dynamic data of a token such as price, market cap, etc. */
|
|
2279
|
+
tokenGetTokenDynamicData?: Maybe<GqlTokenDynamicData>;
|
|
2280
|
+
/** Returns all allowed tokens for a given chain or chains */
|
|
2281
|
+
tokenGetTokens: Array<GqlToken>;
|
|
2282
|
+
/**
|
|
2283
|
+
* Returns meta data for a given set of tokens such as description, website, etc.
|
|
2284
|
+
* @deprecated Use tokenGetTokens instead
|
|
2285
|
+
*/
|
|
2286
|
+
tokenGetTokensData: Array<GqlTokenData>;
|
|
2287
|
+
/** Returns dynamic data of a set of tokens such as price, market cap, etc. */
|
|
2288
|
+
tokenGetTokensDynamicData: Array<GqlTokenDynamicData>;
|
|
2289
|
+
userGetPoolBalances: Array<GqlUserPoolBalance>;
|
|
2290
|
+
/** Will de deprecated in favor of poolGetEvents */
|
|
2291
|
+
userGetPoolJoinExits: Array<GqlPoolJoinExit>;
|
|
2292
|
+
/** Will de deprecated in favor of poolGetEvents */
|
|
2293
|
+
userGetSwaps: Array<GqlPoolSwap>;
|
|
2294
|
+
userGetTopBGTBalance: Array<GqlUserBgtBalance>;
|
|
2295
|
+
};
|
|
2296
|
+
type QueryContentGetNewsItemsArgs = {
|
|
2297
|
+
chain?: InputMaybe<GqlChain>;
|
|
2298
|
+
};
|
|
2299
|
+
type QueryHooksArgs = {
|
|
2300
|
+
chain?: InputMaybe<GqlChain>;
|
|
2301
|
+
};
|
|
2302
|
+
type QueryPolGetActiveIncentivesArgs = {
|
|
2303
|
+
chain: GqlChain;
|
|
2304
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2305
|
+
orderBy?: InputMaybe<GqlRewardVaultIncentiveOrderBy>;
|
|
2306
|
+
orderDirection?: InputMaybe<GqlRewardVaultIncentiveOrderDirection>;
|
|
2307
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
2308
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2309
|
+
};
|
|
2310
|
+
type QueryPolGetDefaultRewardAllocationsArgs = {
|
|
2311
|
+
chain?: InputMaybe<GqlChain>;
|
|
2312
|
+
};
|
|
2313
|
+
type QueryPolGetGlobalInfoArgs = {
|
|
2314
|
+
chain: GqlChain;
|
|
2315
|
+
};
|
|
2316
|
+
type QueryPolGetRewardVaultArgs = {
|
|
2317
|
+
chain: GqlChain;
|
|
2318
|
+
vaultAddress: Scalars['String']['input'];
|
|
2319
|
+
};
|
|
2320
|
+
type QueryPolGetRewardVaultSnapshotsArgs = {
|
|
2321
|
+
chain: GqlChain;
|
|
2322
|
+
range?: InputMaybe<GqlRewardVaultSnapshotDataRange>;
|
|
2323
|
+
resolution?: InputMaybe<GqlRewardVaultSnapshotResolution>;
|
|
2324
|
+
vaultAddress: Scalars['String']['input'];
|
|
2325
|
+
};
|
|
2326
|
+
type QueryPolGetRewardVaultsArgs = {
|
|
2327
|
+
chain?: InputMaybe<GqlChain>;
|
|
2328
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2329
|
+
orderBy?: InputMaybe<GqlRewardVaultOrderBy>;
|
|
2330
|
+
orderDirection?: InputMaybe<GqlRewardVaultOrderDirection>;
|
|
2331
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
2332
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2333
|
+
where?: InputMaybe<GqlRewardVaultFilter>;
|
|
2334
|
+
};
|
|
2335
|
+
type QueryPolGetSWberaVaultMetadataArgs = {
|
|
2336
|
+
chain: GqlChain;
|
|
2337
|
+
resolution?: InputMaybe<GqlSWberaVaultMetadataResolution>;
|
|
2338
|
+
};
|
|
2339
|
+
type QueryPolGetSWberaVaultSnapshotsArgs = {
|
|
2340
|
+
chain: GqlChain;
|
|
2341
|
+
range?: InputMaybe<GqlVaultSnapshotDataRange>;
|
|
2342
|
+
};
|
|
2343
|
+
type QueryPolGetStakeBeraVaultEventsByOwnerArgs = {
|
|
2344
|
+
owner: Scalars['String']['input'];
|
|
2345
|
+
};
|
|
2346
|
+
type QueryPolGetTopVaultDepositsArgs = {
|
|
2347
|
+
chain: GqlChain;
|
|
2348
|
+
top?: InputMaybe<Scalars['Int']['input']>;
|
|
2349
|
+
vaultAddress: Scalars['String']['input'];
|
|
2350
|
+
};
|
|
2351
|
+
type QueryPolGetUserVaultDepositsArgs = {
|
|
2352
|
+
chain: GqlChain;
|
|
2353
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2354
|
+
orderBy?: InputMaybe<GqlUserVaultDepositOrderBy>;
|
|
2355
|
+
orderDirection?: InputMaybe<GqlUserVaultDepositOrderDirection>;
|
|
2356
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2357
|
+
userAddress: Scalars['String']['input'];
|
|
2358
|
+
};
|
|
2359
|
+
type QueryPolGetValidatorArgs = {
|
|
2360
|
+
chain: GqlChain;
|
|
2361
|
+
operator?: InputMaybe<Scalars['String']['input']>;
|
|
2362
|
+
validatorId?: InputMaybe<Scalars['String']['input']>;
|
|
2363
|
+
validatorPubkey?: InputMaybe<Scalars['String']['input']>;
|
|
2364
|
+
};
|
|
2365
|
+
type QueryPolGetValidatorBlockUptimesArgs = {
|
|
2366
|
+
chain: GqlChain;
|
|
2367
|
+
validatorId: Scalars['String']['input'];
|
|
2368
|
+
};
|
|
2369
|
+
type QueryPolGetValidatorBoostsArgs = {
|
|
2370
|
+
chain: GqlChain;
|
|
2371
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2372
|
+
orderBy?: InputMaybe<GqlValidatorBoostOrderBy>;
|
|
2373
|
+
orderDirection?: InputMaybe<GqlValidatorBoostOrderDirection>;
|
|
2374
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2375
|
+
userAddress: Scalars['String']['input'];
|
|
2376
|
+
};
|
|
2377
|
+
type QueryPolGetValidatorsArgs = {
|
|
2378
|
+
chain?: InputMaybe<GqlChain>;
|
|
2379
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2380
|
+
orderBy?: InputMaybe<GqlValidatorOrderBy>;
|
|
2381
|
+
orderDirection?: InputMaybe<GqlValidatorOrderDirection>;
|
|
2382
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
2383
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2384
|
+
where?: InputMaybe<GqlValidatorFilter>;
|
|
2385
|
+
};
|
|
2386
|
+
type QueryPoolEventsArgs = {
|
|
2387
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2388
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2389
|
+
where?: InputMaybe<GqlPoolEventsFilter>;
|
|
2390
|
+
};
|
|
2391
|
+
type QueryPoolGetAggregatorPoolsArgs = {
|
|
2392
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2393
|
+
orderBy?: InputMaybe<GqlPoolOrderBy>;
|
|
2394
|
+
orderDirection?: InputMaybe<GqlPoolOrderDirection>;
|
|
2395
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2396
|
+
where?: InputMaybe<GqlPoolFilter>;
|
|
2397
|
+
};
|
|
2398
|
+
type QueryPoolGetBatchSwapsArgs = {
|
|
2399
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2400
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2401
|
+
where?: InputMaybe<GqlPoolSwapFilter>;
|
|
2402
|
+
};
|
|
2403
|
+
type QueryPoolGetEventsArgs = {
|
|
2404
|
+
chain: GqlChain;
|
|
2405
|
+
poolId: Scalars['String']['input'];
|
|
2406
|
+
range: GqlPoolEventsDataRange;
|
|
2407
|
+
typeIn: Array<GqlPoolEventType>;
|
|
2408
|
+
userAddress?: InputMaybe<Scalars['String']['input']>;
|
|
2409
|
+
};
|
|
2410
|
+
type QueryPoolGetFeaturedPoolGroupsArgs = {
|
|
2411
|
+
chains?: InputMaybe<Array<GqlChain>>;
|
|
2412
|
+
};
|
|
2413
|
+
type QueryPoolGetFeaturedPoolsArgs = {
|
|
2414
|
+
chains: Array<GqlChain>;
|
|
2415
|
+
};
|
|
2416
|
+
type QueryPoolGetJoinExitsArgs = {
|
|
2417
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2418
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2419
|
+
where?: InputMaybe<GqlPoolJoinExitFilter>;
|
|
2420
|
+
};
|
|
2421
|
+
type QueryPoolGetPoolArgs = {
|
|
2422
|
+
chain?: InputMaybe<GqlChain>;
|
|
2423
|
+
id: Scalars['String']['input'];
|
|
2424
|
+
userAddress?: InputMaybe<Scalars['String']['input']>;
|
|
2425
|
+
};
|
|
2426
|
+
type QueryPoolGetPoolsArgs = {
|
|
2427
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2428
|
+
orderBy?: InputMaybe<GqlPoolOrderBy>;
|
|
2429
|
+
orderDirection?: InputMaybe<GqlPoolOrderDirection>;
|
|
2430
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2431
|
+
textSearch?: InputMaybe<Scalars['String']['input']>;
|
|
2432
|
+
where?: InputMaybe<GqlPoolFilter>;
|
|
2433
|
+
};
|
|
2434
|
+
type QueryPoolGetPoolsCountArgs = {
|
|
2435
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2436
|
+
orderBy?: InputMaybe<GqlPoolOrderBy>;
|
|
2437
|
+
orderDirection?: InputMaybe<GqlPoolOrderDirection>;
|
|
2438
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2439
|
+
textSearch?: InputMaybe<Scalars['String']['input']>;
|
|
2440
|
+
where?: InputMaybe<GqlPoolFilter>;
|
|
2441
|
+
};
|
|
2442
|
+
type QueryPoolGetSnapshotsArgs = {
|
|
2443
|
+
chain?: InputMaybe<GqlChain>;
|
|
2444
|
+
id: Scalars['String']['input'];
|
|
2445
|
+
range: GqlPoolSnapshotDataRange;
|
|
2446
|
+
};
|
|
2447
|
+
type QueryPoolGetSwapsArgs = {
|
|
2448
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2449
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2450
|
+
where?: InputMaybe<GqlPoolSwapFilter>;
|
|
2451
|
+
};
|
|
2452
|
+
type QueryPoolGetUserBalancesArgs = {
|
|
2453
|
+
chain: GqlChain;
|
|
2454
|
+
poolId: Scalars['String']['input'];
|
|
2455
|
+
top?: InputMaybe<Scalars['Int']['input']>;
|
|
2456
|
+
};
|
|
2457
|
+
type QueryProtocolMetricsAggregatedArgs = {
|
|
2458
|
+
chains?: InputMaybe<Array<GqlChain>>;
|
|
2459
|
+
};
|
|
2460
|
+
type QueryProtocolMetricsChainArgs = {
|
|
2461
|
+
chain?: InputMaybe<GqlChain>;
|
|
2462
|
+
};
|
|
2463
|
+
type QuerySorGetSwapPathsArgs = {
|
|
2464
|
+
callDataInput?: InputMaybe<GqlSwapCallDataInput>;
|
|
2465
|
+
chain: GqlChain;
|
|
2466
|
+
queryBatchSwap?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2467
|
+
swapAmount: Scalars['AmountHumanReadable']['input'];
|
|
2468
|
+
swapType: GqlSorSwapType;
|
|
2469
|
+
tokenIn: Scalars['String']['input'];
|
|
2470
|
+
tokenOut: Scalars['String']['input'];
|
|
2471
|
+
useProtocolVersion?: InputMaybe<Scalars['Int']['input']>;
|
|
2472
|
+
};
|
|
2473
|
+
type QuerySorGetSwapsArgs = {
|
|
2474
|
+
chain?: InputMaybe<GqlChain>;
|
|
2475
|
+
swapAmount: Scalars['BigDecimal']['input'];
|
|
2476
|
+
swapOptions: GqlSorSwapOptionsInput;
|
|
2477
|
+
swapType: GqlSorSwapType;
|
|
2478
|
+
tokenIn: Scalars['String']['input'];
|
|
2479
|
+
tokenOut: Scalars['String']['input'];
|
|
2480
|
+
};
|
|
2481
|
+
type QueryTokenGetCandlestickChartDataArgs = {
|
|
2482
|
+
address: Scalars['String']['input'];
|
|
2483
|
+
chain?: InputMaybe<GqlChain>;
|
|
2484
|
+
range: GqlTokenChartDataRange;
|
|
2485
|
+
};
|
|
2486
|
+
type QueryTokenGetCurrentPriceArgs = {
|
|
2487
|
+
address: Scalars['String']['input'];
|
|
2488
|
+
chain: GqlChain;
|
|
2489
|
+
};
|
|
2490
|
+
type QueryTokenGetCurrentPricesArgs = {
|
|
2491
|
+
addressIn: Array<Scalars['String']['input']>;
|
|
2492
|
+
chains: Array<GqlChain>;
|
|
2493
|
+
};
|
|
2494
|
+
type QueryTokenGetHistoricalPricesArgs = {
|
|
2495
|
+
addresses: Array<Scalars['String']['input']>;
|
|
2496
|
+
chain: GqlChain;
|
|
2497
|
+
range: GqlTokenChartDataRange;
|
|
2498
|
+
};
|
|
2499
|
+
type QueryTokenGetPriceChartDataArgs = {
|
|
2500
|
+
address: Scalars['String']['input'];
|
|
2501
|
+
chain?: InputMaybe<GqlChain>;
|
|
2502
|
+
range: GqlTokenChartDataRange;
|
|
2503
|
+
};
|
|
2504
|
+
type QueryTokenGetProtocolTokenPriceArgs = {
|
|
2505
|
+
chain?: InputMaybe<GqlChain>;
|
|
2506
|
+
};
|
|
2507
|
+
type QueryTokenGetRelativePriceChartDataArgs = {
|
|
2508
|
+
chain?: InputMaybe<GqlChain>;
|
|
2509
|
+
range: GqlTokenChartDataRange;
|
|
2510
|
+
tokenIn: Scalars['String']['input'];
|
|
2511
|
+
tokenOut: Scalars['String']['input'];
|
|
2512
|
+
};
|
|
2513
|
+
type QueryTokenGetTokenArgs = {
|
|
2514
|
+
address: Scalars['String']['input'];
|
|
2515
|
+
chain: GqlChain;
|
|
2516
|
+
};
|
|
2517
|
+
type QueryTokenGetTokenDataArgs = {
|
|
2518
|
+
address: Scalars['String']['input'];
|
|
2519
|
+
chain?: InputMaybe<GqlChain>;
|
|
2520
|
+
};
|
|
2521
|
+
type QueryTokenGetTokenDynamicDataArgs = {
|
|
2522
|
+
address: Scalars['String']['input'];
|
|
2523
|
+
chain?: InputMaybe<GqlChain>;
|
|
2524
|
+
};
|
|
2525
|
+
type QueryTokenGetTokensArgs = {
|
|
2526
|
+
addressIn?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2527
|
+
chains: Array<GqlChain>;
|
|
2528
|
+
};
|
|
2529
|
+
type QueryTokenGetTokensDataArgs = {
|
|
2530
|
+
addresses: Array<Scalars['String']['input']>;
|
|
2531
|
+
};
|
|
2532
|
+
type QueryTokenGetTokensDynamicDataArgs = {
|
|
2533
|
+
addresses: Array<Scalars['String']['input']>;
|
|
2534
|
+
chain?: InputMaybe<GqlChain>;
|
|
2535
|
+
};
|
|
2536
|
+
type QueryUserGetPoolBalancesArgs = {
|
|
2537
|
+
address?: InputMaybe<Scalars['String']['input']>;
|
|
2538
|
+
chains?: InputMaybe<Array<GqlChain>>;
|
|
2539
|
+
};
|
|
2540
|
+
type QueryUserGetPoolJoinExitsArgs = {
|
|
2541
|
+
address?: InputMaybe<Scalars['String']['input']>;
|
|
2542
|
+
chain?: InputMaybe<GqlChain>;
|
|
2543
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2544
|
+
poolId: Scalars['String']['input'];
|
|
2545
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2546
|
+
};
|
|
2547
|
+
type QueryUserGetSwapsArgs = {
|
|
2548
|
+
address?: InputMaybe<Scalars['String']['input']>;
|
|
2549
|
+
chain?: InputMaybe<GqlChain>;
|
|
2550
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
2551
|
+
poolId: Scalars['String']['input'];
|
|
2552
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
2553
|
+
};
|
|
2554
|
+
type QueryUserGetTopBgtBalanceArgs = {
|
|
2555
|
+
chain: GqlChain;
|
|
2556
|
+
};
|
|
2557
|
+
type Token = {
|
|
2558
|
+
__typename?: 'Token';
|
|
2559
|
+
address: Scalars['String']['output'];
|
|
2560
|
+
decimals: Scalars['Int']['output'];
|
|
2561
|
+
};
|
|
2562
|
+
type UserBalanceFragment = {
|
|
2563
|
+
__typename?: 'GqlPoolUserBalance';
|
|
2564
|
+
totalBalanceUsd: number;
|
|
2565
|
+
walletBalance: any;
|
|
2566
|
+
walletBalanceUsd: number;
|
|
2567
|
+
};
|
|
2568
|
+
type RewardVaultFragment = {
|
|
2569
|
+
__typename?: 'GqlRewardVault';
|
|
2570
|
+
isVaultWhitelisted: boolean;
|
|
2571
|
+
vaultAddress: string;
|
|
2572
|
+
stakingTokenAddress: string;
|
|
2573
|
+
dynamicData?: {
|
|
2574
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
2575
|
+
activeIncentivesValueUsd: string;
|
|
2576
|
+
apr?: string | null;
|
|
2577
|
+
bgtCapturePercentage: string;
|
|
2578
|
+
allTimeReceivedBGTAmount: string;
|
|
2579
|
+
} | null;
|
|
2580
|
+
};
|
|
2581
|
+
type DynamicDataFragment = {
|
|
2582
|
+
__typename?: 'GqlPoolDynamicData';
|
|
2583
|
+
totalShares: any;
|
|
2584
|
+
fees24h: any;
|
|
2585
|
+
volume24h: any;
|
|
2586
|
+
swapFee: any;
|
|
2587
|
+
isInRecoveryMode: boolean;
|
|
2588
|
+
isPaused: boolean;
|
|
2589
|
+
totalLiquidity: any;
|
|
2590
|
+
aprItems: Array<{
|
|
2591
|
+
__typename?: 'GqlPoolAprItem';
|
|
2592
|
+
apr: number;
|
|
2593
|
+
type: GqlPoolAprItemType;
|
|
2594
|
+
id: string;
|
|
2595
|
+
}>;
|
|
2596
|
+
};
|
|
2597
|
+
type MinimalPoolInListFragment = {
|
|
2598
|
+
__typename?: 'GqlPoolMinimal';
|
|
2599
|
+
id: string;
|
|
2600
|
+
name: string;
|
|
2601
|
+
address: any;
|
|
2602
|
+
factory?: any | null;
|
|
2603
|
+
protocolVersion: number;
|
|
2604
|
+
type: GqlPoolType;
|
|
2605
|
+
tokens: Array<{
|
|
2606
|
+
__typename?: 'GqlPoolTokenExpanded';
|
|
2607
|
+
address: string;
|
|
2608
|
+
symbol: string;
|
|
2609
|
+
name: string;
|
|
2610
|
+
decimals: number;
|
|
2611
|
+
}>;
|
|
2612
|
+
dynamicData: {
|
|
2613
|
+
__typename?: 'GqlPoolDynamicData';
|
|
2614
|
+
totalShares: any;
|
|
2615
|
+
fees24h: any;
|
|
2616
|
+
volume24h: any;
|
|
2617
|
+
swapFee: any;
|
|
2618
|
+
isInRecoveryMode: boolean;
|
|
2619
|
+
isPaused: boolean;
|
|
2620
|
+
totalLiquidity: any;
|
|
2621
|
+
aprItems: Array<{
|
|
2622
|
+
__typename?: 'GqlPoolAprItem';
|
|
2623
|
+
apr: number;
|
|
2624
|
+
type: GqlPoolAprItemType;
|
|
2625
|
+
id: string;
|
|
2626
|
+
}>;
|
|
2627
|
+
};
|
|
2628
|
+
userBalance?: {
|
|
2629
|
+
__typename?: 'GqlPoolUserBalance';
|
|
2630
|
+
totalBalanceUsd: number;
|
|
2631
|
+
walletBalance: any;
|
|
2632
|
+
walletBalanceUsd: number;
|
|
2633
|
+
} | null;
|
|
2634
|
+
rewardVault?: {
|
|
2635
|
+
__typename?: 'GqlRewardVault';
|
|
2636
|
+
isVaultWhitelisted: boolean;
|
|
2637
|
+
vaultAddress: string;
|
|
2638
|
+
stakingTokenAddress: string;
|
|
2639
|
+
dynamicData?: {
|
|
2640
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
2641
|
+
activeIncentivesValueUsd: string;
|
|
2642
|
+
apr?: string | null;
|
|
2643
|
+
bgtCapturePercentage: string;
|
|
2644
|
+
allTimeReceivedBGTAmount: string;
|
|
2645
|
+
} | null;
|
|
2646
|
+
} | null;
|
|
2647
|
+
};
|
|
2648
|
+
type MinimalPool_GqlPoolComposableStable_Fragment = {
|
|
2649
|
+
__typename?: 'GqlPoolComposableStable';
|
|
2650
|
+
id: string;
|
|
2651
|
+
name: string;
|
|
2652
|
+
address: any;
|
|
2653
|
+
factory?: any | null;
|
|
2654
|
+
protocolVersion: number;
|
|
2655
|
+
type: GqlPoolType;
|
|
2656
|
+
createTime: number;
|
|
2657
|
+
tokens: Array<{
|
|
2658
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
2659
|
+
index: number;
|
|
2660
|
+
address: string;
|
|
2661
|
+
symbol: string;
|
|
2662
|
+
name: string;
|
|
2663
|
+
decimals: number;
|
|
2664
|
+
weight?: any | null;
|
|
2665
|
+
balance: any;
|
|
2666
|
+
balanceUSD: any;
|
|
2667
|
+
}>;
|
|
2668
|
+
dynamicData: {
|
|
2669
|
+
__typename?: 'GqlPoolDynamicData';
|
|
2670
|
+
totalShares: any;
|
|
2671
|
+
fees24h: any;
|
|
2672
|
+
volume24h: any;
|
|
2673
|
+
swapFee: any;
|
|
2674
|
+
isInRecoveryMode: boolean;
|
|
2675
|
+
isPaused: boolean;
|
|
2676
|
+
totalLiquidity: any;
|
|
2677
|
+
aprItems: Array<{
|
|
2678
|
+
__typename?: 'GqlPoolAprItem';
|
|
2679
|
+
apr: number;
|
|
2680
|
+
type: GqlPoolAprItemType;
|
|
2681
|
+
id: string;
|
|
2682
|
+
}>;
|
|
2683
|
+
};
|
|
2684
|
+
rewardVault?: {
|
|
2685
|
+
__typename?: 'GqlRewardVault';
|
|
2686
|
+
isVaultWhitelisted: boolean;
|
|
2687
|
+
vaultAddress: string;
|
|
2688
|
+
stakingTokenAddress: string;
|
|
2689
|
+
dynamicData?: {
|
|
2690
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
2691
|
+
activeIncentivesValueUsd: string;
|
|
2692
|
+
apr?: string | null;
|
|
2693
|
+
bgtCapturePercentage: string;
|
|
2694
|
+
allTimeReceivedBGTAmount: string;
|
|
2695
|
+
} | null;
|
|
2696
|
+
} | null;
|
|
2697
|
+
};
|
|
2698
|
+
type MinimalPool_GqlPoolElement_Fragment = {
|
|
2699
|
+
__typename?: 'GqlPoolElement';
|
|
2700
|
+
id: string;
|
|
2701
|
+
name: string;
|
|
2702
|
+
address: any;
|
|
2703
|
+
factory?: any | null;
|
|
2704
|
+
protocolVersion: number;
|
|
2705
|
+
type: GqlPoolType;
|
|
2706
|
+
createTime: number;
|
|
2707
|
+
tokens: Array<{
|
|
2708
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
2709
|
+
index: number;
|
|
2710
|
+
address: string;
|
|
2711
|
+
symbol: string;
|
|
2712
|
+
name: string;
|
|
2713
|
+
decimals: number;
|
|
2714
|
+
weight?: any | null;
|
|
2715
|
+
balance: any;
|
|
2716
|
+
balanceUSD: any;
|
|
2717
|
+
}>;
|
|
2718
|
+
dynamicData: {
|
|
2719
|
+
__typename?: 'GqlPoolDynamicData';
|
|
2720
|
+
totalShares: any;
|
|
2721
|
+
fees24h: any;
|
|
2722
|
+
volume24h: any;
|
|
2723
|
+
swapFee: any;
|
|
2724
|
+
isInRecoveryMode: boolean;
|
|
2725
|
+
isPaused: boolean;
|
|
2726
|
+
totalLiquidity: any;
|
|
2727
|
+
aprItems: Array<{
|
|
2728
|
+
__typename?: 'GqlPoolAprItem';
|
|
2729
|
+
apr: number;
|
|
2730
|
+
type: GqlPoolAprItemType;
|
|
2731
|
+
id: string;
|
|
2732
|
+
}>;
|
|
2733
|
+
};
|
|
2734
|
+
rewardVault?: {
|
|
2735
|
+
__typename?: 'GqlRewardVault';
|
|
2736
|
+
isVaultWhitelisted: boolean;
|
|
2737
|
+
vaultAddress: string;
|
|
2738
|
+
stakingTokenAddress: string;
|
|
2739
|
+
dynamicData?: {
|
|
2740
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
2741
|
+
activeIncentivesValueUsd: string;
|
|
2742
|
+
apr?: string | null;
|
|
2743
|
+
bgtCapturePercentage: string;
|
|
2744
|
+
allTimeReceivedBGTAmount: string;
|
|
2745
|
+
} | null;
|
|
2746
|
+
} | null;
|
|
2747
|
+
};
|
|
2748
|
+
type MinimalPool_GqlPoolFx_Fragment = {
|
|
2749
|
+
__typename?: 'GqlPoolFx';
|
|
2750
|
+
id: string;
|
|
2751
|
+
name: string;
|
|
2752
|
+
address: any;
|
|
2753
|
+
factory?: any | null;
|
|
2754
|
+
protocolVersion: number;
|
|
2755
|
+
type: GqlPoolType;
|
|
2756
|
+
createTime: number;
|
|
2757
|
+
tokens: Array<{
|
|
2758
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
2759
|
+
index: number;
|
|
2760
|
+
address: string;
|
|
2761
|
+
symbol: string;
|
|
2762
|
+
name: string;
|
|
2763
|
+
decimals: number;
|
|
2764
|
+
weight?: any | null;
|
|
2765
|
+
balance: any;
|
|
2766
|
+
balanceUSD: any;
|
|
2767
|
+
}>;
|
|
2768
|
+
dynamicData: {
|
|
2769
|
+
__typename?: 'GqlPoolDynamicData';
|
|
2770
|
+
totalShares: any;
|
|
2771
|
+
fees24h: any;
|
|
2772
|
+
volume24h: any;
|
|
2773
|
+
swapFee: any;
|
|
2774
|
+
isInRecoveryMode: boolean;
|
|
2775
|
+
isPaused: boolean;
|
|
2776
|
+
totalLiquidity: any;
|
|
2777
|
+
aprItems: Array<{
|
|
2778
|
+
__typename?: 'GqlPoolAprItem';
|
|
2779
|
+
apr: number;
|
|
2780
|
+
type: GqlPoolAprItemType;
|
|
2781
|
+
id: string;
|
|
2782
|
+
}>;
|
|
2783
|
+
};
|
|
2784
|
+
rewardVault?: {
|
|
2785
|
+
__typename?: 'GqlRewardVault';
|
|
2786
|
+
isVaultWhitelisted: boolean;
|
|
2787
|
+
vaultAddress: string;
|
|
2788
|
+
stakingTokenAddress: string;
|
|
2789
|
+
dynamicData?: {
|
|
2790
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
2791
|
+
activeIncentivesValueUsd: string;
|
|
2792
|
+
apr?: string | null;
|
|
2793
|
+
bgtCapturePercentage: string;
|
|
2794
|
+
allTimeReceivedBGTAmount: string;
|
|
2795
|
+
} | null;
|
|
2796
|
+
} | null;
|
|
2797
|
+
};
|
|
2798
|
+
type MinimalPool_GqlPoolGyro_Fragment = {
|
|
2799
|
+
__typename?: 'GqlPoolGyro';
|
|
2800
|
+
id: string;
|
|
2801
|
+
name: string;
|
|
2802
|
+
address: any;
|
|
2803
|
+
factory?: any | null;
|
|
2804
|
+
protocolVersion: number;
|
|
2805
|
+
type: GqlPoolType;
|
|
2806
|
+
createTime: number;
|
|
2807
|
+
tokens: Array<{
|
|
2808
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
2809
|
+
index: number;
|
|
2810
|
+
address: string;
|
|
2811
|
+
symbol: string;
|
|
2812
|
+
name: string;
|
|
2813
|
+
decimals: number;
|
|
2814
|
+
weight?: any | null;
|
|
2815
|
+
balance: any;
|
|
2816
|
+
balanceUSD: any;
|
|
2817
|
+
}>;
|
|
2818
|
+
dynamicData: {
|
|
2819
|
+
__typename?: 'GqlPoolDynamicData';
|
|
2820
|
+
totalShares: any;
|
|
2821
|
+
fees24h: any;
|
|
2822
|
+
volume24h: any;
|
|
2823
|
+
swapFee: any;
|
|
2824
|
+
isInRecoveryMode: boolean;
|
|
2825
|
+
isPaused: boolean;
|
|
2826
|
+
totalLiquidity: any;
|
|
2827
|
+
aprItems: Array<{
|
|
2828
|
+
__typename?: 'GqlPoolAprItem';
|
|
2829
|
+
apr: number;
|
|
2830
|
+
type: GqlPoolAprItemType;
|
|
2831
|
+
id: string;
|
|
2832
|
+
}>;
|
|
2833
|
+
};
|
|
2834
|
+
rewardVault?: {
|
|
2835
|
+
__typename?: 'GqlRewardVault';
|
|
2836
|
+
isVaultWhitelisted: boolean;
|
|
2837
|
+
vaultAddress: string;
|
|
2838
|
+
stakingTokenAddress: string;
|
|
2839
|
+
dynamicData?: {
|
|
2840
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
2841
|
+
activeIncentivesValueUsd: string;
|
|
2842
|
+
apr?: string | null;
|
|
2843
|
+
bgtCapturePercentage: string;
|
|
2844
|
+
allTimeReceivedBGTAmount: string;
|
|
2845
|
+
} | null;
|
|
2846
|
+
} | null;
|
|
2847
|
+
};
|
|
2848
|
+
type MinimalPool_GqlPoolLiquidityBootstrapping_Fragment = {
|
|
2849
|
+
__typename?: 'GqlPoolLiquidityBootstrapping';
|
|
2850
|
+
id: string;
|
|
2851
|
+
name: string;
|
|
2852
|
+
address: any;
|
|
2853
|
+
factory?: any | null;
|
|
2854
|
+
protocolVersion: number;
|
|
2855
|
+
type: GqlPoolType;
|
|
2856
|
+
createTime: number;
|
|
2857
|
+
tokens: Array<{
|
|
2858
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
2859
|
+
index: number;
|
|
2860
|
+
address: string;
|
|
2861
|
+
symbol: string;
|
|
2862
|
+
name: string;
|
|
2863
|
+
decimals: number;
|
|
2864
|
+
weight?: any | null;
|
|
2865
|
+
balance: any;
|
|
2866
|
+
balanceUSD: any;
|
|
2867
|
+
}>;
|
|
2868
|
+
dynamicData: {
|
|
2869
|
+
__typename?: 'GqlPoolDynamicData';
|
|
2870
|
+
totalShares: any;
|
|
2871
|
+
fees24h: any;
|
|
2872
|
+
volume24h: any;
|
|
2873
|
+
swapFee: any;
|
|
2874
|
+
isInRecoveryMode: boolean;
|
|
2875
|
+
isPaused: boolean;
|
|
2876
|
+
totalLiquidity: any;
|
|
2877
|
+
aprItems: Array<{
|
|
2878
|
+
__typename?: 'GqlPoolAprItem';
|
|
2879
|
+
apr: number;
|
|
2880
|
+
type: GqlPoolAprItemType;
|
|
2881
|
+
id: string;
|
|
2882
|
+
}>;
|
|
2883
|
+
};
|
|
2884
|
+
rewardVault?: {
|
|
2885
|
+
__typename?: 'GqlRewardVault';
|
|
2886
|
+
isVaultWhitelisted: boolean;
|
|
2887
|
+
vaultAddress: string;
|
|
2888
|
+
stakingTokenAddress: string;
|
|
2889
|
+
dynamicData?: {
|
|
2890
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
2891
|
+
activeIncentivesValueUsd: string;
|
|
2892
|
+
apr?: string | null;
|
|
2893
|
+
bgtCapturePercentage: string;
|
|
2894
|
+
allTimeReceivedBGTAmount: string;
|
|
2895
|
+
} | null;
|
|
2896
|
+
} | null;
|
|
2897
|
+
};
|
|
2898
|
+
type MinimalPool_GqlPoolMetaStable_Fragment = {
|
|
2899
|
+
__typename?: 'GqlPoolMetaStable';
|
|
2900
|
+
id: string;
|
|
2901
|
+
name: string;
|
|
2902
|
+
address: any;
|
|
2903
|
+
factory?: any | null;
|
|
2904
|
+
protocolVersion: number;
|
|
2905
|
+
type: GqlPoolType;
|
|
2906
|
+
createTime: number;
|
|
2907
|
+
tokens: Array<{
|
|
2908
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
2909
|
+
index: number;
|
|
2910
|
+
address: string;
|
|
2911
|
+
symbol: string;
|
|
2912
|
+
name: string;
|
|
2913
|
+
decimals: number;
|
|
2914
|
+
weight?: any | null;
|
|
2915
|
+
balance: any;
|
|
2916
|
+
balanceUSD: any;
|
|
2917
|
+
}>;
|
|
2918
|
+
dynamicData: {
|
|
2919
|
+
__typename?: 'GqlPoolDynamicData';
|
|
2920
|
+
totalShares: any;
|
|
2921
|
+
fees24h: any;
|
|
2922
|
+
volume24h: any;
|
|
2923
|
+
swapFee: any;
|
|
2924
|
+
isInRecoveryMode: boolean;
|
|
2925
|
+
isPaused: boolean;
|
|
2926
|
+
totalLiquidity: any;
|
|
2927
|
+
aprItems: Array<{
|
|
2928
|
+
__typename?: 'GqlPoolAprItem';
|
|
2929
|
+
apr: number;
|
|
2930
|
+
type: GqlPoolAprItemType;
|
|
2931
|
+
id: string;
|
|
2932
|
+
}>;
|
|
2933
|
+
};
|
|
2934
|
+
rewardVault?: {
|
|
2935
|
+
__typename?: 'GqlRewardVault';
|
|
2936
|
+
isVaultWhitelisted: boolean;
|
|
2937
|
+
vaultAddress: string;
|
|
2938
|
+
stakingTokenAddress: string;
|
|
2939
|
+
dynamicData?: {
|
|
2940
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
2941
|
+
activeIncentivesValueUsd: string;
|
|
2942
|
+
apr?: string | null;
|
|
2943
|
+
bgtCapturePercentage: string;
|
|
2944
|
+
allTimeReceivedBGTAmount: string;
|
|
2945
|
+
} | null;
|
|
2946
|
+
} | null;
|
|
2947
|
+
};
|
|
2948
|
+
type MinimalPool_GqlPoolStable_Fragment = {
|
|
2949
|
+
__typename?: 'GqlPoolStable';
|
|
2950
|
+
id: string;
|
|
2951
|
+
name: string;
|
|
2952
|
+
address: any;
|
|
2953
|
+
factory?: any | null;
|
|
2954
|
+
protocolVersion: number;
|
|
2955
|
+
type: GqlPoolType;
|
|
2956
|
+
createTime: number;
|
|
2957
|
+
tokens: Array<{
|
|
2958
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
2959
|
+
index: number;
|
|
2960
|
+
address: string;
|
|
2961
|
+
symbol: string;
|
|
2962
|
+
name: string;
|
|
2963
|
+
decimals: number;
|
|
2964
|
+
weight?: any | null;
|
|
2965
|
+
balance: any;
|
|
2966
|
+
balanceUSD: any;
|
|
2967
|
+
}>;
|
|
2968
|
+
dynamicData: {
|
|
2969
|
+
__typename?: 'GqlPoolDynamicData';
|
|
2970
|
+
totalShares: any;
|
|
2971
|
+
fees24h: any;
|
|
2972
|
+
volume24h: any;
|
|
2973
|
+
swapFee: any;
|
|
2974
|
+
isInRecoveryMode: boolean;
|
|
2975
|
+
isPaused: boolean;
|
|
2976
|
+
totalLiquidity: any;
|
|
2977
|
+
aprItems: Array<{
|
|
2978
|
+
__typename?: 'GqlPoolAprItem';
|
|
2979
|
+
apr: number;
|
|
2980
|
+
type: GqlPoolAprItemType;
|
|
2981
|
+
id: string;
|
|
2982
|
+
}>;
|
|
2983
|
+
};
|
|
2984
|
+
rewardVault?: {
|
|
2985
|
+
__typename?: 'GqlRewardVault';
|
|
2986
|
+
isVaultWhitelisted: boolean;
|
|
2987
|
+
vaultAddress: string;
|
|
2988
|
+
stakingTokenAddress: string;
|
|
2989
|
+
dynamicData?: {
|
|
2990
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
2991
|
+
activeIncentivesValueUsd: string;
|
|
2992
|
+
apr?: string | null;
|
|
2993
|
+
bgtCapturePercentage: string;
|
|
2994
|
+
allTimeReceivedBGTAmount: string;
|
|
2995
|
+
} | null;
|
|
2996
|
+
} | null;
|
|
2997
|
+
};
|
|
2998
|
+
type MinimalPool_GqlPoolWeighted_Fragment = {
|
|
2999
|
+
__typename?: 'GqlPoolWeighted';
|
|
3000
|
+
id: string;
|
|
3001
|
+
name: string;
|
|
3002
|
+
address: any;
|
|
3003
|
+
factory?: any | null;
|
|
3004
|
+
protocolVersion: number;
|
|
3005
|
+
type: GqlPoolType;
|
|
3006
|
+
createTime: number;
|
|
3007
|
+
tokens: Array<{
|
|
3008
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
3009
|
+
index: number;
|
|
3010
|
+
address: string;
|
|
3011
|
+
symbol: string;
|
|
3012
|
+
name: string;
|
|
3013
|
+
decimals: number;
|
|
3014
|
+
weight?: any | null;
|
|
3015
|
+
balance: any;
|
|
3016
|
+
balanceUSD: any;
|
|
3017
|
+
}>;
|
|
3018
|
+
dynamicData: {
|
|
3019
|
+
__typename?: 'GqlPoolDynamicData';
|
|
3020
|
+
totalShares: any;
|
|
3021
|
+
fees24h: any;
|
|
3022
|
+
volume24h: any;
|
|
3023
|
+
swapFee: any;
|
|
3024
|
+
isInRecoveryMode: boolean;
|
|
3025
|
+
isPaused: boolean;
|
|
3026
|
+
totalLiquidity: any;
|
|
3027
|
+
aprItems: Array<{
|
|
3028
|
+
__typename?: 'GqlPoolAprItem';
|
|
3029
|
+
apr: number;
|
|
3030
|
+
type: GqlPoolAprItemType;
|
|
3031
|
+
id: string;
|
|
3032
|
+
}>;
|
|
3033
|
+
};
|
|
3034
|
+
rewardVault?: {
|
|
3035
|
+
__typename?: 'GqlRewardVault';
|
|
3036
|
+
isVaultWhitelisted: boolean;
|
|
3037
|
+
vaultAddress: string;
|
|
3038
|
+
stakingTokenAddress: string;
|
|
3039
|
+
dynamicData?: {
|
|
3040
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
3041
|
+
activeIncentivesValueUsd: string;
|
|
3042
|
+
apr?: string | null;
|
|
3043
|
+
bgtCapturePercentage: string;
|
|
3044
|
+
allTimeReceivedBGTAmount: string;
|
|
3045
|
+
} | null;
|
|
3046
|
+
} | null;
|
|
3047
|
+
};
|
|
3048
|
+
type MinimalPoolFragment = MinimalPool_GqlPoolComposableStable_Fragment | MinimalPool_GqlPoolElement_Fragment | MinimalPool_GqlPoolFx_Fragment | MinimalPool_GqlPoolGyro_Fragment | MinimalPool_GqlPoolLiquidityBootstrapping_Fragment | MinimalPool_GqlPoolMetaStable_Fragment | MinimalPool_GqlPoolStable_Fragment | MinimalPool_GqlPoolWeighted_Fragment;
|
|
3049
|
+
type GetPoolsQueryVariables = Exact<{
|
|
3050
|
+
textSearch?: InputMaybe<Scalars['String']['input']>;
|
|
3051
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
3052
|
+
userAddress?: InputMaybe<Scalars['String']['input']>;
|
|
3053
|
+
chain: Array<GqlChain> | GqlChain;
|
|
3054
|
+
orderBy?: InputMaybe<GqlPoolOrderBy>;
|
|
3055
|
+
skip?: InputMaybe<Scalars['Int']['input']>;
|
|
3056
|
+
orderDirection?: InputMaybe<GqlPoolOrderDirection>;
|
|
3057
|
+
blacklistedPoolIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
3058
|
+
}>;
|
|
3059
|
+
type GetPoolsQuery = {
|
|
3060
|
+
__typename?: 'Query';
|
|
3061
|
+
count: number;
|
|
3062
|
+
poolGetPools: Array<{
|
|
3063
|
+
__typename?: 'GqlPoolMinimal';
|
|
3064
|
+
id: string;
|
|
3065
|
+
name: string;
|
|
3066
|
+
address: any;
|
|
3067
|
+
factory?: any | null;
|
|
3068
|
+
protocolVersion: number;
|
|
3069
|
+
type: GqlPoolType;
|
|
3070
|
+
tokens: Array<{
|
|
3071
|
+
__typename?: 'GqlPoolTokenExpanded';
|
|
3072
|
+
address: string;
|
|
3073
|
+
symbol: string;
|
|
3074
|
+
name: string;
|
|
3075
|
+
decimals: number;
|
|
3076
|
+
}>;
|
|
3077
|
+
dynamicData: {
|
|
3078
|
+
__typename?: 'GqlPoolDynamicData';
|
|
3079
|
+
totalShares: any;
|
|
3080
|
+
fees24h: any;
|
|
3081
|
+
volume24h: any;
|
|
3082
|
+
swapFee: any;
|
|
3083
|
+
isInRecoveryMode: boolean;
|
|
3084
|
+
isPaused: boolean;
|
|
3085
|
+
totalLiquidity: any;
|
|
3086
|
+
aprItems: Array<{
|
|
3087
|
+
__typename?: 'GqlPoolAprItem';
|
|
3088
|
+
apr: number;
|
|
3089
|
+
type: GqlPoolAprItemType;
|
|
3090
|
+
id: string;
|
|
3091
|
+
}>;
|
|
3092
|
+
};
|
|
3093
|
+
userBalance?: {
|
|
3094
|
+
__typename?: 'GqlPoolUserBalance';
|
|
3095
|
+
totalBalanceUsd: number;
|
|
3096
|
+
walletBalance: any;
|
|
3097
|
+
walletBalanceUsd: number;
|
|
3098
|
+
} | null;
|
|
3099
|
+
rewardVault?: {
|
|
3100
|
+
__typename?: 'GqlRewardVault';
|
|
3101
|
+
isVaultWhitelisted: boolean;
|
|
3102
|
+
vaultAddress: string;
|
|
3103
|
+
stakingTokenAddress: string;
|
|
3104
|
+
dynamicData?: {
|
|
3105
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
3106
|
+
activeIncentivesValueUsd: string;
|
|
3107
|
+
apr?: string | null;
|
|
3108
|
+
bgtCapturePercentage: string;
|
|
3109
|
+
allTimeReceivedBGTAmount: string;
|
|
3110
|
+
} | null;
|
|
3111
|
+
} | null;
|
|
3112
|
+
}>;
|
|
3113
|
+
};
|
|
3114
|
+
type GetPoolQueryVariables = Exact<{
|
|
3115
|
+
id: Scalars['String']['input'];
|
|
3116
|
+
userAddress?: InputMaybe<Scalars['String']['input']>;
|
|
3117
|
+
chain: GqlChain;
|
|
3118
|
+
}>;
|
|
3119
|
+
type GetPoolQuery = {
|
|
3120
|
+
__typename?: 'Query';
|
|
3121
|
+
poolGetPool: {
|
|
3122
|
+
__typename?: 'GqlPoolComposableStable';
|
|
3123
|
+
id: string;
|
|
3124
|
+
name: string;
|
|
3125
|
+
address: any;
|
|
3126
|
+
factory?: any | null;
|
|
3127
|
+
protocolVersion: number;
|
|
3128
|
+
type: GqlPoolType;
|
|
3129
|
+
createTime: number;
|
|
3130
|
+
tokens: Array<{
|
|
3131
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
3132
|
+
index: number;
|
|
3133
|
+
address: string;
|
|
3134
|
+
symbol: string;
|
|
3135
|
+
name: string;
|
|
3136
|
+
decimals: number;
|
|
3137
|
+
weight?: any | null;
|
|
3138
|
+
balance: any;
|
|
3139
|
+
balanceUSD: any;
|
|
3140
|
+
}>;
|
|
3141
|
+
dynamicData: {
|
|
3142
|
+
__typename?: 'GqlPoolDynamicData';
|
|
3143
|
+
totalShares: any;
|
|
3144
|
+
fees24h: any;
|
|
3145
|
+
volume24h: any;
|
|
3146
|
+
swapFee: any;
|
|
3147
|
+
isInRecoveryMode: boolean;
|
|
3148
|
+
isPaused: boolean;
|
|
3149
|
+
totalLiquidity: any;
|
|
3150
|
+
aprItems: Array<{
|
|
3151
|
+
__typename?: 'GqlPoolAprItem';
|
|
3152
|
+
apr: number;
|
|
3153
|
+
type: GqlPoolAprItemType;
|
|
3154
|
+
id: string;
|
|
3155
|
+
}>;
|
|
3156
|
+
};
|
|
3157
|
+
rewardVault?: {
|
|
3158
|
+
__typename?: 'GqlRewardVault';
|
|
3159
|
+
isVaultWhitelisted: boolean;
|
|
3160
|
+
vaultAddress: string;
|
|
3161
|
+
stakingTokenAddress: string;
|
|
3162
|
+
dynamicData?: {
|
|
3163
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
3164
|
+
activeIncentivesValueUsd: string;
|
|
3165
|
+
apr?: string | null;
|
|
3166
|
+
bgtCapturePercentage: string;
|
|
3167
|
+
allTimeReceivedBGTAmount: string;
|
|
3168
|
+
} | null;
|
|
3169
|
+
} | null;
|
|
3170
|
+
} | {
|
|
3171
|
+
__typename?: 'GqlPoolElement';
|
|
3172
|
+
id: string;
|
|
3173
|
+
name: string;
|
|
3174
|
+
address: any;
|
|
3175
|
+
factory?: any | null;
|
|
3176
|
+
protocolVersion: number;
|
|
3177
|
+
type: GqlPoolType;
|
|
3178
|
+
createTime: number;
|
|
3179
|
+
tokens: Array<{
|
|
3180
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
3181
|
+
index: number;
|
|
3182
|
+
address: string;
|
|
3183
|
+
symbol: string;
|
|
3184
|
+
name: string;
|
|
3185
|
+
decimals: number;
|
|
3186
|
+
weight?: any | null;
|
|
3187
|
+
balance: any;
|
|
3188
|
+
balanceUSD: any;
|
|
3189
|
+
}>;
|
|
3190
|
+
dynamicData: {
|
|
3191
|
+
__typename?: 'GqlPoolDynamicData';
|
|
3192
|
+
totalShares: any;
|
|
3193
|
+
fees24h: any;
|
|
3194
|
+
volume24h: any;
|
|
3195
|
+
swapFee: any;
|
|
3196
|
+
isInRecoveryMode: boolean;
|
|
3197
|
+
isPaused: boolean;
|
|
3198
|
+
totalLiquidity: any;
|
|
3199
|
+
aprItems: Array<{
|
|
3200
|
+
__typename?: 'GqlPoolAprItem';
|
|
3201
|
+
apr: number;
|
|
3202
|
+
type: GqlPoolAprItemType;
|
|
3203
|
+
id: string;
|
|
3204
|
+
}>;
|
|
3205
|
+
};
|
|
3206
|
+
rewardVault?: {
|
|
3207
|
+
__typename?: 'GqlRewardVault';
|
|
3208
|
+
isVaultWhitelisted: boolean;
|
|
3209
|
+
vaultAddress: string;
|
|
3210
|
+
stakingTokenAddress: string;
|
|
3211
|
+
dynamicData?: {
|
|
3212
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
3213
|
+
activeIncentivesValueUsd: string;
|
|
3214
|
+
apr?: string | null;
|
|
3215
|
+
bgtCapturePercentage: string;
|
|
3216
|
+
allTimeReceivedBGTAmount: string;
|
|
3217
|
+
} | null;
|
|
3218
|
+
} | null;
|
|
3219
|
+
} | {
|
|
3220
|
+
__typename?: 'GqlPoolFx';
|
|
3221
|
+
id: string;
|
|
3222
|
+
name: string;
|
|
3223
|
+
address: any;
|
|
3224
|
+
factory?: any | null;
|
|
3225
|
+
protocolVersion: number;
|
|
3226
|
+
type: GqlPoolType;
|
|
3227
|
+
createTime: number;
|
|
3228
|
+
tokens: Array<{
|
|
3229
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
3230
|
+
index: number;
|
|
3231
|
+
address: string;
|
|
3232
|
+
symbol: string;
|
|
3233
|
+
name: string;
|
|
3234
|
+
decimals: number;
|
|
3235
|
+
weight?: any | null;
|
|
3236
|
+
balance: any;
|
|
3237
|
+
balanceUSD: any;
|
|
3238
|
+
}>;
|
|
3239
|
+
dynamicData: {
|
|
3240
|
+
__typename?: 'GqlPoolDynamicData';
|
|
3241
|
+
totalShares: any;
|
|
3242
|
+
fees24h: any;
|
|
3243
|
+
volume24h: any;
|
|
3244
|
+
swapFee: any;
|
|
3245
|
+
isInRecoveryMode: boolean;
|
|
3246
|
+
isPaused: boolean;
|
|
3247
|
+
totalLiquidity: any;
|
|
3248
|
+
aprItems: Array<{
|
|
3249
|
+
__typename?: 'GqlPoolAprItem';
|
|
3250
|
+
apr: number;
|
|
3251
|
+
type: GqlPoolAprItemType;
|
|
3252
|
+
id: string;
|
|
3253
|
+
}>;
|
|
3254
|
+
};
|
|
3255
|
+
rewardVault?: {
|
|
3256
|
+
__typename?: 'GqlRewardVault';
|
|
3257
|
+
isVaultWhitelisted: boolean;
|
|
3258
|
+
vaultAddress: string;
|
|
3259
|
+
stakingTokenAddress: string;
|
|
3260
|
+
dynamicData?: {
|
|
3261
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
3262
|
+
activeIncentivesValueUsd: string;
|
|
3263
|
+
apr?: string | null;
|
|
3264
|
+
bgtCapturePercentage: string;
|
|
3265
|
+
allTimeReceivedBGTAmount: string;
|
|
3266
|
+
} | null;
|
|
3267
|
+
} | null;
|
|
3268
|
+
} | {
|
|
3269
|
+
__typename?: 'GqlPoolGyro';
|
|
3270
|
+
id: string;
|
|
3271
|
+
name: string;
|
|
3272
|
+
address: any;
|
|
3273
|
+
factory?: any | null;
|
|
3274
|
+
protocolVersion: number;
|
|
3275
|
+
type: GqlPoolType;
|
|
3276
|
+
createTime: number;
|
|
3277
|
+
tokens: Array<{
|
|
3278
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
3279
|
+
index: number;
|
|
3280
|
+
address: string;
|
|
3281
|
+
symbol: string;
|
|
3282
|
+
name: string;
|
|
3283
|
+
decimals: number;
|
|
3284
|
+
weight?: any | null;
|
|
3285
|
+
balance: any;
|
|
3286
|
+
balanceUSD: any;
|
|
3287
|
+
}>;
|
|
3288
|
+
dynamicData: {
|
|
3289
|
+
__typename?: 'GqlPoolDynamicData';
|
|
3290
|
+
totalShares: any;
|
|
3291
|
+
fees24h: any;
|
|
3292
|
+
volume24h: any;
|
|
3293
|
+
swapFee: any;
|
|
3294
|
+
isInRecoveryMode: boolean;
|
|
3295
|
+
isPaused: boolean;
|
|
3296
|
+
totalLiquidity: any;
|
|
3297
|
+
aprItems: Array<{
|
|
3298
|
+
__typename?: 'GqlPoolAprItem';
|
|
3299
|
+
apr: number;
|
|
3300
|
+
type: GqlPoolAprItemType;
|
|
3301
|
+
id: string;
|
|
3302
|
+
}>;
|
|
3303
|
+
};
|
|
3304
|
+
rewardVault?: {
|
|
3305
|
+
__typename?: 'GqlRewardVault';
|
|
3306
|
+
isVaultWhitelisted: boolean;
|
|
3307
|
+
vaultAddress: string;
|
|
3308
|
+
stakingTokenAddress: string;
|
|
3309
|
+
dynamicData?: {
|
|
3310
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
3311
|
+
activeIncentivesValueUsd: string;
|
|
3312
|
+
apr?: string | null;
|
|
3313
|
+
bgtCapturePercentage: string;
|
|
3314
|
+
allTimeReceivedBGTAmount: string;
|
|
3315
|
+
} | null;
|
|
3316
|
+
} | null;
|
|
3317
|
+
} | {
|
|
3318
|
+
__typename?: 'GqlPoolLiquidityBootstrapping';
|
|
3319
|
+
id: string;
|
|
3320
|
+
name: string;
|
|
3321
|
+
address: any;
|
|
3322
|
+
factory?: any | null;
|
|
3323
|
+
protocolVersion: number;
|
|
3324
|
+
type: GqlPoolType;
|
|
3325
|
+
createTime: number;
|
|
3326
|
+
tokens: Array<{
|
|
3327
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
3328
|
+
index: number;
|
|
3329
|
+
address: string;
|
|
3330
|
+
symbol: string;
|
|
3331
|
+
name: string;
|
|
3332
|
+
decimals: number;
|
|
3333
|
+
weight?: any | null;
|
|
3334
|
+
balance: any;
|
|
3335
|
+
balanceUSD: any;
|
|
3336
|
+
}>;
|
|
3337
|
+
dynamicData: {
|
|
3338
|
+
__typename?: 'GqlPoolDynamicData';
|
|
3339
|
+
totalShares: any;
|
|
3340
|
+
fees24h: any;
|
|
3341
|
+
volume24h: any;
|
|
3342
|
+
swapFee: any;
|
|
3343
|
+
isInRecoveryMode: boolean;
|
|
3344
|
+
isPaused: boolean;
|
|
3345
|
+
totalLiquidity: any;
|
|
3346
|
+
aprItems: Array<{
|
|
3347
|
+
__typename?: 'GqlPoolAprItem';
|
|
3348
|
+
apr: number;
|
|
3349
|
+
type: GqlPoolAprItemType;
|
|
3350
|
+
id: string;
|
|
3351
|
+
}>;
|
|
3352
|
+
};
|
|
3353
|
+
rewardVault?: {
|
|
3354
|
+
__typename?: 'GqlRewardVault';
|
|
3355
|
+
isVaultWhitelisted: boolean;
|
|
3356
|
+
vaultAddress: string;
|
|
3357
|
+
stakingTokenAddress: string;
|
|
3358
|
+
dynamicData?: {
|
|
3359
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
3360
|
+
activeIncentivesValueUsd: string;
|
|
3361
|
+
apr?: string | null;
|
|
3362
|
+
bgtCapturePercentage: string;
|
|
3363
|
+
allTimeReceivedBGTAmount: string;
|
|
3364
|
+
} | null;
|
|
3365
|
+
} | null;
|
|
3366
|
+
} | {
|
|
3367
|
+
__typename?: 'GqlPoolMetaStable';
|
|
3368
|
+
id: string;
|
|
3369
|
+
name: string;
|
|
3370
|
+
address: any;
|
|
3371
|
+
factory?: any | null;
|
|
3372
|
+
protocolVersion: number;
|
|
3373
|
+
type: GqlPoolType;
|
|
3374
|
+
createTime: number;
|
|
3375
|
+
tokens: Array<{
|
|
3376
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
3377
|
+
index: number;
|
|
3378
|
+
address: string;
|
|
3379
|
+
symbol: string;
|
|
3380
|
+
name: string;
|
|
3381
|
+
decimals: number;
|
|
3382
|
+
weight?: any | null;
|
|
3383
|
+
balance: any;
|
|
3384
|
+
balanceUSD: any;
|
|
3385
|
+
}>;
|
|
3386
|
+
dynamicData: {
|
|
3387
|
+
__typename?: 'GqlPoolDynamicData';
|
|
3388
|
+
totalShares: any;
|
|
3389
|
+
fees24h: any;
|
|
3390
|
+
volume24h: any;
|
|
3391
|
+
swapFee: any;
|
|
3392
|
+
isInRecoveryMode: boolean;
|
|
3393
|
+
isPaused: boolean;
|
|
3394
|
+
totalLiquidity: any;
|
|
3395
|
+
aprItems: Array<{
|
|
3396
|
+
__typename?: 'GqlPoolAprItem';
|
|
3397
|
+
apr: number;
|
|
3398
|
+
type: GqlPoolAprItemType;
|
|
3399
|
+
id: string;
|
|
3400
|
+
}>;
|
|
3401
|
+
};
|
|
3402
|
+
rewardVault?: {
|
|
3403
|
+
__typename?: 'GqlRewardVault';
|
|
3404
|
+
isVaultWhitelisted: boolean;
|
|
3405
|
+
vaultAddress: string;
|
|
3406
|
+
stakingTokenAddress: string;
|
|
3407
|
+
dynamicData?: {
|
|
3408
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
3409
|
+
activeIncentivesValueUsd: string;
|
|
3410
|
+
apr?: string | null;
|
|
3411
|
+
bgtCapturePercentage: string;
|
|
3412
|
+
allTimeReceivedBGTAmount: string;
|
|
3413
|
+
} | null;
|
|
3414
|
+
} | null;
|
|
3415
|
+
} | {
|
|
3416
|
+
__typename?: 'GqlPoolStable';
|
|
3417
|
+
id: string;
|
|
3418
|
+
name: string;
|
|
3419
|
+
address: any;
|
|
3420
|
+
factory?: any | null;
|
|
3421
|
+
protocolVersion: number;
|
|
3422
|
+
type: GqlPoolType;
|
|
3423
|
+
createTime: number;
|
|
3424
|
+
tokens: Array<{
|
|
3425
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
3426
|
+
index: number;
|
|
3427
|
+
address: string;
|
|
3428
|
+
symbol: string;
|
|
3429
|
+
name: string;
|
|
3430
|
+
decimals: number;
|
|
3431
|
+
weight?: any | null;
|
|
3432
|
+
balance: any;
|
|
3433
|
+
balanceUSD: any;
|
|
3434
|
+
}>;
|
|
3435
|
+
dynamicData: {
|
|
3436
|
+
__typename?: 'GqlPoolDynamicData';
|
|
3437
|
+
totalShares: any;
|
|
3438
|
+
fees24h: any;
|
|
3439
|
+
volume24h: any;
|
|
3440
|
+
swapFee: any;
|
|
3441
|
+
isInRecoveryMode: boolean;
|
|
3442
|
+
isPaused: boolean;
|
|
3443
|
+
totalLiquidity: any;
|
|
3444
|
+
aprItems: Array<{
|
|
3445
|
+
__typename?: 'GqlPoolAprItem';
|
|
3446
|
+
apr: number;
|
|
3447
|
+
type: GqlPoolAprItemType;
|
|
3448
|
+
id: string;
|
|
3449
|
+
}>;
|
|
3450
|
+
};
|
|
3451
|
+
rewardVault?: {
|
|
3452
|
+
__typename?: 'GqlRewardVault';
|
|
3453
|
+
isVaultWhitelisted: boolean;
|
|
3454
|
+
vaultAddress: string;
|
|
3455
|
+
stakingTokenAddress: string;
|
|
3456
|
+
dynamicData?: {
|
|
3457
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
3458
|
+
activeIncentivesValueUsd: string;
|
|
3459
|
+
apr?: string | null;
|
|
3460
|
+
bgtCapturePercentage: string;
|
|
3461
|
+
allTimeReceivedBGTAmount: string;
|
|
3462
|
+
} | null;
|
|
3463
|
+
} | null;
|
|
3464
|
+
} | {
|
|
3465
|
+
__typename?: 'GqlPoolWeighted';
|
|
3466
|
+
id: string;
|
|
3467
|
+
name: string;
|
|
3468
|
+
address: any;
|
|
3469
|
+
factory?: any | null;
|
|
3470
|
+
protocolVersion: number;
|
|
3471
|
+
type: GqlPoolType;
|
|
3472
|
+
createTime: number;
|
|
3473
|
+
tokens: Array<{
|
|
3474
|
+
__typename?: 'GqlPoolTokenDetail';
|
|
3475
|
+
index: number;
|
|
3476
|
+
address: string;
|
|
3477
|
+
symbol: string;
|
|
3478
|
+
name: string;
|
|
3479
|
+
decimals: number;
|
|
3480
|
+
weight?: any | null;
|
|
3481
|
+
balance: any;
|
|
3482
|
+
balanceUSD: any;
|
|
3483
|
+
}>;
|
|
3484
|
+
dynamicData: {
|
|
3485
|
+
__typename?: 'GqlPoolDynamicData';
|
|
3486
|
+
totalShares: any;
|
|
3487
|
+
fees24h: any;
|
|
3488
|
+
volume24h: any;
|
|
3489
|
+
swapFee: any;
|
|
3490
|
+
isInRecoveryMode: boolean;
|
|
3491
|
+
isPaused: boolean;
|
|
3492
|
+
totalLiquidity: any;
|
|
3493
|
+
aprItems: Array<{
|
|
3494
|
+
__typename?: 'GqlPoolAprItem';
|
|
3495
|
+
apr: number;
|
|
3496
|
+
type: GqlPoolAprItemType;
|
|
3497
|
+
id: string;
|
|
3498
|
+
}>;
|
|
3499
|
+
};
|
|
3500
|
+
rewardVault?: {
|
|
3501
|
+
__typename?: 'GqlRewardVault';
|
|
3502
|
+
isVaultWhitelisted: boolean;
|
|
3503
|
+
vaultAddress: string;
|
|
3504
|
+
stakingTokenAddress: string;
|
|
3505
|
+
dynamicData?: {
|
|
3506
|
+
__typename?: 'GqlRewardVaultDynamicData';
|
|
3507
|
+
activeIncentivesValueUsd: string;
|
|
3508
|
+
apr?: string | null;
|
|
3509
|
+
bgtCapturePercentage: string;
|
|
3510
|
+
allTimeReceivedBGTAmount: string;
|
|
3511
|
+
} | null;
|
|
3512
|
+
} | null;
|
|
3513
|
+
};
|
|
3514
|
+
};
|
|
3515
|
+
type PoolHistoricalDataFragment = {
|
|
3516
|
+
__typename?: 'GqlPoolSnapshot';
|
|
3517
|
+
id: string;
|
|
3518
|
+
volume24h: string;
|
|
3519
|
+
totalSwapVolume: string;
|
|
3520
|
+
timestamp: number;
|
|
3521
|
+
totalLiquidity: string;
|
|
3522
|
+
fees24h: string;
|
|
3523
|
+
totalSwapFee: string;
|
|
3524
|
+
};
|
|
3525
|
+
type GetPoolHistoricalDataQueryVariables = Exact<{
|
|
3526
|
+
poolId: Scalars['String']['input'];
|
|
3527
|
+
chain: GqlChain;
|
|
3528
|
+
}>;
|
|
3529
|
+
type GetPoolHistoricalDataQuery = {
|
|
3530
|
+
__typename?: 'Query';
|
|
3531
|
+
poolGetSnapshots: Array<{
|
|
3532
|
+
__typename?: 'GqlPoolSnapshot';
|
|
3533
|
+
id: string;
|
|
3534
|
+
volume24h: string;
|
|
3535
|
+
totalSwapVolume: string;
|
|
3536
|
+
timestamp: number;
|
|
3537
|
+
totalLiquidity: string;
|
|
3538
|
+
fees24h: string;
|
|
3539
|
+
totalSwapFee: string;
|
|
3540
|
+
}>;
|
|
3541
|
+
};
|
|
3542
|
+
type GqlPoolSwapEventCowAmmFragment = {
|
|
3543
|
+
__typename?: 'GqlPoolSwapEventCowAmm';
|
|
3544
|
+
tokenIn: {
|
|
3545
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3546
|
+
address: string;
|
|
3547
|
+
amount: string;
|
|
3548
|
+
};
|
|
3549
|
+
tokenOut: {
|
|
3550
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3551
|
+
address: string;
|
|
3552
|
+
amount: string;
|
|
3553
|
+
};
|
|
3554
|
+
};
|
|
3555
|
+
type GqlPoolSwapEventV3Fragment = {
|
|
3556
|
+
__typename?: 'GqlPoolSwapEventV3';
|
|
3557
|
+
tokenIn: {
|
|
3558
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3559
|
+
address: string;
|
|
3560
|
+
amount: string;
|
|
3561
|
+
};
|
|
3562
|
+
tokenOut: {
|
|
3563
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3564
|
+
address: string;
|
|
3565
|
+
amount: string;
|
|
3566
|
+
};
|
|
3567
|
+
};
|
|
3568
|
+
type GqlPoolAddRemoveEventV3Fragment = {
|
|
3569
|
+
__typename?: 'GqlPoolAddRemoveEventV3';
|
|
3570
|
+
tokens: Array<{
|
|
3571
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3572
|
+
address: string;
|
|
3573
|
+
amount: string;
|
|
3574
|
+
}>;
|
|
3575
|
+
};
|
|
3576
|
+
type PoolEvent_GqlPoolAddRemoveEventV3_Fragment = {
|
|
3577
|
+
__typename?: 'GqlPoolAddRemoveEventV3';
|
|
3578
|
+
id: string;
|
|
3579
|
+
valueUSD: number;
|
|
3580
|
+
tx: string;
|
|
3581
|
+
type: GqlPoolEventType;
|
|
3582
|
+
sender: string;
|
|
3583
|
+
timestamp: number;
|
|
3584
|
+
tokens: Array<{
|
|
3585
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3586
|
+
address: string;
|
|
3587
|
+
amount: string;
|
|
3588
|
+
}>;
|
|
3589
|
+
};
|
|
3590
|
+
type PoolEvent_GqlPoolSwapEventCowAmm_Fragment = {
|
|
3591
|
+
__typename?: 'GqlPoolSwapEventCowAmm';
|
|
3592
|
+
id: string;
|
|
3593
|
+
valueUSD: number;
|
|
3594
|
+
tx: string;
|
|
3595
|
+
type: GqlPoolEventType;
|
|
3596
|
+
sender: string;
|
|
3597
|
+
timestamp: number;
|
|
3598
|
+
tokenIn: {
|
|
3599
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3600
|
+
address: string;
|
|
3601
|
+
amount: string;
|
|
3602
|
+
};
|
|
3603
|
+
tokenOut: {
|
|
3604
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3605
|
+
address: string;
|
|
3606
|
+
amount: string;
|
|
3607
|
+
};
|
|
3608
|
+
};
|
|
3609
|
+
type PoolEvent_GqlPoolSwapEventV3_Fragment = {
|
|
3610
|
+
__typename?: 'GqlPoolSwapEventV3';
|
|
3611
|
+
id: string;
|
|
3612
|
+
valueUSD: number;
|
|
3613
|
+
tx: string;
|
|
3614
|
+
type: GqlPoolEventType;
|
|
3615
|
+
sender: string;
|
|
3616
|
+
timestamp: number;
|
|
3617
|
+
tokenIn: {
|
|
3618
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3619
|
+
address: string;
|
|
3620
|
+
amount: string;
|
|
3621
|
+
};
|
|
3622
|
+
tokenOut: {
|
|
3623
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3624
|
+
address: string;
|
|
3625
|
+
amount: string;
|
|
3626
|
+
};
|
|
3627
|
+
};
|
|
3628
|
+
type PoolEventFragment = PoolEvent_GqlPoolAddRemoveEventV3_Fragment | PoolEvent_GqlPoolSwapEventCowAmm_Fragment | PoolEvent_GqlPoolSwapEventV3_Fragment;
|
|
3629
|
+
type GetPoolEventsQueryVariables = Exact<{
|
|
3630
|
+
poolId: Scalars['String']['input'];
|
|
3631
|
+
typeIn: Array<GqlPoolEventType> | GqlPoolEventType;
|
|
3632
|
+
chain: GqlChain;
|
|
3633
|
+
}>;
|
|
3634
|
+
type GetPoolEventsQuery = {
|
|
3635
|
+
__typename?: 'Query';
|
|
3636
|
+
poolGetEvents: Array<{
|
|
3637
|
+
__typename?: 'GqlPoolAddRemoveEventV3';
|
|
3638
|
+
id: string;
|
|
3639
|
+
valueUSD: number;
|
|
3640
|
+
tx: string;
|
|
3641
|
+
type: GqlPoolEventType;
|
|
3642
|
+
sender: string;
|
|
3643
|
+
timestamp: number;
|
|
3644
|
+
tokens: Array<{
|
|
3645
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3646
|
+
address: string;
|
|
3647
|
+
amount: string;
|
|
3648
|
+
}>;
|
|
3649
|
+
} | {
|
|
3650
|
+
__typename?: 'GqlPoolSwapEventCowAmm';
|
|
3651
|
+
id: string;
|
|
3652
|
+
valueUSD: number;
|
|
3653
|
+
tx: string;
|
|
3654
|
+
type: GqlPoolEventType;
|
|
3655
|
+
sender: string;
|
|
3656
|
+
timestamp: number;
|
|
3657
|
+
tokenIn: {
|
|
3658
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3659
|
+
address: string;
|
|
3660
|
+
amount: string;
|
|
3661
|
+
};
|
|
3662
|
+
tokenOut: {
|
|
3663
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3664
|
+
address: string;
|
|
3665
|
+
amount: string;
|
|
3666
|
+
};
|
|
3667
|
+
} | {
|
|
3668
|
+
__typename?: 'GqlPoolSwapEventV3';
|
|
3669
|
+
id: string;
|
|
3670
|
+
valueUSD: number;
|
|
3671
|
+
tx: string;
|
|
3672
|
+
type: GqlPoolEventType;
|
|
3673
|
+
sender: string;
|
|
3674
|
+
timestamp: number;
|
|
3675
|
+
tokenIn: {
|
|
3676
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3677
|
+
address: string;
|
|
3678
|
+
amount: string;
|
|
3679
|
+
};
|
|
3680
|
+
tokenOut: {
|
|
3681
|
+
__typename?: 'GqlPoolEventAmount';
|
|
3682
|
+
address: string;
|
|
3683
|
+
amount: string;
|
|
3684
|
+
};
|
|
3685
|
+
}>;
|
|
3686
|
+
};
|
|
3687
|
+
type GetTokenCurrentPricesQueryVariables = Exact<{
|
|
3688
|
+
chains: Array<GqlChain> | GqlChain;
|
|
3689
|
+
addressIn: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
3690
|
+
}>;
|
|
3691
|
+
type GetTokenCurrentPricesQuery = {
|
|
3692
|
+
__typename?: 'Query';
|
|
3693
|
+
tokenGetCurrentPrices: Array<{
|
|
3694
|
+
__typename?: 'GqlTokenPrice';
|
|
3695
|
+
address: string;
|
|
3696
|
+
chain: GqlChain;
|
|
3697
|
+
price: number;
|
|
3698
|
+
updatedAt: number;
|
|
3699
|
+
updatedBy?: string | null;
|
|
3700
|
+
}>;
|
|
3701
|
+
};
|
|
3702
|
+
type GetGlobalLiquidityAndSwapVolumeQueryVariables = Exact<{
|
|
3703
|
+
chain: GqlChain;
|
|
3704
|
+
}>;
|
|
3705
|
+
type GetGlobalLiquidityAndSwapVolumeQuery = {
|
|
3706
|
+
__typename?: 'Query';
|
|
3707
|
+
protocolMetricsAggregated: {
|
|
3708
|
+
__typename?: 'GqlProtocolMetricsAggregated';
|
|
3709
|
+
swapVolume24h: any;
|
|
3710
|
+
totalLiquidity: any;
|
|
3711
|
+
};
|
|
3712
|
+
};
|
|
3713
|
+
declare const DynamicData: _apollo_client.DocumentNode;
|
|
3714
|
+
declare const UserBalance: _apollo_client.DocumentNode;
|
|
3715
|
+
declare const RewardVault: _apollo_client.DocumentNode;
|
|
3716
|
+
declare const MinimalPoolInList: _apollo_client.DocumentNode;
|
|
3717
|
+
declare const MinimalPool: _apollo_client.DocumentNode;
|
|
3718
|
+
declare const PoolHistoricalData: _apollo_client.DocumentNode;
|
|
3719
|
+
/** Represents an event that occurs when a swap is made in a pool using the CowAmm protocol. */
|
|
3720
|
+
type GqlPoolSwapEventCowAmm = GqlPoolEvent & {
|
|
3721
|
+
__typename?: 'GqlPoolSwapEventCowAmm';
|
|
3722
|
+
/** The block number of the event. */
|
|
3723
|
+
blockNumber: Scalars['Int']['output'];
|
|
3724
|
+
/** The block timestamp of the event. */
|
|
3725
|
+
blockTimestamp: Scalars['Int']['output'];
|
|
3726
|
+
/** The chain on which the event occurred. */
|
|
3727
|
+
chain: GqlChain;
|
|
3728
|
+
/** The fee that this swap generated. */
|
|
3729
|
+
fee: GqlPoolEventAmount;
|
|
3730
|
+
/** The unique identifier of the event. */
|
|
3731
|
+
id: Scalars['ID']['output'];
|
|
3732
|
+
/** The log index of the event. */
|
|
3733
|
+
logIndex: Scalars['Int']['output'];
|
|
3734
|
+
/** The pool ID associated with the event. */
|
|
3735
|
+
poolId: Scalars['String']['output'];
|
|
3736
|
+
/** The sender of the event. */
|
|
3737
|
+
sender: Scalars['String']['output'];
|
|
3738
|
+
/** The surplus generated by the swap. */
|
|
3739
|
+
surplus: GqlPoolEventAmount;
|
|
3740
|
+
/** The timestamp of the event. */
|
|
3741
|
+
timestamp: Scalars['Int']['output'];
|
|
3742
|
+
/** The token that was swapped in the event. */
|
|
3743
|
+
tokenIn: GqlPoolEventAmount;
|
|
3744
|
+
/** The token that was swapped out in the event. */
|
|
3745
|
+
tokenOut: GqlPoolEventAmount;
|
|
3746
|
+
/** The transaction hash of the event. */
|
|
3747
|
+
tx: Scalars['String']['output'];
|
|
3748
|
+
/** The type of the event. */
|
|
3749
|
+
type: GqlPoolEventType;
|
|
3750
|
+
/** The user address associated with the event. */
|
|
3751
|
+
userAddress: Scalars['String']['output'];
|
|
3752
|
+
/** The value of the event in USD. */
|
|
3753
|
+
valueUSD: Scalars['Float']['output'];
|
|
3754
|
+
};
|
|
3755
|
+
declare const GqlPoolSwapEventCowAmm: _apollo_client.DocumentNode;
|
|
3756
|
+
/** Represents an event that occurs when a swap is made in a pool. */
|
|
3757
|
+
type GqlPoolSwapEventV3 = GqlPoolEvent & {
|
|
3758
|
+
__typename?: 'GqlPoolSwapEventV3';
|
|
3759
|
+
/** The block number of the event. */
|
|
3760
|
+
blockNumber: Scalars['Int']['output'];
|
|
3761
|
+
/** The block timestamp of the event. */
|
|
3762
|
+
blockTimestamp: Scalars['Int']['output'];
|
|
3763
|
+
/** The chain on which the event occurred. */
|
|
3764
|
+
chain: GqlChain;
|
|
3765
|
+
/** The fee that this swap generated. */
|
|
3766
|
+
fee: GqlPoolEventAmount;
|
|
3767
|
+
/** The unique identifier of the event. */
|
|
3768
|
+
id: Scalars['ID']['output'];
|
|
3769
|
+
/** The log index of the event. */
|
|
3770
|
+
logIndex: Scalars['Int']['output'];
|
|
3771
|
+
/** The pool ID associated with the event. */
|
|
3772
|
+
poolId: Scalars['String']['output'];
|
|
3773
|
+
/** The sender of the event. */
|
|
3774
|
+
sender: Scalars['String']['output'];
|
|
3775
|
+
/** The timestamp of the event. */
|
|
3776
|
+
timestamp: Scalars['Int']['output'];
|
|
3777
|
+
/** The token that was swapped in the event. */
|
|
3778
|
+
tokenIn: GqlPoolEventAmount;
|
|
3779
|
+
/** The token that was swapped out in the event. */
|
|
3780
|
+
tokenOut: GqlPoolEventAmount;
|
|
3781
|
+
/** The transaction hash of the event. */
|
|
3782
|
+
tx: Scalars['String']['output'];
|
|
3783
|
+
/** The type of the event. */
|
|
3784
|
+
type: GqlPoolEventType;
|
|
3785
|
+
/** The user address associated with the event. */
|
|
3786
|
+
userAddress: Scalars['String']['output'];
|
|
3787
|
+
/** The value of the event in USD. */
|
|
3788
|
+
valueUSD: Scalars['Float']['output'];
|
|
3789
|
+
};
|
|
3790
|
+
declare const GqlPoolSwapEventV3: _apollo_client.DocumentNode;
|
|
3791
|
+
/** Represents an event that occurs when liquidity is added or removed from a pool. */
|
|
3792
|
+
type GqlPoolAddRemoveEventV3 = GqlPoolEvent & {
|
|
3793
|
+
__typename?: 'GqlPoolAddRemoveEventV3';
|
|
3794
|
+
/** The block number of the event. */
|
|
3795
|
+
blockNumber: Scalars['Int']['output'];
|
|
3796
|
+
/** The block timestamp of the event. */
|
|
3797
|
+
blockTimestamp: Scalars['Int']['output'];
|
|
3798
|
+
/** The chain on which the event occurred. */
|
|
3799
|
+
chain: GqlChain;
|
|
3800
|
+
/** The unique identifier of the event. */
|
|
3801
|
+
id: Scalars['ID']['output'];
|
|
3802
|
+
/** The log index of the event. */
|
|
3803
|
+
logIndex: Scalars['Int']['output'];
|
|
3804
|
+
/** The pool ID associated with the event. */
|
|
3805
|
+
poolId: Scalars['String']['output'];
|
|
3806
|
+
/** The sender of the event. */
|
|
3807
|
+
sender: Scalars['String']['output'];
|
|
3808
|
+
/** The timestamp of the event. */
|
|
3809
|
+
timestamp: Scalars['Int']['output'];
|
|
3810
|
+
/** The tokens involved in the event. Ordered by poolToken index. */
|
|
3811
|
+
tokens: Array<GqlPoolEventAmount>;
|
|
3812
|
+
/** The transaction hash of the event. */
|
|
3813
|
+
tx: Scalars['String']['output'];
|
|
3814
|
+
/** The type of the event. */
|
|
3815
|
+
type: GqlPoolEventType;
|
|
3816
|
+
/** The user address associated with the event. */
|
|
3817
|
+
userAddress: Scalars['String']['output'];
|
|
3818
|
+
/** The value of the event in USD. */
|
|
3819
|
+
valueUSD: Scalars['Float']['output'];
|
|
3820
|
+
};
|
|
3821
|
+
declare const GqlPoolAddRemoveEventV3: _apollo_client.DocumentNode;
|
|
3822
|
+
declare const PoolEvent: _apollo_client.DocumentNode;
|
|
3823
|
+
declare const GetPools: _apollo_client.DocumentNode;
|
|
3824
|
+
declare const GetPool: _apollo_client.DocumentNode;
|
|
3825
|
+
declare const GetPoolHistoricalData: _apollo_client.DocumentNode;
|
|
3826
|
+
declare const GetPoolEvents: _apollo_client.DocumentNode;
|
|
3827
|
+
declare const GetTokenCurrentPrices: _apollo_client.DocumentNode;
|
|
3828
|
+
declare const GetGlobalLiquidityAndSwapVolume: _apollo_client.DocumentNode;
|
|
3829
|
+
interface PossibleTypesResultData {
|
|
3830
|
+
possibleTypes: {
|
|
3831
|
+
[key: string]: string[];
|
|
3832
|
+
};
|
|
3833
|
+
}
|
|
3834
|
+
declare const result: PossibleTypesResultData;
|
|
3835
|
+
|
|
3836
|
+
export { DynamicData, type DynamicDataFragment, type Exact, GetGlobalLiquidityAndSwapVolume, type GetGlobalLiquidityAndSwapVolumeQuery, type GetGlobalLiquidityAndSwapVolumeQueryVariables, GetPool, GetPoolEvents, type GetPoolEventsQuery, type GetPoolEventsQueryVariables, GetPoolHistoricalData, type GetPoolHistoricalDataQuery, type GetPoolHistoricalDataQueryVariables, type GetPoolQuery, type GetPoolQueryVariables, GetPools, type GetPoolsQuery, type GetPoolsQueryVariables, GetTokenCurrentPrices, type GetTokenCurrentPricesQuery, type GetTokenCurrentPricesQueryVariables, type GqlBalancePoolAprItem, type GqlBalancePoolAprSubItem, GqlChain, type GqlContentNewsItem, GqlContentNewsItemSource, type GqlDefaultRewardAllocation, type GqlDefaultRewardAllocationWeight, type GqlFeaturePoolGroupItemExternalLink, type GqlGlobalInfo, type GqlGraphTraversalConfigInput, type GqlHistoricalTokenPrice, type GqlHistoricalTokenPriceEntry, type GqlLatestSyncedBlocks, type GqlNestedPool, type GqlPagination, GqlPoolAddRemoveEventV3, type GqlPoolAddRemoveEventV3Fragment, type GqlPoolAggregator, type GqlPoolApr, type GqlPoolAprItem, GqlPoolAprItemType, type GqlPoolAprRange, type GqlPoolAprTotal, type GqlPoolAprValue, type GqlPoolBase, type GqlPoolBatchSwap, type GqlPoolBatchSwapPool, type GqlPoolBatchSwapSwap, type GqlPoolComposableStable, type GqlPoolComposableStableNested, type GqlPoolDynamicData, type GqlPoolElement, type GqlPoolEvent, type GqlPoolEventAmount, GqlPoolEventType, GqlPoolEventsDataRange, type GqlPoolEventsFilter, type GqlPoolFeaturedPool, type GqlPoolFeaturedPoolGroup, type GqlPoolFeaturedPoolGroupItem, type GqlPoolFilter, GqlPoolFilterCategory, type GqlPoolFx, type GqlPoolGyro, type GqlPoolInvestConfig, type GqlPoolInvestOption, type GqlPoolJoinExit, type GqlPoolJoinExitAmount, type GqlPoolJoinExitFilter, GqlPoolJoinExitType, type GqlPoolLiquidityBootstrapping, type GqlPoolMetaStable, type GqlPoolMinimal, type GqlPoolMutationResult, type GqlPoolNestedUnion, GqlPoolNestingType, GqlPoolOrderBy, GqlPoolOrderDirection, type GqlPoolSnapshot, GqlPoolSnapshotDataRange, type GqlPoolStable, type GqlPoolStableComposablePoolData, type GqlPoolSwap, GqlPoolSwapEventCowAmm, type GqlPoolSwapEventCowAmmFragment, GqlPoolSwapEventV3, type GqlPoolSwapEventV3Fragment, type GqlPoolSwapFilter, type GqlPoolTimePeriod, type GqlPoolToken, type GqlPoolTokenBase, type GqlPoolTokenComposableStable, type GqlPoolTokenComposableStableNestedUnion, type GqlPoolTokenDetail, type GqlPoolTokenDisplay, type GqlPoolTokenExpanded, type GqlPoolTokenUnion, GqlPoolType, type GqlPoolUnion, type GqlPoolUserBalance, type GqlPoolUserSwapVolume, type GqlPoolWeighted, type GqlPoolWithdrawConfig, type GqlPoolWithdrawOption, type GqlPriceImpact, type GqlPriceRateProviderData, type GqlPriceRateProviderUpgradeableComponent, type GqlProtocolMetricsAggregated, type GqlProtocolMetricsChain, type GqlRelicSnapshot, type GqlRewardVault, type GqlRewardVaultDynamicData, type GqlRewardVaultFilter, type GqlRewardVaultIncentive, GqlRewardVaultIncentiveOrderBy, GqlRewardVaultIncentiveOrderDirection, type GqlRewardVaultMetadata, GqlRewardVaultOrderBy, GqlRewardVaultOrderDirection, type GqlRewardVaultSnapshot, GqlRewardVaultSnapshotDataRange, GqlRewardVaultSnapshotResolution, type GqlRewardVaultWhitelistedToken, type GqlSWberaVaultMetadata, GqlSWberaVaultMetadataResolution, type GqlSWberaVaultSnapshot, type GqlSorCallData, type GqlSorGetSwapPaths, type GqlSorGetSwapsResponse, type GqlSorPath, type GqlSorSwap, type GqlSorSwapOptionsInput, type GqlSorSwapRoute, type GqlSorSwapRouteHop, GqlSorSwapType, type GqlStakeBeraVaultEvent, GqlStakeBeraVaultEventType, type GqlSwapCallDataInput, type GqlToken, type GqlTokenAmountHumanReadable, type GqlTokenCandlestickChartDataItem, GqlTokenChartDataRange, type GqlTokenData, type GqlTokenDynamicData, type GqlTokenMutationResult, type GqlTokenPrice, type GqlTokenPriceChartDataItem, GqlTokenType, type GqlUserBgtBalance, type GqlUserPoolBalance, type GqlUserSwapVolumeFilter, type GqlUserVaultDeposit, type GqlUserVaultDepositMinimal, GqlUserVaultDepositOrderBy, GqlUserVaultDepositOrderDirection, type GqlValidator, type GqlValidatorBlockUptime, GqlValidatorBlockUptimeStatus, type GqlValidatorBoost, type GqlValidatorBoostDelay, GqlValidatorBoostOrderBy, GqlValidatorBoostOrderDirection, type GqlValidatorCommissionDelay, type GqlValidatorCommissionHistory, type GqlValidatorDynamicData, type GqlValidatorFilter, type GqlValidatorMetadata, GqlValidatorOrderBy, GqlValidatorOrderDirection, type GqlValidatorRewardAllocationWeight, type GqlValidatorStats, type GqlVaultDurations, GqlVaultSnapshotDataRange, type Hook, type HookData, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MinimalPool, type MinimalPoolFragment, MinimalPoolInList, type MinimalPoolInListFragment, type Mutation, type MutationPoolDeletePoolArgs, type MutationPoolInitializeSnapshotsForPoolArgs, type MutationPoolLoadSnapshotsForPoolsArgs, type MutationPoolReloadAllPoolAprsArgs, type MutationPoolReloadPoolsArgs, type MutationPoolSyncAllCowSnapshotsArgs, type MutationPoolSyncLatestSnapshotsForAllPoolsArgs, type MutationPoolSyncPoolArgs, type MutationPoolUpdateAprsArgs, type MutationTokenDeleteTokenTypeArgs, type MutationTokenReloadErc4626TokensArgs, type MutationTokenReloadTokenPricesArgs, type MutationTokenSyncLatestFxPricesArgs, type MutationUserInitWalletBalancesForPoolArgs, type MutationUserSyncBalanceArgs, type PaginatedRewardVaultIncentivesResponse, type PaginatedRewardVaultsResponse, type PaginatedUserVaultDepositsResponse, type PaginatedValidatorBlockUptimesResponse, type PaginatedValidatorBoostsResponse, type PaginatedValidatorsResponse, PoolEvent, type PoolEventFragment, PoolHistoricalData, type PoolHistoricalDataFragment, type PossibleTypesResultData, type Query, type QueryContentGetNewsItemsArgs, type QueryHooksArgs, type QueryPolGetActiveIncentivesArgs, type QueryPolGetDefaultRewardAllocationsArgs, type QueryPolGetGlobalInfoArgs, type QueryPolGetRewardVaultArgs, type QueryPolGetRewardVaultSnapshotsArgs, type QueryPolGetRewardVaultsArgs, type QueryPolGetSWberaVaultMetadataArgs, type QueryPolGetSWberaVaultSnapshotsArgs, type QueryPolGetStakeBeraVaultEventsByOwnerArgs, type QueryPolGetTopVaultDepositsArgs, type QueryPolGetUserVaultDepositsArgs, type QueryPolGetValidatorArgs, type QueryPolGetValidatorBlockUptimesArgs, type QueryPolGetValidatorBoostsArgs, type QueryPolGetValidatorsArgs, type QueryPoolEventsArgs, type QueryPoolGetAggregatorPoolsArgs, type QueryPoolGetBatchSwapsArgs, type QueryPoolGetEventsArgs, type QueryPoolGetFeaturedPoolGroupsArgs, type QueryPoolGetFeaturedPoolsArgs, type QueryPoolGetJoinExitsArgs, type QueryPoolGetPoolArgs, type QueryPoolGetPoolsArgs, type QueryPoolGetPoolsCountArgs, type QueryPoolGetSnapshotsArgs, type QueryPoolGetSwapsArgs, type QueryPoolGetUserBalancesArgs, type QueryProtocolMetricsAggregatedArgs, type QueryProtocolMetricsChainArgs, type QuerySorGetSwapPathsArgs, type QuerySorGetSwapsArgs, type QueryTokenGetCandlestickChartDataArgs, type QueryTokenGetCurrentPriceArgs, type QueryTokenGetCurrentPricesArgs, type QueryTokenGetHistoricalPricesArgs, type QueryTokenGetPriceChartDataArgs, type QueryTokenGetProtocolTokenPriceArgs, type QueryTokenGetRelativePriceChartDataArgs, type QueryTokenGetTokenArgs, type QueryTokenGetTokenDataArgs, type QueryTokenGetTokenDynamicDataArgs, type QueryTokenGetTokensArgs, type QueryTokenGetTokensDataArgs, type QueryTokenGetTokensDynamicDataArgs, type QueryUserGetPoolBalancesArgs, type QueryUserGetPoolJoinExitsArgs, type QueryUserGetSwapsArgs, type QueryUserGetTopBgtBalanceArgs, RewardVault, type RewardVaultFragment, type Scalars, type Token, UserBalance, type UserBalanceFragment, result as default };
|