@codex-data/sdk 0.5.8 → 0.6.0

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.
@@ -94,6 +94,11 @@ export type AddNftPoolEventsOutput = {
94
94
  networkId: Scalars['Int']['output'];
95
95
  poolAddress: Scalars['String']['output'];
96
96
  };
97
+ export type AddTokenEventsOutput = {
98
+ __typename?: 'AddTokenEventsOutput';
99
+ events: Array<Event>;
100
+ id: Scalars['String']['output'];
101
+ };
97
102
  export type AddTokenLifecycleEventsOutput = {
98
103
  __typename?: 'AddTokenLifecycleEventsOutput';
99
104
  events: Array<TokenLifecycleEvent>;
@@ -356,34 +361,6 @@ export type CreateApiTokensInput = {
356
361
  /** Number of requests allowed per token, represented as a string, default is 5000 */
357
362
  requestLimit?: InputMaybe<Scalars['String']['input']>;
358
363
  };
359
- export type CreateDecodedCallWebhookArgs = {
360
- alertRecurrence: AlertRecurrence;
361
- bucketId?: InputMaybe<Scalars['String']['input']>;
362
- bucketSortkey?: InputMaybe<Scalars['String']['input']>;
363
- callbackUrl: Scalars['String']['input'];
364
- conditions: DecodedCallWebhookConditionInput;
365
- groupId?: InputMaybe<Scalars['String']['input']>;
366
- name: Scalars['String']['input'];
367
- retrySettings?: InputMaybe<RetrySettingsInput>;
368
- securityToken: Scalars['String']['input'];
369
- };
370
- export type CreateDecodedCallWebhooksInput = {
371
- webhooks: Array<CreateDecodedCallWebhookArgs>;
372
- };
373
- export type CreateDecodedLogWebhookArgs = {
374
- alertRecurrence: AlertRecurrence;
375
- bucketId?: InputMaybe<Scalars['String']['input']>;
376
- bucketSortkey?: InputMaybe<Scalars['String']['input']>;
377
- callbackUrl: Scalars['String']['input'];
378
- conditions: DecodedLogWebhookConditionInput;
379
- groupId?: InputMaybe<Scalars['String']['input']>;
380
- name: Scalars['String']['input'];
381
- retrySettings?: InputMaybe<RetrySettingsInput>;
382
- securityToken: Scalars['String']['input'];
383
- };
384
- export type CreateDecodedLogWebhooksInput = {
385
- webhooks: Array<CreateDecodedLogWebhookArgs>;
386
- };
387
364
  export type CreateNftEventWebhookArgs = {
388
365
  alertRecurrence: AlertRecurrence;
389
366
  bucketId?: InputMaybe<Scalars['String']['input']>;
@@ -412,20 +389,6 @@ export type CreatePriceWebhookArgs = {
412
389
  export type CreatePriceWebhooksInput = {
413
390
  webhooks: Array<CreatePriceWebhookArgs>;
414
391
  };
415
- export type CreateRawCallTraceWebhookArgs = {
416
- alertRecurrence: AlertRecurrence;
417
- bucketId?: InputMaybe<Scalars['String']['input']>;
418
- bucketSortkey?: InputMaybe<Scalars['String']['input']>;
419
- callbackUrl: Scalars['String']['input'];
420
- conditions: RawCallTraceWebhookConditionInput;
421
- groupId?: InputMaybe<Scalars['String']['input']>;
422
- name: Scalars['String']['input'];
423
- retrySettings?: InputMaybe<RetrySettingsInput>;
424
- securityToken: Scalars['String']['input'];
425
- };
426
- export type CreateRawCallTraceWebhooksInput = {
427
- webhooks: Array<CreateRawCallTraceWebhookArgs>;
428
- };
429
392
  export type CreateRawTransactionWebhookArgs = {
430
393
  alertRecurrence: AlertRecurrence;
431
394
  bucketId?: InputMaybe<Scalars['String']['input']>;
@@ -455,21 +418,15 @@ export type CreateTokenPairEventWebhooksInput = {
455
418
  webhooks: Array<CreateTokenPairEventWebhookArgs>;
456
419
  };
457
420
  export type CreateWebhooksInput = {
458
- decodedCallWebhooksInput?: InputMaybe<CreateDecodedCallWebhooksInput>;
459
- decodedLogWebhooksInput?: InputMaybe<CreateDecodedLogWebhooksInput>;
460
421
  nftEventWebhooksInput?: InputMaybe<CreateNftEventWebhooksInput>;
461
422
  priceWebhooksInput?: InputMaybe<CreatePriceWebhooksInput>;
462
- rawCallTraceWebhooksInput?: InputMaybe<CreateRawCallTraceWebhooksInput>;
463
423
  rawTransactionWebhooksInput?: InputMaybe<CreateRawTransactionWebhooksInput>;
464
424
  tokenPairEventWebhooksInput?: InputMaybe<CreateTokenPairEventWebhooksInput>;
465
425
  };
466
426
  export type CreateWebhooksOutput = {
467
427
  __typename?: 'CreateWebhooksOutput';
468
- decodedCallWebhooks: Array<Maybe<Webhook>>;
469
- decodedLogWebhooks: Array<Maybe<Webhook>>;
470
428
  nftEventWebhooks: Array<Maybe<Webhook>>;
471
429
  priceWebhooks: Array<Maybe<Webhook>>;
472
- rawCallTraceWebhooks: Array<Maybe<Webhook>>;
473
430
  rawTransactionWebhooks: Array<Maybe<Webhook>>;
474
431
  tokenPairEventWebhooks: Array<Maybe<Webhook>>;
475
432
  };
@@ -488,40 +445,6 @@ export type CurrencyBarData = {
488
445
  /** Bar chart data in USD. */
489
446
  usd: IndividualBarData;
490
447
  };
491
- export type DecodedCallWebhookCondition = {
492
- __typename?: 'DecodedCallWebhookCondition';
493
- address?: Maybe<StringEqualsCondition>;
494
- decodingId: StringEqualsCondition;
495
- from?: Maybe<StringEqualsCondition>;
496
- input?: Maybe<Scalars['JSON']['output']>;
497
- methodId?: Maybe<StringEqualsCondition>;
498
- methodName?: Maybe<StringEqualsCondition>;
499
- output?: Maybe<Scalars['JSON']['output']>;
500
- to?: Maybe<StringEqualsCondition>;
501
- };
502
- export type DecodedCallWebhookConditionInput = {
503
- address?: InputMaybe<StringEqualsConditionInput>;
504
- decodingId: StringEqualsConditionInput;
505
- from?: InputMaybe<StringEqualsConditionInput>;
506
- input?: InputMaybe<Scalars['JSON']['input']>;
507
- methodId?: InputMaybe<StringEqualsConditionInput>;
508
- methodName?: InputMaybe<StringEqualsConditionInput>;
509
- output?: InputMaybe<Scalars['JSON']['input']>;
510
- to?: InputMaybe<StringEqualsConditionInput>;
511
- };
512
- export type DecodedLogWebhookCondition = {
513
- __typename?: 'DecodedLogWebhookCondition';
514
- address?: Maybe<StringEqualsCondition>;
515
- decodingId: StringEqualsCondition;
516
- event?: Maybe<Scalars['JSON']['output']>;
517
- eventName?: Maybe<StringEqualsCondition>;
518
- };
519
- export type DecodedLogWebhookConditionInput = {
520
- address?: InputMaybe<StringEqualsConditionInput>;
521
- decodingId: StringEqualsConditionInput;
522
- event?: InputMaybe<Scalars['JSON']['input']>;
523
- eventName?: InputMaybe<StringEqualsConditionInput>;
524
- };
525
448
  export type DeleteWebhooksInput = {
526
449
  webhookIds: Array<Scalars['String']['input']>;
527
450
  };
@@ -955,7 +878,7 @@ export declare enum EventType {
955
878
  }
956
879
  /** Input type of `EventsQuery`. */
957
880
  export type EventsQueryInput = {
958
- /** The pair contract address to filter by. */
881
+ /** The pair contract address to filter by. If you pass a token address in here, it will instead find the top pair for that token and use that. */
959
882
  address: Scalars['String']['input'];
960
883
  /** The amount of `quoteToken` involved in the swap. */
961
884
  amountNonLiquidityToken?: InputMaybe<NumberFilter>;
@@ -1241,7 +1164,7 @@ export type GetPriceInput = {
1241
1164
  maxDeviations?: InputMaybe<Scalars['Float']['input']>;
1242
1165
  /** The network ID the token is deployed on. */
1243
1166
  networkId: Scalars['Int']['input'];
1244
- /** The unix timestamp for the price. Lookup is limited to the last three months. */
1167
+ /** The unix timestamp for the price. */
1245
1168
  timestamp?: InputMaybe<Scalars['Int']['input']>;
1246
1169
  };
1247
1170
  export type GetQuoteInput = {
@@ -1530,6 +1453,7 @@ export type LiquidityLockConnection = {
1530
1453
  /** Protocols that can lock liquidity */
1531
1454
  export declare enum LiquidityLockProtocol {
1532
1455
  BasecampV1 = "BASECAMP_V1",
1456
+ Bitbond = "BITBOND",
1533
1457
  Burn = "BURN",
1534
1458
  UncxV2 = "UNCX_V2",
1535
1459
  UncxV3 = "UNCX_V3"
@@ -4157,6 +4081,10 @@ export type OnBarsUpdatedResponse = {
4157
4081
  /** The unix timestamp for the new bar. */
4158
4082
  timestamp: Scalars['Int']['output'];
4159
4083
  };
4084
+ export type OnTokenEventsCreatedInput = {
4085
+ networkId: Scalars['Int']['input'];
4086
+ tokenAddress: Scalars['String']['input'];
4087
+ };
4160
4088
  export type OneOfNumberCondition = {
4161
4089
  __typename?: 'OneOfNumberCondition';
4162
4090
  oneOf: Array<Scalars['Int']['output']>;
@@ -5927,34 +5855,6 @@ export declare enum RankingDirection {
5927
5855
  Asc = "ASC",
5928
5856
  Desc = "DESC"
5929
5857
  }
5930
- export declare enum RawCallTraceType {
5931
- Create = "create"
5932
- }
5933
- export type RawCallTraceTypeConditionInput = {
5934
- eq: RawCallTraceType;
5935
- };
5936
- export type RawCallTraceTypeCondtion = {
5937
- __typename?: 'RawCallTraceTypeCondtion';
5938
- eq: RawCallTraceType;
5939
- };
5940
- export type RawCallTraceWebhookCondition = {
5941
- __typename?: 'RawCallTraceWebhookCondition';
5942
- networkId?: Maybe<OneOfNumberCondition>;
5943
- result?: Maybe<RawCallTraceWebhookConditionResult>;
5944
- traceType: RawCallTraceTypeCondtion;
5945
- };
5946
- export type RawCallTraceWebhookConditionInput = {
5947
- networkId?: InputMaybe<OneOfNumberConditionInput>;
5948
- result?: InputMaybe<RawCallTraceWebhookConditionResultInput>;
5949
- traceType: RawCallTraceTypeConditionInput;
5950
- };
5951
- export type RawCallTraceWebhookConditionResult = {
5952
- __typename?: 'RawCallTraceWebhookConditionResult';
5953
- code?: Maybe<StringContainsCondition>;
5954
- };
5955
- export type RawCallTraceWebhookConditionResultInput = {
5956
- code?: InputMaybe<StringContainsConditionInput>;
5957
- };
5958
5858
  export type RawNftAssetData = {
5959
5859
  __typename?: 'RawNftAssetData';
5960
5860
  /** An optional image field that may or may not be present on the requested NFT asset smart contract. */
@@ -6345,6 +6245,8 @@ export type Subscription = {
6345
6245
  /** Live-streamed price updates for a token. */
6346
6246
  onPriceUpdated?: Maybe<Price>;
6347
6247
  onSimulateTokenContract: SimulateTokenContractResult;
6248
+ /** Live streamed events for a given token across all it's pools */
6249
+ onTokenEventsCreated: AddTokenEventsOutput;
6348
6250
  /** Live-streamed token lifecycle events (mints and burns) */
6349
6251
  onTokenLifecycleEventsCreated: AddTokenLifecycleEventsOutput;
6350
6252
  };
@@ -6404,6 +6306,9 @@ export type SubscriptionOnSimulateTokenContractArgs = {
6404
6306
  networkId: Scalars['Int']['input'];
6405
6307
  simulationId?: InputMaybe<Scalars['String']['input']>;
6406
6308
  };
6309
+ export type SubscriptionOnTokenEventsCreatedArgs = {
6310
+ input: OnTokenEventsCreatedInput;
6311
+ };
6407
6312
  export type SubscriptionOnTokenLifecycleEventsCreatedArgs = {
6408
6313
  address?: InputMaybe<Scalars['String']['input']>;
6409
6314
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -7218,7 +7123,7 @@ export type Webhook = {
7218
7123
  status: Scalars['String']['output'];
7219
7124
  webhookType: WebhookType;
7220
7125
  };
7221
- export type WebhookCondition = DecodedCallWebhookCondition | DecodedLogWebhookCondition | NftEventWebhookCondition | PriceEventWebhookCondition | RawCallTraceWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
7126
+ export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
7222
7127
  export declare enum WebhookNftEventFillSource {
7223
7128
  Blur = "BLUR",
7224
7129
  Coinbase = "COINBASE",
@@ -7244,7 +7149,6 @@ export declare enum WebhookNftEventType {
7244
7149
  export declare enum WebhookType {
7245
7150
  NftEvent = "NFT_EVENT",
7246
7151
  PriceEvent = "PRICE_EVENT",
7247
- RawCallTrace = "RAW_CALL_TRACE",
7248
7152
  RawTransaction = "RAW_TRANSACTION",
7249
7153
  TokenPairEvent = "TOKEN_PAIR_EVENT"
7250
7154
  }
@@ -7456,49 +7360,6 @@ export type CreateWebhooksMutation = {
7456
7360
  bucketId?: string | null;
7457
7361
  bucketSortkey?: string | null;
7458
7362
  conditions: {
7459
- __typename?: 'DecodedCallWebhookCondition';
7460
- output?: any | null;
7461
- inputDecodedCallWebhookCondition?: any | null;
7462
- decodingId: {
7463
- __typename?: 'StringEqualsCondition';
7464
- eq: string;
7465
- };
7466
- methodName?: {
7467
- __typename?: 'StringEqualsCondition';
7468
- eq: string;
7469
- } | null;
7470
- address?: {
7471
- __typename?: 'StringEqualsCondition';
7472
- eq: string;
7473
- } | null;
7474
- from?: {
7475
- __typename?: 'StringEqualsCondition';
7476
- eq: string;
7477
- } | null;
7478
- to?: {
7479
- __typename?: 'StringEqualsCondition';
7480
- eq: string;
7481
- } | null;
7482
- methodId?: {
7483
- __typename?: 'StringEqualsCondition';
7484
- eq: string;
7485
- } | null;
7486
- } | {
7487
- __typename?: 'DecodedLogWebhookCondition';
7488
- event?: any | null;
7489
- decodingId: {
7490
- __typename?: 'StringEqualsCondition';
7491
- eq: string;
7492
- };
7493
- eventName?: {
7494
- __typename?: 'StringEqualsCondition';
7495
- eq: string;
7496
- } | null;
7497
- address?: {
7498
- __typename?: 'StringEqualsCondition';
7499
- eq: string;
7500
- } | null;
7501
- } | {
7502
7363
  __typename?: 'NftEventWebhookCondition';
7503
7364
  networkId?: {
7504
7365
  __typename?: 'OneOfNumberCondition';
@@ -7558,24 +7419,6 @@ export type CreateWebhooksMutation = {
7558
7419
  lte?: string | null;
7559
7420
  eq?: string | null;
7560
7421
  };
7561
- } | {
7562
- __typename?: 'RawCallTraceWebhookCondition';
7563
- traceType: {
7564
- __typename?: 'RawCallTraceTypeCondtion';
7565
- eq: RawCallTraceType;
7566
- };
7567
- result?: {
7568
- __typename?: 'RawCallTraceWebhookConditionResult';
7569
- code?: {
7570
- __typename?: 'StringContainsCondition';
7571
- contains?: Array<string> | null;
7572
- notContains?: Array<string> | null;
7573
- } | null;
7574
- } | null;
7575
- networkId?: {
7576
- __typename?: 'OneOfNumberCondition';
7577
- oneOf: Array<number>;
7578
- } | null;
7579
7422
  } | {
7580
7423
  __typename?: 'RawTransactionWebhookCondition';
7581
7424
  ignoreTokenPairEvents?: boolean | null;
@@ -7644,7 +7487,7 @@ export type CreateWebhooksMutation = {
7644
7487
  maxRetries?: number | null;
7645
7488
  } | null;
7646
7489
  } | null>;
7647
- decodedLogWebhooks: Array<{
7490
+ tokenPairEventWebhooks: Array<{
7648
7491
  __typename?: 'Webhook';
7649
7492
  id: string;
7650
7493
  webhookType: WebhookType;
@@ -7657,49 +7500,6 @@ export type CreateWebhooksMutation = {
7657
7500
  bucketId?: string | null;
7658
7501
  bucketSortkey?: string | null;
7659
7502
  conditions: {
7660
- __typename?: 'DecodedCallWebhookCondition';
7661
- output?: any | null;
7662
- inputDecodedCallWebhookCondition?: any | null;
7663
- decodingId: {
7664
- __typename?: 'StringEqualsCondition';
7665
- eq: string;
7666
- };
7667
- methodName?: {
7668
- __typename?: 'StringEqualsCondition';
7669
- eq: string;
7670
- } | null;
7671
- address?: {
7672
- __typename?: 'StringEqualsCondition';
7673
- eq: string;
7674
- } | null;
7675
- from?: {
7676
- __typename?: 'StringEqualsCondition';
7677
- eq: string;
7678
- } | null;
7679
- to?: {
7680
- __typename?: 'StringEqualsCondition';
7681
- eq: string;
7682
- } | null;
7683
- methodId?: {
7684
- __typename?: 'StringEqualsCondition';
7685
- eq: string;
7686
- } | null;
7687
- } | {
7688
- __typename?: 'DecodedLogWebhookCondition';
7689
- event?: any | null;
7690
- decodingId: {
7691
- __typename?: 'StringEqualsCondition';
7692
- eq: string;
7693
- };
7694
- eventName?: {
7695
- __typename?: 'StringEqualsCondition';
7696
- eq: string;
7697
- } | null;
7698
- address?: {
7699
- __typename?: 'StringEqualsCondition';
7700
- eq: string;
7701
- } | null;
7702
- } | {
7703
7503
  __typename?: 'NftEventWebhookCondition';
7704
7504
  networkId?: {
7705
7505
  __typename?: 'OneOfNumberCondition';
@@ -7759,24 +7559,6 @@ export type CreateWebhooksMutation = {
7759
7559
  lte?: string | null;
7760
7560
  eq?: string | null;
7761
7561
  };
7762
- } | {
7763
- __typename?: 'RawCallTraceWebhookCondition';
7764
- traceType: {
7765
- __typename?: 'RawCallTraceTypeCondtion';
7766
- eq: RawCallTraceType;
7767
- };
7768
- result?: {
7769
- __typename?: 'RawCallTraceWebhookConditionResult';
7770
- code?: {
7771
- __typename?: 'StringContainsCondition';
7772
- contains?: Array<string> | null;
7773
- notContains?: Array<string> | null;
7774
- } | null;
7775
- } | null;
7776
- networkId?: {
7777
- __typename?: 'OneOfNumberCondition';
7778
- oneOf: Array<number>;
7779
- } | null;
7780
7562
  } | {
7781
7563
  __typename?: 'RawTransactionWebhookCondition';
7782
7564
  ignoreTokenPairEvents?: boolean | null;
@@ -7845,7 +7627,7 @@ export type CreateWebhooksMutation = {
7845
7627
  maxRetries?: number | null;
7846
7628
  } | null;
7847
7629
  } | null>;
7848
- decodedCallWebhooks: Array<{
7630
+ nftEventWebhooks: Array<{
7849
7631
  __typename?: 'Webhook';
7850
7632
  id: string;
7851
7633
  webhookType: WebhookType;
@@ -7857,50 +7639,14 @@ export type CreateWebhooksMutation = {
7857
7639
  groupId?: string | null;
7858
7640
  bucketId?: string | null;
7859
7641
  bucketSortkey?: string | null;
7642
+ retrySettings?: {
7643
+ __typename?: 'RetrySettings';
7644
+ maxTimeElapsed?: number | null;
7645
+ minRetryDelay?: number | null;
7646
+ maxRetryDelay?: number | null;
7647
+ maxRetries?: number | null;
7648
+ } | null;
7860
7649
  conditions: {
7861
- __typename?: 'DecodedCallWebhookCondition';
7862
- output?: any | null;
7863
- inputDecodedCallWebhookCondition?: any | null;
7864
- decodingId: {
7865
- __typename?: 'StringEqualsCondition';
7866
- eq: string;
7867
- };
7868
- methodName?: {
7869
- __typename?: 'StringEqualsCondition';
7870
- eq: string;
7871
- } | null;
7872
- address?: {
7873
- __typename?: 'StringEqualsCondition';
7874
- eq: string;
7875
- } | null;
7876
- from?: {
7877
- __typename?: 'StringEqualsCondition';
7878
- eq: string;
7879
- } | null;
7880
- to?: {
7881
- __typename?: 'StringEqualsCondition';
7882
- eq: string;
7883
- } | null;
7884
- methodId?: {
7885
- __typename?: 'StringEqualsCondition';
7886
- eq: string;
7887
- } | null;
7888
- } | {
7889
- __typename?: 'DecodedLogWebhookCondition';
7890
- event?: any | null;
7891
- decodingId: {
7892
- __typename?: 'StringEqualsCondition';
7893
- eq: string;
7894
- };
7895
- eventName?: {
7896
- __typename?: 'StringEqualsCondition';
7897
- eq: string;
7898
- } | null;
7899
- address?: {
7900
- __typename?: 'StringEqualsCondition';
7901
- eq: string;
7902
- } | null;
7903
- } | {
7904
7650
  __typename?: 'NftEventWebhookCondition';
7905
7651
  networkId?: {
7906
7652
  __typename?: 'OneOfNumberCondition';
@@ -7960,24 +7706,6 @@ export type CreateWebhooksMutation = {
7960
7706
  lte?: string | null;
7961
7707
  eq?: string | null;
7962
7708
  };
7963
- } | {
7964
- __typename?: 'RawCallTraceWebhookCondition';
7965
- traceType: {
7966
- __typename?: 'RawCallTraceTypeCondtion';
7967
- eq: RawCallTraceType;
7968
- };
7969
- result?: {
7970
- __typename?: 'RawCallTraceWebhookConditionResult';
7971
- code?: {
7972
- __typename?: 'StringContainsCondition';
7973
- contains?: Array<string> | null;
7974
- notContains?: Array<string> | null;
7975
- } | null;
7976
- } | null;
7977
- networkId?: {
7978
- __typename?: 'OneOfNumberCondition';
7979
- oneOf: Array<number>;
7980
- } | null;
7981
7709
  } | {
7982
7710
  __typename?: 'RawTransactionWebhookCondition';
7983
7711
  ignoreTokenPairEvents?: boolean | null;
@@ -8038,15 +7766,8 @@ export type CreateWebhooksMutation = {
8038
7766
  oneOf: Array<TokenPairEventType>;
8039
7767
  } | null;
8040
7768
  };
8041
- retrySettings?: {
8042
- __typename?: 'RetrySettings';
8043
- maxTimeElapsed?: number | null;
8044
- minRetryDelay?: number | null;
8045
- maxRetryDelay?: number | null;
8046
- maxRetries?: number | null;
8047
- } | null;
8048
7769
  } | null>;
8049
- rawCallTraceWebhooks: Array<{
7770
+ rawTransactionWebhooks: Array<{
8050
7771
  __typename?: 'Webhook';
8051
7772
  id: string;
8052
7773
  webhookType: WebhookType;
@@ -8059,49 +7780,6 @@ export type CreateWebhooksMutation = {
8059
7780
  bucketId?: string | null;
8060
7781
  bucketSortkey?: string | null;
8061
7782
  conditions: {
8062
- __typename?: 'DecodedCallWebhookCondition';
8063
- output?: any | null;
8064
- inputDecodedCallWebhookCondition?: any | null;
8065
- decodingId: {
8066
- __typename?: 'StringEqualsCondition';
8067
- eq: string;
8068
- };
8069
- methodName?: {
8070
- __typename?: 'StringEqualsCondition';
8071
- eq: string;
8072
- } | null;
8073
- address?: {
8074
- __typename?: 'StringEqualsCondition';
8075
- eq: string;
8076
- } | null;
8077
- from?: {
8078
- __typename?: 'StringEqualsCondition';
8079
- eq: string;
8080
- } | null;
8081
- to?: {
8082
- __typename?: 'StringEqualsCondition';
8083
- eq: string;
8084
- } | null;
8085
- methodId?: {
8086
- __typename?: 'StringEqualsCondition';
8087
- eq: string;
8088
- } | null;
8089
- } | {
8090
- __typename?: 'DecodedLogWebhookCondition';
8091
- event?: any | null;
8092
- decodingId: {
8093
- __typename?: 'StringEqualsCondition';
8094
- eq: string;
8095
- };
8096
- eventName?: {
8097
- __typename?: 'StringEqualsCondition';
8098
- eq: string;
8099
- } | null;
8100
- address?: {
8101
- __typename?: 'StringEqualsCondition';
8102
- eq: string;
8103
- } | null;
8104
- } | {
8105
7783
  __typename?: 'NftEventWebhookCondition';
8106
7784
  networkId?: {
8107
7785
  __typename?: 'OneOfNumberCondition';
@@ -8161,627 +7839,6 @@ export type CreateWebhooksMutation = {
8161
7839
  lte?: string | null;
8162
7840
  eq?: string | null;
8163
7841
  };
8164
- } | {
8165
- __typename?: 'RawCallTraceWebhookCondition';
8166
- traceType: {
8167
- __typename?: 'RawCallTraceTypeCondtion';
8168
- eq: RawCallTraceType;
8169
- };
8170
- result?: {
8171
- __typename?: 'RawCallTraceWebhookConditionResult';
8172
- code?: {
8173
- __typename?: 'StringContainsCondition';
8174
- contains?: Array<string> | null;
8175
- notContains?: Array<string> | null;
8176
- } | null;
8177
- } | null;
8178
- networkId?: {
8179
- __typename?: 'OneOfNumberCondition';
8180
- oneOf: Array<number>;
8181
- } | null;
8182
- } | {
8183
- __typename?: 'RawTransactionWebhookCondition';
8184
- ignoreTokenPairEvents?: boolean | null;
8185
- ignoreNftEvents?: boolean | null;
8186
- networkId?: {
8187
- __typename?: 'OneOfNumberCondition';
8188
- oneOf: Array<number>;
8189
- } | null;
8190
- to?: {
8191
- __typename?: 'StringEqualsCondition';
8192
- eq: string;
8193
- } | null;
8194
- from?: {
8195
- __typename?: 'StringEqualsCondition';
8196
- eq: string;
8197
- } | null;
8198
- toOrFrom?: {
8199
- __typename?: 'StringEqualsCondition';
8200
- eq: string;
8201
- } | null;
8202
- input?: {
8203
- __typename?: 'StringContainsCondition';
8204
- contains?: Array<string> | null;
8205
- notContains?: Array<string> | null;
8206
- } | null;
8207
- } | {
8208
- __typename?: 'TokenPairEventWebhookCondition';
8209
- tokenAddress?: {
8210
- __typename?: 'StringEqualsCondition';
8211
- eq: string;
8212
- } | null;
8213
- networkId?: {
8214
- __typename?: 'OneOfNumberCondition';
8215
- oneOf: Array<number>;
8216
- } | null;
8217
- swapValue?: {
8218
- __typename?: 'ComparisonOperator';
8219
- gt?: string | null;
8220
- gte?: string | null;
8221
- lt?: string | null;
8222
- lte?: string | null;
8223
- eq?: string | null;
8224
- } | null;
8225
- maker?: {
8226
- __typename?: 'StringEqualsCondition';
8227
- eq: string;
8228
- } | null;
8229
- pairAddress?: {
8230
- __typename?: 'StringEqualsCondition';
8231
- eq: string;
8232
- } | null;
8233
- exchangeAddress?: {
8234
- __typename?: 'StringEqualsCondition';
8235
- eq: string;
8236
- } | null;
8237
- eventType?: {
8238
- __typename?: 'TokenPairEventTypeCondition';
8239
- oneOf: Array<TokenPairEventType>;
8240
- } | null;
8241
- };
8242
- retrySettings?: {
8243
- __typename?: 'RetrySettings';
8244
- maxTimeElapsed?: number | null;
8245
- minRetryDelay?: number | null;
8246
- maxRetryDelay?: number | null;
8247
- maxRetries?: number | null;
8248
- } | null;
8249
- } | null>;
8250
- tokenPairEventWebhooks: Array<{
8251
- __typename?: 'Webhook';
8252
- id: string;
8253
- webhookType: WebhookType;
8254
- name: string;
8255
- created: number;
8256
- alertRecurrence: AlertRecurrence;
8257
- callbackUrl: string;
8258
- status: string;
8259
- groupId?: string | null;
8260
- bucketId?: string | null;
8261
- bucketSortkey?: string | null;
8262
- conditions: {
8263
- __typename?: 'DecodedCallWebhookCondition';
8264
- output?: any | null;
8265
- inputDecodedCallWebhookCondition?: any | null;
8266
- decodingId: {
8267
- __typename?: 'StringEqualsCondition';
8268
- eq: string;
8269
- };
8270
- methodName?: {
8271
- __typename?: 'StringEqualsCondition';
8272
- eq: string;
8273
- } | null;
8274
- address?: {
8275
- __typename?: 'StringEqualsCondition';
8276
- eq: string;
8277
- } | null;
8278
- from?: {
8279
- __typename?: 'StringEqualsCondition';
8280
- eq: string;
8281
- } | null;
8282
- to?: {
8283
- __typename?: 'StringEqualsCondition';
8284
- eq: string;
8285
- } | null;
8286
- methodId?: {
8287
- __typename?: 'StringEqualsCondition';
8288
- eq: string;
8289
- } | null;
8290
- } | {
8291
- __typename?: 'DecodedLogWebhookCondition';
8292
- event?: any | null;
8293
- decodingId: {
8294
- __typename?: 'StringEqualsCondition';
8295
- eq: string;
8296
- };
8297
- eventName?: {
8298
- __typename?: 'StringEqualsCondition';
8299
- eq: string;
8300
- } | null;
8301
- address?: {
8302
- __typename?: 'StringEqualsCondition';
8303
- eq: string;
8304
- } | null;
8305
- } | {
8306
- __typename?: 'NftEventWebhookCondition';
8307
- networkId?: {
8308
- __typename?: 'OneOfNumberCondition';
8309
- oneOf: Array<number>;
8310
- } | null;
8311
- maker?: {
8312
- __typename?: 'StringEqualsCondition';
8313
- eq: string;
8314
- } | null;
8315
- contractAddress?: {
8316
- __typename?: 'StringEqualsCondition';
8317
- eq: string;
8318
- } | null;
8319
- exchangeAddress?: {
8320
- __typename?: 'StringEqualsCondition';
8321
- eq: string;
8322
- } | null;
8323
- tokenId?: {
8324
- __typename?: 'StringEqualsCondition';
8325
- eq: string;
8326
- } | null;
8327
- tokenAddress?: {
8328
- __typename?: 'StringEqualsCondition';
8329
- eq: string;
8330
- } | null;
8331
- individualBaseTokenPrice?: {
8332
- __typename?: 'ComparisonOperator';
8333
- gt?: string | null;
8334
- gte?: string | null;
8335
- lt?: string | null;
8336
- lte?: string | null;
8337
- eq?: string | null;
8338
- } | null;
8339
- eventType?: {
8340
- __typename?: 'NftEventTypeCondition';
8341
- eq: WebhookNftEventType;
8342
- } | null;
8343
- fillSource?: {
8344
- __typename?: 'NftEventFillSourceCondition';
8345
- oneOf: Array<WebhookNftEventFillSource>;
8346
- } | null;
8347
- } | {
8348
- __typename?: 'PriceEventWebhookCondition';
8349
- tokenAddressPriceEventWebhookCondition: {
8350
- __typename?: 'StringEqualsCondition';
8351
- eq: string;
8352
- };
8353
- networkIdPriceEventWebhookCondition: {
8354
- __typename?: 'IntEqualsCondition';
8355
- eq: number;
8356
- };
8357
- priceUsd: {
8358
- __typename?: 'ComparisonOperator';
8359
- gt?: string | null;
8360
- gte?: string | null;
8361
- lt?: string | null;
8362
- lte?: string | null;
8363
- eq?: string | null;
8364
- };
8365
- } | {
8366
- __typename?: 'RawCallTraceWebhookCondition';
8367
- traceType: {
8368
- __typename?: 'RawCallTraceTypeCondtion';
8369
- eq: RawCallTraceType;
8370
- };
8371
- result?: {
8372
- __typename?: 'RawCallTraceWebhookConditionResult';
8373
- code?: {
8374
- __typename?: 'StringContainsCondition';
8375
- contains?: Array<string> | null;
8376
- notContains?: Array<string> | null;
8377
- } | null;
8378
- } | null;
8379
- networkId?: {
8380
- __typename?: 'OneOfNumberCondition';
8381
- oneOf: Array<number>;
8382
- } | null;
8383
- } | {
8384
- __typename?: 'RawTransactionWebhookCondition';
8385
- ignoreTokenPairEvents?: boolean | null;
8386
- ignoreNftEvents?: boolean | null;
8387
- networkId?: {
8388
- __typename?: 'OneOfNumberCondition';
8389
- oneOf: Array<number>;
8390
- } | null;
8391
- to?: {
8392
- __typename?: 'StringEqualsCondition';
8393
- eq: string;
8394
- } | null;
8395
- from?: {
8396
- __typename?: 'StringEqualsCondition';
8397
- eq: string;
8398
- } | null;
8399
- toOrFrom?: {
8400
- __typename?: 'StringEqualsCondition';
8401
- eq: string;
8402
- } | null;
8403
- input?: {
8404
- __typename?: 'StringContainsCondition';
8405
- contains?: Array<string> | null;
8406
- notContains?: Array<string> | null;
8407
- } | null;
8408
- } | {
8409
- __typename?: 'TokenPairEventWebhookCondition';
8410
- tokenAddress?: {
8411
- __typename?: 'StringEqualsCondition';
8412
- eq: string;
8413
- } | null;
8414
- networkId?: {
8415
- __typename?: 'OneOfNumberCondition';
8416
- oneOf: Array<number>;
8417
- } | null;
8418
- swapValue?: {
8419
- __typename?: 'ComparisonOperator';
8420
- gt?: string | null;
8421
- gte?: string | null;
8422
- lt?: string | null;
8423
- lte?: string | null;
8424
- eq?: string | null;
8425
- } | null;
8426
- maker?: {
8427
- __typename?: 'StringEqualsCondition';
8428
- eq: string;
8429
- } | null;
8430
- pairAddress?: {
8431
- __typename?: 'StringEqualsCondition';
8432
- eq: string;
8433
- } | null;
8434
- exchangeAddress?: {
8435
- __typename?: 'StringEqualsCondition';
8436
- eq: string;
8437
- } | null;
8438
- eventType?: {
8439
- __typename?: 'TokenPairEventTypeCondition';
8440
- oneOf: Array<TokenPairEventType>;
8441
- } | null;
8442
- };
8443
- retrySettings?: {
8444
- __typename?: 'RetrySettings';
8445
- maxTimeElapsed?: number | null;
8446
- minRetryDelay?: number | null;
8447
- maxRetryDelay?: number | null;
8448
- maxRetries?: number | null;
8449
- } | null;
8450
- } | null>;
8451
- nftEventWebhooks: Array<{
8452
- __typename?: 'Webhook';
8453
- id: string;
8454
- webhookType: WebhookType;
8455
- name: string;
8456
- created: number;
8457
- alertRecurrence: AlertRecurrence;
8458
- callbackUrl: string;
8459
- status: string;
8460
- groupId?: string | null;
8461
- bucketId?: string | null;
8462
- bucketSortkey?: string | null;
8463
- retrySettings?: {
8464
- __typename?: 'RetrySettings';
8465
- maxTimeElapsed?: number | null;
8466
- minRetryDelay?: number | null;
8467
- maxRetryDelay?: number | null;
8468
- maxRetries?: number | null;
8469
- } | null;
8470
- conditions: {
8471
- __typename?: 'DecodedCallWebhookCondition';
8472
- output?: any | null;
8473
- inputDecodedCallWebhookCondition?: any | null;
8474
- decodingId: {
8475
- __typename?: 'StringEqualsCondition';
8476
- eq: string;
8477
- };
8478
- methodName?: {
8479
- __typename?: 'StringEqualsCondition';
8480
- eq: string;
8481
- } | null;
8482
- address?: {
8483
- __typename?: 'StringEqualsCondition';
8484
- eq: string;
8485
- } | null;
8486
- from?: {
8487
- __typename?: 'StringEqualsCondition';
8488
- eq: string;
8489
- } | null;
8490
- to?: {
8491
- __typename?: 'StringEqualsCondition';
8492
- eq: string;
8493
- } | null;
8494
- methodId?: {
8495
- __typename?: 'StringEqualsCondition';
8496
- eq: string;
8497
- } | null;
8498
- } | {
8499
- __typename?: 'DecodedLogWebhookCondition';
8500
- event?: any | null;
8501
- decodingId: {
8502
- __typename?: 'StringEqualsCondition';
8503
- eq: string;
8504
- };
8505
- eventName?: {
8506
- __typename?: 'StringEqualsCondition';
8507
- eq: string;
8508
- } | null;
8509
- address?: {
8510
- __typename?: 'StringEqualsCondition';
8511
- eq: string;
8512
- } | null;
8513
- } | {
8514
- __typename?: 'NftEventWebhookCondition';
8515
- networkId?: {
8516
- __typename?: 'OneOfNumberCondition';
8517
- oneOf: Array<number>;
8518
- } | null;
8519
- maker?: {
8520
- __typename?: 'StringEqualsCondition';
8521
- eq: string;
8522
- } | null;
8523
- contractAddress?: {
8524
- __typename?: 'StringEqualsCondition';
8525
- eq: string;
8526
- } | null;
8527
- exchangeAddress?: {
8528
- __typename?: 'StringEqualsCondition';
8529
- eq: string;
8530
- } | null;
8531
- tokenId?: {
8532
- __typename?: 'StringEqualsCondition';
8533
- eq: string;
8534
- } | null;
8535
- tokenAddress?: {
8536
- __typename?: 'StringEqualsCondition';
8537
- eq: string;
8538
- } | null;
8539
- individualBaseTokenPrice?: {
8540
- __typename?: 'ComparisonOperator';
8541
- gt?: string | null;
8542
- gte?: string | null;
8543
- lt?: string | null;
8544
- lte?: string | null;
8545
- eq?: string | null;
8546
- } | null;
8547
- eventType?: {
8548
- __typename?: 'NftEventTypeCondition';
8549
- eq: WebhookNftEventType;
8550
- } | null;
8551
- fillSource?: {
8552
- __typename?: 'NftEventFillSourceCondition';
8553
- oneOf: Array<WebhookNftEventFillSource>;
8554
- } | null;
8555
- } | {
8556
- __typename?: 'PriceEventWebhookCondition';
8557
- tokenAddressPriceEventWebhookCondition: {
8558
- __typename?: 'StringEqualsCondition';
8559
- eq: string;
8560
- };
8561
- networkIdPriceEventWebhookCondition: {
8562
- __typename?: 'IntEqualsCondition';
8563
- eq: number;
8564
- };
8565
- priceUsd: {
8566
- __typename?: 'ComparisonOperator';
8567
- gt?: string | null;
8568
- gte?: string | null;
8569
- lt?: string | null;
8570
- lte?: string | null;
8571
- eq?: string | null;
8572
- };
8573
- } | {
8574
- __typename?: 'RawCallTraceWebhookCondition';
8575
- traceType: {
8576
- __typename?: 'RawCallTraceTypeCondtion';
8577
- eq: RawCallTraceType;
8578
- };
8579
- result?: {
8580
- __typename?: 'RawCallTraceWebhookConditionResult';
8581
- code?: {
8582
- __typename?: 'StringContainsCondition';
8583
- contains?: Array<string> | null;
8584
- notContains?: Array<string> | null;
8585
- } | null;
8586
- } | null;
8587
- networkId?: {
8588
- __typename?: 'OneOfNumberCondition';
8589
- oneOf: Array<number>;
8590
- } | null;
8591
- } | {
8592
- __typename?: 'RawTransactionWebhookCondition';
8593
- ignoreTokenPairEvents?: boolean | null;
8594
- ignoreNftEvents?: boolean | null;
8595
- networkId?: {
8596
- __typename?: 'OneOfNumberCondition';
8597
- oneOf: Array<number>;
8598
- } | null;
8599
- to?: {
8600
- __typename?: 'StringEqualsCondition';
8601
- eq: string;
8602
- } | null;
8603
- from?: {
8604
- __typename?: 'StringEqualsCondition';
8605
- eq: string;
8606
- } | null;
8607
- toOrFrom?: {
8608
- __typename?: 'StringEqualsCondition';
8609
- eq: string;
8610
- } | null;
8611
- input?: {
8612
- __typename?: 'StringContainsCondition';
8613
- contains?: Array<string> | null;
8614
- notContains?: Array<string> | null;
8615
- } | null;
8616
- } | {
8617
- __typename?: 'TokenPairEventWebhookCondition';
8618
- tokenAddress?: {
8619
- __typename?: 'StringEqualsCondition';
8620
- eq: string;
8621
- } | null;
8622
- networkId?: {
8623
- __typename?: 'OneOfNumberCondition';
8624
- oneOf: Array<number>;
8625
- } | null;
8626
- swapValue?: {
8627
- __typename?: 'ComparisonOperator';
8628
- gt?: string | null;
8629
- gte?: string | null;
8630
- lt?: string | null;
8631
- lte?: string | null;
8632
- eq?: string | null;
8633
- } | null;
8634
- maker?: {
8635
- __typename?: 'StringEqualsCondition';
8636
- eq: string;
8637
- } | null;
8638
- pairAddress?: {
8639
- __typename?: 'StringEqualsCondition';
8640
- eq: string;
8641
- } | null;
8642
- exchangeAddress?: {
8643
- __typename?: 'StringEqualsCondition';
8644
- eq: string;
8645
- } | null;
8646
- eventType?: {
8647
- __typename?: 'TokenPairEventTypeCondition';
8648
- oneOf: Array<TokenPairEventType>;
8649
- } | null;
8650
- };
8651
- } | null>;
8652
- rawTransactionWebhooks: Array<{
8653
- __typename?: 'Webhook';
8654
- id: string;
8655
- webhookType: WebhookType;
8656
- name: string;
8657
- created: number;
8658
- alertRecurrence: AlertRecurrence;
8659
- callbackUrl: string;
8660
- status: string;
8661
- groupId?: string | null;
8662
- bucketId?: string | null;
8663
- bucketSortkey?: string | null;
8664
- conditions: {
8665
- __typename?: 'DecodedCallWebhookCondition';
8666
- output?: any | null;
8667
- inputDecodedCallWebhookCondition?: any | null;
8668
- decodingId: {
8669
- __typename?: 'StringEqualsCondition';
8670
- eq: string;
8671
- };
8672
- methodName?: {
8673
- __typename?: 'StringEqualsCondition';
8674
- eq: string;
8675
- } | null;
8676
- address?: {
8677
- __typename?: 'StringEqualsCondition';
8678
- eq: string;
8679
- } | null;
8680
- from?: {
8681
- __typename?: 'StringEqualsCondition';
8682
- eq: string;
8683
- } | null;
8684
- to?: {
8685
- __typename?: 'StringEqualsCondition';
8686
- eq: string;
8687
- } | null;
8688
- methodId?: {
8689
- __typename?: 'StringEqualsCondition';
8690
- eq: string;
8691
- } | null;
8692
- } | {
8693
- __typename?: 'DecodedLogWebhookCondition';
8694
- event?: any | null;
8695
- decodingId: {
8696
- __typename?: 'StringEqualsCondition';
8697
- eq: string;
8698
- };
8699
- eventName?: {
8700
- __typename?: 'StringEqualsCondition';
8701
- eq: string;
8702
- } | null;
8703
- address?: {
8704
- __typename?: 'StringEqualsCondition';
8705
- eq: string;
8706
- } | null;
8707
- } | {
8708
- __typename?: 'NftEventWebhookCondition';
8709
- networkId?: {
8710
- __typename?: 'OneOfNumberCondition';
8711
- oneOf: Array<number>;
8712
- } | null;
8713
- maker?: {
8714
- __typename?: 'StringEqualsCondition';
8715
- eq: string;
8716
- } | null;
8717
- contractAddress?: {
8718
- __typename?: 'StringEqualsCondition';
8719
- eq: string;
8720
- } | null;
8721
- exchangeAddress?: {
8722
- __typename?: 'StringEqualsCondition';
8723
- eq: string;
8724
- } | null;
8725
- tokenId?: {
8726
- __typename?: 'StringEqualsCondition';
8727
- eq: string;
8728
- } | null;
8729
- tokenAddress?: {
8730
- __typename?: 'StringEqualsCondition';
8731
- eq: string;
8732
- } | null;
8733
- individualBaseTokenPrice?: {
8734
- __typename?: 'ComparisonOperator';
8735
- gt?: string | null;
8736
- gte?: string | null;
8737
- lt?: string | null;
8738
- lte?: string | null;
8739
- eq?: string | null;
8740
- } | null;
8741
- eventType?: {
8742
- __typename?: 'NftEventTypeCondition';
8743
- eq: WebhookNftEventType;
8744
- } | null;
8745
- fillSource?: {
8746
- __typename?: 'NftEventFillSourceCondition';
8747
- oneOf: Array<WebhookNftEventFillSource>;
8748
- } | null;
8749
- } | {
8750
- __typename?: 'PriceEventWebhookCondition';
8751
- tokenAddressPriceEventWebhookCondition: {
8752
- __typename?: 'StringEqualsCondition';
8753
- eq: string;
8754
- };
8755
- networkIdPriceEventWebhookCondition: {
8756
- __typename?: 'IntEqualsCondition';
8757
- eq: number;
8758
- };
8759
- priceUsd: {
8760
- __typename?: 'ComparisonOperator';
8761
- gt?: string | null;
8762
- gte?: string | null;
8763
- lt?: string | null;
8764
- lte?: string | null;
8765
- eq?: string | null;
8766
- };
8767
- } | {
8768
- __typename?: 'RawCallTraceWebhookCondition';
8769
- traceType: {
8770
- __typename?: 'RawCallTraceTypeCondtion';
8771
- eq: RawCallTraceType;
8772
- };
8773
- result?: {
8774
- __typename?: 'RawCallTraceWebhookConditionResult';
8775
- code?: {
8776
- __typename?: 'StringContainsCondition';
8777
- contains?: Array<string> | null;
8778
- notContains?: Array<string> | null;
8779
- } | null;
8780
- } | null;
8781
- networkId?: {
8782
- __typename?: 'OneOfNumberCondition';
8783
- oneOf: Array<number>;
8784
- } | null;
8785
7842
  } | {
8786
7843
  __typename?: 'RawTransactionWebhookCondition';
8787
7844
  ignoreTokenPairEvents?: boolean | null;
@@ -8898,6 +7955,7 @@ export type FilterPairsQueryVariables = Exact<{
8898
7955
  limit?: InputMaybe<Scalars['Int']['input']>;
8899
7956
  offset?: InputMaybe<Scalars['Int']['input']>;
8900
7957
  matchTokens?: InputMaybe<PairFilterMatchTokens>;
7958
+ statsType?: InputMaybe<TokenPairStatisticsType>;
8901
7959
  }>;
8902
7960
  export type FilterPairsQuery = {
8903
7961
  __typename?: 'Query';
@@ -9024,6 +8082,7 @@ export type FilterTokensQueryVariables = Exact<{
9024
8082
  rankings?: InputMaybe<Array<InputMaybe<TokenRanking>> | InputMaybe<TokenRanking>>;
9025
8083
  limit?: InputMaybe<Scalars['Int']['input']>;
9026
8084
  offset?: InputMaybe<Scalars['Int']['input']>;
8085
+ statsType?: InputMaybe<TokenPairStatisticsType>;
9027
8086
  }>;
9028
8087
  export type FilterTokensQuery = {
9029
8088
  __typename?: 'Query';
@@ -10331,6 +9390,42 @@ export type PairEventsQuery = {
10331
9390
  transactionHash: string;
10332
9391
  transactionIndex: number;
10333
9392
  logIndex: number;
9393
+ data?: {
9394
+ __typename: 'BurnEventData';
9395
+ amount0?: string | null;
9396
+ amount1?: string | null;
9397
+ amount0Shifted?: string | null;
9398
+ amount1Shifted?: string | null;
9399
+ type: EventType;
9400
+ } | {
9401
+ __typename: 'MintEventData';
9402
+ amount0?: string | null;
9403
+ amount1?: string | null;
9404
+ amount0Shifted?: string | null;
9405
+ amount1Shifted?: string | null;
9406
+ type: EventType;
9407
+ } | {
9408
+ __typename: 'PoolBalanceChangedEventData';
9409
+ amount0?: string | null;
9410
+ amount1?: string | null;
9411
+ amount0Shifted?: string | null;
9412
+ amount1Shifted?: string | null;
9413
+ type: EventType;
9414
+ } | {
9415
+ __typename: 'SwapEventData';
9416
+ amount0In?: string | null;
9417
+ amount0Out?: string | null;
9418
+ amount1In?: string | null;
9419
+ amount1Out?: string | null;
9420
+ amount0?: string | null;
9421
+ amount1?: string | null;
9422
+ amountNonLiquidityToken?: string | null;
9423
+ priceUsd?: string | null;
9424
+ priceUsdTotal?: string | null;
9425
+ priceBaseToken?: string | null;
9426
+ priceBaseTokenTotal?: string | null;
9427
+ type: EventType;
9428
+ } | null;
10334
9429
  } | null> | null;
10335
9430
  } | null;
10336
9431
  };
@@ -10417,49 +9512,6 @@ export type GetWebhooksQuery = {
10417
9512
  bucketSortkey?: string | null;
10418
9513
  callbackUrl: string;
10419
9514
  conditions: {
10420
- __typename?: 'DecodedCallWebhookCondition';
10421
- output?: any | null;
10422
- inputJSON?: any | null;
10423
- decodingId: {
10424
- __typename?: 'StringEqualsCondition';
10425
- eq: string;
10426
- };
10427
- methodName?: {
10428
- __typename?: 'StringEqualsCondition';
10429
- eq: string;
10430
- } | null;
10431
- address?: {
10432
- __typename?: 'StringEqualsCondition';
10433
- eq: string;
10434
- } | null;
10435
- from?: {
10436
- __typename?: 'StringEqualsCondition';
10437
- eq: string;
10438
- } | null;
10439
- to?: {
10440
- __typename?: 'StringEqualsCondition';
10441
- eq: string;
10442
- } | null;
10443
- methodId?: {
10444
- __typename?: 'StringEqualsCondition';
10445
- eq: string;
10446
- } | null;
10447
- } | {
10448
- __typename?: 'DecodedLogWebhookCondition';
10449
- event?: any | null;
10450
- decodingId: {
10451
- __typename?: 'StringEqualsCondition';
10452
- eq: string;
10453
- };
10454
- eventName?: {
10455
- __typename?: 'StringEqualsCondition';
10456
- eq: string;
10457
- } | null;
10458
- address?: {
10459
- __typename?: 'StringEqualsCondition';
10460
- eq: string;
10461
- } | null;
10462
- } | {
10463
9515
  __typename?: 'NftEventWebhookCondition';
10464
9516
  networkId?: {
10465
9517
  __typename?: 'OneOfNumberCondition';
@@ -10519,24 +9571,6 @@ export type GetWebhooksQuery = {
10519
9571
  lte?: string | null;
10520
9572
  eq?: string | null;
10521
9573
  };
10522
- } | {
10523
- __typename?: 'RawCallTraceWebhookCondition';
10524
- traceType: {
10525
- __typename?: 'RawCallTraceTypeCondtion';
10526
- eq: RawCallTraceType;
10527
- };
10528
- result?: {
10529
- __typename?: 'RawCallTraceWebhookConditionResult';
10530
- code?: {
10531
- __typename?: 'StringContainsCondition';
10532
- contains?: Array<string> | null;
10533
- notContains?: Array<string> | null;
10534
- } | null;
10535
- } | null;
10536
- networkId?: {
10537
- __typename?: 'OneOfNumberCondition';
10538
- oneOf: Array<number>;
10539
- } | null;
10540
9574
  } | {
10541
9575
  __typename?: 'RawTransactionWebhookCondition';
10542
9576
  ignoreTokenPairEvents?: boolean | null;
@@ -11666,6 +10700,7 @@ export declare const FilterPairsDocument: DocumentNode<FilterPairsQuery, Exact<{
11666
10700
  limit?: InputMaybe<number> | undefined;
11667
10701
  offset?: InputMaybe<number> | undefined;
11668
10702
  matchTokens?: InputMaybe<PairFilterMatchTokens> | undefined;
10703
+ statsType?: InputMaybe<TokenPairStatisticsType> | undefined;
11669
10704
  }>>;
11670
10705
  export declare const FilterTokensDocument: DocumentNode<FilterTokensQuery, Exact<{
11671
10706
  filters?: InputMaybe<TokenFilters> | undefined;
@@ -11674,6 +10709,7 @@ export declare const FilterTokensDocument: DocumentNode<FilterTokensQuery, Exact
11674
10709
  rankings?: InputMaybe<InputMaybe<TokenRanking> | InputMaybe<TokenRanking>[]> | undefined;
11675
10710
  limit?: InputMaybe<number> | undefined;
11676
10711
  offset?: InputMaybe<number> | undefined;
10712
+ statsType?: InputMaybe<TokenPairStatisticsType> | undefined;
11677
10713
  }>>;
11678
10714
  export declare const GetBarsDocument: DocumentNode<GetBarsQuery, Exact<{
11679
10715
  symbol: Scalars['String']['input'];