@codex-data/sdk 1.0.15 → 1.0.17
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/scripts/buildSdk.js +1 -1
- package/dist/scripts/buildSdk.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +23 -23
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +27 -79
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +3 -3
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +1 -1
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +3 -2
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +1 -1
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +5 -2
- package/src/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +5 -2
- package/src/scripts/buildSdk.ts +1 -1
- package/src/sdk/Subscribe.ts +28 -25
- package/src/sdk/generated/gql.ts +2 -2
- package/src/sdk/generated/graphql.ts +5 -3
package/package.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
subscription OnLaunchpadTokenEventBatch
|
|
2
|
-
|
|
1
|
+
subscription OnLaunchpadTokenEventBatch(
|
|
2
|
+
$input: OnLaunchpadTokenEventBatchInput
|
|
3
|
+
) {
|
|
4
|
+
onLaunchpadTokenEventBatch(input: $input) {
|
|
3
5
|
address
|
|
4
6
|
buyCount1
|
|
5
7
|
eventType
|
|
@@ -87,5 +89,6 @@ subscription OnLaunchpadTokenEventBatch {
|
|
|
87
89
|
}
|
|
88
90
|
transactions1
|
|
89
91
|
volume1
|
|
92
|
+
liquidity
|
|
90
93
|
}
|
|
91
94
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
subscription OnLaunchpadTokenEventBatch
|
|
2
|
-
|
|
1
|
+
subscription OnLaunchpadTokenEventBatch(
|
|
2
|
+
$input: OnLaunchpadTokenEventBatchInput
|
|
3
|
+
) {
|
|
4
|
+
onLaunchpadTokenEventBatch(input: $input) {
|
|
3
5
|
address
|
|
4
6
|
buyCount1
|
|
5
7
|
eventType
|
|
@@ -87,5 +89,6 @@ subscription OnLaunchpadTokenEventBatch {
|
|
|
87
89
|
}
|
|
88
90
|
transactions1
|
|
89
91
|
volume1
|
|
92
|
+
liquidity
|
|
90
93
|
}
|
|
91
94
|
}
|
package/src/scripts/buildSdk.ts
CHANGED
|
@@ -34,7 +34,7 @@ class Subscription {
|
|
|
34
34
|
),
|
|
35
35
|
"utf8",
|
|
36
36
|
);
|
|
37
|
-
return `${camelCase(this.subscriptionName)} =
|
|
37
|
+
return `${camelCase(this.subscriptionName)} = (vars: ${
|
|
38
38
|
this.subscriptionName
|
|
39
39
|
}SubscriptionVariables, sink: Sink<ExecutionResult<${
|
|
40
40
|
this.subscriptionName
|
package/src/sdk/Subscribe.ts
CHANGED
|
@@ -53,7 +53,7 @@ import { Codex } from "./index";
|
|
|
53
53
|
|
|
54
54
|
export class Subscribe {
|
|
55
55
|
constructor(private sdk: Codex) {}
|
|
56
|
-
onTokenLifecycleEventsCreated =
|
|
56
|
+
onTokenLifecycleEventsCreated = (
|
|
57
57
|
vars: OnTokenLifecycleEventsCreatedSubscriptionVariables,
|
|
58
58
|
sink: Sink<ExecutionResult<OnTokenLifecycleEventsCreatedSubscription>>,
|
|
59
59
|
) =>
|
|
@@ -66,7 +66,7 @@ export class Subscribe {
|
|
|
66
66
|
vars,
|
|
67
67
|
sink,
|
|
68
68
|
);
|
|
69
|
-
onNftEventsCreated =
|
|
69
|
+
onNftEventsCreated = (
|
|
70
70
|
vars: OnNftEventsCreatedSubscriptionVariables,
|
|
71
71
|
sink: Sink<ExecutionResult<OnNftEventsCreatedSubscription>>,
|
|
72
72
|
) =>
|
|
@@ -79,7 +79,7 @@ export class Subscribe {
|
|
|
79
79
|
vars,
|
|
80
80
|
sink,
|
|
81
81
|
);
|
|
82
|
-
onLaunchpadTokenEvent =
|
|
82
|
+
onLaunchpadTokenEvent = (
|
|
83
83
|
vars: OnLaunchpadTokenEventSubscriptionVariables,
|
|
84
84
|
sink: Sink<ExecutionResult<OnLaunchpadTokenEventSubscription>>,
|
|
85
85
|
) =>
|
|
@@ -92,7 +92,7 @@ export class Subscribe {
|
|
|
92
92
|
vars,
|
|
93
93
|
sink,
|
|
94
94
|
);
|
|
95
|
-
onUnconfirmedBarsUpdated =
|
|
95
|
+
onUnconfirmedBarsUpdated = (
|
|
96
96
|
vars: OnUnconfirmedBarsUpdatedSubscriptionVariables,
|
|
97
97
|
sink: Sink<ExecutionResult<OnUnconfirmedBarsUpdatedSubscription>>,
|
|
98
98
|
) =>
|
|
@@ -105,13 +105,15 @@ export class Subscribe {
|
|
|
105
105
|
vars,
|
|
106
106
|
sink,
|
|
107
107
|
);
|
|
108
|
-
onLaunchpadTokenEventBatch =
|
|
108
|
+
onLaunchpadTokenEventBatch = (
|
|
109
109
|
vars: OnLaunchpadTokenEventBatchSubscriptionVariables,
|
|
110
110
|
sink: Sink<ExecutionResult<OnLaunchpadTokenEventBatchSubscription>>,
|
|
111
111
|
) =>
|
|
112
112
|
this.sdk.subscribe(
|
|
113
|
-
`subscription OnLaunchpadTokenEventBatch
|
|
114
|
-
|
|
113
|
+
`subscription OnLaunchpadTokenEventBatch(
|
|
114
|
+
$input: OnLaunchpadTokenEventBatchInput
|
|
115
|
+
) {
|
|
116
|
+
onLaunchpadTokenEventBatch(input: $input) {
|
|
115
117
|
address
|
|
116
118
|
buyCount1
|
|
117
119
|
eventType
|
|
@@ -199,13 +201,14 @@ export class Subscribe {
|
|
|
199
201
|
}
|
|
200
202
|
transactions1
|
|
201
203
|
volume1
|
|
204
|
+
liquidity
|
|
202
205
|
}
|
|
203
206
|
}
|
|
204
207
|
`,
|
|
205
208
|
vars,
|
|
206
209
|
sink,
|
|
207
210
|
);
|
|
208
|
-
onPricesUpdated =
|
|
211
|
+
onPricesUpdated = (
|
|
209
212
|
vars: OnPricesUpdatedSubscriptionVariables,
|
|
210
213
|
sink: Sink<ExecutionResult<OnPricesUpdatedSubscription>>,
|
|
211
214
|
) =>
|
|
@@ -218,7 +221,7 @@ export class Subscribe {
|
|
|
218
221
|
vars,
|
|
219
222
|
sink,
|
|
220
223
|
);
|
|
221
|
-
onUnconfirmedEventsCreatedByMaker =
|
|
224
|
+
onUnconfirmedEventsCreatedByMaker = (
|
|
222
225
|
vars: OnUnconfirmedEventsCreatedByMakerSubscriptionVariables,
|
|
223
226
|
sink: Sink<ExecutionResult<OnUnconfirmedEventsCreatedByMakerSubscription>>,
|
|
224
227
|
) =>
|
|
@@ -231,7 +234,7 @@ export class Subscribe {
|
|
|
231
234
|
vars,
|
|
232
235
|
sink,
|
|
233
236
|
);
|
|
234
|
-
onLatestPairUpdated =
|
|
237
|
+
onLatestPairUpdated = (
|
|
235
238
|
vars: OnLatestPairUpdatedSubscriptionVariables,
|
|
236
239
|
sink: Sink<ExecutionResult<OnLatestPairUpdatedSubscription>>,
|
|
237
240
|
) =>
|
|
@@ -244,7 +247,7 @@ export class Subscribe {
|
|
|
244
247
|
vars,
|
|
245
248
|
sink,
|
|
246
249
|
);
|
|
247
|
-
onNftAssetsCreated =
|
|
250
|
+
onNftAssetsCreated = (
|
|
248
251
|
vars: OnNftAssetsCreatedSubscriptionVariables,
|
|
249
252
|
sink: Sink<ExecutionResult<OnNftAssetsCreatedSubscription>>,
|
|
250
253
|
) =>
|
|
@@ -257,7 +260,7 @@ export class Subscribe {
|
|
|
257
260
|
vars,
|
|
258
261
|
sink,
|
|
259
262
|
);
|
|
260
|
-
onDetailedStatsUpdated =
|
|
263
|
+
onDetailedStatsUpdated = (
|
|
261
264
|
vars: OnDetailedStatsUpdatedSubscriptionVariables,
|
|
262
265
|
sink: Sink<ExecutionResult<OnDetailedStatsUpdatedSubscription>>,
|
|
263
266
|
) =>
|
|
@@ -270,7 +273,7 @@ export class Subscribe {
|
|
|
270
273
|
vars,
|
|
271
274
|
sink,
|
|
272
275
|
);
|
|
273
|
-
onTokenBarsUpdated =
|
|
276
|
+
onTokenBarsUpdated = (
|
|
274
277
|
vars: OnTokenBarsUpdatedSubscriptionVariables,
|
|
275
278
|
sink: Sink<ExecutionResult<OnTokenBarsUpdatedSubscription>>,
|
|
276
279
|
) =>
|
|
@@ -283,7 +286,7 @@ export class Subscribe {
|
|
|
283
286
|
vars,
|
|
284
287
|
sink,
|
|
285
288
|
);
|
|
286
|
-
onPriceUpdated =
|
|
289
|
+
onPriceUpdated = (
|
|
287
290
|
vars: OnPriceUpdatedSubscriptionVariables,
|
|
288
291
|
sink: Sink<ExecutionResult<OnPriceUpdatedSubscription>>,
|
|
289
292
|
) =>
|
|
@@ -296,7 +299,7 @@ export class Subscribe {
|
|
|
296
299
|
vars,
|
|
297
300
|
sink,
|
|
298
301
|
);
|
|
299
|
-
onBarsUpdated =
|
|
302
|
+
onBarsUpdated = (
|
|
300
303
|
vars: OnBarsUpdatedSubscriptionVariables,
|
|
301
304
|
sink: Sink<ExecutionResult<OnBarsUpdatedSubscription>>,
|
|
302
305
|
) =>
|
|
@@ -309,7 +312,7 @@ export class Subscribe {
|
|
|
309
312
|
vars,
|
|
310
313
|
sink,
|
|
311
314
|
);
|
|
312
|
-
onTokenEventsCreated =
|
|
315
|
+
onTokenEventsCreated = (
|
|
313
316
|
vars: OnTokenEventsCreatedSubscriptionVariables,
|
|
314
317
|
sink: Sink<ExecutionResult<OnTokenEventsCreatedSubscription>>,
|
|
315
318
|
) =>
|
|
@@ -322,7 +325,7 @@ export class Subscribe {
|
|
|
322
325
|
vars,
|
|
323
326
|
sink,
|
|
324
327
|
);
|
|
325
|
-
onEventLabelCreated =
|
|
328
|
+
onEventLabelCreated = (
|
|
326
329
|
vars: OnEventLabelCreatedSubscriptionVariables,
|
|
327
330
|
sink: Sink<ExecutionResult<OnEventLabelCreatedSubscription>>,
|
|
328
331
|
) =>
|
|
@@ -353,7 +356,7 @@ export class Subscribe {
|
|
|
353
356
|
vars,
|
|
354
357
|
sink,
|
|
355
358
|
);
|
|
356
|
-
onEventsCreatedByMaker =
|
|
359
|
+
onEventsCreatedByMaker = (
|
|
357
360
|
vars: OnEventsCreatedByMakerSubscriptionVariables,
|
|
358
361
|
sink: Sink<ExecutionResult<OnEventsCreatedByMakerSubscription>>,
|
|
359
362
|
) =>
|
|
@@ -366,7 +369,7 @@ export class Subscribe {
|
|
|
366
369
|
vars,
|
|
367
370
|
sink,
|
|
368
371
|
);
|
|
369
|
-
onUnconfirmedEventsCreated =
|
|
372
|
+
onUnconfirmedEventsCreated = (
|
|
370
373
|
vars: OnUnconfirmedEventsCreatedSubscriptionVariables,
|
|
371
374
|
sink: Sink<ExecutionResult<OnUnconfirmedEventsCreatedSubscription>>,
|
|
372
375
|
) =>
|
|
@@ -379,7 +382,7 @@ export class Subscribe {
|
|
|
379
382
|
vars,
|
|
380
383
|
sink,
|
|
381
384
|
);
|
|
382
|
-
onLatestTokens =
|
|
385
|
+
onLatestTokens = (
|
|
383
386
|
vars: OnLatestTokensSubscriptionVariables,
|
|
384
387
|
sink: Sink<ExecutionResult<OnLatestTokensSubscription>>,
|
|
385
388
|
) =>
|
|
@@ -392,7 +395,7 @@ export class Subscribe {
|
|
|
392
395
|
vars,
|
|
393
396
|
sink,
|
|
394
397
|
);
|
|
395
|
-
onBalanceUpdated =
|
|
398
|
+
onBalanceUpdated = (
|
|
396
399
|
vars: OnBalanceUpdatedSubscriptionVariables,
|
|
397
400
|
sink: Sink<ExecutionResult<OnBalanceUpdatedSubscription>>,
|
|
398
401
|
) =>
|
|
@@ -405,7 +408,7 @@ export class Subscribe {
|
|
|
405
408
|
vars,
|
|
406
409
|
sink,
|
|
407
410
|
);
|
|
408
|
-
onEventsCreated =
|
|
411
|
+
onEventsCreated = (
|
|
409
412
|
vars: OnEventsCreatedSubscriptionVariables,
|
|
410
413
|
sink: Sink<ExecutionResult<OnEventsCreatedSubscription>>,
|
|
411
414
|
) =>
|
|
@@ -418,7 +421,7 @@ export class Subscribe {
|
|
|
418
421
|
vars,
|
|
419
422
|
sink,
|
|
420
423
|
);
|
|
421
|
-
onNftPoolEventsCreated =
|
|
424
|
+
onNftPoolEventsCreated = (
|
|
422
425
|
vars: OnNftPoolEventsCreatedSubscriptionVariables,
|
|
423
426
|
sink: Sink<ExecutionResult<OnNftPoolEventsCreatedSubscription>>,
|
|
424
427
|
) =>
|
|
@@ -431,7 +434,7 @@ export class Subscribe {
|
|
|
431
434
|
vars,
|
|
432
435
|
sink,
|
|
433
436
|
);
|
|
434
|
-
onHoldersUpdated =
|
|
437
|
+
onHoldersUpdated = (
|
|
435
438
|
vars: OnHoldersUpdatedSubscriptionVariables,
|
|
436
439
|
sink: Sink<ExecutionResult<OnHoldersUpdatedSubscription>>,
|
|
437
440
|
) =>
|
|
@@ -444,7 +447,7 @@ export class Subscribe {
|
|
|
444
447
|
vars,
|
|
445
448
|
sink,
|
|
446
449
|
);
|
|
447
|
-
onPairMetadataUpdated =
|
|
450
|
+
onPairMetadataUpdated = (
|
|
448
451
|
vars: OnPairMetadataUpdatedSubscriptionVariables,
|
|
449
452
|
sink: Sink<ExecutionResult<OnPairMetadataUpdatedSubscription>>,
|
|
450
453
|
) =>
|
package/src/sdk/generated/gql.ts
CHANGED
|
@@ -90,7 +90,7 @@ const documents = {
|
|
|
90
90
|
"subscription OnLatestPairUpdated($id: String, $networkId: Int) {\n onLatestPairUpdated(id: $id, networkId: $networkId) {\n address\n exchangeHash\n id\n initialPriceUsd\n liquidAt\n liquidity\n liquidityToken\n networkId\n newToken\n nonLiquidityToken\n oldToken\n priceChange\n priceUsd\n token0 {\n address\n currentPoolAmount\n decimals\n id\n initialPoolAmount\n name\n networkId\n pairId\n poolVariation\n symbol\n }\n token1 {\n address\n currentPoolAmount\n decimals\n id\n initialPoolAmount\n name\n networkId\n pairId\n poolVariation\n symbol\n }\n transactionHash\n }\n}": types.OnLatestPairUpdatedDocument,
|
|
91
91
|
"subscription OnLatestTokens($id: String, $networkId: Int, $tokenAddress: String) {\n onLatestTokens(id: $id, networkId: $networkId, tokenAddress: $tokenAddress) {\n blockHash\n blockNumber\n creatorAddress\n creatorBalance\n decimals\n id\n networkId\n simulationResults {\n buyGasUsed\n buySuccess\n buyTax\n canRenounceOwnership\n canTransferOwnership\n isOwnerRenounced\n maxBuyAmount\n maxSellAmount\n openTradingCall\n sellGasUsed\n sellSuccess\n sellTax\n }\n timeCreated\n tokenAddress\n tokenName\n tokenSymbol\n totalSupply\n traceIndex\n transactionHash\n transactionIndex\n }\n}": types.OnLatestTokensDocument,
|
|
92
92
|
"subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {\n onLaunchpadTokenEvent(input: $input) {\n address\n buyCount1\n eventType\n holders\n marketCap\n networkId\n price\n protocol\n sellCount1\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n transactions1\n volume1\n }\n}": types.OnLaunchpadTokenEventDocument,
|
|
93
|
-
"subscription OnLaunchpadTokenEventBatch {\n onLaunchpadTokenEventBatch {\n address\n buyCount1\n eventType\n holders\n marketCap\n networkId\n price\n protocol\n sellCount1\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n name\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n transactions1\n volume1\n }\n}": types.OnLaunchpadTokenEventBatchDocument,
|
|
93
|
+
"subscription OnLaunchpadTokenEventBatch($input: OnLaunchpadTokenEventBatchInput) {\n onLaunchpadTokenEventBatch(input: $input) {\n address\n buyCount1\n eventType\n holders\n marketCap\n networkId\n price\n protocol\n sellCount1\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n name\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n transactions1\n volume1\n liquidity\n }\n}": types.OnLaunchpadTokenEventBatchDocument,
|
|
94
94
|
"subscription OnNftAssetsCreated($address: String, $networkId: Int, $tokenId: String) {\n onNftAssetsCreated(address: $address, networkId: $networkId, tokenId: $tokenId) {\n address\n attributes {\n class\n css\n displayType\n maxValue\n name\n value\n valueType\n }\n description\n id\n media {\n image\n processed\n thumbLg\n thumbSm\n }\n name\n networkId\n originalImage\n quantity\n rawAssetData {\n animationUrl\n externalUrl\n imageData\n imageUrl\n }\n tokenId\n uri\n }\n}": types.OnNftAssetsCreatedDocument,
|
|
95
95
|
"subscription OnNftEventsCreated($address: String, $networkId: Int) {\n onNftEventsCreated(address: $address, networkId: $networkId) {\n address\n events {\n aggregatorAddress\n blockNumber\n contractAddress\n eventType\n exchangeAddress\n fillSource\n id\n individualPriceNetworkBaseToken\n individualPriceUsd\n individualTradePrice\n logIndex\n maker\n networkId\n numberOfTokens\n orderDirection\n paymentTokenAddress\n poolAddress\n priceError\n sortKey\n taker\n timestamp\n tokenId\n totalPriceNetworkBaseToken\n totalPriceUsd\n totalTradePrice\n tradeOffer {\n ... on NftEventNftTradeItem {\n address\n amount\n recipient\n tokenId\n type\n }\n ... on NftEventTokenTradeItem {\n address\n amount\n individualPriceNetworkBaseToken\n individualPriceUsd\n individualTradePrice\n isPrice\n priceError\n recipient\n totalPriceNetworkBaseToken\n totalPriceUsd\n totalTradePrice\n type\n }\n }\n tradeReceived {\n ... on NftEventNftTradeItem {\n address\n amount\n recipient\n tokenId\n type\n }\n ... on NftEventTokenTradeItem {\n address\n amount\n individualPriceNetworkBaseToken\n individualPriceUsd\n individualTradePrice\n isPrice\n priceError\n recipient\n totalPriceNetworkBaseToken\n totalPriceUsd\n totalTradePrice\n type\n }\n }\n transactionHash\n transactionIndex\n }\n id\n networkId\n }\n}": types.OnNftEventsCreatedDocument,
|
|
96
96
|
"subscription OnNftPoolEventsCreated($collectionAddress: String, $exchangeAddress: String, $networkId: Int, $poolAddress: String) {\n onNftPoolEventsCreated(\n collectionAddress: $collectionAddress\n exchangeAddress: $exchangeAddress\n networkId: $networkId\n poolAddress: $poolAddress\n ) {\n collectionAddress\n events {\n blockHash\n blockNumber\n collectionAddress\n collectionId\n data {\n ... on NewPoolEventData {\n assetRecipientAddress\n bondingCurveAddress\n bondingCurveType\n buyPriceT\n collectionAddress\n createdAt\n delta\n feeAmountT\n nbtRatio\n networkId\n nftTokenBalance\n ownerAddress\n poolAddress\n sellPriceT\n startPriceT\n tokenAddress\n tokenBalanceT\n type\n usdRatio\n }\n ... on NewPoolEventDataV2 {\n assetRecipientAddress\n bondingCurveAddress\n bondingCurveType\n buyPriceT\n collectionAddress\n createdAt\n delta\n feeAmountT\n nbtRatio\n networkId\n nftAssets {\n address\n attributes {\n class\n css\n displayType\n maxValue\n name\n value\n valueType\n }\n description\n id\n media {\n image\n processed\n thumbLg\n thumbSm\n }\n name\n networkId\n originalImage\n quantity\n rawAssetData {\n animationUrl\n externalUrl\n imageData\n imageUrl\n }\n tokenId\n uri\n }\n nftTokenIds\n nftTokenQuantities\n ownerAddress\n poolAddress\n poolNftType\n propertyChecker\n royalties {\n percent\n recipient\n }\n sellPriceT\n startPriceT\n tokenAddress\n tokenBalanceT\n type\n usdRatio\n }\n ... on NftPoolAssetRecipientUpdateEventData {\n newAssetRecipient\n type\n }\n ... on NftPoolDeltaUpdateEventData {\n newDelta\n type\n }\n ... on NftPoolFeeUpdateEventData {\n nbtRatio\n newFeeT\n type\n usdRatio\n }\n ... on NftPoolNftDepositEventData {\n nftTokenBalance\n nftTokenIds\n tokenBalanceT\n type\n }\n ... on NftPoolNftDepositEventDataV2 {\n nftAssets {\n address\n attributes {\n class\n css\n displayType\n maxValue\n name\n value\n valueType\n }\n description\n id\n media {\n image\n processed\n thumbLg\n thumbSm\n }\n name\n networkId\n originalImage\n quantity\n rawAssetData {\n animationUrl\n externalUrl\n imageData\n imageUrl\n }\n tokenId\n uri\n }\n nftTokenAmounts\n nftTokenIds\n tokenBalanceT\n type\n }\n ... on NftPoolNftWithdrawalEventData {\n nftTokenBalance\n nftTokenIds\n tokenBalanceT\n type\n }\n ... on NftPoolNftWithdrawalEventDataV2 {\n nftAssets {\n address\n attributes {\n class\n css\n displayType\n maxValue\n name\n value\n valueType\n }\n description\n id\n media {\n image\n processed\n thumbLg\n thumbSm\n }\n name\n networkId\n originalImage\n quantity\n rawAssetData {\n animationUrl\n externalUrl\n imageData\n imageUrl\n }\n tokenId\n uri\n }\n nftTokenAmounts\n nftTokenIds\n tokenBalanceT\n type\n }\n ... on NftPoolOwnershipTransferredEventDataV2 {\n newOwner\n type\n }\n ... on NftPoolSpotPriceUpdateEventData {\n nbtRatio\n newBuyPriceT\n newSellPriceT\n newSpotPriceT\n type\n usdRatio\n }\n ... on NftPoolSpotPriceUpdateEventDataV2 {\n nbtRatio\n newBuyPriceT\n newSellPriceT\n newSpotPriceT\n type\n usdRatio\n }\n ... on NftPoolTokenDepositEventData {\n amountT\n nbtRatio\n nftTokenBalance\n tokenBalanceT\n type\n usdRatio\n }\n ... on NftPoolTokenDepositEventDataV2 {\n amountT\n nbtRatio\n tokenBalanceT\n type\n usdRatio\n }\n ... on NftPoolTokenWithdrawalEventData {\n amountT\n nbtRatio\n nftTokenBalance\n tokenBalanceT\n type\n usdRatio\n }\n ... on NftPoolTokenWithdrawalEventDataV2 {\n amountT\n nbtRatio\n tokenBalanceT\n type\n usdRatio\n }\n ... on SwapNftInPoolEventData {\n amountT\n nbtRatio\n newBuyPriceT\n newDelta\n newSellPriceT\n newSpotPriceT\n nftTokenBalance\n nftsTransfered {\n amountT\n nftTokenId\n }\n poolFeeT\n protocolFeeT\n tokenBalanceT\n tokenId\n type\n usdRatio\n }\n ... on SwapNftInPoolEventDataV2 {\n amountT\n nbtRatio\n newBuyPriceT\n newDelta\n newSellPriceT\n newSpotPriceT\n nftAssets {\n address\n attributes {\n class\n css\n displayType\n maxValue\n name\n value\n valueType\n }\n description\n id\n media {\n image\n processed\n thumbLg\n thumbSm\n }\n name\n networkId\n originalImage\n quantity\n rawAssetData {\n animationUrl\n externalUrl\n imageData\n imageUrl\n }\n tokenId\n uri\n }\n nftsTransfered {\n amountT\n nftQuantity\n nftTokenId\n }\n poolFeeT\n protocolFeeT\n tokenBalanceT\n tokenId\n type\n usdRatio\n }\n ... on SwapNftOutPoolEventData {\n amountT\n nbtRatio\n newBuyPriceT\n newDelta\n newSellPriceT\n newSpotPriceT\n nftTokenBalance\n nftsTransfered {\n amountT\n nftTokenId\n }\n poolFeeT\n protocolFeeT\n tokenBalanceT\n tokenId\n type\n usdRatio\n }\n ... on SwapNftOutPoolEventDataV2 {\n amountT\n nbtRatio\n newBuyPriceT\n newDelta\n newSellPriceT\n newSpotPriceT\n nftAssets {\n address\n attributes {\n class\n css\n displayType\n maxValue\n name\n value\n valueType\n }\n description\n id\n media {\n image\n processed\n thumbLg\n thumbSm\n }\n name\n networkId\n originalImage\n quantity\n rawAssetData {\n animationUrl\n externalUrl\n imageData\n imageUrl\n }\n tokenId\n uri\n }\n nftsTransfered {\n amountT\n nftQuantity\n nftTokenId\n }\n poolFeeT\n protocolFeeT\n tokenBalanceT\n tokenId\n type\n usdRatio\n }\n }\n eventType\n exchangeAddress\n id\n logIndex\n maker\n networkId\n poolAddress\n poolType\n timestamp\n tokenAddress\n transactionHash\n transactionIndex\n }\n exchangeAddress\n id\n networkId\n poolAddress\n }\n}": types.OnNftPoolEventsCreatedDocument,
|
|
@@ -430,7 +430,7 @@ export function graphql(source: "subscription OnLaunchpadTokenEvent($input: OnLa
|
|
|
430
430
|
/**
|
|
431
431
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
432
432
|
*/
|
|
433
|
-
export function graphql(source: "subscription OnLaunchpadTokenEventBatch {\n onLaunchpadTokenEventBatch {\n address\n buyCount1\n eventType\n holders\n marketCap\n networkId\n price\n protocol\n sellCount1\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n name\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n transactions1\n volume1\n }\n}"): (typeof documents)["subscription OnLaunchpadTokenEventBatch {\n onLaunchpadTokenEventBatch {\n address\n buyCount1\n eventType\n holders\n marketCap\n networkId\n price\n protocol\n sellCount1\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n name\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n transactions1\n volume1\n }\n}"];
|
|
433
|
+
export function graphql(source: "subscription OnLaunchpadTokenEventBatch($input: OnLaunchpadTokenEventBatchInput) {\n onLaunchpadTokenEventBatch(input: $input) {\n address\n buyCount1\n eventType\n holders\n marketCap\n networkId\n price\n protocol\n sellCount1\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n name\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n transactions1\n volume1\n liquidity\n }\n}"): (typeof documents)["subscription OnLaunchpadTokenEventBatch($input: OnLaunchpadTokenEventBatchInput) {\n onLaunchpadTokenEventBatch(input: $input) {\n address\n buyCount1\n eventType\n holders\n marketCap\n networkId\n price\n protocol\n sellCount1\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n name\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n transactions1\n volume1\n liquidity\n }\n}"];
|
|
434
434
|
/**
|
|
435
435
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
436
436
|
*/
|