@codex-data/sdk 1.0.8 → 1.0.10

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.
Files changed (55) hide show
  1. package/dist/resources/graphql.d.ts +177 -6
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +10 -2
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Mutation.d.ts +2 -2
  6. package/dist/sdk/Mutation.d.ts.map +1 -1
  7. package/dist/sdk/Mutation.js +2 -2
  8. package/dist/sdk/Mutation.js.map +1 -1
  9. package/dist/sdk/Query.d.ts +52 -52
  10. package/dist/sdk/Query.d.ts.map +1 -1
  11. package/dist/sdk/Query.js +51 -51
  12. package/dist/sdk/Query.js.map +1 -1
  13. package/dist/sdk/Subscribe.d.ts +19 -17
  14. package/dist/sdk/Subscribe.d.ts.map +1 -1
  15. package/dist/sdk/Subscribe.js +133 -119
  16. package/dist/sdk/Subscribe.js.map +1 -1
  17. package/dist/sdk/generated/gql.d.ts +44 -29
  18. package/dist/sdk/generated/gql.d.ts.map +1 -1
  19. package/dist/sdk/generated/gql.js +13 -11
  20. package/dist/sdk/generated/gql.js.map +1 -1
  21. package/dist/sdk/generated/graphql.d.ts +792 -72
  22. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  23. package/dist/sdk/generated/graphql.js +25 -15
  24. package/dist/sdk/generated/graphql.js.map +1 -1
  25. package/dist/sdk/index.d.ts +45 -0
  26. package/dist/sdk/index.d.ts.map +1 -1
  27. package/dist/sdk/index.js +83 -5
  28. package/dist/sdk/index.js.map +1 -1
  29. package/dist/sdk/index.test.js +232 -7
  30. package/dist/sdk/index.test.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/resources/generated_queries/Balances.graphql +78 -0
  33. package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
  34. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
  35. package/src/resources/generated_queries/Holders.graphql +78 -0
  36. package/src/resources/generated_queries/LiquidityLocks.graphql +7 -1
  37. package/src/resources/generated_queries/LiquidityMetadataByToken.graphql +19 -0
  38. package/src/resources/generated_queries/PrimeHolders.graphql +78 -0
  39. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +78 -0
  40. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +3 -0
  41. package/src/resources/generated_subscriptions/OnEventsCreatedByMaker.graphql +92 -0
  42. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +78 -0
  43. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
  44. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreatedByMaker.graphql +41 -0
  45. package/src/resources/graphql.schema.json +1219 -129
  46. package/src/resources/graphql.ts +195 -6
  47. package/src/resources/schema.graphql +250 -6
  48. package/src/sdk/Mutation.ts +4 -4
  49. package/src/sdk/Query.ts +109 -108
  50. package/src/sdk/Subscribe.ts +225 -195
  51. package/src/sdk/generated/gql.ts +34 -24
  52. package/src/sdk/generated/graphql.ts +245 -39
  53. package/src/sdk/index.test.ts +361 -10
  54. package/src/sdk/index.ts +89 -6
  55. package/src/resources/generated_queries/ListTopTokens.graphql +0 -55
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../src/sdk/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gEAAgE;AAChE,iDAiI6B;AAG7B,MAAa,KAAK;IAChB,YAAoB,GAAU;QAAV,QAAG,GAAH,GAAG,CAAO;QAC9B,2BAAsB,GAAG,CAAO,IAA0C,EAAE,EAAE,gDAC5E,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,wCAA8B,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QACvD,wBAAmB,GAAG,CAAO,IAAuC,EAAE,EAAE,gDACtE,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,qCAA2B,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QACpD,iB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AC;QACzC,qBAAgB,GAAG,CAAO,IAAoC,EAAE,EAAE,gDAChE,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,kCAAwB,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QACjD,mBAAc,GAAG,CAAO,IAAkC,EAAE,EAAE,gDAC5D,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,gCAAsB,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QAC/C,oBAAe,GAAG,CAAO,IAAmC,EAAE,EAAE,gDAC9D,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,iCAAuB,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;QAChD,yBAAoB,GAAG,CAAO,IAAwC,EAAE,EAAE,gDACxE,OAAA,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,sCAA4B,EAAE,IAAI,CAAC,CAAA,GAAA,CAAC;IAzIpB,CAAC;CA0InC;AA3ID,sBA2IC"}
@@ -1,30 +1,32 @@
1
1
  import { ExecutionResult, Sink } from "graphql-ws";
