@codex-data/sdk 1.0.35 → 1.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/resources/graphql.d.ts +69 -24
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +5 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/scripts/generateNetworkConfigs.js +6 -1
- package/dist/scripts/generateNetworkConfigs.js.map +1 -1
- package/dist/sdk/Subscribe.js +9 -9
- package/dist/sdk/generated/gql.d.ts +46 -46
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +23 -23
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +95 -65
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +28 -25
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/Balances.graphql +0 -1
- package/src/resources/generated_queries/FilterPairs.graphql +1 -4
- package/src/resources/generated_queries/FilterTokens.graphql +9 -5
- package/src/resources/generated_queries/GetBars.graphql +1 -2
- package/src/resources/generated_queries/GetCommunityNotes.graphql +0 -1
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +1 -2
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +1 -2
- package/src/resources/generated_queries/GetTokenBars.graphql +0 -1
- package/src/resources/generated_queries/GetTokenPrices.graphql +1 -1
- package/src/resources/generated_queries/Holders.graphql +0 -2
- package/src/resources/generated_queries/ListPairsForToken.graphql +1 -2
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +1 -4
- package/src/resources/generated_queries/PairMetadata.graphql +0 -2
- package/src/resources/generated_queries/PrimeHolders.graphql +0 -1
- package/src/resources/generated_queries/Token.graphql +0 -1
- package/src/resources/generated_queries/Tokens.graphql +0 -1
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -1
- package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -2
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -1
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +7 -1
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +10 -4
- package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +1 -1
- package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +1 -1
- package/src/resources/graphql.schema.json +338 -74
- package/src/resources/graphql.ts +69 -24
- package/src/resources/networkConfigs.json +33 -2
- package/src/resources/schema.graphql +72 -26
- package/src/scripts/generateNetworkConfigs.ts +10 -1
- package/src/sdk/Subscribe.ts +9 -9
- package/src/sdk/generated/gql.ts +69 -69
- package/src/sdk/generated/graphql.ts +116 -70
package/package.json
CHANGED
|
@@ -70,6 +70,7 @@ query FilterPairs(
|
|
|
70
70
|
type
|
|
71
71
|
}
|
|
72
72
|
... on UniswapV4Data {
|
|
73
|
+
isDynamicFee
|
|
73
74
|
isToken0NetworkToken
|
|
74
75
|
type
|
|
75
76
|
uniswapV4HookAddress
|
|
@@ -134,7 +135,6 @@ query FilterPairs(
|
|
|
134
135
|
mintable
|
|
135
136
|
name
|
|
136
137
|
networkId
|
|
137
|
-
pairId
|
|
138
138
|
socialLinks {
|
|
139
139
|
bitcointalk
|
|
140
140
|
blog
|
|
@@ -216,7 +216,6 @@ query FilterPairs(
|
|
|
216
216
|
mintable
|
|
217
217
|
name
|
|
218
218
|
networkId
|
|
219
|
-
pairId
|
|
220
219
|
socialLinks {
|
|
221
220
|
bitcointalk
|
|
222
221
|
blog
|
|
@@ -315,7 +314,6 @@ query FilterPairs(
|
|
|
315
314
|
mintable
|
|
316
315
|
name
|
|
317
316
|
networkId
|
|
318
|
-
pairId
|
|
319
317
|
socialLinks {
|
|
320
318
|
bitcointalk
|
|
321
319
|
blog
|
|
@@ -396,7 +394,6 @@ query FilterPairs(
|
|
|
396
394
|
mintable
|
|
397
395
|
name
|
|
398
396
|
networkId
|
|
399
|
-
pairId
|
|
400
397
|
socialLinks {
|
|
401
398
|
bitcointalk
|
|
402
399
|
blog
|
|
@@ -21,6 +21,8 @@ query FilterTokens(
|
|
|
21
21
|
count
|
|
22
22
|
page
|
|
23
23
|
results {
|
|
24
|
+
bundlerCount
|
|
25
|
+
bundlerHeldPercentage
|
|
24
26
|
buyCount1
|
|
25
27
|
buyCount4
|
|
26
28
|
buyCount5m
|
|
@@ -38,6 +40,7 @@ query FilterTokens(
|
|
|
38
40
|
change24
|
|
39
41
|
circulatingMarketCap
|
|
40
42
|
createdAt
|
|
43
|
+
devHeldPercentage
|
|
41
44
|
exchanges {
|
|
42
45
|
address
|
|
43
46
|
color
|
|
@@ -54,6 +57,8 @@ query FilterTokens(
|
|
|
54
57
|
high12
|
|
55
58
|
high24
|
|
56
59
|
holders
|
|
60
|
+
insiderCount
|
|
61
|
+
insiderHeldPercentage
|
|
57
62
|
isScam
|
|
58
63
|
lastTransaction
|
|
59
64
|
liquidPair {
|
|
@@ -74,6 +79,7 @@ query FilterTokens(
|
|
|
74
79
|
type
|
|
75
80
|
}
|
|
76
81
|
... on UniswapV4Data {
|
|
82
|
+
isDynamicFee
|
|
77
83
|
isToken0NetworkToken
|
|
78
84
|
type
|
|
79
85
|
uniswapV4HookAddress
|
|
@@ -138,7 +144,6 @@ query FilterTokens(
|
|
|
138
144
|
mintable
|
|
139
145
|
name
|
|
140
146
|
networkId
|
|
141
|
-
pairId
|
|
142
147
|
socialLinks {
|
|
143
148
|
bitcointalk
|
|
144
149
|
blog
|
|
@@ -220,7 +225,6 @@ query FilterTokens(
|
|
|
220
225
|
mintable
|
|
221
226
|
name
|
|
222
227
|
networkId
|
|
223
|
-
pairId
|
|
224
228
|
socialLinks {
|
|
225
229
|
bitcointalk
|
|
226
230
|
blog
|
|
@@ -272,6 +276,7 @@ query FilterTokens(
|
|
|
272
276
|
type
|
|
273
277
|
}
|
|
274
278
|
... on UniswapV4Data {
|
|
279
|
+
isDynamicFee
|
|
275
280
|
isToken0NetworkToken
|
|
276
281
|
type
|
|
277
282
|
uniswapV4HookAddress
|
|
@@ -336,7 +341,6 @@ query FilterTokens(
|
|
|
336
341
|
mintable
|
|
337
342
|
name
|
|
338
343
|
networkId
|
|
339
|
-
pairId
|
|
340
344
|
socialLinks {
|
|
341
345
|
bitcointalk
|
|
342
346
|
blog
|
|
@@ -418,7 +422,6 @@ query FilterTokens(
|
|
|
418
422
|
mintable
|
|
419
423
|
name
|
|
420
424
|
networkId
|
|
421
|
-
pairId
|
|
422
425
|
socialLinks {
|
|
423
426
|
bitcointalk
|
|
424
427
|
blog
|
|
@@ -455,6 +458,8 @@ query FilterTokens(
|
|
|
455
458
|
sellVolume5m
|
|
456
459
|
sellVolume12
|
|
457
460
|
sellVolume24
|
|
461
|
+
sniperCount
|
|
462
|
+
sniperHeldPercentage
|
|
458
463
|
swapPct1dOldWallet
|
|
459
464
|
swapPct7dOldWallet
|
|
460
465
|
token {
|
|
@@ -514,7 +519,6 @@ query FilterTokens(
|
|
|
514
519
|
mintable
|
|
515
520
|
name
|
|
516
521
|
networkId
|
|
517
|
-
pairId
|
|
518
522
|
socialLinks {
|
|
519
523
|
bitcointalk
|
|
520
524
|
blog
|
|
@@ -50,6 +50,7 @@ query GetBars(
|
|
|
50
50
|
type
|
|
51
51
|
}
|
|
52
52
|
... on UniswapV4Data {
|
|
53
|
+
isDynamicFee
|
|
53
54
|
isToken0NetworkToken
|
|
54
55
|
type
|
|
55
56
|
uniswapV4HookAddress
|
|
@@ -114,7 +115,6 @@ query GetBars(
|
|
|
114
115
|
mintable
|
|
115
116
|
name
|
|
116
117
|
networkId
|
|
117
|
-
pairId
|
|
118
118
|
socialLinks {
|
|
119
119
|
bitcointalk
|
|
120
120
|
blog
|
|
@@ -196,7 +196,6 @@ query GetBars(
|
|
|
196
196
|
mintable
|
|
197
197
|
name
|
|
198
198
|
networkId
|
|
199
|
-
pairId
|
|
200
199
|
socialLinks {
|
|
201
200
|
bitcointalk
|
|
202
201
|
blog
|
|
@@ -37,6 +37,7 @@ query GetDetailedPairStats(
|
|
|
37
37
|
type
|
|
38
38
|
}
|
|
39
39
|
... on UniswapV4Data {
|
|
40
|
+
isDynamicFee
|
|
40
41
|
isToken0NetworkToken
|
|
41
42
|
type
|
|
42
43
|
uniswapV4HookAddress
|
|
@@ -101,7 +102,6 @@ query GetDetailedPairStats(
|
|
|
101
102
|
mintable
|
|
102
103
|
name
|
|
103
104
|
networkId
|
|
104
|
-
pairId
|
|
105
105
|
socialLinks {
|
|
106
106
|
bitcointalk
|
|
107
107
|
blog
|
|
@@ -183,7 +183,6 @@ query GetDetailedPairStats(
|
|
|
183
183
|
mintable
|
|
184
184
|
name
|
|
185
185
|
networkId
|
|
186
|
-
pairId
|
|
187
186
|
socialLinks {
|
|
188
187
|
bitcointalk
|
|
189
188
|
blog
|
|
@@ -21,6 +21,7 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
|
|
|
21
21
|
type
|
|
22
22
|
}
|
|
23
23
|
... on UniswapV4Data {
|
|
24
|
+
isDynamicFee
|
|
24
25
|
isToken0NetworkToken
|
|
25
26
|
type
|
|
26
27
|
uniswapV4HookAddress
|
|
@@ -85,7 +86,6 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
|
|
|
85
86
|
mintable
|
|
86
87
|
name
|
|
87
88
|
networkId
|
|
88
|
-
pairId
|
|
89
89
|
socialLinks {
|
|
90
90
|
bitcointalk
|
|
91
91
|
blog
|
|
@@ -167,7 +167,6 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
|
|
|
167
167
|
mintable
|
|
168
168
|
name
|
|
169
169
|
networkId
|
|
170
|
-
pairId
|
|
171
170
|
socialLinks {
|
|
172
171
|
bitcointalk
|
|
173
172
|
blog
|
|
@@ -66,7 +66,6 @@ query Holders($input: HoldersInput!) {
|
|
|
66
66
|
mintable
|
|
67
67
|
name
|
|
68
68
|
networkId
|
|
69
|
-
pairId
|
|
70
69
|
socialLinks {
|
|
71
70
|
bitcointalk
|
|
72
71
|
blog
|
|
@@ -96,7 +95,6 @@ query Holders($input: HoldersInput!) {
|
|
|
96
95
|
walletId
|
|
97
96
|
}
|
|
98
97
|
status
|
|
99
|
-
tokenId
|
|
100
98
|
top10HoldersPercent
|
|
101
99
|
}
|
|
102
100
|
}
|
|
@@ -21,6 +21,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
21
21
|
type
|
|
22
22
|
}
|
|
23
23
|
... on UniswapV4Data {
|
|
24
|
+
isDynamicFee
|
|
24
25
|
isToken0NetworkToken
|
|
25
26
|
type
|
|
26
27
|
uniswapV4HookAddress
|
|
@@ -85,7 +86,6 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
85
86
|
mintable
|
|
86
87
|
name
|
|
87
88
|
networkId
|
|
88
|
-
pairId
|
|
89
89
|
socialLinks {
|
|
90
90
|
bitcointalk
|
|
91
91
|
blog
|
|
@@ -167,7 +167,6 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
|
|
|
167
167
|
mintable
|
|
168
168
|
name
|
|
169
169
|
networkId
|
|
170
|
-
pairId
|
|
171
170
|
socialLinks {
|
|
172
171
|
bitcointalk
|
|
173
172
|
blog
|
|
@@ -66,7 +66,6 @@ query ListPairsWithMetadataForToken(
|
|
|
66
66
|
mintable
|
|
67
67
|
name
|
|
68
68
|
networkId
|
|
69
|
-
pairId
|
|
70
69
|
socialLinks {
|
|
71
70
|
bitcointalk
|
|
72
71
|
blog
|
|
@@ -119,6 +118,7 @@ query ListPairsWithMetadataForToken(
|
|
|
119
118
|
type
|
|
120
119
|
}
|
|
121
120
|
... on UniswapV4Data {
|
|
121
|
+
isDynamicFee
|
|
122
122
|
isToken0NetworkToken
|
|
123
123
|
type
|
|
124
124
|
uniswapV4HookAddress
|
|
@@ -183,7 +183,6 @@ query ListPairsWithMetadataForToken(
|
|
|
183
183
|
mintable
|
|
184
184
|
name
|
|
185
185
|
networkId
|
|
186
|
-
pairId
|
|
187
186
|
socialLinks {
|
|
188
187
|
bitcointalk
|
|
189
188
|
blog
|
|
@@ -265,7 +264,6 @@ query ListPairsWithMetadataForToken(
|
|
|
265
264
|
mintable
|
|
266
265
|
name
|
|
267
266
|
networkId
|
|
268
|
-
pairId
|
|
269
267
|
socialLinks {
|
|
270
268
|
bitcointalk
|
|
271
269
|
blog
|
|
@@ -348,7 +346,6 @@ query ListPairsWithMetadataForToken(
|
|
|
348
346
|
mintable
|
|
349
347
|
name
|
|
350
348
|
networkId
|
|
351
|
-
pairId
|
|
352
349
|
socialLinks {
|
|
353
350
|
bitcointalk
|
|
354
351
|
blog
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
2
2
|
onLaunchpadTokenEvent(input: $input) {
|
|
3
3
|
address
|
|
4
|
+
bundlerCount
|
|
5
|
+
bundlerHeldPercentage
|
|
4
6
|
buyCount1
|
|
7
|
+
devHeldPercentage
|
|
5
8
|
eventType
|
|
6
9
|
holders
|
|
10
|
+
insiderCount
|
|
11
|
+
insiderHeldPercentage
|
|
7
12
|
launchpadName
|
|
8
13
|
liquidity
|
|
9
14
|
marketCap
|
|
@@ -11,6 +16,8 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
|
11
16
|
price
|
|
12
17
|
protocol
|
|
13
18
|
sellCount1
|
|
19
|
+
sniperCount
|
|
20
|
+
sniperHeldPercentage
|
|
14
21
|
token {
|
|
15
22
|
address
|
|
16
23
|
cmcId
|
|
@@ -68,7 +75,6 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
|
68
75
|
mintable
|
|
69
76
|
name
|
|
70
77
|
networkId
|
|
71
|
-
pairId
|
|
72
78
|
socialLinks {
|
|
73
79
|
bitcointalk
|
|
74
80
|
blog
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
subscription OnPairMetadataUpdated(
|
|
2
|
-
|
|
1
|
+
subscription OnPairMetadataUpdated(
|
|
2
|
+
$id: String
|
|
3
|
+
$quoteToken: QuoteToken
|
|
4
|
+
$useNonLiquidityTokenAsQuoteToken: Boolean
|
|
5
|
+
) {
|
|
6
|
+
onPairMetadataUpdated(
|
|
7
|
+
id: $id
|
|
8
|
+
quoteToken: $quoteToken
|
|
9
|
+
useNonLiquidityTokenAsQuoteToken: $useNonLiquidityTokenAsQuoteToken
|
|
10
|
+
) {
|
|
3
11
|
createdAt
|
|
4
12
|
enhancedToken0 {
|
|
5
13
|
address
|
|
@@ -58,7 +66,6 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
|
|
|
58
66
|
mintable
|
|
59
67
|
name
|
|
60
68
|
networkId
|
|
61
|
-
pairId
|
|
62
69
|
socialLinks {
|
|
63
70
|
bitcointalk
|
|
64
71
|
blog
|
|
@@ -139,7 +146,6 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
|
|
|
139
146
|
mintable
|
|
140
147
|
name
|
|
141
148
|
networkId
|
|
142
|
-
pairId
|
|
143
149
|
socialLinks {
|
|
144
150
|
bitcointalk
|
|
145
151
|
blog
|