@codex-data/sdk 1.0.24 → 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.
@@ -126,6 +126,28 @@ export type ApiToken = {
126
126
  token: Scalars['String']['output'];
127
127
  };
128
128
 
129
+ export type AptosNetworkConfig = {
130
+ __typename?: 'AptosNetworkConfig';
131
+ baseTokenAddress: Scalars['String']['output'];
132
+ baseTokenSymbol: Scalars['String']['output'];
133
+ color?: Maybe<Scalars['String']['output']>;
134
+ defaultPairAddress: Scalars['String']['output'];
135
+ defaultPairQuoteToken: QuoteToken;
136
+ enabled: Scalars['Boolean']['output'];
137
+ explorer: ExplorerConfig;
138
+ id: Scalars['ID']['output'];
139
+ mainnet: Scalars['Boolean']['output'];
140
+ name: Scalars['String']['output'];
141
+ networkIconUrl: Scalars['String']['output'];
142
+ networkId: Scalars['Int']['output'];
143
+ networkName: Scalars['String']['output'];
144
+ networkShortName: Scalars['String']['output'];
145
+ networkType: NetworkConfigType;
146
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
147
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
148
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
149
+ };
150
+
129
151
  export type ArenaTradeData = {
130
152
  __typename?: 'ArenaTradeData';
131
153
  /** Protocol specific token ID */
@@ -1220,6 +1242,28 @@ export type EventsQueryInput = {
1220
1242
  timestamp?: InputMaybe<EventQueryTimestampInput>;
1221
1243
  };
1222
1244
 
1245
+ export type EvmNetworkConfig = {
1246
+ __typename?: 'EvmNetworkConfig';
1247
+ baseTokenAddress: Scalars['String']['output'];
1248
+ baseTokenSymbol: Scalars['String']['output'];
1249
+ color?: Maybe<Scalars['String']['output']>;
1250
+ defaultPairAddress: Scalars['String']['output'];
1251
+ defaultPairQuoteToken: QuoteToken;
1252
+ enabled: Scalars['Boolean']['output'];
1253
+ explorer: ExplorerConfig;
1254
+ id: Scalars['ID']['output'];
1255
+ mainnet: Scalars['Boolean']['output'];
1256
+ name: Scalars['String']['output'];
1257
+ networkIconUrl: Scalars['String']['output'];
1258
+ networkId: Scalars['Int']['output'];
1259
+ networkName: Scalars['String']['output'];
1260
+ networkShortName: Scalars['String']['output'];
1261
+ networkType: NetworkConfigType;
1262
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
1263
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
1264
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
1265
+ };
1266
+
1223
1267
  /** Metadata for a decentralized exchange. */
1224
1268
  export type Exchange = {
1225
1269
  __typename?: 'Exchange';
@@ -1351,6 +1395,14 @@ export enum ExchangeRankingAttribute {
1351
1395
  VolumeUsd24 = 'volumeUSD24'
1352
1396
  }
1353
1397
 
1398
+ export type ExplorerConfig = {
1399
+ __typename?: 'ExplorerConfig';
1400
+ checksummed: Scalars['Boolean']['output'];
1401
+ icon: Scalars['String']['output'];
1402
+ name: Scalars['String']['output'];
1403
+ url: Scalars['String']['output'];
1404
+ };
1405
+
1354
1406
  /** Third party token data sourced from off chain. */
1355
1407
  export type ExplorerTokenData = {
1356
1408
  __typename?: 'ExplorerTokenData';
@@ -1956,6 +2008,8 @@ export enum LaunchpadTokenProtocol {
1956
2008
  EgoTech = 'EgoTech',
1957
2009
  /** Protocol name for Four.meme. */
1958
2010
  FourMeme = 'FourMeme',
2011
+ /** Protocol name for Heaven. */
2012
+ HeavenAmm = 'HeavenAMM',
1959
2013
  /** Protocol name for MeteoraDBC. */
1960
2014
  MeteoraDbc = 'MeteoraDBC',
1961
2015
  /** Protocol name for Moonit (formerly Moonshot). */
@@ -2309,6 +2363,37 @@ export type NetworkBreakdown = {
2309
2363
  statsYear1?: Maybe<WindowedWalletStats>;
2310
2364
  };
2311
2365
 
2366
+ export type NetworkConfig = AptosNetworkConfig | EvmNetworkConfig | SolanaNetworkConfig | StarknetNetworkConfig | SuiNetworkConfig;
2367
+
2368
+ export type NetworkConfigBase = {
2369
+ baseTokenAddress: Scalars['String']['output'];
2370
+ baseTokenSymbol: Scalars['String']['output'];
2371
+ color?: Maybe<Scalars['String']['output']>;
2372
+ defaultPairAddress: Scalars['String']['output'];
2373
+ defaultPairQuoteToken: QuoteToken;
2374
+ enabled: Scalars['Boolean']['output'];
2375
+ explorer: ExplorerConfig;
2376
+ id: Scalars['ID']['output'];
2377
+ mainnet: Scalars['Boolean']['output'];
2378
+ name: Scalars['String']['output'];
2379
+ networkIconUrl: Scalars['String']['output'];
2380
+ networkId: Scalars['Int']['output'];
2381
+ networkName: Scalars['String']['output'];
2382
+ networkShortName: Scalars['String']['output'];
2383
+ networkType: NetworkConfigType;
2384
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
2385
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
2386
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
2387
+ };
2388
+
2389
+ export enum NetworkConfigType {
2390
+ Aptos = 'APTOS',
2391
+ Evm = 'EVM',
2392
+ Solana = 'SOLANA',
2393
+ Starknet = 'STARKNET',
2394
+ Sui = 'SUI'
2395
+ }
2396
+
2312
2397
  /** A connection of wallets matching a filter on a specific network. */
2313
2398
  export type NetworkWalletFilterConnection = {
2314
2399
  __typename?: 'NetworkWalletFilterConnection';
@@ -5061,9 +5146,9 @@ export type OnEventsCreatedByMakerInput = {
5061
5146
  export type OnLaunchpadTokenEventBatchInput = {
5062
5147
  /** The type of event. */
5063
5148
  eventType?: InputMaybe<LaunchpadTokenEventType>;
5064
- /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
5149
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
5065
5150
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5066
- /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
5151
+ /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
5067
5152
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
5068
5153
  /** The network ID that the token is deployed on. */
5069
5154
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5079,9 +5164,9 @@ export type OnLaunchpadTokenEventInput = {
5079
5164
  address?: InputMaybe<Scalars['String']['input']>;
5080
5165
  /** The type of event. */
5081
5166
  eventType?: InputMaybe<LaunchpadTokenEventType>;
5082
- /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
5167
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
5083
5168
  launchpadName?: InputMaybe<Scalars['String']['input']>;
5084
- /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
5169
+ /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
5085
5170
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
5086
5171
  /** The network ID that the token is deployed on. */
5087
5172
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -6637,6 +6722,7 @@ export type Query = {
6637
6722
  * @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
6638
6723
  */
6639
6724
  getLatestTokens?: Maybe<LatestTokenConnection>;
6725
+ getNetworkConfigs: Array<NetworkConfig>;
6640
6726
  /** Returns metadata for a given network supported on Codex. */
6641
6727
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
6642
6728
  /** Returns the status of a list of networks supported on Codex. */
@@ -6927,6 +7013,11 @@ export type QueryGetLatestTokensArgs = {
6927
7013
  };
6928
7014
 
6929
7015
 
7016
+ export type QueryGetNetworkConfigsArgs = {
7017
+ networkIds?: InputMaybe<Array<Scalars['Int']['input']>>;
7018
+ };
7019
+
7020
+
6930
7021
  export type QueryGetNetworkStatsArgs = {
6931
7022
  exchangeAddress?: InputMaybe<Scalars['String']['input']>;
6932
7023
  networkId: Scalars['Int']['input'];
@@ -7423,6 +7514,28 @@ export type SocialLinks = {
7423
7514
  youtube?: Maybe<Scalars['String']['output']>;
7424
7515
  };
7425
7516
 
7517
+ export type SolanaNetworkConfig = {
7518
+ __typename?: 'SolanaNetworkConfig';
7519
+ baseTokenAddress: Scalars['String']['output'];
7520
+ baseTokenSymbol: Scalars['String']['output'];
7521
+ color?: Maybe<Scalars['String']['output']>;
7522
+ defaultPairAddress: Scalars['String']['output'];
7523
+ defaultPairQuoteToken: QuoteToken;
7524
+ enabled: Scalars['Boolean']['output'];
7525
+ explorer: ExplorerConfig;
7526
+ id: Scalars['ID']['output'];
7527
+ mainnet: Scalars['Boolean']['output'];
7528
+ name: Scalars['String']['output'];
7529
+ networkIconUrl: Scalars['String']['output'];
7530
+ networkId: Scalars['Int']['output'];
7531
+ networkName: Scalars['String']['output'];
7532
+ networkShortName: Scalars['String']['output'];
7533
+ networkType: NetworkConfigType;
7534
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7535
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7536
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7537
+ };
7538
+
7426
7539
  export enum SparklineAttribute {
7427
7540
  Price = 'PRICE'
7428
7541
  }
@@ -7434,6 +7547,28 @@ export type SparklineValue = {
7434
7547
  value: Scalars['Float']['output'];
7435
7548
  };
7436
7549
 
7550
+ export type StarknetNetworkConfig = {
7551
+ __typename?: 'StarknetNetworkConfig';
7552
+ baseTokenAddress: Scalars['String']['output'];
7553
+ baseTokenSymbol: Scalars['String']['output'];
7554
+ color?: Maybe<Scalars['String']['output']>;
7555
+ defaultPairAddress: Scalars['String']['output'];
7556
+ defaultPairQuoteToken: QuoteToken;
7557
+ enabled: Scalars['Boolean']['output'];
7558
+ explorer: ExplorerConfig;
7559
+ id: Scalars['ID']['output'];
7560
+ mainnet: Scalars['Boolean']['output'];
7561
+ name: Scalars['String']['output'];
7562
+ networkIconUrl: Scalars['String']['output'];
7563
+ networkId: Scalars['Int']['output'];
7564
+ networkName: Scalars['String']['output'];
7565
+ networkShortName: Scalars['String']['output'];
7566
+ networkType: NetworkConfigType;
7567
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7568
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7569
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7570
+ };
7571
+
7437
7572
  /** Filter for NFT stats. */
7438
7573
  export type StatsFilter = {
7439
7574
  /** The percent change between the `current` and `previous`. */
@@ -7679,6 +7814,28 @@ export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
7679
7814
  input: OnUnconfirmedEventsCreatedByMakerInput;
7680
7815
  };
7681
7816
 
7817
+ export type SuiNetworkConfig = {
7818
+ __typename?: 'SuiNetworkConfig';
7819
+ baseTokenAddress: Scalars['String']['output'];
7820
+ baseTokenSymbol: Scalars['String']['output'];
7821
+ color?: Maybe<Scalars['String']['output']>;
7822
+ defaultPairAddress: Scalars['String']['output'];
7823
+ defaultPairQuoteToken: QuoteToken;
7824
+ enabled: Scalars['Boolean']['output'];
7825
+ explorer: ExplorerConfig;
7826
+ id: Scalars['ID']['output'];
7827
+ mainnet: Scalars['Boolean']['output'];
7828
+ name: Scalars['String']['output'];
7829
+ networkIconUrl: Scalars['String']['output'];
7830
+ networkId: Scalars['Int']['output'];
7831
+ networkName: Scalars['String']['output'];
7832
+ networkShortName: Scalars['String']['output'];
7833
+ networkType: NetworkConfigType;
7834
+ newTokensEnabled?: Maybe<Scalars['Boolean']['output']>;
7835
+ stableCoinAddresses?: Maybe<Array<Scalars['String']['output']>>;
7836
+ wrappedBaseTokenSymbol: Scalars['String']['output'];
7837
+ };
7838
+
7682
7839
  /** Event data for a token swap event. */
7683
7840
  export type SwapEventData = {
7684
7841
  __typename?: 'SwapEventData';
@@ -8143,7 +8300,7 @@ export type TokenFilters = {
8143
8300
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
8144
8301
  /** The timestamp when the launchpad was migrated */
8145
8302
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
8146
- /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
8303
+ /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, Virtuals, Clanker, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
8147
8304
  launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
8148
8305
  /** A list of launchpad protocols. */
8149
8306
  launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;