@codex-data/sdk 1.0.0-rc2 → 1.0.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.
- package/dist/resources/generated_mutations/CreateWebhooks.graphql +392 -0
- package/dist/resources/generated_queries/FilterPairs.graphql +4 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +4 -0
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +100 -0
- package/dist/resources/generated_queries/GetEventLabels.graphql +11 -0
- package/dist/resources/generated_queries/GetNftEvents.graphql +46 -0
- package/dist/resources/generated_queries/GetNftPoolEvents.graphql +375 -0
- package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +118 -0
- package/dist/resources/generated_queries/GetTokenEvents.graphql +49 -0
- package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +49 -0
- package/dist/resources/generated_queries/GetTokenPrices.graphql +1 -0
- package/dist/resources/generated_queries/GetWebhooks.graphql +98 -0
- package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +12 -0
- package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +42 -0
- package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +49 -0
- package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +46 -0
- package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +375 -0
- package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +1 -0
- package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +1 -0
- package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +551 -0
- package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +49 -0
- package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +12 -0
- package/dist/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +70 -0
- package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +17 -0
- package/dist/resources/graphql.d.ts +161 -12
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +8 -0
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +1012 -118
- package/dist/resources/graphql.ts +169 -13
- package/dist/resources/mutations_override/CreateWebhooks.graphql +472 -0
- package/dist/resources/queries_override/GetEventLabels.graphql +35 -0
- package/dist/resources/queries_override/GetWebhooks.graphql +134 -0
- package/dist/resources/schema.graphql +230 -14
- package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +22 -0
- package/dist/scripts/generateGraphql.d.ts +1 -0
- package/dist/scripts/generateGraphql.d.ts.map +1 -1
- package/dist/scripts/generateGraphql.js +48 -12
- package/dist/scripts/generateGraphql.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +3 -1
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +44 -12
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +62 -46
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +25 -23
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +2917 -68
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +34 -24
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -0
- package/dist/sdk/index.js.map +1 -1
- package/package.json +2 -2
- package/src/resources/generated_mutations/CreateWebhooks.graphql +392 -0
- package/src/resources/generated_queries/FilterPairs.graphql +4 -0
- package/src/resources/generated_queries/FilterTokens.graphql +4 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +100 -0
- package/src/resources/generated_queries/GetEventLabels.graphql +11 -0
- package/src/resources/generated_queries/GetNftEvents.graphql +46 -0
- package/src/resources/generated_queries/GetNftPoolEvents.graphql +375 -0
- package/src/resources/generated_queries/GetPrimePoolEvents.graphql +118 -0
- package/src/resources/generated_queries/GetTokenEvents.graphql +49 -0
- package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +49 -0
- package/src/resources/generated_queries/GetTokenPrices.graphql +1 -0
- package/src/resources/generated_queries/GetWebhooks.graphql +98 -0
- package/src/resources/generated_queries/TokenLifecycleEvents.graphql +12 -0
- package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +42 -0
- package/src/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +49 -0
- package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +46 -0
- package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +375 -0
- package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +1 -0
- package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +1 -0
- package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +551 -0
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +49 -0
- package/src/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +12 -0
- package/src/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +70 -0
- package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +17 -0
- package/src/resources/graphql.schema.json +1012 -118
- package/src/resources/graphql.ts +169 -13
- package/src/resources/mutations_override/CreateWebhooks.graphql +472 -0
- package/src/resources/queries_override/GetEventLabels.graphql +35 -0
- package/src/resources/queries_override/GetWebhooks.graphql +134 -0
- package/src/resources/schema.graphql +230 -14
- package/src/resources/subscriptions_override/OnEventLabelCreated.graphql +22 -0
- package/src/scripts/generateGraphql.ts +87 -17
- package/src/sdk/Subscribe.ts +60 -12
- package/src/sdk/generated/gql.ts +56 -46
- package/src/sdk/generated/graphql.ts +233 -59
- package/src/sdk/index.ts +1 -0
|
@@ -376,7 +376,7 @@ export declare enum CostBasisMethod {
|
|
|
376
376
|
export type CreateApiTokensInput = {
|
|
377
377
|
/** Number of tokens to create, default is 1 */
|
|
378
378
|
count?: InputMaybe<Scalars['Int']['input']>;
|
|
379
|
-
/** Number of
|
|
379
|
+
/** Number of seconds until the token expires, defaults to 1 hour (3600) */
|
|
380
380
|
expiresIn?: InputMaybe<Scalars['Int']['input']>;
|
|
381
381
|
/** Number of requests allowed per token, represented as a string, default is 5000 */
|
|
382
382
|
requestLimit?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -387,6 +387,7 @@ export type CreateNftEventWebhookArgs = {
|
|
|
387
387
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
388
388
|
callbackUrl: Scalars['String']['input'];
|
|
389
389
|
conditions: NftEventWebhookConditionInput;
|
|
390
|
+
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
390
391
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
391
392
|
name: Scalars['String']['input'];
|
|
392
393
|
publishingType?: InputMaybe<PublishingType>;
|
|
@@ -402,6 +403,7 @@ export type CreatePriceWebhookArgs = {
|
|
|
402
403
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
403
404
|
callbackUrl: Scalars['String']['input'];
|
|
404
405
|
conditions: PriceEventWebhookConditionInput;
|
|
406
|
+
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
405
407
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
406
408
|
name: Scalars['String']['input'];
|
|
407
409
|
publishingType?: InputMaybe<PublishingType>;
|
|
@@ -417,6 +419,7 @@ export type CreateRawTransactionWebhookArgs = {
|
|
|
417
419
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
418
420
|
callbackUrl: Scalars['String']['input'];
|
|
419
421
|
conditions: RawTransactionWebhookConditionInput;
|
|
422
|
+
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
420
423
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
421
424
|
name: Scalars['String']['input'];
|
|
422
425
|
publishingType?: InputMaybe<PublishingType>;
|
|
@@ -432,6 +435,7 @@ export type CreateTokenPairEventWebhookArgs = {
|
|
|
432
435
|
bucketSortkey?: InputMaybe<Scalars['String']['input']>;
|
|
433
436
|
callbackUrl: Scalars['String']['input'];
|
|
434
437
|
conditions: TokenPairEventWebhookConditionInput;
|
|
438
|
+
deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
|
|
435
439
|
groupId?: InputMaybe<Scalars['String']['input']>;
|
|
436
440
|
name: Scalars['String']['input'];
|
|
437
441
|
publishingType?: InputMaybe<PublishingType>;
|
|
@@ -1161,6 +1165,7 @@ export type GetGasEstimateInput = {
|
|
|
1161
1165
|
outputTokenAddress: Scalars['String']['input'];
|
|
1162
1166
|
poolAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1163
1167
|
sendWithPrivateRpc?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1168
|
+
slippage?: InputMaybe<Scalars['Float']['input']>;
|
|
1164
1169
|
userId?: InputMaybe<Scalars['Int']['input']>;
|
|
1165
1170
|
walletId?: InputMaybe<Scalars['Int']['input']>;
|
|
1166
1171
|
};
|
|
@@ -1204,6 +1209,8 @@ export type GetPriceInput = {
|
|
|
1204
1209
|
maxDeviations?: InputMaybe<Scalars['Float']['input']>;
|
|
1205
1210
|
/** The network ID the token is deployed on. */
|
|
1206
1211
|
networkId: Scalars['Int']['input'];
|
|
1212
|
+
/** The address of the pool, when omitted the top pool is used. */
|
|
1213
|
+
poolAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1207
1214
|
/** The unix timestamp for the price. */
|
|
1208
1215
|
timestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
1209
1216
|
};
|
|
@@ -1215,6 +1222,7 @@ export type GetQuoteInput = {
|
|
|
1215
1222
|
networkId: Scalars['Int']['input'];
|
|
1216
1223
|
outputTokenAddress: Scalars['String']['input'];
|
|
1217
1224
|
poolAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1225
|
+
slippage?: InputMaybe<Scalars['Float']['input']>;
|
|
1218
1226
|
userId?: InputMaybe<Scalars['Int']['input']>;
|
|
1219
1227
|
};
|
|
1220
1228
|
export type GetSimulateTokenContractResultsConnection = {
|
|
@@ -4154,6 +4162,8 @@ export type OnBarsUpdatedResponse = {
|
|
|
4154
4162
|
pairId: Scalars['String']['output'];
|
|
4155
4163
|
/** The quote token within the pair. */
|
|
4156
4164
|
quoteToken?: Maybe<QuoteToken>;
|
|
4165
|
+
/** The address of the token being quoted */
|
|
4166
|
+
quoteTokenAddress: Scalars['String']['output'];
|
|
4157
4167
|
/** The type of statistics used. Can be `Filtered` or `Unfiltered`. */
|
|
4158
4168
|
statsType: TokenPairStatisticsType;
|
|
4159
4169
|
/** The unix timestamp for the new bar. */
|
|
@@ -4163,10 +4173,60 @@ export type OnPricesUpdatedInput = {
|
|
|
4163
4173
|
address: Scalars['String']['input'];
|
|
4164
4174
|
networkId: Scalars['Int']['input'];
|
|
4165
4175
|
};
|
|
4176
|
+
/** Response returned by `onBarsUpdated`. */
|
|
4177
|
+
export type OnTokenBarsUpdatedResponse = {
|
|
4178
|
+
__typename?: 'OnTokenBarsUpdatedResponse';
|
|
4179
|
+
/** Price data broken down by resolution. */
|
|
4180
|
+
aggregates: ResolutionBarData;
|
|
4181
|
+
/**
|
|
4182
|
+
* The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
|
|
4183
|
+
* For example, `0000000016414564#00000224#00000413`.
|
|
4184
|
+
*/
|
|
4185
|
+
eventSortKey: Scalars['String']['output'];
|
|
4186
|
+
/** The network ID the pair is deployed on. */
|
|
4187
|
+
networkId: Scalars['Int']['output'];
|
|
4188
|
+
/** The contract address for the pair. */
|
|
4189
|
+
pairAddress: Scalars['String']['output'];
|
|
4190
|
+
/** The ID for the pair (`pairAddress`:`networkId`). */
|
|
4191
|
+
pairId: Scalars['String']['output'];
|
|
4192
|
+
/** The quote token within the pair. */
|
|
4193
|
+
quoteToken?: Maybe<QuoteToken>;
|
|
4194
|
+
/** The type of statistics used. Can be `Filtered` or `Unfiltered`. */
|
|
4195
|
+
statsType: TokenPairStatisticsType;
|
|
4196
|
+
/** The unix timestamp for the new bar. */
|
|
4197
|
+
timestamp: Scalars['Int']['output'];
|
|
4198
|
+
/** The address of the token being quoted */
|
|
4199
|
+
tokenAddress: Scalars['String']['output'];
|
|
4200
|
+
/** The address of the token being quoted */
|
|
4201
|
+
tokenId: Scalars['String']['output'];
|
|
4202
|
+
};
|
|
4166
4203
|
export type OnTokenEventsCreatedInput = {
|
|
4167
4204
|
networkId: Scalars['Int']['input'];
|
|
4168
4205
|
tokenAddress: Scalars['String']['input'];
|
|
4169
4206
|
};
|
|
4207
|
+
/** Response returned by `onUnconfirmedBarsUpdated`. */
|
|
4208
|
+
export type OnUnconfirmedBarsUpdated = {
|
|
4209
|
+
__typename?: 'OnUnconfirmedBarsUpdated';
|
|
4210
|
+
/** Price data broken down by resolution. */
|
|
4211
|
+
aggregates: UnconfirmedResolutionBarData;
|
|
4212
|
+
/**
|
|
4213
|
+
* The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
|
|
4214
|
+
* For example, `0000000016414564#00000224#00000413`.
|
|
4215
|
+
*/
|
|
4216
|
+
eventSortKey: Scalars['String']['output'];
|
|
4217
|
+
/** The network ID the pair is deployed on. */
|
|
4218
|
+
networkId: Scalars['Int']['output'];
|
|
4219
|
+
/** The contract address for the pair. */
|
|
4220
|
+
pairAddress: Scalars['String']['output'];
|
|
4221
|
+
/** The ID for the pair (`pairAddress`:`networkId`). */
|
|
4222
|
+
pairId: Scalars['String']['output'];
|
|
4223
|
+
/** The quote token within the pair. */
|
|
4224
|
+
quoteToken?: Maybe<QuoteToken>;
|
|
4225
|
+
/** The address of the token being quoted */
|
|
4226
|
+
quoteTokenAddress: Scalars['String']['output'];
|
|
4227
|
+
/** The unix timestamp for the new bar. */
|
|
4228
|
+
timestamp: Scalars['Int']['output'];
|
|
4229
|
+
};
|
|
4170
4230
|
export type OneOfNumberCondition = {
|
|
4171
4231
|
__typename?: 'OneOfNumberCondition';
|
|
4172
4232
|
oneOf: Array<Scalars['Int']['output']>;
|
|
@@ -4353,6 +4413,14 @@ export type PairFilterResult = {
|
|
|
4353
4413
|
uniqueTransactions12?: Maybe<Scalars['Int']['output']>;
|
|
4354
4414
|
/** The unique number of transactions in the past 24 hours. */
|
|
4355
4415
|
uniqueTransactions24?: Maybe<Scalars['Int']['output']>;
|
|
4416
|
+
/** The percent volume change in the past hour. Decimal format. */
|
|
4417
|
+
volumeChange1?: Maybe<Scalars['String']['output']>;
|
|
4418
|
+
/** The percent volume change in the past 4 hours. Decimal format. */
|
|
4419
|
+
volumeChange4?: Maybe<Scalars['String']['output']>;
|
|
4420
|
+
/** The percent volume change in the past 12 hours. Decimal format. */
|
|
4421
|
+
volumeChange12?: Maybe<Scalars['String']['output']>;
|
|
4422
|
+
/** The percent volume change in the past 24 hours. Decimal format. */
|
|
4423
|
+
volumeChange24?: Maybe<Scalars['String']['output']>;
|
|
4356
4424
|
/** The trade volume in USD in the past hour. */
|
|
4357
4425
|
volumeUSD1?: Maybe<Scalars['String']['output']>;
|
|
4358
4426
|
/** The trade volume in USD in the past 4 hours. */
|
|
@@ -4456,6 +4524,14 @@ export type PairFilters = {
|
|
|
4456
4524
|
uniqueTransactions12?: InputMaybe<NumberFilter>;
|
|
4457
4525
|
/** The unique number of transactions in the past 24 hours. */
|
|
4458
4526
|
uniqueTransactions24?: InputMaybe<NumberFilter>;
|
|
4527
|
+
/** The percent volume change in the past hour. Decimal format. */
|
|
4528
|
+
volumeChange1?: InputMaybe<NumberFilter>;
|
|
4529
|
+
/** The percent volume change in the past 4 hours. Decimal format. */
|
|
4530
|
+
volumeChange4?: InputMaybe<NumberFilter>;
|
|
4531
|
+
/** The percent volume change in the past 12 hours. Decimal format. */
|
|
4532
|
+
volumeChange12?: InputMaybe<NumberFilter>;
|
|
4533
|
+
/** The percent volume change in the past 24 hours. Decimal format. */
|
|
4534
|
+
volumeChange24?: InputMaybe<NumberFilter>;
|
|
4459
4535
|
/** The trade volume in USD in the past hour. */
|
|
4460
4536
|
volumeUSD1?: InputMaybe<NumberFilter>;
|
|
4461
4537
|
/** The trade volume in USD in the past 4 hours. */
|
|
@@ -4570,6 +4646,10 @@ export declare enum PairRankingAttribute {
|
|
|
4570
4646
|
UniqueTransactions4 = "uniqueTransactions4",
|
|
4571
4647
|
UniqueTransactions12 = "uniqueTransactions12",
|
|
4572
4648
|
UniqueTransactions24 = "uniqueTransactions24",
|
|
4649
|
+
VolumeChange1 = "volumeChange1",
|
|
4650
|
+
VolumeChange4 = "volumeChange4",
|
|
4651
|
+
VolumeChange12 = "volumeChange12",
|
|
4652
|
+
VolumeChange24 = "volumeChange24",
|
|
4573
4653
|
VolumeUsd1 = "volumeUSD1",
|
|
4574
4654
|
VolumeUsd4 = "volumeUSD4",
|
|
4575
4655
|
VolumeUsd12 = "volumeUSD12",
|
|
@@ -4909,6 +4989,8 @@ export type Price = {
|
|
|
4909
4989
|
confidence?: Maybe<Scalars['Float']['output']>;
|
|
4910
4990
|
/** The network ID the token is deployed on. */
|
|
4911
4991
|
networkId: Scalars['Int']['output'];
|
|
4992
|
+
/** The pool that emitted the swap generating this price */
|
|
4993
|
+
poolAddress: Scalars['String']['output'];
|
|
4912
4994
|
/** The token price in USD. */
|
|
4913
4995
|
priceUsd: Scalars['Float']['output'];
|
|
4914
4996
|
/** The unix timestamp for the price. */
|
|
@@ -5910,6 +5992,7 @@ export type QueryWalletNftCollectionsArgs = {
|
|
|
5910
5992
|
export type Quote = {
|
|
5911
5993
|
__typename?: 'Quote';
|
|
5912
5994
|
exchange: QuoteExchange;
|
|
5995
|
+
outputAmountMin?: Maybe<Scalars['String']['output']>;
|
|
5913
5996
|
poolFee?: Maybe<Scalars['String']['output']>;
|
|
5914
5997
|
poolFeeBps?: Maybe<Scalars['Float']['output']>;
|
|
5915
5998
|
quoteType: QuoteType;
|
|
@@ -5941,16 +6024,6 @@ export declare enum QuoteType {
|
|
|
5941
6024
|
Input = "INPUT",
|
|
5942
6025
|
Output = "OUTPUT"
|
|
5943
6026
|
}
|
|
5944
|
-
export type QuoteV2 = {
|
|
5945
|
-
__typename?: 'QuoteV2';
|
|
5946
|
-
exchange: QuoteExchange;
|
|
5947
|
-
poolFee?: Maybe<Scalars['String']['output']>;
|
|
5948
|
-
poolFeeBps?: Maybe<Scalars['Float']['output']>;
|
|
5949
|
-
quoteType: QuoteType;
|
|
5950
|
-
quotedAmount: Scalars['String']['output'];
|
|
5951
|
-
tradeFee: Scalars['String']['output'];
|
|
5952
|
-
tradeFeeBps: Scalars['Float']['output'];
|
|
5953
|
-
};
|
|
5954
6027
|
/** The order of ranking. */
|
|
5955
6028
|
export declare enum RankingDirection {
|
|
5956
6029
|
Asc = "ASC",
|
|
@@ -6031,6 +6104,8 @@ export type ResolutionBarData = {
|
|
|
6031
6104
|
r15S?: Maybe<CurrencyBarData>;
|
|
6032
6105
|
/** 30 minute resolution. */
|
|
6033
6106
|
r30?: Maybe<CurrencyBarData>;
|
|
6107
|
+
/** 30 second resolution. */
|
|
6108
|
+
r30S?: Maybe<CurrencyBarData>;
|
|
6034
6109
|
/** 60 minute resolution. */
|
|
6035
6110
|
r60?: Maybe<CurrencyBarData>;
|
|
6036
6111
|
/** 4 hour resolution. */
|
|
@@ -6372,10 +6447,14 @@ export type Subscription = {
|
|
|
6372
6447
|
/** Live-streamed price updates for multiple tokens. */
|
|
6373
6448
|
onPricesUpdated: Price;
|
|
6374
6449
|
onSimulateTokenContract: SimulateTokenContractResult;
|
|
6450
|
+
/** Live-streamed bar chart data to track price changes over time for a token. */
|
|
6451
|
+
onTokenBarsUpdated?: Maybe<OnTokenBarsUpdatedResponse>;
|
|
6375
6452
|
/** Live streamed events for a given token across all it's pools */
|
|
6376
6453
|
onTokenEventsCreated: AddTokenEventsOutput;
|
|
6377
6454
|
/** Live-streamed token lifecycle events (mints and burns) */
|
|
6378
6455
|
onTokenLifecycleEventsCreated: AddTokenLifecycleEventsOutput;
|
|
6456
|
+
/** Unconfirmed live-streamed bar chart data to track price changes over time. (Solana only) */
|
|
6457
|
+
onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
|
|
6379
6458
|
/** Live-streamed unconfirmed transactions for a token. (Solana only) */
|
|
6380
6459
|
onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
|
|
6381
6460
|
};
|
|
@@ -6438,6 +6517,10 @@ export type SubscriptionOnSimulateTokenContractArgs = {
|
|
|
6438
6517
|
networkId: Scalars['Int']['input'];
|
|
6439
6518
|
simulationId?: InputMaybe<Scalars['String']['input']>;
|
|
6440
6519
|
};
|
|
6520
|
+
export type SubscriptionOnTokenBarsUpdatedArgs = {
|
|
6521
|
+
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
6522
|
+
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
6523
|
+
};
|
|
6441
6524
|
export type SubscriptionOnTokenEventsCreatedArgs = {
|
|
6442
6525
|
input: OnTokenEventsCreatedInput;
|
|
6443
6526
|
};
|
|
@@ -6445,6 +6528,10 @@ export type SubscriptionOnTokenLifecycleEventsCreatedArgs = {
|
|
|
6445
6528
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6446
6529
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
6447
6530
|
};
|
|
6531
|
+
export type SubscriptionOnUnconfirmedBarsUpdatedArgs = {
|
|
6532
|
+
pairId?: InputMaybe<Scalars['String']['input']>;
|
|
6533
|
+
quoteToken?: InputMaybe<QuoteToken>;
|
|
6534
|
+
};
|
|
6448
6535
|
export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
|
|
6449
6536
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6450
6537
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6755,6 +6842,14 @@ export type TokenFilterResult = {
|
|
|
6755
6842
|
volume12?: Maybe<Scalars['String']['output']>;
|
|
6756
6843
|
/** The trade volume in USD in the past 24 hours. */
|
|
6757
6844
|
volume24?: Maybe<Scalars['String']['output']>;
|
|
6845
|
+
/** The percent volume change in the past hour. Decimal format. */
|
|
6846
|
+
volumeChange1?: Maybe<Scalars['String']['output']>;
|
|
6847
|
+
/** The percent volume change in the past 4 hours. Decimal format. */
|
|
6848
|
+
volumeChange4?: Maybe<Scalars['String']['output']>;
|
|
6849
|
+
/** The percent volume change in the past 12 hours. Decimal format. */
|
|
6850
|
+
volumeChange12?: Maybe<Scalars['String']['output']>;
|
|
6851
|
+
/** The percent volume change in the past 24 hours. Decimal format. */
|
|
6852
|
+
volumeChange24?: Maybe<Scalars['String']['output']>;
|
|
6758
6853
|
};
|
|
6759
6854
|
/** Input type of `TokenFilters`. */
|
|
6760
6855
|
export type TokenFilters = {
|
|
@@ -6868,6 +6963,14 @@ export type TokenFilters = {
|
|
|
6868
6963
|
volume12?: InputMaybe<NumberFilter>;
|
|
6869
6964
|
/** The trade volume in USD in the past 24 hours. */
|
|
6870
6965
|
volume24?: InputMaybe<NumberFilter>;
|
|
6966
|
+
/** The percent volume change in the past hour. Decimal format. */
|
|
6967
|
+
volumeChange1?: InputMaybe<NumberFilter>;
|
|
6968
|
+
/** The percent volume change in the past 4 hours. Decimal format. */
|
|
6969
|
+
volumeChange4?: InputMaybe<NumberFilter>;
|
|
6970
|
+
/** The percent volume change in the past 12 hours. Decimal format. */
|
|
6971
|
+
volumeChange12?: InputMaybe<NumberFilter>;
|
|
6972
|
+
/** The percent volume change in the past 24 hours. Decimal format. */
|
|
6973
|
+
volumeChange24?: InputMaybe<NumberFilter>;
|
|
6871
6974
|
};
|
|
6872
6975
|
/** Metadata for a token. */
|
|
6873
6976
|
export type TokenInfo = {
|
|
@@ -7073,7 +7176,11 @@ export declare enum TokenRankingAttribute {
|
|
|
7073
7176
|
Volume1 = "volume1",
|
|
7074
7177
|
Volume4 = "volume4",
|
|
7075
7178
|
Volume12 = "volume12",
|
|
7076
|
-
Volume24 = "volume24"
|
|
7179
|
+
Volume24 = "volume24",
|
|
7180
|
+
VolumeChange1 = "volumeChange1",
|
|
7181
|
+
VolumeChange4 = "volumeChange4",
|
|
7182
|
+
VolumeChange12 = "volumeChange12",
|
|
7183
|
+
VolumeChange24 = "volumeChange24"
|
|
7077
7184
|
}
|
|
7078
7185
|
/** Response returned by `searchTokens`. */
|
|
7079
7186
|
export type TokenSearchResponse = {
|
|
@@ -7213,6 +7320,24 @@ export type UnconfirmedEvent = {
|
|
|
7213
7320
|
transactionIndex: Scalars['Int']['output'];
|
|
7214
7321
|
};
|
|
7215
7322
|
export type UnconfirmedEventData = UnconfirmedLiquidityChangeEventData | UnconfirmedSwapEventData;
|
|
7323
|
+
/** Unconfirmed bar chart data. */
|
|
7324
|
+
export type UnconfirmedIndividualBarData = {
|
|
7325
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
7326
|
+
/** The closing price. */
|
|
7327
|
+
c: Scalars['Float']['output'];
|
|
7328
|
+
/** The high price. */
|
|
7329
|
+
h: Scalars['Float']['output'];
|
|
7330
|
+
/** The low price. */
|
|
7331
|
+
l: Scalars['Float']['output'];
|
|
7332
|
+
/** The opening price. */
|
|
7333
|
+
o: Scalars['Float']['output'];
|
|
7334
|
+
/** The timestamp for the bar. */
|
|
7335
|
+
t: Scalars['Int']['output'];
|
|
7336
|
+
/** The volume. */
|
|
7337
|
+
v?: Maybe<Scalars['Int']['output']>;
|
|
7338
|
+
/** The volume with higher precision. */
|
|
7339
|
+
volume: Scalars['String']['output'];
|
|
7340
|
+
};
|
|
7216
7341
|
export type UnconfirmedLiquidityChangeEventData = {
|
|
7217
7342
|
__typename?: 'UnconfirmedLiquidityChangeEventData';
|
|
7218
7343
|
/** The amount of `token0` added or removed from the pair. */
|
|
@@ -7226,10 +7351,34 @@ export type UnconfirmedLiquidityChangeEventData = {
|
|
|
7226
7351
|
/** The type of token event, `Mint` or 'Burn'. */
|
|
7227
7352
|
type: EventType;
|
|
7228
7353
|
};
|
|
7354
|
+
/** Unconfirmed price data for each supported resolution. */
|
|
7355
|
+
export type UnconfirmedResolutionBarData = {
|
|
7356
|
+
__typename?: 'UnconfirmedResolutionBarData';
|
|
7357
|
+
/** 1 minute resolution. */
|
|
7358
|
+
r1?: Maybe<UnconfirmedIndividualBarData>;
|
|
7359
|
+
/** 1 second resolution. */
|
|
7360
|
+
r1S?: Maybe<UnconfirmedIndividualBarData>;
|
|
7361
|
+
/** 5 minute resolution. */
|
|
7362
|
+
r5?: Maybe<UnconfirmedIndividualBarData>;
|
|
7363
|
+
/** 5 second resolution. */
|
|
7364
|
+
r5S?: Maybe<UnconfirmedIndividualBarData>;
|
|
7365
|
+
/** 15 minute resolution. */
|
|
7366
|
+
r15?: Maybe<UnconfirmedIndividualBarData>;
|
|
7367
|
+
/** 15 second resolution. */
|
|
7368
|
+
r15S?: Maybe<UnconfirmedIndividualBarData>;
|
|
7369
|
+
};
|
|
7229
7370
|
export type UnconfirmedSwapEventData = {
|
|
7230
7371
|
__typename?: 'UnconfirmedSwapEventData';
|
|
7231
7372
|
/** The amount of `quoteToken` involved in the swap. For example, if `quoteToken` is USDC for a USDC/WETH pair, `amountNonLiquidityToken` would be the amount of USDC involved in the swap. */
|
|
7232
7373
|
amountNonLiquidityToken?: Maybe<Scalars['String']['output']>;
|
|
7374
|
+
/** The price per `quoteToken` at the time of the swap in the network's base token. For example, if `quoteToken` is USDC for a USDC/WETH pair on ETH network, `priceBaseToken` would the price of USDC in ETH. */
|
|
7375
|
+
priceBaseToken?: Maybe<Scalars['String']['output']>;
|
|
7376
|
+
/** The total amount of `quoteToken` involved in the swap in the network's base token (`amountNonLiquidityToken` x `priceBaseToken`). */
|
|
7377
|
+
priceBaseTokenTotal?: Maybe<Scalars['String']['output']>;
|
|
7378
|
+
/** The price per `quoteToken` at the time of the swap in USD. For example, if `quoteToken` is USDC for a USDC/WETH pair on ETH network, `priceBaseToken` would the price of USDC in USD ($1.00). */
|
|
7379
|
+
priceUsd?: Maybe<Scalars['String']['output']>;
|
|
7380
|
+
/** The total amount of `quoteToken` involved in the swap in USD (`amountNonLiquidityToken` x `priceUsd`). */
|
|
7381
|
+
priceUsdTotal?: Maybe<Scalars['String']['output']>;
|
|
7233
7382
|
/** The type of token event, `Swap`. */
|
|
7234
7383
|
type: EventType;
|
|
7235
7384
|
};
|
|
@@ -7571,6 +7720,127 @@ export type CreateWebhooksMutation = {
|
|
|
7571
7720
|
publishingType?: PublishingType | null;
|
|
7572
7721
|
status: string;
|
|
7573
7722
|
webhookType: WebhookType;
|
|
7723
|
+
conditions: {
|
|
7724
|
+
__typename?: 'NftEventWebhookCondition';
|
|
7725
|
+
ignoreTransfers?: boolean | null;
|
|
7726
|
+
contractAddress?: {
|
|
7727
|
+
__typename?: 'StringEqualsCondition';
|
|
7728
|
+
eq: string;
|
|
7729
|
+
} | null;
|
|
7730
|
+
eventType?: {
|
|
7731
|
+
__typename?: 'NftEventTypeCondition';
|
|
7732
|
+
eq: WebhookNftEventType;
|
|
7733
|
+
} | null;
|
|
7734
|
+
exchangeAddress?: {
|
|
7735
|
+
__typename?: 'StringEqualsCondition';
|
|
7736
|
+
eq: string;
|
|
7737
|
+
} | null;
|
|
7738
|
+
fillSource?: {
|
|
7739
|
+
__typename?: 'NftEventFillSourceCondition';
|
|
7740
|
+
oneOf: Array<WebhookNftEventFillSource>;
|
|
7741
|
+
} | null;
|
|
7742
|
+
individualBaseTokenPrice?: {
|
|
7743
|
+
__typename?: 'ComparisonOperator';
|
|
7744
|
+
eq?: string | null;
|
|
7745
|
+
gt?: string | null;
|
|
7746
|
+
gte?: string | null;
|
|
7747
|
+
lt?: string | null;
|
|
7748
|
+
lte?: string | null;
|
|
7749
|
+
} | null;
|
|
7750
|
+
maker?: {
|
|
7751
|
+
__typename?: 'StringEqualsCondition';
|
|
7752
|
+
eq: string;
|
|
7753
|
+
} | null;
|
|
7754
|
+
networkId?: {
|
|
7755
|
+
__typename?: 'OneOfNumberCondition';
|
|
7756
|
+
oneOf: Array<number>;
|
|
7757
|
+
} | null;
|
|
7758
|
+
nftTokenAddress?: {
|
|
7759
|
+
__typename?: 'StringEqualsCondition';
|
|
7760
|
+
eq: string;
|
|
7761
|
+
} | null;
|
|
7762
|
+
tokenId?: {
|
|
7763
|
+
__typename?: 'StringEqualsCondition';
|
|
7764
|
+
eq: string;
|
|
7765
|
+
} | null;
|
|
7766
|
+
} | {
|
|
7767
|
+
__typename?: 'PriceEventWebhookCondition';
|
|
7768
|
+
priceNetworkId: {
|
|
7769
|
+
__typename?: 'IntEqualsCondition';
|
|
7770
|
+
eq: number;
|
|
7771
|
+
};
|
|
7772
|
+
priceUsd: {
|
|
7773
|
+
__typename?: 'ComparisonOperator';
|
|
7774
|
+
eq?: string | null;
|
|
7775
|
+
gt?: string | null;
|
|
7776
|
+
gte?: string | null;
|
|
7777
|
+
lt?: string | null;
|
|
7778
|
+
lte?: string | null;
|
|
7779
|
+
};
|
|
7780
|
+
priceTokenAddress: {
|
|
7781
|
+
__typename?: 'StringEqualsCondition';
|
|
7782
|
+
eq: string;
|
|
7783
|
+
};
|
|
7784
|
+
} | {
|
|
7785
|
+
__typename?: 'RawTransactionWebhookCondition';
|
|
7786
|
+
ignoreNftEvents?: boolean | null;
|
|
7787
|
+
ignoreTokenPairEvents?: boolean | null;
|
|
7788
|
+
from?: {
|
|
7789
|
+
__typename?: 'StringEqualsCondition';
|
|
7790
|
+
eq: string;
|
|
7791
|
+
} | null;
|
|
7792
|
+
input?: {
|
|
7793
|
+
__typename?: 'StringContainsCondition';
|
|
7794
|
+
contains?: Array<string> | null;
|
|
7795
|
+
notContains?: Array<string> | null;
|
|
7796
|
+
} | null;
|
|
7797
|
+
networkId?: {
|
|
7798
|
+
__typename?: 'OneOfNumberCondition';
|
|
7799
|
+
oneOf: Array<number>;
|
|
7800
|
+
} | null;
|
|
7801
|
+
to?: {
|
|
7802
|
+
__typename?: 'StringEqualsCondition';
|
|
7803
|
+
eq: string;
|
|
7804
|
+
} | null;
|
|
7805
|
+
toOrFrom?: {
|
|
7806
|
+
__typename?: 'StringEqualsCondition';
|
|
7807
|
+
eq: string;
|
|
7808
|
+
} | null;
|
|
7809
|
+
} | {
|
|
7810
|
+
__typename?: 'TokenPairEventWebhookCondition';
|
|
7811
|
+
eventType?: {
|
|
7812
|
+
__typename?: 'TokenPairEventTypeCondition';
|
|
7813
|
+
oneOf: Array<TokenPairEventType>;
|
|
7814
|
+
} | null;
|
|
7815
|
+
exchangeAddress?: {
|
|
7816
|
+
__typename?: 'StringEqualsCondition';
|
|
7817
|
+
eq: string;
|
|
7818
|
+
} | null;
|
|
7819
|
+
maker?: {
|
|
7820
|
+
__typename?: 'StringEqualsCondition';
|
|
7821
|
+
eq: string;
|
|
7822
|
+
} | null;
|
|
7823
|
+
networkId?: {
|
|
7824
|
+
__typename?: 'OneOfNumberCondition';
|
|
7825
|
+
oneOf: Array<number>;
|
|
7826
|
+
} | null;
|
|
7827
|
+
pairAddress?: {
|
|
7828
|
+
__typename?: 'StringEqualsCondition';
|
|
7829
|
+
eq: string;
|
|
7830
|
+
} | null;
|
|
7831
|
+
swapValue?: {
|
|
7832
|
+
__typename?: 'ComparisonOperator';
|
|
7833
|
+
eq?: string | null;
|
|
7834
|
+
gt?: string | null;
|
|
7835
|
+
gte?: string | null;
|
|
7836
|
+
lt?: string | null;
|
|
7837
|
+
lte?: string | null;
|
|
7838
|
+
} | null;
|
|
7839
|
+
tokenAddress?: {
|
|
7840
|
+
__typename?: 'StringEqualsCondition';
|
|
7841
|
+
eq: string;
|
|
7842
|
+
} | null;
|
|
7843
|
+
};
|
|
7574
7844
|
retrySettings?: {
|
|
7575
7845
|
__typename?: 'RetrySettings';
|
|
7576
7846
|
maxRetries?: number | null;
|
|
@@ -7592,6 +7862,127 @@ export type CreateWebhooksMutation = {
|
|
|
7592
7862
|
publishingType?: PublishingType | null;
|
|
7593
7863
|
status: string;
|
|
7594
7864
|
webhookType: WebhookType;
|
|
7865
|
+
conditions: {
|
|
7866
|
+
__typename?: 'NftEventWebhookCondition';
|
|
7867
|
+
ignoreTransfers?: boolean | null;
|
|
7868
|
+
contractAddress?: {
|
|
7869
|
+
__typename?: 'StringEqualsCondition';
|
|
7870
|
+
eq: string;
|
|
7871
|
+
} | null;
|
|
7872
|
+
eventType?: {
|
|
7873
|
+
__typename?: 'NftEventTypeCondition';
|
|
7874
|
+
eq: WebhookNftEventType;
|
|
7875
|
+
} | null;
|
|
7876
|
+
exchangeAddress?: {
|
|
7877
|
+
__typename?: 'StringEqualsCondition';
|
|
7878
|
+
eq: string;
|
|
7879
|
+
} | null;
|
|
7880
|
+
fillSource?: {
|
|
7881
|
+
__typename?: 'NftEventFillSourceCondition';
|
|
7882
|
+
oneOf: Array<WebhookNftEventFillSource>;
|
|
7883
|
+
} | null;
|
|
7884
|
+
individualBaseTokenPrice?: {
|
|
7885
|
+
__typename?: 'ComparisonOperator';
|
|
7886
|
+
eq?: string | null;
|
|
7887
|
+
gt?: string | null;
|
|
7888
|
+
gte?: string | null;
|
|
7889
|
+
lt?: string | null;
|
|
7890
|
+
lte?: string | null;
|
|
7891
|
+
} | null;
|
|
7892
|
+
maker?: {
|
|
7893
|
+
__typename?: 'StringEqualsCondition';
|
|
7894
|
+
eq: string;
|
|
7895
|
+
} | null;
|
|
7896
|
+
networkId?: {
|
|
7897
|
+
__typename?: 'OneOfNumberCondition';
|
|
7898
|
+
oneOf: Array<number>;
|
|
7899
|
+
} | null;
|
|
7900
|
+
nftTokenAddress?: {
|
|
7901
|
+
__typename?: 'StringEqualsCondition';
|
|
7902
|
+
eq: string;
|
|
7903
|
+
} | null;
|
|
7904
|
+
tokenId?: {
|
|
7905
|
+
__typename?: 'StringEqualsCondition';
|
|
7906
|
+
eq: string;
|
|
7907
|
+
} | null;
|
|
7908
|
+
} | {
|
|
7909
|
+
__typename?: 'PriceEventWebhookCondition';
|
|
7910
|
+
priceNetworkId: {
|
|
7911
|
+
__typename?: 'IntEqualsCondition';
|
|
7912
|
+
eq: number;
|
|
7913
|
+
};
|
|
7914
|
+
priceUsd: {
|
|
7915
|
+
__typename?: 'ComparisonOperator';
|
|
7916
|
+
eq?: string | null;
|
|
7917
|
+
gt?: string | null;
|
|
7918
|
+
gte?: string | null;
|
|
7919
|
+
lt?: string | null;
|
|
7920
|
+
lte?: string | null;
|
|
7921
|
+
};
|
|
7922
|
+
priceTokenAddress: {
|
|
7923
|
+
__typename?: 'StringEqualsCondition';
|
|
7924
|
+
eq: string;
|
|
7925
|
+
};
|
|
7926
|
+
} | {
|
|
7927
|
+
__typename?: 'RawTransactionWebhookCondition';
|
|
7928
|
+
ignoreNftEvents?: boolean | null;
|
|
7929
|
+
ignoreTokenPairEvents?: boolean | null;
|
|
7930
|
+
from?: {
|
|
7931
|
+
__typename?: 'StringEqualsCondition';
|
|
7932
|
+
eq: string;
|
|
7933
|
+
} | null;
|
|
7934
|
+
input?: {
|
|
7935
|
+
__typename?: 'StringContainsCondition';
|
|
7936
|
+
contains?: Array<string> | null;
|
|
7937
|
+
notContains?: Array<string> | null;
|
|
7938
|
+
} | null;
|
|
7939
|
+
networkId?: {
|
|
7940
|
+
__typename?: 'OneOfNumberCondition';
|
|
7941
|
+
oneOf: Array<number>;
|
|
7942
|
+
} | null;
|
|
7943
|
+
to?: {
|
|
7944
|
+
__typename?: 'StringEqualsCondition';
|
|
7945
|
+
eq: string;
|
|
7946
|
+
} | null;
|
|
7947
|
+
toOrFrom?: {
|
|
7948
|
+
__typename?: 'StringEqualsCondition';
|
|
7949
|
+
eq: string;
|
|
7950
|
+
} | null;
|
|
7951
|
+
} | {
|
|
7952
|
+
__typename?: 'TokenPairEventWebhookCondition';
|
|
7953
|
+
eventType?: {
|
|
7954
|
+
__typename?: 'TokenPairEventTypeCondition';
|
|
7955
|
+
oneOf: Array<TokenPairEventType>;
|
|
7956
|
+
} | null;
|
|
7957
|
+
exchangeAddress?: {
|
|
7958
|
+
__typename?: 'StringEqualsCondition';
|
|
7959
|
+
eq: string;
|
|
7960
|
+
} | null;
|
|
7961
|
+
maker?: {
|
|
7962
|
+
__typename?: 'StringEqualsCondition';
|
|
7963
|
+
eq: string;
|
|
7964
|
+
} | null;
|
|
7965
|
+
networkId?: {
|
|
7966
|
+
__typename?: 'OneOfNumberCondition';
|
|
7967
|
+
oneOf: Array<number>;
|
|
7968
|
+
} | null;
|
|
7969
|
+
pairAddress?: {
|
|
7970
|
+
__typename?: 'StringEqualsCondition';
|
|
7971
|
+
eq: string;
|
|
7972
|
+
} | null;
|
|
7973
|
+
swapValue?: {
|
|
7974
|
+
__typename?: 'ComparisonOperator';
|
|
7975
|
+
eq?: string | null;
|
|
7976
|
+
gt?: string | null;
|
|
7977
|
+
gte?: string | null;
|
|
7978
|
+
lt?: string | null;
|
|
7979
|
+
lte?: string | null;
|
|
7980
|
+
} | null;
|
|
7981
|
+
tokenAddress?: {
|
|
7982
|
+
__typename?: 'StringEqualsCondition';
|
|
7983
|
+
eq: string;
|
|
7984
|
+
} | null;
|
|
7985
|
+
};
|
|
7595
7986
|
retrySettings?: {
|
|
7596
7987
|
__typename?: 'RetrySettings';
|
|
7597
7988
|
maxRetries?: number | null;
|
|
@@ -7613,6 +8004,127 @@ export type CreateWebhooksMutation = {
|
|
|
7613
8004
|
publishingType?: PublishingType | null;
|
|
7614
8005
|
status: string;
|
|
7615
8006
|
webhookType: WebhookType;
|
|
8007
|
+
conditions: {
|
|
8008
|
+
__typename?: 'NftEventWebhookCondition';
|
|
8009
|
+
ignoreTransfers?: boolean | null;
|
|
8010
|
+
contractAddress?: {
|
|
8011
|
+
__typename?: 'StringEqualsCondition';
|
|
8012
|
+
eq: string;
|
|
8013
|
+
} | null;
|
|
8014
|
+
eventType?: {
|
|
8015
|
+
__typename?: 'NftEventTypeCondition';
|
|
8016
|
+
eq: WebhookNftEventType;
|
|
8017
|
+
} | null;
|
|
8018
|
+
exchangeAddress?: {
|
|
8019
|
+
__typename?: 'StringEqualsCondition';
|
|
8020
|
+
eq: string;
|
|
8021
|
+
} | null;
|
|
8022
|
+
fillSource?: {
|
|
8023
|
+
__typename?: 'NftEventFillSourceCondition';
|
|
8024
|
+
oneOf: Array<WebhookNftEventFillSource>;
|
|
8025
|
+
} | null;
|
|
8026
|
+
individualBaseTokenPrice?: {
|
|
8027
|
+
__typename?: 'ComparisonOperator';
|
|
8028
|
+
eq?: string | null;
|
|
8029
|
+
gt?: string | null;
|
|
8030
|
+
gte?: string | null;
|
|
8031
|
+
lt?: string | null;
|
|
8032
|
+
lte?: string | null;
|
|
8033
|
+
} | null;
|
|
8034
|
+
maker?: {
|
|
8035
|
+
__typename?: 'StringEqualsCondition';
|
|
8036
|
+
eq: string;
|
|
8037
|
+
} | null;
|
|
8038
|
+
networkId?: {
|
|
8039
|
+
__typename?: 'OneOfNumberCondition';
|
|
8040
|
+
oneOf: Array<number>;
|
|
8041
|
+
} | null;
|
|
8042
|
+
tokenAddress?: {
|
|
8043
|
+
__typename?: 'StringEqualsCondition';
|
|
8044
|
+
eq: string;
|
|
8045
|
+
} | null;
|
|
8046
|
+
tokenId?: {
|
|
8047
|
+
__typename?: 'StringEqualsCondition';
|
|
8048
|
+
eq: string;
|
|
8049
|
+
} | null;
|
|
8050
|
+
} | {
|
|
8051
|
+
__typename?: 'PriceEventWebhookCondition';
|
|
8052
|
+
priceEventNetworkId: {
|
|
8053
|
+
__typename?: 'IntEqualsCondition';
|
|
8054
|
+
eq: number;
|
|
8055
|
+
};
|
|
8056
|
+
priceUsd: {
|
|
8057
|
+
__typename?: 'ComparisonOperator';
|
|
8058
|
+
eq?: string | null;
|
|
8059
|
+
gt?: string | null;
|
|
8060
|
+
gte?: string | null;
|
|
8061
|
+
lt?: string | null;
|
|
8062
|
+
lte?: string | null;
|
|
8063
|
+
};
|
|
8064
|
+
priceEventTokenAddress: {
|
|
8065
|
+
__typename?: 'StringEqualsCondition';
|
|
8066
|
+
eq: string;
|
|
8067
|
+
};
|
|
8068
|
+
} | {
|
|
8069
|
+
__typename?: 'RawTransactionWebhookCondition';
|
|
8070
|
+
ignoreNftEvents?: boolean | null;
|
|
8071
|
+
ignoreTokenPairEvents?: boolean | null;
|
|
8072
|
+
from?: {
|
|
8073
|
+
__typename?: 'StringEqualsCondition';
|
|
8074
|
+
eq: string;
|
|
8075
|
+
} | null;
|
|
8076
|
+
input?: {
|
|
8077
|
+
__typename?: 'StringContainsCondition';
|
|
8078
|
+
contains?: Array<string> | null;
|
|
8079
|
+
notContains?: Array<string> | null;
|
|
8080
|
+
} | null;
|
|
8081
|
+
networkId?: {
|
|
8082
|
+
__typename?: 'OneOfNumberCondition';
|
|
8083
|
+
oneOf: Array<number>;
|
|
8084
|
+
} | null;
|
|
8085
|
+
to?: {
|
|
8086
|
+
__typename?: 'StringEqualsCondition';
|
|
8087
|
+
eq: string;
|
|
8088
|
+
} | null;
|
|
8089
|
+
toOrFrom?: {
|
|
8090
|
+
__typename?: 'StringEqualsCondition';
|
|
8091
|
+
eq: string;
|
|
8092
|
+
} | null;
|
|
8093
|
+
} | {
|
|
8094
|
+
__typename?: 'TokenPairEventWebhookCondition';
|
|
8095
|
+
eventType?: {
|
|
8096
|
+
__typename?: 'TokenPairEventTypeCondition';
|
|
8097
|
+
oneOf: Array<TokenPairEventType>;
|
|
8098
|
+
} | null;
|
|
8099
|
+
exchangeAddress?: {
|
|
8100
|
+
__typename?: 'StringEqualsCondition';
|
|
8101
|
+
eq: string;
|
|
8102
|
+
} | null;
|
|
8103
|
+
maker?: {
|
|
8104
|
+
__typename?: 'StringEqualsCondition';
|
|
8105
|
+
eq: string;
|
|
8106
|
+
} | null;
|
|
8107
|
+
networkId?: {
|
|
8108
|
+
__typename?: 'OneOfNumberCondition';
|
|
8109
|
+
oneOf: Array<number>;
|
|
8110
|
+
} | null;
|
|
8111
|
+
pairAddress?: {
|
|
8112
|
+
__typename?: 'StringEqualsCondition';
|
|
8113
|
+
eq: string;
|
|
8114
|
+
} | null;
|
|
8115
|
+
swapValue?: {
|
|
8116
|
+
__typename?: 'ComparisonOperator';
|
|
8117
|
+
eq?: string | null;
|
|
8118
|
+
gt?: string | null;
|
|
8119
|
+
gte?: string | null;
|
|
8120
|
+
lt?: string | null;
|
|
8121
|
+
lte?: string | null;
|
|
8122
|
+
} | null;
|
|
8123
|
+
tokenAddress?: {
|
|
8124
|
+
__typename?: 'StringEqualsCondition';
|
|
8125
|
+
eq: string;
|
|
8126
|
+
} | null;
|
|
8127
|
+
};
|
|
7616
8128
|
retrySettings?: {
|
|
7617
8129
|
__typename?: 'RetrySettings';
|
|
7618
8130
|
maxRetries?: number | null;
|
|
@@ -7634,6 +8146,127 @@ export type CreateWebhooksMutation = {
|
|
|
7634
8146
|
publishingType?: PublishingType | null;
|
|
7635
8147
|
status: string;
|
|
7636
8148
|
webhookType: WebhookType;
|
|
8149
|
+
conditions: {
|
|
8150
|
+
__typename?: 'NftEventWebhookCondition';
|
|
8151
|
+
ignoreTransfers?: boolean | null;
|
|
8152
|
+
contractAddress?: {
|
|
8153
|
+
__typename?: 'StringEqualsCondition';
|
|
8154
|
+
eq: string;
|
|
8155
|
+
} | null;
|
|
8156
|
+
eventType?: {
|
|
8157
|
+
__typename?: 'NftEventTypeCondition';
|
|
8158
|
+
eq: WebhookNftEventType;
|
|
8159
|
+
} | null;
|
|
8160
|
+
exchangeAddress?: {
|
|
8161
|
+
__typename?: 'StringEqualsCondition';
|
|
8162
|
+
eq: string;
|
|
8163
|
+
} | null;
|
|
8164
|
+
fillSource?: {
|
|
8165
|
+
__typename?: 'NftEventFillSourceCondition';
|
|
8166
|
+
oneOf: Array<WebhookNftEventFillSource>;
|
|
8167
|
+
} | null;
|
|
8168
|
+
individualBaseTokenPrice?: {
|
|
8169
|
+
__typename?: 'ComparisonOperator';
|
|
8170
|
+
eq?: string | null;
|
|
8171
|
+
gt?: string | null;
|
|
8172
|
+
gte?: string | null;
|
|
8173
|
+
lt?: string | null;
|
|
8174
|
+
lte?: string | null;
|
|
8175
|
+
} | null;
|
|
8176
|
+
maker?: {
|
|
8177
|
+
__typename?: 'StringEqualsCondition';
|
|
8178
|
+
eq: string;
|
|
8179
|
+
} | null;
|
|
8180
|
+
networkId?: {
|
|
8181
|
+
__typename?: 'OneOfNumberCondition';
|
|
8182
|
+
oneOf: Array<number>;
|
|
8183
|
+
} | null;
|
|
8184
|
+
tokenAddress?: {
|
|
8185
|
+
__typename?: 'StringEqualsCondition';
|
|
8186
|
+
eq: string;
|
|
8187
|
+
} | null;
|
|
8188
|
+
tokenId?: {
|
|
8189
|
+
__typename?: 'StringEqualsCondition';
|
|
8190
|
+
eq: string;
|
|
8191
|
+
} | null;
|
|
8192
|
+
} | {
|
|
8193
|
+
__typename?: 'PriceEventWebhookCondition';
|
|
8194
|
+
priceEventNetworkId: {
|
|
8195
|
+
__typename?: 'IntEqualsCondition';
|
|
8196
|
+
eq: number;
|
|
8197
|
+
};
|
|
8198
|
+
priceUsd: {
|
|
8199
|
+
__typename?: 'ComparisonOperator';
|
|
8200
|
+
eq?: string | null;
|
|
8201
|
+
gt?: string | null;
|
|
8202
|
+
gte?: string | null;
|
|
8203
|
+
lt?: string | null;
|
|
8204
|
+
lte?: string | null;
|
|
8205
|
+
};
|
|
8206
|
+
priceEventTokenAddress: {
|
|
8207
|
+
__typename?: 'StringEqualsCondition';
|
|
8208
|
+
eq: string;
|
|
8209
|
+
};
|
|
8210
|
+
} | {
|
|
8211
|
+
__typename?: 'RawTransactionWebhookCondition';
|
|
8212
|
+
ignoreNftEvents?: boolean | null;
|
|
8213
|
+
ignoreTokenPairEvents?: boolean | null;
|
|
8214
|
+
from?: {
|
|
8215
|
+
__typename?: 'StringEqualsCondition';
|
|
8216
|
+
eq: string;
|
|
8217
|
+
} | null;
|
|
8218
|
+
input?: {
|
|
8219
|
+
__typename?: 'StringContainsCondition';
|
|
8220
|
+
contains?: Array<string> | null;
|
|
8221
|
+
notContains?: Array<string> | null;
|
|
8222
|
+
} | null;
|
|
8223
|
+
networkId?: {
|
|
8224
|
+
__typename?: 'OneOfNumberCondition';
|
|
8225
|
+
oneOf: Array<number>;
|
|
8226
|
+
} | null;
|
|
8227
|
+
to?: {
|
|
8228
|
+
__typename?: 'StringEqualsCondition';
|
|
8229
|
+
eq: string;
|
|
8230
|
+
} | null;
|
|
8231
|
+
toOrFrom?: {
|
|
8232
|
+
__typename?: 'StringEqualsCondition';
|
|
8233
|
+
eq: string;
|
|
8234
|
+
} | null;
|
|
8235
|
+
} | {
|
|
8236
|
+
__typename?: 'TokenPairEventWebhookCondition';
|
|
8237
|
+
eventType?: {
|
|
8238
|
+
__typename?: 'TokenPairEventTypeCondition';
|
|
8239
|
+
oneOf: Array<TokenPairEventType>;
|
|
8240
|
+
} | null;
|
|
8241
|
+
exchangeAddress?: {
|
|
8242
|
+
__typename?: 'StringEqualsCondition';
|
|
8243
|
+
eq: string;
|
|
8244
|
+
} | null;
|
|
8245
|
+
maker?: {
|
|
8246
|
+
__typename?: 'StringEqualsCondition';
|
|
8247
|
+
eq: string;
|
|
8248
|
+
} | null;
|
|
8249
|
+
networkId?: {
|
|
8250
|
+
__typename?: 'OneOfNumberCondition';
|
|
8251
|
+
oneOf: Array<number>;
|
|
8252
|
+
} | null;
|
|
8253
|
+
pairAddress?: {
|
|
8254
|
+
__typename?: 'StringEqualsCondition';
|
|
8255
|
+
eq: string;
|
|
8256
|
+
} | null;
|
|
8257
|
+
swapValue?: {
|
|
8258
|
+
__typename?: 'ComparisonOperator';
|
|
8259
|
+
eq?: string | null;
|
|
8260
|
+
gt?: string | null;
|
|
8261
|
+
gte?: string | null;
|
|
8262
|
+
lt?: string | null;
|
|
8263
|
+
lte?: string | null;
|
|
8264
|
+
} | null;
|
|
8265
|
+
tokenAddress?: {
|
|
8266
|
+
__typename?: 'StringEqualsCondition';
|
|
8267
|
+
eq: string;
|
|
8268
|
+
} | null;
|
|
8269
|
+
};
|
|
7637
8270
|
retrySettings?: {
|
|
7638
8271
|
__typename?: 'RetrySettings';
|
|
7639
8272
|
maxRetries?: number | null;
|
|
@@ -8759,6 +9392,10 @@ export type FilterPairsQuery = {
|
|
|
8759
9392
|
uniqueTransactions4?: number | null;
|
|
8760
9393
|
uniqueTransactions12?: number | null;
|
|
8761
9394
|
uniqueTransactions24?: number | null;
|
|
9395
|
+
volumeChange1?: string | null;
|
|
9396
|
+
volumeChange4?: string | null;
|
|
9397
|
+
volumeChange12?: string | null;
|
|
9398
|
+
volumeChange24?: string | null;
|
|
8762
9399
|
volumeUSD1?: string | null;
|
|
8763
9400
|
volumeUSD4?: string | null;
|
|
8764
9401
|
volumeUSD12?: string | null;
|
|
@@ -9119,6 +9756,10 @@ export type FilterTokensQuery = {
|
|
|
9119
9756
|
volume4?: string | null;
|
|
9120
9757
|
volume12?: string | null;
|
|
9121
9758
|
volume24?: string | null;
|
|
9759
|
+
volumeChange1?: string | null;
|
|
9760
|
+
volumeChange4?: string | null;
|
|
9761
|
+
volumeChange12?: string | null;
|
|
9762
|
+
volumeChange24?: string | null;
|
|
9122
9763
|
exchanges?: Array<{
|
|
9123
9764
|
__typename?: 'Exchange';
|
|
9124
9765
|
address: string;
|
|
@@ -9404,6 +10045,110 @@ export type GetCommunityNotesQuery = {
|
|
|
9404
10045
|
proposalType: CommunityNoteType;
|
|
9405
10046
|
proposedAt: number;
|
|
9406
10047
|
sortKey: string;
|
|
10048
|
+
currentContract?: {
|
|
10049
|
+
__typename?: 'EnhancedNftContract';
|
|
10050
|
+
address: string;
|
|
10051
|
+
description?: string | null;
|
|
10052
|
+
ercType: string;
|
|
10053
|
+
id: string;
|
|
10054
|
+
image?: string | null;
|
|
10055
|
+
name?: string | null;
|
|
10056
|
+
networkId: number;
|
|
10057
|
+
symbol?: string | null;
|
|
10058
|
+
totalSupply?: string | null;
|
|
10059
|
+
labels?: Array<{
|
|
10060
|
+
__typename?: 'ContractLabel';
|
|
10061
|
+
createdAt: number;
|
|
10062
|
+
subType: ContractLabelSubType;
|
|
10063
|
+
type: ContractLabelType;
|
|
10064
|
+
} | null> | null;
|
|
10065
|
+
socialLinks?: {
|
|
10066
|
+
__typename?: 'SocialLinks';
|
|
10067
|
+
bitcointalk?: string | null;
|
|
10068
|
+
blog?: string | null;
|
|
10069
|
+
coingecko?: string | null;
|
|
10070
|
+
coinmarketcap?: string | null;
|
|
10071
|
+
discord?: string | null;
|
|
10072
|
+
email?: string | null;
|
|
10073
|
+
facebook?: string | null;
|
|
10074
|
+
github?: string | null;
|
|
10075
|
+
instagram?: string | null;
|
|
10076
|
+
linkedin?: string | null;
|
|
10077
|
+
reddit?: string | null;
|
|
10078
|
+
slack?: string | null;
|
|
10079
|
+
telegram?: string | null;
|
|
10080
|
+
twitch?: string | null;
|
|
10081
|
+
twitter?: string | null;
|
|
10082
|
+
website?: string | null;
|
|
10083
|
+
wechat?: string | null;
|
|
10084
|
+
whitepaper?: string | null;
|
|
10085
|
+
youtube?: string | null;
|
|
10086
|
+
} | null;
|
|
10087
|
+
} | {
|
|
10088
|
+
__typename?: 'EnhancedToken';
|
|
10089
|
+
address: string;
|
|
10090
|
+
cmcId?: number | null;
|
|
10091
|
+
createBlockNumber?: number | null;
|
|
10092
|
+
createTransactionHash?: string | null;
|
|
10093
|
+
createdAt?: number | null;
|
|
10094
|
+
creatorAddress?: string | null;
|
|
10095
|
+
decimals: number;
|
|
10096
|
+
id: string;
|
|
10097
|
+
isScam?: boolean | null;
|
|
10098
|
+
name?: string | null;
|
|
10099
|
+
networkId: number;
|
|
10100
|
+
symbol?: string | null;
|
|
10101
|
+
exchanges?: Array<{
|
|
10102
|
+
__typename?: 'Exchange';
|
|
10103
|
+
address: string;
|
|
10104
|
+
color?: string | null;
|
|
10105
|
+
exchangeVersion?: string | null;
|
|
10106
|
+
iconUrl?: string | null;
|
|
10107
|
+
id: string;
|
|
10108
|
+
name?: string | null;
|
|
10109
|
+
networkId: number;
|
|
10110
|
+
tradeUrl?: string | null;
|
|
10111
|
+
}> | null;
|
|
10112
|
+
info?: {
|
|
10113
|
+
__typename?: 'TokenInfo';
|
|
10114
|
+
address: string;
|
|
10115
|
+
circulatingSupply?: string | null;
|
|
10116
|
+
cmcId?: number | null;
|
|
10117
|
+
description?: string | null;
|
|
10118
|
+
id: string;
|
|
10119
|
+
imageBannerUrl?: string | null;
|
|
10120
|
+
imageLargeUrl?: string | null;
|
|
10121
|
+
imageSmallUrl?: string | null;
|
|
10122
|
+
imageThumbUrl?: string | null;
|
|
10123
|
+
isScam?: boolean | null;
|
|
10124
|
+
name?: string | null;
|
|
10125
|
+
networkId: number;
|
|
10126
|
+
symbol: string;
|
|
10127
|
+
totalSupply?: string | null;
|
|
10128
|
+
} | null;
|
|
10129
|
+
socialLinks?: {
|
|
10130
|
+
__typename?: 'SocialLinks';
|
|
10131
|
+
bitcointalk?: string | null;
|
|
10132
|
+
blog?: string | null;
|
|
10133
|
+
coingecko?: string | null;
|
|
10134
|
+
coinmarketcap?: string | null;
|
|
10135
|
+
discord?: string | null;
|
|
10136
|
+
email?: string | null;
|
|
10137
|
+
facebook?: string | null;
|
|
10138
|
+
github?: string | null;
|
|
10139
|
+
instagram?: string | null;
|
|
10140
|
+
linkedin?: string | null;
|
|
10141
|
+
reddit?: string | null;
|
|
10142
|
+
slack?: string | null;
|
|
10143
|
+
telegram?: string | null;
|
|
10144
|
+
twitch?: string | null;
|
|
10145
|
+
twitter?: string | null;
|
|
10146
|
+
website?: string | null;
|
|
10147
|
+
wechat?: string | null;
|
|
10148
|
+
whitepaper?: string | null;
|
|
10149
|
+
youtube?: string | null;
|
|
10150
|
+
} | null;
|
|
10151
|
+
} | null;
|
|
9407
10152
|
}>;
|
|
9408
10153
|
};
|
|
9409
10154
|
};
|
|
@@ -12576,6 +13321,16 @@ export type GetEventLabelsQuery = {
|
|
|
12576
13321
|
timestamp: number;
|
|
12577
13322
|
transactionHash: string;
|
|
12578
13323
|
transactionIndex: number;
|
|
13324
|
+
data: {
|
|
13325
|
+
__typename?: 'FrontRunLabelData';
|
|
13326
|
+
index?: number | null;
|
|
13327
|
+
token0DrainedAmountFrontRun: string;
|
|
13328
|
+
token1DrainedAmountFrontRun: string;
|
|
13329
|
+
} | {
|
|
13330
|
+
__typename?: 'SandwichedLabelData';
|
|
13331
|
+
token0DrainedAmount?: string | null;
|
|
13332
|
+
token1DrainedAmount?: string | null;
|
|
13333
|
+
};
|
|
12579
13334
|
} | null> | null;
|
|
12580
13335
|
} | null;
|
|
12581
13336
|
};
|
|
@@ -12975,6 +13730,50 @@ export type GetNftEventsQuery = {
|
|
|
12975
13730
|
totalTradePrice?: string | null;
|
|
12976
13731
|
transactionHash: string;
|
|
12977
13732
|
transactionIndex: number;
|
|
13733
|
+
tradeOffer?: Array<{
|
|
13734
|
+
__typename?: 'NftEventNftTradeItem';
|
|
13735
|
+
address: string;
|
|
13736
|
+
amount: string;
|
|
13737
|
+
recipient?: string | null;
|
|
13738
|
+
tokenId: string;
|
|
13739
|
+
type: NftEventTradeItemType;
|
|
13740
|
+
} | {
|
|
13741
|
+
__typename?: 'NftEventTokenTradeItem';
|
|
13742
|
+
address: string;
|
|
13743
|
+
amount: string;
|
|
13744
|
+
individualPriceNetworkBaseToken?: string | null;
|
|
13745
|
+
individualPriceUsd?: string | null;
|
|
13746
|
+
individualTradePrice?: string | null;
|
|
13747
|
+
isPrice: boolean;
|
|
13748
|
+
priceError?: string | null;
|
|
13749
|
+
recipient?: string | null;
|
|
13750
|
+
totalPriceNetworkBaseToken?: string | null;
|
|
13751
|
+
totalPriceUsd?: string | null;
|
|
13752
|
+
totalTradePrice?: string | null;
|
|
13753
|
+
type: NftEventTradeItemType;
|
|
13754
|
+
}> | null;
|
|
13755
|
+
tradeReceived?: Array<{
|
|
13756
|
+
__typename?: 'NftEventNftTradeItem';
|
|
13757
|
+
address: string;
|
|
13758
|
+
amount: string;
|
|
13759
|
+
recipient?: string | null;
|
|
13760
|
+
tokenId: string;
|
|
13761
|
+
type: NftEventTradeItemType;
|
|
13762
|
+
} | {
|
|
13763
|
+
__typename?: 'NftEventTokenTradeItem';
|
|
13764
|
+
address: string;
|
|
13765
|
+
amount: string;
|
|
13766
|
+
individualPriceNetworkBaseToken?: string | null;
|
|
13767
|
+
individualPriceUsd?: string | null;
|
|
13768
|
+
individualTradePrice?: string | null;
|
|
13769
|
+
isPrice: boolean;
|
|
13770
|
+
priceError?: string | null;
|
|
13771
|
+
recipient?: string | null;
|
|
13772
|
+
totalPriceNetworkBaseToken?: string | null;
|
|
13773
|
+
totalPriceUsd?: string | null;
|
|
13774
|
+
totalTradePrice?: string | null;
|
|
13775
|
+
type: NftEventTradeItemType;
|
|
13776
|
+
}> | null;
|
|
12978
13777
|
} | null> | null;
|
|
12979
13778
|
} | null;
|
|
12980
13779
|
};
|
|
@@ -13165,49 +13964,448 @@ export type GetNftPoolEventsQuery = {
|
|
|
13165
13964
|
tokenAddress: string;
|
|
13166
13965
|
transactionHash: string;
|
|
13167
13966
|
transactionIndex: number;
|
|
13168
|
-
|
|
13169
|
-
|
|
13170
|
-
|
|
13171
|
-
|
|
13172
|
-
|
|
13173
|
-
|
|
13174
|
-
|
|
13175
|
-
|
|
13176
|
-
|
|
13177
|
-
|
|
13178
|
-
|
|
13179
|
-
|
|
13180
|
-
|
|
13181
|
-
|
|
13182
|
-
|
|
13183
|
-
|
|
13184
|
-
|
|
13185
|
-
|
|
13186
|
-
|
|
13187
|
-
|
|
13188
|
-
|
|
13189
|
-
|
|
13190
|
-
|
|
13191
|
-
|
|
13192
|
-
|
|
13193
|
-
|
|
13194
|
-
|
|
13195
|
-
|
|
13196
|
-
|
|
13197
|
-
|
|
13198
|
-
|
|
13199
|
-
|
|
13200
|
-
|
|
13201
|
-
|
|
13202
|
-
|
|
13203
|
-
|
|
13204
|
-
|
|
13205
|
-
|
|
13206
|
-
|
|
13207
|
-
|
|
13208
|
-
|
|
13209
|
-
|
|
13210
|
-
|
|
13967
|
+
data: {
|
|
13968
|
+
__typename?: 'NewPoolEventData';
|
|
13969
|
+
assetRecipientAddress: string;
|
|
13970
|
+
bondingCurveAddress: string;
|
|
13971
|
+
bondingCurveType: BondingCurveType;
|
|
13972
|
+
buyPriceT: string;
|
|
13973
|
+
collectionAddress: string;
|
|
13974
|
+
createdAt: number;
|
|
13975
|
+
delta: string;
|
|
13976
|
+
feeAmountT: string;
|
|
13977
|
+
nbtRatio: string;
|
|
13978
|
+
networkId: number;
|
|
13979
|
+
nftTokenBalance: string;
|
|
13980
|
+
ownerAddress: string;
|
|
13981
|
+
poolAddress: string;
|
|
13982
|
+
sellPriceT: string;
|
|
13983
|
+
startPriceT: string;
|
|
13984
|
+
tokenAddress: string;
|
|
13985
|
+
tokenBalanceT: string;
|
|
13986
|
+
type: NftPoolEventType;
|
|
13987
|
+
usdRatio: string;
|
|
13988
|
+
} | {
|
|
13989
|
+
__typename?: 'NewPoolEventDataV2';
|
|
13990
|
+
assetRecipientAddress: string;
|
|
13991
|
+
bondingCurveAddress: string;
|
|
13992
|
+
bondingCurveType: BondingCurveType;
|
|
13993
|
+
buyPriceT: string;
|
|
13994
|
+
collectionAddress: string;
|
|
13995
|
+
createdAt: number;
|
|
13996
|
+
delta: string;
|
|
13997
|
+
feeAmountT: string;
|
|
13998
|
+
nbtRatio: string;
|
|
13999
|
+
networkId: number;
|
|
14000
|
+
nftTokenIds: Array<string>;
|
|
14001
|
+
nftTokenQuantities: Array<string | null>;
|
|
14002
|
+
ownerAddress: string;
|
|
14003
|
+
poolAddress: string;
|
|
14004
|
+
poolNftType: PoolNftType;
|
|
14005
|
+
propertyChecker?: string | null;
|
|
14006
|
+
sellPriceT: string;
|
|
14007
|
+
startPriceT: string;
|
|
14008
|
+
tokenAddress: string;
|
|
14009
|
+
tokenBalanceT: string;
|
|
14010
|
+
type: NftPoolEventType;
|
|
14011
|
+
usdRatio: string;
|
|
14012
|
+
nftAssets?: Array<{
|
|
14013
|
+
__typename?: 'NftAsset';
|
|
14014
|
+
address: string;
|
|
14015
|
+
description?: string | null;
|
|
14016
|
+
id: string;
|
|
14017
|
+
name?: string | null;
|
|
14018
|
+
networkId: number;
|
|
14019
|
+
originalImage?: string | null;
|
|
14020
|
+
quantity?: string | null;
|
|
14021
|
+
tokenId: string;
|
|
14022
|
+
uri?: string | null;
|
|
14023
|
+
attributes?: Array<{
|
|
14024
|
+
__typename?: 'NftAssetAttribute';
|
|
14025
|
+
class?: string | null;
|
|
14026
|
+
css?: string | null;
|
|
14027
|
+
displayType: NftAssetAttributeDisplayType;
|
|
14028
|
+
maxValue?: string | null;
|
|
14029
|
+
name: string;
|
|
14030
|
+
value: string;
|
|
14031
|
+
valueType: NftAssetAttributeType;
|
|
14032
|
+
}> | null;
|
|
14033
|
+
media?: {
|
|
14034
|
+
__typename?: 'NftAssetMedia';
|
|
14035
|
+
image: string;
|
|
14036
|
+
processed?: boolean | null;
|
|
14037
|
+
thumbLg: string;
|
|
14038
|
+
thumbSm: string;
|
|
14039
|
+
} | null;
|
|
14040
|
+
rawAssetData?: {
|
|
14041
|
+
__typename?: 'RawNftAssetData';
|
|
14042
|
+
animationUrl?: string | null;
|
|
14043
|
+
externalUrl?: string | null;
|
|
14044
|
+
imageData?: string | null;
|
|
14045
|
+
imageUrl?: string | null;
|
|
14046
|
+
} | null;
|
|
14047
|
+
} | null> | null;
|
|
14048
|
+
royalties?: Array<{
|
|
14049
|
+
__typename?: 'NftPoolRoyalty';
|
|
14050
|
+
percent?: string | null;
|
|
14051
|
+
recipient?: string | null;
|
|
14052
|
+
} | null> | null;
|
|
14053
|
+
} | {
|
|
14054
|
+
__typename?: 'NftPoolAssetRecipientUpdateEventData';
|
|
14055
|
+
newAssetRecipient: string;
|
|
14056
|
+
type: NftPoolEventType;
|
|
14057
|
+
} | {
|
|
14058
|
+
__typename?: 'NftPoolDeltaUpdateEventData';
|
|
14059
|
+
newDelta: string;
|
|
14060
|
+
type: NftPoolEventType;
|
|
14061
|
+
} | {
|
|
14062
|
+
__typename?: 'NftPoolFeeUpdateEventData';
|
|
14063
|
+
nbtRatio: string;
|
|
14064
|
+
newFeeT: string;
|
|
14065
|
+
type: NftPoolEventType;
|
|
14066
|
+
usdRatio: string;
|
|
14067
|
+
} | {
|
|
14068
|
+
__typename?: 'NftPoolNftDepositEventData';
|
|
14069
|
+
nftTokenBalance: string;
|
|
14070
|
+
nftTokenIds: Array<string>;
|
|
14071
|
+
tokenBalanceT: string;
|
|
14072
|
+
type: NftPoolEventType;
|
|
14073
|
+
} | {
|
|
14074
|
+
__typename?: 'NftPoolNftDepositEventDataV2';
|
|
14075
|
+
nftTokenAmounts: Array<string>;
|
|
14076
|
+
nftTokenIds: Array<string>;
|
|
14077
|
+
tokenBalanceT: string;
|
|
14078
|
+
type: NftPoolEventType;
|
|
14079
|
+
nftAssets?: Array<{
|
|
14080
|
+
__typename?: 'NftAsset';
|
|
14081
|
+
address: string;
|
|
14082
|
+
description?: string | null;
|
|
14083
|
+
id: string;
|
|
14084
|
+
name?: string | null;
|
|
14085
|
+
networkId: number;
|
|
14086
|
+
originalImage?: string | null;
|
|
14087
|
+
quantity?: string | null;
|
|
14088
|
+
tokenId: string;
|
|
14089
|
+
uri?: string | null;
|
|
14090
|
+
attributes?: Array<{
|
|
14091
|
+
__typename?: 'NftAssetAttribute';
|
|
14092
|
+
class?: string | null;
|
|
14093
|
+
css?: string | null;
|
|
14094
|
+
displayType: NftAssetAttributeDisplayType;
|
|
14095
|
+
maxValue?: string | null;
|
|
14096
|
+
name: string;
|
|
14097
|
+
value: string;
|
|
14098
|
+
valueType: NftAssetAttributeType;
|
|
14099
|
+
}> | null;
|
|
14100
|
+
media?: {
|
|
14101
|
+
__typename?: 'NftAssetMedia';
|
|
14102
|
+
image: string;
|
|
14103
|
+
processed?: boolean | null;
|
|
14104
|
+
thumbLg: string;
|
|
14105
|
+
thumbSm: string;
|
|
14106
|
+
} | null;
|
|
14107
|
+
rawAssetData?: {
|
|
14108
|
+
__typename?: 'RawNftAssetData';
|
|
14109
|
+
animationUrl?: string | null;
|
|
14110
|
+
externalUrl?: string | null;
|
|
14111
|
+
imageData?: string | null;
|
|
14112
|
+
imageUrl?: string | null;
|
|
14113
|
+
} | null;
|
|
14114
|
+
} | null> | null;
|
|
14115
|
+
} | {
|
|
14116
|
+
__typename?: 'NftPoolNftWithdrawalEventData';
|
|
14117
|
+
nftTokenBalance: string;
|
|
14118
|
+
nftTokenIds: Array<string>;
|
|
14119
|
+
tokenBalanceT: string;
|
|
14120
|
+
type: NftPoolEventType;
|
|
14121
|
+
} | {
|
|
14122
|
+
__typename?: 'NftPoolNftWithdrawalEventDataV2';
|
|
14123
|
+
nftTokenAmounts: Array<string>;
|
|
14124
|
+
nftTokenIds: Array<string>;
|
|
14125
|
+
tokenBalanceT: string;
|
|
14126
|
+
type: NftPoolEventType;
|
|
14127
|
+
nftAssets?: Array<{
|
|
14128
|
+
__typename?: 'NftAsset';
|
|
14129
|
+
address: string;
|
|
14130
|
+
description?: string | null;
|
|
14131
|
+
id: string;
|
|
14132
|
+
name?: string | null;
|
|
14133
|
+
networkId: number;
|
|
14134
|
+
originalImage?: string | null;
|
|
14135
|
+
quantity?: string | null;
|
|
14136
|
+
tokenId: string;
|
|
14137
|
+
uri?: string | null;
|
|
14138
|
+
attributes?: Array<{
|
|
14139
|
+
__typename?: 'NftAssetAttribute';
|
|
14140
|
+
class?: string | null;
|
|
14141
|
+
css?: string | null;
|
|
14142
|
+
displayType: NftAssetAttributeDisplayType;
|
|
14143
|
+
maxValue?: string | null;
|
|
14144
|
+
name: string;
|
|
14145
|
+
value: string;
|
|
14146
|
+
valueType: NftAssetAttributeType;
|
|
14147
|
+
}> | null;
|
|
14148
|
+
media?: {
|
|
14149
|
+
__typename?: 'NftAssetMedia';
|
|
14150
|
+
image: string;
|
|
14151
|
+
processed?: boolean | null;
|
|
14152
|
+
thumbLg: string;
|
|
14153
|
+
thumbSm: string;
|
|
14154
|
+
} | null;
|
|
14155
|
+
rawAssetData?: {
|
|
14156
|
+
__typename?: 'RawNftAssetData';
|
|
14157
|
+
animationUrl?: string | null;
|
|
14158
|
+
externalUrl?: string | null;
|
|
14159
|
+
imageData?: string | null;
|
|
14160
|
+
imageUrl?: string | null;
|
|
14161
|
+
} | null;
|
|
14162
|
+
} | null> | null;
|
|
14163
|
+
} | {
|
|
14164
|
+
__typename?: 'NftPoolOwnershipTransferredEventDataV2';
|
|
14165
|
+
newOwner: string;
|
|
14166
|
+
type: NftPoolEventType;
|
|
14167
|
+
} | {
|
|
14168
|
+
__typename?: 'NftPoolSpotPriceUpdateEventData';
|
|
14169
|
+
nbtRatio: string;
|
|
14170
|
+
newBuyPriceT: string;
|
|
14171
|
+
newSellPriceT: string;
|
|
14172
|
+
newSpotPriceT: string;
|
|
14173
|
+
type: NftPoolEventType;
|
|
14174
|
+
usdRatio: string;
|
|
14175
|
+
} | {
|
|
14176
|
+
__typename?: 'NftPoolSpotPriceUpdateEventDataV2';
|
|
14177
|
+
nbtRatio: string;
|
|
14178
|
+
newBuyPriceT: string;
|
|
14179
|
+
newSellPriceT: string;
|
|
14180
|
+
newSpotPriceT: string;
|
|
14181
|
+
type: NftPoolEventType;
|
|
14182
|
+
usdRatio: string;
|
|
14183
|
+
} | {
|
|
14184
|
+
__typename?: 'NftPoolTokenDepositEventData';
|
|
14185
|
+
amountT: string;
|
|
14186
|
+
nbtRatio: string;
|
|
14187
|
+
nftTokenBalance: string;
|
|
14188
|
+
tokenBalanceT: string;
|
|
14189
|
+
type: NftPoolEventType;
|
|
14190
|
+
usdRatio: string;
|
|
14191
|
+
} | {
|
|
14192
|
+
__typename?: 'NftPoolTokenDepositEventDataV2';
|
|
14193
|
+
amountT: string;
|
|
14194
|
+
nbtRatio: string;
|
|
14195
|
+
tokenBalanceT: string;
|
|
14196
|
+
type: NftPoolEventType;
|
|
14197
|
+
usdRatio: string;
|
|
14198
|
+
} | {
|
|
14199
|
+
__typename?: 'NftPoolTokenWithdrawalEventData';
|
|
14200
|
+
amountT: string;
|
|
14201
|
+
nbtRatio: string;
|
|
14202
|
+
nftTokenBalance: string;
|
|
14203
|
+
tokenBalanceT: string;
|
|
14204
|
+
type: NftPoolEventType;
|
|
14205
|
+
usdRatio: string;
|
|
14206
|
+
} | {
|
|
14207
|
+
__typename?: 'NftPoolTokenWithdrawalEventDataV2';
|
|
14208
|
+
amountT: string;
|
|
14209
|
+
nbtRatio: string;
|
|
14210
|
+
tokenBalanceT: string;
|
|
14211
|
+
type: NftPoolEventType;
|
|
14212
|
+
usdRatio: string;
|
|
14213
|
+
} | {
|
|
14214
|
+
__typename?: 'SwapNftInPoolEventData';
|
|
14215
|
+
amountT: string;
|
|
14216
|
+
nbtRatio: string;
|
|
14217
|
+
newBuyPriceT: string;
|
|
14218
|
+
newDelta: string;
|
|
14219
|
+
newSellPriceT: string;
|
|
14220
|
+
newSpotPriceT: string;
|
|
14221
|
+
nftTokenBalance: string;
|
|
14222
|
+
poolFeeT: string;
|
|
14223
|
+
protocolFeeT: string;
|
|
14224
|
+
tokenBalanceT: string;
|
|
14225
|
+
tokenId: string;
|
|
14226
|
+
type: NftPoolEventType;
|
|
14227
|
+
usdRatio: string;
|
|
14228
|
+
nftsTransfered?: Array<{
|
|
14229
|
+
__typename?: 'NftPoolEventNftTransfer';
|
|
14230
|
+
amountT: string;
|
|
14231
|
+
nftTokenId: string;
|
|
14232
|
+
} | null> | null;
|
|
14233
|
+
} | {
|
|
14234
|
+
__typename?: 'SwapNftInPoolEventDataV2';
|
|
14235
|
+
amountT: string;
|
|
14236
|
+
nbtRatio: string;
|
|
14237
|
+
newBuyPriceT: string;
|
|
14238
|
+
newDelta: string;
|
|
14239
|
+
newSellPriceT: string;
|
|
14240
|
+
newSpotPriceT: string;
|
|
14241
|
+
poolFeeT: string;
|
|
14242
|
+
protocolFeeT: string;
|
|
14243
|
+
tokenBalanceT: string;
|
|
14244
|
+
tokenId: string;
|
|
14245
|
+
type: NftPoolEventType;
|
|
14246
|
+
usdRatio: string;
|
|
14247
|
+
nftAssets?: Array<{
|
|
14248
|
+
__typename?: 'NftAsset';
|
|
14249
|
+
address: string;
|
|
14250
|
+
description?: string | null;
|
|
14251
|
+
id: string;
|
|
14252
|
+
name?: string | null;
|
|
14253
|
+
networkId: number;
|
|
14254
|
+
originalImage?: string | null;
|
|
14255
|
+
quantity?: string | null;
|
|
14256
|
+
tokenId: string;
|
|
14257
|
+
uri?: string | null;
|
|
14258
|
+
attributes?: Array<{
|
|
14259
|
+
__typename?: 'NftAssetAttribute';
|
|
14260
|
+
class?: string | null;
|
|
14261
|
+
css?: string | null;
|
|
14262
|
+
displayType: NftAssetAttributeDisplayType;
|
|
14263
|
+
maxValue?: string | null;
|
|
14264
|
+
name: string;
|
|
14265
|
+
value: string;
|
|
14266
|
+
valueType: NftAssetAttributeType;
|
|
14267
|
+
}> | null;
|
|
14268
|
+
media?: {
|
|
14269
|
+
__typename?: 'NftAssetMedia';
|
|
14270
|
+
image: string;
|
|
14271
|
+
processed?: boolean | null;
|
|
14272
|
+
thumbLg: string;
|
|
14273
|
+
thumbSm: string;
|
|
14274
|
+
} | null;
|
|
14275
|
+
rawAssetData?: {
|
|
14276
|
+
__typename?: 'RawNftAssetData';
|
|
14277
|
+
animationUrl?: string | null;
|
|
14278
|
+
externalUrl?: string | null;
|
|
14279
|
+
imageData?: string | null;
|
|
14280
|
+
imageUrl?: string | null;
|
|
14281
|
+
} | null;
|
|
14282
|
+
} | null> | null;
|
|
14283
|
+
nftsTransfered?: Array<{
|
|
14284
|
+
__typename?: 'NftPoolEventNftTransferV2';
|
|
14285
|
+
amountT: string;
|
|
14286
|
+
nftQuantity: string;
|
|
14287
|
+
nftTokenId: string;
|
|
14288
|
+
} | null> | null;
|
|
14289
|
+
} | {
|
|
14290
|
+
__typename?: 'SwapNftOutPoolEventData';
|
|
14291
|
+
amountT: string;
|
|
14292
|
+
nbtRatio: string;
|
|
14293
|
+
newBuyPriceT: string;
|
|
14294
|
+
newDelta: string;
|
|
14295
|
+
newSellPriceT: string;
|
|
14296
|
+
newSpotPriceT: string;
|
|
14297
|
+
nftTokenBalance: string;
|
|
14298
|
+
poolFeeT: string;
|
|
14299
|
+
protocolFeeT: string;
|
|
14300
|
+
tokenBalanceT: string;
|
|
14301
|
+
tokenId: string;
|
|
14302
|
+
type: NftPoolEventType;
|
|
14303
|
+
usdRatio: string;
|
|
14304
|
+
nftsTransfered?: Array<{
|
|
14305
|
+
__typename?: 'NftPoolEventNftTransfer';
|
|
14306
|
+
amountT: string;
|
|
14307
|
+
nftTokenId: string;
|
|
14308
|
+
} | null> | null;
|
|
14309
|
+
} | {
|
|
14310
|
+
__typename?: 'SwapNftOutPoolEventDataV2';
|
|
14311
|
+
amountT: string;
|
|
14312
|
+
nbtRatio: string;
|
|
14313
|
+
newBuyPriceT: string;
|
|
14314
|
+
newDelta: string;
|
|
14315
|
+
newSellPriceT: string;
|
|
14316
|
+
newSpotPriceT: string;
|
|
14317
|
+
poolFeeT: string;
|
|
14318
|
+
protocolFeeT: string;
|
|
14319
|
+
tokenBalanceT: string;
|
|
14320
|
+
tokenId: string;
|
|
14321
|
+
type: NftPoolEventType;
|
|
14322
|
+
usdRatio: string;
|
|
14323
|
+
nftAssets?: Array<{
|
|
14324
|
+
__typename?: 'NftAsset';
|
|
14325
|
+
address: string;
|
|
14326
|
+
description?: string | null;
|
|
14327
|
+
id: string;
|
|
14328
|
+
name?: string | null;
|
|
14329
|
+
networkId: number;
|
|
14330
|
+
originalImage?: string | null;
|
|
14331
|
+
quantity?: string | null;
|
|
14332
|
+
tokenId: string;
|
|
14333
|
+
uri?: string | null;
|
|
14334
|
+
attributes?: Array<{
|
|
14335
|
+
__typename?: 'NftAssetAttribute';
|
|
14336
|
+
class?: string | null;
|
|
14337
|
+
css?: string | null;
|
|
14338
|
+
displayType: NftAssetAttributeDisplayType;
|
|
14339
|
+
maxValue?: string | null;
|
|
14340
|
+
name: string;
|
|
14341
|
+
value: string;
|
|
14342
|
+
valueType: NftAssetAttributeType;
|
|
14343
|
+
}> | null;
|
|
14344
|
+
media?: {
|
|
14345
|
+
__typename?: 'NftAssetMedia';
|
|
14346
|
+
image: string;
|
|
14347
|
+
processed?: boolean | null;
|
|
14348
|
+
thumbLg: string;
|
|
14349
|
+
thumbSm: string;
|
|
14350
|
+
} | null;
|
|
14351
|
+
rawAssetData?: {
|
|
14352
|
+
__typename?: 'RawNftAssetData';
|
|
14353
|
+
animationUrl?: string | null;
|
|
14354
|
+
externalUrl?: string | null;
|
|
14355
|
+
imageData?: string | null;
|
|
14356
|
+
imageUrl?: string | null;
|
|
14357
|
+
} | null;
|
|
14358
|
+
} | null> | null;
|
|
14359
|
+
nftsTransfered?: Array<{
|
|
14360
|
+
__typename?: 'NftPoolEventNftTransferV2';
|
|
14361
|
+
amountT: string;
|
|
14362
|
+
nftQuantity: string;
|
|
14363
|
+
nftTokenId: string;
|
|
14364
|
+
} | null> | null;
|
|
14365
|
+
};
|
|
14366
|
+
} | null> | null;
|
|
14367
|
+
} | null;
|
|
14368
|
+
};
|
|
14369
|
+
export type GetNftPoolStatsQueryVariables = Exact<{
|
|
14370
|
+
collectionAddress: Scalars['String']['input'];
|
|
14371
|
+
endTime: Scalars['Int']['input'];
|
|
14372
|
+
exchangeAddress: Scalars['String']['input'];
|
|
14373
|
+
networkId: Scalars['Int']['input'];
|
|
14374
|
+
poolAddress?: InputMaybe<Scalars['String']['input']>;
|
|
14375
|
+
startTime: Scalars['Int']['input'];
|
|
14376
|
+
}>;
|
|
14377
|
+
export type GetNftPoolStatsQuery = {
|
|
14378
|
+
__typename?: 'Query';
|
|
14379
|
+
getNftPoolStats?: {
|
|
14380
|
+
__typename?: 'NftPoolStatsResponse';
|
|
14381
|
+
closeBalanceNBT?: string | null;
|
|
14382
|
+
closeNftBalanceV2?: string | null;
|
|
14383
|
+
collectionAddress: string;
|
|
14384
|
+
endTime: number;
|
|
14385
|
+
exchangeAddress: string;
|
|
14386
|
+
expenseNBT?: string | null;
|
|
14387
|
+
highFloorNBT?: string | null;
|
|
14388
|
+
highOfferNBT?: string | null;
|
|
14389
|
+
lowFloorNBT?: string | null;
|
|
14390
|
+
lowOfferNBT?: string | null;
|
|
14391
|
+
networkId: number;
|
|
14392
|
+
nftVolumeV2?: string | null;
|
|
14393
|
+
nftsBoughtV2?: string | null;
|
|
14394
|
+
nftsSoldV2?: string | null;
|
|
14395
|
+
openBalanceNBT?: string | null;
|
|
14396
|
+
openNftBalanceV2?: string | null;
|
|
14397
|
+
poolAddress?: string | null;
|
|
14398
|
+
poolFeesNBT?: string | null;
|
|
14399
|
+
protocolFeesNBT?: string | null;
|
|
14400
|
+
revenueNBT?: string | null;
|
|
14401
|
+
startTime: number;
|
|
14402
|
+
volumeNBT?: string | null;
|
|
14403
|
+
} | null;
|
|
14404
|
+
};
|
|
14405
|
+
export type GetNftPoolsByCollectionAndExchangeQueryVariables = Exact<{
|
|
14406
|
+
collectionAddress: Scalars['String']['input'];
|
|
14407
|
+
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
14408
|
+
exchangeAddress: Scalars['String']['input'];
|
|
13211
14409
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
13212
14410
|
networkId: Scalars['Int']['input'];
|
|
13213
14411
|
}>;
|
|
@@ -13569,6 +14767,123 @@ export type GetPrimePoolEventsQuery = {
|
|
|
13569
14767
|
timestamp: number;
|
|
13570
14768
|
transactionHash: string;
|
|
13571
14769
|
transactionIndex: number;
|
|
14770
|
+
data: {
|
|
14771
|
+
__typename?: 'PrimePoolCacheData';
|
|
14772
|
+
eventAmount: string;
|
|
14773
|
+
totalSupply: string;
|
|
14774
|
+
type: PrimePoolEventType;
|
|
14775
|
+
user: string;
|
|
14776
|
+
userCachedAmount: string;
|
|
14777
|
+
userEthRewardDebt: string;
|
|
14778
|
+
userPrimeRewardDebt: string;
|
|
14779
|
+
} | {
|
|
14780
|
+
__typename?: 'PrimePoolCachingPausedData';
|
|
14781
|
+
cachingPaused: boolean;
|
|
14782
|
+
type: PrimePoolEventType;
|
|
14783
|
+
} | {
|
|
14784
|
+
__typename?: 'PrimePoolClaimEthData';
|
|
14785
|
+
currency: PrimePoolCurrency;
|
|
14786
|
+
ethClaimed?: string | null;
|
|
14787
|
+
eventAmount: string;
|
|
14788
|
+
type: PrimePoolEventType;
|
|
14789
|
+
user: string;
|
|
14790
|
+
userEthRewardDebt: string;
|
|
14791
|
+
} | {
|
|
14792
|
+
__typename?: 'PrimePoolClaimPrimeData';
|
|
14793
|
+
currency: PrimePoolCurrency;
|
|
14794
|
+
eventAmount: string;
|
|
14795
|
+
type: PrimePoolEventType;
|
|
14796
|
+
user: string;
|
|
14797
|
+
userPrimeRewardDebt: string;
|
|
14798
|
+
} | {
|
|
14799
|
+
__typename?: 'PrimePoolEmergencyWithdrawData';
|
|
14800
|
+
eventAmount: string;
|
|
14801
|
+
totalSupply: string;
|
|
14802
|
+
type: PrimePoolEventType;
|
|
14803
|
+
user: string;
|
|
14804
|
+
userCachedAmount: string;
|
|
14805
|
+
userEthRewardDebt: string;
|
|
14806
|
+
userPrimeRewardDebt: string;
|
|
14807
|
+
} | {
|
|
14808
|
+
__typename?: 'PrimePoolEndTimestampUpdatedEthData';
|
|
14809
|
+
currency: PrimePoolCurrency;
|
|
14810
|
+
ethEndTimestamp: number;
|
|
14811
|
+
ethPerSecond: string;
|
|
14812
|
+
ethStartTimestamp: number;
|
|
14813
|
+
type: PrimePoolEventType;
|
|
14814
|
+
} | {
|
|
14815
|
+
__typename?: 'PrimePoolEndTimestampUpdatedPrimeData';
|
|
14816
|
+
currency: PrimePoolCurrency;
|
|
14817
|
+
primeEndTimestamp: number;
|
|
14818
|
+
primePerSecond: string;
|
|
14819
|
+
primeStartTimestamp: number;
|
|
14820
|
+
type: PrimePoolEventType;
|
|
14821
|
+
} | {
|
|
14822
|
+
__typename?: 'PrimePoolEthRewardsAddedData';
|
|
14823
|
+
amount: string;
|
|
14824
|
+
totalRewards: string;
|
|
14825
|
+
type: PrimePoolEventType;
|
|
14826
|
+
} | {
|
|
14827
|
+
__typename?: 'PrimePoolEthRewardsSetData';
|
|
14828
|
+
amount: string;
|
|
14829
|
+
totalRewards: string;
|
|
14830
|
+
type: PrimePoolEventType;
|
|
14831
|
+
} | {
|
|
14832
|
+
__typename?: 'PrimePoolLogPoolAdditionData';
|
|
14833
|
+
tokenIds: Array<string>;
|
|
14834
|
+
type: PrimePoolEventType;
|
|
14835
|
+
} | {
|
|
14836
|
+
__typename?: 'PrimePoolLogPoolSetAllocPointData';
|
|
14837
|
+
allocPoint: string;
|
|
14838
|
+
currency: PrimePoolCurrency;
|
|
14839
|
+
totalAllocPoint: string;
|
|
14840
|
+
type: PrimePoolEventType;
|
|
14841
|
+
} | {
|
|
14842
|
+
__typename?: 'PrimePoolLogSetPerSecondData';
|
|
14843
|
+
amount: string;
|
|
14844
|
+
currency: PrimePoolCurrency;
|
|
14845
|
+
endTimestamp: number;
|
|
14846
|
+
ethAmountPerSecond?: string | null;
|
|
14847
|
+
primeAmountPerSecond?: string | null;
|
|
14848
|
+
startTimestamp: number;
|
|
14849
|
+
type: PrimePoolEventType;
|
|
14850
|
+
} | {
|
|
14851
|
+
__typename?: 'PrimePoolLogUpdatePoolData';
|
|
14852
|
+
accPerShare: string;
|
|
14853
|
+
currency: PrimePoolCurrency;
|
|
14854
|
+
ethAmount?: string | null;
|
|
14855
|
+
lastRewardTimestamp: number;
|
|
14856
|
+
primeAmount?: string | null;
|
|
14857
|
+
supply: string;
|
|
14858
|
+
totalSupply: string;
|
|
14859
|
+
type: PrimePoolEventType;
|
|
14860
|
+
} | {
|
|
14861
|
+
__typename?: 'PrimePoolRewardDecreaseData';
|
|
14862
|
+
currency: PrimePoolCurrency;
|
|
14863
|
+
eventAmount: string;
|
|
14864
|
+
type: PrimePoolEventType;
|
|
14865
|
+
updatedAmount: string;
|
|
14866
|
+
} | {
|
|
14867
|
+
__typename?: 'PrimePoolRewardIncreaseData';
|
|
14868
|
+
currency: PrimePoolCurrency;
|
|
14869
|
+
eventAmount: string;
|
|
14870
|
+
type: PrimePoolEventType;
|
|
14871
|
+
updatedAmount: string;
|
|
14872
|
+
} | {
|
|
14873
|
+
__typename?: 'PrimePoolTimeCachePeriodUpdateData';
|
|
14874
|
+
currency: PrimePoolCurrency;
|
|
14875
|
+
timedCachePeriod: string;
|
|
14876
|
+
type: PrimePoolEventType;
|
|
14877
|
+
} | {
|
|
14878
|
+
__typename?: 'PrimePoolWithdrawData';
|
|
14879
|
+
eventAmount: string;
|
|
14880
|
+
totalSupply: string;
|
|
14881
|
+
type: PrimePoolEventType;
|
|
14882
|
+
user: string;
|
|
14883
|
+
userCachedAmount: string;
|
|
14884
|
+
userEthRewardDebt: string;
|
|
14885
|
+
userPrimeRewardDebt: string;
|
|
14886
|
+
};
|
|
13572
14887
|
} | null> | null;
|
|
13573
14888
|
} | null;
|
|
13574
14889
|
};
|
|
@@ -13835,6 +15150,54 @@ export type GetTokenEventsQuery = {
|
|
|
13835
15150
|
token1ValueBase?: string | null;
|
|
13836
15151
|
transactionHash: string;
|
|
13837
15152
|
transactionIndex: number;
|
|
15153
|
+
data?: {
|
|
15154
|
+
__typename?: 'BurnEventData';
|
|
15155
|
+
amount0?: string | null;
|
|
15156
|
+
amount0Shifted?: string | null;
|
|
15157
|
+
amount1?: string | null;
|
|
15158
|
+
amount1Shifted?: string | null;
|
|
15159
|
+
tickLower?: string | null;
|
|
15160
|
+
tickUpper?: string | null;
|
|
15161
|
+
type: EventType;
|
|
15162
|
+
} | {
|
|
15163
|
+
__typename?: 'MintEventData';
|
|
15164
|
+
amount0?: string | null;
|
|
15165
|
+
amount0Shifted?: string | null;
|
|
15166
|
+
amount1?: string | null;
|
|
15167
|
+
amount1Shifted?: string | null;
|
|
15168
|
+
tickLower?: string | null;
|
|
15169
|
+
tickUpper?: string | null;
|
|
15170
|
+
type: EventType;
|
|
15171
|
+
} | {
|
|
15172
|
+
__typename?: 'PoolBalanceChangedEventData';
|
|
15173
|
+
amount0?: string | null;
|
|
15174
|
+
amount0Shifted?: string | null;
|
|
15175
|
+
amount1?: string | null;
|
|
15176
|
+
amount1Shifted?: string | null;
|
|
15177
|
+
liquidity0?: string | null;
|
|
15178
|
+
liquidity1?: string | null;
|
|
15179
|
+
protocolFeeAmount0?: string | null;
|
|
15180
|
+
protocolFeeAmount1?: string | null;
|
|
15181
|
+
sender?: string | null;
|
|
15182
|
+
token0?: string | null;
|
|
15183
|
+
token1?: string | null;
|
|
15184
|
+
type: EventType;
|
|
15185
|
+
} | {
|
|
15186
|
+
__typename?: 'SwapEventData';
|
|
15187
|
+
amount0?: string | null;
|
|
15188
|
+
amount0In?: string | null;
|
|
15189
|
+
amount0Out?: string | null;
|
|
15190
|
+
amount1?: string | null;
|
|
15191
|
+
amount1In?: string | null;
|
|
15192
|
+
amount1Out?: string | null;
|
|
15193
|
+
amountNonLiquidityToken?: string | null;
|
|
15194
|
+
priceBaseToken?: string | null;
|
|
15195
|
+
priceBaseTokenTotal?: string | null;
|
|
15196
|
+
priceUsd?: string | null;
|
|
15197
|
+
priceUsdTotal?: string | null;
|
|
15198
|
+
tick?: string | null;
|
|
15199
|
+
type: EventType;
|
|
15200
|
+
} | null;
|
|
13838
15201
|
labels?: {
|
|
13839
15202
|
__typename?: 'LabelsForEvent';
|
|
13840
15203
|
sandwich?: {
|
|
@@ -13886,6 +15249,54 @@ export type GetTokenEventsForMakerQuery = {
|
|
|
13886
15249
|
token1ValueBase?: string | null;
|
|
13887
15250
|
transactionHash: string;
|
|
13888
15251
|
transactionIndex: number;
|
|
15252
|
+
data?: {
|
|
15253
|
+
__typename?: 'BurnEventData';
|
|
15254
|
+
amount0?: string | null;
|
|
15255
|
+
amount0Shifted?: string | null;
|
|
15256
|
+
amount1?: string | null;
|
|
15257
|
+
amount1Shifted?: string | null;
|
|
15258
|
+
tickLower?: string | null;
|
|
15259
|
+
tickUpper?: string | null;
|
|
15260
|
+
type: EventType;
|
|
15261
|
+
} | {
|
|
15262
|
+
__typename?: 'MintEventData';
|
|
15263
|
+
amount0?: string | null;
|
|
15264
|
+
amount0Shifted?: string | null;
|
|
15265
|
+
amount1?: string | null;
|
|
15266
|
+
amount1Shifted?: string | null;
|
|
15267
|
+
tickLower?: string | null;
|
|
15268
|
+
tickUpper?: string | null;
|
|
15269
|
+
type: EventType;
|
|
15270
|
+
} | {
|
|
15271
|
+
__typename?: 'PoolBalanceChangedEventData';
|
|
15272
|
+
amount0?: string | null;
|
|
15273
|
+
amount0Shifted?: string | null;
|
|
15274
|
+
amount1?: string | null;
|
|
15275
|
+
amount1Shifted?: string | null;
|
|
15276
|
+
liquidity0?: string | null;
|
|
15277
|
+
liquidity1?: string | null;
|
|
15278
|
+
protocolFeeAmount0?: string | null;
|
|
15279
|
+
protocolFeeAmount1?: string | null;
|
|
15280
|
+
sender?: string | null;
|
|
15281
|
+
token0?: string | null;
|
|
15282
|
+
token1?: string | null;
|
|
15283
|
+
type: EventType;
|
|
15284
|
+
} | {
|
|
15285
|
+
__typename?: 'SwapEventData';
|
|
15286
|
+
amount0?: string | null;
|
|
15287
|
+
amount0In?: string | null;
|
|
15288
|
+
amount0Out?: string | null;
|
|
15289
|
+
amount1?: string | null;
|
|
15290
|
+
amount1In?: string | null;
|
|
15291
|
+
amount1Out?: string | null;
|
|
15292
|
+
amountNonLiquidityToken?: string | null;
|
|
15293
|
+
priceBaseToken?: string | null;
|
|
15294
|
+
priceBaseTokenTotal?: string | null;
|
|
15295
|
+
priceUsd?: string | null;
|
|
15296
|
+
priceUsdTotal?: string | null;
|
|
15297
|
+
tick?: string | null;
|
|
15298
|
+
type: EventType;
|
|
15299
|
+
} | null;
|
|
13889
15300
|
labels?: {
|
|
13890
15301
|
__typename?: 'LabelsForEvent';
|
|
13891
15302
|
sandwich?: {
|
|
@@ -13937,6 +15348,7 @@ export type GetTokenPricesQuery = {
|
|
|
13937
15348
|
address: string;
|
|
13938
15349
|
confidence?: number | null;
|
|
13939
15350
|
networkId: number;
|
|
15351
|
+
poolAddress: string;
|
|
13940
15352
|
priceUsd: number;
|
|
13941
15353
|
timestamp: number;
|
|
13942
15354
|
} | null> | null;
|
|
@@ -14010,6 +15422,127 @@ export type GetWebhooksQuery = {
|
|
|
14010
15422
|
publishingType?: PublishingType | null;
|
|
14011
15423
|
status: string;
|
|
14012
15424
|
webhookType: WebhookType;
|
|
15425
|
+
conditions: {
|
|
15426
|
+
__typename?: 'NftEventWebhookCondition';
|
|
15427
|
+
ignoreTransfers?: boolean | null;
|
|
15428
|
+
contractAddress?: {
|
|
15429
|
+
__typename?: 'StringEqualsCondition';
|
|
15430
|
+
eq: string;
|
|
15431
|
+
} | null;
|
|
15432
|
+
eventType?: {
|
|
15433
|
+
__typename?: 'NftEventTypeCondition';
|
|
15434
|
+
eq: WebhookNftEventType;
|
|
15435
|
+
} | null;
|
|
15436
|
+
exchangeAddress?: {
|
|
15437
|
+
__typename?: 'StringEqualsCondition';
|
|
15438
|
+
eq: string;
|
|
15439
|
+
} | null;
|
|
15440
|
+
fillSource?: {
|
|
15441
|
+
__typename?: 'NftEventFillSourceCondition';
|
|
15442
|
+
oneOf: Array<WebhookNftEventFillSource>;
|
|
15443
|
+
} | null;
|
|
15444
|
+
individualBaseTokenPrice?: {
|
|
15445
|
+
__typename?: 'ComparisonOperator';
|
|
15446
|
+
eq?: string | null;
|
|
15447
|
+
gt?: string | null;
|
|
15448
|
+
gte?: string | null;
|
|
15449
|
+
lt?: string | null;
|
|
15450
|
+
lte?: string | null;
|
|
15451
|
+
} | null;
|
|
15452
|
+
maker?: {
|
|
15453
|
+
__typename?: 'StringEqualsCondition';
|
|
15454
|
+
eq: string;
|
|
15455
|
+
} | null;
|
|
15456
|
+
networkId?: {
|
|
15457
|
+
__typename?: 'OneOfNumberCondition';
|
|
15458
|
+
oneOf: Array<number>;
|
|
15459
|
+
} | null;
|
|
15460
|
+
tokenAddress?: {
|
|
15461
|
+
__typename?: 'StringEqualsCondition';
|
|
15462
|
+
eq: string;
|
|
15463
|
+
} | null;
|
|
15464
|
+
tokenId?: {
|
|
15465
|
+
__typename?: 'StringEqualsCondition';
|
|
15466
|
+
eq: string;
|
|
15467
|
+
} | null;
|
|
15468
|
+
} | {
|
|
15469
|
+
__typename?: 'PriceEventWebhookCondition';
|
|
15470
|
+
priceNetworkId: {
|
|
15471
|
+
__typename?: 'IntEqualsCondition';
|
|
15472
|
+
eq: number;
|
|
15473
|
+
};
|
|
15474
|
+
priceUsd: {
|
|
15475
|
+
__typename?: 'ComparisonOperator';
|
|
15476
|
+
eq?: string | null;
|
|
15477
|
+
gt?: string | null;
|
|
15478
|
+
gte?: string | null;
|
|
15479
|
+
lt?: string | null;
|
|
15480
|
+
lte?: string | null;
|
|
15481
|
+
};
|
|
15482
|
+
priceTokenAddress: {
|
|
15483
|
+
__typename?: 'StringEqualsCondition';
|
|
15484
|
+
eq: string;
|
|
15485
|
+
};
|
|
15486
|
+
} | {
|
|
15487
|
+
__typename?: 'RawTransactionWebhookCondition';
|
|
15488
|
+
ignoreNftEvents?: boolean | null;
|
|
15489
|
+
ignoreTokenPairEvents?: boolean | null;
|
|
15490
|
+
from?: {
|
|
15491
|
+
__typename?: 'StringEqualsCondition';
|
|
15492
|
+
eq: string;
|
|
15493
|
+
} | null;
|
|
15494
|
+
input?: {
|
|
15495
|
+
__typename?: 'StringContainsCondition';
|
|
15496
|
+
contains?: Array<string> | null;
|
|
15497
|
+
notContains?: Array<string> | null;
|
|
15498
|
+
} | null;
|
|
15499
|
+
networkId?: {
|
|
15500
|
+
__typename?: 'OneOfNumberCondition';
|
|
15501
|
+
oneOf: Array<number>;
|
|
15502
|
+
} | null;
|
|
15503
|
+
to?: {
|
|
15504
|
+
__typename?: 'StringEqualsCondition';
|
|
15505
|
+
eq: string;
|
|
15506
|
+
} | null;
|
|
15507
|
+
toOrFrom?: {
|
|
15508
|
+
__typename?: 'StringEqualsCondition';
|
|
15509
|
+
eq: string;
|
|
15510
|
+
} | null;
|
|
15511
|
+
} | {
|
|
15512
|
+
__typename?: 'TokenPairEventWebhookCondition';
|
|
15513
|
+
eventType?: {
|
|
15514
|
+
__typename?: 'TokenPairEventTypeCondition';
|
|
15515
|
+
oneOf: Array<TokenPairEventType>;
|
|
15516
|
+
} | null;
|
|
15517
|
+
exchangeAddress?: {
|
|
15518
|
+
__typename?: 'StringEqualsCondition';
|
|
15519
|
+
eq: string;
|
|
15520
|
+
} | null;
|
|
15521
|
+
maker?: {
|
|
15522
|
+
__typename?: 'StringEqualsCondition';
|
|
15523
|
+
eq: string;
|
|
15524
|
+
} | null;
|
|
15525
|
+
networkId?: {
|
|
15526
|
+
__typename?: 'OneOfNumberCondition';
|
|
15527
|
+
oneOf: Array<number>;
|
|
15528
|
+
} | null;
|
|
15529
|
+
pairAddress?: {
|
|
15530
|
+
__typename?: 'StringEqualsCondition';
|
|
15531
|
+
eq: string;
|
|
15532
|
+
} | null;
|
|
15533
|
+
swapValue?: {
|
|
15534
|
+
__typename?: 'ComparisonOperator';
|
|
15535
|
+
eq?: string | null;
|
|
15536
|
+
gt?: string | null;
|
|
15537
|
+
gte?: string | null;
|
|
15538
|
+
lt?: string | null;
|
|
15539
|
+
lte?: string | null;
|
|
15540
|
+
} | null;
|
|
15541
|
+
tokenAddress?: {
|
|
15542
|
+
__typename?: 'StringEqualsCondition';
|
|
15543
|
+
eq: string;
|
|
15544
|
+
} | null;
|
|
15545
|
+
};
|
|
14013
15546
|
retrySettings?: {
|
|
14014
15547
|
__typename?: 'RetrySettings';
|
|
14015
15548
|
maxRetries?: number | null;
|
|
@@ -14932,6 +16465,17 @@ export type TokenLifecycleEventsQuery = {
|
|
|
14932
16465
|
tokenAddress: string;
|
|
14933
16466
|
transactionHash: string;
|
|
14934
16467
|
transactionIndex: number;
|
|
16468
|
+
data: {
|
|
16469
|
+
__typename?: 'TokenBurnEventData';
|
|
16470
|
+
amount: string;
|
|
16471
|
+
circulatingSupply?: string | null;
|
|
16472
|
+
totalSupply?: string | null;
|
|
16473
|
+
} | {
|
|
16474
|
+
__typename?: 'TokenMintEventData';
|
|
16475
|
+
amount: string;
|
|
16476
|
+
circulatingSupply?: string | null;
|
|
16477
|
+
totalSupply?: string | null;
|
|
16478
|
+
};
|
|
14935
16479
|
} | null>;
|
|
14936
16480
|
} | null;
|
|
14937
16481
|
};
|
|
@@ -15069,6 +16613,7 @@ export type OnBarsUpdatedSubscription = {
|
|
|
15069
16613
|
pairAddress: string;
|
|
15070
16614
|
pairId: string;
|
|
15071
16615
|
quoteToken?: QuoteToken | null;
|
|
16616
|
+
quoteTokenAddress: string;
|
|
15072
16617
|
statsType: TokenPairStatisticsType;
|
|
15073
16618
|
timestamp: number;
|
|
15074
16619
|
aggregates: {
|
|
@@ -15469,6 +17014,50 @@ export type OnBarsUpdatedSubscription = {
|
|
|
15469
17014
|
volumeNativeToken: string;
|
|
15470
17015
|
};
|
|
15471
17016
|
} | null;
|
|
17017
|
+
r30S?: {
|
|
17018
|
+
__typename?: 'CurrencyBarData';
|
|
17019
|
+
t: number;
|
|
17020
|
+
token: {
|
|
17021
|
+
__typename?: 'IndividualBarData';
|
|
17022
|
+
buyVolume: string;
|
|
17023
|
+
buyers: number;
|
|
17024
|
+
buys: number;
|
|
17025
|
+
c: number;
|
|
17026
|
+
h: number;
|
|
17027
|
+
l: number;
|
|
17028
|
+
liquidity: string;
|
|
17029
|
+
o: number;
|
|
17030
|
+
sellVolume: string;
|
|
17031
|
+
sellers: number;
|
|
17032
|
+
sells: number;
|
|
17033
|
+
t: number;
|
|
17034
|
+
traders: number;
|
|
17035
|
+
transactions: number;
|
|
17036
|
+
v?: number | null;
|
|
17037
|
+
volume: string;
|
|
17038
|
+
volumeNativeToken: string;
|
|
17039
|
+
};
|
|
17040
|
+
usd: {
|
|
17041
|
+
__typename?: 'IndividualBarData';
|
|
17042
|
+
buyVolume: string;
|
|
17043
|
+
buyers: number;
|
|
17044
|
+
buys: number;
|
|
17045
|
+
c: number;
|
|
17046
|
+
h: number;
|
|
17047
|
+
l: number;
|
|
17048
|
+
liquidity: string;
|
|
17049
|
+
o: number;
|
|
17050
|
+
sellVolume: string;
|
|
17051
|
+
sellers: number;
|
|
17052
|
+
sells: number;
|
|
17053
|
+
t: number;
|
|
17054
|
+
traders: number;
|
|
17055
|
+
transactions: number;
|
|
17056
|
+
v?: number | null;
|
|
17057
|
+
volume: string;
|
|
17058
|
+
volumeNativeToken: string;
|
|
17059
|
+
};
|
|
17060
|
+
} | null;
|
|
15472
17061
|
r60?: {
|
|
15473
17062
|
__typename?: 'CurrencyBarData';
|
|
15474
17063
|
t: number;
|
|
@@ -16004,6 +17593,16 @@ export type OnEventLabelCreatedSubscription = {
|
|
|
16004
17593
|
timestamp: number;
|
|
16005
17594
|
transactionHash: string;
|
|
16006
17595
|
transactionIndex: number;
|
|
17596
|
+
data: {
|
|
17597
|
+
__typename?: 'FrontRunLabelData';
|
|
17598
|
+
index?: number | null;
|
|
17599
|
+
token0DrainedAmount: string;
|
|
17600
|
+
token1DrainedAmount: string;
|
|
17601
|
+
} | {
|
|
17602
|
+
__typename?: 'SandwichedLabelData';
|
|
17603
|
+
token0DrainedAmountSandwich?: string | null;
|
|
17604
|
+
token1DrainedAmountSandwich?: string | null;
|
|
17605
|
+
};
|
|
16007
17606
|
} | null;
|
|
16008
17607
|
};
|
|
16009
17608
|
export type OnEventsCreatedSubscriptionVariables = Exact<{
|
|
@@ -16042,6 +17641,54 @@ export type OnEventsCreatedSubscription = {
|
|
|
16042
17641
|
token1ValueBase?: string | null;
|
|
16043
17642
|
transactionHash: string;
|
|
16044
17643
|
transactionIndex: number;
|
|
17644
|
+
data?: {
|
|
17645
|
+
__typename?: 'BurnEventData';
|
|
17646
|
+
amount0?: string | null;
|
|
17647
|
+
amount0Shifted?: string | null;
|
|
17648
|
+
amount1?: string | null;
|
|
17649
|
+
amount1Shifted?: string | null;
|
|
17650
|
+
tickLower?: string | null;
|
|
17651
|
+
tickUpper?: string | null;
|
|
17652
|
+
type: EventType;
|
|
17653
|
+
} | {
|
|
17654
|
+
__typename?: 'MintEventData';
|
|
17655
|
+
amount0?: string | null;
|
|
17656
|
+
amount0Shifted?: string | null;
|
|
17657
|
+
amount1?: string | null;
|
|
17658
|
+
amount1Shifted?: string | null;
|
|
17659
|
+
tickLower?: string | null;
|
|
17660
|
+
tickUpper?: string | null;
|
|
17661
|
+
type: EventType;
|
|
17662
|
+
} | {
|
|
17663
|
+
__typename?: 'PoolBalanceChangedEventData';
|
|
17664
|
+
amount0?: string | null;
|
|
17665
|
+
amount0Shifted?: string | null;
|
|
17666
|
+
amount1?: string | null;
|
|
17667
|
+
amount1Shifted?: string | null;
|
|
17668
|
+
liquidity0?: string | null;
|
|
17669
|
+
liquidity1?: string | null;
|
|
17670
|
+
protocolFeeAmount0?: string | null;
|
|
17671
|
+
protocolFeeAmount1?: string | null;
|
|
17672
|
+
sender?: string | null;
|
|
17673
|
+
token0?: string | null;
|
|
17674
|
+
token1?: string | null;
|
|
17675
|
+
type: EventType;
|
|
17676
|
+
} | {
|
|
17677
|
+
__typename?: 'SwapEventData';
|
|
17678
|
+
amount0?: string | null;
|
|
17679
|
+
amount0In?: string | null;
|
|
17680
|
+
amount0Out?: string | null;
|
|
17681
|
+
amount1?: string | null;
|
|
17682
|
+
amount1In?: string | null;
|
|
17683
|
+
amount1Out?: string | null;
|
|
17684
|
+
amountNonLiquidityToken?: string | null;
|
|
17685
|
+
priceBaseToken?: string | null;
|
|
17686
|
+
priceBaseTokenTotal?: string | null;
|
|
17687
|
+
priceUsd?: string | null;
|
|
17688
|
+
priceUsdTotal?: string | null;
|
|
17689
|
+
tick?: string | null;
|
|
17690
|
+
type: EventType;
|
|
17691
|
+
} | null;
|
|
16045
17692
|
labels?: {
|
|
16046
17693
|
__typename?: 'LabelsForEvent';
|
|
16047
17694
|
sandwich?: {
|
|
@@ -16234,6 +17881,50 @@ export type OnNftEventsCreatedSubscription = {
|
|
|
16234
17881
|
totalTradePrice?: string | null;
|
|
16235
17882
|
transactionHash: string;
|
|
16236
17883
|
transactionIndex: number;
|
|
17884
|
+
tradeOffer?: Array<{
|
|
17885
|
+
__typename?: 'NftEventNftTradeItem';
|
|
17886
|
+
address: string;
|
|
17887
|
+
amount: string;
|
|
17888
|
+
recipient?: string | null;
|
|
17889
|
+
tokenId: string;
|
|
17890
|
+
type: NftEventTradeItemType;
|
|
17891
|
+
} | {
|
|
17892
|
+
__typename?: 'NftEventTokenTradeItem';
|
|
17893
|
+
address: string;
|
|
17894
|
+
amount: string;
|
|
17895
|
+
individualPriceNetworkBaseToken?: string | null;
|
|
17896
|
+
individualPriceUsd?: string | null;
|
|
17897
|
+
individualTradePrice?: string | null;
|
|
17898
|
+
isPrice: boolean;
|
|
17899
|
+
priceError?: string | null;
|
|
17900
|
+
recipient?: string | null;
|
|
17901
|
+
totalPriceNetworkBaseToken?: string | null;
|
|
17902
|
+
totalPriceUsd?: string | null;
|
|
17903
|
+
totalTradePrice?: string | null;
|
|
17904
|
+
type: NftEventTradeItemType;
|
|
17905
|
+
}> | null;
|
|
17906
|
+
tradeReceived?: Array<{
|
|
17907
|
+
__typename?: 'NftEventNftTradeItem';
|
|
17908
|
+
address: string;
|
|
17909
|
+
amount: string;
|
|
17910
|
+
recipient?: string | null;
|
|
17911
|
+
tokenId: string;
|
|
17912
|
+
type: NftEventTradeItemType;
|
|
17913
|
+
} | {
|
|
17914
|
+
__typename?: 'NftEventTokenTradeItem';
|
|
17915
|
+
address: string;
|
|
17916
|
+
amount: string;
|
|
17917
|
+
individualPriceNetworkBaseToken?: string | null;
|
|
17918
|
+
individualPriceUsd?: string | null;
|
|
17919
|
+
individualTradePrice?: string | null;
|
|
17920
|
+
isPrice: boolean;
|
|
17921
|
+
priceError?: string | null;
|
|
17922
|
+
recipient?: string | null;
|
|
17923
|
+
totalPriceNetworkBaseToken?: string | null;
|
|
17924
|
+
totalPriceUsd?: string | null;
|
|
17925
|
+
totalTradePrice?: string | null;
|
|
17926
|
+
type: NftEventTradeItemType;
|
|
17927
|
+
}> | null;
|
|
16237
17928
|
} | null>;
|
|
16238
17929
|
} | null;
|
|
16239
17930
|
};
|
|
@@ -16270,6 +17961,405 @@ export type OnNftPoolEventsCreatedSubscription = {
|
|
|
16270
17961
|
tokenAddress: string;
|
|
16271
17962
|
transactionHash: string;
|
|
16272
17963
|
transactionIndex: number;
|
|
17964
|
+
data: {
|
|
17965
|
+
__typename?: 'NewPoolEventData';
|
|
17966
|
+
assetRecipientAddress: string;
|
|
17967
|
+
bondingCurveAddress: string;
|
|
17968
|
+
bondingCurveType: BondingCurveType;
|
|
17969
|
+
buyPriceT: string;
|
|
17970
|
+
collectionAddress: string;
|
|
17971
|
+
createdAt: number;
|
|
17972
|
+
delta: string;
|
|
17973
|
+
feeAmountT: string;
|
|
17974
|
+
nbtRatio: string;
|
|
17975
|
+
networkId: number;
|
|
17976
|
+
nftTokenBalance: string;
|
|
17977
|
+
ownerAddress: string;
|
|
17978
|
+
poolAddress: string;
|
|
17979
|
+
sellPriceT: string;
|
|
17980
|
+
startPriceT: string;
|
|
17981
|
+
tokenAddress: string;
|
|
17982
|
+
tokenBalanceT: string;
|
|
17983
|
+
type: NftPoolEventType;
|
|
17984
|
+
usdRatio: string;
|
|
17985
|
+
} | {
|
|
17986
|
+
__typename?: 'NewPoolEventDataV2';
|
|
17987
|
+
assetRecipientAddress: string;
|
|
17988
|
+
bondingCurveAddress: string;
|
|
17989
|
+
bondingCurveType: BondingCurveType;
|
|
17990
|
+
buyPriceT: string;
|
|
17991
|
+
collectionAddress: string;
|
|
17992
|
+
createdAt: number;
|
|
17993
|
+
delta: string;
|
|
17994
|
+
feeAmountT: string;
|
|
17995
|
+
nbtRatio: string;
|
|
17996
|
+
networkId: number;
|
|
17997
|
+
nftTokenIds: Array<string>;
|
|
17998
|
+
nftTokenQuantities: Array<string | null>;
|
|
17999
|
+
ownerAddress: string;
|
|
18000
|
+
poolAddress: string;
|
|
18001
|
+
poolNftType: PoolNftType;
|
|
18002
|
+
propertyChecker?: string | null;
|
|
18003
|
+
sellPriceT: string;
|
|
18004
|
+
startPriceT: string;
|
|
18005
|
+
tokenAddress: string;
|
|
18006
|
+
tokenBalanceT: string;
|
|
18007
|
+
type: NftPoolEventType;
|
|
18008
|
+
usdRatio: string;
|
|
18009
|
+
nftAssets?: Array<{
|
|
18010
|
+
__typename?: 'NftAsset';
|
|
18011
|
+
address: string;
|
|
18012
|
+
description?: string | null;
|
|
18013
|
+
id: string;
|
|
18014
|
+
name?: string | null;
|
|
18015
|
+
networkId: number;
|
|
18016
|
+
originalImage?: string | null;
|
|
18017
|
+
quantity?: string | null;
|
|
18018
|
+
tokenId: string;
|
|
18019
|
+
uri?: string | null;
|
|
18020
|
+
attributes?: Array<{
|
|
18021
|
+
__typename?: 'NftAssetAttribute';
|
|
18022
|
+
class?: string | null;
|
|
18023
|
+
css?: string | null;
|
|
18024
|
+
displayType: NftAssetAttributeDisplayType;
|
|
18025
|
+
maxValue?: string | null;
|
|
18026
|
+
name: string;
|
|
18027
|
+
value: string;
|
|
18028
|
+
valueType: NftAssetAttributeType;
|
|
18029
|
+
}> | null;
|
|
18030
|
+
media?: {
|
|
18031
|
+
__typename?: 'NftAssetMedia';
|
|
18032
|
+
image: string;
|
|
18033
|
+
processed?: boolean | null;
|
|
18034
|
+
thumbLg: string;
|
|
18035
|
+
thumbSm: string;
|
|
18036
|
+
} | null;
|
|
18037
|
+
rawAssetData?: {
|
|
18038
|
+
__typename?: 'RawNftAssetData';
|
|
18039
|
+
animationUrl?: string | null;
|
|
18040
|
+
externalUrl?: string | null;
|
|
18041
|
+
imageData?: string | null;
|
|
18042
|
+
imageUrl?: string | null;
|
|
18043
|
+
} | null;
|
|
18044
|
+
} | null> | null;
|
|
18045
|
+
royalties?: Array<{
|
|
18046
|
+
__typename?: 'NftPoolRoyalty';
|
|
18047
|
+
percent?: string | null;
|
|
18048
|
+
recipient?: string | null;
|
|
18049
|
+
} | null> | null;
|
|
18050
|
+
} | {
|
|
18051
|
+
__typename?: 'NftPoolAssetRecipientUpdateEventData';
|
|
18052
|
+
newAssetRecipient: string;
|
|
18053
|
+
type: NftPoolEventType;
|
|
18054
|
+
} | {
|
|
18055
|
+
__typename?: 'NftPoolDeltaUpdateEventData';
|
|
18056
|
+
newDelta: string;
|
|
18057
|
+
type: NftPoolEventType;
|
|
18058
|
+
} | {
|
|
18059
|
+
__typename?: 'NftPoolFeeUpdateEventData';
|
|
18060
|
+
nbtRatio: string;
|
|
18061
|
+
newFeeT: string;
|
|
18062
|
+
type: NftPoolEventType;
|
|
18063
|
+
usdRatio: string;
|
|
18064
|
+
} | {
|
|
18065
|
+
__typename?: 'NftPoolNftDepositEventData';
|
|
18066
|
+
nftTokenBalance: string;
|
|
18067
|
+
nftTokenIds: Array<string>;
|
|
18068
|
+
tokenBalanceT: string;
|
|
18069
|
+
type: NftPoolEventType;
|
|
18070
|
+
} | {
|
|
18071
|
+
__typename?: 'NftPoolNftDepositEventDataV2';
|
|
18072
|
+
nftTokenAmounts: Array<string>;
|
|
18073
|
+
nftTokenIds: Array<string>;
|
|
18074
|
+
tokenBalanceT: string;
|
|
18075
|
+
type: NftPoolEventType;
|
|
18076
|
+
nftAssets?: Array<{
|
|
18077
|
+
__typename?: 'NftAsset';
|
|
18078
|
+
address: string;
|
|
18079
|
+
description?: string | null;
|
|
18080
|
+
id: string;
|
|
18081
|
+
name?: string | null;
|
|
18082
|
+
networkId: number;
|
|
18083
|
+
originalImage?: string | null;
|
|
18084
|
+
quantity?: string | null;
|
|
18085
|
+
tokenId: string;
|
|
18086
|
+
uri?: string | null;
|
|
18087
|
+
attributes?: Array<{
|
|
18088
|
+
__typename?: 'NftAssetAttribute';
|
|
18089
|
+
class?: string | null;
|
|
18090
|
+
css?: string | null;
|
|
18091
|
+
displayType: NftAssetAttributeDisplayType;
|
|
18092
|
+
maxValue?: string | null;
|
|
18093
|
+
name: string;
|
|
18094
|
+
value: string;
|
|
18095
|
+
valueType: NftAssetAttributeType;
|
|
18096
|
+
}> | null;
|
|
18097
|
+
media?: {
|
|
18098
|
+
__typename?: 'NftAssetMedia';
|
|
18099
|
+
image: string;
|
|
18100
|
+
processed?: boolean | null;
|
|
18101
|
+
thumbLg: string;
|
|
18102
|
+
thumbSm: string;
|
|
18103
|
+
} | null;
|
|
18104
|
+
rawAssetData?: {
|
|
18105
|
+
__typename?: 'RawNftAssetData';
|
|
18106
|
+
animationUrl?: string | null;
|
|
18107
|
+
externalUrl?: string | null;
|
|
18108
|
+
imageData?: string | null;
|
|
18109
|
+
imageUrl?: string | null;
|
|
18110
|
+
} | null;
|
|
18111
|
+
} | null> | null;
|
|
18112
|
+
} | {
|
|
18113
|
+
__typename?: 'NftPoolNftWithdrawalEventData';
|
|
18114
|
+
nftTokenBalance: string;
|
|
18115
|
+
nftTokenIds: Array<string>;
|
|
18116
|
+
tokenBalanceT: string;
|
|
18117
|
+
type: NftPoolEventType;
|
|
18118
|
+
} | {
|
|
18119
|
+
__typename?: 'NftPoolNftWithdrawalEventDataV2';
|
|
18120
|
+
nftTokenAmounts: Array<string>;
|
|
18121
|
+
nftTokenIds: Array<string>;
|
|
18122
|
+
tokenBalanceT: string;
|
|
18123
|
+
type: NftPoolEventType;
|
|
18124
|
+
nftAssets?: Array<{
|
|
18125
|
+
__typename?: 'NftAsset';
|
|
18126
|
+
address: string;
|
|
18127
|
+
description?: string | null;
|
|
18128
|
+
id: string;
|
|
18129
|
+
name?: string | null;
|
|
18130
|
+
networkId: number;
|
|
18131
|
+
originalImage?: string | null;
|
|
18132
|
+
quantity?: string | null;
|
|
18133
|
+
tokenId: string;
|
|
18134
|
+
uri?: string | null;
|
|
18135
|
+
attributes?: Array<{
|
|
18136
|
+
__typename?: 'NftAssetAttribute';
|
|
18137
|
+
class?: string | null;
|
|
18138
|
+
css?: string | null;
|
|
18139
|
+
displayType: NftAssetAttributeDisplayType;
|
|
18140
|
+
maxValue?: string | null;
|
|
18141
|
+
name: string;
|
|
18142
|
+
value: string;
|
|
18143
|
+
valueType: NftAssetAttributeType;
|
|
18144
|
+
}> | null;
|
|
18145
|
+
media?: {
|
|
18146
|
+
__typename?: 'NftAssetMedia';
|
|
18147
|
+
image: string;
|
|
18148
|
+
processed?: boolean | null;
|
|
18149
|
+
thumbLg: string;
|
|
18150
|
+
thumbSm: string;
|
|
18151
|
+
} | null;
|
|
18152
|
+
rawAssetData?: {
|
|
18153
|
+
__typename?: 'RawNftAssetData';
|
|
18154
|
+
animationUrl?: string | null;
|
|
18155
|
+
externalUrl?: string | null;
|
|
18156
|
+
imageData?: string | null;
|
|
18157
|
+
imageUrl?: string | null;
|
|
18158
|
+
} | null;
|
|
18159
|
+
} | null> | null;
|
|
18160
|
+
} | {
|
|
18161
|
+
__typename?: 'NftPoolOwnershipTransferredEventDataV2';
|
|
18162
|
+
newOwner: string;
|
|
18163
|
+
type: NftPoolEventType;
|
|
18164
|
+
} | {
|
|
18165
|
+
__typename?: 'NftPoolSpotPriceUpdateEventData';
|
|
18166
|
+
nbtRatio: string;
|
|
18167
|
+
newBuyPriceT: string;
|
|
18168
|
+
newSellPriceT: string;
|
|
18169
|
+
newSpotPriceT: string;
|
|
18170
|
+
type: NftPoolEventType;
|
|
18171
|
+
usdRatio: string;
|
|
18172
|
+
} | {
|
|
18173
|
+
__typename?: 'NftPoolSpotPriceUpdateEventDataV2';
|
|
18174
|
+
nbtRatio: string;
|
|
18175
|
+
newBuyPriceT: string;
|
|
18176
|
+
newSellPriceT: string;
|
|
18177
|
+
newSpotPriceT: string;
|
|
18178
|
+
type: NftPoolEventType;
|
|
18179
|
+
usdRatio: string;
|
|
18180
|
+
} | {
|
|
18181
|
+
__typename?: 'NftPoolTokenDepositEventData';
|
|
18182
|
+
amountT: string;
|
|
18183
|
+
nbtRatio: string;
|
|
18184
|
+
nftTokenBalance: string;
|
|
18185
|
+
tokenBalanceT: string;
|
|
18186
|
+
type: NftPoolEventType;
|
|
18187
|
+
usdRatio: string;
|
|
18188
|
+
} | {
|
|
18189
|
+
__typename?: 'NftPoolTokenDepositEventDataV2';
|
|
18190
|
+
amountT: string;
|
|
18191
|
+
nbtRatio: string;
|
|
18192
|
+
tokenBalanceT: string;
|
|
18193
|
+
type: NftPoolEventType;
|
|
18194
|
+
usdRatio: string;
|
|
18195
|
+
} | {
|
|
18196
|
+
__typename?: 'NftPoolTokenWithdrawalEventData';
|
|
18197
|
+
amountT: string;
|
|
18198
|
+
nbtRatio: string;
|
|
18199
|
+
nftTokenBalance: string;
|
|
18200
|
+
tokenBalanceT: string;
|
|
18201
|
+
type: NftPoolEventType;
|
|
18202
|
+
usdRatio: string;
|
|
18203
|
+
} | {
|
|
18204
|
+
__typename?: 'NftPoolTokenWithdrawalEventDataV2';
|
|
18205
|
+
amountT: string;
|
|
18206
|
+
nbtRatio: string;
|
|
18207
|
+
tokenBalanceT: string;
|
|
18208
|
+
type: NftPoolEventType;
|
|
18209
|
+
usdRatio: string;
|
|
18210
|
+
} | {
|
|
18211
|
+
__typename?: 'SwapNftInPoolEventData';
|
|
18212
|
+
amountT: string;
|
|
18213
|
+
nbtRatio: string;
|
|
18214
|
+
newBuyPriceT: string;
|
|
18215
|
+
newDelta: string;
|
|
18216
|
+
newSellPriceT: string;
|
|
18217
|
+
newSpotPriceT: string;
|
|
18218
|
+
nftTokenBalance: string;
|
|
18219
|
+
poolFeeT: string;
|
|
18220
|
+
protocolFeeT: string;
|
|
18221
|
+
tokenBalanceT: string;
|
|
18222
|
+
tokenId: string;
|
|
18223
|
+
type: NftPoolEventType;
|
|
18224
|
+
usdRatio: string;
|
|
18225
|
+
nftsTransfered?: Array<{
|
|
18226
|
+
__typename?: 'NftPoolEventNftTransfer';
|
|
18227
|
+
amountT: string;
|
|
18228
|
+
nftTokenId: string;
|
|
18229
|
+
} | null> | null;
|
|
18230
|
+
} | {
|
|
18231
|
+
__typename?: 'SwapNftInPoolEventDataV2';
|
|
18232
|
+
amountT: string;
|
|
18233
|
+
nbtRatio: string;
|
|
18234
|
+
newBuyPriceT: string;
|
|
18235
|
+
newDelta: string;
|
|
18236
|
+
newSellPriceT: string;
|
|
18237
|
+
newSpotPriceT: string;
|
|
18238
|
+
poolFeeT: string;
|
|
18239
|
+
protocolFeeT: string;
|
|
18240
|
+
tokenBalanceT: string;
|
|
18241
|
+
tokenId: string;
|
|
18242
|
+
type: NftPoolEventType;
|
|
18243
|
+
usdRatio: string;
|
|
18244
|
+
nftAssets?: Array<{
|
|
18245
|
+
__typename?: 'NftAsset';
|
|
18246
|
+
address: string;
|
|
18247
|
+
description?: string | null;
|
|
18248
|
+
id: string;
|
|
18249
|
+
name?: string | null;
|
|
18250
|
+
networkId: number;
|
|
18251
|
+
originalImage?: string | null;
|
|
18252
|
+
quantity?: string | null;
|
|
18253
|
+
tokenId: string;
|
|
18254
|
+
uri?: string | null;
|
|
18255
|
+
attributes?: Array<{
|
|
18256
|
+
__typename?: 'NftAssetAttribute';
|
|
18257
|
+
class?: string | null;
|
|
18258
|
+
css?: string | null;
|
|
18259
|
+
displayType: NftAssetAttributeDisplayType;
|
|
18260
|
+
maxValue?: string | null;
|
|
18261
|
+
name: string;
|
|
18262
|
+
value: string;
|
|
18263
|
+
valueType: NftAssetAttributeType;
|
|
18264
|
+
}> | null;
|
|
18265
|
+
media?: {
|
|
18266
|
+
__typename?: 'NftAssetMedia';
|
|
18267
|
+
image: string;
|
|
18268
|
+
processed?: boolean | null;
|
|
18269
|
+
thumbLg: string;
|
|
18270
|
+
thumbSm: string;
|
|
18271
|
+
} | null;
|
|
18272
|
+
rawAssetData?: {
|
|
18273
|
+
__typename?: 'RawNftAssetData';
|
|
18274
|
+
animationUrl?: string | null;
|
|
18275
|
+
externalUrl?: string | null;
|
|
18276
|
+
imageData?: string | null;
|
|
18277
|
+
imageUrl?: string | null;
|
|
18278
|
+
} | null;
|
|
18279
|
+
} | null> | null;
|
|
18280
|
+
nftsTransfered?: Array<{
|
|
18281
|
+
__typename?: 'NftPoolEventNftTransferV2';
|
|
18282
|
+
amountT: string;
|
|
18283
|
+
nftQuantity: string;
|
|
18284
|
+
nftTokenId: string;
|
|
18285
|
+
} | null> | null;
|
|
18286
|
+
} | {
|
|
18287
|
+
__typename?: 'SwapNftOutPoolEventData';
|
|
18288
|
+
amountT: string;
|
|
18289
|
+
nbtRatio: string;
|
|
18290
|
+
newBuyPriceT: string;
|
|
18291
|
+
newDelta: string;
|
|
18292
|
+
newSellPriceT: string;
|
|
18293
|
+
newSpotPriceT: string;
|
|
18294
|
+
nftTokenBalance: string;
|
|
18295
|
+
poolFeeT: string;
|
|
18296
|
+
protocolFeeT: string;
|
|
18297
|
+
tokenBalanceT: string;
|
|
18298
|
+
tokenId: string;
|
|
18299
|
+
type: NftPoolEventType;
|
|
18300
|
+
usdRatio: string;
|
|
18301
|
+
nftsTransfered?: Array<{
|
|
18302
|
+
__typename?: 'NftPoolEventNftTransfer';
|
|
18303
|
+
amountT: string;
|
|
18304
|
+
nftTokenId: string;
|
|
18305
|
+
} | null> | null;
|
|
18306
|
+
} | {
|
|
18307
|
+
__typename?: 'SwapNftOutPoolEventDataV2';
|
|
18308
|
+
amountT: string;
|
|
18309
|
+
nbtRatio: string;
|
|
18310
|
+
newBuyPriceT: string;
|
|
18311
|
+
newDelta: string;
|
|
18312
|
+
newSellPriceT: string;
|
|
18313
|
+
newSpotPriceT: string;
|
|
18314
|
+
poolFeeT: string;
|
|
18315
|
+
protocolFeeT: string;
|
|
18316
|
+
tokenBalanceT: string;
|
|
18317
|
+
tokenId: string;
|
|
18318
|
+
type: NftPoolEventType;
|
|
18319
|
+
usdRatio: string;
|
|
18320
|
+
nftAssets?: Array<{
|
|
18321
|
+
__typename?: 'NftAsset';
|
|
18322
|
+
address: string;
|
|
18323
|
+
description?: string | null;
|
|
18324
|
+
id: string;
|
|
18325
|
+
name?: string | null;
|
|
18326
|
+
networkId: number;
|
|
18327
|
+
originalImage?: string | null;
|
|
18328
|
+
quantity?: string | null;
|
|
18329
|
+
tokenId: string;
|
|
18330
|
+
uri?: string | null;
|
|
18331
|
+
attributes?: Array<{
|
|
18332
|
+
__typename?: 'NftAssetAttribute';
|
|
18333
|
+
class?: string | null;
|
|
18334
|
+
css?: string | null;
|
|
18335
|
+
displayType: NftAssetAttributeDisplayType;
|
|
18336
|
+
maxValue?: string | null;
|
|
18337
|
+
name: string;
|
|
18338
|
+
value: string;
|
|
18339
|
+
valueType: NftAssetAttributeType;
|
|
18340
|
+
}> | null;
|
|
18341
|
+
media?: {
|
|
18342
|
+
__typename?: 'NftAssetMedia';
|
|
18343
|
+
image: string;
|
|
18344
|
+
processed?: boolean | null;
|
|
18345
|
+
thumbLg: string;
|
|
18346
|
+
thumbSm: string;
|
|
18347
|
+
} | null;
|
|
18348
|
+
rawAssetData?: {
|
|
18349
|
+
__typename?: 'RawNftAssetData';
|
|
18350
|
+
animationUrl?: string | null;
|
|
18351
|
+
externalUrl?: string | null;
|
|
18352
|
+
imageData?: string | null;
|
|
18353
|
+
imageUrl?: string | null;
|
|
18354
|
+
} | null;
|
|
18355
|
+
} | null> | null;
|
|
18356
|
+
nftsTransfered?: Array<{
|
|
18357
|
+
__typename?: 'NftPoolEventNftTransferV2';
|
|
18358
|
+
amountT: string;
|
|
18359
|
+
nftQuantity: string;
|
|
18360
|
+
nftTokenId: string;
|
|
18361
|
+
} | null> | null;
|
|
18362
|
+
};
|
|
16273
18363
|
} | null>;
|
|
16274
18364
|
} | null;
|
|
16275
18365
|
};
|
|
@@ -16360,6 +18450,7 @@ export type OnPriceUpdatedSubscription = {
|
|
|
16360
18450
|
address: string;
|
|
16361
18451
|
confidence?: number | null;
|
|
16362
18452
|
networkId: number;
|
|
18453
|
+
poolAddress: string;
|
|
16363
18454
|
priceUsd: number;
|
|
16364
18455
|
timestamp: number;
|
|
16365
18456
|
} | null;
|
|
@@ -16374,6 +18465,7 @@ export type OnPricesUpdatedSubscription = {
|
|
|
16374
18465
|
address: string;
|
|
16375
18466
|
confidence?: number | null;
|
|
16376
18467
|
networkId: number;
|
|
18468
|
+
poolAddress: string;
|
|
16377
18469
|
priceUsd: number;
|
|
16378
18470
|
timestamp: number;
|
|
16379
18471
|
};
|
|
@@ -16515,21 +18607,615 @@ export type OnSimulateTokenContractSubscription = {
|
|
|
16515
18607
|
};
|
|
16516
18608
|
};
|
|
16517
18609
|
};
|
|
16518
|
-
export type
|
|
16519
|
-
|
|
18610
|
+
export type OnTokenBarsUpdatedSubscriptionVariables = Exact<{
|
|
18611
|
+
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
18612
|
+
tokenId?: InputMaybe<Scalars['String']['input']>;
|
|
16520
18613
|
}>;
|
|
16521
|
-
export type
|
|
18614
|
+
export type OnTokenBarsUpdatedSubscription = {
|
|
16522
18615
|
__typename?: 'Subscription';
|
|
16523
|
-
|
|
16524
|
-
__typename?: '
|
|
16525
|
-
|
|
16526
|
-
|
|
16527
|
-
|
|
16528
|
-
|
|
16529
|
-
|
|
16530
|
-
|
|
16531
|
-
|
|
16532
|
-
|
|
18616
|
+
onTokenBarsUpdated?: {
|
|
18617
|
+
__typename?: 'OnTokenBarsUpdatedResponse';
|
|
18618
|
+
eventSortKey: string;
|
|
18619
|
+
networkId: number;
|
|
18620
|
+
pairAddress: string;
|
|
18621
|
+
pairId: string;
|
|
18622
|
+
quoteToken?: QuoteToken | null;
|
|
18623
|
+
statsType: TokenPairStatisticsType;
|
|
18624
|
+
timestamp: number;
|
|
18625
|
+
tokenAddress: string;
|
|
18626
|
+
tokenId: string;
|
|
18627
|
+
aggregates: {
|
|
18628
|
+
__typename?: 'ResolutionBarData';
|
|
18629
|
+
r1?: {
|
|
18630
|
+
__typename?: 'CurrencyBarData';
|
|
18631
|
+
t: number;
|
|
18632
|
+
token: {
|
|
18633
|
+
__typename?: 'IndividualBarData';
|
|
18634
|
+
buyVolume: string;
|
|
18635
|
+
buyers: number;
|
|
18636
|
+
buys: number;
|
|
18637
|
+
c: number;
|
|
18638
|
+
h: number;
|
|
18639
|
+
l: number;
|
|
18640
|
+
liquidity: string;
|
|
18641
|
+
o: number;
|
|
18642
|
+
sellVolume: string;
|
|
18643
|
+
sellers: number;
|
|
18644
|
+
sells: number;
|
|
18645
|
+
t: number;
|
|
18646
|
+
traders: number;
|
|
18647
|
+
transactions: number;
|
|
18648
|
+
v?: number | null;
|
|
18649
|
+
volume: string;
|
|
18650
|
+
volumeNativeToken: string;
|
|
18651
|
+
};
|
|
18652
|
+
usd: {
|
|
18653
|
+
__typename?: 'IndividualBarData';
|
|
18654
|
+
buyVolume: string;
|
|
18655
|
+
buyers: number;
|
|
18656
|
+
buys: number;
|
|
18657
|
+
c: number;
|
|
18658
|
+
h: number;
|
|
18659
|
+
l: number;
|
|
18660
|
+
liquidity: string;
|
|
18661
|
+
o: number;
|
|
18662
|
+
sellVolume: string;
|
|
18663
|
+
sellers: number;
|
|
18664
|
+
sells: number;
|
|
18665
|
+
t: number;
|
|
18666
|
+
traders: number;
|
|
18667
|
+
transactions: number;
|
|
18668
|
+
v?: number | null;
|
|
18669
|
+
volume: string;
|
|
18670
|
+
volumeNativeToken: string;
|
|
18671
|
+
};
|
|
18672
|
+
} | null;
|
|
18673
|
+
r1D?: {
|
|
18674
|
+
__typename?: 'CurrencyBarData';
|
|
18675
|
+
t: number;
|
|
18676
|
+
token: {
|
|
18677
|
+
__typename?: 'IndividualBarData';
|
|
18678
|
+
buyVolume: string;
|
|
18679
|
+
buyers: number;
|
|
18680
|
+
buys: number;
|
|
18681
|
+
c: number;
|
|
18682
|
+
h: number;
|
|
18683
|
+
l: number;
|
|
18684
|
+
liquidity: string;
|
|
18685
|
+
o: number;
|
|
18686
|
+
sellVolume: string;
|
|
18687
|
+
sellers: number;
|
|
18688
|
+
sells: number;
|
|
18689
|
+
t: number;
|
|
18690
|
+
traders: number;
|
|
18691
|
+
transactions: number;
|
|
18692
|
+
v?: number | null;
|
|
18693
|
+
volume: string;
|
|
18694
|
+
volumeNativeToken: string;
|
|
18695
|
+
};
|
|
18696
|
+
usd: {
|
|
18697
|
+
__typename?: 'IndividualBarData';
|
|
18698
|
+
buyVolume: string;
|
|
18699
|
+
buyers: number;
|
|
18700
|
+
buys: number;
|
|
18701
|
+
c: number;
|
|
18702
|
+
h: number;
|
|
18703
|
+
l: number;
|
|
18704
|
+
liquidity: string;
|
|
18705
|
+
o: number;
|
|
18706
|
+
sellVolume: string;
|
|
18707
|
+
sellers: number;
|
|
18708
|
+
sells: number;
|
|
18709
|
+
t: number;
|
|
18710
|
+
traders: number;
|
|
18711
|
+
transactions: number;
|
|
18712
|
+
v?: number | null;
|
|
18713
|
+
volume: string;
|
|
18714
|
+
volumeNativeToken: string;
|
|
18715
|
+
};
|
|
18716
|
+
} | null;
|
|
18717
|
+
r1S?: {
|
|
18718
|
+
__typename?: 'CurrencyBarData';
|
|
18719
|
+
t: number;
|
|
18720
|
+
token: {
|
|
18721
|
+
__typename?: 'IndividualBarData';
|
|
18722
|
+
buyVolume: string;
|
|
18723
|
+
buyers: number;
|
|
18724
|
+
buys: number;
|
|
18725
|
+
c: number;
|
|
18726
|
+
h: number;
|
|
18727
|
+
l: number;
|
|
18728
|
+
liquidity: string;
|
|
18729
|
+
o: number;
|
|
18730
|
+
sellVolume: string;
|
|
18731
|
+
sellers: number;
|
|
18732
|
+
sells: number;
|
|
18733
|
+
t: number;
|
|
18734
|
+
traders: number;
|
|
18735
|
+
transactions: number;
|
|
18736
|
+
v?: number | null;
|
|
18737
|
+
volume: string;
|
|
18738
|
+
volumeNativeToken: string;
|
|
18739
|
+
};
|
|
18740
|
+
usd: {
|
|
18741
|
+
__typename?: 'IndividualBarData';
|
|
18742
|
+
buyVolume: string;
|
|
18743
|
+
buyers: number;
|
|
18744
|
+
buys: number;
|
|
18745
|
+
c: number;
|
|
18746
|
+
h: number;
|
|
18747
|
+
l: number;
|
|
18748
|
+
liquidity: string;
|
|
18749
|
+
o: number;
|
|
18750
|
+
sellVolume: string;
|
|
18751
|
+
sellers: number;
|
|
18752
|
+
sells: number;
|
|
18753
|
+
t: number;
|
|
18754
|
+
traders: number;
|
|
18755
|
+
transactions: number;
|
|
18756
|
+
v?: number | null;
|
|
18757
|
+
volume: string;
|
|
18758
|
+
volumeNativeToken: string;
|
|
18759
|
+
};
|
|
18760
|
+
} | null;
|
|
18761
|
+
r5?: {
|
|
18762
|
+
__typename?: 'CurrencyBarData';
|
|
18763
|
+
t: number;
|
|
18764
|
+
token: {
|
|
18765
|
+
__typename?: 'IndividualBarData';
|
|
18766
|
+
buyVolume: string;
|
|
18767
|
+
buyers: number;
|
|
18768
|
+
buys: number;
|
|
18769
|
+
c: number;
|
|
18770
|
+
h: number;
|
|
18771
|
+
l: number;
|
|
18772
|
+
liquidity: string;
|
|
18773
|
+
o: number;
|
|
18774
|
+
sellVolume: string;
|
|
18775
|
+
sellers: number;
|
|
18776
|
+
sells: number;
|
|
18777
|
+
t: number;
|
|
18778
|
+
traders: number;
|
|
18779
|
+
transactions: number;
|
|
18780
|
+
v?: number | null;
|
|
18781
|
+
volume: string;
|
|
18782
|
+
volumeNativeToken: string;
|
|
18783
|
+
};
|
|
18784
|
+
usd: {
|
|
18785
|
+
__typename?: 'IndividualBarData';
|
|
18786
|
+
buyVolume: string;
|
|
18787
|
+
buyers: number;
|
|
18788
|
+
buys: number;
|
|
18789
|
+
c: number;
|
|
18790
|
+
h: number;
|
|
18791
|
+
l: number;
|
|
18792
|
+
liquidity: string;
|
|
18793
|
+
o: number;
|
|
18794
|
+
sellVolume: string;
|
|
18795
|
+
sellers: number;
|
|
18796
|
+
sells: number;
|
|
18797
|
+
t: number;
|
|
18798
|
+
traders: number;
|
|
18799
|
+
transactions: number;
|
|
18800
|
+
v?: number | null;
|
|
18801
|
+
volume: string;
|
|
18802
|
+
volumeNativeToken: string;
|
|
18803
|
+
};
|
|
18804
|
+
} | null;
|
|
18805
|
+
r5S?: {
|
|
18806
|
+
__typename?: 'CurrencyBarData';
|
|
18807
|
+
t: number;
|
|
18808
|
+
token: {
|
|
18809
|
+
__typename?: 'IndividualBarData';
|
|
18810
|
+
buyVolume: string;
|
|
18811
|
+
buyers: number;
|
|
18812
|
+
buys: number;
|
|
18813
|
+
c: number;
|
|
18814
|
+
h: number;
|
|
18815
|
+
l: number;
|
|
18816
|
+
liquidity: string;
|
|
18817
|
+
o: number;
|
|
18818
|
+
sellVolume: string;
|
|
18819
|
+
sellers: number;
|
|
18820
|
+
sells: number;
|
|
18821
|
+
t: number;
|
|
18822
|
+
traders: number;
|
|
18823
|
+
transactions: number;
|
|
18824
|
+
v?: number | null;
|
|
18825
|
+
volume: string;
|
|
18826
|
+
volumeNativeToken: string;
|
|
18827
|
+
};
|
|
18828
|
+
usd: {
|
|
18829
|
+
__typename?: 'IndividualBarData';
|
|
18830
|
+
buyVolume: string;
|
|
18831
|
+
buyers: number;
|
|
18832
|
+
buys: number;
|
|
18833
|
+
c: number;
|
|
18834
|
+
h: number;
|
|
18835
|
+
l: number;
|
|
18836
|
+
liquidity: string;
|
|
18837
|
+
o: number;
|
|
18838
|
+
sellVolume: string;
|
|
18839
|
+
sellers: number;
|
|
18840
|
+
sells: number;
|
|
18841
|
+
t: number;
|
|
18842
|
+
traders: number;
|
|
18843
|
+
transactions: number;
|
|
18844
|
+
v?: number | null;
|
|
18845
|
+
volume: string;
|
|
18846
|
+
volumeNativeToken: string;
|
|
18847
|
+
};
|
|
18848
|
+
} | null;
|
|
18849
|
+
r7D?: {
|
|
18850
|
+
__typename?: 'CurrencyBarData';
|
|
18851
|
+
t: number;
|
|
18852
|
+
token: {
|
|
18853
|
+
__typename?: 'IndividualBarData';
|
|
18854
|
+
buyVolume: string;
|
|
18855
|
+
buyers: number;
|
|
18856
|
+
buys: number;
|
|
18857
|
+
c: number;
|
|
18858
|
+
h: number;
|
|
18859
|
+
l: number;
|
|
18860
|
+
liquidity: string;
|
|
18861
|
+
o: number;
|
|
18862
|
+
sellVolume: string;
|
|
18863
|
+
sellers: number;
|
|
18864
|
+
sells: number;
|
|
18865
|
+
t: number;
|
|
18866
|
+
traders: number;
|
|
18867
|
+
transactions: number;
|
|
18868
|
+
v?: number | null;
|
|
18869
|
+
volume: string;
|
|
18870
|
+
volumeNativeToken: string;
|
|
18871
|
+
};
|
|
18872
|
+
usd: {
|
|
18873
|
+
__typename?: 'IndividualBarData';
|
|
18874
|
+
buyVolume: string;
|
|
18875
|
+
buyers: number;
|
|
18876
|
+
buys: number;
|
|
18877
|
+
c: number;
|
|
18878
|
+
h: number;
|
|
18879
|
+
l: number;
|
|
18880
|
+
liquidity: string;
|
|
18881
|
+
o: number;
|
|
18882
|
+
sellVolume: string;
|
|
18883
|
+
sellers: number;
|
|
18884
|
+
sells: number;
|
|
18885
|
+
t: number;
|
|
18886
|
+
traders: number;
|
|
18887
|
+
transactions: number;
|
|
18888
|
+
v?: number | null;
|
|
18889
|
+
volume: string;
|
|
18890
|
+
volumeNativeToken: string;
|
|
18891
|
+
};
|
|
18892
|
+
} | null;
|
|
18893
|
+
r15?: {
|
|
18894
|
+
__typename?: 'CurrencyBarData';
|
|
18895
|
+
t: number;
|
|
18896
|
+
token: {
|
|
18897
|
+
__typename?: 'IndividualBarData';
|
|
18898
|
+
buyVolume: string;
|
|
18899
|
+
buyers: number;
|
|
18900
|
+
buys: number;
|
|
18901
|
+
c: number;
|
|
18902
|
+
h: number;
|
|
18903
|
+
l: number;
|
|
18904
|
+
liquidity: string;
|
|
18905
|
+
o: number;
|
|
18906
|
+
sellVolume: string;
|
|
18907
|
+
sellers: number;
|
|
18908
|
+
sells: number;
|
|
18909
|
+
t: number;
|
|
18910
|
+
traders: number;
|
|
18911
|
+
transactions: number;
|
|
18912
|
+
v?: number | null;
|
|
18913
|
+
volume: string;
|
|
18914
|
+
volumeNativeToken: string;
|
|
18915
|
+
};
|
|
18916
|
+
usd: {
|
|
18917
|
+
__typename?: 'IndividualBarData';
|
|
18918
|
+
buyVolume: string;
|
|
18919
|
+
buyers: number;
|
|
18920
|
+
buys: number;
|
|
18921
|
+
c: number;
|
|
18922
|
+
h: number;
|
|
18923
|
+
l: number;
|
|
18924
|
+
liquidity: string;
|
|
18925
|
+
o: number;
|
|
18926
|
+
sellVolume: string;
|
|
18927
|
+
sellers: number;
|
|
18928
|
+
sells: number;
|
|
18929
|
+
t: number;
|
|
18930
|
+
traders: number;
|
|
18931
|
+
transactions: number;
|
|
18932
|
+
v?: number | null;
|
|
18933
|
+
volume: string;
|
|
18934
|
+
volumeNativeToken: string;
|
|
18935
|
+
};
|
|
18936
|
+
} | null;
|
|
18937
|
+
r15S?: {
|
|
18938
|
+
__typename?: 'CurrencyBarData';
|
|
18939
|
+
t: number;
|
|
18940
|
+
token: {
|
|
18941
|
+
__typename?: 'IndividualBarData';
|
|
18942
|
+
buyVolume: string;
|
|
18943
|
+
buyers: number;
|
|
18944
|
+
buys: number;
|
|
18945
|
+
c: number;
|
|
18946
|
+
h: number;
|
|
18947
|
+
l: number;
|
|
18948
|
+
liquidity: string;
|
|
18949
|
+
o: number;
|
|
18950
|
+
sellVolume: string;
|
|
18951
|
+
sellers: number;
|
|
18952
|
+
sells: number;
|
|
18953
|
+
t: number;
|
|
18954
|
+
traders: number;
|
|
18955
|
+
transactions: number;
|
|
18956
|
+
v?: number | null;
|
|
18957
|
+
volume: string;
|
|
18958
|
+
volumeNativeToken: string;
|
|
18959
|
+
};
|
|
18960
|
+
usd: {
|
|
18961
|
+
__typename?: 'IndividualBarData';
|
|
18962
|
+
buyVolume: string;
|
|
18963
|
+
buyers: number;
|
|
18964
|
+
buys: number;
|
|
18965
|
+
c: number;
|
|
18966
|
+
h: number;
|
|
18967
|
+
l: number;
|
|
18968
|
+
liquidity: string;
|
|
18969
|
+
o: number;
|
|
18970
|
+
sellVolume: string;
|
|
18971
|
+
sellers: number;
|
|
18972
|
+
sells: number;
|
|
18973
|
+
t: number;
|
|
18974
|
+
traders: number;
|
|
18975
|
+
transactions: number;
|
|
18976
|
+
v?: number | null;
|
|
18977
|
+
volume: string;
|
|
18978
|
+
volumeNativeToken: string;
|
|
18979
|
+
};
|
|
18980
|
+
} | null;
|
|
18981
|
+
r30?: {
|
|
18982
|
+
__typename?: 'CurrencyBarData';
|
|
18983
|
+
t: number;
|
|
18984
|
+
token: {
|
|
18985
|
+
__typename?: 'IndividualBarData';
|
|
18986
|
+
buyVolume: string;
|
|
18987
|
+
buyers: number;
|
|
18988
|
+
buys: number;
|
|
18989
|
+
c: number;
|
|
18990
|
+
h: number;
|
|
18991
|
+
l: number;
|
|
18992
|
+
liquidity: string;
|
|
18993
|
+
o: number;
|
|
18994
|
+
sellVolume: string;
|
|
18995
|
+
sellers: number;
|
|
18996
|
+
sells: number;
|
|
18997
|
+
t: number;
|
|
18998
|
+
traders: number;
|
|
18999
|
+
transactions: number;
|
|
19000
|
+
v?: number | null;
|
|
19001
|
+
volume: string;
|
|
19002
|
+
volumeNativeToken: string;
|
|
19003
|
+
};
|
|
19004
|
+
usd: {
|
|
19005
|
+
__typename?: 'IndividualBarData';
|
|
19006
|
+
buyVolume: string;
|
|
19007
|
+
buyers: number;
|
|
19008
|
+
buys: number;
|
|
19009
|
+
c: number;
|
|
19010
|
+
h: number;
|
|
19011
|
+
l: number;
|
|
19012
|
+
liquidity: string;
|
|
19013
|
+
o: number;
|
|
19014
|
+
sellVolume: string;
|
|
19015
|
+
sellers: number;
|
|
19016
|
+
sells: number;
|
|
19017
|
+
t: number;
|
|
19018
|
+
traders: number;
|
|
19019
|
+
transactions: number;
|
|
19020
|
+
v?: number | null;
|
|
19021
|
+
volume: string;
|
|
19022
|
+
volumeNativeToken: string;
|
|
19023
|
+
};
|
|
19024
|
+
} | null;
|
|
19025
|
+
r30S?: {
|
|
19026
|
+
__typename?: 'CurrencyBarData';
|
|
19027
|
+
t: number;
|
|
19028
|
+
token: {
|
|
19029
|
+
__typename?: 'IndividualBarData';
|
|
19030
|
+
buyVolume: string;
|
|
19031
|
+
buyers: number;
|
|
19032
|
+
buys: number;
|
|
19033
|
+
c: number;
|
|
19034
|
+
h: number;
|
|
19035
|
+
l: number;
|
|
19036
|
+
liquidity: string;
|
|
19037
|
+
o: number;
|
|
19038
|
+
sellVolume: string;
|
|
19039
|
+
sellers: number;
|
|
19040
|
+
sells: number;
|
|
19041
|
+
t: number;
|
|
19042
|
+
traders: number;
|
|
19043
|
+
transactions: number;
|
|
19044
|
+
v?: number | null;
|
|
19045
|
+
volume: string;
|
|
19046
|
+
volumeNativeToken: string;
|
|
19047
|
+
};
|
|
19048
|
+
usd: {
|
|
19049
|
+
__typename?: 'IndividualBarData';
|
|
19050
|
+
buyVolume: string;
|
|
19051
|
+
buyers: number;
|
|
19052
|
+
buys: number;
|
|
19053
|
+
c: number;
|
|
19054
|
+
h: number;
|
|
19055
|
+
l: number;
|
|
19056
|
+
liquidity: string;
|
|
19057
|
+
o: number;
|
|
19058
|
+
sellVolume: string;
|
|
19059
|
+
sellers: number;
|
|
19060
|
+
sells: number;
|
|
19061
|
+
t: number;
|
|
19062
|
+
traders: number;
|
|
19063
|
+
transactions: number;
|
|
19064
|
+
v?: number | null;
|
|
19065
|
+
volume: string;
|
|
19066
|
+
volumeNativeToken: string;
|
|
19067
|
+
};
|
|
19068
|
+
} | null;
|
|
19069
|
+
r60?: {
|
|
19070
|
+
__typename?: 'CurrencyBarData';
|
|
19071
|
+
t: number;
|
|
19072
|
+
token: {
|
|
19073
|
+
__typename?: 'IndividualBarData';
|
|
19074
|
+
buyVolume: string;
|
|
19075
|
+
buyers: number;
|
|
19076
|
+
buys: number;
|
|
19077
|
+
c: number;
|
|
19078
|
+
h: number;
|
|
19079
|
+
l: number;
|
|
19080
|
+
liquidity: string;
|
|
19081
|
+
o: number;
|
|
19082
|
+
sellVolume: string;
|
|
19083
|
+
sellers: number;
|
|
19084
|
+
sells: number;
|
|
19085
|
+
t: number;
|
|
19086
|
+
traders: number;
|
|
19087
|
+
transactions: number;
|
|
19088
|
+
v?: number | null;
|
|
19089
|
+
volume: string;
|
|
19090
|
+
volumeNativeToken: string;
|
|
19091
|
+
};
|
|
19092
|
+
usd: {
|
|
19093
|
+
__typename?: 'IndividualBarData';
|
|
19094
|
+
buyVolume: string;
|
|
19095
|
+
buyers: number;
|
|
19096
|
+
buys: number;
|
|
19097
|
+
c: number;
|
|
19098
|
+
h: number;
|
|
19099
|
+
l: number;
|
|
19100
|
+
liquidity: string;
|
|
19101
|
+
o: number;
|
|
19102
|
+
sellVolume: string;
|
|
19103
|
+
sellers: number;
|
|
19104
|
+
sells: number;
|
|
19105
|
+
t: number;
|
|
19106
|
+
traders: number;
|
|
19107
|
+
transactions: number;
|
|
19108
|
+
v?: number | null;
|
|
19109
|
+
volume: string;
|
|
19110
|
+
volumeNativeToken: string;
|
|
19111
|
+
};
|
|
19112
|
+
} | null;
|
|
19113
|
+
r240?: {
|
|
19114
|
+
__typename?: 'CurrencyBarData';
|
|
19115
|
+
t: number;
|
|
19116
|
+
token: {
|
|
19117
|
+
__typename?: 'IndividualBarData';
|
|
19118
|
+
buyVolume: string;
|
|
19119
|
+
buyers: number;
|
|
19120
|
+
buys: number;
|
|
19121
|
+
c: number;
|
|
19122
|
+
h: number;
|
|
19123
|
+
l: number;
|
|
19124
|
+
liquidity: string;
|
|
19125
|
+
o: number;
|
|
19126
|
+
sellVolume: string;
|
|
19127
|
+
sellers: number;
|
|
19128
|
+
sells: number;
|
|
19129
|
+
t: number;
|
|
19130
|
+
traders: number;
|
|
19131
|
+
transactions: number;
|
|
19132
|
+
v?: number | null;
|
|
19133
|
+
volume: string;
|
|
19134
|
+
volumeNativeToken: string;
|
|
19135
|
+
};
|
|
19136
|
+
usd: {
|
|
19137
|
+
__typename?: 'IndividualBarData';
|
|
19138
|
+
buyVolume: string;
|
|
19139
|
+
buyers: number;
|
|
19140
|
+
buys: number;
|
|
19141
|
+
c: number;
|
|
19142
|
+
h: number;
|
|
19143
|
+
l: number;
|
|
19144
|
+
liquidity: string;
|
|
19145
|
+
o: number;
|
|
19146
|
+
sellVolume: string;
|
|
19147
|
+
sellers: number;
|
|
19148
|
+
sells: number;
|
|
19149
|
+
t: number;
|
|
19150
|
+
traders: number;
|
|
19151
|
+
transactions: number;
|
|
19152
|
+
v?: number | null;
|
|
19153
|
+
volume: string;
|
|
19154
|
+
volumeNativeToken: string;
|
|
19155
|
+
};
|
|
19156
|
+
} | null;
|
|
19157
|
+
r720?: {
|
|
19158
|
+
__typename?: 'CurrencyBarData';
|
|
19159
|
+
t: number;
|
|
19160
|
+
token: {
|
|
19161
|
+
__typename?: 'IndividualBarData';
|
|
19162
|
+
buyVolume: string;
|
|
19163
|
+
buyers: number;
|
|
19164
|
+
buys: number;
|
|
19165
|
+
c: number;
|
|
19166
|
+
h: number;
|
|
19167
|
+
l: number;
|
|
19168
|
+
liquidity: string;
|
|
19169
|
+
o: number;
|
|
19170
|
+
sellVolume: string;
|
|
19171
|
+
sellers: number;
|
|
19172
|
+
sells: number;
|
|
19173
|
+
t: number;
|
|
19174
|
+
traders: number;
|
|
19175
|
+
transactions: number;
|
|
19176
|
+
v?: number | null;
|
|
19177
|
+
volume: string;
|
|
19178
|
+
volumeNativeToken: string;
|
|
19179
|
+
};
|
|
19180
|
+
usd: {
|
|
19181
|
+
__typename?: 'IndividualBarData';
|
|
19182
|
+
buyVolume: string;
|
|
19183
|
+
buyers: number;
|
|
19184
|
+
buys: number;
|
|
19185
|
+
c: number;
|
|
19186
|
+
h: number;
|
|
19187
|
+
l: number;
|
|
19188
|
+
liquidity: string;
|
|
19189
|
+
o: number;
|
|
19190
|
+
sellVolume: string;
|
|
19191
|
+
sellers: number;
|
|
19192
|
+
sells: number;
|
|
19193
|
+
t: number;
|
|
19194
|
+
traders: number;
|
|
19195
|
+
transactions: number;
|
|
19196
|
+
v?: number | null;
|
|
19197
|
+
volume: string;
|
|
19198
|
+
volumeNativeToken: string;
|
|
19199
|
+
};
|
|
19200
|
+
} | null;
|
|
19201
|
+
};
|
|
19202
|
+
} | null;
|
|
19203
|
+
};
|
|
19204
|
+
export type OnTokenEventsCreatedSubscriptionVariables = Exact<{
|
|
19205
|
+
input: OnTokenEventsCreatedInput;
|
|
19206
|
+
}>;
|
|
19207
|
+
export type OnTokenEventsCreatedSubscription = {
|
|
19208
|
+
__typename?: 'Subscription';
|
|
19209
|
+
onTokenEventsCreated: {
|
|
19210
|
+
__typename?: 'AddTokenEventsOutput';
|
|
19211
|
+
id: string;
|
|
19212
|
+
events: Array<{
|
|
19213
|
+
__typename?: 'Event';
|
|
19214
|
+
address: string;
|
|
19215
|
+
baseTokenPrice?: string | null;
|
|
19216
|
+
blockHash: string;
|
|
19217
|
+
blockNumber: number;
|
|
19218
|
+
eventDisplayType?: EventDisplayType | null;
|
|
16533
19219
|
eventType: EventType;
|
|
16534
19220
|
id: string;
|
|
16535
19221
|
liquidityToken?: string | null;
|
|
@@ -16546,6 +19232,54 @@ export type OnTokenEventsCreatedSubscription = {
|
|
|
16546
19232
|
token1ValueBase?: string | null;
|
|
16547
19233
|
transactionHash: string;
|
|
16548
19234
|
transactionIndex: number;
|
|
19235
|
+
data?: {
|
|
19236
|
+
__typename?: 'BurnEventData';
|
|
19237
|
+
amount0?: string | null;
|
|
19238
|
+
amount0Shifted?: string | null;
|
|
19239
|
+
amount1?: string | null;
|
|
19240
|
+
amount1Shifted?: string | null;
|
|
19241
|
+
tickLower?: string | null;
|
|
19242
|
+
tickUpper?: string | null;
|
|
19243
|
+
type: EventType;
|
|
19244
|
+
} | {
|
|
19245
|
+
__typename?: 'MintEventData';
|
|
19246
|
+
amount0?: string | null;
|
|
19247
|
+
amount0Shifted?: string | null;
|
|
19248
|
+
amount1?: string | null;
|
|
19249
|
+
amount1Shifted?: string | null;
|
|
19250
|
+
tickLower?: string | null;
|
|
19251
|
+
tickUpper?: string | null;
|
|
19252
|
+
type: EventType;
|
|
19253
|
+
} | {
|
|
19254
|
+
__typename?: 'PoolBalanceChangedEventData';
|
|
19255
|
+
amount0?: string | null;
|
|
19256
|
+
amount0Shifted?: string | null;
|
|
19257
|
+
amount1?: string | null;
|
|
19258
|
+
amount1Shifted?: string | null;
|
|
19259
|
+
liquidity0?: string | null;
|
|
19260
|
+
liquidity1?: string | null;
|
|
19261
|
+
protocolFeeAmount0?: string | null;
|
|
19262
|
+
protocolFeeAmount1?: string | null;
|
|
19263
|
+
sender?: string | null;
|
|
19264
|
+
token0?: string | null;
|
|
19265
|
+
token1?: string | null;
|
|
19266
|
+
type: EventType;
|
|
19267
|
+
} | {
|
|
19268
|
+
__typename?: 'SwapEventData';
|
|
19269
|
+
amount0?: string | null;
|
|
19270
|
+
amount0In?: string | null;
|
|
19271
|
+
amount0Out?: string | null;
|
|
19272
|
+
amount1?: string | null;
|
|
19273
|
+
amount1In?: string | null;
|
|
19274
|
+
amount1Out?: string | null;
|
|
19275
|
+
amountNonLiquidityToken?: string | null;
|
|
19276
|
+
priceBaseToken?: string | null;
|
|
19277
|
+
priceBaseTokenTotal?: string | null;
|
|
19278
|
+
priceUsd?: string | null;
|
|
19279
|
+
priceUsdTotal?: string | null;
|
|
19280
|
+
tick?: string | null;
|
|
19281
|
+
type: EventType;
|
|
19282
|
+
} | null;
|
|
16549
19283
|
labels?: {
|
|
16550
19284
|
__typename?: 'LabelsForEvent';
|
|
16551
19285
|
sandwich?: {
|
|
@@ -16585,9 +19319,100 @@ export type OnTokenLifecycleEventsCreatedSubscription = {
|
|
|
16585
19319
|
tokenAddress: string;
|
|
16586
19320
|
transactionHash: string;
|
|
16587
19321
|
transactionIndex: number;
|
|
19322
|
+
data: {
|
|
19323
|
+
__typename?: 'TokenBurnEventData';
|
|
19324
|
+
amount: string;
|
|
19325
|
+
circulatingSupply?: string | null;
|
|
19326
|
+
totalSupply?: string | null;
|
|
19327
|
+
} | {
|
|
19328
|
+
__typename?: 'TokenMintEventData';
|
|
19329
|
+
amount: string;
|
|
19330
|
+
circulatingSupply?: string | null;
|
|
19331
|
+
totalSupply?: string | null;
|
|
19332
|
+
};
|
|
16588
19333
|
}>;
|
|
16589
19334
|
};
|
|
16590
19335
|
};
|
|
19336
|
+
export type OnUnconfirmedBarsUpdatedSubscriptionVariables = Exact<{
|
|
19337
|
+
pairId?: InputMaybe<Scalars['String']['input']>;
|
|
19338
|
+
quoteToken?: InputMaybe<QuoteToken>;
|
|
19339
|
+
}>;
|
|
19340
|
+
export type OnUnconfirmedBarsUpdatedSubscription = {
|
|
19341
|
+
__typename?: 'Subscription';
|
|
19342
|
+
onUnconfirmedBarsUpdated?: {
|
|
19343
|
+
__typename?: 'OnUnconfirmedBarsUpdated';
|
|
19344
|
+
eventSortKey: string;
|
|
19345
|
+
networkId: number;
|
|
19346
|
+
pairAddress: string;
|
|
19347
|
+
pairId: string;
|
|
19348
|
+
quoteToken?: QuoteToken | null;
|
|
19349
|
+
quoteTokenAddress: string;
|
|
19350
|
+
timestamp: number;
|
|
19351
|
+
aggregates: {
|
|
19352
|
+
__typename?: 'UnconfirmedResolutionBarData';
|
|
19353
|
+
r1?: {
|
|
19354
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
19355
|
+
c: number;
|
|
19356
|
+
h: number;
|
|
19357
|
+
l: number;
|
|
19358
|
+
o: number;
|
|
19359
|
+
t: number;
|
|
19360
|
+
v?: number | null;
|
|
19361
|
+
volume: string;
|
|
19362
|
+
} | null;
|
|
19363
|
+
r1S?: {
|
|
19364
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
19365
|
+
c: number;
|
|
19366
|
+
h: number;
|
|
19367
|
+
l: number;
|
|
19368
|
+
o: number;
|
|
19369
|
+
t: number;
|
|
19370
|
+
v?: number | null;
|
|
19371
|
+
volume: string;
|
|
19372
|
+
} | null;
|
|
19373
|
+
r5?: {
|
|
19374
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
19375
|
+
c: number;
|
|
19376
|
+
h: number;
|
|
19377
|
+
l: number;
|
|
19378
|
+
o: number;
|
|
19379
|
+
t: number;
|
|
19380
|
+
v?: number | null;
|
|
19381
|
+
volume: string;
|
|
19382
|
+
} | null;
|
|
19383
|
+
r5S?: {
|
|
19384
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
19385
|
+
c: number;
|
|
19386
|
+
h: number;
|
|
19387
|
+
l: number;
|
|
19388
|
+
o: number;
|
|
19389
|
+
t: number;
|
|
19390
|
+
v?: number | null;
|
|
19391
|
+
volume: string;
|
|
19392
|
+
} | null;
|
|
19393
|
+
r15?: {
|
|
19394
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
19395
|
+
c: number;
|
|
19396
|
+
h: number;
|
|
19397
|
+
l: number;
|
|
19398
|
+
o: number;
|
|
19399
|
+
t: number;
|
|
19400
|
+
v?: number | null;
|
|
19401
|
+
volume: string;
|
|
19402
|
+
} | null;
|
|
19403
|
+
r15S?: {
|
|
19404
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
19405
|
+
c: number;
|
|
19406
|
+
h: number;
|
|
19407
|
+
l: number;
|
|
19408
|
+
o: number;
|
|
19409
|
+
t: number;
|
|
19410
|
+
v?: number | null;
|
|
19411
|
+
volume: string;
|
|
19412
|
+
} | null;
|
|
19413
|
+
};
|
|
19414
|
+
} | null;
|
|
19415
|
+
};
|
|
16591
19416
|
export type OnUnconfirmedEventsCreatedSubscriptionVariables = Exact<{
|
|
16592
19417
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
16593
19418
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -16617,6 +19442,22 @@ export type OnUnconfirmedEventsCreatedSubscription = {
|
|
|
16617
19442
|
timestamp: number;
|
|
16618
19443
|
transactionHash: string;
|
|
16619
19444
|
transactionIndex: number;
|
|
19445
|
+
data?: {
|
|
19446
|
+
__typename?: 'UnconfirmedLiquidityChangeEventData';
|
|
19447
|
+
amount0?: string | null;
|
|
19448
|
+
amount0Shifted?: string | null;
|
|
19449
|
+
amount1?: string | null;
|
|
19450
|
+
amount1Shifted?: string | null;
|
|
19451
|
+
type: EventType;
|
|
19452
|
+
} | {
|
|
19453
|
+
__typename?: 'UnconfirmedSwapEventData';
|
|
19454
|
+
amountNonLiquidityToken?: string | null;
|
|
19455
|
+
priceBaseToken?: string | null;
|
|
19456
|
+
priceBaseTokenTotal?: string | null;
|
|
19457
|
+
priceUsd?: string | null;
|
|
19458
|
+
priceUsdTotal?: string | null;
|
|
19459
|
+
type: EventType;
|
|
19460
|
+
} | null;
|
|
16620
19461
|
} | null>;
|
|
16621
19462
|
} | null;
|
|
16622
19463
|
};
|
|
@@ -17058,6 +19899,10 @@ export declare const OnSimulateTokenContractDocument: DocumentNode<OnSimulateTok
|
|
|
17058
19899
|
networkId: Scalars['Int']['input'];
|
|
17059
19900
|
simulationId?: InputMaybe<string> | undefined;
|
|
17060
19901
|
}>>;
|
|
19902
|
+
export declare const OnTokenBarsUpdatedDocument: DocumentNode<OnTokenBarsUpdatedSubscription, Exact<{
|
|
19903
|
+
statsType?: InputMaybe<TokenPairStatisticsType> | undefined;
|
|
19904
|
+
tokenId?: InputMaybe<string> | undefined;
|
|
19905
|
+
}>>;
|
|
17061
19906
|
export declare const OnTokenEventsCreatedDocument: DocumentNode<OnTokenEventsCreatedSubscription, Exact<{
|
|
17062
19907
|
input: OnTokenEventsCreatedInput;
|
|
17063
19908
|
}>>;
|
|
@@ -17065,6 +19910,10 @@ export declare const OnTokenLifecycleEventsCreatedDocument: DocumentNode<OnToken
|
|
|
17065
19910
|
address?: InputMaybe<string> | undefined;
|
|
17066
19911
|
networkId?: InputMaybe<number> | undefined;
|
|
17067
19912
|
}>>;
|
|
19913
|
+
export declare const OnUnconfirmedBarsUpdatedDocument: DocumentNode<OnUnconfirmedBarsUpdatedSubscription, Exact<{
|
|
19914
|
+
pairId?: InputMaybe<string> | undefined;
|
|
19915
|
+
quoteToken?: InputMaybe<QuoteToken> | undefined;
|
|
19916
|
+
}>>;
|
|
17068
19917
|
export declare const OnUnconfirmedEventsCreatedDocument: DocumentNode<OnUnconfirmedEventsCreatedSubscription, Exact<{
|
|
17069
19918
|
address?: InputMaybe<string> | undefined;
|
|
17070
19919
|
id?: InputMaybe<string> | undefined;
|