@codex-data/sdk 1.0.25 → 1.0.26

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.
@@ -25,6 +25,9 @@ type Query {
25
25
  """limit: The maximum number of webhooks to return."""
26
26
  limit: Int
27
27
  ): GetWebhooksResponse
28
+ getNetworkConfigs(
29
+ networkIds: [Int!]
30
+ ): [NetworkConfig!]!
28
31
  """Returns an NFT pool."""
29
32
  getNftPool(
30
33
  """The contract address of the NFT pool."""
@@ -936,6 +939,27 @@ type ApiToken {
936
939
  remaining: String
937
940
  }
938
941
 
942
+ type AptosNetworkConfig {
943
+ id: ID!
944
+ networkId: Int!
945
+ baseTokenAddress: String!
946
+ baseTokenSymbol: String!
947
+ color: String
948
+ defaultPairAddress: String!
949
+ defaultPairQuoteToken: QuoteToken!
950
+ enabled: Boolean!
951
+ newTokensEnabled: Boolean
952
+ explorer: ExplorerConfig!
953
+ mainnet: Boolean!
954
+ name: String!
955
+ networkIconUrl: String!
956
+ networkName: String!
957
+ networkShortName: String!
958
+ networkType: NetworkConfigType!
959
+ stableCoinAddresses: [String!]
960
+ wrappedBaseTokenSymbol: String!
961
+ }
962
+
939
963
  type ArenaTradeData {
940
964
  """Protocol specific token ID"""
941
965
  tokenId: String
@@ -1949,6 +1973,27 @@ enum EventType {
1949
1973
  PoolBalanceChanged
1950
1974
  }
1951
1975
 
1976
+ type EvmNetworkConfig {
1977
+ id: ID!
1978
+ networkId: Int!
1979
+ baseTokenAddress: String!
1980
+ baseTokenSymbol: String!
1981
+ color: String
1982
+ defaultPairAddress: String!
1983
+ defaultPairQuoteToken: QuoteToken!
1984
+ enabled: Boolean!
1985
+ newTokensEnabled: Boolean
1986
+ explorer: ExplorerConfig!
1987
+ mainnet: Boolean!
1988
+ name: String!
1989
+ networkIconUrl: String!
1990
+ networkName: String!
1991
+ networkShortName: String!
1992
+ networkType: NetworkConfigType!
1993
+ stableCoinAddresses: [String!]
1994
+ wrappedBaseTokenSymbol: String!
1995
+ }
1996
+
1952
1997
  """Metadata for a decentralized exchange."""
1953
1998
  type Exchange {
1954
1999
  """The contract address of the exchange."""
@@ -2077,6 +2122,13 @@ enum ExchangeRankingAttribute {
2077
2122
  monthlyActiveUsers
2078
2123
  }
2079
2124
 
2125
+ type ExplorerConfig {
2126
+ checksummed: Boolean!
2127
+ icon: String!
2128
+ name: String!
2129
+ url: String!
2130
+ }
2131
+
2080
2132
  """Third party token data sourced from off chain."""
2081
2133
  type ExplorerTokenData {
2082
2134
  """The ID of the token (`address:networkId`)."""
@@ -2968,6 +3020,37 @@ type NetworkBreakdown {
2968
3020
  statsYear1: WindowedWalletStats
2969
3021
  }
2970
3022
 
3023
+ union NetworkConfig = EvmNetworkConfig | SolanaNetworkConfig | SuiNetworkConfig | AptosNetworkConfig | StarknetNetworkConfig
3024
+
3025
+ interface NetworkConfigBase {
3026
+ id: ID!
3027
+ networkId: Int!
3028
+ baseTokenAddress: String!
3029
+ baseTokenSymbol: String!
3030
+ color: String
3031
+ defaultPairAddress: String!
3032
+ defaultPairQuoteToken: QuoteToken!
3033
+ enabled: Boolean!
3034
+ newTokensEnabled: Boolean
3035
+ explorer: ExplorerConfig!
3036
+ mainnet: Boolean!
3037
+ name: String!
3038
+ networkIconUrl: String!
3039
+ networkName: String!
3040
+ networkShortName: String!
3041
+ networkType: NetworkConfigType!
3042
+ wrappedBaseTokenSymbol: String!
3043
+ stableCoinAddresses: [String!]
3044
+ }
3045
+
3046
+ enum NetworkConfigType {
3047
+ SOLANA
3048
+ EVM
3049
+ SUI
3050
+ APTOS
3051
+ STARKNET
3052
+ }
3053
+
2971
3054
  """A connection of wallets matching a filter on a specific network."""
2972
3055
  type NetworkWalletFilterConnection {
2973
3056
  """The list of wallets matching the filter parameters."""
@@ -7222,6 +7305,27 @@ type SocialLinks {
7222
7305
  youtube: String
7223
7306
  }
7224
7307
 
7308
+ type SolanaNetworkConfig {
7309
+ id: ID!
7310
+ networkId: Int!
7311
+ baseTokenAddress: String!
7312
+ baseTokenSymbol: String!
7313
+ color: String
7314
+ defaultPairAddress: String!
7315
+ defaultPairQuoteToken: QuoteToken!
7316
+ enabled: Boolean!
7317
+ newTokensEnabled: Boolean
7318
+ explorer: ExplorerConfig!
7319
+ mainnet: Boolean!
7320
+ name: String!
7321
+ networkIconUrl: String!
7322
+ networkName: String!
7323
+ networkShortName: String!
7324
+ networkType: NetworkConfigType!
7325
+ stableCoinAddresses: [String!]
7326
+ wrappedBaseTokenSymbol: String!
7327
+ }
7328
+
7225
7329
  enum SparklineAttribute {
7226
7330
  PRICE
7227
7331
  }
@@ -7232,6 +7336,27 @@ type SparklineValue {
7232
7336
  value: Float!
7233
7337
  }
7234
7338
 
7339
+ type StarknetNetworkConfig {
7340
+ id: ID!
7341
+ networkId: Int!
7342
+ baseTokenAddress: String!
7343
+ baseTokenSymbol: String!
7344
+ color: String
7345
+ defaultPairAddress: String!
7346
+ defaultPairQuoteToken: QuoteToken!
7347
+ enabled: Boolean!
7348
+ newTokensEnabled: Boolean
7349
+ explorer: ExplorerConfig!
7350
+ mainnet: Boolean!
7351
+ name: String!
7352
+ networkIconUrl: String!
7353
+ networkName: String!
7354
+ networkShortName: String!
7355
+ networkType: NetworkConfigType!
7356
+ stableCoinAddresses: [String!]
7357
+ wrappedBaseTokenSymbol: String!
7358
+ }
7359
+
7235
7360
  """Currency stats."""
7236
7361
  input statsCurrency {
7237
7362
  """The volume over the time frame."""
@@ -7322,6 +7447,27 @@ input StringFilter {
7322
7447
  lt: String
7323
7448
  }
7324
7449
 
7450
+ type SuiNetworkConfig {
7451
+ id: ID!
7452
+ networkId: Int!
7453
+ baseTokenAddress: String!
7454
+ baseTokenSymbol: String!
7455
+ color: String
7456
+ defaultPairAddress: String!
7457
+ defaultPairQuoteToken: QuoteToken!
7458
+ enabled: Boolean!
7459
+ newTokensEnabled: Boolean
7460
+ explorer: ExplorerConfig!
7461
+ mainnet: Boolean!
7462
+ name: String!
7463
+ networkIconUrl: String!
7464
+ networkName: String!
7465
+ networkShortName: String!
7466
+ networkType: NetworkConfigType!
7467
+ stableCoinAddresses: [String!]
7468
+ wrappedBaseTokenSymbol: String!
7469
+ }
7470
+
7325
7471
  """Event data for a token swap event."""
7326
7472
  type SwapEventData {
7327
7473
  """The amount of `token0` involved in the swap. Only applicable for UniswapV3 events."""
@@ -0,0 +1,243 @@
1
+ import "dotenv/config";
2
+
3
+ import * as fs from "fs";
4
+ import { gql } from "graphql-tag";
5
+ import * as path from "path";
6
+
7
+ import { Codex } from "../sdk";
8
+
9
+ const apiKey = process.env.CODEX_API_KEY;
10
+
11
+ if (!apiKey) throw new Error("CODEX_API_KEY env variable not found");
12
+
13
+ const sdk = new Codex(apiKey);
14
+
15
+ const getNetworkConfigsQuery = gql`
16
+ query networkConfigs {
17
+ getNetworkConfigs {
18
+ ... on EvmNetworkConfig {
19
+ __typename
20
+ id
21
+ networkType
22
+ networkId
23
+ name
24
+ enabled
25
+ newTokensEnabled
26
+ mainnet
27
+ wrappedBaseTokenSymbol
28
+ baseTokenSymbol
29
+ baseTokenAddress
30
+ defaultPairAddress
31
+ defaultPairQuoteToken
32
+ stableCoinAddresses
33
+ networkIconUrl
34
+ color
35
+ networkShortName
36
+ networkName
37
+ explorer {
38
+ name
39
+ url
40
+ checksummed
41
+ icon
42
+ }
43
+ }
44
+ ... on SolanaNetworkConfig {
45
+ __typename
46
+ # --- Common fields
47
+ id
48
+ networkType
49
+ networkId
50
+ name
51
+ enabled
52
+ newTokensEnabled
53
+ mainnet
54
+ wrappedBaseTokenSymbol
55
+ baseTokenSymbol
56
+ baseTokenAddress
57
+ defaultPairAddress
58
+ defaultPairQuoteToken
59
+ stableCoinAddresses
60
+ networkIconUrl
61
+ color
62
+ networkShortName
63
+ networkName
64
+ explorer {
65
+ name
66
+ url
67
+ checksummed
68
+ icon
69
+ }
70
+ }
71
+ ... on SuiNetworkConfig {
72
+ __typename
73
+ # --- Common fields
74
+ id
75
+ networkType
76
+ networkId
77
+ name
78
+ enabled
79
+ newTokensEnabled
80
+ mainnet
81
+ wrappedBaseTokenSymbol
82
+ baseTokenSymbol
83
+ baseTokenAddress
84
+ defaultPairAddress
85
+ defaultPairQuoteToken
86
+ stableCoinAddresses
87
+ networkIconUrl
88
+ color
89
+ networkShortName
90
+ networkName
91
+ explorer {
92
+ name
93
+ url
94
+ checksummed
95
+ icon
96
+ }
97
+ }
98
+ ... on AptosNetworkConfig {
99
+ __typename
100
+ # --- Common fields
101
+ id
102
+ networkType
103
+ networkId
104
+ name
105
+ enabled
106
+ newTokensEnabled
107
+ mainnet
108
+ wrappedBaseTokenSymbol
109
+ baseTokenSymbol
110
+ baseTokenAddress
111
+ defaultPairAddress
112
+ defaultPairQuoteToken
113
+ stableCoinAddresses
114
+ networkIconUrl
115
+ color
116
+ networkShortName
117
+ networkName
118
+ explorer {
119
+ name
120
+ url
121
+ checksummed
122
+ icon
123
+ }
124
+ }
125
+ ... on StarknetNetworkConfig {
126
+ __typename
127
+ # --- Common fields
128
+ id
129
+ networkType
130
+ networkId
131
+ name
132
+ enabled
133
+ newTokensEnabled
134
+ mainnet
135
+ wrappedBaseTokenSymbol
136
+ baseTokenSymbol
137
+ baseTokenAddress
138
+ defaultPairAddress
139
+ defaultPairQuoteToken
140
+ stableCoinAddresses
141
+ networkIconUrl
142
+ color
143
+ networkShortName
144
+ networkName
145
+ explorer {
146
+ name
147
+ url
148
+ checksummed
149
+ icon
150
+ }
151
+ }
152
+ }
153
+ }
154
+ `;
155
+
156
+ const getTokensQuery = gql`
157
+ query getTokens($tokens: [String!]!) {
158
+ filterTokens(tokens: $tokens) {
159
+ results {
160
+ token {
161
+ name
162
+ id
163
+ decimals
164
+ }
165
+ }
166
+ }
167
+ }
168
+ `;
169
+
170
+ async function main() {
171
+ // eslint-disable-next-line @typescript-eslint/ban-types, @typescript-eslint/no-explicit-any
172
+ const data = await sdk.query<{ getNetworkConfigs: any }, {}>(
173
+ getNetworkConfigsQuery,
174
+ );
175
+ const networkConfigs = data.getNetworkConfigs;
176
+
177
+ // Get all base token addresses with their network IDs
178
+ const tokenIds: string[] = networkConfigs.map(
179
+ (config: { baseTokenAddress: string; networkId: number }) =>
180
+ `${config.baseTokenAddress}:${config.networkId}`,
181
+ );
182
+
183
+ // Fetch base token names
184
+ const tokenData = await sdk.query<
185
+ {
186
+ filterTokens: {
187
+ results: {
188
+ token: { id: string; name: string; decimals: number };
189
+ }[];
190
+ };
191
+ },
192
+ { tokens: string[] }
193
+ >(getTokensQuery, {
194
+ tokens: tokenIds,
195
+ });
196
+
197
+ // Create a map of address:networkId -> name
198
+ const tokenNameMap = new Map(
199
+ tokenData.filterTokens.results.map((result) => [
200
+ result.token.id,
201
+ result.token.name,
202
+ ]),
203
+ );
204
+ // Create a map of address:networkId -> decimals
205
+ const tokenDecimalsMap = new Map(
206
+ tokenData.filterTokens.results.map((result) => [
207
+ result.token.id,
208
+ result.token.decimals,
209
+ ]),
210
+ );
211
+
212
+ // Add baseTokenName to each network config
213
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
214
+ const enrichedConfigs = networkConfigs
215
+ .map((config: any) => ({
216
+ ...config,
217
+ baseTokenName:
218
+ tokenNameMap.get(`${config.baseTokenAddress}:${config.networkId}`) ||
219
+ config.baseTokenSymbol,
220
+ baseTokenDecimals:
221
+ tokenDecimalsMap.get(
222
+ `${config.baseTokenAddress}:${config.networkId}`,
223
+ ) || config.baseTokenDecimals,
224
+ }))
225
+ .sort((a: { name: string }, b: { name: string }) =>
226
+ a.name.localeCompare(b.name),
227
+ );
228
+ console.log(
229
+ `Fetched ${networkConfigs.length} network configs, writing them to generated files`,
230
+ );
231
+
232
+ const filePath = path.resolve(__dirname, "../resources/networkConfigs.json");
233
+
234
+ // Ensure the directory exists
235
+ const dirPath = path.dirname(filePath);
236
+ if (!fs.existsSync(dirPath)) {
237
+ fs.mkdirSync(dirPath, { recursive: true });
238
+ }
239
+
240
+ fs.writeFileSync(filePath, JSON.stringify(enrichedConfigs, null, 2));
241
+ }
242
+
243
+ main().catch(console.error);
@@ -128,6 +128,28 @@ export type ApiToken = {
128
128
  token: Scalars['String']['output'];
129
129
  };
130
130
 
131
+ export type AptosNetworkConfig = {
132
+ __typename?: 'AptosNetworkConfig';
133
+ baseTokenAddress: Scalars['String']['output'];
134
+ baseTokenSymbol: Scalars['String']['output'];
135
+ color?: Maybe<Scalars['String']['output']>;
136
+ defaultPairAddress: Scalars['String']['output'];
137
+ defaultPairQuoteToken: QuoteToken;
138
+ enabled: Scalars['Boolean']['output'];
139
+ explorer: ExplorerConfig;
140
+ id: Scalars['ID']['output'];
141
+ mainnet: Scalars['Boolean']['output'];
142
+ name: Scalars['String']['output'];
143
+ networkIconUrl: Scalars['String']['output'];
144
+ networkId: Scalars['Int']['output'];
145
+ networkName: Scalars['String']['output'];
146
+ networkShortName: Scalars['String']['output'];
147
+ networkType: NetworkConfigType;
148
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
149
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
150
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
151
+ };
152
+
131
153
  export type ArenaTradeData = {
132
154
  __typename?: 'ArenaTradeData';
133
155
  /** Protocol specific token ID */
@@ -1222,6 +1244,28 @@ export type EventsQueryInput = {
1222
1244
  timestamp?: InputMaybe<EventQueryTimestampInput>;
1223
1245
  };
1224
1246
 
1247
+ export type EvmNetworkConfig = {
1248
+ __typename?: 'EvmNetworkConfig';
1249
+ baseTokenAddress: Scalars['String']['output'];
1250
+ baseTokenSymbol: Scalars['String']['output'];
1251
+ color?: Maybe<Scalars['String']['output']>;
1252
+ defaultPairAddress: Scalars['String']['output'];
1253
+ defaultPairQuoteToken: QuoteToken;
1254
+ enabled: Scalars['Boolean']['output'];
1255
+ explorer: ExplorerConfig;
1256
+ id: Scalars['ID']['output'];
1257
+ mainnet: Scalars['Boolean']['output'];
1258
+ name: Scalars['String']['output'];
1259
+ networkIconUrl: Scalars['String']['output'];
1260
+ networkId: Scalars['Int']['output'];
1261
+ networkName: Scalars['String']['output'];
1262
+ networkShortName: Scalars['String']['output'];
1263
+ networkType: NetworkConfigType;
1264
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
1265
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
1266
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
1267
+ };
1268
+
1225
1269
  /** Metadata for a decentralized exchange. */
1226
1270
  export type Exchange = {
1227
1271
  __typename?: 'Exchange';
@@ -1353,6 +1397,14 @@ export enum ExchangeRankingAttribute {
1353
1397
  VolumeUsd24 = 'volumeUSD24'
1354
1398
  }
1355
1399
 
1400
+ export type ExplorerConfig = {
1401
+ __typename?: 'ExplorerConfig';
1402
+ checksummed: Scalars['Boolean']['output'];
1403
+ icon: Scalars['String']['output'];
1404
+ name: Scalars['String']['output'];
1405
+ url: Scalars['String']['output'];
1406
+ };
1407
+
1356
1408
  /** Third party token data sourced from off chain. */
1357
1409
  export type ExplorerTokenData = {
1358
1410
  __typename?: 'ExplorerTokenData';
@@ -2313,6 +2365,37 @@ export type NetworkBreakdown = {
2313
2365
  statsYear1?: Maybe<WindowedWalletStats>;
2314
2366
  };
2315
2367
 
2368
+ export type NetworkConfig = AptosNetworkConfig | EvmNetworkConfig | SolanaNetworkConfig | StarknetNetworkConfig | SuiNetworkConfig;
2369
+
2370
+ export type NetworkConfigBase = {
2371
+ baseTokenAddress: Scalars['String']['output'];
2372
+ baseTokenSymbol: Scalars['String']['output'];
2373
+ color?: Maybe<Scalars['String']['output']>;
2374
+ defaultPairAddress: Scalars['String']['output'];
2375
+ defaultPairQuoteToken: QuoteToken;
2376
+ enabled: Scalars['Boolean']['output'];
2377
+ explorer: ExplorerConfig;
2378
+ id: Scalars['ID']['output'];
2379
+ mainnet: Scalars['Boolean']['output'];
2380
+ name: Scalars['String']['output'];
2381
+ networkIconUrl: Scalars['String']['output'];
2382
+ networkId: Scalars['Int']['output'];
2383
+ networkName: Scalars['String']['output'];
2384
+ networkShortName: Scalars['String']['output'];
2385
+ networkType: NetworkConfigType;
2386
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
2387
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
2388
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
2389
+ };
2390
+
2391
+ export enum NetworkConfigType {
2392
+ Aptos = 'APTOS',
2393
+ Evm = 'EVM',
2394
+ Solana = 'SOLANA',
2395
+ Starknet = 'STARKNET',
2396
+ Sui = 'SUI'
2397
+ }
2398
+
2316
2399
  /** A connection of wallets matching a filter on a specific network. */
2317
2400
  export type NetworkWalletFilterConnection = {
2318
2401
  __typename?: 'NetworkWalletFilterConnection';
@@ -6641,6 +6724,7 @@ export type Query = {
6641
6724
  * @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
6642
6725
  */
6643
6726
  getLatestTokens?: Maybe<LatestTokenConnection>;
6727
+ getNetworkConfigs: Array<NetworkConfig>;
6644
6728
  /** Returns metadata for a given network supported on Codex. */
6645
6729
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
6646
6730
  /** Returns the status of a list of networks supported on Codex. */
@@ -6931,6 +7015,11 @@ export type QueryGetLatestTokensArgs = {
6931
7015
  };
6932
7016
 
6933
7017
 
7018
+ export type QueryGetNetworkConfigsArgs = {
7019
+ networkIds?: InputMaybe<Array<Scalars['Int']['input']>>;
7020
+ };
7021
+
7022
+
6934
7023
  export type QueryGetNetworkStatsArgs = {
6935
7024
  exchangeAddress?: InputMaybe<Scalars['String']['input']>;
6936
7025
  networkId: Scalars['Int']['input'];
@@ -7427,6 +7516,28 @@ export type SocialLinks = {
7427
7516
  youtube?: Maybe<Scalars['String']['output']>;
7428
7517
  };
7429
7518
 
7519
+ export type SolanaNetworkConfig = {
7520
+ __typename?: 'SolanaNetworkConfig';
7521
+ baseTokenAddress: Scalars['String']['output'];
7522
+ baseTokenSymbol: Scalars['String']['output'];
7523
+ color?: Maybe<Scalars['String']['output']>;
7524
+ defaultPairAddress: Scalars['String']['output'];
7525
+ defaultPairQuoteToken: QuoteToken;
7526
+ enabled: Scalars['Boolean']['output'];
7527
+ explorer: ExplorerConfig;
7528
+ id: Scalars['ID']['output'];
7529
+ mainnet: Scalars['Boolean']['output'];
7530
+ name: Scalars['String']['output'];
7531
+ networkIconUrl: Scalars['String']['output'];
7532
+ networkId: Scalars['Int']['output'];
7533
+ networkName: Scalars['String']['output'];
7534
+ networkShortName: Scalars['String']['output'];
7535
+ networkType: NetworkConfigType;
7536
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7537
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7538
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7539
+ };
7540
+
7430
7541
  export enum SparklineAttribute {
7431
7542
  Price = 'PRICE'
7432
7543
  }
@@ -7438,6 +7549,28 @@ export type SparklineValue = {
7438
7549
  value: Scalars['Float']['output'];
7439
7550
  };
7440
7551
 
7552
+ export type StarknetNetworkConfig = {
7553
+ __typename?: 'StarknetNetworkConfig';
7554
+ baseTokenAddress: Scalars['String']['output'];
7555
+ baseTokenSymbol: Scalars['String']['output'];
7556
+ color?: Maybe<Scalars['String']['output']>;
7557
+ defaultPairAddress: Scalars['String']['output'];
7558
+ defaultPairQuoteToken: QuoteToken;
7559
+ enabled: Scalars['Boolean']['output'];
7560
+ explorer: ExplorerConfig;
7561
+ id: Scalars['ID']['output'];
7562
+ mainnet: Scalars['Boolean']['output'];
7563
+ name: Scalars['String']['output'];
7564
+ networkIconUrl: Scalars['String']['output'];
7565
+ networkId: Scalars['Int']['output'];
7566
+ networkName: Scalars['String']['output'];
7567
+ networkShortName: Scalars['String']['output'];
7568
+ networkType: NetworkConfigType;
7569
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7570
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7571
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7572
+ };
7573
+
7441
7574
  /** Filter for NFT stats. */
7442
7575
  export type StatsFilter = {
7443
7576
  /** The percent change between the `current` and `previous`. */
@@ -7683,6 +7816,28 @@ export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
7683
7816
  input: OnUnconfirmedEventsCreatedByMakerInput;
7684
7817
  };
7685
7818
 
7819
+ export type SuiNetworkConfig = {
7820
+ __typename?: 'SuiNetworkConfig';
7821
+ baseTokenAddress: Scalars['String']['output'];
7822
+ baseTokenSymbol: Scalars['String']['output'];
7823
+ color?: Maybe<Scalars['String']['output']>;
7824
+ defaultPairAddress: Scalars['String']['output'];
7825
+ defaultPairQuoteToken: QuoteToken;
7826
+ enabled: Scalars['Boolean']['output'];
7827
+ explorer: ExplorerConfig;
7828
+ id: Scalars['ID']['output'];
7829
+ mainnet: Scalars['Boolean']['output'];
7830
+ name: Scalars['String']['output'];
7831
+ networkIconUrl: Scalars['String']['output'];
7832
+ networkId: Scalars['Int']['output'];
7833
+ networkName: Scalars['String']['output'];
7834
+ networkShortName: Scalars['String']['output'];
7835
+ networkType: NetworkConfigType;
7836
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7837
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7838
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7839
+ };
7840
+
7686
7841
  /** Event data for a token swap event. */
7687
7842
  export type SwapEventData = {
7688
7843
  __typename?: 'SwapEventData';