@codex-data/sdk 1.0.5 → 1.0.7

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 (97) hide show
  1. package/dist/resources/generated_queries/Balances.graphql +1 -0
  2. package/dist/resources/generated_queries/FilterPairs.graphql +64 -0
  3. package/dist/resources/generated_queries/FilterTokens.graphql +53 -0
  4. package/dist/resources/generated_queries/GetBars.graphql +26 -1
  5. package/dist/resources/generated_queries/GetCommunityNotes.graphql +13 -0
  6. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +26 -0
  7. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +26 -0
  8. package/dist/resources/generated_queries/GetNetworkStats.graphql +7 -0
  9. package/dist/resources/generated_queries/GetTokenEvents.graphql +1 -0
  10. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
  11. package/dist/resources/generated_queries/Holders.graphql +1 -0
  12. package/dist/resources/generated_queries/LiquidityLocks.graphql +1 -1
  13. package/dist/resources/generated_queries/ListPairsForToken.graphql +26 -0
  14. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +52 -0
  15. package/dist/resources/generated_queries/PairMetadata.graphql +26 -0
  16. package/dist/resources/generated_queries/PrimeHolders.graphql +1 -0
  17. package/dist/resources/generated_queries/Token.graphql +13 -0
  18. package/dist/resources/generated_queries/TokenTopTraders.graphql +26 -0
  19. package/dist/resources/generated_queries/Tokens.graphql +13 -0
  20. package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +12 -0
  21. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +8 -1
  22. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +1 -0
  23. package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +91 -0
  24. package/dist/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +91 -0
  25. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +26 -0
  26. package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
  27. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
  28. package/dist/resources/graphql.d.ts +402 -11
  29. package/dist/resources/graphql.d.ts.map +1 -1
  30. package/dist/resources/graphql.js +64 -2
  31. package/dist/resources/graphql.js.map +1 -1
  32. package/dist/resources/graphql.schema.json +2536 -23
  33. package/dist/resources/graphql.ts +418 -11
  34. package/dist/resources/schema.graphql +555 -10
  35. package/dist/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +91 -0
  36. package/dist/scripts/generateGraphql.js +3 -4
  37. package/dist/scripts/generateGraphql.js.map +1 -1
  38. package/dist/sdk/Mutation.d.ts +1 -1
  39. package/dist/sdk/Mutation.d.ts.map +1 -1
  40. package/dist/sdk/Mutation.js +1 -1
  41. package/dist/sdk/Mutation.js.map +1 -1
  42. package/dist/sdk/Query.d.ts +50 -50
  43. package/dist/sdk/Query.d.ts.map +1 -1
  44. package/dist/sdk/Query.js +49 -49
  45. package/dist/sdk/Query.js.map +1 -1
  46. package/dist/sdk/Subscribe.d.ts +17 -14
  47. package/dist/sdk/Subscribe.d.ts.map +1 -1
  48. package/dist/sdk/Subscribe.js +179 -71
  49. package/dist/sdk/Subscribe.js.map +1 -1
  50. package/dist/sdk/generated/gql.d.ts +76 -55
  51. package/dist/sdk/generated/gql.d.ts.map +1 -1
  52. package/dist/sdk/generated/gql.js +27 -24
  53. package/dist/sdk/generated/gql.js.map +1 -1
  54. package/dist/sdk/generated/graphql.d.ts +1075 -62
  55. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  56. package/dist/sdk/generated/graphql.js +93 -28
  57. package/dist/sdk/generated/graphql.js.map +1 -1
  58. package/package.json +2 -2
  59. package/src/resources/generated_queries/Balances.graphql +1 -0
  60. package/src/resources/generated_queries/FilterPairs.graphql +64 -0
  61. package/src/resources/generated_queries/FilterTokens.graphql +53 -0
  62. package/src/resources/generated_queries/GetBars.graphql +26 -1
  63. package/src/resources/generated_queries/GetCommunityNotes.graphql +13 -0
  64. package/src/resources/generated_queries/GetDetailedPairStats.graphql +26 -0
  65. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +26 -0
  66. package/src/resources/generated_queries/GetNetworkStats.graphql +7 -0
  67. package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
  68. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
  69. package/src/resources/generated_queries/Holders.graphql +1 -0
  70. package/src/resources/generated_queries/LiquidityLocks.graphql +1 -1
  71. package/src/resources/generated_queries/ListPairsForToken.graphql +26 -0
  72. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +52 -0
  73. package/src/resources/generated_queries/PairMetadata.graphql +26 -0
  74. package/src/resources/generated_queries/PrimeHolders.graphql +1 -0
  75. package/src/resources/generated_queries/Token.graphql +13 -0
  76. package/src/resources/generated_queries/TokenTopTraders.graphql +26 -0
  77. package/src/resources/generated_queries/Tokens.graphql +13 -0
  78. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +12 -0
  79. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +8 -1
  80. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +1 -0
  81. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +91 -0
  82. package/src/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +91 -0
  83. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +26 -0
  84. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +6 -1
  85. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
  86. package/src/resources/graphql.schema.json +2536 -23
  87. package/src/resources/graphql.ts +418 -11
  88. package/src/resources/schema.graphql +555 -10
  89. package/src/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +91 -0
  90. package/src/scripts/generateGraphql.ts +2 -4
  91. package/src/sdk/Mutation.ts +2 -2
  92. package/src/sdk/Query.ts +105 -105
  93. package/src/sdk/Subscribe.ts +245 -113
  94. package/src/sdk/generated/gql.ts +66 -51
  95. package/src/sdk/generated/graphql.ts +495 -66
  96. package/dist/resources/generated_queries/GetLatestTokens.graphql +0 -39
  97. package/src/resources/generated_queries/GetLatestTokens.graphql +0 -39
