@codex-data/sdk 1.0.7 → 1.0.8

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 (152) hide show
  1. package/dist/resources/graphql.d.ts +1173 -12
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +191 -1
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Mutation.d.ts +1 -1
  6. package/dist/sdk/Mutation.d.ts.map +1 -1
  7. package/dist/sdk/Mutation.js +1 -1
  8. package/dist/sdk/Mutation.js.map +1 -1
  9. package/dist/sdk/Query.d.ts +53 -49
  10. package/dist/sdk/Query.d.ts.map +1 -1
  11. package/dist/sdk/Query.js +52 -48
  12. package/dist/sdk/Query.js.map +1 -1
  13. package/dist/sdk/Subscribe.d.ts +15 -15
  14. package/dist/sdk/Subscribe.d.ts.map +1 -1
  15. package/dist/sdk/Subscribe.js +78 -78
  16. package/dist/sdk/Subscribe.js.map +1 -1
  17. package/dist/sdk/generated/gql.d.ts +54 -26
  18. package/dist/sdk/generated/gql.d.ts.map +1 -1
  19. package/dist/sdk/generated/gql.js +17 -13
  20. package/dist/sdk/generated/gql.js.map +1 -1
  21. package/dist/sdk/generated/graphql.d.ts +1678 -39
  22. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  23. package/dist/sdk/generated/graphql.js +210 -16
  24. package/dist/sdk/generated/graphql.js.map +1 -1
  25. package/dist/sdk/index.d.ts +11 -3
  26. package/dist/sdk/index.d.ts.map +1 -1
  27. package/dist/sdk/index.js +33 -19
  28. package/dist/sdk/index.js.map +1 -1
  29. package/dist/sdk/index.test.js +2 -2
  30. package/dist/sdk/index.test.js.map +1 -1
  31. package/package.json +1 -2
  32. package/src/resources/generated_queries/DetailedWalletStats.graphql +197 -0
  33. package/src/resources/generated_queries/FilterPairs.graphql +4 -4
  34. package/src/resources/generated_queries/FilterTokenWallets.graphql +139 -0
  35. package/src/resources/generated_queries/FilterTokens.graphql +4 -3
  36. package/src/resources/generated_queries/FilterWallets.graphql +56 -0
  37. package/src/resources/generated_queries/GetBars.graphql +2 -2
  38. package/src/resources/generated_queries/GetCommunityNotes.graphql +1 -1
  39. package/src/resources/generated_queries/GetDetailedPairStats.graphql +2 -2
  40. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +2 -2
  41. package/src/resources/generated_queries/ListPairsForToken.graphql +2 -2
  42. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +4 -4
  43. package/src/resources/generated_queries/PairMetadata.graphql +2 -2
  44. package/src/resources/generated_queries/Token.graphql +1 -1
  45. package/src/resources/generated_queries/Tokens.graphql +1 -1
  46. package/src/resources/generated_queries/WalletChart.graphql +19 -0
  47. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +1 -1
  48. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +2 -2
  49. package/src/resources/graphql.schema.json +15289 -7880
  50. package/src/resources/graphql.ts +1215 -12
  51. package/src/resources/schema.graphql +1694 -79
  52. package/src/sdk/Mutation.ts +2 -2
  53. package/src/sdk/Query.ts +119 -103
  54. package/src/sdk/Subscribe.ts +132 -132
  55. package/src/sdk/generated/gql.ts +46 -26
  56. package/src/sdk/generated/graphql.ts +1273 -38
  57. package/src/sdk/index.test.ts +3 -3
  58. package/src/sdk/index.ts +69 -18
  59. package/dist/resources/generated_mutations/CreateApiTokens.graphql +0 -9
  60. package/dist/resources/generated_mutations/CreateWebhooks.graphql +0 -472
  61. package/dist/resources/generated_mutations/DeleteApiToken.graphql +0 -3
  62. package/dist/resources/generated_mutations/DeleteWebhooks.graphql +0 -5
  63. package/dist/resources/generated_queries/ApiToken.graphql +0 -9
  64. package/dist/resources/generated_queries/ApiTokens.graphql +0 -9
  65. package/dist/resources/generated_queries/Balances.graphql +0 -15
  66. package/dist/resources/generated_queries/ChartUrls.graphql +0 -7
  67. package/dist/resources/generated_queries/FilterExchanges.graphql +0 -43
  68. package/dist/resources/generated_queries/FilterNftCollections.graphql +0 -569
  69. package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +0 -60
  70. package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +0 -71
  71. package/dist/resources/generated_queries/FilterNftPools.graphql +0 -124
  72. package/dist/resources/generated_queries/FilterPairs.graphql +0 -419
  73. package/dist/resources/generated_queries/FilterTokens.graphql +0 -356
  74. package/dist/resources/generated_queries/GetBars.graphql +0 -212
  75. package/dist/resources/generated_queries/GetCommunityNotes.graphql +0 -135
  76. package/dist/resources/generated_queries/GetDetailedNftStats.graphql +0 -831
  77. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +0 -970
  78. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +0 -954
  79. package/dist/resources/generated_queries/GetEventLabels.graphql +0 -35
  80. package/dist/resources/generated_queries/GetExchanges.graphql +0 -12
  81. package/dist/resources/generated_queries/GetNetworkStats.graphql +0 -20
  82. package/dist/resources/generated_queries/GetNetworkStatus.graphql +0 -8
  83. package/dist/resources/generated_queries/GetNetworks.graphql +0 -7
  84. package/dist/resources/generated_queries/GetNftAssets.graphql +0 -59
  85. package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +0 -75
  86. package/dist/resources/generated_queries/GetNftContracts.graphql +0 -39
  87. package/dist/resources/generated_queries/GetNftEvents.graphql +0 -100
  88. package/dist/resources/generated_queries/GetNftPool.graphql +0 -74
  89. package/dist/resources/generated_queries/GetNftPoolCollection.graphql +0 -33
  90. package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -38
  91. package/dist/resources/generated_queries/GetNftPoolEvents.graphql +0 -416
  92. package/dist/resources/generated_queries/GetNftPoolStats.graphql +0 -40
  93. package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -89
  94. package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -89
  95. package/dist/resources/generated_queries/GetParallelCardChanges.graphql +0 -57
  96. package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +0 -32
  97. package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +0 -156
  98. package/dist/resources/generated_queries/GetPrimePools.graphql +0 -62
  99. package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
  100. package/dist/resources/generated_queries/GetSymbol.graphql +0 -11
  101. package/dist/resources/generated_queries/GetTokenEvents.graphql +0 -101
  102. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +0 -101
  103. package/dist/resources/generated_queries/GetTokenPrices.graphql +0 -10
  104. package/dist/resources/generated_queries/GetWebhooks.graphql +0 -134
  105. package/dist/resources/generated_queries/Holders.graphql +0 -18
  106. package/dist/resources/generated_queries/LiquidityLocks.graphql +0 -26
  107. package/dist/resources/generated_queries/LiquidityMetadata.graphql +0 -17
  108. package/dist/resources/generated_queries/ListPairsForToken.graphql +0 -173
  109. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -346
  110. package/dist/resources/generated_queries/ListTopTokens.graphql +0 -55
  111. package/dist/resources/generated_queries/NftHolders.graphql +0 -12
  112. package/dist/resources/generated_queries/PairMetadata.graphql +0 -229
  113. package/dist/resources/generated_queries/PrimeHolders.graphql +0 -16
  114. package/dist/resources/generated_queries/SearchNfts.graphql +0 -35
  115. package/dist/resources/generated_queries/Token.graphql +0 -78
  116. package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +0 -34
  117. package/dist/resources/generated_queries/TokenSparklines.graphql +0 -10
  118. package/dist/resources/generated_queries/TokenTopTraders.graphql +0 -26
  119. package/dist/resources/generated_queries/Tokens.graphql +0 -78
  120. package/dist/resources/generated_queries/Top10HoldersPercent.graphql +0 -3
  121. package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +0 -11
  122. package/dist/resources/generated_queries/WalletNftCollections.graphql +0 -10
  123. package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -12
  124. package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +0 -555
  125. package/dist/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -332
  126. package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +0 -22
  127. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +0 -104
  128. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -18
  129. package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +0 -42
  130. package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +0 -37
  131. package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +0 -91
  132. package/dist/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +0 -91
  133. package/dist/resources/generated_subscriptions/OnNftAssetsCreated.graphql +0 -42
  134. package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -82
  135. package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -412
  136. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -229
  137. package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +0 -18
  138. package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +0 -10
  139. package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
  140. package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -556
  141. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +0 -91
  142. package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +0 -30
  143. package/dist/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +0 -70
  144. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +0 -50
  145. package/dist/resources/graphql.schema.json +0 -56135
  146. package/dist/resources/graphql.ts +0 -9024
  147. package/dist/resources/mutations_override/CreateWebhooks.graphql +0 -472
  148. package/dist/resources/queries_override/GetEventLabels.graphql +0 -35
  149. package/dist/resources/queries_override/GetWebhooks.graphql +0 -134
  150. package/dist/resources/schema.graphql +0 -12013
  151. package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +0 -22
  152. package/dist/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +0 -91
