@codex-data/sdk 2.3.39 → 2.3.42
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/sdk/Subscribe.js +3 -3
- package/dist/sdk/Subscribe.mjs +3 -3
- package/dist/sdk/generated/gql.d.ts +10 -10
- package/dist/sdk/generated/gql.js +5 -5
- package/dist/sdk/generated/gql.mjs +5 -5
- package/dist/sdk/generated/graphql.d.ts +114 -6
- package/dist/sdk/generated/graphql.js +6 -5
- package/dist/sdk/generated/graphql.mjs +6 -5
- package/package.json +1 -1
- package/schema.graphql +4711 -4632
package/dist/sdk/Subscribe.js
CHANGED
|
@@ -59,12 +59,12 @@ class Subscribe {
|
|
|
59
59
|
`, vars, sink);
|
|
60
60
|
this.onEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnEventsCreated($address: String, $commitmentLevel: [EventCommitmentLevel!], $id: String, $networkId: Int, $quoteToken: QuoteToken) {
|
|
61
61
|
onEventsCreated (address: $address, commitmentLevel: $commitmentLevel, id: $id, networkId: $networkId, quoteToken: $quoteToken) {
|
|
62
|
-
address, events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, id, networkId, quoteToken
|
|
62
|
+
address, events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, tradeSource { displayName, id }, transactionHash, transactionIndex, walletAge, walletLabels }, id, networkId, quoteToken
|
|
63
63
|
}
|
|
64
64
|
}`, vars, sink);
|
|
65
65
|
this.onEventsCreatedByMaker = (vars, sink) => this.sdk.subscribe(`subscription OnEventsCreatedByMaker($commitmentLevel: [EventCommitmentLevel!], $input: OnEventsCreatedByMakerInput!) {
|
|
66
66
|
onEventsCreatedByMaker (commitmentLevel: $commitmentLevel, input: $input) {
|
|
67
|
-
events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, makerAddress
|
|
67
|
+
events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, tradeSource { displayName, id }, transactionHash, transactionIndex, walletAge, walletLabels }, makerAddress
|
|
68
68
|
}
|
|
69
69
|
}`, vars, sink);
|
|
70
70
|
this.onFilterTokensUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnFilterTokensUpdated($excludeTokens: [String], $filters: TokenFilters, $limit: Int, $offset: Int, $phrase: String, $rankings: [TokenRanking], $statsType: TokenPairStatisticsType, $tokens: [String], $updatePeriod: Int, $useAggregatedStats: Boolean) {
|
|
@@ -144,7 +144,7 @@ class Subscribe {
|
|
|
144
144
|
}`, vars, sink);
|
|
145
145
|
this.onTokenEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenEventsCreated($commitmentLevel: [EventCommitmentLevel!], $input: OnTokenEventsCreatedInput!) {
|
|
146
146
|
onTokenEventsCreated (commitmentLevel: $commitmentLevel, input: $input) {
|
|
147
|
-
events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, id
|
|
147
|
+
events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, tradeSource { displayName, id }, transactionHash, transactionIndex, walletAge, walletLabels }, id
|
|
148
148
|
}
|
|
149
149
|
}`, vars, sink);
|
|
150
150
|
this.onTokenLifecycleEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenLifecycleEventsCreated($address: String, $networkId: Int) {
|
package/dist/sdk/Subscribe.mjs
CHANGED
|
@@ -56,12 +56,12 @@ export class Subscribe {
|
|
|
56
56
|
`, vars, sink);
|
|
57
57
|
this.onEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnEventsCreated($address: String, $commitmentLevel: [EventCommitmentLevel!], $id: String, $networkId: Int, $quoteToken: QuoteToken) {
|
|
58
58
|
onEventsCreated (address: $address, commitmentLevel: $commitmentLevel, id: $id, networkId: $networkId, quoteToken: $quoteToken) {
|
|
59
|
-
address, events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, id, networkId, quoteToken
|
|
59
|
+
address, events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, tradeSource { displayName, id }, transactionHash, transactionIndex, walletAge, walletLabels }, id, networkId, quoteToken
|
|
60
60
|
}
|
|
61
61
|
}`, vars, sink);
|
|
62
62
|
this.onEventsCreatedByMaker = (vars, sink) => this.sdk.subscribe(`subscription OnEventsCreatedByMaker($commitmentLevel: [EventCommitmentLevel!], $input: OnEventsCreatedByMakerInput!) {
|
|
63
63
|
onEventsCreatedByMaker (commitmentLevel: $commitmentLevel, input: $input) {
|
|
64
|
-
events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, makerAddress
|
|
64
|
+
events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, tradeSource { displayName, id }, transactionHash, transactionIndex, walletAge, walletLabels }, makerAddress
|
|
65
65
|
}
|
|
66
66
|
}`, vars, sink);
|
|
67
67
|
this.onFilterTokensUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnFilterTokensUpdated($excludeTokens: [String], $filters: TokenFilters, $limit: Int, $offset: Int, $phrase: String, $rankings: [TokenRanking], $statsType: TokenPairStatisticsType, $tokens: [String], $updatePeriod: Int, $useAggregatedStats: Boolean) {
|
|
@@ -141,7 +141,7 @@ export class Subscribe {
|
|
|
141
141
|
}`, vars, sink);
|
|
142
142
|
this.onTokenEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenEventsCreated($commitmentLevel: [EventCommitmentLevel!], $input: OnTokenEventsCreatedInput!) {
|
|
143
143
|
onTokenEventsCreated (commitmentLevel: $commitmentLevel, input: $input) {
|
|
144
|
-
events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, id
|
|
144
|
+
events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, tradeSource { displayName, id }, transactionHash, transactionIndex, walletAge, walletLabels }, id
|
|
145
145
|
}
|
|
146
146
|
}`, vars, sink);
|
|
147
147
|
this.onTokenLifecycleEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenLifecycleEventsCreated($address: String, $networkId: Int) {
|