@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.
- package/dist/resources/graphql.d.ts +177 -681
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js +67 -79
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/Mutation.d.ts +2 -2
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +2 -2
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +57 -52
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +56 -51
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +17 -18
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +126 -133
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +135 -104
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +44 -40
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +1612 -1103
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +113 -121
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/dist/sdk/index.d.ts +45 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +83 -5
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/index.test.js +232 -7
- package/dist/sdk/index.test.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/Balances.graphql +15 -0
- package/src/resources/generated_queries/DetailedWalletStats.graphql +4 -0
- package/src/resources/generated_queries/FilterNetworkWallets.graphql +57 -0
- package/src/resources/generated_queries/FilterNftPoolCollections.graphql +8 -0
- package/src/resources/generated_queries/FilterNftPools.graphql +7 -0
- package/src/resources/generated_queries/FilterPairs.graphql +60 -0
- package/src/resources/generated_queries/FilterTokenWallets.graphql +16 -0
- package/src/resources/generated_queries/FilterTokens.graphql +47 -0
- package/src/resources/generated_queries/FilterWallets.graphql +1 -0
- package/src/resources/generated_queries/GetBars.graphql +31 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +16 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +30 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +30 -0
- package/src/resources/generated_queries/GetDetailedStats.graphql +338 -0
- package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
- package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
- package/src/resources/generated_queries/GetNftEvents.graphql +9 -0
- package/src/resources/generated_queries/GetNftPool.graphql +2 -0
- package/src/resources/generated_queries/GetNftPoolCollection.graphql +8 -0
- package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +8 -0
- package/src/resources/generated_queries/GetNftPoolEvents.graphql +2 -0
- package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +2 -0
- package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +2 -0
- package/src/resources/generated_queries/Holders.graphql +15 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +1 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +30 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +60 -0
- package/src/resources/generated_queries/ListTopTokens.graphql +55 -0
- package/src/resources/generated_queries/PairMetadata.graphql +30 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +15 -0
- package/src/resources/generated_queries/SearchTokens.graphql +67 -0
- package/src/resources/generated_queries/Token.graphql +15 -0
- package/src/resources/generated_queries/Tokens.graphql +15 -0
- package/src/resources/generated_queries/WalletChart.graphql +1 -0
- package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +15 -0
- package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +2 -10
- package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +1 -6
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +0 -2
- package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
- package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +15 -0
- package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +9 -0
- package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +2 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +32 -10
- package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +2 -10
- package/src/resources/graphql.schema.json +457 -5137
- package/src/resources/graphql.ts +183 -743
- package/src/resources/schema.graphql +6752 -11058
- package/src/sdk/Mutation.ts +4 -4
- package/src/sdk/Query.ts +128 -109
- package/src/sdk/Subscribe.ts +208 -223
- package/src/sdk/generated/gql.ts +106 -86
- package/src/sdk/generated/graphql.ts +320 -842
- package/src/sdk/index.test.ts +361 -10
- package/src/sdk/index.ts +89 -6
- package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
- 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
|
-
}
|