@codex-data/sdk 1.0.7 → 1.0.9
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 +1346 -16
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +198 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/Mutation.d.ts +1 -1
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +1 -1
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +53 -49
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +52 -48
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +18 -16
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +94 -80
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +98 -52
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +30 -24
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +2582 -225
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +230 -28
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/dist/sdk/index.d.ts +11 -3
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +33 -19
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/index.test.js +2 -2
- package/dist/sdk/index.test.js.map +1 -1
- package/package.json +1 -2
- package/src/resources/generated_queries/Balances.graphql +78 -0
- package/src/resources/generated_queries/DetailedWalletStats.graphql +197 -0
- package/src/resources/generated_queries/FilterPairs.graphql +4 -4
- package/src/resources/generated_queries/FilterTokenWallets.graphql +139 -0
- package/src/resources/generated_queries/FilterTokens.graphql +4 -3
- package/src/resources/generated_queries/FilterWallets.graphql +56 -0
- package/src/resources/generated_queries/GetBars.graphql +2 -2
- package/src/resources/generated_queries/GetCommunityNotes.graphql +1 -1
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +2 -2
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +2 -2
- package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
- package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
- package/src/resources/generated_queries/Holders.graphql +78 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +7 -1
- package/src/resources/generated_queries/LiquidityMetadataByToken.graphql +19 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +2 -2
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +4 -4
- package/src/resources/generated_queries/PairMetadata.graphql +2 -2
- package/src/resources/generated_queries/PrimeHolders.graphql +78 -0
- package/src/resources/generated_queries/Token.graphql +1 -1
- package/src/resources/generated_queries/Tokens.graphql +1 -1
- package/src/resources/generated_queries/WalletChart.graphql +19 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +78 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +3 -0
- package/{dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql → src/resources/generated_subscriptions/OnEventsCreatedByMaker.graphql} +4 -3
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +78 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +1 -1
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +2 -2
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
- package/{dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql → src/resources/generated_subscriptions/OnUnconfirmedEventsCreatedByMaker.graphql} +4 -13
- package/src/resources/graphql.schema.json +13537 -5050
- package/src/resources/graphql.ts +1406 -16
- package/src/resources/schema.graphql +1942 -85
- package/src/sdk/Mutation.ts +2 -2
- package/src/sdk/Query.ts +122 -105
- package/src/sdk/Subscribe.ts +164 -134
- package/src/sdk/generated/gql.ts +78 -48
- package/src/sdk/generated/graphql.ts +1512 -73
- package/src/sdk/index.test.ts +3 -3
- package/src/sdk/index.ts +69 -18
- package/dist/resources/generated_mutations/CreateApiTokens.graphql +0 -9
- package/dist/resources/generated_mutations/CreateWebhooks.graphql +0 -472
- package/dist/resources/generated_mutations/DeleteApiToken.graphql +0 -3
- package/dist/resources/generated_mutations/DeleteWebhooks.graphql +0 -5
- package/dist/resources/generated_queries/ApiToken.graphql +0 -9
- package/dist/resources/generated_queries/ApiTokens.graphql +0 -9
- package/dist/resources/generated_queries/Balances.graphql +0 -15
- package/dist/resources/generated_queries/ChartUrls.graphql +0 -7
- package/dist/resources/generated_queries/FilterExchanges.graphql +0 -43
- package/dist/resources/generated_queries/FilterNftCollections.graphql +0 -569
- package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +0 -60
- package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +0 -71
- package/dist/resources/generated_queries/FilterNftPools.graphql +0 -124
- package/dist/resources/generated_queries/FilterPairs.graphql +0 -419
- package/dist/resources/generated_queries/FilterTokens.graphql +0 -356
- package/dist/resources/generated_queries/GetBars.graphql +0 -212
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +0 -135
- package/dist/resources/generated_queries/GetDetailedNftStats.graphql +0 -831
- package/dist/resources/generated_queries/GetDetailedPairStats.graphql +0 -970
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +0 -954
- package/dist/resources/generated_queries/GetEventLabels.graphql +0 -35
- package/dist/resources/generated_queries/GetExchanges.graphql +0 -12
- package/dist/resources/generated_queries/GetNetworkStats.graphql +0 -20
- package/dist/resources/generated_queries/GetNetworkStatus.graphql +0 -8
- package/dist/resources/generated_queries/GetNetworks.graphql +0 -7
- package/dist/resources/generated_queries/GetNftAssets.graphql +0 -59
- package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +0 -75
- package/dist/resources/generated_queries/GetNftContracts.graphql +0 -39
- package/dist/resources/generated_queries/GetNftEvents.graphql +0 -100
- package/dist/resources/generated_queries/GetNftPool.graphql +0 -74
- package/dist/resources/generated_queries/GetNftPoolCollection.graphql +0 -33
- package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -38
- package/dist/resources/generated_queries/GetNftPoolEvents.graphql +0 -416
- package/dist/resources/generated_queries/GetNftPoolStats.graphql +0 -40
- package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -89
- package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -89
- package/dist/resources/generated_queries/GetParallelCardChanges.graphql +0 -57
- package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +0 -32
- package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +0 -156
- package/dist/resources/generated_queries/GetPrimePools.graphql +0 -62
- package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
- package/dist/resources/generated_queries/GetSymbol.graphql +0 -11
- package/dist/resources/generated_queries/GetTokenEvents.graphql +0 -101
- package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +0 -101
- package/dist/resources/generated_queries/GetTokenPrices.graphql +0 -10
- package/dist/resources/generated_queries/GetWebhooks.graphql +0 -134
- package/dist/resources/generated_queries/Holders.graphql +0 -18
- package/dist/resources/generated_queries/LiquidityLocks.graphql +0 -26
- package/dist/resources/generated_queries/LiquidityMetadata.graphql +0 -17
- package/dist/resources/generated_queries/ListPairsForToken.graphql +0 -173
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -346
- package/dist/resources/generated_queries/ListTopTokens.graphql +0 -55
- package/dist/resources/generated_queries/NftHolders.graphql +0 -12
- package/dist/resources/generated_queries/PairMetadata.graphql +0 -229
- package/dist/resources/generated_queries/PrimeHolders.graphql +0 -16
- package/dist/resources/generated_queries/SearchNfts.graphql +0 -35
- package/dist/resources/generated_queries/Token.graphql +0 -78
- package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +0 -34
- package/dist/resources/generated_queries/TokenSparklines.graphql +0 -10
- package/dist/resources/generated_queries/TokenTopTraders.graphql +0 -26
- package/dist/resources/generated_queries/Tokens.graphql +0 -78
- package/dist/resources/generated_queries/Top10HoldersPercent.graphql +0 -3
- package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +0 -11
- package/dist/resources/generated_queries/WalletNftCollections.graphql +0 -10
- package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -12
- package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +0 -555
- package/dist/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -332
- package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +0 -22
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +0 -104
- package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -18
- package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +0 -42
- package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +0 -37
- package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +0 -91
- package/dist/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +0 -91
- package/dist/resources/generated_subscriptions/OnNftAssetsCreated.graphql +0 -42
- package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -82
- package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -412
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -229
- package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +0 -18
- package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +0 -10
- package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
- package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -556
- package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +0 -30
- package/dist/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +0 -70
- package/dist/resources/graphql.schema.json +0 -56135
- package/dist/resources/graphql.ts +0 -9024
- package/dist/resources/mutations_override/CreateWebhooks.graphql +0 -472
- package/dist/resources/queries_override/GetEventLabels.graphql +0 -35
- package/dist/resources/queries_override/GetWebhooks.graphql +0 -134
- package/dist/resources/schema.graphql +0 -12013
- package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +0 -22
- package/dist/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +0 -91
- package/src/resources/generated_queries/ListTopTokens.graphql +0 -55
package/dist/sdk/Subscribe.js
CHANGED
|
@@ -13,24 +13,45 @@ exports.Subscribe = void 0;
|
|
|
13
13
|
class Subscribe {
|
|
14
14
|
constructor(sdk) {
|
|
15
15
|
this.sdk = sdk;
|
|
16
|
-
this.
|
|
17
|
-
return this.sdk.subscribe(`subscription
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
this.onLaunchpadTokenEvent = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
17
|
+
return this.sdk.subscribe(`subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
18
|
+
onLaunchpadTokenEvent (input: $input) {
|
|
19
|
+
address, buyCount1, eventType, holders, 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, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, 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
|
|
20
20
|
}
|
|
21
21
|
}`, vars, sink);
|
|
22
22
|
});
|
|
23
|
-
this.
|
|
24
|
-
return this.sdk.subscribe(`subscription
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
this.onNftEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
return this.sdk.subscribe(`subscription OnNftEventsCreated($address: String, $networkId: Int) {
|
|
25
|
+
onNftEventsCreated (address: $address, networkId: $networkId) {
|
|
26
|
+
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
|
|
27
27
|
}
|
|
28
28
|
}`, vars, sink);
|
|
29
29
|
});
|
|
30
|
-
this.
|
|
31
|
-
return this.sdk.subscribe(`subscription
|
|
32
|
-
|
|
33
|
-
events { blockHash, blockNumber, data { ... on
|
|
30
|
+
this.onUnconfirmedEventsCreatedByMaker = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
return this.sdk.subscribe(`subscription OnUnconfirmedEventsCreatedByMaker($input: OnUnconfirmedEventsCreatedByMakerInput!) {
|
|
32
|
+
onUnconfirmedEventsCreatedByMaker (input: $input) {
|
|
33
|
+
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
|
|
34
|
+
}
|
|
35
|
+
}`, vars, sink);
|
|
36
|
+
});
|
|
37
|
+
this.onNftAssetsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
return this.sdk.subscribe(`subscription OnNftAssetsCreated($address: String, $networkId: Int, $tokenId: String) {
|
|
39
|
+
onNftAssetsCreated (address: $address, networkId: $networkId, tokenId: $tokenId) {
|
|
40
|
+
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
|
|
41
|
+
}
|
|
42
|
+
}`, vars, sink);
|
|
43
|
+
});
|
|
44
|
+
this.onSimulateTokenContract = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
45
|
+
return this.sdk.subscribe(`subscription OnSimulateTokenContract($contractAddress: String, $networkId: Int!, $simulationId: String) {
|
|
46
|
+
onSimulateTokenContract (contractAddress: $contractAddress, networkId: $networkId, simulationId: $simulationId) {
|
|
47
|
+
analysisType, blockNumber, contractBalance { tokenContractEthBalance, tokenContractTokenBalance }, contractHashKey, creator { creatorAddress, creatorEthBalance, creatorTokenBalance }, deploy { deploySuccess, tokenMintedToDeployer }, errors { contractBalanceErrors { tokenContractEthBalanceError, tokenContractTokenBalanceError }, creatorErrors { creatorEthBalanceError, creatorTokenBalanceError }, deployErrors { deployError, tokenMintedToDeployerError }, liquidityErrors { addLiquidityError, lpTotalSupplyError, postLiquidityEnableTradingError, preLiquidityEnableTradingError }, ownerErrors { ownerAddressError, ownerEthBalanceError, ownerTokenBalanceError }, simulatorError, swapErrors { buyError, buyErrorEnum, sellError, sellErrorEnum }, tokenErrors { canRenounceOwnershipError, canTransferOwnershipError, decimalsError, tokenNameError, tokenSymbolError, totalSupplyError }, transferErrors { tokenContractApprovalError, tokenTransferredToContractError, userApprovalError } }, id, liquidity { addLiquiditySuccess, liquiditySetByPreLiquidityOpenTradingCall, lpTotalSupply, pairAddress, postLiquidityEnableTradingCall, postLiquidityEnableTradingSuccess, preLiquidityEnableTradingCall, preLiquidityEnableTradingSuccess, preLiquidityEnableTradingSupportsTransfer }, networkId, owner { ownerAddress, ownerEthBalance, ownerTokenBalance }, sortKey, status, swap { buyGasUsed, buySuccess, buyTax, maxBuyAmount, maxSellAmount, sellGasUsed, sellSuccess, sellTax }, timestamp, token { canRenounceOwnership, canTransferOwnership, contractAddress, decimals, isOwnerRenounced, tokenName, tokenSymbol, totalSupply }, transfer { tokenContractApprovalSuccess, tokenTransferredToContractSuccess, userApprovalSuccess }, uuid, uuidHashKey
|
|
48
|
+
}
|
|
49
|
+
}`, vars, sink);
|
|
50
|
+
});
|
|
51
|
+
this.onBarsUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
return this.sdk.subscribe(`subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken, $statsType: TokenPairStatisticsType) {
|
|
53
|
+
onBarsUpdated (pairId: $pairId, quoteToken: $quoteToken, statsType: $statsType) {
|
|
54
|
+
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
|
|
34
55
|
}
|
|
35
56
|
}`, vars, sink);
|
|
36
57
|
});
|
|
@@ -59,10 +80,10 @@ class Subscribe {
|
|
|
59
80
|
}
|
|
60
81
|
`, vars, sink);
|
|
61
82
|
});
|
|
62
|
-
this.
|
|
63
|
-
return this.sdk.subscribe(`subscription
|
|
64
|
-
|
|
65
|
-
|
|
83
|
+
this.onNftPoolEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
84
|
+
return this.sdk.subscribe(`subscription OnNftPoolEventsCreated($collectionAddress: String, $exchangeAddress: String, $networkId: Int, $poolAddress: String) {
|
|
85
|
+
onNftPoolEventsCreated (collectionAddress: $collectionAddress, exchangeAddress: $exchangeAddress, networkId: $networkId, poolAddress: $poolAddress) {
|
|
86
|
+
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
|
|
66
87
|
}
|
|
67
88
|
}`, vars, sink);
|
|
68
89
|
});
|
|
@@ -73,10 +94,45 @@ class Subscribe {
|
|
|
73
94
|
}
|
|
74
95
|
}`, vars, sink);
|
|
75
96
|
});
|
|
76
|
-
this.
|
|
77
|
-
return this.sdk.subscribe(`subscription
|
|
78
|
-
|
|
79
|
-
address,
|
|
97
|
+
this.onUnconfirmedEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
98
|
+
return this.sdk.subscribe(`subscription OnUnconfirmedEventsCreated($address: String, $id: String, $quoteToken: QuoteToken) {
|
|
99
|
+
onUnconfirmedEventsCreated (address: $address, id: $id, quoteToken: $quoteToken) {
|
|
100
|
+
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
|
|
101
|
+
}
|
|
102
|
+
}`, vars, sink);
|
|
103
|
+
});
|
|
104
|
+
this.onLatestPairUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
105
|
+
return this.sdk.subscribe(`subscription OnLatestPairUpdated($id: String, $networkId: Int) {
|
|
106
|
+
onLatestPairUpdated (id: $id, networkId: $networkId) {
|
|
107
|
+
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
|
|
108
|
+
}
|
|
109
|
+
}`, vars, sink);
|
|
110
|
+
});
|
|
111
|
+
this.onTokenBarsUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
return this.sdk.subscribe(`subscription OnTokenBarsUpdated($networkId: Int, $statsType: TokenPairStatisticsType, $tokenId: String) {
|
|
113
|
+
onTokenBarsUpdated (networkId: $networkId, statsType: $statsType, tokenId: $tokenId) {
|
|
114
|
+
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
|
|
115
|
+
}
|
|
116
|
+
}`, vars, sink);
|
|
117
|
+
});
|
|
118
|
+
this.onPairMetadataUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
119
|
+
return this.sdk.subscribe(`subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken, $statsType: TokenPairStatisticsType) {
|
|
120
|
+
onPairMetadataUpdated (id: $id, quoteToken: $quoteToken, statsType: $statsType) {
|
|
121
|
+
createdAt, enhancedToken0 { 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, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, 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 }, enhancedToken1 { 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, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, 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 }, exchangeId, fee, highPrice1, highPrice1w, highPrice4, highPrice5m, highPrice12, highPrice24, id, liquidity, liquidityToken, lowPrice1, lowPrice1w, lowPrice4, lowPrice5m, lowPrice12, lowPrice24, networkId, nonLiquidityToken, pairAddress, price, priceChange1, priceChange1w, priceChange4, priceChange5m, priceChange12, priceChange24, quoteToken, statsType, tickSpacing, token0 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, token1 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, volume1, volume1w, volume4, volume5m, volume12, volume24
|
|
122
|
+
}
|
|
123
|
+
}`, vars, sink);
|
|
124
|
+
});
|
|
125
|
+
this.onEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
return this.sdk.subscribe(`subscription OnEventsCreated($address: String, $id: String, $maker: String, $networkId: Int, $quoteToken: QuoteToken) {
|
|
127
|
+
onEventsCreated (address: $address, id: $id, maker: $maker, networkId: $networkId, quoteToken: $quoteToken) {
|
|
128
|
+
address, 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, networkId, quoteToken
|
|
129
|
+
}
|
|
130
|
+
}`, vars, sink);
|
|
131
|
+
});
|
|
132
|
+
this.onEventsCreatedByMaker = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
133
|
+
return this.sdk.subscribe(`subscription OnEventsCreatedByMaker($input: OnEventsCreatedByMakerInput!) {
|
|
134
|
+
onEventsCreatedByMaker (input: $input) {
|
|
135
|
+
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
|
|
80
136
|
}
|
|
81
137
|
}`, vars, sink);
|
|
82
138
|
});
|
|
@@ -94,10 +150,10 @@ class Subscribe {
|
|
|
94
150
|
}
|
|
95
151
|
}`, vars, sink);
|
|
96
152
|
});
|
|
97
|
-
this.
|
|
98
|
-
return this.sdk.subscribe(`subscription
|
|
99
|
-
|
|
100
|
-
|
|
153
|
+
this.onPriceUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
154
|
+
return this.sdk.subscribe(`subscription OnPriceUpdated($address: String, $networkId: Int, $sourcePairAddress: String) {
|
|
155
|
+
onPriceUpdated (address: $address, networkId: $networkId, sourcePairAddress: $sourcePairAddress) {
|
|
156
|
+
address, confidence, networkId, poolAddress, priceUsd, timestamp
|
|
101
157
|
}
|
|
102
158
|
}`, vars, sink);
|
|
103
159
|
});
|
|
@@ -195,80 +251,38 @@ class Subscribe {
|
|
|
195
251
|
}
|
|
196
252
|
`, vars, sink);
|
|
197
253
|
});
|
|
198
|
-
this.
|
|
199
|
-
return this.sdk.subscribe(`subscription
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
}
|
|
203
|
-
}`, vars, sink);
|
|
204
|
-
});
|
|
205
|
-
this.onLatestPairUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
206
|
-
return this.sdk.subscribe(`subscription OnLatestPairUpdated($id: String, $networkId: Int) {
|
|
207
|
-
onLatestPairUpdated (id: $id, networkId: $networkId) {
|
|
208
|
-
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
|
|
209
|
-
}
|
|
210
|
-
}`, vars, sink);
|
|
211
|
-
});
|
|
212
|
-
this.onEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
213
|
-
return this.sdk.subscribe(`subscription OnEventsCreated($address: String, $id: String, $networkId: Int, $quoteToken: QuoteToken) {
|
|
214
|
-
onEventsCreated (address: $address, id: $id, networkId: $networkId, quoteToken: $quoteToken) {
|
|
215
|
-
address, 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 }, id, networkId, quoteToken
|
|
216
|
-
}
|
|
217
|
-
}`, vars, sink);
|
|
218
|
-
});
|
|
219
|
-
this.onNftEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
220
|
-
return this.sdk.subscribe(`subscription OnNftEventsCreated($address: String, $networkId: Int) {
|
|
221
|
-
onNftEventsCreated (address: $address, networkId: $networkId) {
|
|
222
|
-
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
|
|
223
|
-
}
|
|
224
|
-
}`, vars, sink);
|
|
225
|
-
});
|
|
226
|
-
this.onUnconfirmedEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
227
|
-
return this.sdk.subscribe(`subscription OnUnconfirmedEventsCreated($address: String, $id: String, $quoteToken: QuoteToken) {
|
|
228
|
-
onUnconfirmedEventsCreated (address: $address, id: $id, quoteToken: $quoteToken) {
|
|
229
|
-
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
|
|
230
|
-
}
|
|
231
|
-
}`, vars, sink);
|
|
232
|
-
});
|
|
233
|
-
this.onPriceUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
234
|
-
return this.sdk.subscribe(`subscription OnPriceUpdated($address: String, $networkId: Int, $sourcePairAddress: String) {
|
|
235
|
-
onPriceUpdated (address: $address, networkId: $networkId, sourcePairAddress: $sourcePairAddress) {
|
|
236
|
-
address, confidence, networkId, poolAddress, priceUsd, timestamp
|
|
237
|
-
}
|
|
238
|
-
}`, vars, sink);
|
|
239
|
-
});
|
|
240
|
-
this.onNftPoolEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
241
|
-
return this.sdk.subscribe(`subscription OnNftPoolEventsCreated($collectionAddress: String, $exchangeAddress: String, $networkId: Int, $poolAddress: String) {
|
|
242
|
-
onNftPoolEventsCreated (collectionAddress: $collectionAddress, exchangeAddress: $exchangeAddress, networkId: $networkId, poolAddress: $poolAddress) {
|
|
243
|
-
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
|
|
254
|
+
this.onTokenLifecycleEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
255
|
+
return this.sdk.subscribe(`subscription OnTokenLifecycleEventsCreated($address: String, $networkId: Int) {
|
|
256
|
+
onTokenLifecycleEventsCreated (address: $address, networkId: $networkId) {
|
|
257
|
+
events { blockHash, blockNumber, data { ... on TokenBurnEventData { amount, circulatingSupply, totalSupply }, ... on TokenMintEventData { amount, circulatingSupply, totalSupply } }, eventType, id, logIndex, maker, networkId, timestamp, tokenAddress, transactionHash, transactionIndex }, id
|
|
244
258
|
}
|
|
245
259
|
}`, vars, sink);
|
|
246
260
|
});
|
|
247
261
|
this.onHoldersUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
248
262
|
return this.sdk.subscribe(`subscription OnHoldersUpdated($tokenId: String!) {
|
|
249
263
|
onHoldersUpdated (tokenId: $tokenId) {
|
|
250
|
-
balances { address, balance, firstHeldTimestamp, networkId, shiftedBalance, tokenAddress, tokenId, walletId }, holders, networkId, tokenAddress, tokenId
|
|
264
|
+
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, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, 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
|
|
251
265
|
}
|
|
252
266
|
}`, vars, sink);
|
|
253
267
|
});
|
|
254
|
-
this.
|
|
255
|
-
return this.sdk.subscribe(`subscription
|
|
256
|
-
|
|
257
|
-
|
|
268
|
+
this.onLatestTokens = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
269
|
+
return this.sdk.subscribe(`subscription OnLatestTokens($id: String, $networkId: Int, $tokenAddress: String) {
|
|
270
|
+
onLatestTokens (id: $id, networkId: $networkId, tokenAddress: $tokenAddress) {
|
|
271
|
+
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
|
|
258
272
|
}
|
|
259
273
|
}`, vars, sink);
|
|
260
274
|
});
|
|
261
275
|
this.onTokenEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
262
276
|
return this.sdk.subscribe(`subscription OnTokenEventsCreated($input: OnTokenEventsCreatedInput!) {
|
|
263
277
|
onTokenEventsCreated (input: $input) {
|
|
264
|
-
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 }, id
|
|
278
|
+
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
|
|
265
279
|
}
|
|
266
280
|
}`, vars, sink);
|
|
267
281
|
});
|
|
268
|
-
this.
|
|
269
|
-
return this.sdk.subscribe(`subscription
|
|
270
|
-
|
|
271
|
-
|
|
282
|
+
this.onBalanceUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
|
|
283
|
+
return this.sdk.subscribe(`subscription OnBalanceUpdated($walletAddress: String!) {
|
|
284
|
+
onBalanceUpdated (walletAddress: $walletAddress) {
|
|
285
|
+
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, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, 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
|
|
272
286
|
}
|
|
273
287
|
}`, vars, sink);
|
|
274
288
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subscribe.js","sourceRoot":"","sources":["../../src/sdk/Subscribe.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Subscribe.js","sourceRoot":"","sources":["../../src/sdk/Subscribe.ts"],"names":[],"mappings":"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"}
|