@@ -1,229 +0,0 @@
1
- subscription OnPairMetadataUpdated(
2
- $id: String
3
- $quoteToken: QuoteToken
4
- $statsType: TokenPairStatisticsType
5
- ) {
6
- onPairMetadataUpdated(
7
- id: $id
8
- quoteToken: $quoteToken
9
- statsType: $statsType
10
- ) {
11
- createdAt
12
- enhancedToken0 {
13
- address
14
- cmcId
15
- createBlockNumber
16
- createTransactionHash
17
- createdAt
18
- creatorAddress
19
- decimals
20
- exchanges {
21
- address
22
- color
23
- exchangeVersion
24
- iconUrl
25
- id
26
- name
27
- networkId
28
- tradeUrl
29
- }
30
- freezable
31
- id
32
- info {
33
- address
34
- circulatingSupply
35
- cmcId
36
- description
37
- id
38
- imageBannerUrl
39
- imageLargeUrl
40
- imageSmallUrl
41
- imageThumbUrl
42
- isScam
43
- name
44
- networkId
45
- symbol
46
- totalSupply
47
- }
48
- isScam
49
- launchpad {
50
- completed
51
- completedAt
52
- completedSlot
53
- graduationPercent
54
- launchpadProtocol
55
- migrated
56
- migratedAt
57
- migratedPoolAddress
58
- migratedSlot
59
- name
60
- poolAddress
61
- }
62
- mintable
63
- name
64
- networkId
65
- socialLinks {
66
- bitcointalk
67
- blog
68
- coingecko
69
- coinmarketcap
70
- discord
71
- email
72
- facebook
73
- github
74
- instagram
75
- linkedin
76
- reddit
77
- slack
78
- telegram
79
- twitch
80
- twitter
81
- website
82
- wechat
83
- whitepaper
84
- youtube
85
- }
86
- symbol
87
- }
88
- enhancedToken1 {
89
- address
90
- cmcId
91
- createBlockNumber
92
- createTransactionHash
93
- createdAt
94
- creatorAddress
95
- decimals
96
- exchanges {
97
- address
98
- color
99
- exchangeVersion
100
- iconUrl
101
- id
102
- name
103
- networkId
104
- tradeUrl
105
- }
106
- freezable
107
- id
108
- info {
109
- address
110
- circulatingSupply
111
- cmcId
112
- description
113
- id
114
- imageBannerUrl
115
- imageLargeUrl
116
- imageSmallUrl
117
- imageThumbUrl
118
- isScam
119
- name
120
- networkId
121
- symbol
122
- totalSupply
123
- }
124
- isScam
125
- launchpad {
126
- completed
127
- completedAt
128
- completedSlot
129
- graduationPercent
130
- launchpadProtocol
131
- migrated
132
- migratedAt
133
- migratedPoolAddress
134
- migratedSlot
135
- name
136
- poolAddress
137
- }
138
- mintable
139
- name
140
- networkId
141
- socialLinks {
142
- bitcointalk
143
- blog
144
- coingecko
145
- coinmarketcap
146
- discord
147
- email
148
- facebook
149
- github
150
- instagram
151
- linkedin
152
- reddit
153
- slack
154
- telegram
155
- twitch
156
- twitter
157
- website
158
- wechat
159
- whitepaper
160
- youtube
161
- }
162
- symbol
163
- }
164
- exchangeId
165
- fee
166
- highPrice1
167
- highPrice1w
168
- highPrice4
169
- highPrice5m
170
- highPrice12
171
- highPrice24
172
- id
173
- liquidity
174
- liquidityToken
175
- lowPrice1
176
- lowPrice1w
177
- lowPrice4
178
- lowPrice5m
179
- lowPrice12
180
- lowPrice24
181
- networkId
182
- nonLiquidityToken
183
- pairAddress
184
- price
185
- priceChange1
186
- priceChange1w
187
- priceChange4
188
- priceChange5m
189
- priceChange12
190
- priceChange24
191
- quoteToken
192
- statsType
193
- tickSpacing
194
- token0 {
195
- address
196
- decimals
197
- labels {
198
- createdAt
199
- subType
200
- type
201
- }
202
- name
203
- networkId
204
- pooled
205
- price
206
- symbol
207
- }
208
- token1 {
209
- address
210
- decimals
211
- labels {
212
- createdAt
213
- subType
214
- type
215
- }
216
- name
217
- networkId
218
- pooled
219
- price
220
- symbol
221
- }
222
- volume1
223
- volume1w
224
- volume4
225
- volume5m
226
- volume12
227
- volume24
228
- }
229
- }
@@ -1,18 +0,0 @@
1
- subscription OnPriceUpdated(
2
- $address: String
3
- $networkId: Int
4
- $sourcePairAddress: String
5
- ) {
6
- onPriceUpdated(
7
- address: $address
8
- networkId: $networkId
9
- sourcePairAddress: $sourcePairAddress
10
- ) {
11
- address
12
- confidence
13
- networkId
14
- poolAddress
15
- priceUsd
16
- timestamp
17
- }
18
- }
@@ -1,10 +0,0 @@
1
- subscription OnPricesUpdated($input: [OnPricesUpdatedInput!]!) {
2
- onPricesUpdated(input: $input) {
3
- address
4
- confidence
5
- networkId
6
- poolAddress
7
- priceUsd
8
- timestamp
9
- }
10
- }
@@ -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
- }