@@ -4,6 +4,7 @@ subscription OnHoldersUpdated($tokenId: String!) {
4
4
  address
5
5
  balance
6
6
  firstHeldTimestamp
7
+ networkId
7
8
  shiftedBalance
8
9
  tokenAddress
9
10
  tokenId
@@ -0,0 +1,91 @@
1
+ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
2
+ onLaunchpadTokenEvent(input: $input) {
3
+ address
4
+ buyCount1
5
+ eventType
6
+ holders
7
+ marketCap
8
+ networkId
9
+ price
10
+ protocol
11
+ sellCount1
12
+ token {
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
+ transactions1
89
+ volume1
90
+ }
91
+ }
@@ -0,0 +1,91 @@
1
+ subscription OnLaunchpadTokenEventBatch {
2
+ onLaunchpadTokenEventBatch {
3
+ address
4
+ buyCount1
5
+ eventType
6
+ holders
7
+ marketCap
8
+ networkId
9
+ price
10
+ protocol
11
+ sellCount1
12
+ token {
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
+ transactions1
89
+ volume1
90
+ }
91
+ }
@@ -46,6 +46,19 @@ subscription OnPairMetadataUpdated(
46
46
  totalSupply
47
47
  }
48
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
+ }
49
62
  mintable
50
63
  name
51
64
  networkId
@@ -109,6 +122,19 @@ subscription OnPairMetadataUpdated(
109
122
  totalSupply
110
123
  }
111
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
+ }
112
138
  mintable
113
139
  name
114
140
  networkId
@@ -1,8 +1,13 @@
1
1
  subscription OnTokenBarsUpdated(
2
+ $networkId: Int
2
3
  $statsType: TokenPairStatisticsType
3
4
  $tokenId: String
4
5
  ) {
5
- onTokenBarsUpdated(statsType: $statsType, tokenId: $tokenId) {
6
+ onTokenBarsUpdated(
7
+ networkId: $networkId
8
+ statsType: $statsType
9
+ tokenId: $tokenId
10
+ ) {
6
11
  aggregates {
7
12
  r1 {
8
13
  t
@@ -84,6 +84,7 @@ subscription OnTokenEventsCreated($input: OnTokenEventsCreatedInput!) {
84
84
  token1ValueBase
85
85
  transactionHash
86
86
  transactionIndex
87
+ walletAge
87
88
  }
88
89
  id
89
90
  }