@reptilianhq/chain-data-contract 0.10.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/index.js ADDED
@@ -0,0 +1,4 @@
1
+ export { ROBINHOOD_TESTNET_GEN9_REPLAY_FIXTURE, assertRobinhoodTestnetGen9Deployment, assertRobinhoodTestnetGen9ReplaySnapshot, } from './replay-fixtures.js';
2
+ export { CHAIN_DATA_OPERATIONS, CHAIN_DATA_OPERATION_IDS, CHAIN_DATA_PERSISTED_QUERY_MANIFEST, CHAIN_DATA_SCHEMA_SDL, } from './operations.generated.js';
3
+ export const CHAIN_DATA_OPERATION_MAP_COVERS_MANIFEST = true;
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,qCAAqC,EACrC,oCAAoC,EACpC,wCAAwC,GAGzC,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,mCAAmC,EACnC,qBAAqB,GAGtB,MAAM,2BAA2B,CAAC;AAyKnC,MAAM,CAAC,MAAM,wCAAwC,GAAwC,IAAI,CAAC"}
@@ -0,0 +1,169 @@
1
+ export declare const CHAIN_DATA_SCHEMA_SDL = "\"\"\"\nAn EVM address normalized to lowercase by the gateway.\n\"\"\"\nscalar Address\n\n\"\"\"\nAn opaque cursor returned by pageInfo. Consumers must return it unchanged.\n\"\"\"\nscalar Cursor\n\n\"\"\"\nAn exact quote-token amount serialized as { wei: String!, decimal: String! }.\nThe legacy `wei` key contains exact raw base units for the identified quote\nasset, including non-18-decimal ERC-20 assets. Never coerce either value to a\nJavaScript number.\n\"\"\"\nscalar ExactQuoteAmount\n\n\"\"\"\nAn exact launch-token amount serialized as { raw: String!, decimal: String! }.\nNever coerce raw or decimal values to a JavaScript number.\n\"\"\"\nscalar ExactTokenAmount\n\n\"\"\"\nAn exact decimal string. Consumers choose display precision at the UI boundary.\n\"\"\"\nscalar Decimal\n\n\"\"\"An exact amount denominated in one explicit ERC-20 quote asset.\"\"\"\ntype ExactAssetAmount {\n token: Address!\n symbol: String\n raw: String!\n decimals: Int\n decimal: Decimal\n}\n\ntype QuoteAssetVolume {\n amount: ExactAssetAmount!\n tradeCount: Int!\n}\n\nenum PonsLifecyclePhase {\n bonding\n swept\n pool_created\n rescued\n}\n\ntype PonsLaunchState {\n lifecyclePhase: PonsLifecyclePhase!\n curve: Address!\n launchConfigId: String!\n configSupply: ExactTokenAmount!\n phantomQuote: ExactAssetAmount!\n configEnabledAtLaunchBlock: Boolean!\n graduationThreshold: ExactAssetAmount!\n curveFeeBps: Int!\n creatorTaxBps: Int!\n buybackEnabled: Boolean!\n buybackController: Address\n poolFeePips: Int!\n tickSpacing: Int!\n creatorFeeRecipient: Address!\n protocolFeeRecipient: Address!\n protocolFeeShareBps: Int!\n buybackBurnBps: Int!\n hookFeeBps: Int!\n maxInternalPriceImpactBps: Int!\n sweptQuote: ExactAssetAmount!\n sweptTokens: ExactTokenAmount!\n sweptAt: String\n poolPositionId: String\n rescueRecipient: Address\n rescueQuote: ExactAssetAmount\n rescueTokens: ExactTokenAmount\n lastUpdatedBlock: String!\n lastUpdatedAt: String!\n}\n\nenum LaunchPhase {\n BONDING\n GRADUATED\n}\n\nenum PriceVenue {\n CANONICAL\n ALL\n}\n\nenum IndexedLaunchPhase {\n bonding\n graduated\n}\n\nenum TradeVenue {\n curve\n amm\n lb\n}\n\nenum TradeSide {\n buy\n sell\n}\n\ntype PageInfo {\n endCursor: Cursor\n hasNextPage: Boolean!\n}\n\ntype LaunchSummary {\n id: ID!\n provider: LaunchProvider!\n pons: PonsLaunchState\n token: Address!\n quoteToken: Address!\n name: String\n symbol: String\n creator: Address!\n creatorBps: Int!\n curveFeeBps: Int!\n payoutWallet: Address!\n metadataURI: String!\n phase: IndexedLaunchPhase!\n pool: Address\n amountRaisedQuote: ExactQuoteAmount!\n amountRaisedQuoteAsset: ExactAssetAmount!\n raiseThresholdQuote: ExactQuoteAmount!\n raiseThresholdQuoteAsset: ExactAssetAmount!\n curveProgressPct: Decimal\n holderCount: Int!\n holderCountPartial: Boolean!\n volume24hQuote: ExactQuoteAmount!\n volume24hQuoteAsset: ExactAssetAmount!\n anchoredVolume24hQuote: ExactQuoteAmount!\n anchoredVolume24hQuoteAsset: ExactAssetAmount!\n volume24hHoldingsAnchored: Boolean!\n volume24hPartial: Boolean!\n volumeWindowSeconds: Int!\n totalCanonicalVolumeQuote: ExactQuoteAmount!\n totalCanonicalVolumeQuoteAsset: ExactAssetAmount!\n volumeByQuoteAsset: [QuoteAssetVolume!]!\n lbVolumeByQuoteAsset: [QuoteAssetVolume!]!\n \"\"\"Legacy 18-decimal projection. Use lbVolumeByQuoteAsset for LB accounting.\"\"\"\n totalLbVolumeQuote: ExactQuoteAmount!\n tradeCount: Int!\n lastCanonicalPrice: Decimal\n lastCanonicalPriceBlock: Int\n createdBlock: Int!\n createdTimestamp: Int!\n graduatedBlock: Int\n graduatedTimestamp: Int\n}\n\nenum LaunchProvider {\n launchonblock\n pons\n}\n\ntype LaunchConnection {\n nodes: [LaunchSummary!]!\n pageInfo: PageInfo!\n}\n\ntype LaunchPool {\n address: Address!\n poolType: String!\n token0: Address!\n token1: Address!\n quoteIsToken1: Boolean!\n quoteToken: Address!\n ignoredForRouting: Boolean!\n binStep: String\n reserveToken: ExactTokenAmount\n reserveQuote: ExactQuoteAmount\n tvlQuote: ExactQuoteAmount\n reserveQuoteAsset: ExactAssetAmount\n tvlQuoteAsset: ExactAssetAmount\n reserveSource: String!\n createdBlock: Int!\n lastUpdatedBlock: Int!\n}\n\nenum ExternalMarketProtocol {\n uniswap_v2\n uniswap_v3\n uniswap_v4\n}\n\n\"\"\"A Uniswap market whose token0 or token1 is a launch from this exact deployment.\"\"\"\ntype LaunchExternalMarket {\n id: ID!\n protocol: ExternalMarketProtocol!\n \"\"\"The v2/v3 factory or v4 PoolManager that emitted the creation event.\"\"\"\n venueAddress: Address!\n \"\"\"The pair/pool contract for v2/v3. V4 pools live inside PoolManager and have no address.\"\"\"\n poolAddress: Address\n \"\"\"The bytes32 PoolId for v4. Null for address-identified v2/v3 markets.\"\"\"\n poolId: String\n token0: Address!\n token1: Address!\n feePips: Int\n tickSpacing: Int\n hooks: Address\n createdBlock: Int!\n createdTransactionHash: String!\n createdLogIndex: Int!\n}\n\ntype LaunchTrade {\n id: ID!\n venue: TradeVenue!\n side: TradeSide!\n sender: Address!\n recipient: Address!\n attributedWallet: Address\n quoteToken: Address!\n quoteAmount: ExactQuoteAmount!\n quoteAmountAsset: ExactAssetAmount!\n tokenAmount: ExactTokenAmount!\n price: Decimal\n blockNumber: Int!\n blockTimestamp: Int!\n transactionHash: String!\n logIndex: Int!\n}\n\ntype LaunchFeeEvent {\n id: ID!\n kind: String!\n economicType: String!\n pair: Address\n quoteToken: Address!\n creatorTokenAmount: ExactTokenAmount!\n creatorQuoteAmount: ExactQuoteAmount!\n creatorQuoteAmountAsset: ExactAssetAmount!\n protocolTokenAmount: ExactTokenAmount!\n protocolQuoteAmount: ExactQuoteAmount!\n protocolQuoteAmountAsset: ExactAssetAmount!\n payoutAmount: ExactQuoteAmount!\n payoutStatus: String\n blockNumber: Int!\n blockTimestamp: Int!\n transactionHash: String!\n}\n\ntype SupplySlice {\n amount: ExactTokenAmount!\n \"\"\"Floor(amount * 10_000 / originalSupply). Exact raw amounts remain authoritative.\"\"\"\n basisPoints: Int!\n}\n\ntype SupplyDistribution {\n originalSupply: ExactTokenAmount!\n bondingCurveCustody: SupplySlice!\n graduationPoolLiquidity: SupplySlice!\n lbLiquidity: SupplySlice!\n \"\"\"Pool token custody excluded from tradable reserves, including accrued protocol fees.\"\"\"\n poolNonLiquidityCustody: SupplySlice!\n lockedDead: SupplySlice!\n \"\"\"Known Launchpad/Router custody outside the active bonding-curve inventory.\"\"\"\n otherProtocolCustody: SupplySlice!\n \"\"\"All supply outside known protocol and dead-address custody.\"\"\"\n userHeld: SupplySlice!\n reconciled: Boolean!\n partial: Boolean!\n}\n\ntype LaunchDetail {\n id: ID!\n provider: LaunchProvider!\n pons: PonsLaunchState\n token: Address!\n quoteToken: Address!\n name: String\n symbol: String\n creator: Address!\n creatorBps: Int!\n curveFeeBps: Int!\n payoutWallet: Address!\n metadataURI: String!\n phase: IndexedLaunchPhase!\n pool: Address\n amountRaisedQuote: ExactQuoteAmount!\n amountRaisedQuoteAsset: ExactAssetAmount!\n raiseThresholdQuote: ExactQuoteAmount!\n raiseThresholdQuoteAsset: ExactAssetAmount!\n curveProgressPct: Decimal\n holderCount: Int!\n holderCountPartial: Boolean!\n volume24hQuote: ExactQuoteAmount!\n volume24hQuoteAsset: ExactAssetAmount!\n anchoredVolume24hQuote: ExactQuoteAmount!\n anchoredVolume24hQuoteAsset: ExactAssetAmount!\n volume24hHoldingsAnchored: Boolean!\n volume24hPartial: Boolean!\n volumeWindowSeconds: Int!\n totalCanonicalVolumeQuote: ExactQuoteAmount!\n totalCanonicalVolumeQuoteAsset: ExactAssetAmount!\n volumeByQuoteAsset: [QuoteAssetVolume!]!\n lbVolumeByQuoteAsset: [QuoteAssetVolume!]!\n \"\"\"Legacy 18-decimal projection. Use lbVolumeByQuoteAsset for LB accounting.\"\"\"\n totalLbVolumeQuote: ExactQuoteAmount!\n tradeCount: Int!\n lastCanonicalPrice: Decimal\n lastCanonicalPriceBlock: Int\n createdBlock: Int!\n createdTimestamp: Int!\n graduatedBlock: Int\n graduatedTimestamp: Int\n pools: [LaunchPool!]!\n poolsPartial: Boolean!\n externalMarkets: [LaunchExternalMarket!]!\n externalMarketsPartial: Boolean!\n supplyDistribution: SupplyDistribution!\n recentTrades: [LaunchTrade!]!\n fees: [LaunchFeeEvent!]!\n}\n\ntype TrendingLaunch {\n token: Address!\n name: String\n symbol: String\n phase: IndexedLaunchPhase!\n lastCanonicalPrice: Decimal\n recentVolumeQuote: ExactQuoteAmount!\n rankVolumeQuote: ExactQuoteAmount!\n retainedValueQuote: ExactQuoteAmount\n holdingsAnchored: Boolean!\n distinctTraders: Int!\n recentTrades: Int!\n changePct: Decimal!\n windowSeconds: Int!\n}\n\ntype TrendingLaunchResult {\n nodes: [TrendingLaunch!]!\n partial: Boolean!\n minDistinctTraders: Int!\n maxTraderPct: Int!\n holdingsMultiple: Int!\n}\n\ntype LaunchPricePoint {\n cursor: Cursor!\n timestamp: Int!\n blockNumber: Int!\n price: Decimal\n volumeQuote: ExactQuoteAmount!\n volumeQuoteAsset: ExactAssetAmount!\n venue: TradeVenue!\n side: TradeSide!\n transactionHash: String!\n}\n\ntype LaunchPriceSeriesConnection {\n nodes: [LaunchPricePoint!]!\n pageInfo: PageInfo!\n}\n\ntype WalletLaunchPosition {\n \"\"\"CAIP-style chain-local token identity used by portfolio observation consumers.\"\"\"\n tokenIdentity: ID!\n token: Address!\n name: String\n symbol: String\n decimals: Int\n phase: IndexedLaunchPhase!\n balance: ExactTokenAmount!\n \"\"\"Exact display amount when token decimals are known.\"\"\"\n amountDisplay: Decimal\n tokenBalance: String!\n \"\"\"Exact quote asset used by this launch and all quote-denominated position fields.\"\"\"\n quoteToken: Address!\n valueQuote: ExactQuoteAmount!\n valueQuoteAsset: ExactAssetAmount!\n investedQuote: ExactQuoteAmount!\n investedQuoteAsset: ExactAssetAmount!\n proceedsQuote: ExactQuoteAmount!\n proceedsQuoteAsset: ExactAssetAmount!\n pnlQuote: ExactQuoteAmount!\n pnlQuoteAsset: ExactAssetAmount!\n lastCanonicalPrice: Decimal\n \"\"\"Exact ERC-20 quote asset for lastCanonicalPrice; null when price is unavailable.\"\"\"\n lastCanonicalPriceQuoteToken: Address\n \"\"\"Display quote units per display token unit, normalized with both ERC-20 decimal scales.\"\"\"\n lastCanonicalUnitPrice: Decimal\n lastCanonicalPriceBlock: String\n \"\"\"Timestamp of the exact canonical trade that produced lastCanonicalPrice.\"\"\"\n lastCanonicalPriceObservedAt: String\n \"\"\"Deterministic watermark of the indexed wallet balance row.\"\"\"\n sourceWatermark: String!\n observedAtBlock: String!\n observedAt: String!\n buyCount: Int!\n sellCount: Int!\n}\n\ntype WalletLaunchPositionTotals {\n \"\"\"Legacy wrapped-native-only totals. Null when the portfolio contains another quote asset.\"\"\"\n valueQuote: ExactQuoteAmount!\n investedQuote: ExactQuoteAmount!\n proceedsQuote: ExactQuoteAmount!\n pnlQuote: ExactQuoteAmount!\n}\n\ntype WalletLaunchPositionAssetTotals {\n quoteToken: Address!\n valueQuoteAsset: ExactAssetAmount!\n investedQuoteAsset: ExactAssetAmount!\n proceedsQuoteAsset: ExactAssetAmount!\n pnlQuoteAsset: ExactAssetAmount!\n}\n\n\"\"\"Indexer checkpoint observed by the gateway while capturing one bounded page.\"\"\"\ntype PortfolioObservationWatermark {\n sourceWatermark: String!\n observedAtBlock: String!\n observedAt: String!\n}\n\ntype WalletLaunchPositionResult {\n wallet: Address!\n partial: Boolean!\n observationWatermark: PortfolioObservationWatermark\n positions: [WalletLaunchPosition!]!\n pageInfo: PageInfo!\n \"\"\"Legacy wrapped-native totals, withheld for partial scans or portfolios containing another quote asset.\"\"\"\n totals: WalletLaunchPositionTotals\n \"\"\"Complete totals grouped by exact quote asset; null when the totals scan is partial.\"\"\"\n totalsByQuoteAsset: [WalletLaunchPositionAssetTotals!]\n}\n\n\"\"\"An LB pair indexed from the configured factory, whether or not either token belongs to the configured launchpad deployment.\"\"\"\ntype LiquidityBookPair {\n address: Address!\n token0: Address!\n token1: Address!\n binStep: String!\n activeBinId: String\n createdBlock: String!\n lastUpdatedBlock: String!\n}\n\n\"\"\"Event-folded ERC-1155 receipt ownership for one wallet in one LB pair.\"\"\"\ntype LiquidityBookPosition {\n poolAddress: Address!\n walletAddress: Address!\n activeBinCount: String!\n totalReceiptBalance: String!\n lastUpdatedBlock: String!\n lastUpdatedBlockHash: String!\n lastUpdatedTimestamp: String!\n lastUpdatedTransactionHash: String!\n pair: LiquidityBookPair\n \"\"\"Exact checkpoint-bound underlying assets; null unless every active bin is resolved.\"\"\"\n underlyingAssets: [PortfolioUnderlyingAsset!]\n}\n\ntype PortfolioUnderlyingAsset {\n tokenIdentity: ID!\n token: Address!\n decimals: Int!\n amountRaw: String!\n amountDisplay: Decimal!\n lastCanonicalPrice: Decimal\n lastCanonicalPriceQuoteToken: Address\n lastCanonicalUnitPrice: Decimal\n lastCanonicalPriceBlock: String\n lastCanonicalPriceObservedAt: String\n}\n\ntype WalletLiquidityBookPositionResult {\n wallet: Address!\n partial: Boolean!\n observationWatermark: PortfolioObservationWatermark\n positions: [LiquidityBookPosition!]!\n pageInfo: PageInfo!\n}\n\ntype LiquidityBookPositionBin {\n cursor: Cursor!\n binId: String!\n receiptBalance: String!\n lastUpdatedBlock: String!\n lastUpdatedBlockHash: String!\n lastUpdatedTimestamp: String!\n lastUpdatedTransactionHash: String!\n}\n\ntype LiquidityBookPositionDetail {\n position: LiquidityBookPosition!\n bins: [LiquidityBookPositionBin!]!\n binsPageInfo: PageInfo!\n partial: Boolean!\n}\n\ntype ProtocolStats {\n launched: Int!\n graduated: Int!\n bonding: Int!\n poolCount: Int!\n tradeCount: Int!\n tvlQuote: ExactQuoteAmount\n tvlPartial: Boolean!\n volumePartial: Boolean!\n totalVolumeQuote: ExactQuoteAmount\n curveVolumeQuote: ExactQuoteAmount\n ammVolumeQuote: ExactQuoteAmount\n lbVolumeQuote: ExactQuoteAmount\n volumeByQuoteAsset: [QuoteAssetVolume!]!\n lbVolumeByQuoteAsset: [QuoteAssetVolume!]!\n lastIndexedBlock: Int!\n lastUpdatedTimestamp: Int!\n}\n\ntype ChainDataFreshness {\n deploymentId: ID!\n healthy: Boolean!\n backfilling: Boolean!\n chainId: Int!\n launchpadAddress: Address!\n startBlock: Int!\n chainHead: Int!\n indexedHead: Int!\n sourceHead: Int!\n blockLag: Int!\n configuredBlockLag: Int!\n lastProcessedAt: String\n hasuraReachable: Boolean!\n rpcReachable: Boolean!\n}\n\nenum EthUsdPriceSource {\n WETH_USDG_SPOT\n}\n\ntype EthUsdPrice {\n price: Decimal!\n source: EthUsdPriceSource!\n observedAt: String!\n observedBlock: String!\n sourceChainId: Int!\n pair: Address!\n reserveTimestamp: Int!\n}\n\ntype Query {\n launches(deploymentId: ID!, phase: LaunchPhase, first: Int!, after: String): LaunchConnection!\n launch(deploymentId: ID!, token: Address!): LaunchDetail\n trendingLaunches(deploymentId: ID!, first: Int!): TrendingLaunchResult!\n launchPriceSeries(deploymentId: ID!, token: Address!, venue: PriceVenue!, first: Int!, after: String): LaunchPriceSeriesConnection!\n walletLaunchPositions(deploymentId: ID!, wallet: Address!, first: Int!, after: String): WalletLaunchPositionResult!\n walletLiquidityBookPositions(deploymentId: ID!, wallet: Address!, first: Int!, after: String): WalletLiquidityBookPositionResult!\n liquidityBookPosition(deploymentId: ID!, wallet: Address!, pool: Address!, binFirst: Int!, binsAfter: String): LiquidityBookPositionDetail\n protocolStats(deploymentId: ID!): ProtocolStats!\n chainDataFreshness(deploymentId: ID!): ChainDataFreshness!\n ethUsdPrice: EthUsdPrice!\n}\n";
2
+ export declare const CHAIN_DATA_OPERATIONS: {
3
+ readonly LaunchFeed: {
4
+ readonly name: "LaunchFeed";
5
+ readonly type: "query";
6
+ readonly rootField: "launches";
7
+ readonly document: "query LaunchFeed($deploymentId: ID!, $phase: LaunchPhase, $first: Int!, $after: String) {\n launches(deploymentId: $deploymentId, phase: $phase, first: $first, after: $after) {\n nodes { id provider pons { lifecyclePhase curve launchConfigId configSupply phantomQuote { token symbol raw decimals decimal } configEnabledAtLaunchBlock graduationThreshold { token symbol raw decimals decimal } curveFeeBps creatorTaxBps buybackEnabled buybackController poolFeePips tickSpacing creatorFeeRecipient protocolFeeRecipient protocolFeeShareBps buybackBurnBps hookFeeBps maxInternalPriceImpactBps sweptQuote { token symbol raw decimals decimal } sweptTokens sweptAt poolPositionId rescueRecipient rescueQuote { token symbol raw decimals decimal } rescueTokens lastUpdatedBlock lastUpdatedAt } token quoteToken name symbol creator creatorBps curveFeeBps payoutWallet metadataURI phase pool amountRaisedQuote amountRaisedQuoteAsset { token symbol raw decimals decimal } raiseThresholdQuote raiseThresholdQuoteAsset { token symbol raw decimals decimal } curveProgressPct holderCount holderCountPartial volume24hQuote volume24hQuoteAsset { token symbol raw decimals decimal } anchoredVolume24hQuote anchoredVolume24hQuoteAsset { token symbol raw decimals decimal } volume24hHoldingsAnchored volume24hPartial volumeWindowSeconds totalCanonicalVolumeQuote totalCanonicalVolumeQuoteAsset { token symbol raw decimals decimal } volumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lbVolumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } totalLbVolumeQuote tradeCount lastCanonicalPrice lastCanonicalPriceBlock createdBlock createdTimestamp graduatedBlock graduatedTimestamp }\n pageInfo { endCursor hasNextPage }\n }\n}";
8
+ readonly sha256Hash: "e75e122a30258551085c248eabc2a526a6ce0761bba550fdc5d64fb50f7da1f3";
9
+ };
10
+ readonly LaunchDetail: {
11
+ readonly name: "LaunchDetail";
12
+ readonly type: "query";
13
+ readonly rootField: "launch";
14
+ readonly document: "query LaunchDetail($deploymentId: ID!, $token: Address!) {\n launch(deploymentId: $deploymentId, token: $token) {\n id provider pons { lifecyclePhase curve launchConfigId configSupply phantomQuote { token symbol raw decimals decimal } configEnabledAtLaunchBlock graduationThreshold { token symbol raw decimals decimal } curveFeeBps creatorTaxBps buybackEnabled buybackController poolFeePips tickSpacing creatorFeeRecipient protocolFeeRecipient protocolFeeShareBps buybackBurnBps hookFeeBps maxInternalPriceImpactBps sweptQuote { token symbol raw decimals decimal } sweptTokens sweptAt poolPositionId rescueRecipient rescueQuote { token symbol raw decimals decimal } rescueTokens lastUpdatedBlock lastUpdatedAt } token quoteToken name symbol creator creatorBps curveFeeBps payoutWallet metadataURI phase pool amountRaisedQuote amountRaisedQuoteAsset { token symbol raw decimals decimal } raiseThresholdQuote raiseThresholdQuoteAsset { token symbol raw decimals decimal } curveProgressPct holderCount holderCountPartial volume24hQuote volume24hQuoteAsset { token symbol raw decimals decimal } anchoredVolume24hQuote anchoredVolume24hQuoteAsset { token symbol raw decimals decimal } volume24hHoldingsAnchored volume24hPartial volumeWindowSeconds totalCanonicalVolumeQuote totalCanonicalVolumeQuoteAsset { token symbol raw decimals decimal } volumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lbVolumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } totalLbVolumeQuote tradeCount lastCanonicalPrice lastCanonicalPriceBlock createdBlock createdTimestamp graduatedBlock graduatedTimestamp\n pools { address poolType token0 token1 quoteIsToken1 quoteToken ignoredForRouting binStep reserveToken reserveQuote tvlQuote reserveQuoteAsset { token symbol raw decimals decimal } tvlQuoteAsset { token symbol raw decimals decimal } reserveSource createdBlock lastUpdatedBlock }\n poolsPartial\n externalMarkets { id protocol venueAddress poolAddress poolId token0 token1 feePips tickSpacing hooks createdBlock createdTransactionHash createdLogIndex }\n externalMarketsPartial\n supplyDistribution {\n originalSupply\n bondingCurveCustody { amount basisPoints }\n graduationPoolLiquidity { amount basisPoints }\n lbLiquidity { amount basisPoints }\n poolNonLiquidityCustody { amount basisPoints }\n lockedDead { amount basisPoints }\n otherProtocolCustody { amount basisPoints }\n userHeld { amount basisPoints }\n reconciled partial\n }\n recentTrades { id venue side sender recipient attributedWallet quoteToken quoteAmount quoteAmountAsset { token symbol raw decimals decimal } tokenAmount price blockNumber blockTimestamp transactionHash logIndex }\n fees { id kind economicType pair quoteToken creatorTokenAmount creatorQuoteAmount creatorQuoteAmountAsset { token symbol raw decimals decimal } protocolTokenAmount protocolQuoteAmount protocolQuoteAmountAsset { token symbol raw decimals decimal } payoutAmount payoutStatus blockNumber blockTimestamp transactionHash }\n }\n}";
15
+ readonly sha256Hash: "55d8759a6dc2a12d3804ce913326d435eaa0b253dbf2ca399870e962e02211d8";
16
+ };
17
+ readonly TrendingLaunches: {
18
+ readonly name: "TrendingLaunches";
19
+ readonly type: "query";
20
+ readonly rootField: "trendingLaunches";
21
+ readonly document: "query TrendingLaunches($deploymentId: ID!, $first: Int!) {\n trendingLaunches(deploymentId: $deploymentId, first: $first) {\n nodes { token name symbol phase lastCanonicalPrice recentVolumeQuote rankVolumeQuote retainedValueQuote holdingsAnchored distinctTraders recentTrades changePct windowSeconds }\n partial minDistinctTraders maxTraderPct holdingsMultiple\n }\n}";
22
+ readonly sha256Hash: "bfa72f926cea11d12dd6564dbcbab7d34e1ffd0d59130cc9caf26d45873cfcc9";
23
+ };
24
+ readonly LaunchPriceSeries: {
25
+ readonly name: "LaunchPriceSeries";
26
+ readonly type: "query";
27
+ readonly rootField: "launchPriceSeries";
28
+ readonly document: "query LaunchPriceSeries($deploymentId: ID!, $token: Address!, $venue: PriceVenue!, $first: Int!, $after: String) {\n launchPriceSeries(deploymentId: $deploymentId, token: $token, venue: $venue, first: $first, after: $after) {\n nodes { cursor timestamp blockNumber price volumeQuote volumeQuoteAsset { token symbol raw decimals decimal } venue side transactionHash }\n pageInfo { endCursor hasNextPage }\n }\n}";
29
+ readonly sha256Hash: "424748eceb7edfb4b64fb28e33c29ee9b517f2c9b026b0050ec18778354c5d70";
30
+ };
31
+ readonly WalletLaunchPositions: {
32
+ readonly name: "WalletLaunchPositions";
33
+ readonly type: "query";
34
+ readonly rootField: "walletLaunchPositions";
35
+ readonly document: "query WalletLaunchPositions($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLaunchPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial\n positions { token name symbol phase balance tokenBalance quoteToken valueQuote valueQuoteAsset { token symbol raw decimals decimal } investedQuote investedQuoteAsset { token symbol raw decimals decimal } proceedsQuote proceedsQuoteAsset { token symbol raw decimals decimal } pnlQuote pnlQuoteAsset { token symbol raw decimals decimal } lastCanonicalPrice buyCount sellCount }\n pageInfo { endCursor hasNextPage }\n totals { valueQuote investedQuote proceedsQuote pnlQuote }\n totalsByQuoteAsset { quoteToken valueQuoteAsset { token symbol raw decimals decimal } investedQuoteAsset { token symbol raw decimals decimal } proceedsQuoteAsset { token symbol raw decimals decimal } pnlQuoteAsset { token symbol raw decimals decimal } }\n }\n}";
36
+ readonly sha256Hash: "50296690ad4968a8e1fbef342268eb0907ca753b8fd4ab464e5d6c5339e2e800";
37
+ };
38
+ readonly PortfolioWalletBalances: {
39
+ readonly name: "PortfolioWalletBalances";
40
+ readonly type: "query";
41
+ readonly rootField: "walletLaunchPositions";
42
+ readonly document: "query PortfolioWalletBalances($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLaunchPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial observationWatermark { sourceWatermark observedAtBlock observedAt }\n positions { tokenIdentity token name symbol decimals amountDisplay tokenBalance quoteToken valueQuoteAsset { token symbol raw decimals decimal } investedQuoteAsset { token symbol raw decimals decimal } proceedsQuoteAsset { token symbol raw decimals decimal } pnlQuoteAsset { token symbol raw decimals decimal } sourceWatermark observedAtBlock observedAt lastCanonicalPrice lastCanonicalPriceQuoteToken lastCanonicalUnitPrice lastCanonicalPriceBlock lastCanonicalPriceObservedAt }\n pageInfo { endCursor hasNextPage }\n }\n}";
43
+ readonly sha256Hash: "d7a6d20786eef66ddd1211cf97f2e2eba2e445784dc6893ed6f6c4a5d4b511e5";
44
+ };
45
+ readonly WalletLiquidityBookPositions: {
46
+ readonly name: "WalletLiquidityBookPositions";
47
+ readonly type: "query";
48
+ readonly rootField: "walletLiquidityBookPositions";
49
+ readonly document: "query WalletLiquidityBookPositions($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLiquidityBookPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial\n positions { poolAddress walletAddress activeBinCount totalReceiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash pair { address token0 token1 binStep activeBinId createdBlock lastUpdatedBlock } }\n pageInfo { endCursor hasNextPage }\n }\n}";
50
+ readonly sha256Hash: "7aac47e7b94c774421ebdbe4f24130ba885f23384a51892c043b75020b05e358";
51
+ };
52
+ readonly PortfolioWalletLiquidityPositions: {
53
+ readonly name: "PortfolioWalletLiquidityPositions";
54
+ readonly type: "query";
55
+ readonly rootField: "walletLiquidityBookPositions";
56
+ readonly document: "query PortfolioWalletLiquidityPositions($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLiquidityBookPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial observationWatermark { sourceWatermark observedAtBlock observedAt }\n positions { poolAddress walletAddress activeBinCount totalReceiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash pair { address token0 token1 binStep activeBinId createdBlock lastUpdatedBlock } underlyingAssets { tokenIdentity token decimals amountRaw amountDisplay lastCanonicalPrice lastCanonicalPriceQuoteToken lastCanonicalUnitPrice lastCanonicalPriceBlock lastCanonicalPriceObservedAt } }\n pageInfo { endCursor hasNextPage }\n }\n}";
57
+ readonly sha256Hash: "f41113a529249e6a0a2eceeda185a443ac920b569c36fbfb56cf17eac086da83";
58
+ };
59
+ readonly LiquidityBookPosition: {
60
+ readonly name: "LiquidityBookPosition";
61
+ readonly type: "query";
62
+ readonly rootField: "liquidityBookPosition";
63
+ readonly document: "query LiquidityBookPosition($deploymentId: ID!, $wallet: Address!, $pool: Address!, $binFirst: Int!, $binsAfter: String) {\n liquidityBookPosition(deploymentId: $deploymentId, wallet: $wallet, pool: $pool, binFirst: $binFirst, binsAfter: $binsAfter) {\n position { poolAddress walletAddress activeBinCount totalReceiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash pair { address token0 token1 binStep activeBinId createdBlock lastUpdatedBlock } }\n bins { cursor binId receiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash }\n binsPageInfo { endCursor hasNextPage }\n partial\n }\n}";
64
+ readonly sha256Hash: "26099c27439338395b45046b0cc5a0604ab5c8deaab7b4154bd1eb6b68b55056";
65
+ };
66
+ readonly ProtocolStats: {
67
+ readonly name: "ProtocolStats";
68
+ readonly type: "query";
69
+ readonly rootField: "protocolStats";
70
+ readonly document: "query ProtocolStats($deploymentId: ID!) {\n protocolStats(deploymentId: $deploymentId) { launched graduated bonding poolCount tradeCount tvlQuote tvlPartial volumePartial totalVolumeQuote curveVolumeQuote ammVolumeQuote lbVolumeQuote volumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lbVolumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lastIndexedBlock lastUpdatedTimestamp }\n}";
71
+ readonly sha256Hash: "24199d4d890dd8496286e4bc4853310f5a3f0dfdf0edce06cf21977db8d5c36f";
72
+ };
73
+ readonly ChainDataFreshness: {
74
+ readonly name: "ChainDataFreshness";
75
+ readonly type: "query";
76
+ readonly rootField: "chainDataFreshness";
77
+ readonly document: "query ChainDataFreshness($deploymentId: ID!) {\n chainDataFreshness(deploymentId: $deploymentId) { deploymentId healthy backfilling chainId launchpadAddress startBlock chainHead indexedHead sourceHead blockLag configuredBlockLag lastProcessedAt hasuraReachable rpcReachable }\n}";
78
+ readonly sha256Hash: "8eaf5642951345717c009269cc38880998cc4d17c05fd7bff3a78ee37cea1596";
79
+ };
80
+ readonly EthUsdPrice: {
81
+ readonly name: "EthUsdPrice";
82
+ readonly type: "query";
83
+ readonly rootField: "ethUsdPrice";
84
+ readonly document: "query EthUsdPrice {\n ethUsdPrice { price source observedAt observedBlock sourceChainId pair reserveTimestamp }\n}";
85
+ readonly sha256Hash: "0bfa48cc75fef63d384cfa839d346943c14850cb6fdcbe49be6d8bc03d366369";
86
+ };
87
+ };
88
+ export declare const CHAIN_DATA_OPERATION_IDS: {
89
+ readonly LaunchFeed: "e75e122a30258551085c248eabc2a526a6ce0761bba550fdc5d64fb50f7da1f3";
90
+ readonly LaunchDetail: "55d8759a6dc2a12d3804ce913326d435eaa0b253dbf2ca399870e962e02211d8";
91
+ readonly TrendingLaunches: "bfa72f926cea11d12dd6564dbcbab7d34e1ffd0d59130cc9caf26d45873cfcc9";
92
+ readonly LaunchPriceSeries: "424748eceb7edfb4b64fb28e33c29ee9b517f2c9b026b0050ec18778354c5d70";
93
+ readonly WalletLaunchPositions: "50296690ad4968a8e1fbef342268eb0907ca753b8fd4ab464e5d6c5339e2e800";
94
+ readonly PortfolioWalletBalances: "d7a6d20786eef66ddd1211cf97f2e2eba2e445784dc6893ed6f6c4a5d4b511e5";
95
+ readonly WalletLiquidityBookPositions: "7aac47e7b94c774421ebdbe4f24130ba885f23384a51892c043b75020b05e358";
96
+ readonly PortfolioWalletLiquidityPositions: "f41113a529249e6a0a2eceeda185a443ac920b569c36fbfb56cf17eac086da83";
97
+ readonly LiquidityBookPosition: "26099c27439338395b45046b0cc5a0604ab5c8deaab7b4154bd1eb6b68b55056";
98
+ readonly ProtocolStats: "24199d4d890dd8496286e4bc4853310f5a3f0dfdf0edce06cf21977db8d5c36f";
99
+ readonly ChainDataFreshness: "8eaf5642951345717c009269cc38880998cc4d17c05fd7bff3a78ee37cea1596";
100
+ readonly EthUsdPrice: "0bfa48cc75fef63d384cfa839d346943c14850cb6fdcbe49be6d8bc03d366369";
101
+ };
102
+ export declare const CHAIN_DATA_PERSISTED_QUERY_MANIFEST: {
103
+ readonly format: "apollo-persisted-query-manifest";
104
+ readonly version: 1;
105
+ readonly operations: readonly [{
106
+ readonly id: "e75e122a30258551085c248eabc2a526a6ce0761bba550fdc5d64fb50f7da1f3";
107
+ readonly body: "query LaunchFeed($deploymentId: ID!, $phase: LaunchPhase, $first: Int!, $after: String) {\n launches(deploymentId: $deploymentId, phase: $phase, first: $first, after: $after) {\n nodes { id provider pons { lifecyclePhase curve launchConfigId configSupply phantomQuote { token symbol raw decimals decimal } configEnabledAtLaunchBlock graduationThreshold { token symbol raw decimals decimal } curveFeeBps creatorTaxBps buybackEnabled buybackController poolFeePips tickSpacing creatorFeeRecipient protocolFeeRecipient protocolFeeShareBps buybackBurnBps hookFeeBps maxInternalPriceImpactBps sweptQuote { token symbol raw decimals decimal } sweptTokens sweptAt poolPositionId rescueRecipient rescueQuote { token symbol raw decimals decimal } rescueTokens lastUpdatedBlock lastUpdatedAt } token quoteToken name symbol creator creatorBps curveFeeBps payoutWallet metadataURI phase pool amountRaisedQuote amountRaisedQuoteAsset { token symbol raw decimals decimal } raiseThresholdQuote raiseThresholdQuoteAsset { token symbol raw decimals decimal } curveProgressPct holderCount holderCountPartial volume24hQuote volume24hQuoteAsset { token symbol raw decimals decimal } anchoredVolume24hQuote anchoredVolume24hQuoteAsset { token symbol raw decimals decimal } volume24hHoldingsAnchored volume24hPartial volumeWindowSeconds totalCanonicalVolumeQuote totalCanonicalVolumeQuoteAsset { token symbol raw decimals decimal } volumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lbVolumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } totalLbVolumeQuote tradeCount lastCanonicalPrice lastCanonicalPriceBlock createdBlock createdTimestamp graduatedBlock graduatedTimestamp }\n pageInfo { endCursor hasNextPage }\n }\n}";
108
+ readonly name: "LaunchFeed";
109
+ readonly type: "query";
110
+ }, {
111
+ readonly id: "55d8759a6dc2a12d3804ce913326d435eaa0b253dbf2ca399870e962e02211d8";
112
+ readonly body: "query LaunchDetail($deploymentId: ID!, $token: Address!) {\n launch(deploymentId: $deploymentId, token: $token) {\n id provider pons { lifecyclePhase curve launchConfigId configSupply phantomQuote { token symbol raw decimals decimal } configEnabledAtLaunchBlock graduationThreshold { token symbol raw decimals decimal } curveFeeBps creatorTaxBps buybackEnabled buybackController poolFeePips tickSpacing creatorFeeRecipient protocolFeeRecipient protocolFeeShareBps buybackBurnBps hookFeeBps maxInternalPriceImpactBps sweptQuote { token symbol raw decimals decimal } sweptTokens sweptAt poolPositionId rescueRecipient rescueQuote { token symbol raw decimals decimal } rescueTokens lastUpdatedBlock lastUpdatedAt } token quoteToken name symbol creator creatorBps curveFeeBps payoutWallet metadataURI phase pool amountRaisedQuote amountRaisedQuoteAsset { token symbol raw decimals decimal } raiseThresholdQuote raiseThresholdQuoteAsset { token symbol raw decimals decimal } curveProgressPct holderCount holderCountPartial volume24hQuote volume24hQuoteAsset { token symbol raw decimals decimal } anchoredVolume24hQuote anchoredVolume24hQuoteAsset { token symbol raw decimals decimal } volume24hHoldingsAnchored volume24hPartial volumeWindowSeconds totalCanonicalVolumeQuote totalCanonicalVolumeQuoteAsset { token symbol raw decimals decimal } volumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lbVolumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } totalLbVolumeQuote tradeCount lastCanonicalPrice lastCanonicalPriceBlock createdBlock createdTimestamp graduatedBlock graduatedTimestamp\n pools { address poolType token0 token1 quoteIsToken1 quoteToken ignoredForRouting binStep reserveToken reserveQuote tvlQuote reserveQuoteAsset { token symbol raw decimals decimal } tvlQuoteAsset { token symbol raw decimals decimal } reserveSource createdBlock lastUpdatedBlock }\n poolsPartial\n externalMarkets { id protocol venueAddress poolAddress poolId token0 token1 feePips tickSpacing hooks createdBlock createdTransactionHash createdLogIndex }\n externalMarketsPartial\n supplyDistribution {\n originalSupply\n bondingCurveCustody { amount basisPoints }\n graduationPoolLiquidity { amount basisPoints }\n lbLiquidity { amount basisPoints }\n poolNonLiquidityCustody { amount basisPoints }\n lockedDead { amount basisPoints }\n otherProtocolCustody { amount basisPoints }\n userHeld { amount basisPoints }\n reconciled partial\n }\n recentTrades { id venue side sender recipient attributedWallet quoteToken quoteAmount quoteAmountAsset { token symbol raw decimals decimal } tokenAmount price blockNumber blockTimestamp transactionHash logIndex }\n fees { id kind economicType pair quoteToken creatorTokenAmount creatorQuoteAmount creatorQuoteAmountAsset { token symbol raw decimals decimal } protocolTokenAmount protocolQuoteAmount protocolQuoteAmountAsset { token symbol raw decimals decimal } payoutAmount payoutStatus blockNumber blockTimestamp transactionHash }\n }\n}";
113
+ readonly name: "LaunchDetail";
114
+ readonly type: "query";
115
+ }, {
116
+ readonly id: "bfa72f926cea11d12dd6564dbcbab7d34e1ffd0d59130cc9caf26d45873cfcc9";
117
+ readonly body: "query TrendingLaunches($deploymentId: ID!, $first: Int!) {\n trendingLaunches(deploymentId: $deploymentId, first: $first) {\n nodes { token name symbol phase lastCanonicalPrice recentVolumeQuote rankVolumeQuote retainedValueQuote holdingsAnchored distinctTraders recentTrades changePct windowSeconds }\n partial minDistinctTraders maxTraderPct holdingsMultiple\n }\n}";
118
+ readonly name: "TrendingLaunches";
119
+ readonly type: "query";
120
+ }, {
121
+ readonly id: "424748eceb7edfb4b64fb28e33c29ee9b517f2c9b026b0050ec18778354c5d70";
122
+ readonly body: "query LaunchPriceSeries($deploymentId: ID!, $token: Address!, $venue: PriceVenue!, $first: Int!, $after: String) {\n launchPriceSeries(deploymentId: $deploymentId, token: $token, venue: $venue, first: $first, after: $after) {\n nodes { cursor timestamp blockNumber price volumeQuote volumeQuoteAsset { token symbol raw decimals decimal } venue side transactionHash }\n pageInfo { endCursor hasNextPage }\n }\n}";
123
+ readonly name: "LaunchPriceSeries";
124
+ readonly type: "query";
125
+ }, {
126
+ readonly id: "50296690ad4968a8e1fbef342268eb0907ca753b8fd4ab464e5d6c5339e2e800";
127
+ readonly body: "query WalletLaunchPositions($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLaunchPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial\n positions { token name symbol phase balance tokenBalance quoteToken valueQuote valueQuoteAsset { token symbol raw decimals decimal } investedQuote investedQuoteAsset { token symbol raw decimals decimal } proceedsQuote proceedsQuoteAsset { token symbol raw decimals decimal } pnlQuote pnlQuoteAsset { token symbol raw decimals decimal } lastCanonicalPrice buyCount sellCount }\n pageInfo { endCursor hasNextPage }\n totals { valueQuote investedQuote proceedsQuote pnlQuote }\n totalsByQuoteAsset { quoteToken valueQuoteAsset { token symbol raw decimals decimal } investedQuoteAsset { token symbol raw decimals decimal } proceedsQuoteAsset { token symbol raw decimals decimal } pnlQuoteAsset { token symbol raw decimals decimal } }\n }\n}";
128
+ readonly name: "WalletLaunchPositions";
129
+ readonly type: "query";
130
+ }, {
131
+ readonly id: "d7a6d20786eef66ddd1211cf97f2e2eba2e445784dc6893ed6f6c4a5d4b511e5";
132
+ readonly body: "query PortfolioWalletBalances($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLaunchPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial observationWatermark { sourceWatermark observedAtBlock observedAt }\n positions { tokenIdentity token name symbol decimals amountDisplay tokenBalance quoteToken valueQuoteAsset { token symbol raw decimals decimal } investedQuoteAsset { token symbol raw decimals decimal } proceedsQuoteAsset { token symbol raw decimals decimal } pnlQuoteAsset { token symbol raw decimals decimal } sourceWatermark observedAtBlock observedAt lastCanonicalPrice lastCanonicalPriceQuoteToken lastCanonicalUnitPrice lastCanonicalPriceBlock lastCanonicalPriceObservedAt }\n pageInfo { endCursor hasNextPage }\n }\n}";
133
+ readonly name: "PortfolioWalletBalances";
134
+ readonly type: "query";
135
+ }, {
136
+ readonly id: "7aac47e7b94c774421ebdbe4f24130ba885f23384a51892c043b75020b05e358";
137
+ readonly body: "query WalletLiquidityBookPositions($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLiquidityBookPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial\n positions { poolAddress walletAddress activeBinCount totalReceiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash pair { address token0 token1 binStep activeBinId createdBlock lastUpdatedBlock } }\n pageInfo { endCursor hasNextPage }\n }\n}";
138
+ readonly name: "WalletLiquidityBookPositions";
139
+ readonly type: "query";
140
+ }, {
141
+ readonly id: "f41113a529249e6a0a2eceeda185a443ac920b569c36fbfb56cf17eac086da83";
142
+ readonly body: "query PortfolioWalletLiquidityPositions($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLiquidityBookPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial observationWatermark { sourceWatermark observedAtBlock observedAt }\n positions { poolAddress walletAddress activeBinCount totalReceiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash pair { address token0 token1 binStep activeBinId createdBlock lastUpdatedBlock } underlyingAssets { tokenIdentity token decimals amountRaw amountDisplay lastCanonicalPrice lastCanonicalPriceQuoteToken lastCanonicalUnitPrice lastCanonicalPriceBlock lastCanonicalPriceObservedAt } }\n pageInfo { endCursor hasNextPage }\n }\n}";
143
+ readonly name: "PortfolioWalletLiquidityPositions";
144
+ readonly type: "query";
145
+ }, {
146
+ readonly id: "26099c27439338395b45046b0cc5a0604ab5c8deaab7b4154bd1eb6b68b55056";
147
+ readonly body: "query LiquidityBookPosition($deploymentId: ID!, $wallet: Address!, $pool: Address!, $binFirst: Int!, $binsAfter: String) {\n liquidityBookPosition(deploymentId: $deploymentId, wallet: $wallet, pool: $pool, binFirst: $binFirst, binsAfter: $binsAfter) {\n position { poolAddress walletAddress activeBinCount totalReceiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash pair { address token0 token1 binStep activeBinId createdBlock lastUpdatedBlock } }\n bins { cursor binId receiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash }\n binsPageInfo { endCursor hasNextPage }\n partial\n }\n}";
148
+ readonly name: "LiquidityBookPosition";
149
+ readonly type: "query";
150
+ }, {
151
+ readonly id: "24199d4d890dd8496286e4bc4853310f5a3f0dfdf0edce06cf21977db8d5c36f";
152
+ readonly body: "query ProtocolStats($deploymentId: ID!) {\n protocolStats(deploymentId: $deploymentId) { launched graduated bonding poolCount tradeCount tvlQuote tvlPartial volumePartial totalVolumeQuote curveVolumeQuote ammVolumeQuote lbVolumeQuote volumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lbVolumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lastIndexedBlock lastUpdatedTimestamp }\n}";
153
+ readonly name: "ProtocolStats";
154
+ readonly type: "query";
155
+ }, {
156
+ readonly id: "8eaf5642951345717c009269cc38880998cc4d17c05fd7bff3a78ee37cea1596";
157
+ readonly body: "query ChainDataFreshness($deploymentId: ID!) {\n chainDataFreshness(deploymentId: $deploymentId) { deploymentId healthy backfilling chainId launchpadAddress startBlock chainHead indexedHead sourceHead blockLag configuredBlockLag lastProcessedAt hasuraReachable rpcReachable }\n}";
158
+ readonly name: "ChainDataFreshness";
159
+ readonly type: "query";
160
+ }, {
161
+ readonly id: "0bfa48cc75fef63d384cfa839d346943c14850cb6fdcbe49be6d8bc03d366369";
162
+ readonly body: "query EthUsdPrice {\n ethUsdPrice { price source observedAt observedBlock sourceChainId pair reserveTimestamp }\n}";
163
+ readonly name: "EthUsdPrice";
164
+ readonly type: "query";
165
+ }];
166
+ };
167
+ export type ChainDataOperationName = keyof typeof CHAIN_DATA_OPERATIONS;
168
+ export type ChainDataPersistedOperation = (typeof CHAIN_DATA_OPERATIONS)[ChainDataOperationName];
169
+ //# sourceMappingURL=operations.generated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.generated.d.ts","sourceRoot":"","sources":["../src/operations.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,+0eAA+0e,CAAC;AAEl3e,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFxB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;CAa3B,CAAC;AAEX,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EtC,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAAG,MAAM,OAAO,qBAAqB,CAAC;AACxE,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,sBAAsB,CAAC,CAAC"}
@@ -0,0 +1,181 @@
1
+ /* This file is generated by pnpm --filter @reptilianhq/chain-data-contract generate. */
2
+ export const CHAIN_DATA_SCHEMA_SDL = "\"\"\"\nAn EVM address normalized to lowercase by the gateway.\n\"\"\"\nscalar Address\n\n\"\"\"\nAn opaque cursor returned by pageInfo. Consumers must return it unchanged.\n\"\"\"\nscalar Cursor\n\n\"\"\"\nAn exact quote-token amount serialized as { wei: String!, decimal: String! }.\nThe legacy `wei` key contains exact raw base units for the identified quote\nasset, including non-18-decimal ERC-20 assets. Never coerce either value to a\nJavaScript number.\n\"\"\"\nscalar ExactQuoteAmount\n\n\"\"\"\nAn exact launch-token amount serialized as { raw: String!, decimal: String! }.\nNever coerce raw or decimal values to a JavaScript number.\n\"\"\"\nscalar ExactTokenAmount\n\n\"\"\"\nAn exact decimal string. Consumers choose display precision at the UI boundary.\n\"\"\"\nscalar Decimal\n\n\"\"\"An exact amount denominated in one explicit ERC-20 quote asset.\"\"\"\ntype ExactAssetAmount {\n token: Address!\n symbol: String\n raw: String!\n decimals: Int\n decimal: Decimal\n}\n\ntype QuoteAssetVolume {\n amount: ExactAssetAmount!\n tradeCount: Int!\n}\n\nenum PonsLifecyclePhase {\n bonding\n swept\n pool_created\n rescued\n}\n\ntype PonsLaunchState {\n lifecyclePhase: PonsLifecyclePhase!\n curve: Address!\n launchConfigId: String!\n configSupply: ExactTokenAmount!\n phantomQuote: ExactAssetAmount!\n configEnabledAtLaunchBlock: Boolean!\n graduationThreshold: ExactAssetAmount!\n curveFeeBps: Int!\n creatorTaxBps: Int!\n buybackEnabled: Boolean!\n buybackController: Address\n poolFeePips: Int!\n tickSpacing: Int!\n creatorFeeRecipient: Address!\n protocolFeeRecipient: Address!\n protocolFeeShareBps: Int!\n buybackBurnBps: Int!\n hookFeeBps: Int!\n maxInternalPriceImpactBps: Int!\n sweptQuote: ExactAssetAmount!\n sweptTokens: ExactTokenAmount!\n sweptAt: String\n poolPositionId: String\n rescueRecipient: Address\n rescueQuote: ExactAssetAmount\n rescueTokens: ExactTokenAmount\n lastUpdatedBlock: String!\n lastUpdatedAt: String!\n}\n\nenum LaunchPhase {\n BONDING\n GRADUATED\n}\n\nenum PriceVenue {\n CANONICAL\n ALL\n}\n\nenum IndexedLaunchPhase {\n bonding\n graduated\n}\n\nenum TradeVenue {\n curve\n amm\n lb\n}\n\nenum TradeSide {\n buy\n sell\n}\n\ntype PageInfo {\n endCursor: Cursor\n hasNextPage: Boolean!\n}\n\ntype LaunchSummary {\n id: ID!\n provider: LaunchProvider!\n pons: PonsLaunchState\n token: Address!\n quoteToken: Address!\n name: String\n symbol: String\n creator: Address!\n creatorBps: Int!\n curveFeeBps: Int!\n payoutWallet: Address!\n metadataURI: String!\n phase: IndexedLaunchPhase!\n pool: Address\n amountRaisedQuote: ExactQuoteAmount!\n amountRaisedQuoteAsset: ExactAssetAmount!\n raiseThresholdQuote: ExactQuoteAmount!\n raiseThresholdQuoteAsset: ExactAssetAmount!\n curveProgressPct: Decimal\n holderCount: Int!\n holderCountPartial: Boolean!\n volume24hQuote: ExactQuoteAmount!\n volume24hQuoteAsset: ExactAssetAmount!\n anchoredVolume24hQuote: ExactQuoteAmount!\n anchoredVolume24hQuoteAsset: ExactAssetAmount!\n volume24hHoldingsAnchored: Boolean!\n volume24hPartial: Boolean!\n volumeWindowSeconds: Int!\n totalCanonicalVolumeQuote: ExactQuoteAmount!\n totalCanonicalVolumeQuoteAsset: ExactAssetAmount!\n volumeByQuoteAsset: [QuoteAssetVolume!]!\n lbVolumeByQuoteAsset: [QuoteAssetVolume!]!\n \"\"\"Legacy 18-decimal projection. Use lbVolumeByQuoteAsset for LB accounting.\"\"\"\n totalLbVolumeQuote: ExactQuoteAmount!\n tradeCount: Int!\n lastCanonicalPrice: Decimal\n lastCanonicalPriceBlock: Int\n createdBlock: Int!\n createdTimestamp: Int!\n graduatedBlock: Int\n graduatedTimestamp: Int\n}\n\nenum LaunchProvider {\n launchonblock\n pons\n}\n\ntype LaunchConnection {\n nodes: [LaunchSummary!]!\n pageInfo: PageInfo!\n}\n\ntype LaunchPool {\n address: Address!\n poolType: String!\n token0: Address!\n token1: Address!\n quoteIsToken1: Boolean!\n quoteToken: Address!\n ignoredForRouting: Boolean!\n binStep: String\n reserveToken: ExactTokenAmount\n reserveQuote: ExactQuoteAmount\n tvlQuote: ExactQuoteAmount\n reserveQuoteAsset: ExactAssetAmount\n tvlQuoteAsset: ExactAssetAmount\n reserveSource: String!\n createdBlock: Int!\n lastUpdatedBlock: Int!\n}\n\nenum ExternalMarketProtocol {\n uniswap_v2\n uniswap_v3\n uniswap_v4\n}\n\n\"\"\"A Uniswap market whose token0 or token1 is a launch from this exact deployment.\"\"\"\ntype LaunchExternalMarket {\n id: ID!\n protocol: ExternalMarketProtocol!\n \"\"\"The v2/v3 factory or v4 PoolManager that emitted the creation event.\"\"\"\n venueAddress: Address!\n \"\"\"The pair/pool contract for v2/v3. V4 pools live inside PoolManager and have no address.\"\"\"\n poolAddress: Address\n \"\"\"The bytes32 PoolId for v4. Null for address-identified v2/v3 markets.\"\"\"\n poolId: String\n token0: Address!\n token1: Address!\n feePips: Int\n tickSpacing: Int\n hooks: Address\n createdBlock: Int!\n createdTransactionHash: String!\n createdLogIndex: Int!\n}\n\ntype LaunchTrade {\n id: ID!\n venue: TradeVenue!\n side: TradeSide!\n sender: Address!\n recipient: Address!\n attributedWallet: Address\n quoteToken: Address!\n quoteAmount: ExactQuoteAmount!\n quoteAmountAsset: ExactAssetAmount!\n tokenAmount: ExactTokenAmount!\n price: Decimal\n blockNumber: Int!\n blockTimestamp: Int!\n transactionHash: String!\n logIndex: Int!\n}\n\ntype LaunchFeeEvent {\n id: ID!\n kind: String!\n economicType: String!\n pair: Address\n quoteToken: Address!\n creatorTokenAmount: ExactTokenAmount!\n creatorQuoteAmount: ExactQuoteAmount!\n creatorQuoteAmountAsset: ExactAssetAmount!\n protocolTokenAmount: ExactTokenAmount!\n protocolQuoteAmount: ExactQuoteAmount!\n protocolQuoteAmountAsset: ExactAssetAmount!\n payoutAmount: ExactQuoteAmount!\n payoutStatus: String\n blockNumber: Int!\n blockTimestamp: Int!\n transactionHash: String!\n}\n\ntype SupplySlice {\n amount: ExactTokenAmount!\n \"\"\"Floor(amount * 10_000 / originalSupply). Exact raw amounts remain authoritative.\"\"\"\n basisPoints: Int!\n}\n\ntype SupplyDistribution {\n originalSupply: ExactTokenAmount!\n bondingCurveCustody: SupplySlice!\n graduationPoolLiquidity: SupplySlice!\n lbLiquidity: SupplySlice!\n \"\"\"Pool token custody excluded from tradable reserves, including accrued protocol fees.\"\"\"\n poolNonLiquidityCustody: SupplySlice!\n lockedDead: SupplySlice!\n \"\"\"Known Launchpad/Router custody outside the active bonding-curve inventory.\"\"\"\n otherProtocolCustody: SupplySlice!\n \"\"\"All supply outside known protocol and dead-address custody.\"\"\"\n userHeld: SupplySlice!\n reconciled: Boolean!\n partial: Boolean!\n}\n\ntype LaunchDetail {\n id: ID!\n provider: LaunchProvider!\n pons: PonsLaunchState\n token: Address!\n quoteToken: Address!\n name: String\n symbol: String\n creator: Address!\n creatorBps: Int!\n curveFeeBps: Int!\n payoutWallet: Address!\n metadataURI: String!\n phase: IndexedLaunchPhase!\n pool: Address\n amountRaisedQuote: ExactQuoteAmount!\n amountRaisedQuoteAsset: ExactAssetAmount!\n raiseThresholdQuote: ExactQuoteAmount!\n raiseThresholdQuoteAsset: ExactAssetAmount!\n curveProgressPct: Decimal\n holderCount: Int!\n holderCountPartial: Boolean!\n volume24hQuote: ExactQuoteAmount!\n volume24hQuoteAsset: ExactAssetAmount!\n anchoredVolume24hQuote: ExactQuoteAmount!\n anchoredVolume24hQuoteAsset: ExactAssetAmount!\n volume24hHoldingsAnchored: Boolean!\n volume24hPartial: Boolean!\n volumeWindowSeconds: Int!\n totalCanonicalVolumeQuote: ExactQuoteAmount!\n totalCanonicalVolumeQuoteAsset: ExactAssetAmount!\n volumeByQuoteAsset: [QuoteAssetVolume!]!\n lbVolumeByQuoteAsset: [QuoteAssetVolume!]!\n \"\"\"Legacy 18-decimal projection. Use lbVolumeByQuoteAsset for LB accounting.\"\"\"\n totalLbVolumeQuote: ExactQuoteAmount!\n tradeCount: Int!\n lastCanonicalPrice: Decimal\n lastCanonicalPriceBlock: Int\n createdBlock: Int!\n createdTimestamp: Int!\n graduatedBlock: Int\n graduatedTimestamp: Int\n pools: [LaunchPool!]!\n poolsPartial: Boolean!\n externalMarkets: [LaunchExternalMarket!]!\n externalMarketsPartial: Boolean!\n supplyDistribution: SupplyDistribution!\n recentTrades: [LaunchTrade!]!\n fees: [LaunchFeeEvent!]!\n}\n\ntype TrendingLaunch {\n token: Address!\n name: String\n symbol: String\n phase: IndexedLaunchPhase!\n lastCanonicalPrice: Decimal\n recentVolumeQuote: ExactQuoteAmount!\n rankVolumeQuote: ExactQuoteAmount!\n retainedValueQuote: ExactQuoteAmount\n holdingsAnchored: Boolean!\n distinctTraders: Int!\n recentTrades: Int!\n changePct: Decimal!\n windowSeconds: Int!\n}\n\ntype TrendingLaunchResult {\n nodes: [TrendingLaunch!]!\n partial: Boolean!\n minDistinctTraders: Int!\n maxTraderPct: Int!\n holdingsMultiple: Int!\n}\n\ntype LaunchPricePoint {\n cursor: Cursor!\n timestamp: Int!\n blockNumber: Int!\n price: Decimal\n volumeQuote: ExactQuoteAmount!\n volumeQuoteAsset: ExactAssetAmount!\n venue: TradeVenue!\n side: TradeSide!\n transactionHash: String!\n}\n\ntype LaunchPriceSeriesConnection {\n nodes: [LaunchPricePoint!]!\n pageInfo: PageInfo!\n}\n\ntype WalletLaunchPosition {\n \"\"\"CAIP-style chain-local token identity used by portfolio observation consumers.\"\"\"\n tokenIdentity: ID!\n token: Address!\n name: String\n symbol: String\n decimals: Int\n phase: IndexedLaunchPhase!\n balance: ExactTokenAmount!\n \"\"\"Exact display amount when token decimals are known.\"\"\"\n amountDisplay: Decimal\n tokenBalance: String!\n \"\"\"Exact quote asset used by this launch and all quote-denominated position fields.\"\"\"\n quoteToken: Address!\n valueQuote: ExactQuoteAmount!\n valueQuoteAsset: ExactAssetAmount!\n investedQuote: ExactQuoteAmount!\n investedQuoteAsset: ExactAssetAmount!\n proceedsQuote: ExactQuoteAmount!\n proceedsQuoteAsset: ExactAssetAmount!\n pnlQuote: ExactQuoteAmount!\n pnlQuoteAsset: ExactAssetAmount!\n lastCanonicalPrice: Decimal\n \"\"\"Exact ERC-20 quote asset for lastCanonicalPrice; null when price is unavailable.\"\"\"\n lastCanonicalPriceQuoteToken: Address\n \"\"\"Display quote units per display token unit, normalized with both ERC-20 decimal scales.\"\"\"\n lastCanonicalUnitPrice: Decimal\n lastCanonicalPriceBlock: String\n \"\"\"Timestamp of the exact canonical trade that produced lastCanonicalPrice.\"\"\"\n lastCanonicalPriceObservedAt: String\n \"\"\"Deterministic watermark of the indexed wallet balance row.\"\"\"\n sourceWatermark: String!\n observedAtBlock: String!\n observedAt: String!\n buyCount: Int!\n sellCount: Int!\n}\n\ntype WalletLaunchPositionTotals {\n \"\"\"Legacy wrapped-native-only totals. Null when the portfolio contains another quote asset.\"\"\"\n valueQuote: ExactQuoteAmount!\n investedQuote: ExactQuoteAmount!\n proceedsQuote: ExactQuoteAmount!\n pnlQuote: ExactQuoteAmount!\n}\n\ntype WalletLaunchPositionAssetTotals {\n quoteToken: Address!\n valueQuoteAsset: ExactAssetAmount!\n investedQuoteAsset: ExactAssetAmount!\n proceedsQuoteAsset: ExactAssetAmount!\n pnlQuoteAsset: ExactAssetAmount!\n}\n\n\"\"\"Indexer checkpoint observed by the gateway while capturing one bounded page.\"\"\"\ntype PortfolioObservationWatermark {\n sourceWatermark: String!\n observedAtBlock: String!\n observedAt: String!\n}\n\ntype WalletLaunchPositionResult {\n wallet: Address!\n partial: Boolean!\n observationWatermark: PortfolioObservationWatermark\n positions: [WalletLaunchPosition!]!\n pageInfo: PageInfo!\n \"\"\"Legacy wrapped-native totals, withheld for partial scans or portfolios containing another quote asset.\"\"\"\n totals: WalletLaunchPositionTotals\n \"\"\"Complete totals grouped by exact quote asset; null when the totals scan is partial.\"\"\"\n totalsByQuoteAsset: [WalletLaunchPositionAssetTotals!]\n}\n\n\"\"\"An LB pair indexed from the configured factory, whether or not either token belongs to the configured launchpad deployment.\"\"\"\ntype LiquidityBookPair {\n address: Address!\n token0: Address!\n token1: Address!\n binStep: String!\n activeBinId: String\n createdBlock: String!\n lastUpdatedBlock: String!\n}\n\n\"\"\"Event-folded ERC-1155 receipt ownership for one wallet in one LB pair.\"\"\"\ntype LiquidityBookPosition {\n poolAddress: Address!\n walletAddress: Address!\n activeBinCount: String!\n totalReceiptBalance: String!\n lastUpdatedBlock: String!\n lastUpdatedBlockHash: String!\n lastUpdatedTimestamp: String!\n lastUpdatedTransactionHash: String!\n pair: LiquidityBookPair\n \"\"\"Exact checkpoint-bound underlying assets; null unless every active bin is resolved.\"\"\"\n underlyingAssets: [PortfolioUnderlyingAsset!]\n}\n\ntype PortfolioUnderlyingAsset {\n tokenIdentity: ID!\n token: Address!\n decimals: Int!\n amountRaw: String!\n amountDisplay: Decimal!\n lastCanonicalPrice: Decimal\n lastCanonicalPriceQuoteToken: Address\n lastCanonicalUnitPrice: Decimal\n lastCanonicalPriceBlock: String\n lastCanonicalPriceObservedAt: String\n}\n\ntype WalletLiquidityBookPositionResult {\n wallet: Address!\n partial: Boolean!\n observationWatermark: PortfolioObservationWatermark\n positions: [LiquidityBookPosition!]!\n pageInfo: PageInfo!\n}\n\ntype LiquidityBookPositionBin {\n cursor: Cursor!\n binId: String!\n receiptBalance: String!\n lastUpdatedBlock: String!\n lastUpdatedBlockHash: String!\n lastUpdatedTimestamp: String!\n lastUpdatedTransactionHash: String!\n}\n\ntype LiquidityBookPositionDetail {\n position: LiquidityBookPosition!\n bins: [LiquidityBookPositionBin!]!\n binsPageInfo: PageInfo!\n partial: Boolean!\n}\n\ntype ProtocolStats {\n launched: Int!\n graduated: Int!\n bonding: Int!\n poolCount: Int!\n tradeCount: Int!\n tvlQuote: ExactQuoteAmount\n tvlPartial: Boolean!\n volumePartial: Boolean!\n totalVolumeQuote: ExactQuoteAmount\n curveVolumeQuote: ExactQuoteAmount\n ammVolumeQuote: ExactQuoteAmount\n lbVolumeQuote: ExactQuoteAmount\n volumeByQuoteAsset: [QuoteAssetVolume!]!\n lbVolumeByQuoteAsset: [QuoteAssetVolume!]!\n lastIndexedBlock: Int!\n lastUpdatedTimestamp: Int!\n}\n\ntype ChainDataFreshness {\n deploymentId: ID!\n healthy: Boolean!\n backfilling: Boolean!\n chainId: Int!\n launchpadAddress: Address!\n startBlock: Int!\n chainHead: Int!\n indexedHead: Int!\n sourceHead: Int!\n blockLag: Int!\n configuredBlockLag: Int!\n lastProcessedAt: String\n hasuraReachable: Boolean!\n rpcReachable: Boolean!\n}\n\nenum EthUsdPriceSource {\n WETH_USDG_SPOT\n}\n\ntype EthUsdPrice {\n price: Decimal!\n source: EthUsdPriceSource!\n observedAt: String!\n observedBlock: String!\n sourceChainId: Int!\n pair: Address!\n reserveTimestamp: Int!\n}\n\ntype Query {\n launches(deploymentId: ID!, phase: LaunchPhase, first: Int!, after: String): LaunchConnection!\n launch(deploymentId: ID!, token: Address!): LaunchDetail\n trendingLaunches(deploymentId: ID!, first: Int!): TrendingLaunchResult!\n launchPriceSeries(deploymentId: ID!, token: Address!, venue: PriceVenue!, first: Int!, after: String): LaunchPriceSeriesConnection!\n walletLaunchPositions(deploymentId: ID!, wallet: Address!, first: Int!, after: String): WalletLaunchPositionResult!\n walletLiquidityBookPositions(deploymentId: ID!, wallet: Address!, first: Int!, after: String): WalletLiquidityBookPositionResult!\n liquidityBookPosition(deploymentId: ID!, wallet: Address!, pool: Address!, binFirst: Int!, binsAfter: String): LiquidityBookPositionDetail\n protocolStats(deploymentId: ID!): ProtocolStats!\n chainDataFreshness(deploymentId: ID!): ChainDataFreshness!\n ethUsdPrice: EthUsdPrice!\n}\n";
3
+ export const CHAIN_DATA_OPERATIONS = {
4
+ "LaunchFeed": {
5
+ "name": "LaunchFeed",
6
+ "type": "query",
7
+ "rootField": "launches",
8
+ "document": "query LaunchFeed($deploymentId: ID!, $phase: LaunchPhase, $first: Int!, $after: String) {\n launches(deploymentId: $deploymentId, phase: $phase, first: $first, after: $after) {\n nodes { id provider pons { lifecyclePhase curve launchConfigId configSupply phantomQuote { token symbol raw decimals decimal } configEnabledAtLaunchBlock graduationThreshold { token symbol raw decimals decimal } curveFeeBps creatorTaxBps buybackEnabled buybackController poolFeePips tickSpacing creatorFeeRecipient protocolFeeRecipient protocolFeeShareBps buybackBurnBps hookFeeBps maxInternalPriceImpactBps sweptQuote { token symbol raw decimals decimal } sweptTokens sweptAt poolPositionId rescueRecipient rescueQuote { token symbol raw decimals decimal } rescueTokens lastUpdatedBlock lastUpdatedAt } token quoteToken name symbol creator creatorBps curveFeeBps payoutWallet metadataURI phase pool amountRaisedQuote amountRaisedQuoteAsset { token symbol raw decimals decimal } raiseThresholdQuote raiseThresholdQuoteAsset { token symbol raw decimals decimal } curveProgressPct holderCount holderCountPartial volume24hQuote volume24hQuoteAsset { token symbol raw decimals decimal } anchoredVolume24hQuote anchoredVolume24hQuoteAsset { token symbol raw decimals decimal } volume24hHoldingsAnchored volume24hPartial volumeWindowSeconds totalCanonicalVolumeQuote totalCanonicalVolumeQuoteAsset { token symbol raw decimals decimal } volumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lbVolumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } totalLbVolumeQuote tradeCount lastCanonicalPrice lastCanonicalPriceBlock createdBlock createdTimestamp graduatedBlock graduatedTimestamp }\n pageInfo { endCursor hasNextPage }\n }\n}",
9
+ "sha256Hash": "e75e122a30258551085c248eabc2a526a6ce0761bba550fdc5d64fb50f7da1f3"
10
+ },
11
+ "LaunchDetail": {
12
+ "name": "LaunchDetail",
13
+ "type": "query",
14
+ "rootField": "launch",
15
+ "document": "query LaunchDetail($deploymentId: ID!, $token: Address!) {\n launch(deploymentId: $deploymentId, token: $token) {\n id provider pons { lifecyclePhase curve launchConfigId configSupply phantomQuote { token symbol raw decimals decimal } configEnabledAtLaunchBlock graduationThreshold { token symbol raw decimals decimal } curveFeeBps creatorTaxBps buybackEnabled buybackController poolFeePips tickSpacing creatorFeeRecipient protocolFeeRecipient protocolFeeShareBps buybackBurnBps hookFeeBps maxInternalPriceImpactBps sweptQuote { token symbol raw decimals decimal } sweptTokens sweptAt poolPositionId rescueRecipient rescueQuote { token symbol raw decimals decimal } rescueTokens lastUpdatedBlock lastUpdatedAt } token quoteToken name symbol creator creatorBps curveFeeBps payoutWallet metadataURI phase pool amountRaisedQuote amountRaisedQuoteAsset { token symbol raw decimals decimal } raiseThresholdQuote raiseThresholdQuoteAsset { token symbol raw decimals decimal } curveProgressPct holderCount holderCountPartial volume24hQuote volume24hQuoteAsset { token symbol raw decimals decimal } anchoredVolume24hQuote anchoredVolume24hQuoteAsset { token symbol raw decimals decimal } volume24hHoldingsAnchored volume24hPartial volumeWindowSeconds totalCanonicalVolumeQuote totalCanonicalVolumeQuoteAsset { token symbol raw decimals decimal } volumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lbVolumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } totalLbVolumeQuote tradeCount lastCanonicalPrice lastCanonicalPriceBlock createdBlock createdTimestamp graduatedBlock graduatedTimestamp\n pools { address poolType token0 token1 quoteIsToken1 quoteToken ignoredForRouting binStep reserveToken reserveQuote tvlQuote reserveQuoteAsset { token symbol raw decimals decimal } tvlQuoteAsset { token symbol raw decimals decimal } reserveSource createdBlock lastUpdatedBlock }\n poolsPartial\n externalMarkets { id protocol venueAddress poolAddress poolId token0 token1 feePips tickSpacing hooks createdBlock createdTransactionHash createdLogIndex }\n externalMarketsPartial\n supplyDistribution {\n originalSupply\n bondingCurveCustody { amount basisPoints }\n graduationPoolLiquidity { amount basisPoints }\n lbLiquidity { amount basisPoints }\n poolNonLiquidityCustody { amount basisPoints }\n lockedDead { amount basisPoints }\n otherProtocolCustody { amount basisPoints }\n userHeld { amount basisPoints }\n reconciled partial\n }\n recentTrades { id venue side sender recipient attributedWallet quoteToken quoteAmount quoteAmountAsset { token symbol raw decimals decimal } tokenAmount price blockNumber blockTimestamp transactionHash logIndex }\n fees { id kind economicType pair quoteToken creatorTokenAmount creatorQuoteAmount creatorQuoteAmountAsset { token symbol raw decimals decimal } protocolTokenAmount protocolQuoteAmount protocolQuoteAmountAsset { token symbol raw decimals decimal } payoutAmount payoutStatus blockNumber blockTimestamp transactionHash }\n }\n}",
16
+ "sha256Hash": "55d8759a6dc2a12d3804ce913326d435eaa0b253dbf2ca399870e962e02211d8"
17
+ },
18
+ "TrendingLaunches": {
19
+ "name": "TrendingLaunches",
20
+ "type": "query",
21
+ "rootField": "trendingLaunches",
22
+ "document": "query TrendingLaunches($deploymentId: ID!, $first: Int!) {\n trendingLaunches(deploymentId: $deploymentId, first: $first) {\n nodes { token name symbol phase lastCanonicalPrice recentVolumeQuote rankVolumeQuote retainedValueQuote holdingsAnchored distinctTraders recentTrades changePct windowSeconds }\n partial minDistinctTraders maxTraderPct holdingsMultiple\n }\n}",
23
+ "sha256Hash": "bfa72f926cea11d12dd6564dbcbab7d34e1ffd0d59130cc9caf26d45873cfcc9"
24
+ },
25
+ "LaunchPriceSeries": {
26
+ "name": "LaunchPriceSeries",
27
+ "type": "query",
28
+ "rootField": "launchPriceSeries",
29
+ "document": "query LaunchPriceSeries($deploymentId: ID!, $token: Address!, $venue: PriceVenue!, $first: Int!, $after: String) {\n launchPriceSeries(deploymentId: $deploymentId, token: $token, venue: $venue, first: $first, after: $after) {\n nodes { cursor timestamp blockNumber price volumeQuote volumeQuoteAsset { token symbol raw decimals decimal } venue side transactionHash }\n pageInfo { endCursor hasNextPage }\n }\n}",
30
+ "sha256Hash": "424748eceb7edfb4b64fb28e33c29ee9b517f2c9b026b0050ec18778354c5d70"
31
+ },
32
+ "WalletLaunchPositions": {
33
+ "name": "WalletLaunchPositions",
34
+ "type": "query",
35
+ "rootField": "walletLaunchPositions",
36
+ "document": "query WalletLaunchPositions($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLaunchPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial\n positions { token name symbol phase balance tokenBalance quoteToken valueQuote valueQuoteAsset { token symbol raw decimals decimal } investedQuote investedQuoteAsset { token symbol raw decimals decimal } proceedsQuote proceedsQuoteAsset { token symbol raw decimals decimal } pnlQuote pnlQuoteAsset { token symbol raw decimals decimal } lastCanonicalPrice buyCount sellCount }\n pageInfo { endCursor hasNextPage }\n totals { valueQuote investedQuote proceedsQuote pnlQuote }\n totalsByQuoteAsset { quoteToken valueQuoteAsset { token symbol raw decimals decimal } investedQuoteAsset { token symbol raw decimals decimal } proceedsQuoteAsset { token symbol raw decimals decimal } pnlQuoteAsset { token symbol raw decimals decimal } }\n }\n}",
37
+ "sha256Hash": "50296690ad4968a8e1fbef342268eb0907ca753b8fd4ab464e5d6c5339e2e800"
38
+ },
39
+ "PortfolioWalletBalances": {
40
+ "name": "PortfolioWalletBalances",
41
+ "type": "query",
42
+ "rootField": "walletLaunchPositions",
43
+ "document": "query PortfolioWalletBalances($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLaunchPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial observationWatermark { sourceWatermark observedAtBlock observedAt }\n positions { tokenIdentity token name symbol decimals amountDisplay tokenBalance quoteToken valueQuoteAsset { token symbol raw decimals decimal } investedQuoteAsset { token symbol raw decimals decimal } proceedsQuoteAsset { token symbol raw decimals decimal } pnlQuoteAsset { token symbol raw decimals decimal } sourceWatermark observedAtBlock observedAt lastCanonicalPrice lastCanonicalPriceQuoteToken lastCanonicalUnitPrice lastCanonicalPriceBlock lastCanonicalPriceObservedAt }\n pageInfo { endCursor hasNextPage }\n }\n}",
44
+ "sha256Hash": "d7a6d20786eef66ddd1211cf97f2e2eba2e445784dc6893ed6f6c4a5d4b511e5"
45
+ },
46
+ "WalletLiquidityBookPositions": {
47
+ "name": "WalletLiquidityBookPositions",
48
+ "type": "query",
49
+ "rootField": "walletLiquidityBookPositions",
50
+ "document": "query WalletLiquidityBookPositions($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLiquidityBookPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial\n positions { poolAddress walletAddress activeBinCount totalReceiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash pair { address token0 token1 binStep activeBinId createdBlock lastUpdatedBlock } }\n pageInfo { endCursor hasNextPage }\n }\n}",
51
+ "sha256Hash": "7aac47e7b94c774421ebdbe4f24130ba885f23384a51892c043b75020b05e358"
52
+ },
53
+ "PortfolioWalletLiquidityPositions": {
54
+ "name": "PortfolioWalletLiquidityPositions",
55
+ "type": "query",
56
+ "rootField": "walletLiquidityBookPositions",
57
+ "document": "query PortfolioWalletLiquidityPositions($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLiquidityBookPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial observationWatermark { sourceWatermark observedAtBlock observedAt }\n positions { poolAddress walletAddress activeBinCount totalReceiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash pair { address token0 token1 binStep activeBinId createdBlock lastUpdatedBlock } underlyingAssets { tokenIdentity token decimals amountRaw amountDisplay lastCanonicalPrice lastCanonicalPriceQuoteToken lastCanonicalUnitPrice lastCanonicalPriceBlock lastCanonicalPriceObservedAt } }\n pageInfo { endCursor hasNextPage }\n }\n}",
58
+ "sha256Hash": "f41113a529249e6a0a2eceeda185a443ac920b569c36fbfb56cf17eac086da83"
59
+ },
60
+ "LiquidityBookPosition": {
61
+ "name": "LiquidityBookPosition",
62
+ "type": "query",
63
+ "rootField": "liquidityBookPosition",
64
+ "document": "query LiquidityBookPosition($deploymentId: ID!, $wallet: Address!, $pool: Address!, $binFirst: Int!, $binsAfter: String) {\n liquidityBookPosition(deploymentId: $deploymentId, wallet: $wallet, pool: $pool, binFirst: $binFirst, binsAfter: $binsAfter) {\n position { poolAddress walletAddress activeBinCount totalReceiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash pair { address token0 token1 binStep activeBinId createdBlock lastUpdatedBlock } }\n bins { cursor binId receiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash }\n binsPageInfo { endCursor hasNextPage }\n partial\n }\n}",
65
+ "sha256Hash": "26099c27439338395b45046b0cc5a0604ab5c8deaab7b4154bd1eb6b68b55056"
66
+ },
67
+ "ProtocolStats": {
68
+ "name": "ProtocolStats",
69
+ "type": "query",
70
+ "rootField": "protocolStats",
71
+ "document": "query ProtocolStats($deploymentId: ID!) {\n protocolStats(deploymentId: $deploymentId) { launched graduated bonding poolCount tradeCount tvlQuote tvlPartial volumePartial totalVolumeQuote curveVolumeQuote ammVolumeQuote lbVolumeQuote volumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lbVolumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lastIndexedBlock lastUpdatedTimestamp }\n}",
72
+ "sha256Hash": "24199d4d890dd8496286e4bc4853310f5a3f0dfdf0edce06cf21977db8d5c36f"
73
+ },
74
+ "ChainDataFreshness": {
75
+ "name": "ChainDataFreshness",
76
+ "type": "query",
77
+ "rootField": "chainDataFreshness",
78
+ "document": "query ChainDataFreshness($deploymentId: ID!) {\n chainDataFreshness(deploymentId: $deploymentId) { deploymentId healthy backfilling chainId launchpadAddress startBlock chainHead indexedHead sourceHead blockLag configuredBlockLag lastProcessedAt hasuraReachable rpcReachable }\n}",
79
+ "sha256Hash": "8eaf5642951345717c009269cc38880998cc4d17c05fd7bff3a78ee37cea1596"
80
+ },
81
+ "EthUsdPrice": {
82
+ "name": "EthUsdPrice",
83
+ "type": "query",
84
+ "rootField": "ethUsdPrice",
85
+ "document": "query EthUsdPrice {\n ethUsdPrice { price source observedAt observedBlock sourceChainId pair reserveTimestamp }\n}",
86
+ "sha256Hash": "0bfa48cc75fef63d384cfa839d346943c14850cb6fdcbe49be6d8bc03d366369"
87
+ }
88
+ };
89
+ export const CHAIN_DATA_OPERATION_IDS = {
90
+ "LaunchFeed": "e75e122a30258551085c248eabc2a526a6ce0761bba550fdc5d64fb50f7da1f3",
91
+ "LaunchDetail": "55d8759a6dc2a12d3804ce913326d435eaa0b253dbf2ca399870e962e02211d8",
92
+ "TrendingLaunches": "bfa72f926cea11d12dd6564dbcbab7d34e1ffd0d59130cc9caf26d45873cfcc9",
93
+ "LaunchPriceSeries": "424748eceb7edfb4b64fb28e33c29ee9b517f2c9b026b0050ec18778354c5d70",
94
+ "WalletLaunchPositions": "50296690ad4968a8e1fbef342268eb0907ca753b8fd4ab464e5d6c5339e2e800",
95
+ "PortfolioWalletBalances": "d7a6d20786eef66ddd1211cf97f2e2eba2e445784dc6893ed6f6c4a5d4b511e5",
96
+ "WalletLiquidityBookPositions": "7aac47e7b94c774421ebdbe4f24130ba885f23384a51892c043b75020b05e358",
97
+ "PortfolioWalletLiquidityPositions": "f41113a529249e6a0a2eceeda185a443ac920b569c36fbfb56cf17eac086da83",
98
+ "LiquidityBookPosition": "26099c27439338395b45046b0cc5a0604ab5c8deaab7b4154bd1eb6b68b55056",
99
+ "ProtocolStats": "24199d4d890dd8496286e4bc4853310f5a3f0dfdf0edce06cf21977db8d5c36f",
100
+ "ChainDataFreshness": "8eaf5642951345717c009269cc38880998cc4d17c05fd7bff3a78ee37cea1596",
101
+ "EthUsdPrice": "0bfa48cc75fef63d384cfa839d346943c14850cb6fdcbe49be6d8bc03d366369"
102
+ };
103
+ export const CHAIN_DATA_PERSISTED_QUERY_MANIFEST = {
104
+ "format": "apollo-persisted-query-manifest",
105
+ "version": 1,
106
+ "operations": [
107
+ {
108
+ "id": "e75e122a30258551085c248eabc2a526a6ce0761bba550fdc5d64fb50f7da1f3",
109
+ "body": "query LaunchFeed($deploymentId: ID!, $phase: LaunchPhase, $first: Int!, $after: String) {\n launches(deploymentId: $deploymentId, phase: $phase, first: $first, after: $after) {\n nodes { id provider pons { lifecyclePhase curve launchConfigId configSupply phantomQuote { token symbol raw decimals decimal } configEnabledAtLaunchBlock graduationThreshold { token symbol raw decimals decimal } curveFeeBps creatorTaxBps buybackEnabled buybackController poolFeePips tickSpacing creatorFeeRecipient protocolFeeRecipient protocolFeeShareBps buybackBurnBps hookFeeBps maxInternalPriceImpactBps sweptQuote { token symbol raw decimals decimal } sweptTokens sweptAt poolPositionId rescueRecipient rescueQuote { token symbol raw decimals decimal } rescueTokens lastUpdatedBlock lastUpdatedAt } token quoteToken name symbol creator creatorBps curveFeeBps payoutWallet metadataURI phase pool amountRaisedQuote amountRaisedQuoteAsset { token symbol raw decimals decimal } raiseThresholdQuote raiseThresholdQuoteAsset { token symbol raw decimals decimal } curveProgressPct holderCount holderCountPartial volume24hQuote volume24hQuoteAsset { token symbol raw decimals decimal } anchoredVolume24hQuote anchoredVolume24hQuoteAsset { token symbol raw decimals decimal } volume24hHoldingsAnchored volume24hPartial volumeWindowSeconds totalCanonicalVolumeQuote totalCanonicalVolumeQuoteAsset { token symbol raw decimals decimal } volumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lbVolumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } totalLbVolumeQuote tradeCount lastCanonicalPrice lastCanonicalPriceBlock createdBlock createdTimestamp graduatedBlock graduatedTimestamp }\n pageInfo { endCursor hasNextPage }\n }\n}",
110
+ "name": "LaunchFeed",
111
+ "type": "query"
112
+ },
113
+ {
114
+ "id": "55d8759a6dc2a12d3804ce913326d435eaa0b253dbf2ca399870e962e02211d8",
115
+ "body": "query LaunchDetail($deploymentId: ID!, $token: Address!) {\n launch(deploymentId: $deploymentId, token: $token) {\n id provider pons { lifecyclePhase curve launchConfigId configSupply phantomQuote { token symbol raw decimals decimal } configEnabledAtLaunchBlock graduationThreshold { token symbol raw decimals decimal } curveFeeBps creatorTaxBps buybackEnabled buybackController poolFeePips tickSpacing creatorFeeRecipient protocolFeeRecipient protocolFeeShareBps buybackBurnBps hookFeeBps maxInternalPriceImpactBps sweptQuote { token symbol raw decimals decimal } sweptTokens sweptAt poolPositionId rescueRecipient rescueQuote { token symbol raw decimals decimal } rescueTokens lastUpdatedBlock lastUpdatedAt } token quoteToken name symbol creator creatorBps curveFeeBps payoutWallet metadataURI phase pool amountRaisedQuote amountRaisedQuoteAsset { token symbol raw decimals decimal } raiseThresholdQuote raiseThresholdQuoteAsset { token symbol raw decimals decimal } curveProgressPct holderCount holderCountPartial volume24hQuote volume24hQuoteAsset { token symbol raw decimals decimal } anchoredVolume24hQuote anchoredVolume24hQuoteAsset { token symbol raw decimals decimal } volume24hHoldingsAnchored volume24hPartial volumeWindowSeconds totalCanonicalVolumeQuote totalCanonicalVolumeQuoteAsset { token symbol raw decimals decimal } volumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lbVolumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } totalLbVolumeQuote tradeCount lastCanonicalPrice lastCanonicalPriceBlock createdBlock createdTimestamp graduatedBlock graduatedTimestamp\n pools { address poolType token0 token1 quoteIsToken1 quoteToken ignoredForRouting binStep reserveToken reserveQuote tvlQuote reserveQuoteAsset { token symbol raw decimals decimal } tvlQuoteAsset { token symbol raw decimals decimal } reserveSource createdBlock lastUpdatedBlock }\n poolsPartial\n externalMarkets { id protocol venueAddress poolAddress poolId token0 token1 feePips tickSpacing hooks createdBlock createdTransactionHash createdLogIndex }\n externalMarketsPartial\n supplyDistribution {\n originalSupply\n bondingCurveCustody { amount basisPoints }\n graduationPoolLiquidity { amount basisPoints }\n lbLiquidity { amount basisPoints }\n poolNonLiquidityCustody { amount basisPoints }\n lockedDead { amount basisPoints }\n otherProtocolCustody { amount basisPoints }\n userHeld { amount basisPoints }\n reconciled partial\n }\n recentTrades { id venue side sender recipient attributedWallet quoteToken quoteAmount quoteAmountAsset { token symbol raw decimals decimal } tokenAmount price blockNumber blockTimestamp transactionHash logIndex }\n fees { id kind economicType pair quoteToken creatorTokenAmount creatorQuoteAmount creatorQuoteAmountAsset { token symbol raw decimals decimal } protocolTokenAmount protocolQuoteAmount protocolQuoteAmountAsset { token symbol raw decimals decimal } payoutAmount payoutStatus blockNumber blockTimestamp transactionHash }\n }\n}",
116
+ "name": "LaunchDetail",
117
+ "type": "query"
118
+ },
119
+ {
120
+ "id": "bfa72f926cea11d12dd6564dbcbab7d34e1ffd0d59130cc9caf26d45873cfcc9",
121
+ "body": "query TrendingLaunches($deploymentId: ID!, $first: Int!) {\n trendingLaunches(deploymentId: $deploymentId, first: $first) {\n nodes { token name symbol phase lastCanonicalPrice recentVolumeQuote rankVolumeQuote retainedValueQuote holdingsAnchored distinctTraders recentTrades changePct windowSeconds }\n partial minDistinctTraders maxTraderPct holdingsMultiple\n }\n}",
122
+ "name": "TrendingLaunches",
123
+ "type": "query"
124
+ },
125
+ {
126
+ "id": "424748eceb7edfb4b64fb28e33c29ee9b517f2c9b026b0050ec18778354c5d70",
127
+ "body": "query LaunchPriceSeries($deploymentId: ID!, $token: Address!, $venue: PriceVenue!, $first: Int!, $after: String) {\n launchPriceSeries(deploymentId: $deploymentId, token: $token, venue: $venue, first: $first, after: $after) {\n nodes { cursor timestamp blockNumber price volumeQuote volumeQuoteAsset { token symbol raw decimals decimal } venue side transactionHash }\n pageInfo { endCursor hasNextPage }\n }\n}",
128
+ "name": "LaunchPriceSeries",
129
+ "type": "query"
130
+ },
131
+ {
132
+ "id": "50296690ad4968a8e1fbef342268eb0907ca753b8fd4ab464e5d6c5339e2e800",
133
+ "body": "query WalletLaunchPositions($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLaunchPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial\n positions { token name symbol phase balance tokenBalance quoteToken valueQuote valueQuoteAsset { token symbol raw decimals decimal } investedQuote investedQuoteAsset { token symbol raw decimals decimal } proceedsQuote proceedsQuoteAsset { token symbol raw decimals decimal } pnlQuote pnlQuoteAsset { token symbol raw decimals decimal } lastCanonicalPrice buyCount sellCount }\n pageInfo { endCursor hasNextPage }\n totals { valueQuote investedQuote proceedsQuote pnlQuote }\n totalsByQuoteAsset { quoteToken valueQuoteAsset { token symbol raw decimals decimal } investedQuoteAsset { token symbol raw decimals decimal } proceedsQuoteAsset { token symbol raw decimals decimal } pnlQuoteAsset { token symbol raw decimals decimal } }\n }\n}",
134
+ "name": "WalletLaunchPositions",
135
+ "type": "query"
136
+ },
137
+ {
138
+ "id": "d7a6d20786eef66ddd1211cf97f2e2eba2e445784dc6893ed6f6c4a5d4b511e5",
139
+ "body": "query PortfolioWalletBalances($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLaunchPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial observationWatermark { sourceWatermark observedAtBlock observedAt }\n positions { tokenIdentity token name symbol decimals amountDisplay tokenBalance quoteToken valueQuoteAsset { token symbol raw decimals decimal } investedQuoteAsset { token symbol raw decimals decimal } proceedsQuoteAsset { token symbol raw decimals decimal } pnlQuoteAsset { token symbol raw decimals decimal } sourceWatermark observedAtBlock observedAt lastCanonicalPrice lastCanonicalPriceQuoteToken lastCanonicalUnitPrice lastCanonicalPriceBlock lastCanonicalPriceObservedAt }\n pageInfo { endCursor hasNextPage }\n }\n}",
140
+ "name": "PortfolioWalletBalances",
141
+ "type": "query"
142
+ },
143
+ {
144
+ "id": "7aac47e7b94c774421ebdbe4f24130ba885f23384a51892c043b75020b05e358",
145
+ "body": "query WalletLiquidityBookPositions($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLiquidityBookPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial\n positions { poolAddress walletAddress activeBinCount totalReceiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash pair { address token0 token1 binStep activeBinId createdBlock lastUpdatedBlock } }\n pageInfo { endCursor hasNextPage }\n }\n}",
146
+ "name": "WalletLiquidityBookPositions",
147
+ "type": "query"
148
+ },
149
+ {
150
+ "id": "f41113a529249e6a0a2eceeda185a443ac920b569c36fbfb56cf17eac086da83",
151
+ "body": "query PortfolioWalletLiquidityPositions($deploymentId: ID!, $wallet: Address!, $first: Int!, $after: String) {\n walletLiquidityBookPositions(deploymentId: $deploymentId, wallet: $wallet, first: $first, after: $after) {\n wallet partial observationWatermark { sourceWatermark observedAtBlock observedAt }\n positions { poolAddress walletAddress activeBinCount totalReceiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash pair { address token0 token1 binStep activeBinId createdBlock lastUpdatedBlock } underlyingAssets { tokenIdentity token decimals amountRaw amountDisplay lastCanonicalPrice lastCanonicalPriceQuoteToken lastCanonicalUnitPrice lastCanonicalPriceBlock lastCanonicalPriceObservedAt } }\n pageInfo { endCursor hasNextPage }\n }\n}",
152
+ "name": "PortfolioWalletLiquidityPositions",
153
+ "type": "query"
154
+ },
155
+ {
156
+ "id": "26099c27439338395b45046b0cc5a0604ab5c8deaab7b4154bd1eb6b68b55056",
157
+ "body": "query LiquidityBookPosition($deploymentId: ID!, $wallet: Address!, $pool: Address!, $binFirst: Int!, $binsAfter: String) {\n liquidityBookPosition(deploymentId: $deploymentId, wallet: $wallet, pool: $pool, binFirst: $binFirst, binsAfter: $binsAfter) {\n position { poolAddress walletAddress activeBinCount totalReceiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash pair { address token0 token1 binStep activeBinId createdBlock lastUpdatedBlock } }\n bins { cursor binId receiptBalance lastUpdatedBlock lastUpdatedBlockHash lastUpdatedTimestamp lastUpdatedTransactionHash }\n binsPageInfo { endCursor hasNextPage }\n partial\n }\n}",
158
+ "name": "LiquidityBookPosition",
159
+ "type": "query"
160
+ },
161
+ {
162
+ "id": "24199d4d890dd8496286e4bc4853310f5a3f0dfdf0edce06cf21977db8d5c36f",
163
+ "body": "query ProtocolStats($deploymentId: ID!) {\n protocolStats(deploymentId: $deploymentId) { launched graduated bonding poolCount tradeCount tvlQuote tvlPartial volumePartial totalVolumeQuote curveVolumeQuote ammVolumeQuote lbVolumeQuote volumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lbVolumeByQuoteAsset { amount { token symbol raw decimals decimal } tradeCount } lastIndexedBlock lastUpdatedTimestamp }\n}",
164
+ "name": "ProtocolStats",
165
+ "type": "query"
166
+ },
167
+ {
168
+ "id": "8eaf5642951345717c009269cc38880998cc4d17c05fd7bff3a78ee37cea1596",
169
+ "body": "query ChainDataFreshness($deploymentId: ID!) {\n chainDataFreshness(deploymentId: $deploymentId) { deploymentId healthy backfilling chainId launchpadAddress startBlock chainHead indexedHead sourceHead blockLag configuredBlockLag lastProcessedAt hasuraReachable rpcReachable }\n}",
170
+ "name": "ChainDataFreshness",
171
+ "type": "query"
172
+ },
173
+ {
174
+ "id": "0bfa48cc75fef63d384cfa839d346943c14850cb6fdcbe49be6d8bc03d366369",
175
+ "body": "query EthUsdPrice {\n ethUsdPrice { price source observedAt observedBlock sourceChainId pair reserveTimestamp }\n}",
176
+ "name": "EthUsdPrice",
177
+ "type": "query"
178
+ }
179
+ ]
180
+ };
181
+ //# sourceMappingURL=operations.generated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.generated.js","sourceRoot":"","sources":["../src/operations.generated.ts"],"names":[],"mappings":"AAAA,wFAAwF;AAExF,MAAM,CAAC,MAAM,qBAAqB,GAAG,40eAA40e,CAAC;AAEl3e,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,YAAY,EAAE;QACZ,MAAM,EAAE,YAAY;QACpB,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,UAAU;QACvB,UAAU,EAAE,iuDAAiuD;QAC7uD,YAAY,EAAE,kEAAkE;KACjF;IACD,cAAc,EAAE;QACd,MAAM,EAAE,cAAc;QACtB,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,QAAQ;QACrB,UAAU,EAAE,ohGAAohG;QAChiG,YAAY,EAAE,kEAAkE;KACjF;IACD,kBAAkB,EAAE;QAClB,MAAM,EAAE,kBAAkB;QAC1B,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,kBAAkB;QAC/B,UAAU,EAAE,yXAAyX;QACrY,YAAY,EAAE,kEAAkE;KACjF;IACD,mBAAmB,EAAE;QACnB,MAAM,EAAE,mBAAmB;QAC3B,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,mBAAmB;QAChC,UAAU,EAAE,oaAAoa;QAChb,YAAY,EAAE,kEAAkE;KACjF;IACD,uBAAuB,EAAE;QACvB,MAAM,EAAE,uBAAuB;QAC/B,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,uBAAuB;QACpC,UAAU,EAAE,+8BAA+8B;QAC39B,YAAY,EAAE,kEAAkE;KACjF;IACD,yBAAyB,EAAE;QACzB,MAAM,EAAE,yBAAyB;QACjC,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,uBAAuB;QACpC,UAAU,EAAE,0zBAA0zB;QACt0B,YAAY,EAAE,kEAAkE;KACjF;IACD,8BAA8B,EAAE;QAC9B,MAAM,EAAE,8BAA8B;QACtC,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,8BAA8B;QAC3C,UAAU,EAAE,ohBAAohB;QAChiB,YAAY,EAAE,kEAAkE;KACjF;IACD,mCAAmC,EAAE;QACnC,MAAM,EAAE,mCAAmC;QAC3C,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,8BAA8B;QAC3C,UAAU,EAAE,myBAAmyB;QAC/yB,YAAY,EAAE,kEAAkE;KACjF;IACD,uBAAuB,EAAE;QACvB,MAAM,EAAE,uBAAuB;QAC/B,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,uBAAuB;QACpC,UAAU,EAAE,qrBAAqrB;QACjsB,YAAY,EAAE,kEAAkE;KACjF;IACD,eAAe,EAAE;QACf,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,eAAe;QAC5B,UAAU,EAAE,ubAAub;QACnc,YAAY,EAAE,kEAAkE;KACjF;IACD,oBAAoB,EAAE;QACpB,MAAM,EAAE,oBAAoB;QAC5B,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,oBAAoB;QACjC,UAAU,EAAE,yRAAyR;QACrS,YAAY,EAAE,kEAAkE;KACjF;IACD,aAAa,EAAE;QACb,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,OAAO;QACf,WAAW,EAAE,aAAa;QAC1B,UAAU,EAAE,qHAAqH;QACjI,YAAY,EAAE,kEAAkE;KACjF;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,YAAY,EAAE,kEAAkE;IAChF,cAAc,EAAE,kEAAkE;IAClF,kBAAkB,EAAE,kEAAkE;IACtF,mBAAmB,EAAE,kEAAkE;IACvF,uBAAuB,EAAE,kEAAkE;IAC3F,yBAAyB,EAAE,kEAAkE;IAC7F,8BAA8B,EAAE,kEAAkE;IAClG,mCAAmC,EAAE,kEAAkE;IACvG,uBAAuB,EAAE,kEAAkE;IAC3F,eAAe,EAAE,kEAAkE;IACnF,oBAAoB,EAAE,kEAAkE;IACxF,aAAa,EAAE,kEAAkE;CACzE,CAAC;AAEX,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,QAAQ,EAAE,iCAAiC;IAC3C,SAAS,EAAE,CAAC;IACZ,YAAY,EAAE;QACZ;YACE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,iuDAAiuD;YACzuD,MAAM,EAAE,YAAY;YACpB,MAAM,EAAE,OAAO;SAChB;QACD;YACE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,ohGAAohG;YAC5hG,MAAM,EAAE,cAAc;YACtB,MAAM,EAAE,OAAO;SAChB;QACD;YACE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,yXAAyX;YACjY,MAAM,EAAE,kBAAkB;YAC1B,MAAM,EAAE,OAAO;SAChB;QACD;YACE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,oaAAoa;YAC5a,MAAM,EAAE,mBAAmB;YAC3B,MAAM,EAAE,OAAO;SAChB;QACD;YACE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,+8BAA+8B;YACv9B,MAAM,EAAE,uBAAuB;YAC/B,MAAM,EAAE,OAAO;SAChB;QACD;YACE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,0zBAA0zB;YACl0B,MAAM,EAAE,yBAAyB;YACjC,MAAM,EAAE,OAAO;SAChB;QACD;YACE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,ohBAAohB;YAC5hB,MAAM,EAAE,8BAA8B;YACtC,MAAM,EAAE,OAAO;SAChB;QACD;YACE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,myBAAmyB;YAC3yB,MAAM,EAAE,mCAAmC;YAC3C,MAAM,EAAE,OAAO;SAChB;QACD;YACE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,qrBAAqrB;YAC7rB,MAAM,EAAE,uBAAuB;YAC/B,MAAM,EAAE,OAAO;SAChB;QACD;YACE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,ubAAub;YAC/b,MAAM,EAAE,eAAe;YACvB,MAAM,EAAE,OAAO;SAChB;QACD;YACE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,yRAAyR;YACjS,MAAM,EAAE,oBAAoB;YAC5B,MAAM,EAAE,OAAO;SAChB;QACD;YACE,IAAI,EAAE,kEAAkE;YACxE,MAAM,EAAE,qHAAqH;YAC7H,MAAM,EAAE,aAAa;YACrB,MAAM,EAAE,OAAO;SAChB;KACF;CACO,CAAC"}