@longdotxyz/shared 0.0.4 → 0.0.5

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.
@@ -0,0 +1,2455 @@
1
+ import { GraphQLClient, RequestOptions } from 'graphql-request';
2
+ export type Maybe<T> = T | null;
3
+ export type InputMaybe<T> = Maybe<T>;
4
+ export type Exact<T extends {
5
+ [key: string]: unknown;
6
+ }> = {
7
+ [K in keyof T]: T[K];
8
+ };
9
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
10
+ [SubKey in K]?: Maybe<T[SubKey]>;
11
+ };
12
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
13
+ [SubKey in K]: Maybe<T[SubKey]>;
14
+ };
15
+ export type MakeEmpty<T extends {
16
+ [key: string]: unknown;
17
+ }, K extends keyof T> = {
18
+ [_ in K]?: never;
19
+ };
20
+ export type Incremental<T> = T | {
21
+ [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
22
+ };
23
+ type GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];
24
+ export type Scalars = {
25
+ ID: {
26
+ input: string;
27
+ output: string;
28
+ };
29
+ String: {
30
+ input: string;
31
+ output: string;
32
+ };
33
+ Boolean: {
34
+ input: boolean;
35
+ output: boolean;
36
+ };
37
+ Int: {
38
+ input: number;
39
+ output: number;
40
+ };
41
+ Float: {
42
+ input: number;
43
+ output: number;
44
+ };
45
+ float8: {
46
+ input: any;
47
+ output: any;
48
+ };
49
+ jsonb: {
50
+ input: any;
51
+ output: any;
52
+ };
53
+ numeric: {
54
+ input: any;
55
+ output: any;
56
+ };
57
+ timestamp: {
58
+ input: any;
59
+ output: any;
60
+ };
61
+ timestamptz: {
62
+ input: any;
63
+ output: any;
64
+ };
65
+ };
66
+ export type Asset = {
67
+ __typename?: 'Asset';
68
+ asset_address: Scalars['String']['output'];
69
+ asset_config_num_tokens_to_sell: Scalars['numeric']['output'];
70
+ asset_creation_block: Scalars['numeric']['output'];
71
+ asset_creation_timestamp: Scalars['Int']['output'];
72
+ asset_governance_address: Scalars['String']['output'];
73
+ asset_graduation_pool_address: Scalars['String']['output'];
74
+ asset_liquidity_migrator_address: Scalars['String']['output'];
75
+ asset_migration_block?: Maybe<Scalars['numeric']['output']>;
76
+ asset_migration_timestamp?: Maybe<Scalars['Int']['output']>;
77
+ asset_numeraire_address: Scalars['String']['output'];
78
+ asset_pool_initializer_address: Scalars['String']['output'];
79
+ asset_timelock_address: Scalars['String']['output'];
80
+ auction_pool?: Maybe<AuctionPool>;
81
+ auction_pool_id: Scalars['String']['output'];
82
+ chain_id: Scalars['Int']['output'];
83
+ db_write_timestamp?: Maybe<Scalars['timestamp']['output']>;
84
+ graduation_pool?: Maybe<GraduationPool>;
85
+ graduation_pool_id: Scalars['String']['output'];
86
+ id: Scalars['String']['output'];
87
+ integrator_address: Scalars['String']['output'];
88
+ };
89
+ export type Asset_Bool_Exp = {
90
+ _and?: InputMaybe<Array<Asset_Bool_Exp>>;
91
+ _not?: InputMaybe<Asset_Bool_Exp>;
92
+ _or?: InputMaybe<Array<Asset_Bool_Exp>>;
93
+ asset_address?: InputMaybe<String_Comparison_Exp>;
94
+ asset_config_num_tokens_to_sell?: InputMaybe<Numeric_Comparison_Exp>;
95
+ asset_creation_block?: InputMaybe<Numeric_Comparison_Exp>;
96
+ asset_creation_timestamp?: InputMaybe<Int_Comparison_Exp>;
97
+ asset_governance_address?: InputMaybe<String_Comparison_Exp>;
98
+ asset_graduation_pool_address?: InputMaybe<String_Comparison_Exp>;
99
+ asset_liquidity_migrator_address?: InputMaybe<String_Comparison_Exp>;
100
+ asset_migration_block?: InputMaybe<Numeric_Comparison_Exp>;
101
+ asset_migration_timestamp?: InputMaybe<Int_Comparison_Exp>;
102
+ asset_numeraire_address?: InputMaybe<String_Comparison_Exp>;
103
+ asset_pool_initializer_address?: InputMaybe<String_Comparison_Exp>;
104
+ asset_timelock_address?: InputMaybe<String_Comparison_Exp>;
105
+ auction_pool?: InputMaybe<AuctionPool_Bool_Exp>;
106
+ auction_pool_id?: InputMaybe<String_Comparison_Exp>;
107
+ chain_id?: InputMaybe<Int_Comparison_Exp>;
108
+ db_write_timestamp?: InputMaybe<Timestamp_Comparison_Exp>;
109
+ graduation_pool?: InputMaybe<GraduationPool_Bool_Exp>;
110
+ graduation_pool_id?: InputMaybe<String_Comparison_Exp>;
111
+ id?: InputMaybe<String_Comparison_Exp>;
112
+ integrator_address?: InputMaybe<String_Comparison_Exp>;
113
+ };
114
+ export type Asset_Order_By = {
115
+ asset_address?: InputMaybe<Order_By>;
116
+ asset_config_num_tokens_to_sell?: InputMaybe<Order_By>;
117
+ asset_creation_block?: InputMaybe<Order_By>;
118
+ asset_creation_timestamp?: InputMaybe<Order_By>;
119
+ asset_governance_address?: InputMaybe<Order_By>;
120
+ asset_graduation_pool_address?: InputMaybe<Order_By>;
121
+ asset_liquidity_migrator_address?: InputMaybe<Order_By>;
122
+ asset_migration_block?: InputMaybe<Order_By>;
123
+ asset_migration_timestamp?: InputMaybe<Order_By>;
124
+ asset_numeraire_address?: InputMaybe<Order_By>;
125
+ asset_pool_initializer_address?: InputMaybe<Order_By>;
126
+ asset_timelock_address?: InputMaybe<Order_By>;
127
+ auction_pool?: InputMaybe<AuctionPool_Order_By>;
128
+ auction_pool_id?: InputMaybe<Order_By>;
129
+ chain_id?: InputMaybe<Order_By>;
130
+ db_write_timestamp?: InputMaybe<Order_By>;
131
+ graduation_pool?: InputMaybe<GraduationPool_Order_By>;
132
+ graduation_pool_id?: InputMaybe<Order_By>;
133
+ id?: InputMaybe<Order_By>;
134
+ integrator_address?: InputMaybe<Order_By>;
135
+ };
136
+ export declare enum Asset_Select_Column {
137
+ AssetAddress = "asset_address",
138
+ AssetConfigNumTokensToSell = "asset_config_num_tokens_to_sell",
139
+ AssetCreationBlock = "asset_creation_block",
140
+ AssetCreationTimestamp = "asset_creation_timestamp",
141
+ AssetGovernanceAddress = "asset_governance_address",
142
+ AssetGraduationPoolAddress = "asset_graduation_pool_address",
143
+ AssetLiquidityMigratorAddress = "asset_liquidity_migrator_address",
144
+ AssetMigrationBlock = "asset_migration_block",
145
+ AssetMigrationTimestamp = "asset_migration_timestamp",
146
+ AssetNumeraireAddress = "asset_numeraire_address",
147
+ AssetPoolInitializerAddress = "asset_pool_initializer_address",
148
+ AssetTimelockAddress = "asset_timelock_address",
149
+ AuctionPoolId = "auction_pool_id",
150
+ ChainId = "chain_id",
151
+ DbWriteTimestamp = "db_write_timestamp",
152
+ GraduationPoolId = "graduation_pool_id",
153
+ Id = "id",
154
+ IntegratorAddress = "integrator_address"
155
+ }
156
+ export type Asset_Stream_Cursor_Input = {
157
+ initial_value: Asset_Stream_Cursor_Value_Input;
158
+ ordering?: InputMaybe<Cursor_Ordering>;
159
+ };
160
+ export type Asset_Stream_Cursor_Value_Input = {
161
+ asset_address?: InputMaybe<Scalars['String']['input']>;
162
+ asset_config_num_tokens_to_sell?: InputMaybe<Scalars['numeric']['input']>;
163
+ asset_creation_block?: InputMaybe<Scalars['numeric']['input']>;
164
+ asset_creation_timestamp?: InputMaybe<Scalars['Int']['input']>;
165
+ asset_governance_address?: InputMaybe<Scalars['String']['input']>;
166
+ asset_graduation_pool_address?: InputMaybe<Scalars['String']['input']>;
167
+ asset_liquidity_migrator_address?: InputMaybe<Scalars['String']['input']>;
168
+ asset_migration_block?: InputMaybe<Scalars['numeric']['input']>;
169
+ asset_migration_timestamp?: InputMaybe<Scalars['Int']['input']>;
170
+ asset_numeraire_address?: InputMaybe<Scalars['String']['input']>;
171
+ asset_pool_initializer_address?: InputMaybe<Scalars['String']['input']>;
172
+ asset_timelock_address?: InputMaybe<Scalars['String']['input']>;
173
+ auction_pool_id?: InputMaybe<Scalars['String']['input']>;
174
+ chain_id?: InputMaybe<Scalars['Int']['input']>;
175
+ db_write_timestamp?: InputMaybe<Scalars['timestamp']['input']>;
176
+ graduation_pool_id?: InputMaybe<Scalars['String']['input']>;
177
+ id?: InputMaybe<Scalars['String']['input']>;
178
+ integrator_address?: InputMaybe<Scalars['String']['input']>;
179
+ };
180
+ export type AuctionPool = {
181
+ __typename?: 'AuctionPool';
182
+ asset?: Maybe<Asset>;
183
+ asset_id: Scalars['String']['output'];
184
+ base_token?: Maybe<Token>;
185
+ base_token_id: Scalars['String']['output'];
186
+ chain_id: Scalars['Int']['output'];
187
+ db_write_timestamp?: Maybe<Scalars['timestamp']['output']>;
188
+ id: Scalars['String']['output'];
189
+ integrator_address: Scalars['String']['output'];
190
+ pool_address: Scalars['String']['output'];
191
+ pool_config_early_exit: Scalars['Boolean']['output'];
192
+ pool_config_ending_tick: Scalars['Int']['output'];
193
+ pool_config_ending_time: Scalars['numeric']['output'];
194
+ pool_config_epoch_length: Scalars['numeric']['output'];
195
+ pool_config_gamma: Scalars['Int']['output'];
196
+ pool_config_insufficient_proceeds: Scalars['Boolean']['output'];
197
+ pool_config_is_token_0: Scalars['Boolean']['output'];
198
+ pool_config_max_proceeds: Scalars['numeric']['output'];
199
+ pool_config_min_proceeds: Scalars['numeric']['output'];
200
+ pool_config_num_pd_slugs: Scalars['numeric']['output'];
201
+ pool_config_num_tokens_to_sell: Scalars['numeric']['output'];
202
+ pool_config_starting_tick: Scalars['Int']['output'];
203
+ pool_config_starting_time: Scalars['numeric']['output'];
204
+ pool_creation_block: Scalars['numeric']['output'];
205
+ pool_creation_timestamp: Scalars['Int']['output'];
206
+ pool_current_fdv: Scalars['numeric']['output'];
207
+ pool_current_fees_accrued: Scalars['numeric']['output'];
208
+ pool_current_liquidity: Scalars['numeric']['output'];
209
+ pool_current_market_cap: Scalars['numeric']['output'];
210
+ pool_current_min_progress_percentage?: Maybe<Scalars['float8']['output']>;
211
+ pool_current_price: Scalars['numeric']['output'];
212
+ pool_current_sale_progress_percentage?: Maybe<Scalars['float8']['output']>;
213
+ pool_current_sqrt_price: Scalars['numeric']['output'];
214
+ pool_current_tick: Scalars['Int']['output'];
215
+ pool_current_total_proceeds: Scalars['numeric']['output'];
216
+ pool_current_total_tokens_sold: Scalars['numeric']['output'];
217
+ pool_id: Scalars['String']['output'];
218
+ pool_key_currency_0: Scalars['String']['output'];
219
+ pool_key_currency_1: Scalars['String']['output'];
220
+ pool_last_epoch?: Maybe<Scalars['Int']['output']>;
221
+ pool_last_epoch_total_tokens_sold: Scalars['numeric']['output'];
222
+ pool_migration_block?: Maybe<Scalars['numeric']['output']>;
223
+ pool_migration_timestamp?: Maybe<Scalars['Int']['output']>;
224
+ pool_type: Scalars['String']['output'];
225
+ quote_token?: Maybe<Token>;
226
+ quote_token_id: Scalars['String']['output'];
227
+ swaps: Array<AuctionPool_Swap>;
228
+ };
229
+ export type AuctionPoolSwapsArgs = {
230
+ distinct_on?: InputMaybe<Array<AuctionPool_Swap_Select_Column>>;
231
+ limit?: InputMaybe<Scalars['Int']['input']>;
232
+ offset?: InputMaybe<Scalars['Int']['input']>;
233
+ order_by?: InputMaybe<Array<AuctionPool_Swap_Order_By>>;
234
+ where?: InputMaybe<AuctionPool_Swap_Bool_Exp>;
235
+ };
236
+ export type AuctionPool_Swap = {
237
+ __typename?: 'AuctionPool_Swap';
238
+ auction_pool?: Maybe<AuctionPool>;
239
+ auction_pool_id: Scalars['String']['output'];
240
+ chain_id: Scalars['Int']['output'];
241
+ db_write_timestamp?: Maybe<Scalars['timestamp']['output']>;
242
+ id: Scalars['String']['output'];
243
+ swap_amount_in: Scalars['numeric']['output'];
244
+ swap_amount_out: Scalars['numeric']['output'];
245
+ swap_base_token: Scalars['String']['output'];
246
+ swap_creation_block: Scalars['numeric']['output'];
247
+ swap_creation_hash: Scalars['String']['output'];
248
+ swap_creation_timestamp: Scalars['Int']['output'];
249
+ swap_origin: Scalars['String']['output'];
250
+ swap_pool_id: Scalars['String']['output'];
251
+ swap_quote_token: Scalars['String']['output'];
252
+ swap_sender: Scalars['String']['output'];
253
+ swap_sqrt_price_x96: Scalars['numeric']['output'];
254
+ swap_tick: Scalars['numeric']['output'];
255
+ swap_type: Scalars['String']['output'];
256
+ };
257
+ export type AuctionPool_Swap_Aggregate_Order_By = {
258
+ avg?: InputMaybe<AuctionPool_Swap_Avg_Order_By>;
259
+ count?: InputMaybe<Order_By>;
260
+ max?: InputMaybe<AuctionPool_Swap_Max_Order_By>;
261
+ min?: InputMaybe<AuctionPool_Swap_Min_Order_By>;
262
+ stddev?: InputMaybe<AuctionPool_Swap_Stddev_Order_By>;
263
+ stddev_pop?: InputMaybe<AuctionPool_Swap_Stddev_Pop_Order_By>;
264
+ stddev_samp?: InputMaybe<AuctionPool_Swap_Stddev_Samp_Order_By>;
265
+ sum?: InputMaybe<AuctionPool_Swap_Sum_Order_By>;
266
+ var_pop?: InputMaybe<AuctionPool_Swap_Var_Pop_Order_By>;
267
+ var_samp?: InputMaybe<AuctionPool_Swap_Var_Samp_Order_By>;
268
+ variance?: InputMaybe<AuctionPool_Swap_Variance_Order_By>;
269
+ };
270
+ export type AuctionPool_Swap_Avg_Order_By = {
271
+ chain_id?: InputMaybe<Order_By>;
272
+ swap_amount_in?: InputMaybe<Order_By>;
273
+ swap_amount_out?: InputMaybe<Order_By>;
274
+ swap_creation_block?: InputMaybe<Order_By>;
275
+ swap_creation_timestamp?: InputMaybe<Order_By>;
276
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
277
+ swap_tick?: InputMaybe<Order_By>;
278
+ };
279
+ export type AuctionPool_Swap_Bool_Exp = {
280
+ _and?: InputMaybe<Array<AuctionPool_Swap_Bool_Exp>>;
281
+ _not?: InputMaybe<AuctionPool_Swap_Bool_Exp>;
282
+ _or?: InputMaybe<Array<AuctionPool_Swap_Bool_Exp>>;
283
+ auction_pool?: InputMaybe<AuctionPool_Bool_Exp>;
284
+ auction_pool_id?: InputMaybe<String_Comparison_Exp>;
285
+ chain_id?: InputMaybe<Int_Comparison_Exp>;
286
+ db_write_timestamp?: InputMaybe<Timestamp_Comparison_Exp>;
287
+ id?: InputMaybe<String_Comparison_Exp>;
288
+ swap_amount_in?: InputMaybe<Numeric_Comparison_Exp>;
289
+ swap_amount_out?: InputMaybe<Numeric_Comparison_Exp>;
290
+ swap_base_token?: InputMaybe<String_Comparison_Exp>;
291
+ swap_creation_block?: InputMaybe<Numeric_Comparison_Exp>;
292
+ swap_creation_hash?: InputMaybe<String_Comparison_Exp>;
293
+ swap_creation_timestamp?: InputMaybe<Int_Comparison_Exp>;
294
+ swap_origin?: InputMaybe<String_Comparison_Exp>;
295
+ swap_pool_id?: InputMaybe<String_Comparison_Exp>;
296
+ swap_quote_token?: InputMaybe<String_Comparison_Exp>;
297
+ swap_sender?: InputMaybe<String_Comparison_Exp>;
298
+ swap_sqrt_price_x96?: InputMaybe<Numeric_Comparison_Exp>;
299
+ swap_tick?: InputMaybe<Numeric_Comparison_Exp>;
300
+ swap_type?: InputMaybe<String_Comparison_Exp>;
301
+ };
302
+ export type AuctionPool_Swap_Max_Order_By = {
303
+ auction_pool_id?: InputMaybe<Order_By>;
304
+ chain_id?: InputMaybe<Order_By>;
305
+ db_write_timestamp?: InputMaybe<Order_By>;
306
+ id?: InputMaybe<Order_By>;
307
+ swap_amount_in?: InputMaybe<Order_By>;
308
+ swap_amount_out?: InputMaybe<Order_By>;
309
+ swap_base_token?: InputMaybe<Order_By>;
310
+ swap_creation_block?: InputMaybe<Order_By>;
311
+ swap_creation_hash?: InputMaybe<Order_By>;
312
+ swap_creation_timestamp?: InputMaybe<Order_By>;
313
+ swap_origin?: InputMaybe<Order_By>;
314
+ swap_pool_id?: InputMaybe<Order_By>;
315
+ swap_quote_token?: InputMaybe<Order_By>;
316
+ swap_sender?: InputMaybe<Order_By>;
317
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
318
+ swap_tick?: InputMaybe<Order_By>;
319
+ swap_type?: InputMaybe<Order_By>;
320
+ };
321
+ export type AuctionPool_Swap_Min_Order_By = {
322
+ auction_pool_id?: InputMaybe<Order_By>;
323
+ chain_id?: InputMaybe<Order_By>;
324
+ db_write_timestamp?: InputMaybe<Order_By>;
325
+ id?: InputMaybe<Order_By>;
326
+ swap_amount_in?: InputMaybe<Order_By>;
327
+ swap_amount_out?: InputMaybe<Order_By>;
328
+ swap_base_token?: InputMaybe<Order_By>;
329
+ swap_creation_block?: InputMaybe<Order_By>;
330
+ swap_creation_hash?: InputMaybe<Order_By>;
331
+ swap_creation_timestamp?: InputMaybe<Order_By>;
332
+ swap_origin?: InputMaybe<Order_By>;
333
+ swap_pool_id?: InputMaybe<Order_By>;
334
+ swap_quote_token?: InputMaybe<Order_By>;
335
+ swap_sender?: InputMaybe<Order_By>;
336
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
337
+ swap_tick?: InputMaybe<Order_By>;
338
+ swap_type?: InputMaybe<Order_By>;
339
+ };
340
+ export type AuctionPool_Swap_Order_By = {
341
+ auction_pool?: InputMaybe<AuctionPool_Order_By>;
342
+ auction_pool_id?: InputMaybe<Order_By>;
343
+ chain_id?: InputMaybe<Order_By>;
344
+ db_write_timestamp?: InputMaybe<Order_By>;
345
+ id?: InputMaybe<Order_By>;
346
+ swap_amount_in?: InputMaybe<Order_By>;
347
+ swap_amount_out?: InputMaybe<Order_By>;
348
+ swap_base_token?: InputMaybe<Order_By>;
349
+ swap_creation_block?: InputMaybe<Order_By>;
350
+ swap_creation_hash?: InputMaybe<Order_By>;
351
+ swap_creation_timestamp?: InputMaybe<Order_By>;
352
+ swap_origin?: InputMaybe<Order_By>;
353
+ swap_pool_id?: InputMaybe<Order_By>;
354
+ swap_quote_token?: InputMaybe<Order_By>;
355
+ swap_sender?: InputMaybe<Order_By>;
356
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
357
+ swap_tick?: InputMaybe<Order_By>;
358
+ swap_type?: InputMaybe<Order_By>;
359
+ };
360
+ export declare enum AuctionPool_Swap_Select_Column {
361
+ AuctionPoolId = "auction_pool_id",
362
+ ChainId = "chain_id",
363
+ DbWriteTimestamp = "db_write_timestamp",
364
+ Id = "id",
365
+ SwapAmountIn = "swap_amount_in",
366
+ SwapAmountOut = "swap_amount_out",
367
+ SwapBaseToken = "swap_base_token",
368
+ SwapCreationBlock = "swap_creation_block",
369
+ SwapCreationHash = "swap_creation_hash",
370
+ SwapCreationTimestamp = "swap_creation_timestamp",
371
+ SwapOrigin = "swap_origin",
372
+ SwapPoolId = "swap_pool_id",
373
+ SwapQuoteToken = "swap_quote_token",
374
+ SwapSender = "swap_sender",
375
+ SwapSqrtPriceX96 = "swap_sqrt_price_x96",
376
+ SwapTick = "swap_tick",
377
+ SwapType = "swap_type"
378
+ }
379
+ export type AuctionPool_Swap_Stddev_Order_By = {
380
+ chain_id?: InputMaybe<Order_By>;
381
+ swap_amount_in?: InputMaybe<Order_By>;
382
+ swap_amount_out?: InputMaybe<Order_By>;
383
+ swap_creation_block?: InputMaybe<Order_By>;
384
+ swap_creation_timestamp?: InputMaybe<Order_By>;
385
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
386
+ swap_tick?: InputMaybe<Order_By>;
387
+ };
388
+ export type AuctionPool_Swap_Stddev_Pop_Order_By = {
389
+ chain_id?: InputMaybe<Order_By>;
390
+ swap_amount_in?: InputMaybe<Order_By>;
391
+ swap_amount_out?: InputMaybe<Order_By>;
392
+ swap_creation_block?: InputMaybe<Order_By>;
393
+ swap_creation_timestamp?: InputMaybe<Order_By>;
394
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
395
+ swap_tick?: InputMaybe<Order_By>;
396
+ };
397
+ export type AuctionPool_Swap_Stddev_Samp_Order_By = {
398
+ chain_id?: InputMaybe<Order_By>;
399
+ swap_amount_in?: InputMaybe<Order_By>;
400
+ swap_amount_out?: InputMaybe<Order_By>;
401
+ swap_creation_block?: InputMaybe<Order_By>;
402
+ swap_creation_timestamp?: InputMaybe<Order_By>;
403
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
404
+ swap_tick?: InputMaybe<Order_By>;
405
+ };
406
+ export type AuctionPool_Swap_Stream_Cursor_Input = {
407
+ initial_value: AuctionPool_Swap_Stream_Cursor_Value_Input;
408
+ ordering?: InputMaybe<Cursor_Ordering>;
409
+ };
410
+ export type AuctionPool_Swap_Stream_Cursor_Value_Input = {
411
+ auction_pool_id?: InputMaybe<Scalars['String']['input']>;
412
+ chain_id?: InputMaybe<Scalars['Int']['input']>;
413
+ db_write_timestamp?: InputMaybe<Scalars['timestamp']['input']>;
414
+ id?: InputMaybe<Scalars['String']['input']>;
415
+ swap_amount_in?: InputMaybe<Scalars['numeric']['input']>;
416
+ swap_amount_out?: InputMaybe<Scalars['numeric']['input']>;
417
+ swap_base_token?: InputMaybe<Scalars['String']['input']>;
418
+ swap_creation_block?: InputMaybe<Scalars['numeric']['input']>;
419
+ swap_creation_hash?: InputMaybe<Scalars['String']['input']>;
420
+ swap_creation_timestamp?: InputMaybe<Scalars['Int']['input']>;
421
+ swap_origin?: InputMaybe<Scalars['String']['input']>;
422
+ swap_pool_id?: InputMaybe<Scalars['String']['input']>;
423
+ swap_quote_token?: InputMaybe<Scalars['String']['input']>;
424
+ swap_sender?: InputMaybe<Scalars['String']['input']>;
425
+ swap_sqrt_price_x96?: InputMaybe<Scalars['numeric']['input']>;
426
+ swap_tick?: InputMaybe<Scalars['numeric']['input']>;
427
+ swap_type?: InputMaybe<Scalars['String']['input']>;
428
+ };
429
+ export type AuctionPool_Swap_Sum_Order_By = {
430
+ chain_id?: InputMaybe<Order_By>;
431
+ swap_amount_in?: InputMaybe<Order_By>;
432
+ swap_amount_out?: InputMaybe<Order_By>;
433
+ swap_creation_block?: InputMaybe<Order_By>;
434
+ swap_creation_timestamp?: InputMaybe<Order_By>;
435
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
436
+ swap_tick?: InputMaybe<Order_By>;
437
+ };
438
+ export type AuctionPool_Swap_Var_Pop_Order_By = {
439
+ chain_id?: InputMaybe<Order_By>;
440
+ swap_amount_in?: InputMaybe<Order_By>;
441
+ swap_amount_out?: InputMaybe<Order_By>;
442
+ swap_creation_block?: InputMaybe<Order_By>;
443
+ swap_creation_timestamp?: InputMaybe<Order_By>;
444
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
445
+ swap_tick?: InputMaybe<Order_By>;
446
+ };
447
+ export type AuctionPool_Swap_Var_Samp_Order_By = {
448
+ chain_id?: InputMaybe<Order_By>;
449
+ swap_amount_in?: InputMaybe<Order_By>;
450
+ swap_amount_out?: InputMaybe<Order_By>;
451
+ swap_creation_block?: InputMaybe<Order_By>;
452
+ swap_creation_timestamp?: InputMaybe<Order_By>;
453
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
454
+ swap_tick?: InputMaybe<Order_By>;
455
+ };
456
+ export type AuctionPool_Swap_Variance_Order_By = {
457
+ chain_id?: InputMaybe<Order_By>;
458
+ swap_amount_in?: InputMaybe<Order_By>;
459
+ swap_amount_out?: InputMaybe<Order_By>;
460
+ swap_creation_block?: InputMaybe<Order_By>;
461
+ swap_creation_timestamp?: InputMaybe<Order_By>;
462
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
463
+ swap_tick?: InputMaybe<Order_By>;
464
+ };
465
+ export type AuctionPool_Aggregate_Order_By = {
466
+ avg?: InputMaybe<AuctionPool_Avg_Order_By>;
467
+ count?: InputMaybe<Order_By>;
468
+ max?: InputMaybe<AuctionPool_Max_Order_By>;
469
+ min?: InputMaybe<AuctionPool_Min_Order_By>;
470
+ stddev?: InputMaybe<AuctionPool_Stddev_Order_By>;
471
+ stddev_pop?: InputMaybe<AuctionPool_Stddev_Pop_Order_By>;
472
+ stddev_samp?: InputMaybe<AuctionPool_Stddev_Samp_Order_By>;
473
+ sum?: InputMaybe<AuctionPool_Sum_Order_By>;
474
+ var_pop?: InputMaybe<AuctionPool_Var_Pop_Order_By>;
475
+ var_samp?: InputMaybe<AuctionPool_Var_Samp_Order_By>;
476
+ variance?: InputMaybe<AuctionPool_Variance_Order_By>;
477
+ };
478
+ export type AuctionPool_Avg_Order_By = {
479
+ chain_id?: InputMaybe<Order_By>;
480
+ pool_config_ending_tick?: InputMaybe<Order_By>;
481
+ pool_config_ending_time?: InputMaybe<Order_By>;
482
+ pool_config_epoch_length?: InputMaybe<Order_By>;
483
+ pool_config_gamma?: InputMaybe<Order_By>;
484
+ pool_config_max_proceeds?: InputMaybe<Order_By>;
485
+ pool_config_min_proceeds?: InputMaybe<Order_By>;
486
+ pool_config_num_pd_slugs?: InputMaybe<Order_By>;
487
+ pool_config_num_tokens_to_sell?: InputMaybe<Order_By>;
488
+ pool_config_starting_tick?: InputMaybe<Order_By>;
489
+ pool_config_starting_time?: InputMaybe<Order_By>;
490
+ pool_creation_block?: InputMaybe<Order_By>;
491
+ pool_creation_timestamp?: InputMaybe<Order_By>;
492
+ pool_current_fdv?: InputMaybe<Order_By>;
493
+ pool_current_fees_accrued?: InputMaybe<Order_By>;
494
+ pool_current_liquidity?: InputMaybe<Order_By>;
495
+ pool_current_market_cap?: InputMaybe<Order_By>;
496
+ pool_current_min_progress_percentage?: InputMaybe<Order_By>;
497
+ pool_current_price?: InputMaybe<Order_By>;
498
+ pool_current_sale_progress_percentage?: InputMaybe<Order_By>;
499
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
500
+ pool_current_tick?: InputMaybe<Order_By>;
501
+ pool_current_total_proceeds?: InputMaybe<Order_By>;
502
+ pool_current_total_tokens_sold?: InputMaybe<Order_By>;
503
+ pool_last_epoch?: InputMaybe<Order_By>;
504
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Order_By>;
505
+ pool_migration_block?: InputMaybe<Order_By>;
506
+ pool_migration_timestamp?: InputMaybe<Order_By>;
507
+ };
508
+ export type AuctionPool_Bool_Exp = {
509
+ _and?: InputMaybe<Array<AuctionPool_Bool_Exp>>;
510
+ _not?: InputMaybe<AuctionPool_Bool_Exp>;
511
+ _or?: InputMaybe<Array<AuctionPool_Bool_Exp>>;
512
+ asset?: InputMaybe<Asset_Bool_Exp>;
513
+ asset_id?: InputMaybe<String_Comparison_Exp>;
514
+ base_token?: InputMaybe<Token_Bool_Exp>;
515
+ base_token_id?: InputMaybe<String_Comparison_Exp>;
516
+ chain_id?: InputMaybe<Int_Comparison_Exp>;
517
+ db_write_timestamp?: InputMaybe<Timestamp_Comparison_Exp>;
518
+ id?: InputMaybe<String_Comparison_Exp>;
519
+ integrator_address?: InputMaybe<String_Comparison_Exp>;
520
+ pool_address?: InputMaybe<String_Comparison_Exp>;
521
+ pool_config_early_exit?: InputMaybe<Boolean_Comparison_Exp>;
522
+ pool_config_ending_tick?: InputMaybe<Int_Comparison_Exp>;
523
+ pool_config_ending_time?: InputMaybe<Numeric_Comparison_Exp>;
524
+ pool_config_epoch_length?: InputMaybe<Numeric_Comparison_Exp>;
525
+ pool_config_gamma?: InputMaybe<Int_Comparison_Exp>;
526
+ pool_config_insufficient_proceeds?: InputMaybe<Boolean_Comparison_Exp>;
527
+ pool_config_is_token_0?: InputMaybe<Boolean_Comparison_Exp>;
528
+ pool_config_max_proceeds?: InputMaybe<Numeric_Comparison_Exp>;
529
+ pool_config_min_proceeds?: InputMaybe<Numeric_Comparison_Exp>;
530
+ pool_config_num_pd_slugs?: InputMaybe<Numeric_Comparison_Exp>;
531
+ pool_config_num_tokens_to_sell?: InputMaybe<Numeric_Comparison_Exp>;
532
+ pool_config_starting_tick?: InputMaybe<Int_Comparison_Exp>;
533
+ pool_config_starting_time?: InputMaybe<Numeric_Comparison_Exp>;
534
+ pool_creation_block?: InputMaybe<Numeric_Comparison_Exp>;
535
+ pool_creation_timestamp?: InputMaybe<Int_Comparison_Exp>;
536
+ pool_current_fdv?: InputMaybe<Numeric_Comparison_Exp>;
537
+ pool_current_fees_accrued?: InputMaybe<Numeric_Comparison_Exp>;
538
+ pool_current_liquidity?: InputMaybe<Numeric_Comparison_Exp>;
539
+ pool_current_market_cap?: InputMaybe<Numeric_Comparison_Exp>;
540
+ pool_current_min_progress_percentage?: InputMaybe<Float8_Comparison_Exp>;
541
+ pool_current_price?: InputMaybe<Numeric_Comparison_Exp>;
542
+ pool_current_sale_progress_percentage?: InputMaybe<Float8_Comparison_Exp>;
543
+ pool_current_sqrt_price?: InputMaybe<Numeric_Comparison_Exp>;
544
+ pool_current_tick?: InputMaybe<Int_Comparison_Exp>;
545
+ pool_current_total_proceeds?: InputMaybe<Numeric_Comparison_Exp>;
546
+ pool_current_total_tokens_sold?: InputMaybe<Numeric_Comparison_Exp>;
547
+ pool_id?: InputMaybe<String_Comparison_Exp>;
548
+ pool_key_currency_0?: InputMaybe<String_Comparison_Exp>;
549
+ pool_key_currency_1?: InputMaybe<String_Comparison_Exp>;
550
+ pool_last_epoch?: InputMaybe<Int_Comparison_Exp>;
551
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Numeric_Comparison_Exp>;
552
+ pool_migration_block?: InputMaybe<Numeric_Comparison_Exp>;
553
+ pool_migration_timestamp?: InputMaybe<Int_Comparison_Exp>;
554
+ pool_type?: InputMaybe<String_Comparison_Exp>;
555
+ quote_token?: InputMaybe<Token_Bool_Exp>;
556
+ quote_token_id?: InputMaybe<String_Comparison_Exp>;
557
+ swaps?: InputMaybe<AuctionPool_Swap_Bool_Exp>;
558
+ };
559
+ export type AuctionPool_Max_Order_By = {
560
+ asset_id?: InputMaybe<Order_By>;
561
+ base_token_id?: InputMaybe<Order_By>;
562
+ chain_id?: InputMaybe<Order_By>;
563
+ db_write_timestamp?: InputMaybe<Order_By>;
564
+ id?: InputMaybe<Order_By>;
565
+ integrator_address?: InputMaybe<Order_By>;
566
+ pool_address?: InputMaybe<Order_By>;
567
+ pool_config_ending_tick?: InputMaybe<Order_By>;
568
+ pool_config_ending_time?: InputMaybe<Order_By>;
569
+ pool_config_epoch_length?: InputMaybe<Order_By>;
570
+ pool_config_gamma?: InputMaybe<Order_By>;
571
+ pool_config_max_proceeds?: InputMaybe<Order_By>;
572
+ pool_config_min_proceeds?: InputMaybe<Order_By>;
573
+ pool_config_num_pd_slugs?: InputMaybe<Order_By>;
574
+ pool_config_num_tokens_to_sell?: InputMaybe<Order_By>;
575
+ pool_config_starting_tick?: InputMaybe<Order_By>;
576
+ pool_config_starting_time?: InputMaybe<Order_By>;
577
+ pool_creation_block?: InputMaybe<Order_By>;
578
+ pool_creation_timestamp?: InputMaybe<Order_By>;
579
+ pool_current_fdv?: InputMaybe<Order_By>;
580
+ pool_current_fees_accrued?: InputMaybe<Order_By>;
581
+ pool_current_liquidity?: InputMaybe<Order_By>;
582
+ pool_current_market_cap?: InputMaybe<Order_By>;
583
+ pool_current_min_progress_percentage?: InputMaybe<Order_By>;
584
+ pool_current_price?: InputMaybe<Order_By>;
585
+ pool_current_sale_progress_percentage?: InputMaybe<Order_By>;
586
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
587
+ pool_current_tick?: InputMaybe<Order_By>;
588
+ pool_current_total_proceeds?: InputMaybe<Order_By>;
589
+ pool_current_total_tokens_sold?: InputMaybe<Order_By>;
590
+ pool_id?: InputMaybe<Order_By>;
591
+ pool_key_currency_0?: InputMaybe<Order_By>;
592
+ pool_key_currency_1?: InputMaybe<Order_By>;
593
+ pool_last_epoch?: InputMaybe<Order_By>;
594
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Order_By>;
595
+ pool_migration_block?: InputMaybe<Order_By>;
596
+ pool_migration_timestamp?: InputMaybe<Order_By>;
597
+ pool_type?: InputMaybe<Order_By>;
598
+ quote_token_id?: InputMaybe<Order_By>;
599
+ };
600
+ export type AuctionPool_Min_Order_By = {
601
+ asset_id?: InputMaybe<Order_By>;
602
+ base_token_id?: InputMaybe<Order_By>;
603
+ chain_id?: InputMaybe<Order_By>;
604
+ db_write_timestamp?: InputMaybe<Order_By>;
605
+ id?: InputMaybe<Order_By>;
606
+ integrator_address?: InputMaybe<Order_By>;
607
+ pool_address?: InputMaybe<Order_By>;
608
+ pool_config_ending_tick?: InputMaybe<Order_By>;
609
+ pool_config_ending_time?: InputMaybe<Order_By>;
610
+ pool_config_epoch_length?: InputMaybe<Order_By>;
611
+ pool_config_gamma?: InputMaybe<Order_By>;
612
+ pool_config_max_proceeds?: InputMaybe<Order_By>;
613
+ pool_config_min_proceeds?: InputMaybe<Order_By>;
614
+ pool_config_num_pd_slugs?: InputMaybe<Order_By>;
615
+ pool_config_num_tokens_to_sell?: InputMaybe<Order_By>;
616
+ pool_config_starting_tick?: InputMaybe<Order_By>;
617
+ pool_config_starting_time?: InputMaybe<Order_By>;
618
+ pool_creation_block?: InputMaybe<Order_By>;
619
+ pool_creation_timestamp?: InputMaybe<Order_By>;
620
+ pool_current_fdv?: InputMaybe<Order_By>;
621
+ pool_current_fees_accrued?: InputMaybe<Order_By>;
622
+ pool_current_liquidity?: InputMaybe<Order_By>;
623
+ pool_current_market_cap?: InputMaybe<Order_By>;
624
+ pool_current_min_progress_percentage?: InputMaybe<Order_By>;
625
+ pool_current_price?: InputMaybe<Order_By>;
626
+ pool_current_sale_progress_percentage?: InputMaybe<Order_By>;
627
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
628
+ pool_current_tick?: InputMaybe<Order_By>;
629
+ pool_current_total_proceeds?: InputMaybe<Order_By>;
630
+ pool_current_total_tokens_sold?: InputMaybe<Order_By>;
631
+ pool_id?: InputMaybe<Order_By>;
632
+ pool_key_currency_0?: InputMaybe<Order_By>;
633
+ pool_key_currency_1?: InputMaybe<Order_By>;
634
+ pool_last_epoch?: InputMaybe<Order_By>;
635
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Order_By>;
636
+ pool_migration_block?: InputMaybe<Order_By>;
637
+ pool_migration_timestamp?: InputMaybe<Order_By>;
638
+ pool_type?: InputMaybe<Order_By>;
639
+ quote_token_id?: InputMaybe<Order_By>;
640
+ };
641
+ export type AuctionPool_Order_By = {
642
+ asset?: InputMaybe<Asset_Order_By>;
643
+ asset_id?: InputMaybe<Order_By>;
644
+ base_token?: InputMaybe<Token_Order_By>;
645
+ base_token_id?: InputMaybe<Order_By>;
646
+ chain_id?: InputMaybe<Order_By>;
647
+ db_write_timestamp?: InputMaybe<Order_By>;
648
+ id?: InputMaybe<Order_By>;
649
+ integrator_address?: InputMaybe<Order_By>;
650
+ pool_address?: InputMaybe<Order_By>;
651
+ pool_config_early_exit?: InputMaybe<Order_By>;
652
+ pool_config_ending_tick?: InputMaybe<Order_By>;
653
+ pool_config_ending_time?: InputMaybe<Order_By>;
654
+ pool_config_epoch_length?: InputMaybe<Order_By>;
655
+ pool_config_gamma?: InputMaybe<Order_By>;
656
+ pool_config_insufficient_proceeds?: InputMaybe<Order_By>;
657
+ pool_config_is_token_0?: InputMaybe<Order_By>;
658
+ pool_config_max_proceeds?: InputMaybe<Order_By>;
659
+ pool_config_min_proceeds?: InputMaybe<Order_By>;
660
+ pool_config_num_pd_slugs?: InputMaybe<Order_By>;
661
+ pool_config_num_tokens_to_sell?: InputMaybe<Order_By>;
662
+ pool_config_starting_tick?: InputMaybe<Order_By>;
663
+ pool_config_starting_time?: InputMaybe<Order_By>;
664
+ pool_creation_block?: InputMaybe<Order_By>;
665
+ pool_creation_timestamp?: InputMaybe<Order_By>;
666
+ pool_current_fdv?: InputMaybe<Order_By>;
667
+ pool_current_fees_accrued?: InputMaybe<Order_By>;
668
+ pool_current_liquidity?: InputMaybe<Order_By>;
669
+ pool_current_market_cap?: InputMaybe<Order_By>;
670
+ pool_current_min_progress_percentage?: InputMaybe<Order_By>;
671
+ pool_current_price?: InputMaybe<Order_By>;
672
+ pool_current_sale_progress_percentage?: InputMaybe<Order_By>;
673
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
674
+ pool_current_tick?: InputMaybe<Order_By>;
675
+ pool_current_total_proceeds?: InputMaybe<Order_By>;
676
+ pool_current_total_tokens_sold?: InputMaybe<Order_By>;
677
+ pool_id?: InputMaybe<Order_By>;
678
+ pool_key_currency_0?: InputMaybe<Order_By>;
679
+ pool_key_currency_1?: InputMaybe<Order_By>;
680
+ pool_last_epoch?: InputMaybe<Order_By>;
681
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Order_By>;
682
+ pool_migration_block?: InputMaybe<Order_By>;
683
+ pool_migration_timestamp?: InputMaybe<Order_By>;
684
+ pool_type?: InputMaybe<Order_By>;
685
+ quote_token?: InputMaybe<Token_Order_By>;
686
+ quote_token_id?: InputMaybe<Order_By>;
687
+ swaps_aggregate?: InputMaybe<AuctionPool_Swap_Aggregate_Order_By>;
688
+ };
689
+ export declare enum AuctionPool_Select_Column {
690
+ AssetId = "asset_id",
691
+ BaseTokenId = "base_token_id",
692
+ ChainId = "chain_id",
693
+ DbWriteTimestamp = "db_write_timestamp",
694
+ Id = "id",
695
+ IntegratorAddress = "integrator_address",
696
+ PoolAddress = "pool_address",
697
+ PoolConfigEarlyExit = "pool_config_early_exit",
698
+ PoolConfigEndingTick = "pool_config_ending_tick",
699
+ PoolConfigEndingTime = "pool_config_ending_time",
700
+ PoolConfigEpochLength = "pool_config_epoch_length",
701
+ PoolConfigGamma = "pool_config_gamma",
702
+ PoolConfigInsufficientProceeds = "pool_config_insufficient_proceeds",
703
+ PoolConfigIsToken_0 = "pool_config_is_token_0",
704
+ PoolConfigMaxProceeds = "pool_config_max_proceeds",
705
+ PoolConfigMinProceeds = "pool_config_min_proceeds",
706
+ PoolConfigNumPdSlugs = "pool_config_num_pd_slugs",
707
+ PoolConfigNumTokensToSell = "pool_config_num_tokens_to_sell",
708
+ PoolConfigStartingTick = "pool_config_starting_tick",
709
+ PoolConfigStartingTime = "pool_config_starting_time",
710
+ PoolCreationBlock = "pool_creation_block",
711
+ PoolCreationTimestamp = "pool_creation_timestamp",
712
+ PoolCurrentFdv = "pool_current_fdv",
713
+ PoolCurrentFeesAccrued = "pool_current_fees_accrued",
714
+ PoolCurrentLiquidity = "pool_current_liquidity",
715
+ PoolCurrentMarketCap = "pool_current_market_cap",
716
+ PoolCurrentMinProgressPercentage = "pool_current_min_progress_percentage",
717
+ PoolCurrentPrice = "pool_current_price",
718
+ PoolCurrentSaleProgressPercentage = "pool_current_sale_progress_percentage",
719
+ PoolCurrentSqrtPrice = "pool_current_sqrt_price",
720
+ PoolCurrentTick = "pool_current_tick",
721
+ PoolCurrentTotalProceeds = "pool_current_total_proceeds",
722
+ PoolCurrentTotalTokensSold = "pool_current_total_tokens_sold",
723
+ PoolId = "pool_id",
724
+ PoolKeyCurrency_0 = "pool_key_currency_0",
725
+ PoolKeyCurrency_1 = "pool_key_currency_1",
726
+ PoolLastEpoch = "pool_last_epoch",
727
+ PoolLastEpochTotalTokensSold = "pool_last_epoch_total_tokens_sold",
728
+ PoolMigrationBlock = "pool_migration_block",
729
+ PoolMigrationTimestamp = "pool_migration_timestamp",
730
+ PoolType = "pool_type",
731
+ QuoteTokenId = "quote_token_id"
732
+ }
733
+ export type AuctionPool_Stddev_Order_By = {
734
+ chain_id?: InputMaybe<Order_By>;
735
+ pool_config_ending_tick?: InputMaybe<Order_By>;
736
+ pool_config_ending_time?: InputMaybe<Order_By>;
737
+ pool_config_epoch_length?: InputMaybe<Order_By>;
738
+ pool_config_gamma?: InputMaybe<Order_By>;
739
+ pool_config_max_proceeds?: InputMaybe<Order_By>;
740
+ pool_config_min_proceeds?: InputMaybe<Order_By>;
741
+ pool_config_num_pd_slugs?: InputMaybe<Order_By>;
742
+ pool_config_num_tokens_to_sell?: InputMaybe<Order_By>;
743
+ pool_config_starting_tick?: InputMaybe<Order_By>;
744
+ pool_config_starting_time?: InputMaybe<Order_By>;
745
+ pool_creation_block?: InputMaybe<Order_By>;
746
+ pool_creation_timestamp?: InputMaybe<Order_By>;
747
+ pool_current_fdv?: InputMaybe<Order_By>;
748
+ pool_current_fees_accrued?: InputMaybe<Order_By>;
749
+ pool_current_liquidity?: InputMaybe<Order_By>;
750
+ pool_current_market_cap?: InputMaybe<Order_By>;
751
+ pool_current_min_progress_percentage?: InputMaybe<Order_By>;
752
+ pool_current_price?: InputMaybe<Order_By>;
753
+ pool_current_sale_progress_percentage?: InputMaybe<Order_By>;
754
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
755
+ pool_current_tick?: InputMaybe<Order_By>;
756
+ pool_current_total_proceeds?: InputMaybe<Order_By>;
757
+ pool_current_total_tokens_sold?: InputMaybe<Order_By>;
758
+ pool_last_epoch?: InputMaybe<Order_By>;
759
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Order_By>;
760
+ pool_migration_block?: InputMaybe<Order_By>;
761
+ pool_migration_timestamp?: InputMaybe<Order_By>;
762
+ };
763
+ export type AuctionPool_Stddev_Pop_Order_By = {
764
+ chain_id?: InputMaybe<Order_By>;
765
+ pool_config_ending_tick?: InputMaybe<Order_By>;
766
+ pool_config_ending_time?: InputMaybe<Order_By>;
767
+ pool_config_epoch_length?: InputMaybe<Order_By>;
768
+ pool_config_gamma?: InputMaybe<Order_By>;
769
+ pool_config_max_proceeds?: InputMaybe<Order_By>;
770
+ pool_config_min_proceeds?: InputMaybe<Order_By>;
771
+ pool_config_num_pd_slugs?: InputMaybe<Order_By>;
772
+ pool_config_num_tokens_to_sell?: InputMaybe<Order_By>;
773
+ pool_config_starting_tick?: InputMaybe<Order_By>;
774
+ pool_config_starting_time?: InputMaybe<Order_By>;
775
+ pool_creation_block?: InputMaybe<Order_By>;
776
+ pool_creation_timestamp?: InputMaybe<Order_By>;
777
+ pool_current_fdv?: InputMaybe<Order_By>;
778
+ pool_current_fees_accrued?: InputMaybe<Order_By>;
779
+ pool_current_liquidity?: InputMaybe<Order_By>;
780
+ pool_current_market_cap?: InputMaybe<Order_By>;
781
+ pool_current_min_progress_percentage?: InputMaybe<Order_By>;
782
+ pool_current_price?: InputMaybe<Order_By>;
783
+ pool_current_sale_progress_percentage?: InputMaybe<Order_By>;
784
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
785
+ pool_current_tick?: InputMaybe<Order_By>;
786
+ pool_current_total_proceeds?: InputMaybe<Order_By>;
787
+ pool_current_total_tokens_sold?: InputMaybe<Order_By>;
788
+ pool_last_epoch?: InputMaybe<Order_By>;
789
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Order_By>;
790
+ pool_migration_block?: InputMaybe<Order_By>;
791
+ pool_migration_timestamp?: InputMaybe<Order_By>;
792
+ };
793
+ export type AuctionPool_Stddev_Samp_Order_By = {
794
+ chain_id?: InputMaybe<Order_By>;
795
+ pool_config_ending_tick?: InputMaybe<Order_By>;
796
+ pool_config_ending_time?: InputMaybe<Order_By>;
797
+ pool_config_epoch_length?: InputMaybe<Order_By>;
798
+ pool_config_gamma?: InputMaybe<Order_By>;
799
+ pool_config_max_proceeds?: InputMaybe<Order_By>;
800
+ pool_config_min_proceeds?: InputMaybe<Order_By>;
801
+ pool_config_num_pd_slugs?: InputMaybe<Order_By>;
802
+ pool_config_num_tokens_to_sell?: InputMaybe<Order_By>;
803
+ pool_config_starting_tick?: InputMaybe<Order_By>;
804
+ pool_config_starting_time?: InputMaybe<Order_By>;
805
+ pool_creation_block?: InputMaybe<Order_By>;
806
+ pool_creation_timestamp?: InputMaybe<Order_By>;
807
+ pool_current_fdv?: InputMaybe<Order_By>;
808
+ pool_current_fees_accrued?: InputMaybe<Order_By>;
809
+ pool_current_liquidity?: InputMaybe<Order_By>;
810
+ pool_current_market_cap?: InputMaybe<Order_By>;
811
+ pool_current_min_progress_percentage?: InputMaybe<Order_By>;
812
+ pool_current_price?: InputMaybe<Order_By>;
813
+ pool_current_sale_progress_percentage?: InputMaybe<Order_By>;
814
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
815
+ pool_current_tick?: InputMaybe<Order_By>;
816
+ pool_current_total_proceeds?: InputMaybe<Order_By>;
817
+ pool_current_total_tokens_sold?: InputMaybe<Order_By>;
818
+ pool_last_epoch?: InputMaybe<Order_By>;
819
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Order_By>;
820
+ pool_migration_block?: InputMaybe<Order_By>;
821
+ pool_migration_timestamp?: InputMaybe<Order_By>;
822
+ };
823
+ export type AuctionPool_Stream_Cursor_Input = {
824
+ initial_value: AuctionPool_Stream_Cursor_Value_Input;
825
+ ordering?: InputMaybe<Cursor_Ordering>;
826
+ };
827
+ export type AuctionPool_Stream_Cursor_Value_Input = {
828
+ asset_id?: InputMaybe<Scalars['String']['input']>;
829
+ base_token_id?: InputMaybe<Scalars['String']['input']>;
830
+ chain_id?: InputMaybe<Scalars['Int']['input']>;
831
+ db_write_timestamp?: InputMaybe<Scalars['timestamp']['input']>;
832
+ id?: InputMaybe<Scalars['String']['input']>;
833
+ integrator_address?: InputMaybe<Scalars['String']['input']>;
834
+ pool_address?: InputMaybe<Scalars['String']['input']>;
835
+ pool_config_early_exit?: InputMaybe<Scalars['Boolean']['input']>;
836
+ pool_config_ending_tick?: InputMaybe<Scalars['Int']['input']>;
837
+ pool_config_ending_time?: InputMaybe<Scalars['numeric']['input']>;
838
+ pool_config_epoch_length?: InputMaybe<Scalars['numeric']['input']>;
839
+ pool_config_gamma?: InputMaybe<Scalars['Int']['input']>;
840
+ pool_config_insufficient_proceeds?: InputMaybe<Scalars['Boolean']['input']>;
841
+ pool_config_is_token_0?: InputMaybe<Scalars['Boolean']['input']>;
842
+ pool_config_max_proceeds?: InputMaybe<Scalars['numeric']['input']>;
843
+ pool_config_min_proceeds?: InputMaybe<Scalars['numeric']['input']>;
844
+ pool_config_num_pd_slugs?: InputMaybe<Scalars['numeric']['input']>;
845
+ pool_config_num_tokens_to_sell?: InputMaybe<Scalars['numeric']['input']>;
846
+ pool_config_starting_tick?: InputMaybe<Scalars['Int']['input']>;
847
+ pool_config_starting_time?: InputMaybe<Scalars['numeric']['input']>;
848
+ pool_creation_block?: InputMaybe<Scalars['numeric']['input']>;
849
+ pool_creation_timestamp?: InputMaybe<Scalars['Int']['input']>;
850
+ pool_current_fdv?: InputMaybe<Scalars['numeric']['input']>;
851
+ pool_current_fees_accrued?: InputMaybe<Scalars['numeric']['input']>;
852
+ pool_current_liquidity?: InputMaybe<Scalars['numeric']['input']>;
853
+ pool_current_market_cap?: InputMaybe<Scalars['numeric']['input']>;
854
+ pool_current_min_progress_percentage?: InputMaybe<Scalars['float8']['input']>;
855
+ pool_current_price?: InputMaybe<Scalars['numeric']['input']>;
856
+ pool_current_sale_progress_percentage?: InputMaybe<Scalars['float8']['input']>;
857
+ pool_current_sqrt_price?: InputMaybe<Scalars['numeric']['input']>;
858
+ pool_current_tick?: InputMaybe<Scalars['Int']['input']>;
859
+ pool_current_total_proceeds?: InputMaybe<Scalars['numeric']['input']>;
860
+ pool_current_total_tokens_sold?: InputMaybe<Scalars['numeric']['input']>;
861
+ pool_id?: InputMaybe<Scalars['String']['input']>;
862
+ pool_key_currency_0?: InputMaybe<Scalars['String']['input']>;
863
+ pool_key_currency_1?: InputMaybe<Scalars['String']['input']>;
864
+ pool_last_epoch?: InputMaybe<Scalars['Int']['input']>;
865
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Scalars['numeric']['input']>;
866
+ pool_migration_block?: InputMaybe<Scalars['numeric']['input']>;
867
+ pool_migration_timestamp?: InputMaybe<Scalars['Int']['input']>;
868
+ pool_type?: InputMaybe<Scalars['String']['input']>;
869
+ quote_token_id?: InputMaybe<Scalars['String']['input']>;
870
+ };
871
+ export type AuctionPool_Sum_Order_By = {
872
+ chain_id?: InputMaybe<Order_By>;
873
+ pool_config_ending_tick?: InputMaybe<Order_By>;
874
+ pool_config_ending_time?: InputMaybe<Order_By>;
875
+ pool_config_epoch_length?: InputMaybe<Order_By>;
876
+ pool_config_gamma?: InputMaybe<Order_By>;
877
+ pool_config_max_proceeds?: InputMaybe<Order_By>;
878
+ pool_config_min_proceeds?: InputMaybe<Order_By>;
879
+ pool_config_num_pd_slugs?: InputMaybe<Order_By>;
880
+ pool_config_num_tokens_to_sell?: InputMaybe<Order_By>;
881
+ pool_config_starting_tick?: InputMaybe<Order_By>;
882
+ pool_config_starting_time?: InputMaybe<Order_By>;
883
+ pool_creation_block?: InputMaybe<Order_By>;
884
+ pool_creation_timestamp?: InputMaybe<Order_By>;
885
+ pool_current_fdv?: InputMaybe<Order_By>;
886
+ pool_current_fees_accrued?: InputMaybe<Order_By>;
887
+ pool_current_liquidity?: InputMaybe<Order_By>;
888
+ pool_current_market_cap?: InputMaybe<Order_By>;
889
+ pool_current_min_progress_percentage?: InputMaybe<Order_By>;
890
+ pool_current_price?: InputMaybe<Order_By>;
891
+ pool_current_sale_progress_percentage?: InputMaybe<Order_By>;
892
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
893
+ pool_current_tick?: InputMaybe<Order_By>;
894
+ pool_current_total_proceeds?: InputMaybe<Order_By>;
895
+ pool_current_total_tokens_sold?: InputMaybe<Order_By>;
896
+ pool_last_epoch?: InputMaybe<Order_By>;
897
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Order_By>;
898
+ pool_migration_block?: InputMaybe<Order_By>;
899
+ pool_migration_timestamp?: InputMaybe<Order_By>;
900
+ };
901
+ export type AuctionPool_Var_Pop_Order_By = {
902
+ chain_id?: InputMaybe<Order_By>;
903
+ pool_config_ending_tick?: InputMaybe<Order_By>;
904
+ pool_config_ending_time?: InputMaybe<Order_By>;
905
+ pool_config_epoch_length?: InputMaybe<Order_By>;
906
+ pool_config_gamma?: InputMaybe<Order_By>;
907
+ pool_config_max_proceeds?: InputMaybe<Order_By>;
908
+ pool_config_min_proceeds?: InputMaybe<Order_By>;
909
+ pool_config_num_pd_slugs?: InputMaybe<Order_By>;
910
+ pool_config_num_tokens_to_sell?: InputMaybe<Order_By>;
911
+ pool_config_starting_tick?: InputMaybe<Order_By>;
912
+ pool_config_starting_time?: InputMaybe<Order_By>;
913
+ pool_creation_block?: InputMaybe<Order_By>;
914
+ pool_creation_timestamp?: InputMaybe<Order_By>;
915
+ pool_current_fdv?: InputMaybe<Order_By>;
916
+ pool_current_fees_accrued?: InputMaybe<Order_By>;
917
+ pool_current_liquidity?: InputMaybe<Order_By>;
918
+ pool_current_market_cap?: InputMaybe<Order_By>;
919
+ pool_current_min_progress_percentage?: InputMaybe<Order_By>;
920
+ pool_current_price?: InputMaybe<Order_By>;
921
+ pool_current_sale_progress_percentage?: InputMaybe<Order_By>;
922
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
923
+ pool_current_tick?: InputMaybe<Order_By>;
924
+ pool_current_total_proceeds?: InputMaybe<Order_By>;
925
+ pool_current_total_tokens_sold?: InputMaybe<Order_By>;
926
+ pool_last_epoch?: InputMaybe<Order_By>;
927
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Order_By>;
928
+ pool_migration_block?: InputMaybe<Order_By>;
929
+ pool_migration_timestamp?: InputMaybe<Order_By>;
930
+ };
931
+ export type AuctionPool_Var_Samp_Order_By = {
932
+ chain_id?: InputMaybe<Order_By>;
933
+ pool_config_ending_tick?: InputMaybe<Order_By>;
934
+ pool_config_ending_time?: InputMaybe<Order_By>;
935
+ pool_config_epoch_length?: InputMaybe<Order_By>;
936
+ pool_config_gamma?: InputMaybe<Order_By>;
937
+ pool_config_max_proceeds?: InputMaybe<Order_By>;
938
+ pool_config_min_proceeds?: InputMaybe<Order_By>;
939
+ pool_config_num_pd_slugs?: InputMaybe<Order_By>;
940
+ pool_config_num_tokens_to_sell?: InputMaybe<Order_By>;
941
+ pool_config_starting_tick?: InputMaybe<Order_By>;
942
+ pool_config_starting_time?: InputMaybe<Order_By>;
943
+ pool_creation_block?: InputMaybe<Order_By>;
944
+ pool_creation_timestamp?: InputMaybe<Order_By>;
945
+ pool_current_fdv?: InputMaybe<Order_By>;
946
+ pool_current_fees_accrued?: InputMaybe<Order_By>;
947
+ pool_current_liquidity?: InputMaybe<Order_By>;
948
+ pool_current_market_cap?: InputMaybe<Order_By>;
949
+ pool_current_min_progress_percentage?: InputMaybe<Order_By>;
950
+ pool_current_price?: InputMaybe<Order_By>;
951
+ pool_current_sale_progress_percentage?: InputMaybe<Order_By>;
952
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
953
+ pool_current_tick?: InputMaybe<Order_By>;
954
+ pool_current_total_proceeds?: InputMaybe<Order_By>;
955
+ pool_current_total_tokens_sold?: InputMaybe<Order_By>;
956
+ pool_last_epoch?: InputMaybe<Order_By>;
957
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Order_By>;
958
+ pool_migration_block?: InputMaybe<Order_By>;
959
+ pool_migration_timestamp?: InputMaybe<Order_By>;
960
+ };
961
+ export type AuctionPool_Variance_Order_By = {
962
+ chain_id?: InputMaybe<Order_By>;
963
+ pool_config_ending_tick?: InputMaybe<Order_By>;
964
+ pool_config_ending_time?: InputMaybe<Order_By>;
965
+ pool_config_epoch_length?: InputMaybe<Order_By>;
966
+ pool_config_gamma?: InputMaybe<Order_By>;
967
+ pool_config_max_proceeds?: InputMaybe<Order_By>;
968
+ pool_config_min_proceeds?: InputMaybe<Order_By>;
969
+ pool_config_num_pd_slugs?: InputMaybe<Order_By>;
970
+ pool_config_num_tokens_to_sell?: InputMaybe<Order_By>;
971
+ pool_config_starting_tick?: InputMaybe<Order_By>;
972
+ pool_config_starting_time?: InputMaybe<Order_By>;
973
+ pool_creation_block?: InputMaybe<Order_By>;
974
+ pool_creation_timestamp?: InputMaybe<Order_By>;
975
+ pool_current_fdv?: InputMaybe<Order_By>;
976
+ pool_current_fees_accrued?: InputMaybe<Order_By>;
977
+ pool_current_liquidity?: InputMaybe<Order_By>;
978
+ pool_current_market_cap?: InputMaybe<Order_By>;
979
+ pool_current_min_progress_percentage?: InputMaybe<Order_By>;
980
+ pool_current_price?: InputMaybe<Order_By>;
981
+ pool_current_sale_progress_percentage?: InputMaybe<Order_By>;
982
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
983
+ pool_current_tick?: InputMaybe<Order_By>;
984
+ pool_current_total_proceeds?: InputMaybe<Order_By>;
985
+ pool_current_total_tokens_sold?: InputMaybe<Order_By>;
986
+ pool_last_epoch?: InputMaybe<Order_By>;
987
+ pool_last_epoch_total_tokens_sold?: InputMaybe<Order_By>;
988
+ pool_migration_block?: InputMaybe<Order_By>;
989
+ pool_migration_timestamp?: InputMaybe<Order_By>;
990
+ };
991
+ export type Boolean_Comparison_Exp = {
992
+ _eq?: InputMaybe<Scalars['Boolean']['input']>;
993
+ _gt?: InputMaybe<Scalars['Boolean']['input']>;
994
+ _gte?: InputMaybe<Scalars['Boolean']['input']>;
995
+ _in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
996
+ _is_null?: InputMaybe<Scalars['Boolean']['input']>;
997
+ _lt?: InputMaybe<Scalars['Boolean']['input']>;
998
+ _lte?: InputMaybe<Scalars['Boolean']['input']>;
999
+ _neq?: InputMaybe<Scalars['Boolean']['input']>;
1000
+ _nin?: InputMaybe<Array<Scalars['Boolean']['input']>>;
1001
+ };
1002
+ export type GraduationPool = {
1003
+ __typename?: 'GraduationPool';
1004
+ asset_id: Scalars['String']['output'];
1005
+ auction_pool?: Maybe<AuctionPool>;
1006
+ auction_pool_id: Scalars['String']['output'];
1007
+ base_token?: Maybe<Token>;
1008
+ base_token_id: Scalars['String']['output'];
1009
+ chain_id: Scalars['Int']['output'];
1010
+ db_write_timestamp?: Maybe<Scalars['timestamp']['output']>;
1011
+ id: Scalars['String']['output'];
1012
+ integrator_address: Scalars['String']['output'];
1013
+ pool_address: Scalars['String']['output'];
1014
+ pool_config_is_token_0: Scalars['Boolean']['output'];
1015
+ pool_current_fdv?: Maybe<Scalars['numeric']['output']>;
1016
+ pool_current_liquidity: Scalars['numeric']['output'];
1017
+ pool_current_market_cap?: Maybe<Scalars['numeric']['output']>;
1018
+ pool_current_price: Scalars['numeric']['output'];
1019
+ pool_current_reserve_base_token: Scalars['numeric']['output'];
1020
+ pool_current_reserve_quote_token: Scalars['numeric']['output'];
1021
+ pool_current_sqrt_price: Scalars['numeric']['output'];
1022
+ pool_current_tick: Scalars['Int']['output'];
1023
+ pool_current_total_fee_base_token: Scalars['numeric']['output'];
1024
+ pool_current_total_fee_quote_token: Scalars['numeric']['output'];
1025
+ pool_migration_block?: Maybe<Scalars['numeric']['output']>;
1026
+ pool_migration_timestamp?: Maybe<Scalars['Int']['output']>;
1027
+ pool_type: Scalars['String']['output'];
1028
+ quote_token?: Maybe<Token>;
1029
+ quote_token_id: Scalars['String']['output'];
1030
+ swaps: Array<GraduationPool_Swap>;
1031
+ };
1032
+ export type GraduationPoolSwapsArgs = {
1033
+ distinct_on?: InputMaybe<Array<GraduationPool_Swap_Select_Column>>;
1034
+ limit?: InputMaybe<Scalars['Int']['input']>;
1035
+ offset?: InputMaybe<Scalars['Int']['input']>;
1036
+ order_by?: InputMaybe<Array<GraduationPool_Swap_Order_By>>;
1037
+ where?: InputMaybe<GraduationPool_Swap_Bool_Exp>;
1038
+ };
1039
+ export type GraduationPool_Swap = {
1040
+ __typename?: 'GraduationPool_Swap';
1041
+ chain_id: Scalars['Int']['output'];
1042
+ db_write_timestamp?: Maybe<Scalars['timestamp']['output']>;
1043
+ graduation_pool?: Maybe<GraduationPool>;
1044
+ graduation_pool_id: Scalars['String']['output'];
1045
+ id: Scalars['String']['output'];
1046
+ swap_amount_in: Scalars['numeric']['output'];
1047
+ swap_amount_out: Scalars['numeric']['output'];
1048
+ swap_base_token: Scalars['String']['output'];
1049
+ swap_creation_block: Scalars['numeric']['output'];
1050
+ swap_creation_hash: Scalars['String']['output'];
1051
+ swap_creation_timestamp: Scalars['Int']['output'];
1052
+ swap_origin: Scalars['String']['output'];
1053
+ swap_pool_id: Scalars['String']['output'];
1054
+ swap_quote_token: Scalars['String']['output'];
1055
+ swap_sender: Scalars['String']['output'];
1056
+ swap_sqrt_price_x96: Scalars['numeric']['output'];
1057
+ swap_tick: Scalars['Int']['output'];
1058
+ swap_type: Scalars['String']['output'];
1059
+ };
1060
+ export type GraduationPool_Swap_Aggregate_Order_By = {
1061
+ avg?: InputMaybe<GraduationPool_Swap_Avg_Order_By>;
1062
+ count?: InputMaybe<Order_By>;
1063
+ max?: InputMaybe<GraduationPool_Swap_Max_Order_By>;
1064
+ min?: InputMaybe<GraduationPool_Swap_Min_Order_By>;
1065
+ stddev?: InputMaybe<GraduationPool_Swap_Stddev_Order_By>;
1066
+ stddev_pop?: InputMaybe<GraduationPool_Swap_Stddev_Pop_Order_By>;
1067
+ stddev_samp?: InputMaybe<GraduationPool_Swap_Stddev_Samp_Order_By>;
1068
+ sum?: InputMaybe<GraduationPool_Swap_Sum_Order_By>;
1069
+ var_pop?: InputMaybe<GraduationPool_Swap_Var_Pop_Order_By>;
1070
+ var_samp?: InputMaybe<GraduationPool_Swap_Var_Samp_Order_By>;
1071
+ variance?: InputMaybe<GraduationPool_Swap_Variance_Order_By>;
1072
+ };
1073
+ export type GraduationPool_Swap_Avg_Order_By = {
1074
+ chain_id?: InputMaybe<Order_By>;
1075
+ swap_amount_in?: InputMaybe<Order_By>;
1076
+ swap_amount_out?: InputMaybe<Order_By>;
1077
+ swap_creation_block?: InputMaybe<Order_By>;
1078
+ swap_creation_timestamp?: InputMaybe<Order_By>;
1079
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
1080
+ swap_tick?: InputMaybe<Order_By>;
1081
+ };
1082
+ export type GraduationPool_Swap_Bool_Exp = {
1083
+ _and?: InputMaybe<Array<GraduationPool_Swap_Bool_Exp>>;
1084
+ _not?: InputMaybe<GraduationPool_Swap_Bool_Exp>;
1085
+ _or?: InputMaybe<Array<GraduationPool_Swap_Bool_Exp>>;
1086
+ chain_id?: InputMaybe<Int_Comparison_Exp>;
1087
+ db_write_timestamp?: InputMaybe<Timestamp_Comparison_Exp>;
1088
+ graduation_pool?: InputMaybe<GraduationPool_Bool_Exp>;
1089
+ graduation_pool_id?: InputMaybe<String_Comparison_Exp>;
1090
+ id?: InputMaybe<String_Comparison_Exp>;
1091
+ swap_amount_in?: InputMaybe<Numeric_Comparison_Exp>;
1092
+ swap_amount_out?: InputMaybe<Numeric_Comparison_Exp>;
1093
+ swap_base_token?: InputMaybe<String_Comparison_Exp>;
1094
+ swap_creation_block?: InputMaybe<Numeric_Comparison_Exp>;
1095
+ swap_creation_hash?: InputMaybe<String_Comparison_Exp>;
1096
+ swap_creation_timestamp?: InputMaybe<Int_Comparison_Exp>;
1097
+ swap_origin?: InputMaybe<String_Comparison_Exp>;
1098
+ swap_pool_id?: InputMaybe<String_Comparison_Exp>;
1099
+ swap_quote_token?: InputMaybe<String_Comparison_Exp>;
1100
+ swap_sender?: InputMaybe<String_Comparison_Exp>;
1101
+ swap_sqrt_price_x96?: InputMaybe<Numeric_Comparison_Exp>;
1102
+ swap_tick?: InputMaybe<Int_Comparison_Exp>;
1103
+ swap_type?: InputMaybe<String_Comparison_Exp>;
1104
+ };
1105
+ export type GraduationPool_Swap_Max_Order_By = {
1106
+ chain_id?: InputMaybe<Order_By>;
1107
+ db_write_timestamp?: InputMaybe<Order_By>;
1108
+ graduation_pool_id?: InputMaybe<Order_By>;
1109
+ id?: InputMaybe<Order_By>;
1110
+ swap_amount_in?: InputMaybe<Order_By>;
1111
+ swap_amount_out?: InputMaybe<Order_By>;
1112
+ swap_base_token?: InputMaybe<Order_By>;
1113
+ swap_creation_block?: InputMaybe<Order_By>;
1114
+ swap_creation_hash?: InputMaybe<Order_By>;
1115
+ swap_creation_timestamp?: InputMaybe<Order_By>;
1116
+ swap_origin?: InputMaybe<Order_By>;
1117
+ swap_pool_id?: InputMaybe<Order_By>;
1118
+ swap_quote_token?: InputMaybe<Order_By>;
1119
+ swap_sender?: InputMaybe<Order_By>;
1120
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
1121
+ swap_tick?: InputMaybe<Order_By>;
1122
+ swap_type?: InputMaybe<Order_By>;
1123
+ };
1124
+ export type GraduationPool_Swap_Min_Order_By = {
1125
+ chain_id?: InputMaybe<Order_By>;
1126
+ db_write_timestamp?: InputMaybe<Order_By>;
1127
+ graduation_pool_id?: InputMaybe<Order_By>;
1128
+ id?: InputMaybe<Order_By>;
1129
+ swap_amount_in?: InputMaybe<Order_By>;
1130
+ swap_amount_out?: InputMaybe<Order_By>;
1131
+ swap_base_token?: InputMaybe<Order_By>;
1132
+ swap_creation_block?: InputMaybe<Order_By>;
1133
+ swap_creation_hash?: InputMaybe<Order_By>;
1134
+ swap_creation_timestamp?: InputMaybe<Order_By>;
1135
+ swap_origin?: InputMaybe<Order_By>;
1136
+ swap_pool_id?: InputMaybe<Order_By>;
1137
+ swap_quote_token?: InputMaybe<Order_By>;
1138
+ swap_sender?: InputMaybe<Order_By>;
1139
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
1140
+ swap_tick?: InputMaybe<Order_By>;
1141
+ swap_type?: InputMaybe<Order_By>;
1142
+ };
1143
+ export type GraduationPool_Swap_Order_By = {
1144
+ chain_id?: InputMaybe<Order_By>;
1145
+ db_write_timestamp?: InputMaybe<Order_By>;
1146
+ graduation_pool?: InputMaybe<GraduationPool_Order_By>;
1147
+ graduation_pool_id?: InputMaybe<Order_By>;
1148
+ id?: InputMaybe<Order_By>;
1149
+ swap_amount_in?: InputMaybe<Order_By>;
1150
+ swap_amount_out?: InputMaybe<Order_By>;
1151
+ swap_base_token?: InputMaybe<Order_By>;
1152
+ swap_creation_block?: InputMaybe<Order_By>;
1153
+ swap_creation_hash?: InputMaybe<Order_By>;
1154
+ swap_creation_timestamp?: InputMaybe<Order_By>;
1155
+ swap_origin?: InputMaybe<Order_By>;
1156
+ swap_pool_id?: InputMaybe<Order_By>;
1157
+ swap_quote_token?: InputMaybe<Order_By>;
1158
+ swap_sender?: InputMaybe<Order_By>;
1159
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
1160
+ swap_tick?: InputMaybe<Order_By>;
1161
+ swap_type?: InputMaybe<Order_By>;
1162
+ };
1163
+ export declare enum GraduationPool_Swap_Select_Column {
1164
+ ChainId = "chain_id",
1165
+ DbWriteTimestamp = "db_write_timestamp",
1166
+ GraduationPoolId = "graduation_pool_id",
1167
+ Id = "id",
1168
+ SwapAmountIn = "swap_amount_in",
1169
+ SwapAmountOut = "swap_amount_out",
1170
+ SwapBaseToken = "swap_base_token",
1171
+ SwapCreationBlock = "swap_creation_block",
1172
+ SwapCreationHash = "swap_creation_hash",
1173
+ SwapCreationTimestamp = "swap_creation_timestamp",
1174
+ SwapOrigin = "swap_origin",
1175
+ SwapPoolId = "swap_pool_id",
1176
+ SwapQuoteToken = "swap_quote_token",
1177
+ SwapSender = "swap_sender",
1178
+ SwapSqrtPriceX96 = "swap_sqrt_price_x96",
1179
+ SwapTick = "swap_tick",
1180
+ SwapType = "swap_type"
1181
+ }
1182
+ export type GraduationPool_Swap_Stddev_Order_By = {
1183
+ chain_id?: InputMaybe<Order_By>;
1184
+ swap_amount_in?: InputMaybe<Order_By>;
1185
+ swap_amount_out?: InputMaybe<Order_By>;
1186
+ swap_creation_block?: InputMaybe<Order_By>;
1187
+ swap_creation_timestamp?: InputMaybe<Order_By>;
1188
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
1189
+ swap_tick?: InputMaybe<Order_By>;
1190
+ };
1191
+ export type GraduationPool_Swap_Stddev_Pop_Order_By = {
1192
+ chain_id?: InputMaybe<Order_By>;
1193
+ swap_amount_in?: InputMaybe<Order_By>;
1194
+ swap_amount_out?: InputMaybe<Order_By>;
1195
+ swap_creation_block?: InputMaybe<Order_By>;
1196
+ swap_creation_timestamp?: InputMaybe<Order_By>;
1197
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
1198
+ swap_tick?: InputMaybe<Order_By>;
1199
+ };
1200
+ export type GraduationPool_Swap_Stddev_Samp_Order_By = {
1201
+ chain_id?: InputMaybe<Order_By>;
1202
+ swap_amount_in?: InputMaybe<Order_By>;
1203
+ swap_amount_out?: InputMaybe<Order_By>;
1204
+ swap_creation_block?: InputMaybe<Order_By>;
1205
+ swap_creation_timestamp?: InputMaybe<Order_By>;
1206
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
1207
+ swap_tick?: InputMaybe<Order_By>;
1208
+ };
1209
+ export type GraduationPool_Swap_Stream_Cursor_Input = {
1210
+ initial_value: GraduationPool_Swap_Stream_Cursor_Value_Input;
1211
+ ordering?: InputMaybe<Cursor_Ordering>;
1212
+ };
1213
+ export type GraduationPool_Swap_Stream_Cursor_Value_Input = {
1214
+ chain_id?: InputMaybe<Scalars['Int']['input']>;
1215
+ db_write_timestamp?: InputMaybe<Scalars['timestamp']['input']>;
1216
+ graduation_pool_id?: InputMaybe<Scalars['String']['input']>;
1217
+ id?: InputMaybe<Scalars['String']['input']>;
1218
+ swap_amount_in?: InputMaybe<Scalars['numeric']['input']>;
1219
+ swap_amount_out?: InputMaybe<Scalars['numeric']['input']>;
1220
+ swap_base_token?: InputMaybe<Scalars['String']['input']>;
1221
+ swap_creation_block?: InputMaybe<Scalars['numeric']['input']>;
1222
+ swap_creation_hash?: InputMaybe<Scalars['String']['input']>;
1223
+ swap_creation_timestamp?: InputMaybe<Scalars['Int']['input']>;
1224
+ swap_origin?: InputMaybe<Scalars['String']['input']>;
1225
+ swap_pool_id?: InputMaybe<Scalars['String']['input']>;
1226
+ swap_quote_token?: InputMaybe<Scalars['String']['input']>;
1227
+ swap_sender?: InputMaybe<Scalars['String']['input']>;
1228
+ swap_sqrt_price_x96?: InputMaybe<Scalars['numeric']['input']>;
1229
+ swap_tick?: InputMaybe<Scalars['Int']['input']>;
1230
+ swap_type?: InputMaybe<Scalars['String']['input']>;
1231
+ };
1232
+ export type GraduationPool_Swap_Sum_Order_By = {
1233
+ chain_id?: InputMaybe<Order_By>;
1234
+ swap_amount_in?: InputMaybe<Order_By>;
1235
+ swap_amount_out?: InputMaybe<Order_By>;
1236
+ swap_creation_block?: InputMaybe<Order_By>;
1237
+ swap_creation_timestamp?: InputMaybe<Order_By>;
1238
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
1239
+ swap_tick?: InputMaybe<Order_By>;
1240
+ };
1241
+ export type GraduationPool_Swap_Var_Pop_Order_By = {
1242
+ chain_id?: InputMaybe<Order_By>;
1243
+ swap_amount_in?: InputMaybe<Order_By>;
1244
+ swap_amount_out?: InputMaybe<Order_By>;
1245
+ swap_creation_block?: InputMaybe<Order_By>;
1246
+ swap_creation_timestamp?: InputMaybe<Order_By>;
1247
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
1248
+ swap_tick?: InputMaybe<Order_By>;
1249
+ };
1250
+ export type GraduationPool_Swap_Var_Samp_Order_By = {
1251
+ chain_id?: InputMaybe<Order_By>;
1252
+ swap_amount_in?: InputMaybe<Order_By>;
1253
+ swap_amount_out?: InputMaybe<Order_By>;
1254
+ swap_creation_block?: InputMaybe<Order_By>;
1255
+ swap_creation_timestamp?: InputMaybe<Order_By>;
1256
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
1257
+ swap_tick?: InputMaybe<Order_By>;
1258
+ };
1259
+ export type GraduationPool_Swap_Variance_Order_By = {
1260
+ chain_id?: InputMaybe<Order_By>;
1261
+ swap_amount_in?: InputMaybe<Order_By>;
1262
+ swap_amount_out?: InputMaybe<Order_By>;
1263
+ swap_creation_block?: InputMaybe<Order_By>;
1264
+ swap_creation_timestamp?: InputMaybe<Order_By>;
1265
+ swap_sqrt_price_x96?: InputMaybe<Order_By>;
1266
+ swap_tick?: InputMaybe<Order_By>;
1267
+ };
1268
+ export type GraduationPool_Aggregate_Order_By = {
1269
+ avg?: InputMaybe<GraduationPool_Avg_Order_By>;
1270
+ count?: InputMaybe<Order_By>;
1271
+ max?: InputMaybe<GraduationPool_Max_Order_By>;
1272
+ min?: InputMaybe<GraduationPool_Min_Order_By>;
1273
+ stddev?: InputMaybe<GraduationPool_Stddev_Order_By>;
1274
+ stddev_pop?: InputMaybe<GraduationPool_Stddev_Pop_Order_By>;
1275
+ stddev_samp?: InputMaybe<GraduationPool_Stddev_Samp_Order_By>;
1276
+ sum?: InputMaybe<GraduationPool_Sum_Order_By>;
1277
+ var_pop?: InputMaybe<GraduationPool_Var_Pop_Order_By>;
1278
+ var_samp?: InputMaybe<GraduationPool_Var_Samp_Order_By>;
1279
+ variance?: InputMaybe<GraduationPool_Variance_Order_By>;
1280
+ };
1281
+ export type GraduationPool_Avg_Order_By = {
1282
+ chain_id?: InputMaybe<Order_By>;
1283
+ pool_current_fdv?: InputMaybe<Order_By>;
1284
+ pool_current_liquidity?: InputMaybe<Order_By>;
1285
+ pool_current_market_cap?: InputMaybe<Order_By>;
1286
+ pool_current_price?: InputMaybe<Order_By>;
1287
+ pool_current_reserve_base_token?: InputMaybe<Order_By>;
1288
+ pool_current_reserve_quote_token?: InputMaybe<Order_By>;
1289
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
1290
+ pool_current_tick?: InputMaybe<Order_By>;
1291
+ pool_current_total_fee_base_token?: InputMaybe<Order_By>;
1292
+ pool_current_total_fee_quote_token?: InputMaybe<Order_By>;
1293
+ pool_migration_block?: InputMaybe<Order_By>;
1294
+ pool_migration_timestamp?: InputMaybe<Order_By>;
1295
+ };
1296
+ export type GraduationPool_Bool_Exp = {
1297
+ _and?: InputMaybe<Array<GraduationPool_Bool_Exp>>;
1298
+ _not?: InputMaybe<GraduationPool_Bool_Exp>;
1299
+ _or?: InputMaybe<Array<GraduationPool_Bool_Exp>>;
1300
+ asset_id?: InputMaybe<String_Comparison_Exp>;
1301
+ auction_pool?: InputMaybe<AuctionPool_Bool_Exp>;
1302
+ auction_pool_id?: InputMaybe<String_Comparison_Exp>;
1303
+ base_token?: InputMaybe<Token_Bool_Exp>;
1304
+ base_token_id?: InputMaybe<String_Comparison_Exp>;
1305
+ chain_id?: InputMaybe<Int_Comparison_Exp>;
1306
+ db_write_timestamp?: InputMaybe<Timestamp_Comparison_Exp>;
1307
+ id?: InputMaybe<String_Comparison_Exp>;
1308
+ integrator_address?: InputMaybe<String_Comparison_Exp>;
1309
+ pool_address?: InputMaybe<String_Comparison_Exp>;
1310
+ pool_config_is_token_0?: InputMaybe<Boolean_Comparison_Exp>;
1311
+ pool_current_fdv?: InputMaybe<Numeric_Comparison_Exp>;
1312
+ pool_current_liquidity?: InputMaybe<Numeric_Comparison_Exp>;
1313
+ pool_current_market_cap?: InputMaybe<Numeric_Comparison_Exp>;
1314
+ pool_current_price?: InputMaybe<Numeric_Comparison_Exp>;
1315
+ pool_current_reserve_base_token?: InputMaybe<Numeric_Comparison_Exp>;
1316
+ pool_current_reserve_quote_token?: InputMaybe<Numeric_Comparison_Exp>;
1317
+ pool_current_sqrt_price?: InputMaybe<Numeric_Comparison_Exp>;
1318
+ pool_current_tick?: InputMaybe<Int_Comparison_Exp>;
1319
+ pool_current_total_fee_base_token?: InputMaybe<Numeric_Comparison_Exp>;
1320
+ pool_current_total_fee_quote_token?: InputMaybe<Numeric_Comparison_Exp>;
1321
+ pool_migration_block?: InputMaybe<Numeric_Comparison_Exp>;
1322
+ pool_migration_timestamp?: InputMaybe<Int_Comparison_Exp>;
1323
+ pool_type?: InputMaybe<String_Comparison_Exp>;
1324
+ quote_token?: InputMaybe<Token_Bool_Exp>;
1325
+ quote_token_id?: InputMaybe<String_Comparison_Exp>;
1326
+ swaps?: InputMaybe<GraduationPool_Swap_Bool_Exp>;
1327
+ };
1328
+ export type GraduationPool_Max_Order_By = {
1329
+ asset_id?: InputMaybe<Order_By>;
1330
+ auction_pool_id?: InputMaybe<Order_By>;
1331
+ base_token_id?: InputMaybe<Order_By>;
1332
+ chain_id?: InputMaybe<Order_By>;
1333
+ db_write_timestamp?: InputMaybe<Order_By>;
1334
+ id?: InputMaybe<Order_By>;
1335
+ integrator_address?: InputMaybe<Order_By>;
1336
+ pool_address?: InputMaybe<Order_By>;
1337
+ pool_current_fdv?: InputMaybe<Order_By>;
1338
+ pool_current_liquidity?: InputMaybe<Order_By>;
1339
+ pool_current_market_cap?: InputMaybe<Order_By>;
1340
+ pool_current_price?: InputMaybe<Order_By>;
1341
+ pool_current_reserve_base_token?: InputMaybe<Order_By>;
1342
+ pool_current_reserve_quote_token?: InputMaybe<Order_By>;
1343
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
1344
+ pool_current_tick?: InputMaybe<Order_By>;
1345
+ pool_current_total_fee_base_token?: InputMaybe<Order_By>;
1346
+ pool_current_total_fee_quote_token?: InputMaybe<Order_By>;
1347
+ pool_migration_block?: InputMaybe<Order_By>;
1348
+ pool_migration_timestamp?: InputMaybe<Order_By>;
1349
+ pool_type?: InputMaybe<Order_By>;
1350
+ quote_token_id?: InputMaybe<Order_By>;
1351
+ };
1352
+ export type GraduationPool_Min_Order_By = {
1353
+ asset_id?: InputMaybe<Order_By>;
1354
+ auction_pool_id?: InputMaybe<Order_By>;
1355
+ base_token_id?: InputMaybe<Order_By>;
1356
+ chain_id?: InputMaybe<Order_By>;
1357
+ db_write_timestamp?: InputMaybe<Order_By>;
1358
+ id?: InputMaybe<Order_By>;
1359
+ integrator_address?: InputMaybe<Order_By>;
1360
+ pool_address?: InputMaybe<Order_By>;
1361
+ pool_current_fdv?: InputMaybe<Order_By>;
1362
+ pool_current_liquidity?: InputMaybe<Order_By>;
1363
+ pool_current_market_cap?: InputMaybe<Order_By>;
1364
+ pool_current_price?: InputMaybe<Order_By>;
1365
+ pool_current_reserve_base_token?: InputMaybe<Order_By>;
1366
+ pool_current_reserve_quote_token?: InputMaybe<Order_By>;
1367
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
1368
+ pool_current_tick?: InputMaybe<Order_By>;
1369
+ pool_current_total_fee_base_token?: InputMaybe<Order_By>;
1370
+ pool_current_total_fee_quote_token?: InputMaybe<Order_By>;
1371
+ pool_migration_block?: InputMaybe<Order_By>;
1372
+ pool_migration_timestamp?: InputMaybe<Order_By>;
1373
+ pool_type?: InputMaybe<Order_By>;
1374
+ quote_token_id?: InputMaybe<Order_By>;
1375
+ };
1376
+ export type GraduationPool_Order_By = {
1377
+ asset_id?: InputMaybe<Order_By>;
1378
+ auction_pool?: InputMaybe<AuctionPool_Order_By>;
1379
+ auction_pool_id?: InputMaybe<Order_By>;
1380
+ base_token?: InputMaybe<Token_Order_By>;
1381
+ base_token_id?: InputMaybe<Order_By>;
1382
+ chain_id?: InputMaybe<Order_By>;
1383
+ db_write_timestamp?: InputMaybe<Order_By>;
1384
+ id?: InputMaybe<Order_By>;
1385
+ integrator_address?: InputMaybe<Order_By>;
1386
+ pool_address?: InputMaybe<Order_By>;
1387
+ pool_config_is_token_0?: InputMaybe<Order_By>;
1388
+ pool_current_fdv?: InputMaybe<Order_By>;
1389
+ pool_current_liquidity?: InputMaybe<Order_By>;
1390
+ pool_current_market_cap?: InputMaybe<Order_By>;
1391
+ pool_current_price?: InputMaybe<Order_By>;
1392
+ pool_current_reserve_base_token?: InputMaybe<Order_By>;
1393
+ pool_current_reserve_quote_token?: InputMaybe<Order_By>;
1394
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
1395
+ pool_current_tick?: InputMaybe<Order_By>;
1396
+ pool_current_total_fee_base_token?: InputMaybe<Order_By>;
1397
+ pool_current_total_fee_quote_token?: InputMaybe<Order_By>;
1398
+ pool_migration_block?: InputMaybe<Order_By>;
1399
+ pool_migration_timestamp?: InputMaybe<Order_By>;
1400
+ pool_type?: InputMaybe<Order_By>;
1401
+ quote_token?: InputMaybe<Token_Order_By>;
1402
+ quote_token_id?: InputMaybe<Order_By>;
1403
+ swaps_aggregate?: InputMaybe<GraduationPool_Swap_Aggregate_Order_By>;
1404
+ };
1405
+ export declare enum GraduationPool_Select_Column {
1406
+ AssetId = "asset_id",
1407
+ AuctionPoolId = "auction_pool_id",
1408
+ BaseTokenId = "base_token_id",
1409
+ ChainId = "chain_id",
1410
+ DbWriteTimestamp = "db_write_timestamp",
1411
+ Id = "id",
1412
+ IntegratorAddress = "integrator_address",
1413
+ PoolAddress = "pool_address",
1414
+ PoolConfigIsToken_0 = "pool_config_is_token_0",
1415
+ PoolCurrentFdv = "pool_current_fdv",
1416
+ PoolCurrentLiquidity = "pool_current_liquidity",
1417
+ PoolCurrentMarketCap = "pool_current_market_cap",
1418
+ PoolCurrentPrice = "pool_current_price",
1419
+ PoolCurrentReserveBaseToken = "pool_current_reserve_base_token",
1420
+ PoolCurrentReserveQuoteToken = "pool_current_reserve_quote_token",
1421
+ PoolCurrentSqrtPrice = "pool_current_sqrt_price",
1422
+ PoolCurrentTick = "pool_current_tick",
1423
+ PoolCurrentTotalFeeBaseToken = "pool_current_total_fee_base_token",
1424
+ PoolCurrentTotalFeeQuoteToken = "pool_current_total_fee_quote_token",
1425
+ PoolMigrationBlock = "pool_migration_block",
1426
+ PoolMigrationTimestamp = "pool_migration_timestamp",
1427
+ PoolType = "pool_type",
1428
+ QuoteTokenId = "quote_token_id"
1429
+ }
1430
+ export type GraduationPool_Stddev_Order_By = {
1431
+ chain_id?: InputMaybe<Order_By>;
1432
+ pool_current_fdv?: InputMaybe<Order_By>;
1433
+ pool_current_liquidity?: InputMaybe<Order_By>;
1434
+ pool_current_market_cap?: InputMaybe<Order_By>;
1435
+ pool_current_price?: InputMaybe<Order_By>;
1436
+ pool_current_reserve_base_token?: InputMaybe<Order_By>;
1437
+ pool_current_reserve_quote_token?: InputMaybe<Order_By>;
1438
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
1439
+ pool_current_tick?: InputMaybe<Order_By>;
1440
+ pool_current_total_fee_base_token?: InputMaybe<Order_By>;
1441
+ pool_current_total_fee_quote_token?: InputMaybe<Order_By>;
1442
+ pool_migration_block?: InputMaybe<Order_By>;
1443
+ pool_migration_timestamp?: InputMaybe<Order_By>;
1444
+ };
1445
+ export type GraduationPool_Stddev_Pop_Order_By = {
1446
+ chain_id?: InputMaybe<Order_By>;
1447
+ pool_current_fdv?: InputMaybe<Order_By>;
1448
+ pool_current_liquidity?: InputMaybe<Order_By>;
1449
+ pool_current_market_cap?: InputMaybe<Order_By>;
1450
+ pool_current_price?: InputMaybe<Order_By>;
1451
+ pool_current_reserve_base_token?: InputMaybe<Order_By>;
1452
+ pool_current_reserve_quote_token?: InputMaybe<Order_By>;
1453
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
1454
+ pool_current_tick?: InputMaybe<Order_By>;
1455
+ pool_current_total_fee_base_token?: InputMaybe<Order_By>;
1456
+ pool_current_total_fee_quote_token?: InputMaybe<Order_By>;
1457
+ pool_migration_block?: InputMaybe<Order_By>;
1458
+ pool_migration_timestamp?: InputMaybe<Order_By>;
1459
+ };
1460
+ export type GraduationPool_Stddev_Samp_Order_By = {
1461
+ chain_id?: InputMaybe<Order_By>;
1462
+ pool_current_fdv?: InputMaybe<Order_By>;
1463
+ pool_current_liquidity?: InputMaybe<Order_By>;
1464
+ pool_current_market_cap?: InputMaybe<Order_By>;
1465
+ pool_current_price?: InputMaybe<Order_By>;
1466
+ pool_current_reserve_base_token?: InputMaybe<Order_By>;
1467
+ pool_current_reserve_quote_token?: InputMaybe<Order_By>;
1468
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
1469
+ pool_current_tick?: InputMaybe<Order_By>;
1470
+ pool_current_total_fee_base_token?: InputMaybe<Order_By>;
1471
+ pool_current_total_fee_quote_token?: InputMaybe<Order_By>;
1472
+ pool_migration_block?: InputMaybe<Order_By>;
1473
+ pool_migration_timestamp?: InputMaybe<Order_By>;
1474
+ };
1475
+ export type GraduationPool_Stream_Cursor_Input = {
1476
+ initial_value: GraduationPool_Stream_Cursor_Value_Input;
1477
+ ordering?: InputMaybe<Cursor_Ordering>;
1478
+ };
1479
+ export type GraduationPool_Stream_Cursor_Value_Input = {
1480
+ asset_id?: InputMaybe<Scalars['String']['input']>;
1481
+ auction_pool_id?: InputMaybe<Scalars['String']['input']>;
1482
+ base_token_id?: InputMaybe<Scalars['String']['input']>;
1483
+ chain_id?: InputMaybe<Scalars['Int']['input']>;
1484
+ db_write_timestamp?: InputMaybe<Scalars['timestamp']['input']>;
1485
+ id?: InputMaybe<Scalars['String']['input']>;
1486
+ integrator_address?: InputMaybe<Scalars['String']['input']>;
1487
+ pool_address?: InputMaybe<Scalars['String']['input']>;
1488
+ pool_config_is_token_0?: InputMaybe<Scalars['Boolean']['input']>;
1489
+ pool_current_fdv?: InputMaybe<Scalars['numeric']['input']>;
1490
+ pool_current_liquidity?: InputMaybe<Scalars['numeric']['input']>;
1491
+ pool_current_market_cap?: InputMaybe<Scalars['numeric']['input']>;
1492
+ pool_current_price?: InputMaybe<Scalars['numeric']['input']>;
1493
+ pool_current_reserve_base_token?: InputMaybe<Scalars['numeric']['input']>;
1494
+ pool_current_reserve_quote_token?: InputMaybe<Scalars['numeric']['input']>;
1495
+ pool_current_sqrt_price?: InputMaybe<Scalars['numeric']['input']>;
1496
+ pool_current_tick?: InputMaybe<Scalars['Int']['input']>;
1497
+ pool_current_total_fee_base_token?: InputMaybe<Scalars['numeric']['input']>;
1498
+ pool_current_total_fee_quote_token?: InputMaybe<Scalars['numeric']['input']>;
1499
+ pool_migration_block?: InputMaybe<Scalars['numeric']['input']>;
1500
+ pool_migration_timestamp?: InputMaybe<Scalars['Int']['input']>;
1501
+ pool_type?: InputMaybe<Scalars['String']['input']>;
1502
+ quote_token_id?: InputMaybe<Scalars['String']['input']>;
1503
+ };
1504
+ export type GraduationPool_Sum_Order_By = {
1505
+ chain_id?: InputMaybe<Order_By>;
1506
+ pool_current_fdv?: InputMaybe<Order_By>;
1507
+ pool_current_liquidity?: InputMaybe<Order_By>;
1508
+ pool_current_market_cap?: InputMaybe<Order_By>;
1509
+ pool_current_price?: InputMaybe<Order_By>;
1510
+ pool_current_reserve_base_token?: InputMaybe<Order_By>;
1511
+ pool_current_reserve_quote_token?: InputMaybe<Order_By>;
1512
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
1513
+ pool_current_tick?: InputMaybe<Order_By>;
1514
+ pool_current_total_fee_base_token?: InputMaybe<Order_By>;
1515
+ pool_current_total_fee_quote_token?: InputMaybe<Order_By>;
1516
+ pool_migration_block?: InputMaybe<Order_By>;
1517
+ pool_migration_timestamp?: InputMaybe<Order_By>;
1518
+ };
1519
+ export type GraduationPool_Var_Pop_Order_By = {
1520
+ chain_id?: InputMaybe<Order_By>;
1521
+ pool_current_fdv?: InputMaybe<Order_By>;
1522
+ pool_current_liquidity?: InputMaybe<Order_By>;
1523
+ pool_current_market_cap?: InputMaybe<Order_By>;
1524
+ pool_current_price?: InputMaybe<Order_By>;
1525
+ pool_current_reserve_base_token?: InputMaybe<Order_By>;
1526
+ pool_current_reserve_quote_token?: InputMaybe<Order_By>;
1527
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
1528
+ pool_current_tick?: InputMaybe<Order_By>;
1529
+ pool_current_total_fee_base_token?: InputMaybe<Order_By>;
1530
+ pool_current_total_fee_quote_token?: InputMaybe<Order_By>;
1531
+ pool_migration_block?: InputMaybe<Order_By>;
1532
+ pool_migration_timestamp?: InputMaybe<Order_By>;
1533
+ };
1534
+ export type GraduationPool_Var_Samp_Order_By = {
1535
+ chain_id?: InputMaybe<Order_By>;
1536
+ pool_current_fdv?: InputMaybe<Order_By>;
1537
+ pool_current_liquidity?: InputMaybe<Order_By>;
1538
+ pool_current_market_cap?: InputMaybe<Order_By>;
1539
+ pool_current_price?: InputMaybe<Order_By>;
1540
+ pool_current_reserve_base_token?: InputMaybe<Order_By>;
1541
+ pool_current_reserve_quote_token?: InputMaybe<Order_By>;
1542
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
1543
+ pool_current_tick?: InputMaybe<Order_By>;
1544
+ pool_current_total_fee_base_token?: InputMaybe<Order_By>;
1545
+ pool_current_total_fee_quote_token?: InputMaybe<Order_By>;
1546
+ pool_migration_block?: InputMaybe<Order_By>;
1547
+ pool_migration_timestamp?: InputMaybe<Order_By>;
1548
+ };
1549
+ export type GraduationPool_Variance_Order_By = {
1550
+ chain_id?: InputMaybe<Order_By>;
1551
+ pool_current_fdv?: InputMaybe<Order_By>;
1552
+ pool_current_liquidity?: InputMaybe<Order_By>;
1553
+ pool_current_market_cap?: InputMaybe<Order_By>;
1554
+ pool_current_price?: InputMaybe<Order_By>;
1555
+ pool_current_reserve_base_token?: InputMaybe<Order_By>;
1556
+ pool_current_reserve_quote_token?: InputMaybe<Order_By>;
1557
+ pool_current_sqrt_price?: InputMaybe<Order_By>;
1558
+ pool_current_tick?: InputMaybe<Order_By>;
1559
+ pool_current_total_fee_base_token?: InputMaybe<Order_By>;
1560
+ pool_current_total_fee_quote_token?: InputMaybe<Order_By>;
1561
+ pool_migration_block?: InputMaybe<Order_By>;
1562
+ pool_migration_timestamp?: InputMaybe<Order_By>;
1563
+ };
1564
+ export type Int_Comparison_Exp = {
1565
+ _eq?: InputMaybe<Scalars['Int']['input']>;
1566
+ _gt?: InputMaybe<Scalars['Int']['input']>;
1567
+ _gte?: InputMaybe<Scalars['Int']['input']>;
1568
+ _in?: InputMaybe<Array<Scalars['Int']['input']>>;
1569
+ _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1570
+ _lt?: InputMaybe<Scalars['Int']['input']>;
1571
+ _lte?: InputMaybe<Scalars['Int']['input']>;
1572
+ _neq?: InputMaybe<Scalars['Int']['input']>;
1573
+ _nin?: InputMaybe<Array<Scalars['Int']['input']>>;
1574
+ };
1575
+ export type String_Array_Comparison_Exp = {
1576
+ _contained_in?: InputMaybe<Array<Scalars['String']['input']>>;
1577
+ _contains?: InputMaybe<Array<Scalars['String']['input']>>;
1578
+ _eq?: InputMaybe<Array<Scalars['String']['input']>>;
1579
+ _gt?: InputMaybe<Array<Scalars['String']['input']>>;
1580
+ _gte?: InputMaybe<Array<Scalars['String']['input']>>;
1581
+ _in?: InputMaybe<Array<Array<Scalars['String']['input']>>>;
1582
+ _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1583
+ _lt?: InputMaybe<Array<Scalars['String']['input']>>;
1584
+ _lte?: InputMaybe<Array<Scalars['String']['input']>>;
1585
+ _neq?: InputMaybe<Array<Scalars['String']['input']>>;
1586
+ _nin?: InputMaybe<Array<Array<Scalars['String']['input']>>>;
1587
+ };
1588
+ export type String_Comparison_Exp = {
1589
+ _eq?: InputMaybe<Scalars['String']['input']>;
1590
+ _gt?: InputMaybe<Scalars['String']['input']>;
1591
+ _gte?: InputMaybe<Scalars['String']['input']>;
1592
+ _ilike?: InputMaybe<Scalars['String']['input']>;
1593
+ _in?: InputMaybe<Array<Scalars['String']['input']>>;
1594
+ _iregex?: InputMaybe<Scalars['String']['input']>;
1595
+ _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1596
+ _like?: InputMaybe<Scalars['String']['input']>;
1597
+ _lt?: InputMaybe<Scalars['String']['input']>;
1598
+ _lte?: InputMaybe<Scalars['String']['input']>;
1599
+ _neq?: InputMaybe<Scalars['String']['input']>;
1600
+ _nilike?: InputMaybe<Scalars['String']['input']>;
1601
+ _nin?: InputMaybe<Array<Scalars['String']['input']>>;
1602
+ _niregex?: InputMaybe<Scalars['String']['input']>;
1603
+ _nlike?: InputMaybe<Scalars['String']['input']>;
1604
+ _nregex?: InputMaybe<Scalars['String']['input']>;
1605
+ _nsimilar?: InputMaybe<Scalars['String']['input']>;
1606
+ _regex?: InputMaybe<Scalars['String']['input']>;
1607
+ _similar?: InputMaybe<Scalars['String']['input']>;
1608
+ };
1609
+ export type Token = {
1610
+ __typename?: 'Token';
1611
+ auction_pools_as_base: Array<AuctionPool>;
1612
+ auction_pools_as_quote: Array<AuctionPool>;
1613
+ chain_id: Scalars['Int']['output'];
1614
+ db_write_timestamp?: Maybe<Scalars['timestamp']['output']>;
1615
+ graduation_pools_as_base: Array<GraduationPool>;
1616
+ graduation_pools_as_quote: Array<GraduationPool>;
1617
+ id: Scalars['String']['output'];
1618
+ integrator_address: Scalars['String']['output'];
1619
+ token_address: Scalars['String']['output'];
1620
+ token_creation_block: Scalars['numeric']['output'];
1621
+ token_creation_timestamp: Scalars['Int']['output'];
1622
+ token_creator_address: Scalars['String']['output'];
1623
+ token_decimals: Scalars['Int']['output'];
1624
+ token_fee_receiver_address?: Maybe<Scalars['String']['output']>;
1625
+ token_image_public_url?: Maybe<Scalars['String']['output']>;
1626
+ token_image_uri?: Maybe<Scalars['String']['output']>;
1627
+ token_is_derc_20: Scalars['Boolean']['output'];
1628
+ token_name: Scalars['String']['output'];
1629
+ token_symbol: Scalars['String']['output'];
1630
+ token_total_supply: Scalars['numeric']['output'];
1631
+ token_uri: Scalars['String']['output'];
1632
+ token_uri_data?: Maybe<Scalars['jsonb']['output']>;
1633
+ token_vesting_recipient_addresses: Array<Scalars['String']['output']>;
1634
+ };
1635
+ export type TokenAuction_Pools_As_BaseArgs = {
1636
+ distinct_on?: InputMaybe<Array<AuctionPool_Select_Column>>;
1637
+ limit?: InputMaybe<Scalars['Int']['input']>;
1638
+ offset?: InputMaybe<Scalars['Int']['input']>;
1639
+ order_by?: InputMaybe<Array<AuctionPool_Order_By>>;
1640
+ where?: InputMaybe<AuctionPool_Bool_Exp>;
1641
+ };
1642
+ export type TokenAuction_Pools_As_QuoteArgs = {
1643
+ distinct_on?: InputMaybe<Array<AuctionPool_Select_Column>>;
1644
+ limit?: InputMaybe<Scalars['Int']['input']>;
1645
+ offset?: InputMaybe<Scalars['Int']['input']>;
1646
+ order_by?: InputMaybe<Array<AuctionPool_Order_By>>;
1647
+ where?: InputMaybe<AuctionPool_Bool_Exp>;
1648
+ };
1649
+ export type TokenGraduation_Pools_As_BaseArgs = {
1650
+ distinct_on?: InputMaybe<Array<GraduationPool_Select_Column>>;
1651
+ limit?: InputMaybe<Scalars['Int']['input']>;
1652
+ offset?: InputMaybe<Scalars['Int']['input']>;
1653
+ order_by?: InputMaybe<Array<GraduationPool_Order_By>>;
1654
+ where?: InputMaybe<GraduationPool_Bool_Exp>;
1655
+ };
1656
+ export type TokenGraduation_Pools_As_QuoteArgs = {
1657
+ distinct_on?: InputMaybe<Array<GraduationPool_Select_Column>>;
1658
+ limit?: InputMaybe<Scalars['Int']['input']>;
1659
+ offset?: InputMaybe<Scalars['Int']['input']>;
1660
+ order_by?: InputMaybe<Array<GraduationPool_Order_By>>;
1661
+ where?: InputMaybe<GraduationPool_Bool_Exp>;
1662
+ };
1663
+ export type TokenToken_Uri_DataArgs = {
1664
+ path?: InputMaybe<Scalars['String']['input']>;
1665
+ };
1666
+ export type Token_Bool_Exp = {
1667
+ _and?: InputMaybe<Array<Token_Bool_Exp>>;
1668
+ _not?: InputMaybe<Token_Bool_Exp>;
1669
+ _or?: InputMaybe<Array<Token_Bool_Exp>>;
1670
+ auction_pools_as_base?: InputMaybe<AuctionPool_Bool_Exp>;
1671
+ auction_pools_as_quote?: InputMaybe<AuctionPool_Bool_Exp>;
1672
+ chain_id?: InputMaybe<Int_Comparison_Exp>;
1673
+ db_write_timestamp?: InputMaybe<Timestamp_Comparison_Exp>;
1674
+ graduation_pools_as_base?: InputMaybe<GraduationPool_Bool_Exp>;
1675
+ graduation_pools_as_quote?: InputMaybe<GraduationPool_Bool_Exp>;
1676
+ id?: InputMaybe<String_Comparison_Exp>;
1677
+ integrator_address?: InputMaybe<String_Comparison_Exp>;
1678
+ token_address?: InputMaybe<String_Comparison_Exp>;
1679
+ token_creation_block?: InputMaybe<Numeric_Comparison_Exp>;
1680
+ token_creation_timestamp?: InputMaybe<Int_Comparison_Exp>;
1681
+ token_creator_address?: InputMaybe<String_Comparison_Exp>;
1682
+ token_decimals?: InputMaybe<Int_Comparison_Exp>;
1683
+ token_fee_receiver_address?: InputMaybe<String_Comparison_Exp>;
1684
+ token_image_public_url?: InputMaybe<String_Comparison_Exp>;
1685
+ token_image_uri?: InputMaybe<String_Comparison_Exp>;
1686
+ token_is_derc_20?: InputMaybe<Boolean_Comparison_Exp>;
1687
+ token_name?: InputMaybe<String_Comparison_Exp>;
1688
+ token_symbol?: InputMaybe<String_Comparison_Exp>;
1689
+ token_total_supply?: InputMaybe<Numeric_Comparison_Exp>;
1690
+ token_uri?: InputMaybe<String_Comparison_Exp>;
1691
+ token_uri_data?: InputMaybe<Jsonb_Comparison_Exp>;
1692
+ token_vesting_recipient_addresses?: InputMaybe<String_Array_Comparison_Exp>;
1693
+ };
1694
+ export type Token_Order_By = {
1695
+ auction_pools_as_base_aggregate?: InputMaybe<AuctionPool_Aggregate_Order_By>;
1696
+ auction_pools_as_quote_aggregate?: InputMaybe<AuctionPool_Aggregate_Order_By>;
1697
+ chain_id?: InputMaybe<Order_By>;
1698
+ db_write_timestamp?: InputMaybe<Order_By>;
1699
+ graduation_pools_as_base_aggregate?: InputMaybe<GraduationPool_Aggregate_Order_By>;
1700
+ graduation_pools_as_quote_aggregate?: InputMaybe<GraduationPool_Aggregate_Order_By>;
1701
+ id?: InputMaybe<Order_By>;
1702
+ integrator_address?: InputMaybe<Order_By>;
1703
+ token_address?: InputMaybe<Order_By>;
1704
+ token_creation_block?: InputMaybe<Order_By>;
1705
+ token_creation_timestamp?: InputMaybe<Order_By>;
1706
+ token_creator_address?: InputMaybe<Order_By>;
1707
+ token_decimals?: InputMaybe<Order_By>;
1708
+ token_fee_receiver_address?: InputMaybe<Order_By>;
1709
+ token_image_public_url?: InputMaybe<Order_By>;
1710
+ token_image_uri?: InputMaybe<Order_By>;
1711
+ token_is_derc_20?: InputMaybe<Order_By>;
1712
+ token_name?: InputMaybe<Order_By>;
1713
+ token_symbol?: InputMaybe<Order_By>;
1714
+ token_total_supply?: InputMaybe<Order_By>;
1715
+ token_uri?: InputMaybe<Order_By>;
1716
+ token_uri_data?: InputMaybe<Order_By>;
1717
+ token_vesting_recipient_addresses?: InputMaybe<Order_By>;
1718
+ };
1719
+ export declare enum Token_Select_Column {
1720
+ ChainId = "chain_id",
1721
+ DbWriteTimestamp = "db_write_timestamp",
1722
+ Id = "id",
1723
+ IntegratorAddress = "integrator_address",
1724
+ TokenAddress = "token_address",
1725
+ TokenCreationBlock = "token_creation_block",
1726
+ TokenCreationTimestamp = "token_creation_timestamp",
1727
+ TokenCreatorAddress = "token_creator_address",
1728
+ TokenDecimals = "token_decimals",
1729
+ TokenFeeReceiverAddress = "token_fee_receiver_address",
1730
+ TokenImagePublicUrl = "token_image_public_url",
1731
+ TokenImageUri = "token_image_uri",
1732
+ TokenIsDerc_20 = "token_is_derc_20",
1733
+ TokenName = "token_name",
1734
+ TokenSymbol = "token_symbol",
1735
+ TokenTotalSupply = "token_total_supply",
1736
+ TokenUri = "token_uri",
1737
+ TokenUriData = "token_uri_data",
1738
+ TokenVestingRecipientAddresses = "token_vesting_recipient_addresses"
1739
+ }
1740
+ export type Token_Stream_Cursor_Input = {
1741
+ initial_value: Token_Stream_Cursor_Value_Input;
1742
+ ordering?: InputMaybe<Cursor_Ordering>;
1743
+ };
1744
+ export type Token_Stream_Cursor_Value_Input = {
1745
+ chain_id?: InputMaybe<Scalars['Int']['input']>;
1746
+ db_write_timestamp?: InputMaybe<Scalars['timestamp']['input']>;
1747
+ id?: InputMaybe<Scalars['String']['input']>;
1748
+ integrator_address?: InputMaybe<Scalars['String']['input']>;
1749
+ token_address?: InputMaybe<Scalars['String']['input']>;
1750
+ token_creation_block?: InputMaybe<Scalars['numeric']['input']>;
1751
+ token_creation_timestamp?: InputMaybe<Scalars['Int']['input']>;
1752
+ token_creator_address?: InputMaybe<Scalars['String']['input']>;
1753
+ token_decimals?: InputMaybe<Scalars['Int']['input']>;
1754
+ token_fee_receiver_address?: InputMaybe<Scalars['String']['input']>;
1755
+ token_image_public_url?: InputMaybe<Scalars['String']['input']>;
1756
+ token_image_uri?: InputMaybe<Scalars['String']['input']>;
1757
+ token_is_derc_20?: InputMaybe<Scalars['Boolean']['input']>;
1758
+ token_name?: InputMaybe<Scalars['String']['input']>;
1759
+ token_symbol?: InputMaybe<Scalars['String']['input']>;
1760
+ token_total_supply?: InputMaybe<Scalars['numeric']['input']>;
1761
+ token_uri?: InputMaybe<Scalars['String']['input']>;
1762
+ token_uri_data?: InputMaybe<Scalars['jsonb']['input']>;
1763
+ token_vesting_recipient_addresses?: InputMaybe<Array<Scalars['String']['input']>>;
1764
+ };
1765
+ export type UserAsset = {
1766
+ __typename?: 'UserAsset';
1767
+ address: Scalars['String']['output'];
1768
+ asset?: Maybe<Asset>;
1769
+ asset_id: Scalars['String']['output'];
1770
+ balance: Scalars['numeric']['output'];
1771
+ chain_id: Scalars['Int']['output'];
1772
+ db_write_timestamp?: Maybe<Scalars['timestamp']['output']>;
1773
+ id: Scalars['String']['output'];
1774
+ };
1775
+ export type UserAsset_Bool_Exp = {
1776
+ _and?: InputMaybe<Array<UserAsset_Bool_Exp>>;
1777
+ _not?: InputMaybe<UserAsset_Bool_Exp>;
1778
+ _or?: InputMaybe<Array<UserAsset_Bool_Exp>>;
1779
+ address?: InputMaybe<String_Comparison_Exp>;
1780
+ asset?: InputMaybe<Asset_Bool_Exp>;
1781
+ asset_id?: InputMaybe<String_Comparison_Exp>;
1782
+ balance?: InputMaybe<Numeric_Comparison_Exp>;
1783
+ chain_id?: InputMaybe<Int_Comparison_Exp>;
1784
+ db_write_timestamp?: InputMaybe<Timestamp_Comparison_Exp>;
1785
+ id?: InputMaybe<String_Comparison_Exp>;
1786
+ };
1787
+ export type UserAsset_Order_By = {
1788
+ address?: InputMaybe<Order_By>;
1789
+ asset?: InputMaybe<Asset_Order_By>;
1790
+ asset_id?: InputMaybe<Order_By>;
1791
+ balance?: InputMaybe<Order_By>;
1792
+ chain_id?: InputMaybe<Order_By>;
1793
+ db_write_timestamp?: InputMaybe<Order_By>;
1794
+ id?: InputMaybe<Order_By>;
1795
+ };
1796
+ export declare enum UserAsset_Select_Column {
1797
+ Address = "address",
1798
+ AssetId = "asset_id",
1799
+ Balance = "balance",
1800
+ ChainId = "chain_id",
1801
+ DbWriteTimestamp = "db_write_timestamp",
1802
+ Id = "id"
1803
+ }
1804
+ export type UserAsset_Stream_Cursor_Input = {
1805
+ initial_value: UserAsset_Stream_Cursor_Value_Input;
1806
+ ordering?: InputMaybe<Cursor_Ordering>;
1807
+ };
1808
+ export type UserAsset_Stream_Cursor_Value_Input = {
1809
+ address?: InputMaybe<Scalars['String']['input']>;
1810
+ asset_id?: InputMaybe<Scalars['String']['input']>;
1811
+ balance?: InputMaybe<Scalars['numeric']['input']>;
1812
+ chain_id?: InputMaybe<Scalars['Int']['input']>;
1813
+ db_write_timestamp?: InputMaybe<Scalars['timestamp']['input']>;
1814
+ id?: InputMaybe<Scalars['String']['input']>;
1815
+ };
1816
+ export type _Meta = {
1817
+ __typename?: '_meta';
1818
+ bufferBlock?: Maybe<Scalars['Int']['output']>;
1819
+ chainId?: Maybe<Scalars['Int']['output']>;
1820
+ endBlock?: Maybe<Scalars['Int']['output']>;
1821
+ eventsProcessed?: Maybe<Scalars['Int']['output']>;
1822
+ firstEventBlock?: Maybe<Scalars['Int']['output']>;
1823
+ isReady?: Maybe<Scalars['Boolean']['output']>;
1824
+ progressBlock?: Maybe<Scalars['Int']['output']>;
1825
+ readyAt?: Maybe<Scalars['timestamptz']['output']>;
1826
+ sourceBlock?: Maybe<Scalars['Int']['output']>;
1827
+ startBlock?: Maybe<Scalars['Int']['output']>;
1828
+ };
1829
+ export type _Meta_Bool_Exp = {
1830
+ _and?: InputMaybe<Array<_Meta_Bool_Exp>>;
1831
+ _not?: InputMaybe<_Meta_Bool_Exp>;
1832
+ _or?: InputMaybe<Array<_Meta_Bool_Exp>>;
1833
+ bufferBlock?: InputMaybe<Int_Comparison_Exp>;
1834
+ chainId?: InputMaybe<Int_Comparison_Exp>;
1835
+ endBlock?: InputMaybe<Int_Comparison_Exp>;
1836
+ eventsProcessed?: InputMaybe<Int_Comparison_Exp>;
1837
+ firstEventBlock?: InputMaybe<Int_Comparison_Exp>;
1838
+ isReady?: InputMaybe<Boolean_Comparison_Exp>;
1839
+ progressBlock?: InputMaybe<Int_Comparison_Exp>;
1840
+ readyAt?: InputMaybe<Timestamptz_Comparison_Exp>;
1841
+ sourceBlock?: InputMaybe<Int_Comparison_Exp>;
1842
+ startBlock?: InputMaybe<Int_Comparison_Exp>;
1843
+ };
1844
+ export type _Meta_Order_By = {
1845
+ bufferBlock?: InputMaybe<Order_By>;
1846
+ chainId?: InputMaybe<Order_By>;
1847
+ endBlock?: InputMaybe<Order_By>;
1848
+ eventsProcessed?: InputMaybe<Order_By>;
1849
+ firstEventBlock?: InputMaybe<Order_By>;
1850
+ isReady?: InputMaybe<Order_By>;
1851
+ progressBlock?: InputMaybe<Order_By>;
1852
+ readyAt?: InputMaybe<Order_By>;
1853
+ sourceBlock?: InputMaybe<Order_By>;
1854
+ startBlock?: InputMaybe<Order_By>;
1855
+ };
1856
+ export declare enum _Meta_Select_Column {
1857
+ BufferBlock = "bufferBlock",
1858
+ ChainId = "chainId",
1859
+ EndBlock = "endBlock",
1860
+ EventsProcessed = "eventsProcessed",
1861
+ FirstEventBlock = "firstEventBlock",
1862
+ IsReady = "isReady",
1863
+ ProgressBlock = "progressBlock",
1864
+ ReadyAt = "readyAt",
1865
+ SourceBlock = "sourceBlock",
1866
+ StartBlock = "startBlock"
1867
+ }
1868
+ export type _Meta_Stream_Cursor_Input = {
1869
+ initial_value: _Meta_Stream_Cursor_Value_Input;
1870
+ ordering?: InputMaybe<Cursor_Ordering>;
1871
+ };
1872
+ export type _Meta_Stream_Cursor_Value_Input = {
1873
+ bufferBlock?: InputMaybe<Scalars['Int']['input']>;
1874
+ chainId?: InputMaybe<Scalars['Int']['input']>;
1875
+ endBlock?: InputMaybe<Scalars['Int']['input']>;
1876
+ eventsProcessed?: InputMaybe<Scalars['Int']['input']>;
1877
+ firstEventBlock?: InputMaybe<Scalars['Int']['input']>;
1878
+ isReady?: InputMaybe<Scalars['Boolean']['input']>;
1879
+ progressBlock?: InputMaybe<Scalars['Int']['input']>;
1880
+ readyAt?: InputMaybe<Scalars['timestamptz']['input']>;
1881
+ sourceBlock?: InputMaybe<Scalars['Int']['input']>;
1882
+ startBlock?: InputMaybe<Scalars['Int']['input']>;
1883
+ };
1884
+ export type Chain_Metadata = {
1885
+ __typename?: 'chain_metadata';
1886
+ block_height?: Maybe<Scalars['Int']['output']>;
1887
+ chain_id?: Maybe<Scalars['Int']['output']>;
1888
+ end_block?: Maybe<Scalars['Int']['output']>;
1889
+ first_event_block_number?: Maybe<Scalars['Int']['output']>;
1890
+ is_hyper_sync?: Maybe<Scalars['Boolean']['output']>;
1891
+ latest_fetched_block_number?: Maybe<Scalars['Int']['output']>;
1892
+ latest_processed_block?: Maybe<Scalars['Int']['output']>;
1893
+ num_batches_fetched?: Maybe<Scalars['Int']['output']>;
1894
+ num_events_processed?: Maybe<Scalars['Int']['output']>;
1895
+ start_block?: Maybe<Scalars['Int']['output']>;
1896
+ timestamp_caught_up_to_head_or_endblock?: Maybe<Scalars['timestamptz']['output']>;
1897
+ };
1898
+ export type Chain_Metadata_Bool_Exp = {
1899
+ _and?: InputMaybe<Array<Chain_Metadata_Bool_Exp>>;
1900
+ _not?: InputMaybe<Chain_Metadata_Bool_Exp>;
1901
+ _or?: InputMaybe<Array<Chain_Metadata_Bool_Exp>>;
1902
+ block_height?: InputMaybe<Int_Comparison_Exp>;
1903
+ chain_id?: InputMaybe<Int_Comparison_Exp>;
1904
+ end_block?: InputMaybe<Int_Comparison_Exp>;
1905
+ first_event_block_number?: InputMaybe<Int_Comparison_Exp>;
1906
+ is_hyper_sync?: InputMaybe<Boolean_Comparison_Exp>;
1907
+ latest_fetched_block_number?: InputMaybe<Int_Comparison_Exp>;
1908
+ latest_processed_block?: InputMaybe<Int_Comparison_Exp>;
1909
+ num_batches_fetched?: InputMaybe<Int_Comparison_Exp>;
1910
+ num_events_processed?: InputMaybe<Int_Comparison_Exp>;
1911
+ start_block?: InputMaybe<Int_Comparison_Exp>;
1912
+ timestamp_caught_up_to_head_or_endblock?: InputMaybe<Timestamptz_Comparison_Exp>;
1913
+ };
1914
+ export type Chain_Metadata_Order_By = {
1915
+ block_height?: InputMaybe<Order_By>;
1916
+ chain_id?: InputMaybe<Order_By>;
1917
+ end_block?: InputMaybe<Order_By>;
1918
+ first_event_block_number?: InputMaybe<Order_By>;
1919
+ is_hyper_sync?: InputMaybe<Order_By>;
1920
+ latest_fetched_block_number?: InputMaybe<Order_By>;
1921
+ latest_processed_block?: InputMaybe<Order_By>;
1922
+ num_batches_fetched?: InputMaybe<Order_By>;
1923
+ num_events_processed?: InputMaybe<Order_By>;
1924
+ start_block?: InputMaybe<Order_By>;
1925
+ timestamp_caught_up_to_head_or_endblock?: InputMaybe<Order_By>;
1926
+ };
1927
+ export declare enum Chain_Metadata_Select_Column {
1928
+ BlockHeight = "block_height",
1929
+ ChainId = "chain_id",
1930
+ EndBlock = "end_block",
1931
+ FirstEventBlockNumber = "first_event_block_number",
1932
+ IsHyperSync = "is_hyper_sync",
1933
+ LatestFetchedBlockNumber = "latest_fetched_block_number",
1934
+ LatestProcessedBlock = "latest_processed_block",
1935
+ NumBatchesFetched = "num_batches_fetched",
1936
+ NumEventsProcessed = "num_events_processed",
1937
+ StartBlock = "start_block",
1938
+ TimestampCaughtUpToHeadOrEndblock = "timestamp_caught_up_to_head_or_endblock"
1939
+ }
1940
+ export type Chain_Metadata_Stream_Cursor_Input = {
1941
+ initial_value: Chain_Metadata_Stream_Cursor_Value_Input;
1942
+ ordering?: InputMaybe<Cursor_Ordering>;
1943
+ };
1944
+ export type Chain_Metadata_Stream_Cursor_Value_Input = {
1945
+ block_height?: InputMaybe<Scalars['Int']['input']>;
1946
+ chain_id?: InputMaybe<Scalars['Int']['input']>;
1947
+ end_block?: InputMaybe<Scalars['Int']['input']>;
1948
+ first_event_block_number?: InputMaybe<Scalars['Int']['input']>;
1949
+ is_hyper_sync?: InputMaybe<Scalars['Boolean']['input']>;
1950
+ latest_fetched_block_number?: InputMaybe<Scalars['Int']['input']>;
1951
+ latest_processed_block?: InputMaybe<Scalars['Int']['input']>;
1952
+ num_batches_fetched?: InputMaybe<Scalars['Int']['input']>;
1953
+ num_events_processed?: InputMaybe<Scalars['Int']['input']>;
1954
+ start_block?: InputMaybe<Scalars['Int']['input']>;
1955
+ timestamp_caught_up_to_head_or_endblock?: InputMaybe<Scalars['timestamptz']['input']>;
1956
+ };
1957
+ export declare enum Cursor_Ordering {
1958
+ Asc = "ASC",
1959
+ Desc = "DESC"
1960
+ }
1961
+ export type Float8_Comparison_Exp = {
1962
+ _eq?: InputMaybe<Scalars['float8']['input']>;
1963
+ _gt?: InputMaybe<Scalars['float8']['input']>;
1964
+ _gte?: InputMaybe<Scalars['float8']['input']>;
1965
+ _in?: InputMaybe<Array<Scalars['float8']['input']>>;
1966
+ _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1967
+ _lt?: InputMaybe<Scalars['float8']['input']>;
1968
+ _lte?: InputMaybe<Scalars['float8']['input']>;
1969
+ _neq?: InputMaybe<Scalars['float8']['input']>;
1970
+ _nin?: InputMaybe<Array<Scalars['float8']['input']>>;
1971
+ };
1972
+ export type Jsonb_Cast_Exp = {
1973
+ String?: InputMaybe<String_Comparison_Exp>;
1974
+ };
1975
+ export type Jsonb_Comparison_Exp = {
1976
+ _cast?: InputMaybe<Jsonb_Cast_Exp>;
1977
+ _contained_in?: InputMaybe<Scalars['jsonb']['input']>;
1978
+ _contains?: InputMaybe<Scalars['jsonb']['input']>;
1979
+ _eq?: InputMaybe<Scalars['jsonb']['input']>;
1980
+ _gt?: InputMaybe<Scalars['jsonb']['input']>;
1981
+ _gte?: InputMaybe<Scalars['jsonb']['input']>;
1982
+ _has_key?: InputMaybe<Scalars['String']['input']>;
1983
+ _has_keys_all?: InputMaybe<Array<Scalars['String']['input']>>;
1984
+ _has_keys_any?: InputMaybe<Array<Scalars['String']['input']>>;
1985
+ _in?: InputMaybe<Array<Scalars['jsonb']['input']>>;
1986
+ _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1987
+ _lt?: InputMaybe<Scalars['jsonb']['input']>;
1988
+ _lte?: InputMaybe<Scalars['jsonb']['input']>;
1989
+ _neq?: InputMaybe<Scalars['jsonb']['input']>;
1990
+ _nin?: InputMaybe<Array<Scalars['jsonb']['input']>>;
1991
+ };
1992
+ export type Numeric_Comparison_Exp = {
1993
+ _eq?: InputMaybe<Scalars['numeric']['input']>;
1994
+ _gt?: InputMaybe<Scalars['numeric']['input']>;
1995
+ _gte?: InputMaybe<Scalars['numeric']['input']>;
1996
+ _in?: InputMaybe<Array<Scalars['numeric']['input']>>;
1997
+ _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1998
+ _lt?: InputMaybe<Scalars['numeric']['input']>;
1999
+ _lte?: InputMaybe<Scalars['numeric']['input']>;
2000
+ _neq?: InputMaybe<Scalars['numeric']['input']>;
2001
+ _nin?: InputMaybe<Array<Scalars['numeric']['input']>>;
2002
+ };
2003
+ export declare enum Order_By {
2004
+ Asc = "asc",
2005
+ AscNullsFirst = "asc_nulls_first",
2006
+ AscNullsLast = "asc_nulls_last",
2007
+ Desc = "desc",
2008
+ DescNullsFirst = "desc_nulls_first",
2009
+ DescNullsLast = "desc_nulls_last"
2010
+ }
2011
+ export type Query_Root = {
2012
+ __typename?: 'query_root';
2013
+ Asset: Array<Asset>;
2014
+ Asset_by_pk?: Maybe<Asset>;
2015
+ AuctionPool: Array<AuctionPool>;
2016
+ AuctionPool_Swap: Array<AuctionPool_Swap>;
2017
+ AuctionPool_Swap_by_pk?: Maybe<AuctionPool_Swap>;
2018
+ AuctionPool_by_pk?: Maybe<AuctionPool>;
2019
+ GraduationPool: Array<GraduationPool>;
2020
+ GraduationPool_Swap: Array<GraduationPool_Swap>;
2021
+ GraduationPool_Swap_by_pk?: Maybe<GraduationPool_Swap>;
2022
+ GraduationPool_by_pk?: Maybe<GraduationPool>;
2023
+ Token: Array<Token>;
2024
+ Token_by_pk?: Maybe<Token>;
2025
+ UserAsset: Array<UserAsset>;
2026
+ UserAsset_by_pk?: Maybe<UserAsset>;
2027
+ _meta: Array<_Meta>;
2028
+ chain_metadata: Array<Chain_Metadata>;
2029
+ raw_events: Array<Raw_Events>;
2030
+ raw_events_by_pk?: Maybe<Raw_Events>;
2031
+ };
2032
+ export type Query_RootAssetArgs = {
2033
+ distinct_on?: InputMaybe<Array<Asset_Select_Column>>;
2034
+ limit?: InputMaybe<Scalars['Int']['input']>;
2035
+ offset?: InputMaybe<Scalars['Int']['input']>;
2036
+ order_by?: InputMaybe<Array<Asset_Order_By>>;
2037
+ where?: InputMaybe<Asset_Bool_Exp>;
2038
+ };
2039
+ export type Query_RootAsset_By_PkArgs = {
2040
+ id: Scalars['String']['input'];
2041
+ };
2042
+ export type Query_RootAuctionPoolArgs = {
2043
+ distinct_on?: InputMaybe<Array<AuctionPool_Select_Column>>;
2044
+ limit?: InputMaybe<Scalars['Int']['input']>;
2045
+ offset?: InputMaybe<Scalars['Int']['input']>;
2046
+ order_by?: InputMaybe<Array<AuctionPool_Order_By>>;
2047
+ where?: InputMaybe<AuctionPool_Bool_Exp>;
2048
+ };
2049
+ export type Query_RootAuctionPool_SwapArgs = {
2050
+ distinct_on?: InputMaybe<Array<AuctionPool_Swap_Select_Column>>;
2051
+ limit?: InputMaybe<Scalars['Int']['input']>;
2052
+ offset?: InputMaybe<Scalars['Int']['input']>;
2053
+ order_by?: InputMaybe<Array<AuctionPool_Swap_Order_By>>;
2054
+ where?: InputMaybe<AuctionPool_Swap_Bool_Exp>;
2055
+ };
2056
+ export type Query_RootAuctionPool_Swap_By_PkArgs = {
2057
+ id: Scalars['String']['input'];
2058
+ };
2059
+ export type Query_RootAuctionPool_By_PkArgs = {
2060
+ id: Scalars['String']['input'];
2061
+ };
2062
+ export type Query_RootGraduationPoolArgs = {
2063
+ distinct_on?: InputMaybe<Array<GraduationPool_Select_Column>>;
2064
+ limit?: InputMaybe<Scalars['Int']['input']>;
2065
+ offset?: InputMaybe<Scalars['Int']['input']>;
2066
+ order_by?: InputMaybe<Array<GraduationPool_Order_By>>;
2067
+ where?: InputMaybe<GraduationPool_Bool_Exp>;
2068
+ };
2069
+ export type Query_RootGraduationPool_SwapArgs = {
2070
+ distinct_on?: InputMaybe<Array<GraduationPool_Swap_Select_Column>>;
2071
+ limit?: InputMaybe<Scalars['Int']['input']>;
2072
+ offset?: InputMaybe<Scalars['Int']['input']>;
2073
+ order_by?: InputMaybe<Array<GraduationPool_Swap_Order_By>>;
2074
+ where?: InputMaybe<GraduationPool_Swap_Bool_Exp>;
2075
+ };
2076
+ export type Query_RootGraduationPool_Swap_By_PkArgs = {
2077
+ id: Scalars['String']['input'];
2078
+ };
2079
+ export type Query_RootGraduationPool_By_PkArgs = {
2080
+ id: Scalars['String']['input'];
2081
+ };
2082
+ export type Query_RootTokenArgs = {
2083
+ distinct_on?: InputMaybe<Array<Token_Select_Column>>;
2084
+ limit?: InputMaybe<Scalars['Int']['input']>;
2085
+ offset?: InputMaybe<Scalars['Int']['input']>;
2086
+ order_by?: InputMaybe<Array<Token_Order_By>>;
2087
+ where?: InputMaybe<Token_Bool_Exp>;
2088
+ };
2089
+ export type Query_RootToken_By_PkArgs = {
2090
+ id: Scalars['String']['input'];
2091
+ };
2092
+ export type Query_RootUserAssetArgs = {
2093
+ distinct_on?: InputMaybe<Array<UserAsset_Select_Column>>;
2094
+ limit?: InputMaybe<Scalars['Int']['input']>;
2095
+ offset?: InputMaybe<Scalars['Int']['input']>;
2096
+ order_by?: InputMaybe<Array<UserAsset_Order_By>>;
2097
+ where?: InputMaybe<UserAsset_Bool_Exp>;
2098
+ };
2099
+ export type Query_RootUserAsset_By_PkArgs = {
2100
+ id: Scalars['String']['input'];
2101
+ };
2102
+ export type Query_Root_MetaArgs = {
2103
+ distinct_on?: InputMaybe<Array<_Meta_Select_Column>>;
2104
+ limit?: InputMaybe<Scalars['Int']['input']>;
2105
+ offset?: InputMaybe<Scalars['Int']['input']>;
2106
+ order_by?: InputMaybe<Array<_Meta_Order_By>>;
2107
+ where?: InputMaybe<_Meta_Bool_Exp>;
2108
+ };
2109
+ export type Query_RootChain_MetadataArgs = {
2110
+ distinct_on?: InputMaybe<Array<Chain_Metadata_Select_Column>>;
2111
+ limit?: InputMaybe<Scalars['Int']['input']>;
2112
+ offset?: InputMaybe<Scalars['Int']['input']>;
2113
+ order_by?: InputMaybe<Array<Chain_Metadata_Order_By>>;
2114
+ where?: InputMaybe<Chain_Metadata_Bool_Exp>;
2115
+ };
2116
+ export type Query_RootRaw_EventsArgs = {
2117
+ distinct_on?: InputMaybe<Array<Raw_Events_Select_Column>>;
2118
+ limit?: InputMaybe<Scalars['Int']['input']>;
2119
+ offset?: InputMaybe<Scalars['Int']['input']>;
2120
+ order_by?: InputMaybe<Array<Raw_Events_Order_By>>;
2121
+ where?: InputMaybe<Raw_Events_Bool_Exp>;
2122
+ };
2123
+ export type Query_RootRaw_Events_By_PkArgs = {
2124
+ serial: Scalars['Int']['input'];
2125
+ };
2126
+ export type Raw_Events = {
2127
+ __typename?: 'raw_events';
2128
+ block_fields: Scalars['jsonb']['output'];
2129
+ block_hash: Scalars['String']['output'];
2130
+ block_number: Scalars['Int']['output'];
2131
+ block_timestamp: Scalars['Int']['output'];
2132
+ chain_id: Scalars['Int']['output'];
2133
+ contract_name: Scalars['String']['output'];
2134
+ db_write_timestamp?: Maybe<Scalars['timestamp']['output']>;
2135
+ event_id: Scalars['numeric']['output'];
2136
+ event_name: Scalars['String']['output'];
2137
+ log_index: Scalars['Int']['output'];
2138
+ params: Scalars['jsonb']['output'];
2139
+ serial: Scalars['Int']['output'];
2140
+ src_address: Scalars['String']['output'];
2141
+ transaction_fields: Scalars['jsonb']['output'];
2142
+ };
2143
+ export type Raw_EventsBlock_FieldsArgs = {
2144
+ path?: InputMaybe<Scalars['String']['input']>;
2145
+ };
2146
+ export type Raw_EventsParamsArgs = {
2147
+ path?: InputMaybe<Scalars['String']['input']>;
2148
+ };
2149
+ export type Raw_EventsTransaction_FieldsArgs = {
2150
+ path?: InputMaybe<Scalars['String']['input']>;
2151
+ };
2152
+ export type Raw_Events_Bool_Exp = {
2153
+ _and?: InputMaybe<Array<Raw_Events_Bool_Exp>>;
2154
+ _not?: InputMaybe<Raw_Events_Bool_Exp>;
2155
+ _or?: InputMaybe<Array<Raw_Events_Bool_Exp>>;
2156
+ block_fields?: InputMaybe<Jsonb_Comparison_Exp>;
2157
+ block_hash?: InputMaybe<String_Comparison_Exp>;
2158
+ block_number?: InputMaybe<Int_Comparison_Exp>;
2159
+ block_timestamp?: InputMaybe<Int_Comparison_Exp>;
2160
+ chain_id?: InputMaybe<Int_Comparison_Exp>;
2161
+ contract_name?: InputMaybe<String_Comparison_Exp>;
2162
+ db_write_timestamp?: InputMaybe<Timestamp_Comparison_Exp>;
2163
+ event_id?: InputMaybe<Numeric_Comparison_Exp>;
2164
+ event_name?: InputMaybe<String_Comparison_Exp>;
2165
+ log_index?: InputMaybe<Int_Comparison_Exp>;
2166
+ params?: InputMaybe<Jsonb_Comparison_Exp>;
2167
+ serial?: InputMaybe<Int_Comparison_Exp>;
2168
+ src_address?: InputMaybe<String_Comparison_Exp>;
2169
+ transaction_fields?: InputMaybe<Jsonb_Comparison_Exp>;
2170
+ };
2171
+ export type Raw_Events_Order_By = {
2172
+ block_fields?: InputMaybe<Order_By>;
2173
+ block_hash?: InputMaybe<Order_By>;
2174
+ block_number?: InputMaybe<Order_By>;
2175
+ block_timestamp?: InputMaybe<Order_By>;
2176
+ chain_id?: InputMaybe<Order_By>;
2177
+ contract_name?: InputMaybe<Order_By>;
2178
+ db_write_timestamp?: InputMaybe<Order_By>;
2179
+ event_id?: InputMaybe<Order_By>;
2180
+ event_name?: InputMaybe<Order_By>;
2181
+ log_index?: InputMaybe<Order_By>;
2182
+ params?: InputMaybe<Order_By>;
2183
+ serial?: InputMaybe<Order_By>;
2184
+ src_address?: InputMaybe<Order_By>;
2185
+ transaction_fields?: InputMaybe<Order_By>;
2186
+ };
2187
+ export declare enum Raw_Events_Select_Column {
2188
+ BlockFields = "block_fields",
2189
+ BlockHash = "block_hash",
2190
+ BlockNumber = "block_number",
2191
+ BlockTimestamp = "block_timestamp",
2192
+ ChainId = "chain_id",
2193
+ ContractName = "contract_name",
2194
+ DbWriteTimestamp = "db_write_timestamp",
2195
+ EventId = "event_id",
2196
+ EventName = "event_name",
2197
+ LogIndex = "log_index",
2198
+ Params = "params",
2199
+ Serial = "serial",
2200
+ SrcAddress = "src_address",
2201
+ TransactionFields = "transaction_fields"
2202
+ }
2203
+ export type Raw_Events_Stream_Cursor_Input = {
2204
+ initial_value: Raw_Events_Stream_Cursor_Value_Input;
2205
+ ordering?: InputMaybe<Cursor_Ordering>;
2206
+ };
2207
+ export type Raw_Events_Stream_Cursor_Value_Input = {
2208
+ block_fields?: InputMaybe<Scalars['jsonb']['input']>;
2209
+ block_hash?: InputMaybe<Scalars['String']['input']>;
2210
+ block_number?: InputMaybe<Scalars['Int']['input']>;
2211
+ block_timestamp?: InputMaybe<Scalars['Int']['input']>;
2212
+ chain_id?: InputMaybe<Scalars['Int']['input']>;
2213
+ contract_name?: InputMaybe<Scalars['String']['input']>;
2214
+ db_write_timestamp?: InputMaybe<Scalars['timestamp']['input']>;
2215
+ event_id?: InputMaybe<Scalars['numeric']['input']>;
2216
+ event_name?: InputMaybe<Scalars['String']['input']>;
2217
+ log_index?: InputMaybe<Scalars['Int']['input']>;
2218
+ params?: InputMaybe<Scalars['jsonb']['input']>;
2219
+ serial?: InputMaybe<Scalars['Int']['input']>;
2220
+ src_address?: InputMaybe<Scalars['String']['input']>;
2221
+ transaction_fields?: InputMaybe<Scalars['jsonb']['input']>;
2222
+ };
2223
+ export type Subscription_Root = {
2224
+ __typename?: 'subscription_root';
2225
+ Asset: Array<Asset>;
2226
+ Asset_by_pk?: Maybe<Asset>;
2227
+ Asset_stream: Array<Asset>;
2228
+ AuctionPool: Array<AuctionPool>;
2229
+ AuctionPool_Swap: Array<AuctionPool_Swap>;
2230
+ AuctionPool_Swap_by_pk?: Maybe<AuctionPool_Swap>;
2231
+ AuctionPool_Swap_stream: Array<AuctionPool_Swap>;
2232
+ AuctionPool_by_pk?: Maybe<AuctionPool>;
2233
+ AuctionPool_stream: Array<AuctionPool>;
2234
+ GraduationPool: Array<GraduationPool>;
2235
+ GraduationPool_Swap: Array<GraduationPool_Swap>;
2236
+ GraduationPool_Swap_by_pk?: Maybe<GraduationPool_Swap>;
2237
+ GraduationPool_Swap_stream: Array<GraduationPool_Swap>;
2238
+ GraduationPool_by_pk?: Maybe<GraduationPool>;
2239
+ GraduationPool_stream: Array<GraduationPool>;
2240
+ Token: Array<Token>;
2241
+ Token_by_pk?: Maybe<Token>;
2242
+ Token_stream: Array<Token>;
2243
+ UserAsset: Array<UserAsset>;
2244
+ UserAsset_by_pk?: Maybe<UserAsset>;
2245
+ UserAsset_stream: Array<UserAsset>;
2246
+ _meta: Array<_Meta>;
2247
+ _meta_stream: Array<_Meta>;
2248
+ chain_metadata: Array<Chain_Metadata>;
2249
+ chain_metadata_stream: Array<Chain_Metadata>;
2250
+ raw_events: Array<Raw_Events>;
2251
+ raw_events_by_pk?: Maybe<Raw_Events>;
2252
+ raw_events_stream: Array<Raw_Events>;
2253
+ };
2254
+ export type Subscription_RootAssetArgs = {
2255
+ distinct_on?: InputMaybe<Array<Asset_Select_Column>>;
2256
+ limit?: InputMaybe<Scalars['Int']['input']>;
2257
+ offset?: InputMaybe<Scalars['Int']['input']>;
2258
+ order_by?: InputMaybe<Array<Asset_Order_By>>;
2259
+ where?: InputMaybe<Asset_Bool_Exp>;
2260
+ };
2261
+ export type Subscription_RootAsset_By_PkArgs = {
2262
+ id: Scalars['String']['input'];
2263
+ };
2264
+ export type Subscription_RootAsset_StreamArgs = {
2265
+ batch_size: Scalars['Int']['input'];
2266
+ cursor: Array<InputMaybe<Asset_Stream_Cursor_Input>>;
2267
+ where?: InputMaybe<Asset_Bool_Exp>;
2268
+ };
2269
+ export type Subscription_RootAuctionPoolArgs = {
2270
+ distinct_on?: InputMaybe<Array<AuctionPool_Select_Column>>;
2271
+ limit?: InputMaybe<Scalars['Int']['input']>;
2272
+ offset?: InputMaybe<Scalars['Int']['input']>;
2273
+ order_by?: InputMaybe<Array<AuctionPool_Order_By>>;
2274
+ where?: InputMaybe<AuctionPool_Bool_Exp>;
2275
+ };
2276
+ export type Subscription_RootAuctionPool_SwapArgs = {
2277
+ distinct_on?: InputMaybe<Array<AuctionPool_Swap_Select_Column>>;
2278
+ limit?: InputMaybe<Scalars['Int']['input']>;
2279
+ offset?: InputMaybe<Scalars['Int']['input']>;
2280
+ order_by?: InputMaybe<Array<AuctionPool_Swap_Order_By>>;
2281
+ where?: InputMaybe<AuctionPool_Swap_Bool_Exp>;
2282
+ };
2283
+ export type Subscription_RootAuctionPool_Swap_By_PkArgs = {
2284
+ id: Scalars['String']['input'];
2285
+ };
2286
+ export type Subscription_RootAuctionPool_Swap_StreamArgs = {
2287
+ batch_size: Scalars['Int']['input'];
2288
+ cursor: Array<InputMaybe<AuctionPool_Swap_Stream_Cursor_Input>>;
2289
+ where?: InputMaybe<AuctionPool_Swap_Bool_Exp>;
2290
+ };
2291
+ export type Subscription_RootAuctionPool_By_PkArgs = {
2292
+ id: Scalars['String']['input'];
2293
+ };
2294
+ export type Subscription_RootAuctionPool_StreamArgs = {
2295
+ batch_size: Scalars['Int']['input'];
2296
+ cursor: Array<InputMaybe<AuctionPool_Stream_Cursor_Input>>;
2297
+ where?: InputMaybe<AuctionPool_Bool_Exp>;
2298
+ };
2299
+ export type Subscription_RootGraduationPoolArgs = {
2300
+ distinct_on?: InputMaybe<Array<GraduationPool_Select_Column>>;
2301
+ limit?: InputMaybe<Scalars['Int']['input']>;
2302
+ offset?: InputMaybe<Scalars['Int']['input']>;
2303
+ order_by?: InputMaybe<Array<GraduationPool_Order_By>>;
2304
+ where?: InputMaybe<GraduationPool_Bool_Exp>;
2305
+ };
2306
+ export type Subscription_RootGraduationPool_SwapArgs = {
2307
+ distinct_on?: InputMaybe<Array<GraduationPool_Swap_Select_Column>>;
2308
+ limit?: InputMaybe<Scalars['Int']['input']>;
2309
+ offset?: InputMaybe<Scalars['Int']['input']>;
2310
+ order_by?: InputMaybe<Array<GraduationPool_Swap_Order_By>>;
2311
+ where?: InputMaybe<GraduationPool_Swap_Bool_Exp>;
2312
+ };
2313
+ export type Subscription_RootGraduationPool_Swap_By_PkArgs = {
2314
+ id: Scalars['String']['input'];
2315
+ };
2316
+ export type Subscription_RootGraduationPool_Swap_StreamArgs = {
2317
+ batch_size: Scalars['Int']['input'];
2318
+ cursor: Array<InputMaybe<GraduationPool_Swap_Stream_Cursor_Input>>;
2319
+ where?: InputMaybe<GraduationPool_Swap_Bool_Exp>;
2320
+ };
2321
+ export type Subscription_RootGraduationPool_By_PkArgs = {
2322
+ id: Scalars['String']['input'];
2323
+ };
2324
+ export type Subscription_RootGraduationPool_StreamArgs = {
2325
+ batch_size: Scalars['Int']['input'];
2326
+ cursor: Array<InputMaybe<GraduationPool_Stream_Cursor_Input>>;
2327
+ where?: InputMaybe<GraduationPool_Bool_Exp>;
2328
+ };
2329
+ export type Subscription_RootTokenArgs = {
2330
+ distinct_on?: InputMaybe<Array<Token_Select_Column>>;
2331
+ limit?: InputMaybe<Scalars['Int']['input']>;
2332
+ offset?: InputMaybe<Scalars['Int']['input']>;
2333
+ order_by?: InputMaybe<Array<Token_Order_By>>;
2334
+ where?: InputMaybe<Token_Bool_Exp>;
2335
+ };
2336
+ export type Subscription_RootToken_By_PkArgs = {
2337
+ id: Scalars['String']['input'];
2338
+ };
2339
+ export type Subscription_RootToken_StreamArgs = {
2340
+ batch_size: Scalars['Int']['input'];
2341
+ cursor: Array<InputMaybe<Token_Stream_Cursor_Input>>;
2342
+ where?: InputMaybe<Token_Bool_Exp>;
2343
+ };
2344
+ export type Subscription_RootUserAssetArgs = {
2345
+ distinct_on?: InputMaybe<Array<UserAsset_Select_Column>>;
2346
+ limit?: InputMaybe<Scalars['Int']['input']>;
2347
+ offset?: InputMaybe<Scalars['Int']['input']>;
2348
+ order_by?: InputMaybe<Array<UserAsset_Order_By>>;
2349
+ where?: InputMaybe<UserAsset_Bool_Exp>;
2350
+ };
2351
+ export type Subscription_RootUserAsset_By_PkArgs = {
2352
+ id: Scalars['String']['input'];
2353
+ };
2354
+ export type Subscription_RootUserAsset_StreamArgs = {
2355
+ batch_size: Scalars['Int']['input'];
2356
+ cursor: Array<InputMaybe<UserAsset_Stream_Cursor_Input>>;
2357
+ where?: InputMaybe<UserAsset_Bool_Exp>;
2358
+ };
2359
+ export type Subscription_Root_MetaArgs = {
2360
+ distinct_on?: InputMaybe<Array<_Meta_Select_Column>>;
2361
+ limit?: InputMaybe<Scalars['Int']['input']>;
2362
+ offset?: InputMaybe<Scalars['Int']['input']>;
2363
+ order_by?: InputMaybe<Array<_Meta_Order_By>>;
2364
+ where?: InputMaybe<_Meta_Bool_Exp>;
2365
+ };
2366
+ export type Subscription_Root_Meta_StreamArgs = {
2367
+ batch_size: Scalars['Int']['input'];
2368
+ cursor: Array<InputMaybe<_Meta_Stream_Cursor_Input>>;
2369
+ where?: InputMaybe<_Meta_Bool_Exp>;
2370
+ };
2371
+ export type Subscription_RootChain_MetadataArgs = {
2372
+ distinct_on?: InputMaybe<Array<Chain_Metadata_Select_Column>>;
2373
+ limit?: InputMaybe<Scalars['Int']['input']>;
2374
+ offset?: InputMaybe<Scalars['Int']['input']>;
2375
+ order_by?: InputMaybe<Array<Chain_Metadata_Order_By>>;
2376
+ where?: InputMaybe<Chain_Metadata_Bool_Exp>;
2377
+ };
2378
+ export type Subscription_RootChain_Metadata_StreamArgs = {
2379
+ batch_size: Scalars['Int']['input'];
2380
+ cursor: Array<InputMaybe<Chain_Metadata_Stream_Cursor_Input>>;
2381
+ where?: InputMaybe<Chain_Metadata_Bool_Exp>;
2382
+ };
2383
+ export type Subscription_RootRaw_EventsArgs = {
2384
+ distinct_on?: InputMaybe<Array<Raw_Events_Select_Column>>;
2385
+ limit?: InputMaybe<Scalars['Int']['input']>;
2386
+ offset?: InputMaybe<Scalars['Int']['input']>;
2387
+ order_by?: InputMaybe<Array<Raw_Events_Order_By>>;
2388
+ where?: InputMaybe<Raw_Events_Bool_Exp>;
2389
+ };
2390
+ export type Subscription_RootRaw_Events_By_PkArgs = {
2391
+ serial: Scalars['Int']['input'];
2392
+ };
2393
+ export type Subscription_RootRaw_Events_StreamArgs = {
2394
+ batch_size: Scalars['Int']['input'];
2395
+ cursor: Array<InputMaybe<Raw_Events_Stream_Cursor_Input>>;
2396
+ where?: InputMaybe<Raw_Events_Bool_Exp>;
2397
+ };
2398
+ export type Timestamp_Comparison_Exp = {
2399
+ _eq?: InputMaybe<Scalars['timestamp']['input']>;
2400
+ _gt?: InputMaybe<Scalars['timestamp']['input']>;
2401
+ _gte?: InputMaybe<Scalars['timestamp']['input']>;
2402
+ _in?: InputMaybe<Array<Scalars['timestamp']['input']>>;
2403
+ _is_null?: InputMaybe<Scalars['Boolean']['input']>;
2404
+ _lt?: InputMaybe<Scalars['timestamp']['input']>;
2405
+ _lte?: InputMaybe<Scalars['timestamp']['input']>;
2406
+ _neq?: InputMaybe<Scalars['timestamp']['input']>;
2407
+ _nin?: InputMaybe<Array<Scalars['timestamp']['input']>>;
2408
+ };
2409
+ export type Timestamptz_Comparison_Exp = {
2410
+ _eq?: InputMaybe<Scalars['timestamptz']['input']>;
2411
+ _gt?: InputMaybe<Scalars['timestamptz']['input']>;
2412
+ _gte?: InputMaybe<Scalars['timestamptz']['input']>;
2413
+ _in?: InputMaybe<Array<Scalars['timestamptz']['input']>>;
2414
+ _is_null?: InputMaybe<Scalars['Boolean']['input']>;
2415
+ _lt?: InputMaybe<Scalars['timestamptz']['input']>;
2416
+ _lte?: InputMaybe<Scalars['timestamptz']['input']>;
2417
+ _neq?: InputMaybe<Scalars['timestamptz']['input']>;
2418
+ _nin?: InputMaybe<Array<Scalars['timestamptz']['input']>>;
2419
+ };
2420
+ export type GetAuctionByChainIdAndAddressQueryVariables = Exact<{
2421
+ chainId: Scalars['Int']['input'];
2422
+ address: Scalars['String']['input'];
2423
+ }>;
2424
+ export type GetAuctionByChainIdAndAddressQuery = {
2425
+ __typename?: 'query_root';
2426
+ auction: Array<{
2427
+ __typename?: 'AuctionPool';
2428
+ pool_address: string;
2429
+ pool_id: string;
2430
+ pool_current_fdv: any;
2431
+ pool_current_price: any;
2432
+ pool_current_sqrt_price: any;
2433
+ pool_current_liquidity: any;
2434
+ pool_last_epoch?: number | null;
2435
+ base_token?: {
2436
+ __typename?: 'Token';
2437
+ token_address: string;
2438
+ token_name: string;
2439
+ token_symbol: string;
2440
+ } | null;
2441
+ quote_token?: {
2442
+ __typename?: 'Token';
2443
+ token_address: string;
2444
+ token_name: string;
2445
+ token_symbol: string;
2446
+ } | null;
2447
+ }>;
2448
+ };
2449
+ export declare const GetAuctionByChainIdAndAddressDocument: import("graphql").DocumentNode;
2450
+ export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
2451
+ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
2452
+ GetAuctionByChainIdAndAddress(variables: GetAuctionByChainIdAndAddressQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAuctionByChainIdAndAddressQuery>;
2453
+ };
2454
+ export type Sdk = ReturnType<typeof getSdk>;
2455
+ export {};