@reptilianhq/chain-data-contract 0.10.3 → 0.12.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/README.md +18 -5
- package/chain-data-operations.graphql +30 -2
- package/chain-data-persisted-manifest.json +20 -2
- package/chain-data-schema.graphql +51 -6
- package/dist/index.d.ts +18 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/operations.generated.d.ts +45 -6
- package/dist/operations.generated.d.ts.map +1 -1
- package/dist/operations.generated.js +49 -7
- package/dist/operations.generated.js.map +1 -1
- package/dist/reference-pairs.d.ts +11 -0
- package/dist/reference-pairs.d.ts.map +1 -0
- package/dist/reference-pairs.js +11 -0
- package/dist/reference-pairs.js.map +1 -0
- package/dist/replay-fixtures.d.ts +1 -1
- package/dist/replay-fixtures.js +1 -1
- package/dist/replay-fixtures.js.map +1 -1
- package/dist/types.generated.d.ts +60 -2
- package/dist/types.generated.d.ts.map +1 -1
- package/package.json +13 -9
- package/src/index.ts +22 -1
- package/src/operations.generated.ts +49 -7
- package/src/reference-pairs.ts +11 -0
- package/src/replay-fixtures.ts +1 -1
- package/src/types.generated.ts +24 -5
package/README.md
CHANGED
|
@@ -116,8 +116,21 @@ module, and GraphQL Code Generator result types together.
|
|
|
116
116
|
|
|
117
117
|
## Publishing
|
|
118
118
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
the
|
|
123
|
-
|
|
119
|
+
After the reviewed version change merges into main, push the immutable
|
|
120
|
+
`chain-data-contract-v<version>` tag at that commit. The release workflow checks
|
|
121
|
+
main ancestry, builds and verifies the package without publishing credentials,
|
|
122
|
+
then publishes the exact prepared tarball from a separate OIDC job. A later main
|
|
123
|
+
commit does not invalidate the release. Main package changes no longer publish
|
|
124
|
+
automatically. Retries accept the exact existing tag's version.
|
|
125
|
+
|
|
126
|
+
See [Contract releases](../../docs/CONTRACT_RELEASES.md) for the shared publisher,
|
|
127
|
+
registry verification, recovery and the independent deployment-contract boundary.
|
|
128
|
+
|
|
129
|
+
## Reference pair identity
|
|
130
|
+
|
|
131
|
+
Version 0.11.0 adds `ReferencePairMetadata(deploymentId, pair)`: chain, factory,
|
|
132
|
+
ordered tokens and indexed creation provenance for reviewed reference pairs.
|
|
133
|
+
It returns null for uncovered pairs or missing creation rows; unavailable
|
|
134
|
+
canonical coverage fails the operation. It contains no current reserves or price.
|
|
135
|
+
Consumers must keep reserve freshness checks and upgrade only after the indexer
|
|
136
|
+
replay and gateway deployment have been verified.
|
|
@@ -35,8 +35,8 @@ query TrendingLaunches($deploymentId: ID!, $first: Int!) {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
query LaunchPriceSeries($deploymentId: ID!, $token: Address!, $
|
|
39
|
-
launchPriceSeries(deploymentId: $deploymentId, token: $token,
|
|
38
|
+
query LaunchPriceSeries($deploymentId: ID!, $token: Address!, $first: Int!, $after: String) {
|
|
39
|
+
launchPriceSeries(deploymentId: $deploymentId, token: $token, first: $first, after: $after) {
|
|
40
40
|
nodes { cursor timestamp blockNumber price volumeQuote volumeQuoteAsset { token symbol raw decimals decimal } venue side transactionHash }
|
|
41
41
|
pageInfo { endCursor hasNextPage }
|
|
42
42
|
}
|
|
@@ -93,6 +93,34 @@ query ChainDataFreshness($deploymentId: ID!) {
|
|
|
93
93
|
chainDataFreshness(deploymentId: $deploymentId) { deploymentId healthy backfilling chainId launchpadAddress startBlock chainHead indexedHead sourceHead blockLag configuredBlockLag lastProcessedAt hasuraReachable rpcReachable }
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
query PortfolioProjectionEvents($deploymentId: ID!, $first: Int!, $after: String) {
|
|
97
|
+
portfolioProjectionEvents(deploymentId: $deploymentId, first: $first, after: $after) {
|
|
98
|
+
nodes { id kind chainId wallet blockNumber blockHash blockTimestamp transactionHash transactionIndex logIndex sourceWatermark cursor }
|
|
99
|
+
pageInfo { endCursor hasNextPage }
|
|
100
|
+
canonicalBlock
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
96
104
|
query EthUsdPrice {
|
|
97
105
|
ethUsdPrice { price source observedAt observedBlock sourceChainId pair reserveTimestamp }
|
|
98
106
|
}
|
|
107
|
+
|
|
108
|
+
query PonsPairAssets($deploymentId: ID!) {
|
|
109
|
+
ponsPairAssets(deploymentId: $deploymentId) { token approved phantomQuote graduationThreshold decimals updatedBlock }
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
query ReferencePairMetadata($deploymentId: ID!, $pair: Address!) {
|
|
113
|
+
referencePairMetadata(deploymentId: $deploymentId, pair: $pair) {
|
|
114
|
+
chainId
|
|
115
|
+
deploymentId
|
|
116
|
+
protocol
|
|
117
|
+
factory
|
|
118
|
+
pair
|
|
119
|
+
token0
|
|
120
|
+
token1
|
|
121
|
+
createdBlock
|
|
122
|
+
createdBlockHash
|
|
123
|
+
createdTimestamp
|
|
124
|
+
createdTransactionHash
|
|
125
|
+
}
|
|
126
|
+
}
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"type": "query"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"id": "
|
|
25
|
-
"body": "query LaunchPriceSeries($deploymentId: ID!, $token: Address!, $
|
|
24
|
+
"id": "a26c7a2e4aa1a386b0fe499b9a661263bfd700e36bf5f7b065e975228c21cbb1",
|
|
25
|
+
"body": "query LaunchPriceSeries($deploymentId: ID!, $token: Address!, $first: Int!, $after: String) {\n launchPriceSeries(deploymentId: $deploymentId, token: $token, 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}",
|
|
26
26
|
"name": "LaunchPriceSeries",
|
|
27
27
|
"type": "query"
|
|
28
28
|
},
|
|
@@ -68,11 +68,29 @@
|
|
|
68
68
|
"name": "ChainDataFreshness",
|
|
69
69
|
"type": "query"
|
|
70
70
|
},
|
|
71
|
+
{
|
|
72
|
+
"id": "d9c94fe7ddb263121e38956a8e6870a5c528e829c461b33154777f27122c803f",
|
|
73
|
+
"body": "query PortfolioProjectionEvents($deploymentId: ID!, $first: Int!, $after: String) {\n portfolioProjectionEvents(deploymentId: $deploymentId, first: $first, after: $after) {\n nodes { id kind chainId wallet blockNumber blockHash blockTimestamp transactionHash transactionIndex logIndex sourceWatermark cursor }\n pageInfo { endCursor hasNextPage }\n canonicalBlock\n }\n}",
|
|
74
|
+
"name": "PortfolioProjectionEvents",
|
|
75
|
+
"type": "query"
|
|
76
|
+
},
|
|
71
77
|
{
|
|
72
78
|
"id": "0bfa48cc75fef63d384cfa839d346943c14850cb6fdcbe49be6d8bc03d366369",
|
|
73
79
|
"body": "query EthUsdPrice {\n ethUsdPrice { price source observedAt observedBlock sourceChainId pair reserveTimestamp }\n}",
|
|
74
80
|
"name": "EthUsdPrice",
|
|
75
81
|
"type": "query"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "7153a9efbe5aa5e65e13fd7d9e508ba5fbce531bb8c67db85470f7a28dbb5bc8",
|
|
85
|
+
"body": "query PonsPairAssets($deploymentId: ID!) {\n ponsPairAssets(deploymentId: $deploymentId) { token approved phantomQuote graduationThreshold decimals updatedBlock }\n}",
|
|
86
|
+
"name": "PonsPairAssets",
|
|
87
|
+
"type": "query"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "183977a18a1dc80a255d91bbd3cc5e3f9fd96050a78a9e462d2cf2caa8d080d0",
|
|
91
|
+
"body": "query ReferencePairMetadata($deploymentId: ID!, $pair: Address!) {\n referencePairMetadata(deploymentId: $deploymentId, pair: $pair) {\n chainId\n deploymentId\n protocol\n factory\n pair\n token0\n token1\n createdBlock\n createdBlockHash\n createdTimestamp\n createdTransactionHash\n }\n}",
|
|
92
|
+
"name": "ReferencePairMetadata",
|
|
93
|
+
"type": "query"
|
|
76
94
|
}
|
|
77
95
|
]
|
|
78
96
|
}
|
|
@@ -84,11 +84,6 @@ enum LaunchPhase {
|
|
|
84
84
|
GRADUATED
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
enum PriceVenue {
|
|
88
|
-
CANONICAL
|
|
89
|
-
ALL
|
|
90
|
-
}
|
|
91
|
-
|
|
92
87
|
enum IndexedLaunchPhase {
|
|
93
88
|
bonding
|
|
94
89
|
graduated
|
|
@@ -533,6 +528,28 @@ type ChainDataFreshness {
|
|
|
533
528
|
rpcReachable: Boolean!
|
|
534
529
|
}
|
|
535
530
|
|
|
531
|
+
type PortfolioProjectionEvent {
|
|
532
|
+
id: ID!
|
|
533
|
+
kind: String!
|
|
534
|
+
chainId: String!
|
|
535
|
+
wallet: Address!
|
|
536
|
+
blockNumber: String!
|
|
537
|
+
blockHash: String!
|
|
538
|
+
blockTimestamp: String!
|
|
539
|
+
transactionHash: String!
|
|
540
|
+
transactionIndex: String!
|
|
541
|
+
logIndex: String!
|
|
542
|
+
sourceWatermark: String!
|
|
543
|
+
cursor: Cursor!
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
"""Canonical-head-bounded invalidation hints; consumers must retain periodic full reconciliation for reorg repair."""
|
|
547
|
+
type PortfolioProjectionEventConnection {
|
|
548
|
+
nodes: [PortfolioProjectionEvent!]!
|
|
549
|
+
pageInfo: PageInfo!
|
|
550
|
+
canonicalBlock: String!
|
|
551
|
+
}
|
|
552
|
+
|
|
536
553
|
enum EthUsdPriceSource {
|
|
537
554
|
WETH_USDG_SPOT
|
|
538
555
|
}
|
|
@@ -547,15 +564,43 @@ type EthUsdPrice {
|
|
|
547
564
|
reserveTimestamp: Int!
|
|
548
565
|
}
|
|
549
566
|
|
|
567
|
+
type ReferencePairMetadata {
|
|
568
|
+
chainId: Int!
|
|
569
|
+
deploymentId: ID!
|
|
570
|
+
protocol: String!
|
|
571
|
+
factory: Address!
|
|
572
|
+
pair: Address!
|
|
573
|
+
token0: Address!
|
|
574
|
+
token1: Address!
|
|
575
|
+
createdBlock: String!
|
|
576
|
+
createdBlockHash: String!
|
|
577
|
+
createdTimestamp: String!
|
|
578
|
+
createdTransactionHash: String!
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
"""Current Pons-owned ERC-20 pairing asset, folded from factory events."""
|
|
582
|
+
type PonsPairAsset {
|
|
583
|
+
token: Address!
|
|
584
|
+
approved: Boolean!
|
|
585
|
+
phantomQuote: String
|
|
586
|
+
graduationThreshold: String
|
|
587
|
+
decimals: Int
|
|
588
|
+
updatedBlock: String!
|
|
589
|
+
}
|
|
590
|
+
|
|
550
591
|
type Query {
|
|
592
|
+
ponsPairAssets(deploymentId: ID!): [PonsPairAsset!]!
|
|
593
|
+
referencePairMetadata(deploymentId: ID!, pair: Address!): ReferencePairMetadata
|
|
551
594
|
launches(deploymentId: ID!, phase: LaunchPhase, first: Int!, after: String): LaunchConnection!
|
|
552
595
|
launch(deploymentId: ID!, token: Address!): LaunchDetail
|
|
553
596
|
trendingLaunches(deploymentId: ID!, first: Int!): TrendingLaunchResult!
|
|
554
|
-
|
|
597
|
+
"""Authoritative curve and AMM price history. Liquidity Book trades are exposed through venue-specific analytics, not valuation history."""
|
|
598
|
+
launchPriceSeries(deploymentId: ID!, token: Address!, first: Int!, after: String): LaunchPriceSeriesConnection!
|
|
555
599
|
walletLaunchPositions(deploymentId: ID!, wallet: Address!, first: Int!, after: String): WalletLaunchPositionResult!
|
|
556
600
|
walletLiquidityBookPositions(deploymentId: ID!, wallet: Address!, first: Int!, after: String): WalletLiquidityBookPositionResult!
|
|
557
601
|
liquidityBookPosition(deploymentId: ID!, wallet: Address!, pool: Address!, binFirst: Int!, binsAfter: String): LiquidityBookPositionDetail
|
|
558
602
|
protocolStats(deploymentId: ID!): ProtocolStats!
|
|
559
603
|
chainDataFreshness(deploymentId: ID!): ChainDataFreshness!
|
|
604
|
+
portfolioProjectionEvents(deploymentId: ID!, first: Int!, after: String): PortfolioProjectionEventConnection!
|
|
560
605
|
ethUsdPrice: EthUsdPrice!
|
|
561
606
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,9 +2,8 @@ import type { ChainDataOperationName as GeneratedOperationName } from './operati
|
|
|
2
2
|
import type * as Types from './types.generated.js';
|
|
3
3
|
export { ROBINHOOD_TESTNET_GEN9_REPLAY_FIXTURE, assertRobinhoodTestnetGen9Deployment, assertRobinhoodTestnetGen9ReplaySnapshot, type ChainDataReplayDeploymentIdentity, type ChainDataReplaySnapshot, } from './replay-fixtures.js';
|
|
4
4
|
export { CHAIN_DATA_OPERATIONS, CHAIN_DATA_OPERATION_IDS, CHAIN_DATA_PERSISTED_QUERY_MANIFEST, CHAIN_DATA_SCHEMA_SDL, type ChainDataOperationName, type ChainDataPersistedOperation, } from './operations.generated.js';
|
|
5
|
-
export type { ChainDataFreshnessQuery, ChainDataFreshnessQueryVariables, EthUsdPriceQuery, EthUsdPriceQueryVariables, LaunchDetailQuery, LaunchDetailQueryVariables, LaunchFeedQuery, LaunchFeedQueryVariables, LaunchPriceSeriesQuery, LaunchPriceSeriesQueryVariables, LiquidityBookPositionQuery, LiquidityBookPositionQueryVariables, ProtocolStatsQuery, ProtocolStatsQueryVariables, TrendingLaunchesQuery, TrendingLaunchesQueryVariables, WalletLaunchPositionsQuery, WalletLaunchPositionsQueryVariables, PortfolioWalletBalancesQuery, PortfolioWalletBalancesQueryVariables, WalletLiquidityBookPositionsQuery, WalletLiquidityBookPositionsQueryVariables, PortfolioWalletLiquidityPositionsQuery, PortfolioWalletLiquidityPositionsQueryVariables, } from './types.generated.js';
|
|
5
|
+
export type { ChainDataFreshnessQuery, ChainDataFreshnessQueryVariables, EthUsdPriceQuery, EthUsdPriceQueryVariables, LaunchDetailQuery, LaunchDetailQueryVariables, LaunchFeedQuery, LaunchFeedQueryVariables, LaunchPriceSeriesQuery, LaunchPriceSeriesQueryVariables, LiquidityBookPositionQuery, LiquidityBookPositionQueryVariables, ProtocolStatsQuery, ProtocolStatsQueryVariables, TrendingLaunchesQuery, TrendingLaunchesQueryVariables, WalletLaunchPositionsQuery, WalletLaunchPositionsQueryVariables, PortfolioWalletBalancesQuery, PortfolioWalletBalancesQueryVariables, WalletLiquidityBookPositionsQuery, WalletLiquidityBookPositionsQueryVariables, PortfolioWalletLiquidityPositionsQuery, PortfolioWalletLiquidityPositionsQueryVariables, PortfolioProjectionEventsQuery, PortfolioProjectionEventsQueryVariables, PonsPairAssetsQuery, PonsPairAssetsQueryVariables, } from './types.generated.js';
|
|
6
6
|
export type ChainDataLaunchPhaseInput = Types.LaunchPhase;
|
|
7
|
-
export type ChainDataPriceVenueInput = Types.PriceVenue;
|
|
8
7
|
export type ChainDataIndexedLaunchPhase = Types.IndexedLaunchPhase;
|
|
9
8
|
export type ChainDataTradeVenue = Types.TradeVenue;
|
|
10
9
|
export type ChainDataTradeSide = Types.TradeSide;
|
|
@@ -37,8 +36,17 @@ export type ChainDataLiquidityBookPositionDetail = NonNullable<Types.LiquidityBo
|
|
|
37
36
|
export type ChainDataLiquidityBookPositionBin = ChainDataLiquidityBookPositionDetail['bins'][number];
|
|
38
37
|
export type ChainDataProtocolStats = Types.ProtocolStatsQuery['protocolStats'];
|
|
39
38
|
export type ChainDataFreshness = Types.ChainDataFreshnessQuery['chainDataFreshness'];
|
|
39
|
+
export type ChainDataPortfolioProjectionEventConnection = Types.PortfolioProjectionEventsQuery['portfolioProjectionEvents'];
|
|
40
40
|
export type ChainDataEthUsdPrice = Types.EthUsdPriceQuery['ethUsdPrice'];
|
|
41
|
+
export type ChainDataPonsPairAsset = Types.PonsPairAssetsQuery['ponsPairAssets'][number];
|
|
42
|
+
export { CHAIN_DATA_REFERENCE_PAIRS, REFERENCE_PAIR_POOL_TYPE } from './reference-pairs.js';
|
|
43
|
+
export type ChainDataReferencePairMetadata = NonNullable<Types.ReferencePairMetadataQuery['referencePairMetadata']>;
|
|
44
|
+
export type { ReferencePairMetadataQuery, ReferencePairMetadataQueryVariables } from './types.generated.js';
|
|
41
45
|
export interface ChainDataOperationMap {
|
|
46
|
+
ReferencePairMetadata: {
|
|
47
|
+
variables: Types.ReferencePairMetadataQueryVariables;
|
|
48
|
+
data: Types.ReferencePairMetadataQuery;
|
|
49
|
+
};
|
|
42
50
|
LaunchFeed: {
|
|
43
51
|
variables: Types.LaunchFeedQueryVariables;
|
|
44
52
|
data: Types.LaunchFeedQuery;
|
|
@@ -83,6 +91,14 @@ export interface ChainDataOperationMap {
|
|
|
83
91
|
variables: Types.ChainDataFreshnessQueryVariables;
|
|
84
92
|
data: Types.ChainDataFreshnessQuery;
|
|
85
93
|
};
|
|
94
|
+
PortfolioProjectionEvents: {
|
|
95
|
+
variables: Types.PortfolioProjectionEventsQueryVariables;
|
|
96
|
+
data: Types.PortfolioProjectionEventsQuery;
|
|
97
|
+
};
|
|
98
|
+
PonsPairAssets: {
|
|
99
|
+
variables: Types.PonsPairAssetsQueryVariables;
|
|
100
|
+
data: Types.PonsPairAssetsQuery;
|
|
101
|
+
};
|
|
86
102
|
EthUsdPrice: {
|
|
87
103
|
variables: Types.EthUsdPriceQueryVariables;
|
|
88
104
|
data: Types.EthUsdPriceQuery;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,IAAI,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAClG,OAAO,KAAK,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EACL,qCAAqC,EACrC,oCAAoC,EACpC,wCAAwC,EACxC,KAAK,iCAAiC,EACtC,KAAK,uBAAuB,GAC7B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,mCAAmC,EACnC,qBAAqB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,GACjC,MAAM,2BAA2B,CAAC;AAEnC,YAAY,EACV,uBAAuB,EACvB,gCAAgC,EACh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AC;QAChB,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,sBAAsB,CAAC;QAC7B,IAAI,EAAE,OAAO,CAAC;KACf,CAAC,CAAC;CACJ;AAED,MAAM,MAAM,mCAAmC,GAC7C,OAAO,CAAC,sBAAsB,EAAE,MAAM,qBAAqB,CAAC,SAAS,KAAK,GACtE,OAAO,CAAC,MAAM,qBAAqB,EAAE,sBAAsB,CAAC,SAAS,KAAK,GACxE,IAAI,GACJ,KAAK,GACP,KAAK,CAAC;AAEZ,eAAO,MAAM,wCAAwC,EAAE,mCAA0C,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { ROBINHOOD_TESTNET_GEN9_REPLAY_FIXTURE, assertRobinhoodTestnetGen9Deployment, assertRobinhoodTestnetGen9ReplaySnapshot, } from './replay-fixtures.js';
|
|
2
2
|
export { CHAIN_DATA_OPERATIONS, CHAIN_DATA_OPERATION_IDS, CHAIN_DATA_PERSISTED_QUERY_MANIFEST, CHAIN_DATA_SCHEMA_SDL, } from './operations.generated.js';
|
|
3
|
+
export { CHAIN_DATA_REFERENCE_PAIRS, REFERENCE_PAIR_POOL_TYPE } from './reference-pairs.js';
|
|
3
4
|
export const CHAIN_DATA_OPERATION_MAP_COVERS_MANIFEST = true;
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +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;
|
|
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;AAuEnC,OAAO,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAuH5F,MAAM,CAAC,MAAM,wCAAwC,GAAwC,IAAI,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
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";
|
|
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 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\ntype PortfolioProjectionEvent {\n id: ID!\n kind: String!\n chainId: String!\n wallet: Address!\n blockNumber: String!\n blockHash: String!\n blockTimestamp: String!\n transactionHash: String!\n transactionIndex: String!\n logIndex: String!\n sourceWatermark: String!\n cursor: Cursor!\n}\n\n\"\"\"Canonical-head-bounded invalidation hints; consumers must retain periodic full reconciliation for reorg repair.\"\"\"\ntype PortfolioProjectionEventConnection {\n nodes: [PortfolioProjectionEvent!]!\n pageInfo: PageInfo!\n canonicalBlock: String!\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 ReferencePairMetadata {\n chainId: Int!\n deploymentId: ID!\n protocol: String!\n factory: Address!\n pair: Address!\n token0: Address!\n token1: Address!\n createdBlock: String!\n createdBlockHash: String!\n createdTimestamp: String!\n createdTransactionHash: String!\n}\n\n\"\"\"Current Pons-owned ERC-20 pairing asset, folded from factory events.\"\"\"\ntype PonsPairAsset {\n token: Address!\n approved: Boolean!\n phantomQuote: String\n graduationThreshold: String\n decimals: Int\n updatedBlock: String!\n}\n\ntype Query {\n ponsPairAssets(deploymentId: ID!): [PonsPairAsset!]!\n referencePairMetadata(deploymentId: ID!, pair: Address!): ReferencePairMetadata\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 \"\"\"Authoritative curve and AMM price history. Liquidity Book trades are exposed through venue-specific analytics, not valuation history.\"\"\"\n launchPriceSeries(deploymentId: ID!, token: Address!, 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 portfolioProjectionEvents(deploymentId: ID!, first: Int!, after: String): PortfolioProjectionEventConnection!\n ethUsdPrice: EthUsdPrice!\n}\n";
|
|
2
2
|
export declare const CHAIN_DATA_OPERATIONS: {
|
|
3
3
|
readonly LaunchFeed: {
|
|
4
4
|
readonly name: "LaunchFeed";
|
|
@@ -25,8 +25,8 @@ export declare const CHAIN_DATA_OPERATIONS: {
|
|
|
25
25
|
readonly name: "LaunchPriceSeries";
|
|
26
26
|
readonly type: "query";
|
|
27
27
|
readonly rootField: "launchPriceSeries";
|
|
28
|
-
readonly document: "query LaunchPriceSeries($deploymentId: ID!, $token: Address!, $
|
|
29
|
-
readonly sha256Hash: "
|
|
28
|
+
readonly document: "query LaunchPriceSeries($deploymentId: ID!, $token: Address!, $first: Int!, $after: String) {\n launchPriceSeries(deploymentId: $deploymentId, token: $token, 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: "a26c7a2e4aa1a386b0fe499b9a661263bfd700e36bf5f7b065e975228c21cbb1";
|
|
30
30
|
};
|
|
31
31
|
readonly WalletLaunchPositions: {
|
|
32
32
|
readonly name: "WalletLaunchPositions";
|
|
@@ -77,6 +77,13 @@ export declare const CHAIN_DATA_OPERATIONS: {
|
|
|
77
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
78
|
readonly sha256Hash: "8eaf5642951345717c009269cc38880998cc4d17c05fd7bff3a78ee37cea1596";
|
|
79
79
|
};
|
|
80
|
+
readonly PortfolioProjectionEvents: {
|
|
81
|
+
readonly name: "PortfolioProjectionEvents";
|
|
82
|
+
readonly type: "query";
|
|
83
|
+
readonly rootField: "portfolioProjectionEvents";
|
|
84
|
+
readonly document: "query PortfolioProjectionEvents($deploymentId: ID!, $first: Int!, $after: String) {\n portfolioProjectionEvents(deploymentId: $deploymentId, first: $first, after: $after) {\n nodes { id kind chainId wallet blockNumber blockHash blockTimestamp transactionHash transactionIndex logIndex sourceWatermark cursor }\n pageInfo { endCursor hasNextPage }\n canonicalBlock\n }\n}";
|
|
85
|
+
readonly sha256Hash: "d9c94fe7ddb263121e38956a8e6870a5c528e829c461b33154777f27122c803f";
|
|
86
|
+
};
|
|
80
87
|
readonly EthUsdPrice: {
|
|
81
88
|
readonly name: "EthUsdPrice";
|
|
82
89
|
readonly type: "query";
|
|
@@ -84,12 +91,26 @@ export declare const CHAIN_DATA_OPERATIONS: {
|
|
|
84
91
|
readonly document: "query EthUsdPrice {\n ethUsdPrice { price source observedAt observedBlock sourceChainId pair reserveTimestamp }\n}";
|
|
85
92
|
readonly sha256Hash: "0bfa48cc75fef63d384cfa839d346943c14850cb6fdcbe49be6d8bc03d366369";
|
|
86
93
|
};
|
|
94
|
+
readonly PonsPairAssets: {
|
|
95
|
+
readonly name: "PonsPairAssets";
|
|
96
|
+
readonly type: "query";
|
|
97
|
+
readonly rootField: "ponsPairAssets";
|
|
98
|
+
readonly document: "query PonsPairAssets($deploymentId: ID!) {\n ponsPairAssets(deploymentId: $deploymentId) { token approved phantomQuote graduationThreshold decimals updatedBlock }\n}";
|
|
99
|
+
readonly sha256Hash: "7153a9efbe5aa5e65e13fd7d9e508ba5fbce531bb8c67db85470f7a28dbb5bc8";
|
|
100
|
+
};
|
|
101
|
+
readonly ReferencePairMetadata: {
|
|
102
|
+
readonly name: "ReferencePairMetadata";
|
|
103
|
+
readonly type: "query";
|
|
104
|
+
readonly rootField: "referencePairMetadata";
|
|
105
|
+
readonly document: "query ReferencePairMetadata($deploymentId: ID!, $pair: Address!) {\n referencePairMetadata(deploymentId: $deploymentId, pair: $pair) {\n chainId\n deploymentId\n protocol\n factory\n pair\n token0\n token1\n createdBlock\n createdBlockHash\n createdTimestamp\n createdTransactionHash\n }\n}";
|
|
106
|
+
readonly sha256Hash: "183977a18a1dc80a255d91bbd3cc5e3f9fd96050a78a9e462d2cf2caa8d080d0";
|
|
107
|
+
};
|
|
87
108
|
};
|
|
88
109
|
export declare const CHAIN_DATA_OPERATION_IDS: {
|
|
89
110
|
readonly LaunchFeed: "e75e122a30258551085c248eabc2a526a6ce0761bba550fdc5d64fb50f7da1f3";
|
|
90
111
|
readonly LaunchDetail: "55d8759a6dc2a12d3804ce913326d435eaa0b253dbf2ca399870e962e02211d8";
|
|
91
112
|
readonly TrendingLaunches: "bfa72f926cea11d12dd6564dbcbab7d34e1ffd0d59130cc9caf26d45873cfcc9";
|
|
92
|
-
readonly LaunchPriceSeries: "
|
|
113
|
+
readonly LaunchPriceSeries: "a26c7a2e4aa1a386b0fe499b9a661263bfd700e36bf5f7b065e975228c21cbb1";
|
|
93
114
|
readonly WalletLaunchPositions: "50296690ad4968a8e1fbef342268eb0907ca753b8fd4ab464e5d6c5339e2e800";
|
|
94
115
|
readonly PortfolioWalletBalances: "d7a6d20786eef66ddd1211cf97f2e2eba2e445784dc6893ed6f6c4a5d4b511e5";
|
|
95
116
|
readonly WalletLiquidityBookPositions: "7aac47e7b94c774421ebdbe4f24130ba885f23384a51892c043b75020b05e358";
|
|
@@ -97,7 +118,10 @@ export declare const CHAIN_DATA_OPERATION_IDS: {
|
|
|
97
118
|
readonly LiquidityBookPosition: "26099c27439338395b45046b0cc5a0604ab5c8deaab7b4154bd1eb6b68b55056";
|
|
98
119
|
readonly ProtocolStats: "24199d4d890dd8496286e4bc4853310f5a3f0dfdf0edce06cf21977db8d5c36f";
|
|
99
120
|
readonly ChainDataFreshness: "8eaf5642951345717c009269cc38880998cc4d17c05fd7bff3a78ee37cea1596";
|
|
121
|
+
readonly PortfolioProjectionEvents: "d9c94fe7ddb263121e38956a8e6870a5c528e829c461b33154777f27122c803f";
|
|
100
122
|
readonly EthUsdPrice: "0bfa48cc75fef63d384cfa839d346943c14850cb6fdcbe49be6d8bc03d366369";
|
|
123
|
+
readonly PonsPairAssets: "7153a9efbe5aa5e65e13fd7d9e508ba5fbce531bb8c67db85470f7a28dbb5bc8";
|
|
124
|
+
readonly ReferencePairMetadata: "183977a18a1dc80a255d91bbd3cc5e3f9fd96050a78a9e462d2cf2caa8d080d0";
|
|
101
125
|
};
|
|
102
126
|
export declare const CHAIN_DATA_PERSISTED_QUERY_MANIFEST: {
|
|
103
127
|
readonly format: "apollo-persisted-query-manifest";
|
|
@@ -118,8 +142,8 @@ export declare const CHAIN_DATA_PERSISTED_QUERY_MANIFEST: {
|
|
|
118
142
|
readonly name: "TrendingLaunches";
|
|
119
143
|
readonly type: "query";
|
|
120
144
|
}, {
|
|
121
|
-
readonly id: "
|
|
122
|
-
readonly body: "query LaunchPriceSeries($deploymentId: ID!, $token: Address!, $
|
|
145
|
+
readonly id: "a26c7a2e4aa1a386b0fe499b9a661263bfd700e36bf5f7b065e975228c21cbb1";
|
|
146
|
+
readonly body: "query LaunchPriceSeries($deploymentId: ID!, $token: Address!, $first: Int!, $after: String) {\n launchPriceSeries(deploymentId: $deploymentId, token: $token, 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
147
|
readonly name: "LaunchPriceSeries";
|
|
124
148
|
readonly type: "query";
|
|
125
149
|
}, {
|
|
@@ -157,11 +181,26 @@ export declare const CHAIN_DATA_PERSISTED_QUERY_MANIFEST: {
|
|
|
157
181
|
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
182
|
readonly name: "ChainDataFreshness";
|
|
159
183
|
readonly type: "query";
|
|
184
|
+
}, {
|
|
185
|
+
readonly id: "d9c94fe7ddb263121e38956a8e6870a5c528e829c461b33154777f27122c803f";
|
|
186
|
+
readonly body: "query PortfolioProjectionEvents($deploymentId: ID!, $first: Int!, $after: String) {\n portfolioProjectionEvents(deploymentId: $deploymentId, first: $first, after: $after) {\n nodes { id kind chainId wallet blockNumber blockHash blockTimestamp transactionHash transactionIndex logIndex sourceWatermark cursor }\n pageInfo { endCursor hasNextPage }\n canonicalBlock\n }\n}";
|
|
187
|
+
readonly name: "PortfolioProjectionEvents";
|
|
188
|
+
readonly type: "query";
|
|
160
189
|
}, {
|
|
161
190
|
readonly id: "0bfa48cc75fef63d384cfa839d346943c14850cb6fdcbe49be6d8bc03d366369";
|
|
162
191
|
readonly body: "query EthUsdPrice {\n ethUsdPrice { price source observedAt observedBlock sourceChainId pair reserveTimestamp }\n}";
|
|
163
192
|
readonly name: "EthUsdPrice";
|
|
164
193
|
readonly type: "query";
|
|
194
|
+
}, {
|
|
195
|
+
readonly id: "7153a9efbe5aa5e65e13fd7d9e508ba5fbce531bb8c67db85470f7a28dbb5bc8";
|
|
196
|
+
readonly body: "query PonsPairAssets($deploymentId: ID!) {\n ponsPairAssets(deploymentId: $deploymentId) { token approved phantomQuote graduationThreshold decimals updatedBlock }\n}";
|
|
197
|
+
readonly name: "PonsPairAssets";
|
|
198
|
+
readonly type: "query";
|
|
199
|
+
}, {
|
|
200
|
+
readonly id: "183977a18a1dc80a255d91bbd3cc5e3f9fd96050a78a9e462d2cf2caa8d080d0";
|
|
201
|
+
readonly body: "query ReferencePairMetadata($deploymentId: ID!, $pair: Address!) {\n referencePairMetadata(deploymentId: $deploymentId, pair: $pair) {\n chainId\n deploymentId\n protocol\n factory\n pair\n token0\n token1\n createdBlock\n createdBlockHash\n createdTimestamp\n createdTransactionHash\n }\n}";
|
|
202
|
+
readonly name: "ReferencePairMetadata";
|
|
203
|
+
readonly type: "query";
|
|
165
204
|
}];
|
|
166
205
|
};
|
|
167
206
|
export type ChainDataOperationName = keyof typeof CHAIN_DATA_OPERATIONS;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.generated.d.ts","sourceRoot":"","sources":["../src/operations.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"operations.generated.d.ts","sourceRoot":"","sources":["../src/operations.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,gvhBAAgvhB,CAAC;AAEnxhB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GxB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;CAgB3B,CAAC;AAEX,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FtC,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAAG,MAAM,OAAO,qBAAqB,CAAC;AACxE,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,sBAAsB,CAAC,CAAC"}
|