@codex-data/sdk 1.0.25 → 1.0.28
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/resources/graphql.d.ts +242 -14
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +14 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/scripts/generateNetworkConfigs.d.ts +2 -0
- package/dist/scripts/generateNetworkConfigs.d.ts.map +1 -0
- package/dist/scripts/generateNetworkConfigs.js +235 -0
- package/dist/scripts/generateNetworkConfigs.js.map +1 -0
- package/dist/sdk/Mutation.d.ts +3 -3
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +3 -3
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +51 -51
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +51 -51
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +14 -14
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +65 -65
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +244 -16
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +16 -4
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +3 -1
- package/src/resources/graphql.schema.json +2698 -29
- package/src/resources/graphql.ts +260 -14
- package/src/resources/networkConfigs.json +3695 -0
- package/src/resources/schema.graphql +241 -12
- package/src/scripts/generateNetworkConfigs.ts +243 -0
- package/src/sdk/Mutation.ts +7 -7
- package/src/sdk/Query.ts +107 -107
- package/src/sdk/Subscribe.ts +156 -156
- package/src/sdk/generated/graphql.ts +261 -15
package/src/sdk/Subscribe.ts
CHANGED
|
@@ -66,79 +66,40 @@ export class Subscribe {
|
|
|
66
66
|
vars,
|
|
67
67
|
sink,
|
|
68
68
|
);
|
|
69
|
-
|
|
70
|
-
vars:
|
|
71
|
-
sink: Sink<ExecutionResult<
|
|
72
|
-
) =>
|
|
73
|
-
this.sdk.subscribe(
|
|
74
|
-
`subscription OnUnconfirmedEventsCreated($address: String, $id: String, $quoteToken: QuoteToken) {
|
|
75
|
-
onUnconfirmedEventsCreated (address: $address, id: $id, quoteToken: $quoteToken) {
|
|
76
|
-
address, events { address, blockHash, blockNumber, data { ... on UnconfirmedLiquidityChangeEventData { amount0, amount0Shifted, amount1, amount1Shifted, type }, ... on UnconfirmedSwapEventData { amountBaseToken, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, type } }, eventDisplayType, eventType, id, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, transactionHash, transactionIndex }, id, networkId, quoteToken
|
|
77
|
-
}
|
|
78
|
-
}`,
|
|
79
|
-
vars,
|
|
80
|
-
sink,
|
|
81
|
-
);
|
|
82
|
-
onBalanceUpdated = (
|
|
83
|
-
vars: OnBalanceUpdatedSubscriptionVariables,
|
|
84
|
-
sink: Sink<ExecutionResult<OnBalanceUpdatedSubscription>>,
|
|
85
|
-
) =>
|
|
86
|
-
this.sdk.subscribe(
|
|
87
|
-
`subscription OnBalanceUpdated($walletAddress: String!) {
|
|
88
|
-
onBalanceUpdated (walletAddress: $walletAddress) {
|
|
89
|
-
address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId
|
|
90
|
-
}
|
|
91
|
-
}`,
|
|
92
|
-
vars,
|
|
93
|
-
sink,
|
|
94
|
-
);
|
|
95
|
-
onHoldersUpdated = (
|
|
96
|
-
vars: OnHoldersUpdatedSubscriptionVariables,
|
|
97
|
-
sink: Sink<ExecutionResult<OnHoldersUpdatedSubscription>>,
|
|
98
|
-
) =>
|
|
99
|
-
this.sdk.subscribe(
|
|
100
|
-
`subscription OnHoldersUpdated($tokenId: String!) {
|
|
101
|
-
onHoldersUpdated (tokenId: $tokenId) {
|
|
102
|
-
balances { address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId }, holders, networkId, tokenAddress, tokenId
|
|
103
|
-
}
|
|
104
|
-
}`,
|
|
105
|
-
vars,
|
|
106
|
-
sink,
|
|
107
|
-
);
|
|
108
|
-
onPricesUpdated = (
|
|
109
|
-
vars: OnPricesUpdatedSubscriptionVariables,
|
|
110
|
-
sink: Sink<ExecutionResult<OnPricesUpdatedSubscription>>,
|
|
69
|
+
onPriceUpdated = (
|
|
70
|
+
vars: OnPriceUpdatedSubscriptionVariables,
|
|
71
|
+
sink: Sink<ExecutionResult<OnPriceUpdatedSubscription>>,
|
|
111
72
|
) =>
|
|
112
73
|
this.sdk.subscribe(
|
|
113
|
-
`subscription
|
|
114
|
-
|
|
74
|
+
`subscription OnPriceUpdated($address: String, $networkId: Int, $sourcePairAddress: String) {
|
|
75
|
+
onPriceUpdated (address: $address, networkId: $networkId, sourcePairAddress: $sourcePairAddress) {
|
|
115
76
|
address, confidence, networkId, poolAddress, priceUsd, timestamp
|
|
116
77
|
}
|
|
117
78
|
}`,
|
|
118
79
|
vars,
|
|
119
80
|
sink,
|
|
120
81
|
);
|
|
121
|
-
|
|
122
|
-
vars:
|
|
123
|
-
sink: Sink<ExecutionResult<
|
|
82
|
+
onUnconfirmedEventsCreatedByMaker = (
|
|
83
|
+
vars: OnUnconfirmedEventsCreatedByMakerSubscriptionVariables,
|
|
84
|
+
sink: Sink<ExecutionResult<OnUnconfirmedEventsCreatedByMakerSubscription>>,
|
|
124
85
|
) =>
|
|
125
86
|
this.sdk.subscribe(
|
|
126
|
-
`subscription
|
|
127
|
-
|
|
128
|
-
blockHash, blockNumber,
|
|
87
|
+
`subscription OnUnconfirmedEventsCreatedByMaker($input: OnUnconfirmedEventsCreatedByMakerInput!) {
|
|
88
|
+
onUnconfirmedEventsCreatedByMaker (input: $input) {
|
|
89
|
+
events { address, blockHash, blockNumber, data { ... on UnconfirmedLiquidityChangeEventData { amount0, amount0Shifted, amount1, amount1Shifted, type }, ... on UnconfirmedSwapEventData { amountBaseToken, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, type } }, eventDisplayType, eventType, id, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, transactionHash, transactionIndex }, makerAddress
|
|
129
90
|
}
|
|
130
91
|
}`,
|
|
131
92
|
vars,
|
|
132
93
|
sink,
|
|
133
94
|
);
|
|
134
|
-
|
|
135
|
-
vars:
|
|
136
|
-
sink: Sink<ExecutionResult<
|
|
95
|
+
onLaunchpadTokenEvent = (
|
|
96
|
+
vars: OnLaunchpadTokenEventSubscriptionVariables,
|
|
97
|
+
sink: Sink<ExecutionResult<OnLaunchpadTokenEventSubscription>>,
|
|
137
98
|
) =>
|
|
138
99
|
this.sdk.subscribe(
|
|
139
|
-
`subscription
|
|
140
|
-
|
|
141
|
-
|
|
100
|
+
`subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
101
|
+
onLaunchpadTokenEvent (input: $input) {
|
|
102
|
+
address, buyCount1, eventType, holders, launchpadName, liquidity, marketCap, networkId, price, protocol, sellCount1, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, transactions1, volume1
|
|
142
103
|
}
|
|
143
104
|
}`,
|
|
144
105
|
vars,
|
|
@@ -175,6 +136,97 @@ export class Subscribe {
|
|
|
175
136
|
vars,
|
|
176
137
|
sink,
|
|
177
138
|
);
|
|
139
|
+
onLatestTokens = (
|
|
140
|
+
vars: OnLatestTokensSubscriptionVariables,
|
|
141
|
+
sink: Sink<ExecutionResult<OnLatestTokensSubscription>>,
|
|
142
|
+
) =>
|
|
143
|
+
this.sdk.subscribe(
|
|
144
|
+
`subscription OnLatestTokens($id: String, $networkId: Int, $tokenAddress: String) {
|
|
145
|
+
onLatestTokens (id: $id, networkId: $networkId, tokenAddress: $tokenAddress) {
|
|
146
|
+
blockHash, blockNumber, creatorAddress, creatorBalance, decimals, id, networkId, simulationResults { buyGasUsed, buySuccess, buyTax, canRenounceOwnership, canTransferOwnership, isOwnerRenounced, maxBuyAmount, maxSellAmount, openTradingCall, sellGasUsed, sellSuccess, sellTax }, timeCreated, tokenAddress, tokenName, tokenSymbol, totalSupply, traceIndex, transactionHash, transactionIndex
|
|
147
|
+
}
|
|
148
|
+
}`,
|
|
149
|
+
vars,
|
|
150
|
+
sink,
|
|
151
|
+
);
|
|
152
|
+
onNftAssetsCreated = (
|
|
153
|
+
vars: OnNftAssetsCreatedSubscriptionVariables,
|
|
154
|
+
sink: Sink<ExecutionResult<OnNftAssetsCreatedSubscription>>,
|
|
155
|
+
) =>
|
|
156
|
+
this.sdk.subscribe(
|
|
157
|
+
`subscription OnNftAssetsCreated($address: String, $networkId: Int, $tokenId: String) {
|
|
158
|
+
onNftAssetsCreated (address: $address, networkId: $networkId, tokenId: $tokenId) {
|
|
159
|
+
address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri
|
|
160
|
+
}
|
|
161
|
+
}`,
|
|
162
|
+
vars,
|
|
163
|
+
sink,
|
|
164
|
+
);
|
|
165
|
+
onNftEventsCreated = (
|
|
166
|
+
vars: OnNftEventsCreatedSubscriptionVariables,
|
|
167
|
+
sink: Sink<ExecutionResult<OnNftEventsCreatedSubscription>>,
|
|
168
|
+
) =>
|
|
169
|
+
this.sdk.subscribe(
|
|
170
|
+
`subscription OnNftEventsCreated($address: String, $networkId: Int) {
|
|
171
|
+
onNftEventsCreated (address: $address, networkId: $networkId) {
|
|
172
|
+
address, events { aggregatorAddress, blockNumber, contractAddress, eventType, exchangeAddress, fillSource, id, individualPriceNetworkBaseToken, individualPriceUsd, individualTradePrice, logIndex, maker, networkId, numberOfTokens, orderDirection, paymentTokenAddress, poolAddress, priceError, sortKey, taker, timestamp, tokenId, totalPriceNetworkBaseToken, totalPriceUsd, totalTradePrice, tradeOffer { ... on NftEventNftTradeItem { address, amount, recipient, tokenId, type }, ... on NftEventTokenTradeItem { address, amount, individualPriceNetworkBaseToken, individualPriceUsd, individualTradePrice, isPrice, priceError, recipient, totalPriceNetworkBaseToken, totalPriceUsd, totalTradePrice, type } }, tradeReceived { ... on NftEventNftTradeItem { address, amount, recipient, tokenId, type }, ... on NftEventTokenTradeItem { address, amount, individualPriceNetworkBaseToken, individualPriceUsd, individualTradePrice, isPrice, priceError, recipient, totalPriceNetworkBaseToken, totalPriceUsd, totalTradePrice, type } }, transactionHash, transactionIndex }, id, networkId
|
|
173
|
+
}
|
|
174
|
+
}`,
|
|
175
|
+
vars,
|
|
176
|
+
sink,
|
|
177
|
+
);
|
|
178
|
+
onUnconfirmedBarsUpdated = (
|
|
179
|
+
vars: OnUnconfirmedBarsUpdatedSubscriptionVariables,
|
|
180
|
+
sink: Sink<ExecutionResult<OnUnconfirmedBarsUpdatedSubscription>>,
|
|
181
|
+
) =>
|
|
182
|
+
this.sdk.subscribe(
|
|
183
|
+
`subscription OnUnconfirmedBarsUpdated($pairId: String, $quoteToken: QuoteToken) {
|
|
184
|
+
onUnconfirmedBarsUpdated (pairId: $pairId, quoteToken: $quoteToken) {
|
|
185
|
+
aggregates { r1 { c, h, l, o, t, v, volume }, r1S { c, h, l, o, t, v, volume }, r5 { c, h, l, o, t, v, volume }, r5S { c, h, l, o, t, v, volume }, r15 { c, h, l, o, t, v, volume }, r15S { c, h, l, o, t, v, volume } }, eventSortKey, networkId, pairAddress, pairId, quoteToken, quoteTokenAddress, timestamp
|
|
186
|
+
}
|
|
187
|
+
}`,
|
|
188
|
+
vars,
|
|
189
|
+
sink,
|
|
190
|
+
);
|
|
191
|
+
onNftPoolEventsCreated = (
|
|
192
|
+
vars: OnNftPoolEventsCreatedSubscriptionVariables,
|
|
193
|
+
sink: Sink<ExecutionResult<OnNftPoolEventsCreatedSubscription>>,
|
|
194
|
+
) =>
|
|
195
|
+
this.sdk.subscribe(
|
|
196
|
+
`subscription OnNftPoolEventsCreated($collectionAddress: String, $exchangeAddress: String, $networkId: Int, $poolAddress: String) {
|
|
197
|
+
onNftPoolEventsCreated (collectionAddress: $collectionAddress, exchangeAddress: $exchangeAddress, networkId: $networkId, poolAddress: $poolAddress) {
|
|
198
|
+
collectionAddress, events { blockHash, blockNumber, collectionAddress, collectionId, data { ... on NewPoolEventData { assetRecipientAddress, bondingCurveAddress, bondingCurveType, buyPriceT, collectionAddress, createdAt, delta, feeAmountT, nbtRatio, networkId, nftTokenBalance, ownerAddress, poolAddress, sellPriceT, startPriceT, tokenAddress, tokenBalanceT, type, usdRatio }, ... on NewPoolEventDataV2 { assetRecipientAddress, bondingCurveAddress, bondingCurveType, buyPriceT, collectionAddress, createdAt, delta, feeAmountT, nbtRatio, networkId, nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftTokenIds, nftTokenQuantities, ownerAddress, poolAddress, poolNftType, propertyChecker, royalties { percent, recipient }, sellPriceT, startPriceT, tokenAddress, tokenBalanceT, type, usdRatio }, ... on NftPoolAssetRecipientUpdateEventData { newAssetRecipient, type }, ... on NftPoolDeltaUpdateEventData { newDelta, type }, ... on NftPoolFeeUpdateEventData { nbtRatio, newFeeT, type, usdRatio }, ... on NftPoolNftDepositEventData { nftTokenBalance, nftTokenIds, tokenBalanceT, type }, ... on NftPoolNftDepositEventDataV2 { nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftTokenAmounts, nftTokenIds, tokenBalanceT, type }, ... on NftPoolNftWithdrawalEventData { nftTokenBalance, nftTokenIds, tokenBalanceT, type }, ... on NftPoolNftWithdrawalEventDataV2 { nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftTokenAmounts, nftTokenIds, tokenBalanceT, type }, ... on NftPoolOwnershipTransferredEventDataV2 { newOwner, type }, ... on NftPoolSpotPriceUpdateEventData { nbtRatio, newBuyPriceT, newSellPriceT, newSpotPriceT, type, usdRatio }, ... on NftPoolSpotPriceUpdateEventDataV2 { nbtRatio, newBuyPriceT, newSellPriceT, newSpotPriceT, type, usdRatio }, ... on NftPoolTokenDepositEventData { amountT, nbtRatio, nftTokenBalance, tokenBalanceT, type, usdRatio }, ... on NftPoolTokenDepositEventDataV2 { amountT, nbtRatio, tokenBalanceT, type, usdRatio }, ... on NftPoolTokenWithdrawalEventData { amountT, nbtRatio, nftTokenBalance, tokenBalanceT, type, usdRatio }, ... on NftPoolTokenWithdrawalEventDataV2 { amountT, nbtRatio, tokenBalanceT, type, usdRatio }, ... on SwapNftInPoolEventData { amountT, nbtRatio, newBuyPriceT, newDelta, newSellPriceT, newSpotPriceT, nftTokenBalance, nftsTransfered { amountT, nftTokenId }, poolFeeT, protocolFeeT, tokenBalanceT, tokenId, type, usdRatio }, ... on SwapNftInPoolEventDataV2 { amountT, nbtRatio, newBuyPriceT, newDelta, newSellPriceT, newSpotPriceT, nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftsTransfered { amountT, nftQuantity, nftTokenId }, poolFeeT, protocolFeeT, tokenBalanceT, tokenId, type, usdRatio }, ... on SwapNftOutPoolEventData { amountT, nbtRatio, newBuyPriceT, newDelta, newSellPriceT, newSpotPriceT, nftTokenBalance, nftsTransfered { amountT, nftTokenId }, poolFeeT, protocolFeeT, tokenBalanceT, tokenId, type, usdRatio }, ... on SwapNftOutPoolEventDataV2 { amountT, nbtRatio, newBuyPriceT, newDelta, newSellPriceT, newSpotPriceT, nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftsTransfered { amountT, nftQuantity, nftTokenId }, poolFeeT, protocolFeeT, tokenBalanceT, tokenId, type, usdRatio } }, eventType, exchangeAddress, id, logIndex, maker, networkId, poolAddress, poolType, timestamp, tokenAddress, transactionHash, transactionIndex }, exchangeAddress, id, networkId, poolAddress
|
|
199
|
+
}
|
|
200
|
+
}`,
|
|
201
|
+
vars,
|
|
202
|
+
sink,
|
|
203
|
+
);
|
|
204
|
+
onPricesUpdated = (
|
|
205
|
+
vars: OnPricesUpdatedSubscriptionVariables,
|
|
206
|
+
sink: Sink<ExecutionResult<OnPricesUpdatedSubscription>>,
|
|
207
|
+
) =>
|
|
208
|
+
this.sdk.subscribe(
|
|
209
|
+
`subscription OnPricesUpdated($input: [OnPricesUpdatedInput!]!) {
|
|
210
|
+
onPricesUpdated (input: $input) {
|
|
211
|
+
address, confidence, networkId, poolAddress, priceUsd, timestamp
|
|
212
|
+
}
|
|
213
|
+
}`,
|
|
214
|
+
vars,
|
|
215
|
+
sink,
|
|
216
|
+
);
|
|
217
|
+
onTokenLifecycleEventsCreated = (
|
|
218
|
+
vars: OnTokenLifecycleEventsCreatedSubscriptionVariables,
|
|
219
|
+
sink: Sink<ExecutionResult<OnTokenLifecycleEventsCreatedSubscription>>,
|
|
220
|
+
) =>
|
|
221
|
+
this.sdk.subscribe(
|
|
222
|
+
`subscription OnTokenLifecycleEventsCreated($address: String, $networkId: Int) {
|
|
223
|
+
onTokenLifecycleEventsCreated (address: $address, networkId: $networkId) {
|
|
224
|
+
events { blockHash, blockNumber, data { ... on TokenBurnEventData { amount, circulatingSupply, totalSupply }, ... on TokenMintEventData { amount, circulatingSupply, totalSupply } }, eventType, id, logIndex, maker, networkId, timestamp, tokenAddress, transactionHash, transactionIndex }, id
|
|
225
|
+
}
|
|
226
|
+
}`,
|
|
227
|
+
vars,
|
|
228
|
+
sink,
|
|
229
|
+
);
|
|
178
230
|
onLaunchpadTokenEventBatch = (
|
|
179
231
|
vars: OnLaunchpadTokenEventBatchSubscriptionVariables,
|
|
180
232
|
sink: Sink<ExecutionResult<OnLaunchpadTokenEventBatchSubscription>>,
|
|
@@ -280,118 +332,79 @@ export class Subscribe {
|
|
|
280
332
|
vars,
|
|
281
333
|
sink,
|
|
282
334
|
);
|
|
283
|
-
|
|
284
|
-
vars:
|
|
285
|
-
sink: Sink<ExecutionResult<
|
|
286
|
-
) =>
|
|
287
|
-
this.sdk.subscribe(
|
|
288
|
-
`subscription OnPriceUpdated($address: String, $networkId: Int, $sourcePairAddress: String) {
|
|
289
|
-
onPriceUpdated (address: $address, networkId: $networkId, sourcePairAddress: $sourcePairAddress) {
|
|
290
|
-
address, confidence, networkId, poolAddress, priceUsd, timestamp
|
|
291
|
-
}
|
|
292
|
-
}`,
|
|
293
|
-
vars,
|
|
294
|
-
sink,
|
|
295
|
-
);
|
|
296
|
-
onUnconfirmedBarsUpdated = (
|
|
297
|
-
vars: OnUnconfirmedBarsUpdatedSubscriptionVariables,
|
|
298
|
-
sink: Sink<ExecutionResult<OnUnconfirmedBarsUpdatedSubscription>>,
|
|
299
|
-
) =>
|
|
300
|
-
this.sdk.subscribe(
|
|
301
|
-
`subscription OnUnconfirmedBarsUpdated($pairId: String, $quoteToken: QuoteToken) {
|
|
302
|
-
onUnconfirmedBarsUpdated (pairId: $pairId, quoteToken: $quoteToken) {
|
|
303
|
-
aggregates { r1 { c, h, l, o, t, v, volume }, r1S { c, h, l, o, t, v, volume }, r5 { c, h, l, o, t, v, volume }, r5S { c, h, l, o, t, v, volume }, r15 { c, h, l, o, t, v, volume }, r15S { c, h, l, o, t, v, volume } }, eventSortKey, networkId, pairAddress, pairId, quoteToken, quoteTokenAddress, timestamp
|
|
304
|
-
}
|
|
305
|
-
}`,
|
|
306
|
-
vars,
|
|
307
|
-
sink,
|
|
308
|
-
);
|
|
309
|
-
onLaunchpadTokenEvent = (
|
|
310
|
-
vars: OnLaunchpadTokenEventSubscriptionVariables,
|
|
311
|
-
sink: Sink<ExecutionResult<OnLaunchpadTokenEventSubscription>>,
|
|
312
|
-
) =>
|
|
313
|
-
this.sdk.subscribe(
|
|
314
|
-
`subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
315
|
-
onLaunchpadTokenEvent (input: $input) {
|
|
316
|
-
address, buyCount1, eventType, holders, launchpadName, liquidity, marketCap, networkId, price, protocol, sellCount1, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, transactions1, volume1
|
|
317
|
-
}
|
|
318
|
-
}`,
|
|
319
|
-
vars,
|
|
320
|
-
sink,
|
|
321
|
-
);
|
|
322
|
-
onNftAssetsCreated = (
|
|
323
|
-
vars: OnNftAssetsCreatedSubscriptionVariables,
|
|
324
|
-
sink: Sink<ExecutionResult<OnNftAssetsCreatedSubscription>>,
|
|
335
|
+
onEventsCreatedByMaker = (
|
|
336
|
+
vars: OnEventsCreatedByMakerSubscriptionVariables,
|
|
337
|
+
sink: Sink<ExecutionResult<OnEventsCreatedByMakerSubscription>>,
|
|
325
338
|
) =>
|
|
326
339
|
this.sdk.subscribe(
|
|
327
|
-
`subscription
|
|
328
|
-
|
|
329
|
-
address,
|
|
340
|
+
`subscription OnEventsCreatedByMaker($input: OnEventsCreatedByMakerInput!) {
|
|
341
|
+
onEventsCreatedByMaker (input: $input) {
|
|
342
|
+
events { address, baseTokenPrice, blockHash, blockNumber, 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, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, makerAddress
|
|
330
343
|
}
|
|
331
344
|
}`,
|
|
332
345
|
vars,
|
|
333
346
|
sink,
|
|
334
347
|
);
|
|
335
|
-
|
|
336
|
-
vars:
|
|
337
|
-
sink: Sink<ExecutionResult<
|
|
348
|
+
onTokenBarsUpdated = (
|
|
349
|
+
vars: OnTokenBarsUpdatedSubscriptionVariables,
|
|
350
|
+
sink: Sink<ExecutionResult<OnTokenBarsUpdatedSubscription>>,
|
|
338
351
|
) =>
|
|
339
352
|
this.sdk.subscribe(
|
|
340
|
-
`subscription
|
|
341
|
-
|
|
342
|
-
|
|
353
|
+
`subscription OnTokenBarsUpdated($networkId: Int, $tokenId: String) {
|
|
354
|
+
onTokenBarsUpdated (networkId: $networkId, tokenId: $tokenId) {
|
|
355
|
+
aggregates { r1 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1D { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r7D { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r60 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r240 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r720 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } } }, eventSortKey, networkId, pairAddress, pairId, quoteToken, statsType, timestamp, tokenAddress, tokenId
|
|
343
356
|
}
|
|
344
357
|
}`,
|
|
345
358
|
vars,
|
|
346
359
|
sink,
|
|
347
360
|
);
|
|
348
|
-
|
|
349
|
-
vars:
|
|
350
|
-
sink: Sink<ExecutionResult<
|
|
361
|
+
onLatestPairUpdated = (
|
|
362
|
+
vars: OnLatestPairUpdatedSubscriptionVariables,
|
|
363
|
+
sink: Sink<ExecutionResult<OnLatestPairUpdatedSubscription>>,
|
|
351
364
|
) =>
|
|
352
365
|
this.sdk.subscribe(
|
|
353
|
-
`subscription
|
|
354
|
-
|
|
355
|
-
|
|
366
|
+
`subscription OnLatestPairUpdated($id: String, $networkId: Int) {
|
|
367
|
+
onLatestPairUpdated (id: $id, networkId: $networkId) {
|
|
368
|
+
address, exchangeHash, id, initialPriceUsd, liquidAt, liquidity, liquidityToken, networkId, newToken, nonLiquidityToken, oldToken, priceChange, priceUsd, token0 { address, currentPoolAmount, decimals, id, initialPoolAmount, name, networkId, pairId, poolVariation, symbol }, token1 { address, currentPoolAmount, decimals, id, initialPoolAmount, name, networkId, pairId, poolVariation, symbol }, transactionHash
|
|
356
369
|
}
|
|
357
370
|
}`,
|
|
358
371
|
vars,
|
|
359
372
|
sink,
|
|
360
373
|
);
|
|
361
|
-
|
|
362
|
-
vars:
|
|
363
|
-
sink: Sink<ExecutionResult<
|
|
374
|
+
onBalanceUpdated = (
|
|
375
|
+
vars: OnBalanceUpdatedSubscriptionVariables,
|
|
376
|
+
sink: Sink<ExecutionResult<OnBalanceUpdatedSubscription>>,
|
|
364
377
|
) =>
|
|
365
378
|
this.sdk.subscribe(
|
|
366
|
-
`subscription
|
|
367
|
-
|
|
368
|
-
|
|
379
|
+
`subscription OnBalanceUpdated($walletAddress: String!) {
|
|
380
|
+
onBalanceUpdated (walletAddress: $walletAddress) {
|
|
381
|
+
address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId
|
|
369
382
|
}
|
|
370
383
|
}`,
|
|
371
384
|
vars,
|
|
372
385
|
sink,
|
|
373
386
|
);
|
|
374
|
-
|
|
375
|
-
vars:
|
|
376
|
-
sink: Sink<ExecutionResult<
|
|
387
|
+
onUnconfirmedEventsCreated = (
|
|
388
|
+
vars: OnUnconfirmedEventsCreatedSubscriptionVariables,
|
|
389
|
+
sink: Sink<ExecutionResult<OnUnconfirmedEventsCreatedSubscription>>,
|
|
377
390
|
) =>
|
|
378
391
|
this.sdk.subscribe(
|
|
379
|
-
`subscription
|
|
380
|
-
|
|
381
|
-
|
|
392
|
+
`subscription OnUnconfirmedEventsCreated($address: String, $id: String, $quoteToken: QuoteToken) {
|
|
393
|
+
onUnconfirmedEventsCreated (address: $address, id: $id, quoteToken: $quoteToken) {
|
|
394
|
+
address, events { address, blockHash, blockNumber, data { ... on UnconfirmedLiquidityChangeEventData { amount0, amount0Shifted, amount1, amount1Shifted, type }, ... on UnconfirmedSwapEventData { amountBaseToken, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, type } }, eventDisplayType, eventType, id, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, transactionHash, transactionIndex }, id, networkId, quoteToken
|
|
382
395
|
}
|
|
383
396
|
}`,
|
|
384
397
|
vars,
|
|
385
398
|
sink,
|
|
386
399
|
);
|
|
387
|
-
|
|
388
|
-
vars:
|
|
389
|
-
sink: Sink<ExecutionResult<
|
|
400
|
+
onHoldersUpdated = (
|
|
401
|
+
vars: OnHoldersUpdatedSubscriptionVariables,
|
|
402
|
+
sink: Sink<ExecutionResult<OnHoldersUpdatedSubscription>>,
|
|
390
403
|
) =>
|
|
391
404
|
this.sdk.subscribe(
|
|
392
|
-
`subscription
|
|
393
|
-
|
|
394
|
-
|
|
405
|
+
`subscription OnHoldersUpdated($tokenId: String!) {
|
|
406
|
+
onHoldersUpdated (tokenId: $tokenId) {
|
|
407
|
+
balances { address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId }, holders, networkId, tokenAddress, tokenId
|
|
395
408
|
}
|
|
396
409
|
}`,
|
|
397
410
|
vars,
|
|
@@ -410,14 +423,14 @@ export class Subscribe {
|
|
|
410
423
|
vars,
|
|
411
424
|
sink,
|
|
412
425
|
);
|
|
413
|
-
|
|
414
|
-
vars:
|
|
415
|
-
sink: Sink<ExecutionResult<
|
|
426
|
+
onTokenEventsCreated = (
|
|
427
|
+
vars: OnTokenEventsCreatedSubscriptionVariables,
|
|
428
|
+
sink: Sink<ExecutionResult<OnTokenEventsCreatedSubscription>>,
|
|
416
429
|
) =>
|
|
417
430
|
this.sdk.subscribe(
|
|
418
|
-
`subscription
|
|
419
|
-
|
|
420
|
-
events { address, blockHash, blockNumber, data { ... on
|
|
431
|
+
`subscription OnTokenEventsCreated($input: OnTokenEventsCreatedInput!) {
|
|
432
|
+
onTokenEventsCreated (input: $input) {
|
|
433
|
+
events { address, baseTokenPrice, blockHash, blockNumber, 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, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, id
|
|
421
434
|
}
|
|
422
435
|
}`,
|
|
423
436
|
vars,
|
|
@@ -436,27 +449,14 @@ export class Subscribe {
|
|
|
436
449
|
vars,
|
|
437
450
|
sink,
|
|
438
451
|
);
|
|
439
|
-
|
|
440
|
-
vars:
|
|
441
|
-
sink: Sink<ExecutionResult<
|
|
442
|
-
) =>
|
|
443
|
-
this.sdk.subscribe(
|
|
444
|
-
`subscription OnNftEventsCreated($address: String, $networkId: Int) {
|
|
445
|
-
onNftEventsCreated (address: $address, networkId: $networkId) {
|
|
446
|
-
address, events { aggregatorAddress, blockNumber, contractAddress, eventType, exchangeAddress, fillSource, id, individualPriceNetworkBaseToken, individualPriceUsd, individualTradePrice, logIndex, maker, networkId, numberOfTokens, orderDirection, paymentTokenAddress, poolAddress, priceError, sortKey, taker, timestamp, tokenId, totalPriceNetworkBaseToken, totalPriceUsd, totalTradePrice, tradeOffer { ... on NftEventNftTradeItem { address, amount, recipient, tokenId, type }, ... on NftEventTokenTradeItem { address, amount, individualPriceNetworkBaseToken, individualPriceUsd, individualTradePrice, isPrice, priceError, recipient, totalPriceNetworkBaseToken, totalPriceUsd, totalTradePrice, type } }, tradeReceived { ... on NftEventNftTradeItem { address, amount, recipient, tokenId, type }, ... on NftEventTokenTradeItem { address, amount, individualPriceNetworkBaseToken, individualPriceUsd, individualTradePrice, isPrice, priceError, recipient, totalPriceNetworkBaseToken, totalPriceUsd, totalTradePrice, type } }, transactionHash, transactionIndex }, id, networkId
|
|
447
|
-
}
|
|
448
|
-
}`,
|
|
449
|
-
vars,
|
|
450
|
-
sink,
|
|
451
|
-
);
|
|
452
|
-
onLatestPairUpdated = (
|
|
453
|
-
vars: OnLatestPairUpdatedSubscriptionVariables,
|
|
454
|
-
sink: Sink<ExecutionResult<OnLatestPairUpdatedSubscription>>,
|
|
452
|
+
onBarsUpdated = (
|
|
453
|
+
vars: OnBarsUpdatedSubscriptionVariables,
|
|
454
|
+
sink: Sink<ExecutionResult<OnBarsUpdatedSubscription>>,
|
|
455
455
|
) =>
|
|
456
456
|
this.sdk.subscribe(
|
|
457
|
-
`subscription
|
|
458
|
-
|
|
459
|
-
|
|
457
|
+
`subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {
|
|
458
|
+
onBarsUpdated (pairId: $pairId, quoteToken: $quoteToken) {
|
|
459
|
+
aggregates { r1 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1D { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r7D { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r60 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r240 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r720 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } } }, eventSortKey, networkId, pairAddress, pairId, quoteToken, quoteTokenAddress, statsType, timestamp
|
|
460
460
|
}
|
|
461
461
|
}`,
|
|
462
462
|
vars,
|