2
- import { OnBalanceUpdatedSubscription, OnBalanceUpdatedSubscriptionVariables, OnBarsUpdatedSubscription, OnBarsUpdatedSubscriptionVariables, OnDetailedStatsUpdatedSubscription, OnDetailedStatsUpdatedSubscriptionVariables, OnEventLabelCreatedSubscription, OnEventLabelCreatedSubscriptionVariables, OnEventsCreatedSubscription, OnEventsCreatedSubscriptionVariables, OnHoldersUpdatedSubscription, OnHoldersUpdatedSubscriptionVariables, OnLatestPairUpdatedSubscription, OnLatestPairUpdatedSubscriptionVariables, OnLatestTokensSubscription, OnLatestTokensSubscriptionVariables, OnLaunchpadTokenEventBatchSubscription, OnLaunchpadTokenEventBatchSubscriptionVariables, OnLaunchpadTokenEventSubscription, OnLaunchpadTokenEventSubscriptionVariables, OnNftAssetsCreatedSubscription, OnNftAssetsCreatedSubscriptionVariables, OnNftEventsCreatedSubscription, OnNftEventsCreatedSubscriptionVariables, OnNftPoolEventsCreatedSubscription, OnNftPoolEventsCreatedSubscriptionVariables, OnPairMetadataUpdatedSubscription, OnPairMetadataUpdatedSubscriptionVariables, OnPricesUpdatedSubscription, OnPricesUpdatedSubscriptionVariables, OnPriceUpdatedSubscription, OnPriceUpdatedSubscriptionVariables, OnSimulateTokenContractSubscription, OnSimulateTokenContractSubscriptionVariables, OnTokenBarsUpdatedSubscription, OnTokenBarsUpdatedSubscriptionVariables, OnTokenEventsCreatedSubscription, OnTokenEventsCreatedSubscriptionVariables, OnTokenLifecycleEventsCreatedSubscription, OnTokenLifecycleEventsCreatedSubscriptionVariables, OnUnconfirmedBarsUpdatedSubscription, OnUnconfirmedBarsUpdatedSubscriptionVariables, OnUnconfirmedEventsCreatedSubscription, OnUnconfirmedEventsCreatedSubscriptionVariables } from "./generated/graphql";
2
+ import { OnBalanceUpdatedSubscription, OnBalanceUpdatedSubscriptionVariables, OnBarsUpdatedSubscription, OnBarsUpdatedSubscriptionVariables, OnDetailedStatsUpdatedSubscription, OnDetailedStatsUpdatedSubscriptionVariables, OnEventLabelCreatedSubscription, OnEventLabelCreatedSubscriptionVariables, OnEventsCreatedByMakerSubscription, OnEventsCreatedByMakerSubscriptionVariables, OnEventsCreatedSubscription, OnEventsCreatedSubscriptionVariables, OnHoldersUpdatedSubscription, OnHoldersUpdatedSubscriptionVariables, OnLatestPairUpdatedSubscription, OnLatestPairUpdatedSubscriptionVariables, OnLatestTokensSubscription, OnLatestTokensSubscriptionVariables, OnLaunchpadTokenEventBatchSubscription, OnLaunchpadTokenEventBatchSubscriptionVariables, OnLaunchpadTokenEventSubscription, OnLaunchpadTokenEventSubscriptionVariables, OnNftAssetsCreatedSubscription, OnNftAssetsCreatedSubscriptionVariables, OnNftEventsCreatedSubscription, OnNftEventsCreatedSubscriptionVariables, OnNftPoolEventsCreatedSubscription, OnNftPoolEventsCreatedSubscriptionVariables, OnPairMetadataUpdatedSubscription, OnPairMetadataUpdatedSubscriptionVariables, OnPricesUpdatedSubscription, OnPricesUpdatedSubscriptionVariables, OnPriceUpdatedSubscription, OnPriceUpdatedSubscriptionVariables, OnSimulateTokenContractSubscription, OnSimulateTokenContractSubscriptionVariables, OnTokenBarsUpdatedSubscription, OnTokenBarsUpdatedSubscriptionVariables, OnTokenEventsCreatedSubscription, OnTokenEventsCreatedSubscriptionVariables, OnTokenLifecycleEventsCreatedSubscription, OnTokenLifecycleEventsCreatedSubscriptionVariables, OnUnconfirmedBarsUpdatedSubscription, OnUnconfirmedBarsUpdatedSubscriptionVariables, OnUnconfirmedEventsCreatedByMakerSubscription, OnUnconfirmedEventsCreatedByMakerSubscriptionVariables, OnUnconfirmedEventsCreatedSubscription, OnUnconfirmedEventsCreatedSubscriptionVariables } from "./generated/graphql";
3
3
  import { Codex } from "./index";
