@codex-data/sdk 1.0.7 → 1.0.9
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 +1346 -16
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +198 -2
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/Mutation.d.ts +1 -1
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +1 -1
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +53 -49
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +52 -48
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +18 -16
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +94 -80
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +98 -52
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +30 -24
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +2582 -225
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +230 -28
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/dist/sdk/index.d.ts +11 -3
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +33 -19
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/index.test.js +2 -2
- package/dist/sdk/index.test.js.map +1 -1
- package/package.json +1 -2
- package/src/resources/generated_queries/Balances.graphql +78 -0
- package/src/resources/generated_queries/DetailedWalletStats.graphql +197 -0
- package/src/resources/generated_queries/FilterPairs.graphql +4 -4
- package/src/resources/generated_queries/FilterTokenWallets.graphql +139 -0
- package/src/resources/generated_queries/FilterTokens.graphql +4 -3
- package/src/resources/generated_queries/FilterWallets.graphql +56 -0
- package/src/resources/generated_queries/GetBars.graphql +2 -2
- package/src/resources/generated_queries/GetCommunityNotes.graphql +1 -1
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +2 -2
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +2 -2
- package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
- package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
- package/src/resources/generated_queries/Holders.graphql +78 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +7 -1
- package/src/resources/generated_queries/LiquidityMetadataByToken.graphql +19 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +2 -2
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +4 -4
- package/src/resources/generated_queries/PairMetadata.graphql +2 -2
- package/src/resources/generated_queries/PrimeHolders.graphql +78 -0
- package/src/resources/generated_queries/Token.graphql +1 -1
- package/src/resources/generated_queries/Tokens.graphql +1 -1
- package/src/resources/generated_queries/WalletChart.graphql +19 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +78 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +3 -0
- package/{dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql → src/resources/generated_subscriptions/OnEventsCreatedByMaker.graphql} +4 -3
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +78 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +1 -1
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +2 -2
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
- package/{dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql → src/resources/generated_subscriptions/OnUnconfirmedEventsCreatedByMaker.graphql} +4 -13
- package/src/resources/graphql.schema.json +13537 -5050
- package/src/resources/graphql.ts +1406 -16
- package/src/resources/schema.graphql +1942 -85
- package/src/sdk/Mutation.ts +2 -2
- package/src/sdk/Query.ts +122 -105
- package/src/sdk/Subscribe.ts +164 -134
- package/src/sdk/generated/gql.ts +78 -48
- package/src/sdk/generated/graphql.ts +1512 -73
- package/src/sdk/index.test.ts +3 -3
- package/src/sdk/index.ts +69 -18
- package/dist/resources/generated_mutations/CreateApiTokens.graphql +0 -9
- package/dist/resources/generated_mutations/CreateWebhooks.graphql +0 -472
- package/dist/resources/generated_mutations/DeleteApiToken.graphql +0 -3
- package/dist/resources/generated_mutations/DeleteWebhooks.graphql +0 -5
- package/dist/resources/generated_queries/ApiToken.graphql +0 -9
- package/dist/resources/generated_queries/ApiTokens.graphql +0 -9
- package/dist/resources/generated_queries/Balances.graphql +0 -15
- package/dist/resources/generated_queries/ChartUrls.graphql +0 -7
- package/dist/resources/generated_queries/FilterExchanges.graphql +0 -43
- package/dist/resources/generated_queries/FilterNftCollections.graphql +0 -569
- package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +0 -60
- package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +0 -71
- package/dist/resources/generated_queries/FilterNftPools.graphql +0 -124
- package/dist/resources/generated_queries/FilterPairs.graphql +0 -419
- package/dist/resources/generated_queries/FilterTokens.graphql +0 -356
- package/dist/resources/generated_queries/GetBars.graphql +0 -212
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +0 -135
- package/dist/resources/generated_queries/GetDetailedNftStats.graphql +0 -831
- package/dist/resources/generated_queries/GetDetailedPairStats.graphql +0 -970
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +0 -954
- package/dist/resources/generated_queries/GetEventLabels.graphql +0 -35
- package/dist/resources/generated_queries/GetExchanges.graphql +0 -12
- package/dist/resources/generated_queries/GetNetworkStats.graphql +0 -20
- package/dist/resources/generated_queries/GetNetworkStatus.graphql +0 -8
- package/dist/resources/generated_queries/GetNetworks.graphql +0 -7
- package/dist/resources/generated_queries/GetNftAssets.graphql +0 -59
- package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +0 -75
- package/dist/resources/generated_queries/GetNftContracts.graphql +0 -39
- package/dist/resources/generated_queries/GetNftEvents.graphql +0 -100
- package/dist/resources/generated_queries/GetNftPool.graphql +0 -74
- package/dist/resources/generated_queries/GetNftPoolCollection.graphql +0 -33
- package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -38
- package/dist/resources/generated_queries/GetNftPoolEvents.graphql +0 -416
- package/dist/resources/generated_queries/GetNftPoolStats.graphql +0 -40
- package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -89
- package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -89
- package/dist/resources/generated_queries/GetParallelCardChanges.graphql +0 -57
- package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +0 -32
- package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +0 -156
- package/dist/resources/generated_queries/GetPrimePools.graphql +0 -62
- package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
- package/dist/resources/generated_queries/GetSymbol.graphql +0 -11
- package/dist/resources/generated_queries/GetTokenEvents.graphql +0 -101
- package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +0 -101
- package/dist/resources/generated_queries/GetTokenPrices.graphql +0 -10
- package/dist/resources/generated_queries/GetWebhooks.graphql +0 -134
- package/dist/resources/generated_queries/Holders.graphql +0 -18
- package/dist/resources/generated_queries/LiquidityLocks.graphql +0 -26
- package/dist/resources/generated_queries/LiquidityMetadata.graphql +0 -17
- package/dist/resources/generated_queries/ListPairsForToken.graphql +0 -173
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -346
- package/dist/resources/generated_queries/ListTopTokens.graphql +0 -55
- package/dist/resources/generated_queries/NftHolders.graphql +0 -12
- package/dist/resources/generated_queries/PairMetadata.graphql +0 -229
- package/dist/resources/generated_queries/PrimeHolders.graphql +0 -16
- package/dist/resources/generated_queries/SearchNfts.graphql +0 -35
- package/dist/resources/generated_queries/Token.graphql +0 -78
- package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +0 -34
- package/dist/resources/generated_queries/TokenSparklines.graphql +0 -10
- package/dist/resources/generated_queries/TokenTopTraders.graphql +0 -26
- package/dist/resources/generated_queries/Tokens.graphql +0 -78
- package/dist/resources/generated_queries/Top10HoldersPercent.graphql +0 -3
- package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +0 -11
- package/dist/resources/generated_queries/WalletNftCollections.graphql +0 -10
- package/dist/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -12
- package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +0 -555
- package/dist/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -332
- package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +0 -22
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +0 -104
- package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -18
- package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +0 -42
- package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +0 -37
- package/dist/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +0 -91
- package/dist/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +0 -91
- package/dist/resources/generated_subscriptions/OnNftAssetsCreated.graphql +0 -42
- package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -82
- package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -412
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -229
- package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +0 -18
- package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +0 -10
- package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
- package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -556
- package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +0 -30
- package/dist/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +0 -70
- package/dist/resources/graphql.schema.json +0 -56135
- package/dist/resources/graphql.ts +0 -9024
- package/dist/resources/mutations_override/CreateWebhooks.graphql +0 -472
- package/dist/resources/queries_override/GetEventLabels.graphql +0 -35
- package/dist/resources/queries_override/GetWebhooks.graphql +0 -134
- package/dist/resources/schema.graphql +0 -12013
- package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +0 -22
- package/dist/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +0 -91
- package/src/resources/generated_queries/ListTopTokens.graphql +0 -55
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
query GetPrimePoolEvents(
|
|
2
|
-
$cursor: String
|
|
3
|
-
$eventTypes: [PrimePoolEventType]
|
|
4
|
-
$limit: Int
|
|
5
|
-
$networkId: Int!
|
|
6
|
-
$poolContractAddress: String
|
|
7
|
-
$poolId: String
|
|
8
|
-
$walletAddress: String
|
|
9
|
-
) {
|
|
10
|
-
getPrimePoolEvents(
|
|
11
|
-
cursor: $cursor
|
|
12
|
-
eventTypes: $eventTypes
|
|
13
|
-
limit: $limit
|
|
14
|
-
networkId: $networkId
|
|
15
|
-
poolContractAddress: $poolContractAddress
|
|
16
|
-
poolId: $poolId
|
|
17
|
-
walletAddress: $walletAddress
|
|
18
|
-
) {
|
|
19
|
-
cursor
|
|
20
|
-
items {
|
|
21
|
-
blockHash
|
|
22
|
-
blockNumber
|
|
23
|
-
data {
|
|
24
|
-
... on PrimePoolCacheData {
|
|
25
|
-
eventAmount
|
|
26
|
-
totalSupply
|
|
27
|
-
type
|
|
28
|
-
user
|
|
29
|
-
userCachedAmount
|
|
30
|
-
userEthRewardDebt
|
|
31
|
-
userPrimeRewardDebt
|
|
32
|
-
}
|
|
33
|
-
... on PrimePoolCachingPausedData {
|
|
34
|
-
cachingPaused
|
|
35
|
-
type
|
|
36
|
-
}
|
|
37
|
-
... on PrimePoolClaimEthData {
|
|
38
|
-
currency
|
|
39
|
-
ethClaimed
|
|
40
|
-
eventAmount
|
|
41
|
-
type
|
|
42
|
-
user
|
|
43
|
-
userEthRewardDebt
|
|
44
|
-
}
|
|
45
|
-
... on PrimePoolClaimPrimeData {
|
|
46
|
-
currency
|
|
47
|
-
eventAmount
|
|
48
|
-
type
|
|
49
|
-
user
|
|
50
|
-
userPrimeRewardDebt
|
|
51
|
-
}
|
|
52
|
-
... on PrimePoolEmergencyWithdrawData {
|
|
53
|
-
eventAmount
|
|
54
|
-
totalSupply
|
|
55
|
-
type
|
|
56
|
-
user
|
|
57
|
-
userCachedAmount
|
|
58
|
-
userEthRewardDebt
|
|
59
|
-
userPrimeRewardDebt
|
|
60
|
-
}
|
|
61
|
-
... on PrimePoolEndTimestampUpdatedEthData {
|
|
62
|
-
currency
|
|
63
|
-
ethEndTimestamp
|
|
64
|
-
ethPerSecond
|
|
65
|
-
ethStartTimestamp
|
|
66
|
-
type
|
|
67
|
-
}
|
|
68
|
-
... on PrimePoolEndTimestampUpdatedPrimeData {
|
|
69
|
-
currency
|
|
70
|
-
primeEndTimestamp
|
|
71
|
-
primePerSecond
|
|
72
|
-
primeStartTimestamp
|
|
73
|
-
type
|
|
74
|
-
}
|
|
75
|
-
... on PrimePoolEthRewardsAddedData {
|
|
76
|
-
amount
|
|
77
|
-
totalRewards
|
|
78
|
-
type
|
|
79
|
-
}
|
|
80
|
-
... on PrimePoolEthRewardsSetData {
|
|
81
|
-
amount
|
|
82
|
-
totalRewards
|
|
83
|
-
type
|
|
84
|
-
}
|
|
85
|
-
... on PrimePoolLogPoolAdditionData {
|
|
86
|
-
tokenIds
|
|
87
|
-
type
|
|
88
|
-
}
|
|
89
|
-
... on PrimePoolLogPoolSetAllocPointData {
|
|
90
|
-
allocPoint
|
|
91
|
-
currency
|
|
92
|
-
totalAllocPoint
|
|
93
|
-
type
|
|
94
|
-
}
|
|
95
|
-
... on PrimePoolLogSetPerSecondData {
|
|
96
|
-
amount
|
|
97
|
-
currency
|
|
98
|
-
endTimestamp
|
|
99
|
-
ethAmountPerSecond
|
|
100
|
-
primeAmountPerSecond
|
|
101
|
-
startTimestamp
|
|
102
|
-
type
|
|
103
|
-
}
|
|
104
|
-
... on PrimePoolLogUpdatePoolData {
|
|
105
|
-
accPerShare
|
|
106
|
-
currency
|
|
107
|
-
ethAmount
|
|
108
|
-
lastRewardTimestamp
|
|
109
|
-
primeAmount
|
|
110
|
-
supply
|
|
111
|
-
totalSupply
|
|
112
|
-
type
|
|
113
|
-
}
|
|
114
|
-
... on PrimePoolRewardDecreaseData {
|
|
115
|
-
currency
|
|
116
|
-
eventAmount
|
|
117
|
-
type
|
|
118
|
-
updatedAmount
|
|
119
|
-
}
|
|
120
|
-
... on PrimePoolRewardIncreaseData {
|
|
121
|
-
currency
|
|
122
|
-
eventAmount
|
|
123
|
-
type
|
|
124
|
-
updatedAmount
|
|
125
|
-
}
|
|
126
|
-
... on PrimePoolTimeCachePeriodUpdateData {
|
|
127
|
-
currency
|
|
128
|
-
timedCachePeriod
|
|
129
|
-
type
|
|
130
|
-
}
|
|
131
|
-
... on PrimePoolWithdrawData {
|
|
132
|
-
eventAmount
|
|
133
|
-
totalSupply
|
|
134
|
-
type
|
|
135
|
-
user
|
|
136
|
-
userCachedAmount
|
|
137
|
-
userEthRewardDebt
|
|
138
|
-
userPrimeRewardDebt
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
eventType
|
|
142
|
-
from
|
|
143
|
-
fromHashKey
|
|
144
|
-
id
|
|
145
|
-
logIndex
|
|
146
|
-
networkId
|
|
147
|
-
poolContractAddress
|
|
148
|
-
poolId
|
|
149
|
-
poolType
|
|
150
|
-
sortKey
|
|
151
|
-
timestamp
|
|
152
|
-
transactionHash
|
|
153
|
-
transactionIndex
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
query GetPrimePools(
|
|
2
|
-
$address: String!
|
|
3
|
-
$cursor: String
|
|
4
|
-
$limit: Int
|
|
5
|
-
$networkId: Int!
|
|
6
|
-
$poolIds: [String]
|
|
7
|
-
) {
|
|
8
|
-
getPrimePools(
|
|
9
|
-
address: $address
|
|
10
|
-
cursor: $cursor
|
|
11
|
-
limit: $limit
|
|
12
|
-
networkId: $networkId
|
|
13
|
-
poolIds: $poolIds
|
|
14
|
-
) {
|
|
15
|
-
cursor
|
|
16
|
-
items {
|
|
17
|
-
calcData {
|
|
18
|
-
poolAccumulatedEth
|
|
19
|
-
poolAccumulatedPrime
|
|
20
|
-
poolEthAmount
|
|
21
|
-
poolEthPerDay
|
|
22
|
-
poolEthPerSecond
|
|
23
|
-
poolPrimeAmount
|
|
24
|
-
poolPrimePerDay
|
|
25
|
-
poolPrimePerSecond
|
|
26
|
-
shareAccumulatedEth
|
|
27
|
-
shareAccumulatedPrime
|
|
28
|
-
shareEthPerDay
|
|
29
|
-
shareEthPerSecond
|
|
30
|
-
sharePrimePerDay
|
|
31
|
-
sharePrimePerSecond
|
|
32
|
-
}
|
|
33
|
-
chainData {
|
|
34
|
-
cachingPaused
|
|
35
|
-
ethAllocPoint
|
|
36
|
-
ethClaimed
|
|
37
|
-
ethEndTimestamp
|
|
38
|
-
ethLastRewardTimestamp
|
|
39
|
-
ethReward
|
|
40
|
-
ethStartTimestamp
|
|
41
|
-
ethTimedCachePeriod
|
|
42
|
-
ethTotalAllocPoint
|
|
43
|
-
primeAllocPoint
|
|
44
|
-
primeEndTimestamp
|
|
45
|
-
primeLastRewardTimestamp
|
|
46
|
-
primeStartTimestamp
|
|
47
|
-
primeTotalAllocPoint
|
|
48
|
-
}
|
|
49
|
-
createdAt
|
|
50
|
-
discoveryBlockNumber
|
|
51
|
-
discoveryTransactionHash
|
|
52
|
-
id
|
|
53
|
-
networkId
|
|
54
|
-
nftContractAddress
|
|
55
|
-
poolContractAddress
|
|
56
|
-
poolId
|
|
57
|
-
poolType
|
|
58
|
-
tokenIds
|
|
59
|
-
totalSupply
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
query GetSimulateTokenContractResults(
|
|
2
|
-
$contractAddress: String!
|
|
3
|
-
$cursor: String
|
|
4
|
-
$limit: Int
|
|
5
|
-
$networkId: Int!
|
|
6
|
-
$simulationId: String
|
|
7
|
-
) {
|
|
8
|
-
getSimulateTokenContractResults(
|
|
9
|
-
contractAddress: $contractAddress
|
|
10
|
-
cursor: $cursor
|
|
11
|
-
limit: $limit
|
|
12
|
-
networkId: $networkId
|
|
13
|
-
simulationId: $simulationId
|
|
14
|
-
) {
|
|
15
|
-
cursor
|
|
16
|
-
results {
|
|
17
|
-
analysisType
|
|
18
|
-
blockNumber
|
|
19
|
-
contractBalance {
|
|
20
|
-
tokenContractEthBalance
|
|
21
|
-
tokenContractTokenBalance
|
|
22
|
-
}
|
|
23
|
-
contractHashKey
|
|
24
|
-
creator {
|
|
25
|
-
creatorAddress
|
|
26
|
-
creatorEthBalance
|
|
27
|
-
creatorTokenBalance
|
|
28
|
-
}
|
|
29
|
-
deploy {
|
|
30
|
-
deploySuccess
|
|
31
|
-
tokenMintedToDeployer
|
|
32
|
-
}
|
|
33
|
-
errors {
|
|
34
|
-
contractBalanceErrors {
|
|
35
|
-
tokenContractEthBalanceError
|
|
36
|
-
tokenContractTokenBalanceError
|
|
37
|
-
}
|
|
38
|
-
creatorErrors {
|
|
39
|
-
creatorEthBalanceError
|
|
40
|
-
creatorTokenBalanceError
|
|
41
|
-
}
|
|
42
|
-
deployErrors {
|
|
43
|
-
deployError
|
|
44
|
-
tokenMintedToDeployerError
|
|
45
|
-
}
|
|
46
|
-
liquidityErrors {
|
|
47
|
-
addLiquidityError
|
|
48
|
-
lpTotalSupplyError
|
|
49
|
-
postLiquidityEnableTradingError
|
|
50
|
-
preLiquidityEnableTradingError
|
|
51
|
-
}
|
|
52
|
-
ownerErrors {
|
|
53
|
-
ownerAddressError
|
|
54
|
-
ownerEthBalanceError
|
|
55
|
-
ownerTokenBalanceError
|
|
56
|
-
}
|
|
57
|
-
simulatorError
|
|
58
|
-
swapErrors {
|
|
59
|
-
buyError
|
|
60
|
-
buyErrorEnum
|
|
61
|
-
sellError
|
|
62
|
-
sellErrorEnum
|
|
63
|
-
}
|
|
64
|
-
tokenErrors {
|
|
65
|
-
canRenounceOwnershipError
|
|
66
|
-
canTransferOwnershipError
|
|
67
|
-
decimalsError
|
|
68
|
-
tokenNameError
|
|
69
|
-
tokenSymbolError
|
|
70
|
-
totalSupplyError
|
|
71
|
-
}
|
|
72
|
-
transferErrors {
|
|
73
|
-
tokenContractApprovalError
|
|
74
|
-
tokenTransferredToContractError
|
|
75
|
-
userApprovalError
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
id
|
|
79
|
-
liquidity {
|
|
80
|
-
addLiquiditySuccess
|
|
81
|
-
liquiditySetByPreLiquidityOpenTradingCall
|
|
82
|
-
lpTotalSupply
|
|
83
|
-
pairAddress
|
|
84
|
-
postLiquidityEnableTradingCall
|
|
85
|
-
postLiquidityEnableTradingSuccess
|
|
86
|
-
preLiquidityEnableTradingCall
|
|
87
|
-
preLiquidityEnableTradingSuccess
|
|
88
|
-
preLiquidityEnableTradingSupportsTransfer
|
|
89
|
-
}
|
|
90
|
-
networkId
|
|
91
|
-
owner {
|
|
92
|
-
ownerAddress
|
|
93
|
-
ownerEthBalance
|
|
94
|
-
ownerTokenBalance
|
|
95
|
-
}
|
|
96
|
-
sortKey
|
|
97
|
-
status
|
|
98
|
-
swap {
|
|
99
|
-
buyGasUsed
|
|
100
|
-
buySuccess
|
|
101
|
-
buyTax
|
|
102
|
-
maxBuyAmount
|
|
103
|
-
maxSellAmount
|
|
104
|
-
sellGasUsed
|
|
105
|
-
sellSuccess
|
|
106
|
-
sellTax
|
|
107
|
-
}
|
|
108
|
-
timestamp
|
|
109
|
-
token {
|
|
110
|
-
canRenounceOwnership
|
|
111
|
-
canTransferOwnership
|
|
112
|
-
contractAddress
|
|
113
|
-
decimals
|
|
114
|
-
isOwnerRenounced
|
|
115
|
-
tokenName
|
|
116
|
-
tokenSymbol
|
|
117
|
-
totalSupply
|
|
118
|
-
}
|
|
119
|
-
transfer {
|
|
120
|
-
tokenContractApprovalSuccess
|
|
121
|
-
tokenTransferredToContractSuccess
|
|
122
|
-
userApprovalSuccess
|
|
123
|
-
}
|
|
124
|
-
uuid
|
|
125
|
-
uuidHashKey
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
query GetTokenEvents(
|
|
2
|
-
$cursor: String
|
|
3
|
-
$direction: RankingDirection
|
|
4
|
-
$limit: Int
|
|
5
|
-
$query: EventsQueryInput!
|
|
6
|
-
) {
|
|
7
|
-
getTokenEvents(
|
|
8
|
-
cursor: $cursor
|
|
9
|
-
direction: $direction
|
|
10
|
-
limit: $limit
|
|
11
|
-
query: $query
|
|
12
|
-
) {
|
|
13
|
-
cursor
|
|
14
|
-
items {
|
|
15
|
-
address
|
|
16
|
-
baseTokenPrice
|
|
17
|
-
blockHash
|
|
18
|
-
blockNumber
|
|
19
|
-
data {
|
|
20
|
-
... on BurnEventData {
|
|
21
|
-
amount0
|
|
22
|
-
amount0Shifted
|
|
23
|
-
amount1
|
|
24
|
-
amount1Shifted
|
|
25
|
-
tickLower
|
|
26
|
-
tickUpper
|
|
27
|
-
type
|
|
28
|
-
}
|
|
29
|
-
... on MintEventData {
|
|
30
|
-
amount0
|
|
31
|
-
amount0Shifted
|
|
32
|
-
amount1
|
|
33
|
-
amount1Shifted
|
|
34
|
-
tickLower
|
|
35
|
-
tickUpper
|
|
36
|
-
type
|
|
37
|
-
}
|
|
38
|
-
... on PoolBalanceChangedEventData {
|
|
39
|
-
amount0
|
|
40
|
-
amount0Shifted
|
|
41
|
-
amount1
|
|
42
|
-
amount1Shifted
|
|
43
|
-
liquidity0
|
|
44
|
-
liquidity1
|
|
45
|
-
protocolFeeAmount0
|
|
46
|
-
protocolFeeAmount1
|
|
47
|
-
sender
|
|
48
|
-
token0
|
|
49
|
-
token1
|
|
50
|
-
type
|
|
51
|
-
}
|
|
52
|
-
... on SwapEventData {
|
|
53
|
-
amount0
|
|
54
|
-
amount0In
|
|
55
|
-
amount0Out
|
|
56
|
-
amount1
|
|
57
|
-
amount1In
|
|
58
|
-
amount1Out
|
|
59
|
-
amountNonLiquidityToken
|
|
60
|
-
priceBaseToken
|
|
61
|
-
priceBaseTokenTotal
|
|
62
|
-
priceUsd
|
|
63
|
-
priceUsdTotal
|
|
64
|
-
tick
|
|
65
|
-
type
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
eventDisplayType
|
|
69
|
-
eventType
|
|
70
|
-
id
|
|
71
|
-
labels {
|
|
72
|
-
sandwich {
|
|
73
|
-
label
|
|
74
|
-
sandwichType
|
|
75
|
-
token0DrainedAmount
|
|
76
|
-
token1DrainedAmount
|
|
77
|
-
}
|
|
78
|
-
washtrade {
|
|
79
|
-
label
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
liquidityToken
|
|
83
|
-
logIndex
|
|
84
|
-
maker
|
|
85
|
-
networkId
|
|
86
|
-
quoteToken
|
|
87
|
-
timestamp
|
|
88
|
-
token0Address
|
|
89
|
-
token0PoolValueUsd
|
|
90
|
-
token0SwapValueUsd
|
|
91
|
-
token0ValueBase
|
|
92
|
-
token1Address
|
|
93
|
-
token1PoolValueUsd
|
|
94
|
-
token1SwapValueUsd
|
|
95
|
-
token1ValueBase
|
|
96
|
-
transactionHash
|
|
97
|
-
transactionIndex
|
|
98
|
-
walletAge
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
query GetTokenEventsForMaker(
|
|
2
|
-
$cursor: String
|
|
3
|
-
$direction: RankingDirection
|
|
4
|
-
$limit: Int
|
|
5
|
-
$query: MakerEventsQueryInput!
|
|
6
|
-
) {
|
|
7
|
-
getTokenEventsForMaker(
|
|
8
|
-
cursor: $cursor
|
|
9
|
-
direction: $direction
|
|
10
|
-
limit: $limit
|
|
11
|
-
query: $query
|
|
12
|
-
) {
|
|
13
|
-
cursor
|
|
14
|
-
items {
|
|
15
|
-
address
|
|
16
|
-
baseTokenPrice
|
|
17
|
-
blockHash
|
|
18
|
-
blockNumber
|
|
19
|
-
data {
|
|
20
|
-
... on BurnEventData {
|
|
21
|
-
amount0
|
|
22
|
-
amount0Shifted
|
|
23
|
-
amount1
|
|
24
|
-
amount1Shifted
|
|
25
|
-
tickLower
|
|
26
|
-
tickUpper
|
|
27
|
-
type
|
|
28
|
-
}
|
|
29
|
-
... on MintEventData {
|
|
30
|
-
amount0
|
|
31
|
-
amount0Shifted
|
|
32
|
-
amount1
|
|
33
|
-
amount1Shifted
|
|
34
|
-
tickLower
|
|
35
|
-
tickUpper
|
|
36
|
-
type
|
|
37
|
-
}
|
|
38
|
-
... on PoolBalanceChangedEventData {
|
|
39
|
-
amount0
|
|
40
|
-
amount0Shifted
|
|
41
|
-
amount1
|
|
42
|
-
amount1Shifted
|
|
43
|
-
liquidity0
|
|
44
|
-
liquidity1
|
|
45
|
-
protocolFeeAmount0
|
|
46
|
-
protocolFeeAmount1
|
|
47
|
-
sender
|
|
48
|
-
token0
|
|
49
|
-
token1
|
|
50
|
-
type
|
|
51
|
-
}
|
|
52
|
-
... on SwapEventData {
|
|
53
|
-
amount0
|
|
54
|
-
amount0In
|
|
55
|
-
amount0Out
|
|
56
|
-
amount1
|
|
57
|
-
amount1In
|
|
58
|
-
amount1Out
|
|
59
|
-
amountNonLiquidityToken
|
|
60
|
-
priceBaseToken
|
|
61
|
-
priceBaseTokenTotal
|
|
62
|
-
priceUsd
|
|
63
|
-
priceUsdTotal
|
|
64
|
-
tick
|
|
65
|
-
type
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
eventDisplayType
|
|
69
|
-
eventType
|
|
70
|
-
id
|
|
71
|
-
labels {
|
|
72
|
-
sandwich {
|
|
73
|
-
label
|
|
74
|
-
sandwichType
|
|
75
|
-
token0DrainedAmount
|
|
76
|
-
token1DrainedAmount
|
|
77
|
-
}
|
|
78
|
-
washtrade {
|
|
79
|
-
label
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
liquidityToken
|
|
83
|
-
logIndex
|
|
84
|
-
maker
|
|
85
|
-
networkId
|
|
86
|
-
quoteToken
|
|
87
|
-
timestamp
|
|
88
|
-
token0Address
|
|
89
|
-
token0PoolValueUsd
|
|
90
|
-
token0SwapValueUsd
|
|
91
|
-
token0ValueBase
|
|
92
|
-
token1Address
|
|
93
|
-
token1PoolValueUsd
|
|
94
|
-
token1SwapValueUsd
|
|
95
|
-
token1ValueBase
|
|
96
|
-
transactionHash
|
|
97
|
-
transactionIndex
|
|
98
|
-
walletAge
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
query GetWebhooks(
|
|
2
|
-
$bucketId: String
|
|
3
|
-
$bucketSortkey: String
|
|
4
|
-
$cursor: String
|
|
5
|
-
$limit: Int
|
|
6
|
-
$webhookId: String
|
|
7
|
-
) {
|
|
8
|
-
getWebhooks(
|
|
9
|
-
bucketId: $bucketId
|
|
10
|
-
bucketSortkey: $bucketSortkey
|
|
11
|
-
cursor: $cursor
|
|
12
|
-
limit: $limit
|
|
13
|
-
webhookId: $webhookId
|
|
14
|
-
) {
|
|
15
|
-
cursor
|
|
16
|
-
items {
|
|
17
|
-
alertRecurrence
|
|
18
|
-
bucketId
|
|
19
|
-
bucketSortkey
|
|
20
|
-
callbackUrl
|
|
21
|
-
conditions {
|
|
22
|
-
... on NftEventWebhookCondition {
|
|
23
|
-
contractAddress {
|
|
24
|
-
eq
|
|
25
|
-
}
|
|
26
|
-
eventType {
|
|
27
|
-
eq
|
|
28
|
-
}
|
|
29
|
-
exchangeAddress {
|
|
30
|
-
eq
|
|
31
|
-
}
|
|
32
|
-
fillSource {
|
|
33
|
-
oneOf
|
|
34
|
-
}
|
|
35
|
-
ignoreTransfers
|
|
36
|
-
individualBaseTokenPrice {
|
|
37
|
-
eq
|
|
38
|
-
gt
|
|
39
|
-
gte
|
|
40
|
-
lt
|
|
41
|
-
lte
|
|
42
|
-
}
|
|
43
|
-
maker {
|
|
44
|
-
eq
|
|
45
|
-
}
|
|
46
|
-
networkId {
|
|
47
|
-
oneOf
|
|
48
|
-
}
|
|
49
|
-
tokenAddress {
|
|
50
|
-
eq
|
|
51
|
-
}
|
|
52
|
-
tokenId {
|
|
53
|
-
eq
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
... on PriceEventWebhookCondition {
|
|
57
|
-
priceNetworkId: networkId {
|
|
58
|
-
eq
|
|
59
|
-
}
|
|
60
|
-
priceUsd {
|
|
61
|
-
eq
|
|
62
|
-
gt
|
|
63
|
-
gte
|
|
64
|
-
lt
|
|
65
|
-
lte
|
|
66
|
-
}
|
|
67
|
-
priceTokenAddress: tokenAddress {
|
|
68
|
-
eq
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
... on RawTransactionWebhookCondition {
|
|
72
|
-
from {
|
|
73
|
-
eq
|
|
74
|
-
}
|
|
75
|
-
ignoreNftEvents
|
|
76
|
-
ignoreTokenPairEvents
|
|
77
|
-
input {
|
|
78
|
-
contains
|
|
79
|
-
notContains
|
|
80
|
-
}
|
|
81
|
-
networkId {
|
|
82
|
-
oneOf
|
|
83
|
-
}
|
|
84
|
-
to {
|
|
85
|
-
eq
|
|
86
|
-
}
|
|
87
|
-
toOrFrom {
|
|
88
|
-
eq
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
... on TokenPairEventWebhookCondition {
|
|
92
|
-
eventType {
|
|
93
|
-
oneOf
|
|
94
|
-
}
|
|
95
|
-
exchangeAddress {
|
|
96
|
-
eq
|
|
97
|
-
}
|
|
98
|
-
maker {
|
|
99
|
-
eq
|
|
100
|
-
}
|
|
101
|
-
networkId {
|
|
102
|
-
oneOf
|
|
103
|
-
}
|
|
104
|
-
pairAddress {
|
|
105
|
-
eq
|
|
106
|
-
}
|
|
107
|
-
swapValue {
|
|
108
|
-
eq
|
|
109
|
-
gt
|
|
110
|
-
gte
|
|
111
|
-
lt
|
|
112
|
-
lte
|
|
113
|
-
}
|
|
114
|
-
tokenAddress {
|
|
115
|
-
eq
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
created
|
|
120
|
-
groupId
|
|
121
|
-
id
|
|
122
|
-
name
|
|
123
|
-
publishingType
|
|
124
|
-
retrySettings {
|
|
125
|
-
maxRetries
|
|
126
|
-
maxRetryDelay
|
|
127
|
-
maxTimeElapsed
|
|
128
|
-
minRetryDelay
|
|
129
|
-
}
|
|
130
|
-
status
|
|
131
|
-
webhookType
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
query Holders($input: HoldersInput!) {
|
|
2
|
-
holders(input: $input) {
|
|
3
|
-
count
|
|
4
|
-
cursor
|
|
5
|
-
items {
|
|
6
|
-
address
|
|
7
|
-
balance
|
|
8
|
-
firstHeldTimestamp
|
|
9
|
-
networkId
|
|
10
|
-
shiftedBalance
|
|
11
|
-
tokenAddress
|
|
12
|
-
tokenId
|
|
13
|
-
walletId
|
|
14
|
-
}
|
|
15
|
-
status
|
|
16
|
-
top10HoldersPercent
|
|
17
|
-
}
|
|
18
|
-
}
|