@codex-data/sdk 1.0.0-rc3 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/resources/generated_queries/FilterPairs.graphql +8 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +6 -0
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +2 -0
- package/dist/resources/generated_queries/GetDetailedPairStats.graphql +4 -0
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +4 -0
- package/dist/resources/generated_queries/GetTokenPrices.graphql +1 -0
- package/dist/resources/generated_queries/ListPairsForToken.graphql +4 -0
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +8 -0
- package/dist/resources/generated_queries/Token.graphql +2 -0
- package/dist/resources/generated_queries/Tokens.graphql +2 -0
- package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +11 -2
- package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +1 -0
- package/dist/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +70 -0
- package/dist/resources/graphql.d.ts +84 -0
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +550 -1
- package/dist/resources/graphql.ts +91 -0
- package/dist/resources/schema.graphql +120 -1
- package/dist/sdk/Mutation.d.ts +2 -2
- package/dist/sdk/Mutation.js +2 -2
- package/dist/sdk/Query.d.ts +53 -53
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +53 -53
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +13 -12
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +61 -54
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +33 -24
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +13 -12
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +213 -0
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +14 -13
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/FilterPairs.graphql +8 -0
- package/src/resources/generated_queries/FilterTokens.graphql +6 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +2 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +4 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +4 -0
- package/src/resources/generated_queries/GetTokenPrices.graphql +1 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +4 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +8 -0
- package/src/resources/generated_queries/Token.graphql +2 -0
- package/src/resources/generated_queries/Tokens.graphql +2 -0
- package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +11 -2
- package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +1 -0
- package/src/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +70 -0
- package/src/resources/graphql.schema.json +550 -1
- package/src/resources/graphql.ts +91 -0
- package/src/resources/schema.graphql +120 -1
- package/src/sdk/Mutation.ts +4 -4
- package/src/sdk/Query.ts +111 -111
- package/src/sdk/Subscribe.ts +100 -85
- package/src/sdk/generated/gql.ts +29 -24
- package/src/sdk/generated/graphql.ts +125 -24
|
@@ -122,6 +122,10 @@ export type AddUnconfirmedEventsOutput = {
|
|
|
122
122
|
/** The token of interest within the pair. Can be `token0` or `token1`. */
|
|
123
123
|
quoteToken?: Maybe<QuoteToken>;
|
|
124
124
|
};
|
|
125
|
+
export type AddUserAchievementInput = {
|
|
126
|
+
quantity: Scalars['Int']['input'];
|
|
127
|
+
userId: Scalars['String']['input'];
|
|
128
|
+
};
|
|
125
129
|
export declare enum AlertRecurrence {
|
|
126
130
|
Indefinite = "INDEFINITE",
|
|
127
131
|
Once = "ONCE"
|
|
@@ -158,6 +162,8 @@ export type BalancesInput = {
|
|
|
158
162
|
cursor?: InputMaybe<Scalars['String']['input']>;
|
|
159
163
|
/** Optional token specifically request the balance for */
|
|
160
164
|
filterToken?: InputMaybe<Scalars['String']['input']>;
|
|
165
|
+
/** If set to true, native tokens in the response, they will have the id: native:<networkId> */
|
|
166
|
+
includeNative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
161
167
|
/** The ID of the wallet (`walletAddress:networkId`). */
|
|
162
168
|
walletId: Scalars['String']['input'];
|
|
163
169
|
};
|
|
@@ -742,6 +748,8 @@ export type EnhancedToken = {
|
|
|
742
748
|
* @deprecated Use the TokenInfo type
|
|
743
749
|
*/
|
|
744
750
|
explorerData?: Maybe<ExplorerTokenData>;
|
|
751
|
+
/** Whether or not the token is freezable */
|
|
752
|
+
freezable?: Maybe<Scalars['String']['output']>;
|
|
745
753
|
/** The ID of the token (`address:networkId`). */
|
|
746
754
|
id: Scalars['String']['output'];
|
|
747
755
|
/**
|
|
@@ -763,6 +771,8 @@ export type EnhancedToken = {
|
|
|
763
771
|
info?: Maybe<TokenInfo>;
|
|
764
772
|
/** Whether the token has been flagged as a scam. */
|
|
765
773
|
isScam?: Maybe<Scalars['Boolean']['output']>;
|
|
774
|
+
/** Whether or not the token is mintable */
|
|
775
|
+
mintable?: Maybe<Scalars['String']['output']>;
|
|
766
776
|
/** The token name. For example, `ApeCoin`. */
|
|
767
777
|
name?: Maybe<Scalars['String']['output']>;
|
|
768
778
|
/** The network ID the token is deployed on. */
|
|
@@ -1209,6 +1219,8 @@ export type GetPriceInput = {
|
|
|
1209
1219
|
maxDeviations?: InputMaybe<Scalars['Float']['input']>;
|
|
1210
1220
|
/** The network ID the token is deployed on. */
|
|
1211
1221
|
networkId: Scalars['Int']['input'];
|
|
1222
|
+
/** The address of the pool, when omitted the top pool is used. */
|
|
1223
|
+
poolAddress?: InputMaybe<Scalars['String']['input']>;
|
|
1212
1224
|
/** The unix timestamp for the price. */
|
|
1213
1225
|
timestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
1214
1226
|
};
|
|
@@ -4170,6 +4182,7 @@ export type OnBarsUpdatedResponse = {
|
|
|
4170
4182
|
export type OnPricesUpdatedInput = {
|
|
4171
4183
|
address: Scalars['String']['input'];
|
|
4172
4184
|
networkId: Scalars['Int']['input'];
|
|
4185
|
+
sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
4173
4186
|
};
|
|
4174
4187
|
/** Response returned by `onBarsUpdated`. */
|
|
4175
4188
|
export type OnTokenBarsUpdatedResponse = {
|
|
@@ -4202,6 +4215,29 @@ export type OnTokenEventsCreatedInput = {
|
|
|
4202
4215
|
networkId: Scalars['Int']['input'];
|
|
4203
4216
|
tokenAddress: Scalars['String']['input'];
|
|
4204
4217
|
};
|
|
4218
|
+
/** Response returned by `onUnconfirmedBarsUpdated`. */
|
|
4219
|
+
export type OnUnconfirmedBarsUpdated = {
|
|
4220
|
+
__typename?: 'OnUnconfirmedBarsUpdated';
|
|
4221
|
+
/** Price data broken down by resolution. */
|
|
4222
|
+
aggregates: UnconfirmedResolutionBarData;
|
|
4223
|
+
/**
|
|
4224
|
+
* The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
|
|
4225
|
+
* For example, `0000000016414564#00000224#00000413`.
|
|
4226
|
+
*/
|
|
4227
|
+
eventSortKey: Scalars['String']['output'];
|
|
4228
|
+
/** The network ID the pair is deployed on. */
|
|
4229
|
+
networkId: Scalars['Int']['output'];
|
|
4230
|
+
/** The contract address for the pair. */
|
|
4231
|
+
pairAddress: Scalars['String']['output'];
|
|
4232
|
+
/** The ID for the pair (`pairAddress`:`networkId`). */
|
|
4233
|
+
pairId: Scalars['String']['output'];
|
|
4234
|
+
/** The quote token within the pair. */
|
|
4235
|
+
quoteToken?: Maybe<QuoteToken>;
|
|
4236
|
+
/** The address of the token being quoted */
|
|
4237
|
+
quoteTokenAddress: Scalars['String']['output'];
|
|
4238
|
+
/** The unix timestamp for the new bar. */
|
|
4239
|
+
timestamp: Scalars['Int']['output'];
|
|
4240
|
+
};
|
|
4205
4241
|
export type OneOfNumberCondition = {
|
|
4206
4242
|
__typename?: 'OneOfNumberCondition';
|
|
4207
4243
|
oneOf: Array<Scalars['Int']['output']>;
|
|
@@ -4964,6 +5000,8 @@ export type Price = {
|
|
|
4964
5000
|
confidence?: Maybe<Scalars['Float']['output']>;
|
|
4965
5001
|
/** The network ID the token is deployed on. */
|
|
4966
5002
|
networkId: Scalars['Int']['output'];
|
|
5003
|
+
/** The pool that emitted the swap generating this price */
|
|
5004
|
+
poolAddress: Scalars['String']['output'];
|
|
4967
5005
|
/** The token price in USD. */
|
|
4968
5006
|
priceUsd: Scalars['Float']['output'];
|
|
4969
5007
|
/** The unix timestamp for the price. */
|
|
@@ -6056,6 +6094,9 @@ export type ReferralsPayoutData = {
|
|
|
6056
6094
|
tokenAddressNetworkIdPaid: Scalars['String']['output'];
|
|
6057
6095
|
tokenAmountPaid: Scalars['String']['output'];
|
|
6058
6096
|
};
|
|
6097
|
+
export type RemoveUserAchievementInput = {
|
|
6098
|
+
userId: Scalars['String']['input'];
|
|
6099
|
+
};
|
|
6059
6100
|
/** Price data for each supported resolution. */
|
|
6060
6101
|
export type ResolutionBarData = {
|
|
6061
6102
|
__typename?: 'ResolutionBarData';
|
|
@@ -6426,6 +6467,8 @@ export type Subscription = {
|
|
|
6426
6467
|
onTokenEventsCreated: AddTokenEventsOutput;
|
|
6427
6468
|
/** Live-streamed token lifecycle events (mints and burns) */
|
|
6428
6469
|
onTokenLifecycleEventsCreated: AddTokenLifecycleEventsOutput;
|
|
6470
|
+
/** Unconfirmed live-streamed bar chart data to track price changes over time. (Solana only) */
|
|
6471
|
+
onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
|
|
6429
6472
|
/** Live-streamed unconfirmed transactions for a token. (Solana only) */
|
|
6430
6473
|
onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
|
|
6431
6474
|
};
|
|
@@ -6479,6 +6522,7 @@ export type SubscriptionOnPairMetadataUpdatedArgs = {
|
|
|
6479
6522
|
export type SubscriptionOnPriceUpdatedArgs = {
|
|
6480
6523
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6481
6524
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
6525
|
+
sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
6482
6526
|
};
|
|
6483
6527
|
export type SubscriptionOnPricesUpdatedArgs = {
|
|
6484
6528
|
input: Array<OnPricesUpdatedInput>;
|
|
@@ -6499,6 +6543,10 @@ export type SubscriptionOnTokenLifecycleEventsCreatedArgs = {
|
|
|
6499
6543
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6500
6544
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
6501
6545
|
};
|
|
6546
|
+
export type SubscriptionOnUnconfirmedBarsUpdatedArgs = {
|
|
6547
|
+
pairId?: InputMaybe<Scalars['String']['input']>;
|
|
6548
|
+
quoteToken?: InputMaybe<QuoteToken>;
|
|
6549
|
+
};
|
|
6502
6550
|
export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
|
|
6503
6551
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
6504
6552
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -6840,6 +6888,8 @@ export type TokenFilters = {
|
|
|
6840
6888
|
change24?: InputMaybe<NumberFilter>;
|
|
6841
6889
|
/** The unix timestamp for the creation of the token's first pair. */
|
|
6842
6890
|
createdAt?: InputMaybe<NumberFilter>;
|
|
6891
|
+
/** The address of the creator of the token */
|
|
6892
|
+
creatorAddress?: InputMaybe<Scalars['String']['input']>;
|
|
6843
6893
|
/** The list of exchange contract addresses to filter by. */
|
|
6844
6894
|
exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
6845
6895
|
/** The list of exchange contract IDs to filter by. Applied in conjunction with `network` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
|
|
@@ -7287,6 +7337,24 @@ export type UnconfirmedEvent = {
|
|
|
7287
7337
|
transactionIndex: Scalars['Int']['output'];
|
|
7288
7338
|
};
|
|
7289
7339
|
export type UnconfirmedEventData = UnconfirmedLiquidityChangeEventData | UnconfirmedSwapEventData;
|
|
7340
|
+
/** Unconfirmed bar chart data. */
|
|
7341
|
+
export type UnconfirmedIndividualBarData = {
|
|
7342
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
7343
|
+
/** The closing price. */
|
|
7344
|
+
c: Scalars['Float']['output'];
|
|
7345
|
+
/** The high price. */
|
|
7346
|
+
h: Scalars['Float']['output'];
|
|
7347
|
+
/** The low price. */
|
|
7348
|
+
l: Scalars['Float']['output'];
|
|
7349
|
+
/** The opening price. */
|
|
7350
|
+
o: Scalars['Float']['output'];
|
|
7351
|
+
/** The timestamp for the bar. */
|
|
7352
|
+
t: Scalars['Int']['output'];
|
|
7353
|
+
/** The volume. */
|
|
7354
|
+
v?: Maybe<Scalars['Int']['output']>;
|
|
7355
|
+
/** The volume with higher precision. */
|
|
7356
|
+
volume: Scalars['String']['output'];
|
|
7357
|
+
};
|
|
7290
7358
|
export type UnconfirmedLiquidityChangeEventData = {
|
|
7291
7359
|
__typename?: 'UnconfirmedLiquidityChangeEventData';
|
|
7292
7360
|
/** The amount of `token0` added or removed from the pair. */
|
|
@@ -7300,6 +7368,22 @@ export type UnconfirmedLiquidityChangeEventData = {
|
|
|
7300
7368
|
/** The type of token event, `Mint` or 'Burn'. */
|
|
7301
7369
|
type: EventType;
|
|
7302
7370
|
};
|
|
7371
|
+
/** Unconfirmed price data for each supported resolution. */
|
|
7372
|
+
export type UnconfirmedResolutionBarData = {
|
|
7373
|
+
__typename?: 'UnconfirmedResolutionBarData';
|
|
7374
|
+
/** 1 minute resolution. */
|
|
7375
|
+
r1?: Maybe<UnconfirmedIndividualBarData>;
|
|
7376
|
+
/** 1 second resolution. */
|
|
7377
|
+
r1S?: Maybe<UnconfirmedIndividualBarData>;
|
|
7378
|
+
/** 5 minute resolution. */
|
|
7379
|
+
r5?: Maybe<UnconfirmedIndividualBarData>;
|
|
7380
|
+
/** 5 second resolution. */
|
|
7381
|
+
r5S?: Maybe<UnconfirmedIndividualBarData>;
|
|
7382
|
+
/** 15 minute resolution. */
|
|
7383
|
+
r15?: Maybe<UnconfirmedIndividualBarData>;
|
|
7384
|
+
/** 15 second resolution. */
|
|
7385
|
+
r15S?: Maybe<UnconfirmedIndividualBarData>;
|
|
7386
|
+
};
|
|
7303
7387
|
export type UnconfirmedSwapEventData = {
|
|
7304
7388
|
__typename?: 'UnconfirmedSwapEventData';
|
|
7305
7389
|
/** 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. */
|
|
@@ -9368,8 +9452,10 @@ export type FilterPairsQuery = {
|
|
|
9368
9452
|
createdAt?: number | null;
|
|
9369
9453
|
creatorAddress?: string | null;
|
|
9370
9454
|
decimals: number;
|
|
9455
|
+
freezable?: string | null;
|
|
9371
9456
|
id: string;
|
|
9372
9457
|
isScam?: boolean | null;
|
|
9458
|
+
mintable?: string | null;
|
|
9373
9459
|
name?: string | null;
|
|
9374
9460
|
networkId: number;
|
|
9375
9461
|
symbol?: string | null;
|
|
@@ -9433,8 +9519,10 @@ export type FilterPairsQuery = {
|
|
|
9433
9519
|
createdAt?: number | null;
|
|
9434
9520
|
creatorAddress?: string | null;
|
|
9435
9521
|
decimals: number;
|
|
9522
|
+
freezable?: string | null;
|
|
9436
9523
|
id: string;
|
|
9437
9524
|
isScam?: boolean | null;
|
|
9525
|
+
mintable?: string | null;
|
|
9438
9526
|
name?: string | null;
|
|
9439
9527
|
networkId: number;
|
|
9440
9528
|
symbol?: string | null;
|
|
@@ -9499,8 +9587,10 @@ export type FilterPairsQuery = {
|
|
|
9499
9587
|
createdAt?: number | null;
|
|
9500
9588
|
creatorAddress?: string | null;
|
|
9501
9589
|
decimals: number;
|
|
9590
|
+
freezable?: string | null;
|
|
9502
9591
|
id: string;
|
|
9503
9592
|
isScam?: boolean | null;
|
|
9593
|
+
mintable?: string | null;
|
|
9504
9594
|
name?: string | null;
|
|
9505
9595
|
networkId: number;
|
|
9506
9596
|
symbol?: string | null;
|
|
@@ -9564,8 +9654,10 @@ export type FilterPairsQuery = {
|
|
|
9564
9654
|
createdAt?: number | null;
|
|
9565
9655
|
creatorAddress?: string | null;
|
|
9566
9656
|
decimals: number;
|
|
9657
|
+
freezable?: string | null;
|
|
9567
9658
|
id: string;
|
|
9568
9659
|
isScam?: boolean | null;
|
|
9660
|
+
mintable?: string | null;
|
|
9569
9661
|
name?: string | null;
|
|
9570
9662
|
networkId: number;
|
|
9571
9663
|
symbol?: string | null;
|
|
@@ -9729,8 +9821,10 @@ export type FilterTokensQuery = {
|
|
|
9729
9821
|
createdAt?: number | null;
|
|
9730
9822
|
creatorAddress?: string | null;
|
|
9731
9823
|
decimals: number;
|
|
9824
|
+
freezable?: string | null;
|
|
9732
9825
|
id: string;
|
|
9733
9826
|
isScam?: boolean | null;
|
|
9827
|
+
mintable?: string | null;
|
|
9734
9828
|
name?: string | null;
|
|
9735
9829
|
networkId: number;
|
|
9736
9830
|
symbol?: string | null;
|
|
@@ -9794,8 +9888,10 @@ export type FilterTokensQuery = {
|
|
|
9794
9888
|
createdAt?: number | null;
|
|
9795
9889
|
creatorAddress?: string | null;
|
|
9796
9890
|
decimals: number;
|
|
9891
|
+
freezable?: string | null;
|
|
9797
9892
|
id: string;
|
|
9798
9893
|
isScam?: boolean | null;
|
|
9894
|
+
mintable?: string | null;
|
|
9799
9895
|
name?: string | null;
|
|
9800
9896
|
networkId: number;
|
|
9801
9897
|
symbol?: string | null;
|
|
@@ -9860,8 +9956,10 @@ export type FilterTokensQuery = {
|
|
|
9860
9956
|
createdAt?: number | null;
|
|
9861
9957
|
creatorAddress?: string | null;
|
|
9862
9958
|
decimals: number;
|
|
9959
|
+
freezable?: string | null;
|
|
9863
9960
|
id: string;
|
|
9864
9961
|
isScam?: boolean | null;
|
|
9962
|
+
mintable?: string | null;
|
|
9865
9963
|
name?: string | null;
|
|
9866
9964
|
networkId: number;
|
|
9867
9965
|
symbol?: string | null;
|
|
@@ -10026,8 +10124,10 @@ export type GetCommunityNotesQuery = {
|
|
|
10026
10124
|
createdAt?: number | null;
|
|
10027
10125
|
creatorAddress?: string | null;
|
|
10028
10126
|
decimals: number;
|
|
10127
|
+
freezable?: string | null;
|
|
10029
10128
|
id: string;
|
|
10030
10129
|
isScam?: boolean | null;
|
|
10130
|
+
mintable?: string | null;
|
|
10031
10131
|
name?: string | null;
|
|
10032
10132
|
networkId: number;
|
|
10033
10133
|
symbol?: string | null;
|
|
@@ -11107,8 +11207,10 @@ export type GetDetailedPairStatsQuery = {
|
|
|
11107
11207
|
createdAt?: number | null;
|
|
11108
11208
|
creatorAddress?: string | null;
|
|
11109
11209
|
decimals: number;
|
|
11210
|
+
freezable?: string | null;
|
|
11110
11211
|
id: string;
|
|
11111
11212
|
isScam?: boolean | null;
|
|
11213
|
+
mintable?: string | null;
|
|
11112
11214
|
name?: string | null;
|
|
11113
11215
|
networkId: number;
|
|
11114
11216
|
symbol?: string | null;
|
|
@@ -11172,8 +11274,10 @@ export type GetDetailedPairStatsQuery = {
|
|
|
11172
11274
|
createdAt?: number | null;
|
|
11173
11275
|
creatorAddress?: string | null;
|
|
11174
11276
|
decimals: number;
|
|
11277
|
+
freezable?: string | null;
|
|
11175
11278
|
id: string;
|
|
11176
11279
|
isScam?: boolean | null;
|
|
11280
|
+
mintable?: string | null;
|
|
11177
11281
|
name?: string | null;
|
|
11178
11282
|
networkId: number;
|
|
11179
11283
|
symbol?: string | null;
|
|
@@ -12190,8 +12294,10 @@ export type GetDetailedPairsStatsQuery = {
|
|
|
12190
12294
|
createdAt?: number | null;
|
|
12191
12295
|
creatorAddress?: string | null;
|
|
12192
12296
|
decimals: number;
|
|
12297
|
+
freezable?: string | null;
|
|
12193
12298
|
id: string;
|
|
12194
12299
|
isScam?: boolean | null;
|
|
12300
|
+
mintable?: string | null;
|
|
12195
12301
|
name?: string | null;
|
|
12196
12302
|
networkId: number;
|
|
12197
12303
|
symbol?: string | null;
|
|
@@ -12255,8 +12361,10 @@ export type GetDetailedPairsStatsQuery = {
|
|
|
12255
12361
|
createdAt?: number | null;
|
|
12256
12362
|
creatorAddress?: string | null;
|
|
12257
12363
|
decimals: number;
|
|
12364
|
+
freezable?: string | null;
|
|
12258
12365
|
id: string;
|
|
12259
12366
|
isScam?: boolean | null;
|
|
12367
|
+
mintable?: string | null;
|
|
12260
12368
|
name?: string | null;
|
|
12261
12369
|
networkId: number;
|
|
12262
12370
|
symbol?: string | null;
|
|
@@ -15281,6 +15389,7 @@ export type GetTokenPricesQuery = {
|
|
|
15281
15389
|
address: string;
|
|
15282
15390
|
confidence?: number | null;
|
|
15283
15391
|
networkId: number;
|
|
15392
|
+
poolAddress: string;
|
|
15284
15393
|
priceUsd: number;
|
|
15285
15394
|
timestamp: number;
|
|
15286
15395
|
} | null> | null;
|
|
@@ -15653,8 +15762,10 @@ export type ListPairsForTokenQuery = {
|
|
|
15653
15762
|
createdAt?: number | null;
|
|
15654
15763
|
creatorAddress?: string | null;
|
|
15655
15764
|
decimals: number;
|
|
15765
|
+
freezable?: string | null;
|
|
15656
15766
|
id: string;
|
|
15657
15767
|
isScam?: boolean | null;
|
|
15768
|
+
mintable?: string | null;
|
|
15658
15769
|
name?: string | null;
|
|
15659
15770
|
networkId: number;
|
|
15660
15771
|
symbol?: string | null;
|
|
@@ -15718,8 +15829,10 @@ export type ListPairsForTokenQuery = {
|
|
|
15718
15829
|
createdAt?: number | null;
|
|
15719
15830
|
creatorAddress?: string | null;
|
|
15720
15831
|
decimals: number;
|
|
15832
|
+
freezable?: string | null;
|
|
15721
15833
|
id: string;
|
|
15722
15834
|
isScam?: boolean | null;
|
|
15835
|
+
mintable?: string | null;
|
|
15723
15836
|
name?: string | null;
|
|
15724
15837
|
networkId: number;
|
|
15725
15838
|
symbol?: string | null;
|
|
@@ -15799,8 +15912,10 @@ export type ListPairsWithMetadataForTokenQuery = {
|
|
|
15799
15912
|
createdAt?: number | null;
|
|
15800
15913
|
creatorAddress?: string | null;
|
|
15801
15914
|
decimals: number;
|
|
15915
|
+
freezable?: string | null;
|
|
15802
15916
|
id: string;
|
|
15803
15917
|
isScam?: boolean | null;
|
|
15918
|
+
mintable?: string | null;
|
|
15804
15919
|
name?: string | null;
|
|
15805
15920
|
networkId: number;
|
|
15806
15921
|
symbol?: string | null;
|
|
@@ -15891,8 +16006,10 @@ export type ListPairsWithMetadataForTokenQuery = {
|
|
|
15891
16006
|
createdAt?: number | null;
|
|
15892
16007
|
creatorAddress?: string | null;
|
|
15893
16008
|
decimals: number;
|
|
16009
|
+
freezable?: string | null;
|
|
15894
16010
|
id: string;
|
|
15895
16011
|
isScam?: boolean | null;
|
|
16012
|
+
mintable?: string | null;
|
|
15896
16013
|
name?: string | null;
|
|
15897
16014
|
networkId: number;
|
|
15898
16015
|
symbol?: string | null;
|
|
@@ -15956,8 +16073,10 @@ export type ListPairsWithMetadataForTokenQuery = {
|
|
|
15956
16073
|
createdAt?: number | null;
|
|
15957
16074
|
creatorAddress?: string | null;
|
|
15958
16075
|
decimals: number;
|
|
16076
|
+
freezable?: string | null;
|
|
15959
16077
|
id: string;
|
|
15960
16078
|
isScam?: boolean | null;
|
|
16079
|
+
mintable?: string | null;
|
|
15961
16080
|
name?: string | null;
|
|
15962
16081
|
networkId: number;
|
|
15963
16082
|
symbol?: string | null;
|
|
@@ -16022,8 +16141,10 @@ export type ListPairsWithMetadataForTokenQuery = {
|
|
|
16022
16141
|
createdAt?: number | null;
|
|
16023
16142
|
creatorAddress?: string | null;
|
|
16024
16143
|
decimals: number;
|
|
16144
|
+
freezable?: string | null;
|
|
16025
16145
|
id: string;
|
|
16026
16146
|
isScam?: boolean | null;
|
|
16147
|
+
mintable?: string | null;
|
|
16027
16148
|
name?: string | null;
|
|
16028
16149
|
networkId: number;
|
|
16029
16150
|
symbol?: string | null;
|
|
@@ -16317,8 +16438,10 @@ export type TokenQuery = {
|
|
|
16317
16438
|
createdAt?: number | null;
|
|
16318
16439
|
creatorAddress?: string | null;
|
|
16319
16440
|
decimals: number;
|
|
16441
|
+
freezable?: string | null;
|
|
16320
16442
|
id: string;
|
|
16321
16443
|
isScam?: boolean | null;
|
|
16444
|
+
mintable?: string | null;
|
|
16322
16445
|
name?: string | null;
|
|
16323
16446
|
networkId: number;
|
|
16324
16447
|
symbol?: string | null;
|
|
@@ -16441,8 +16564,10 @@ export type TokensQuery = {
|
|
|
16441
16564
|
createdAt?: number | null;
|
|
16442
16565
|
creatorAddress?: string | null;
|
|
16443
16566
|
decimals: number;
|
|
16567
|
+
freezable?: string | null;
|
|
16444
16568
|
id: string;
|
|
16445
16569
|
isScam?: boolean | null;
|
|
16570
|
+
mintable?: string | null;
|
|
16446
16571
|
name?: string | null;
|
|
16447
16572
|
networkId: number;
|
|
16448
16573
|
symbol?: string | null;
|
|
@@ -18374,6 +18499,7 @@ export type OnPairMetadataUpdatedSubscription = {
|
|
|
18374
18499
|
export type OnPriceUpdatedSubscriptionVariables = Exact<{
|
|
18375
18500
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
18376
18501
|
networkId?: InputMaybe<Scalars['Int']['input']>;
|
|
18502
|
+
sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
|
|
18377
18503
|
}>;
|
|
18378
18504
|
export type OnPriceUpdatedSubscription = {
|
|
18379
18505
|
__typename?: 'Subscription';
|
|
@@ -18382,6 +18508,7 @@ export type OnPriceUpdatedSubscription = {
|
|
|
18382
18508
|
address: string;
|
|
18383
18509
|
confidence?: number | null;
|
|
18384
18510
|
networkId: number;
|
|
18511
|
+
poolAddress: string;
|
|
18385
18512
|
priceUsd: number;
|
|
18386
18513
|
timestamp: number;
|
|
18387
18514
|
} | null;
|
|
@@ -18396,6 +18523,7 @@ export type OnPricesUpdatedSubscription = {
|
|
|
18396
18523
|
address: string;
|
|
18397
18524
|
confidence?: number | null;
|
|
18398
18525
|
networkId: number;
|
|
18526
|
+
poolAddress: string;
|
|
18399
18527
|
priceUsd: number;
|
|
18400
18528
|
timestamp: number;
|
|
18401
18529
|
};
|
|
@@ -19263,6 +19391,86 @@ export type OnTokenLifecycleEventsCreatedSubscription = {
|
|
|
19263
19391
|
}>;
|
|
19264
19392
|
};
|
|
19265
19393
|
};
|
|
19394
|
+
export type OnUnconfirmedBarsUpdatedSubscriptionVariables = Exact<{
|
|
19395
|
+
pairId?: InputMaybe<Scalars['String']['input']>;
|
|
19396
|
+
quoteToken?: InputMaybe<QuoteToken>;
|
|
19397
|
+
}>;
|
|
19398
|
+
export type OnUnconfirmedBarsUpdatedSubscription = {
|
|
19399
|
+
__typename?: 'Subscription';
|
|
19400
|
+
onUnconfirmedBarsUpdated?: {
|
|
19401
|
+
__typename?: 'OnUnconfirmedBarsUpdated';
|
|
19402
|
+
eventSortKey: string;
|
|
19403
|
+
networkId: number;
|
|
19404
|
+
pairAddress: string;
|
|
19405
|
+
pairId: string;
|
|
19406
|
+
quoteToken?: QuoteToken | null;
|
|
19407
|
+
quoteTokenAddress: string;
|
|
19408
|
+
timestamp: number;
|
|
19409
|
+
aggregates: {
|
|
19410
|
+
__typename?: 'UnconfirmedResolutionBarData';
|
|
19411
|
+
r1?: {
|
|
19412
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
19413
|
+
c: number;
|
|
19414
|
+
h: number;
|
|
19415
|
+
l: number;
|
|
19416
|
+
o: number;
|
|
19417
|
+
t: number;
|
|
19418
|
+
v?: number | null;
|
|
19419
|
+
volume: string;
|
|
19420
|
+
} | null;
|
|
19421
|
+
r1S?: {
|
|
19422
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
19423
|
+
c: number;
|
|
19424
|
+
h: number;
|
|
19425
|
+
l: number;
|
|
19426
|
+
o: number;
|
|
19427
|
+
t: number;
|
|
19428
|
+
v?: number | null;
|
|
19429
|
+
volume: string;
|
|
19430
|
+
} | null;
|
|
19431
|
+
r5?: {
|
|
19432
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
19433
|
+
c: number;
|
|
19434
|
+
h: number;
|
|
19435
|
+
l: number;
|
|
19436
|
+
o: number;
|
|
19437
|
+
t: number;
|
|
19438
|
+
v?: number | null;
|
|
19439
|
+
volume: string;
|
|
19440
|
+
} | null;
|
|
19441
|
+
r5S?: {
|
|
19442
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
19443
|
+
c: number;
|
|
19444
|
+
h: number;
|
|
19445
|
+
l: number;
|
|
19446
|
+
o: number;
|
|
19447
|
+
t: number;
|
|
19448
|
+
v?: number | null;
|
|
19449
|
+
volume: string;
|
|
19450
|
+
} | null;
|
|
19451
|
+
r15?: {
|
|
19452
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
19453
|
+
c: number;
|
|
19454
|
+
h: number;
|
|
19455
|
+
l: number;
|
|
19456
|
+
o: number;
|
|
19457
|
+
t: number;
|
|
19458
|
+
v?: number | null;
|
|
19459
|
+
volume: string;
|
|
19460
|
+
} | null;
|
|
19461
|
+
r15S?: {
|
|
19462
|
+
__typename?: 'UnconfirmedIndividualBarData';
|
|
19463
|
+
c: number;
|
|
19464
|
+
h: number;
|
|
19465
|
+
l: number;
|
|
19466
|
+
o: number;
|
|
19467
|
+
t: number;
|
|
19468
|
+
v?: number | null;
|
|
19469
|
+
volume: string;
|
|
19470
|
+
} | null;
|
|
19471
|
+
};
|
|
19472
|
+
} | null;
|
|
19473
|
+
};
|
|
19266
19474
|
export type OnUnconfirmedEventsCreatedSubscriptionVariables = Exact<{
|
|
19267
19475
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
19268
19476
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -19740,6 +19948,7 @@ export declare const OnPairMetadataUpdatedDocument: DocumentNode<OnPairMetadataU
|
|
|
19740
19948
|
export declare const OnPriceUpdatedDocument: DocumentNode<OnPriceUpdatedSubscription, Exact<{
|
|
19741
19949
|
address?: InputMaybe<string> | undefined;
|
|
19742
19950
|
networkId?: InputMaybe<number> | undefined;
|
|
19951
|
+
sourcePairAddress?: InputMaybe<string> | undefined;
|
|
19743
19952
|
}>>;
|
|
19744
19953
|
export declare const OnPricesUpdatedDocument: DocumentNode<OnPricesUpdatedSubscription, Exact<{
|
|
19745
19954
|
input: Array<OnPricesUpdatedInput> | OnPricesUpdatedInput;
|
|
@@ -19760,6 +19969,10 @@ export declare const OnTokenLifecycleEventsCreatedDocument: DocumentNode<OnToken
|
|
|
19760
19969
|
address?: InputMaybe<string> | undefined;
|
|
19761
19970
|
networkId?: InputMaybe<number> | undefined;
|
|
19762
19971
|
}>>;
|
|
19972
|
+
export declare const OnUnconfirmedBarsUpdatedDocument: DocumentNode<OnUnconfirmedBarsUpdatedSubscription, Exact<{
|
|
19973
|
+
pairId?: InputMaybe<string> | undefined;
|
|
19974
|
+
quoteToken?: InputMaybe<QuoteToken> | undefined;
|
|
19975
|
+
}>>;
|
|
19763
19976
|
export declare const OnUnconfirmedEventsCreatedDocument: DocumentNode<OnUnconfirmedEventsCreatedSubscription, Exact<{
|
|
19764
19977
|
address?: InputMaybe<string> | undefined;
|
|
19765
19978
|
id?: InputMaybe<string> | undefined;
|