@codex-data/sdk 1.0.9 → 1.0.11

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 (87) hide show
  1. package/dist/resources/graphql.d.ts +177 -681
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +67 -79
  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 +57 -52
  10. package/dist/sdk/Query.d.ts.map +1 -1
  11. package/dist/sdk/Query.js +56 -51
  12. package/dist/sdk/Query.js.map +1 -1
  13. package/dist/sdk/Subscribe.d.ts +17 -18
  14. package/dist/sdk/Subscribe.d.ts.map +1 -1
  15. package/dist/sdk/Subscribe.js +126 -133
  16. package/dist/sdk/Subscribe.js.map +1 -1
  17. package/dist/sdk/generated/gql.d.ts +135 -104
  18. package/dist/sdk/generated/gql.d.ts.map +1 -1
  19. package/dist/sdk/generated/gql.js +44 -40
  20. package/dist/sdk/generated/gql.js.map +1 -1
  21. package/dist/sdk/generated/graphql.d.ts +1612 -1103
  22. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  23. package/dist/sdk/generated/graphql.js +113 -121
  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 +15 -0
  33. package/src/resources/generated_queries/DetailedWalletStats.graphql +4 -0
  34. package/src/resources/generated_queries/FilterNetworkWallets.graphql +57 -0
  35. package/src/resources/generated_queries/FilterNftPoolCollections.graphql +8 -0
  36. package/src/resources/generated_queries/FilterNftPools.graphql +7 -0
  37. package/src/resources/generated_queries/FilterPairs.graphql +60 -0
  38. package/src/resources/generated_queries/FilterTokenWallets.graphql +16 -0
  39. package/src/resources/generated_queries/FilterTokens.graphql +47 -0
  40. package/src/resources/generated_queries/FilterWallets.graphql +1 -0
  41. package/src/resources/generated_queries/GetBars.graphql +31 -0
  42. package/src/resources/generated_queries/GetCommunityNotes.graphql +16 -0
  43. package/src/resources/generated_queries/GetDetailedPairStats.graphql +30 -0
  44. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +30 -0
  45. package/src/resources/generated_queries/GetDetailedStats.graphql +338 -0
  46. package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
  47. package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
  48. package/src/resources/generated_queries/GetNftEvents.graphql +9 -0
  49. package/src/resources/generated_queries/GetNftPool.graphql +2 -0
  50. package/src/resources/generated_queries/GetNftPoolCollection.graphql +8 -0
  51. package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +8 -0
  52. package/src/resources/generated_queries/GetNftPoolEvents.graphql +2 -0
  53. package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +2 -0
  54. package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +2 -0
  55. package/src/resources/generated_queries/Holders.graphql +15 -0
  56. package/src/resources/generated_queries/LiquidityLocks.graphql +1 -0
  57. package/src/resources/generated_queries/ListPairsForToken.graphql +30 -0
  58. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +60 -0
  59. package/src/resources/generated_queries/ListTopTokens.graphql +55 -0
  60. package/src/resources/generated_queries/PairMetadata.graphql +30 -0
  61. package/src/resources/generated_queries/PrimeHolders.graphql +15 -0
  62. package/src/resources/generated_queries/SearchTokens.graphql +67 -0
  63. package/src/resources/generated_queries/Token.graphql +15 -0
  64. package/src/resources/generated_queries/Tokens.graphql +15 -0
  65. package/src/resources/generated_queries/WalletChart.graphql +1 -0
  66. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +15 -0
  67. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +2 -10
  68. package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +1 -6
  69. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +0 -2
  70. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
  71. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +15 -0
  72. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +9 -0
  73. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +2 -0
  74. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +32 -10
  75. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +2 -10
  76. package/src/resources/graphql.schema.json +457 -5137
  77. package/src/resources/graphql.ts +183 -743
  78. package/src/resources/schema.graphql +6752 -11058
  79. package/src/sdk/Mutation.ts +4 -4
  80. package/src/sdk/Query.ts +128 -109
  81. package/src/sdk/Subscribe.ts +208 -223
  82. package/src/sdk/generated/gql.ts +106 -86
  83. package/src/sdk/generated/graphql.ts +320 -842
  84. package/src/sdk/index.test.ts +361 -10
  85. package/src/sdk/index.ts +89 -6
  86. package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
  87. package/src/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
@@ -1,121 +0,0 @@
1
- subscription OnSimulateTokenContract(
2
- $contractAddress: String
3
- $networkId: Int!
4
- $simulationId: String
5
- ) {
6
- onSimulateTokenContract(
7
- contractAddress: $contractAddress
8
- networkId: $networkId
9
- simulationId: $simulationId
10
- ) {
11
- analysisType
12
- blockNumber
13
- contractBalance {
14
- tokenContractEthBalance
15
- tokenContractTokenBalance
16
- }
17
- contractHashKey
18
- creator {
19
- creatorAddress
20
- creatorEthBalance
21
- creatorTokenBalance
22
- }
23
- deploy {
24
- deploySuccess
25
- tokenMintedToDeployer
26
- }
27
- errors {
28
- contractBalanceErrors {
29
- tokenContractEthBalanceError
30
- tokenContractTokenBalanceError
31
- }
32
- creatorErrors {
33
- creatorEthBalanceError
34
- creatorTokenBalanceError
35
- }
36
- deployErrors {
37
- deployError
38
- tokenMintedToDeployerError
39
- }
40
- liquidityErrors {
41
- addLiquidityError
42
- lpTotalSupplyError
43
- postLiquidityEnableTradingError
44
- preLiquidityEnableTradingError
45
- }
46
- ownerErrors {
47
- ownerAddressError
48
- ownerEthBalanceError
49
- ownerTokenBalanceError
50
- }
51
- simulatorError
52
- swapErrors {
53
- buyError
54
- buyErrorEnum
55
- sellError
56
- sellErrorEnum
57
- }
58
- tokenErrors {
59
- canRenounceOwnershipError
60
- canTransferOwnershipError
61
- decimalsError
62
- tokenNameError
63
- tokenSymbolError
64
- totalSupplyError
65
- }
66
- transferErrors {
67
- tokenContractApprovalError
68
- tokenTransferredToContractError
69
- userApprovalError
70
- }
71
- }
72
- id
73
- liquidity {
74
- addLiquiditySuccess
75
- liquiditySetByPreLiquidityOpenTradingCall
76
- lpTotalSupply
77
- pairAddress
78
- postLiquidityEnableTradingCall
79
- postLiquidityEnableTradingSuccess
80
- preLiquidityEnableTradingCall
81
- preLiquidityEnableTradingSuccess
82
- preLiquidityEnableTradingSupportsTransfer
83
- }
84
- networkId
85
- owner {
86
- ownerAddress
87
- ownerEthBalance
88
- ownerTokenBalance
89
- }
90
- sortKey
91
- status
92
- swap {
93
- buyGasUsed
94
- buySuccess
95
- buyTax
96
- maxBuyAmount
97
- maxSellAmount
98
- sellGasUsed
99
- sellSuccess
100
- sellTax
101
- }
102
- timestamp
103
- token {
104
- canRenounceOwnership
105
- canTransferOwnership
106
- contractAddress
107
- decimals
108
- isOwnerRenounced
109
- tokenName
110
- tokenSymbol
111
- totalSupply
112
- }
113
- transfer {
114
- tokenContractApprovalSuccess
115
- tokenTransferredToContractSuccess
116
- userApprovalSuccess
117
- }
118
- uuid
119
- uuidHashKey
120
- }
121
- }