4
4
  export declare class Subscribe {
5
5
  private sdk;
6
6
  constructor(sdk: Codex);
7
- onLaunchpadTokenEvent: (vars: OnLaunchpadTokenEventSubscriptionVariables, sink: Sink<ExecutionResult<OnLaunchpadTokenEventSubscription>>) => Promise<import("./index").CleanupFunction>;
8
- onNftEventsCreated: (vars: OnNftEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnNftEventsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
7
+ onPriceUpdated: (vars: OnPriceUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPriceUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
9
8
  onNftAssetsCreated: (vars: OnNftAssetsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnNftAssetsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
10
- onSimulateTokenContract: (vars: OnSimulateTokenContractSubscriptionVariables, sink: Sink<ExecutionResult<OnSimulateTokenContractSubscription>>) => Promise<import("./index").CleanupFunction>;
11
- onBarsUpdated: (vars: OnBarsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnBarsUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
12
- onEventLabelCreated: (vars: OnEventLabelCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnEventLabelCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
13
- onNftPoolEventsCreated: (vars: OnNftPoolEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnNftPoolEventsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
14
- onDetailedStatsUpdated: (vars: OnDetailedStatsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnDetailedStatsUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
15
- onUnconfirmedEventsCreated: (vars: OnUnconfirmedEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnUnconfirmedEventsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
16
- onLatestPairUpdated: (vars: OnLatestPairUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnLatestPairUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
9
+ onBalanceUpdated: (vars: OnBalanceUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnBalanceUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
17
10
  onTokenBarsUpdated: (vars: OnTokenBarsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnTokenBarsUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
18
- onPairMetadataUpdated: (vars: OnPairMetadataUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPairMetadataUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
19
11
  onEventsCreated: (vars: OnEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnEventsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
20
- onUnconfirmedBarsUpdated: (vars: OnUnconfirmedBarsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnUnconfirmedBarsUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
21
- onPricesUpdated: (vars: OnPricesUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPricesUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
22
- onPriceUpdated: (vars: OnPriceUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPriceUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
23
12
  onLaunchpadTokenEventBatch: (vars: OnLaunchpadTokenEventBatchSubscriptionVariables, sink: Sink<ExecutionResult<OnLaunchpadTokenEventBatchSubscription>>) => Promise<import("./index").CleanupFunction>;
24
- onTokenLifecycleEventsCreated: (vars: OnTokenLifecycleEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnTokenLifecycleEventsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
25
- onHoldersUpdated: (vars: OnHoldersUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnHoldersUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
13
+ onUnconfirmedBarsUpdated: (vars: OnUnconfirmedBarsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnUnconfirmedBarsUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
14
+ onNftPoolEventsCreated: (vars: OnNftPoolEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnNftPoolEventsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
15
+ onLaunchpadTokenEvent: (vars: OnLaunchpadTokenEventSubscriptionVariables, sink: Sink<ExecutionResult<OnLaunchpadTokenEventSubscription>>) => Promise<import("./index").CleanupFunction>;
26
16
  onLatestTokens: (vars: OnLatestTokensSubscriptionVariables, sink: Sink<ExecutionResult<OnLatestTokensSubscription>>) => Promise<import("./index").CleanupFunction>;
17
+ onLatestPairUpdated: (vars: OnLatestPairUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnLatestPairUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
18
+ onPairMetadataUpdated: (vars: OnPairMetadataUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPairMetadataUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
19
+ onEventsCreatedByMaker: (vars: OnEventsCreatedByMakerSubscriptionVariables, sink: Sink<ExecutionResult<OnEventsCreatedByMakerSubscription>>) => Promise<import("./index").CleanupFunction>;
27
20
  onTokenEventsCreated: (vars: OnTokenEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnTokenEventsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
28
- onBalanceUpdated: (vars: OnBalanceUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnBalanceUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
21
+ onUnconfirmedEventsCreatedByMaker: (vars: OnUnconfirmedEventsCreatedByMakerSubscriptionVariables, sink: Sink<ExecutionResult<OnUnconfirmedEventsCreatedByMakerSubscription>>) => Promise<import("./index").CleanupFunction>;
22
+ onNftEventsCreated: (vars: OnNftEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnNftEventsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
23
+ onSimulateTokenContract: (vars: OnSimulateTokenContractSubscriptionVariables, sink: Sink<ExecutionResult<OnSimulateTokenContractSubscription>>) => Promise<import("./index").CleanupFunction>;
24
+ onTokenLifecycleEventsCreated: (vars: OnTokenLifecycleEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnTokenLifecycleEventsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
25
+ onPricesUpdated: (vars: OnPricesUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPricesUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
26
+ onHoldersUpdated: (vars: OnHoldersUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnHoldersUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
27
+ onEventLabelCreated: (vars: OnEventLabelCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnEventLabelCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
28
+ onUnconfirmedEventsCreated: (vars: OnUnconfirmedEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnUnconfirmedEventsCreatedSubscription>>) => Promise<import("./index").CleanupFunction>;
29
+ onBarsUpdated: (vars: OnBarsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnBarsUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
30
+ onDetailedStatsUpdated: (vars: OnDetailedStatsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnDetailedStatsUpdatedSubscription>>) => Promise<import("./index").CleanupFunction>;
29
31
  }
30
32
  //# sourceMappingURL=Subscribe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Subscribe.d.ts","sourceRoot":"","sources":["../../src/sdk/Subscribe.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,EACL,4BAA4B,EAC5B,qCAAqC,EACrC,yBAAyB,EACzB,kCAAkC,EAClC,kCAAkC,EAClC,2CAA2C,EAC3C,+BAA+B,EAC/B,wCAAwC,EACxC,2BAA2B,EAC3B,oCAAoC,EACpC,4BAA4B,EAC5B,qCAAqC,EACrC,+BAA+B,EAC/B,wCAAwC,EACxC,0BAA0B,EAC1B,mCAAmC,EACnC,sCAAsC,EACtC,+CAA+C,EAC/C,iCAAiC,EACjC,0CAA0C,EAC1C,8BAA8B,EAC9B,uCAAuC,EACvC,8BAA8B,EAC9B,uCAAuC,EACvC,kCAAkC,EAClC,2CAA2C,EAC3C,iCAAiC,EACjC,0CAA0C,EAC1C,2BAA2B,EAC3B,oCAAoC,EACpC,0BAA0B,EAC1B,mCAAmC,EACnC,mCAAmC,EACnC,4CAA4C,EAC5C,8BAA8B,EAC9B,uCAAuC,EACvC,gCAAgC,EAChC,yCAAyC,EACzC,yCAAyC,EACzC,kDAAkD,EAClD,oCAAoC,EACpC,6CAA6C,EAC7C,sCAAsC,EACtC,+CAA+C,EAChD,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,qBAAa,SAAS;IACR,OAAO,CAAC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SACd,2CAA2C,QAC3C,KAAK,gBAAgB,kCAAkC,CAAC,CAAC,gDAU7D;IACJ,oBAAoB,SACZ,yCAAyC,QACzC,KAAK,gBAAgB,gCAAgC,CAAC,CAAC,gDAU3D;IACJ,iCAAiC,SACzB,sDAAsD,QACtD,KAAK,gBAAgB,6CAA6C,CAAC,CAAC,gDAUxE;IACJ,kBAAkB,SACV,uCAAuC,QACvC,KAAK,gBAAgB,8BAA8B,CAAC,CAAC,gDAUzD;IACJ,uBAAuB,SACf,4CAA4C,QAC5C,KAAK,gBAAgB,mCAAmC,CAAC,CAAC,gDAU9D;IACJ,6BAA6B,SACrB,kDAAkD,QAClD,KAAK,gBAAgB,yCAAyC,CAAC,CAAC,gDAUpE;IACJ,eAAe,SACP,oCAAoC,QACpC,KAAK,gBAAgB,2BAA2B,CAAC,CAAC,gDAUtD;IACJ,gBAAgB,SACR,qCAAqC,QACrC,KAAK,gBAAgB,4BAA4B,CAAC,CAAC,gDAUvD;IACJ,mBAAmB,SACX,wCAAwC,QACxC,KAAK,gBAAgB,+BAA+B,CAAC,CAAC,gDA4B1D;IACJ,0BAA0B,SAClB,+CAA+C,QAC/C,KAAK,gBAAgB,sCAAsC,CAAC,CAAC,gDAUjE;IACJ,aAAa,SACL,kCAAkC,QAClC,KAAK,gBAAgB,yBAAyB,CAAC,CAAC,gDAUpD;IACJ,sBAAsB,SACd,2CAA2C,QAC3C,KAAK,gBAAgB,kCAAkC,CAAC,CAAC,gDAU7D;CACL"}
@@ -13,17 +13,10 @@ exports.Subscribe = void 0;
13
13
  class Subscribe {
14
14
  constructor(sdk) {
15
15
  this.sdk = sdk;
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
- }
21
- }`, vars, sink);
22
- });
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
16
+ this.onPriceUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
17
+ return this.sdk.subscribe(`subscription OnPriceUpdated($address: String, $networkId: Int, $sourcePairAddress: String) {
18
+ onPriceUpdated (address: $address, networkId: $networkId, sourcePairAddress: $sourcePairAddress) {
19
+ address, confidence, networkId, poolAddress, priceUsd, timestamp
27
20
  }
28
21
  }`, vars, sink);
29
22
  });
@@ -34,70 +27,10 @@ class Subscribe {
34
27
  }
35
28
  }`, vars, sink);
36
29
  });
37
- this.onSimulateTokenContract = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
38
- return this.sdk.subscribe(`subscription OnSimulateTokenContract($contractAddress: String, $networkId: Int!, $simulationId: String) {
39
- onSimulateTokenContract (contractAddress: $contractAddress, networkId: $networkId, simulationId: $simulationId) {
40
- 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
41
- }
42
- }`, vars, sink);
43
- });
44
- this.onBarsUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
45
- return this.sdk.subscribe(`subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken, $statsType: TokenPairStatisticsType) {
46
- onBarsUpdated (pairId: $pairId, quoteToken: $quoteToken, statsType: $statsType) {
47
- 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
48
- }
49
- }`, vars, sink);
50
- });
51
- this.onEventLabelCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
52
- return this.sdk.subscribe(`subscription OnEventLabelCreated($id: String) {
53
- onEventLabelCreated(id: $id) {
54
- data {
55
- ... on FrontRunLabelData {
56
- index
57
- token0DrainedAmount
58
- token1DrainedAmount
59
- }
60
- ... on SandwichedLabelData {
61
- token0DrainedAmountSandwich: token0DrainedAmount
62
- token1DrainedAmountSandwich: token1DrainedAmount
63
- }
64
- }
65
- id
66
- label
67
- logIndex
68
- networkId
69
- timestamp
70
- transactionHash
71
- transactionIndex
72
- }
73
- }
74
- `, vars, sink);
75
- });
76
- this.onNftPoolEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
77
- return this.sdk.subscribe(`subscription OnNftPoolEventsCreated($collectionAddress: String, $exchangeAddress: String, $networkId: Int, $poolAddress: String) {
78
- onNftPoolEventsCreated (collectionAddress: $collectionAddress, exchangeAddress: $exchangeAddress, networkId: $networkId, poolAddress: $poolAddress) {
79
- 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
80
- }
81
- }`, vars, sink);
82
- });
83
- this.onDetailedStatsUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
84
- return this.sdk.subscribe(`subscription OnDetailedStatsUpdated($pairId: String, $statsType: TokenPairStatisticsType, $tokenOfInterest: TokenOfInterest) {
85
- onDetailedStatsUpdated (pairId: $pairId, statsType: $statsType, tokenOfInterest: $tokenOfInterest) {
86
- bucketCount, pairId, queryTimestamp, statsType, stats_day1 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour1 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour4 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour12 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_min5 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, tokenOfInterest
87
- }
88
- }`, vars, sink);
89
- });
90
- this.onUnconfirmedEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
91
- return this.sdk.subscribe(`subscription OnUnconfirmedEventsCreated($address: String, $id: String, $quoteToken: QuoteToken) {
92
- onUnconfirmedEventsCreated (address: $address, id: $id, quoteToken: $quoteToken) {
93
- 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
94
- }
95
- }`, vars, sink);
96
- });
97
- this.onLatestPairUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
98
- return this.sdk.subscribe(`subscription OnLatestPairUpdated($id: String, $networkId: Int) {
99
- onLatestPairUpdated (id: $id, networkId: $networkId) {
100
- 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
30
+ this.onBalanceUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
31
+ return this.sdk.subscribe(`subscription OnBalanceUpdated($walletAddress: String!) {
32
+ onBalanceUpdated (walletAddress: $walletAddress) {
33
+ 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
101
34
  }
102
35
  }`, vars, sink);
103
36
  });
@@ -106,40 +39,12 @@ class Subscribe {
106
39
  onTokenBarsUpdated (networkId: $networkId, statsType: $statsType, tokenId: $tokenId) {
107
40
  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
108
41
  }
109
- }`, vars, sink);
110
- });
111
- this.onPairMetadataUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
112
- return this.sdk.subscribe(`subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken, $statsType: TokenPairStatisticsType) {
113
- onPairMetadataUpdated (id: $id, quoteToken: $quoteToken, statsType: $statsType) {
114
- 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
115
- }
116
42
  }`, vars, sink);
117
43
  });
118
44
  this.onEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
119
- return this.sdk.subscribe(`subscription OnEventsCreated($address: String, $id: String, $networkId: Int, $quoteToken: QuoteToken) {
120
- onEventsCreated (address: $address, id: $id, networkId: $networkId, quoteToken: $quoteToken) {
121
- 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
122
- }
123
- }`, vars, sink);
124
- });
125
- this.onUnconfirmedBarsUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
126
- return this.sdk.subscribe(`subscription OnUnconfirmedBarsUpdated($pairId: String, $quoteToken: QuoteToken) {
127
- onUnconfirmedBarsUpdated (pairId: $pairId, quoteToken: $quoteToken) {
128
- 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
129
- }
130
- }`, vars, sink);
131
- });
132
- this.onPricesUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
133
- return this.sdk.subscribe(`subscription OnPricesUpdated($input: [OnPricesUpdatedInput!]!) {
134
- onPricesUpdated (input: $input) {
135
- address, confidence, networkId, poolAddress, priceUsd, timestamp
136
- }
137
- }`, vars, sink);
138
- });
139
- this.onPriceUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
140
- return this.sdk.subscribe(`subscription OnPriceUpdated($address: String, $networkId: Int, $sourcePairAddress: String) {
141
- onPriceUpdated (address: $address, networkId: $networkId, sourcePairAddress: $sourcePairAddress) {
142
- address, confidence, networkId, poolAddress, priceUsd, timestamp
45
+ return this.sdk.subscribe(`subscription OnEventsCreated($address: String, $id: String, $maker: String, $networkId: Int, $quoteToken: QuoteToken) {
46
+ onEventsCreated (address: $address, id: $id, maker: $maker, networkId: $networkId, quoteToken: $quoteToken) {
47
+ 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
143
48
  }
144
49
  }`, vars, sink);
145
50
  });
@@ -237,17 +142,24 @@ class Subscribe {
237
142
  }
238
143
  `, vars, sink);
239
144
  });
240
- this.onTokenLifecycleEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
241
- return this.sdk.subscribe(`subscription OnTokenLifecycleEventsCreated($address: String, $networkId: Int) {
242
- onTokenLifecycleEventsCreated (address: $address, networkId: $networkId) {
243
- events { blockHash, blockNumber, data { ... on TokenBurnEventData { amount, circulatingSupply, totalSupply }, ... on TokenMintEventData { amount, circulatingSupply, totalSupply } }, eventType, id, logIndex, maker, networkId, timestamp, tokenAddress, transactionHash, transactionIndex }, id
145
+ this.onUnconfirmedBarsUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
146
+ return this.sdk.subscribe(`subscription OnUnconfirmedBarsUpdated($pairId: String, $quoteToken: QuoteToken) {
147
+ onUnconfirmedBarsUpdated (pairId: $pairId, quoteToken: $quoteToken) {
148
+ 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
244
149
  }
245
150
  }`, vars, sink);
246
151
  });
247
- this.onHoldersUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
248
- return this.sdk.subscribe(`subscription OnHoldersUpdated($tokenId: String!) {
249
- onHoldersUpdated (tokenId: $tokenId) {
250
- balances { address, balance, firstHeldTimestamp, networkId, shiftedBalance, tokenAddress, tokenId, walletId }, holders, networkId, tokenAddress, tokenId
152
+ this.onNftPoolEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
153
+ return this.sdk.subscribe(`subscription OnNftPoolEventsCreated($collectionAddress: String, $exchangeAddress: String, $networkId: Int, $poolAddress: String) {
154
+ onNftPoolEventsCreated (collectionAddress: $collectionAddress, exchangeAddress: $exchangeAddress, networkId: $networkId, poolAddress: $poolAddress) {
155
+ 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
156
+ }
157
+ }`, vars, sink);
158
+ });
159
+ this.onLaunchpadTokenEvent = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
160
+ return this.sdk.subscribe(`subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
161
+ onLaunchpadTokenEvent (input: $input) {
162
+ 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
251
163
  }
252
164
  }`, vars, sink);
253
165
  });
@@ -256,19 +168,121 @@ class Subscribe {
256
168
  onLatestTokens (id: $id, networkId: $networkId, tokenAddress: $tokenAddress) {
257
169
  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
170
  }
171
+ }`, vars, sink);
172
+ });
173
+ this.onLatestPairUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
174
+ return this.sdk.subscribe(`subscription OnLatestPairUpdated($id: String, $networkId: Int) {
175
+ onLatestPairUpdated (id: $id, networkId: $networkId) {
176
+ 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
177
+ }
178
+ }`, vars, sink);
179
+ });
180
+ this.onPairMetadataUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
181
+ return this.sdk.subscribe(`subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken, $statsType: TokenPairStatisticsType) {
182
+ onPairMetadataUpdated (id: $id, quoteToken: $quoteToken, statsType: $statsType) {
183
+ 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
184
+ }
185
+ }`, vars, sink);
186
+ });
187
+ this.onEventsCreatedByMaker = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
188
+ return this.sdk.subscribe(`subscription OnEventsCreatedByMaker($input: OnEventsCreatedByMakerInput!) {
189
+ onEventsCreatedByMaker (input: $input) {
190
+ 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
191
+ }
259
192
  }`, vars, sink);
260
193
  });
261
194
  this.onTokenEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
262
195
  return this.sdk.subscribe(`subscription OnTokenEventsCreated($input: OnTokenEventsCreatedInput!) {
263
196
  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
197
+ 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
198
  }
266
199
  }`, vars, sink);
267
200
  });
268
- this.onBalanceUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
269
- return this.sdk.subscribe(`subscription OnBalanceUpdated($walletAddress: String!) {
270
- onBalanceUpdated (walletAddress: $walletAddress) {
271
- address, balance, firstHeldTimestamp, networkId, shiftedBalance, tokenAddress, tokenId, walletId
201
+ this.onUnconfirmedEventsCreatedByMaker = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
202
+ return this.sdk.subscribe(`subscription OnUnconfirmedEventsCreatedByMaker($input: OnUnconfirmedEventsCreatedByMakerInput!) {
203
+ onUnconfirmedEventsCreatedByMaker (input: $input) {
204
+ 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
205
+ }
206
+ }`, vars, sink);
207
+ });
208
+ this.onNftEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
209
+ return this.sdk.subscribe(`subscription OnNftEventsCreated($address: String, $networkId: Int) {
210
+ onNftEventsCreated (address: $address, networkId: $networkId) {
211
+ 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
212
+ }
213
+ }`, vars, sink);
214
+ });
215
+ this.onSimulateTokenContract = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
216
+ return this.sdk.subscribe(`subscription OnSimulateTokenContract($contractAddress: String, $networkId: Int!, $simulationId: String) {
217
+ onSimulateTokenContract (contractAddress: $contractAddress, networkId: $networkId, simulationId: $simulationId) {
218
+ 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
219
+ }
220
+ }`, vars, sink);
221
+ });
222
+ this.onTokenLifecycleEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
223
+ return this.sdk.subscribe(`subscription OnTokenLifecycleEventsCreated($address: String, $networkId: Int) {
224
+ onTokenLifecycleEventsCreated (address: $address, networkId: $networkId) {
225
+ events { blockHash, blockNumber, data { ... on TokenBurnEventData { amount, circulatingSupply, totalSupply }, ... on TokenMintEventData { amount, circulatingSupply, totalSupply } }, eventType, id, logIndex, maker, networkId, timestamp, tokenAddress, transactionHash, transactionIndex }, id
226
+ }
227
+ }`, vars, sink);
228
+ });
229
+ this.onPricesUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
230
+ return this.sdk.subscribe(`subscription OnPricesUpdated($input: [OnPricesUpdatedInput!]!) {
231
+ onPricesUpdated (input: $input) {
232
+ address, confidence, networkId, poolAddress, priceUsd, timestamp
233
+ }
234
+ }`, vars, sink);
235
+ });
236
+ this.onHoldersUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
237
+ return this.sdk.subscribe(`subscription OnHoldersUpdated($tokenId: String!) {
238
+ onHoldersUpdated (tokenId: $tokenId) {
239
+ 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
240
+ }
241
+ }`, vars, sink);
242
+ });
243
+ this.onEventLabelCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
244
+ return this.sdk.subscribe(`subscription OnEventLabelCreated($id: String) {
245
+ onEventLabelCreated(id: $id) {
246
+ data {
247
+ ... on FrontRunLabelData {
248
+ index
249
+ token0DrainedAmount
250
+ token1DrainedAmount
251
+ }
252
+ ... on SandwichedLabelData {
253
+ token0DrainedAmountSandwich: token0DrainedAmount
254
+ token1DrainedAmountSandwich: token1DrainedAmount
255
+ }
256
+ }
257
+ id
258
+ label
259
+ logIndex
260
+ networkId
261
+ timestamp
262
+ transactionHash
263
+ transactionIndex
264
+ }
265
+ }
266
+ `, vars, sink);
267
+ });
268
+ this.onUnconfirmedEventsCreated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
269
+ return this.sdk.subscribe(`subscription OnUnconfirmedEventsCreated($address: String, $id: String, $quoteToken: QuoteToken) {
270
+ onUnconfirmedEventsCreated (address: $address, id: $id, quoteToken: $quoteToken) {
271
+ 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
272
+ }
273
+ }`, vars, sink);
274
+ });
275
+ this.onBarsUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
276
+ return this.sdk.subscribe(`subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken, $statsType: TokenPairStatisticsType) {
277
+ onBarsUpdated (pairId: $pairId, quoteToken: $quoteToken, statsType: $statsType) {
278
+ 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
279
+ }
280
+ }`, vars, sink);
281
+ });
282
+ this.onDetailedStatsUpdated = (vars, sink) => __awaiter(this, void 0, void 0, function* () {
283
+ return this.sdk.subscribe(`subscription OnDetailedStatsUpdated($pairId: String, $statsType: TokenPairStatisticsType, $tokenOfInterest: TokenOfInterest) {
284
+ onDetailedStatsUpdated (pairId: $pairId, statsType: $statsType, tokenOfInterest: $tokenOfInterest) {
285
+ bucketCount, pairId, queryTimestamp, statsType, stats_day1 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour1 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour4 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour12 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_min5 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, tokenOfInterest
272
286
  }
273
287
  }`, vars, sink);
274
288
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Subscribe.js","sourceRoot":"","sources":["../../src/sdk/Subscribe.ts"],"names":[],"mappings":";;;;;;;;;;;;AAmDA,MAAa,SAAS;IACpB,YAAoB,GAAU;QAAV,QAAG,GAAH,GAAG,CAAO;QAC9B,0BAAqB,GAAG,CACtB,IAAgD,EAChD,IAA8D,EAC9D,EAAE;YACF,OAAA,IAAI,CAAC,GAAG,CAAC,SAAS,CAChB;;;;EAIJ,EACI,IAAI,EACJ,IAAI,CACL,CAAA;UAAA,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