@codex-data/sdk 2.4.5 → 2.4.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.
- package/dist/sdk/Subscribe.js +6 -6
- package/dist/sdk/Subscribe.mjs +6 -6
- package/dist/sdk/generated/gql.d.ts +44 -44
- package/dist/sdk/generated/gql.js +22 -22
- package/dist/sdk/generated/gql.mjs +22 -22
- package/dist/sdk/generated/graphql.d.ts +881 -0
- package/dist/sdk/generated/graphql.js +22 -22
- package/dist/sdk/generated/graphql.mjs +22 -22
- package/package.json +1 -1
- package/schema.graphql +18 -0
package/package.json
CHANGED
package/schema.graphql
CHANGED
|
@@ -9286,6 +9286,8 @@ type EnhancedToken {
|
|
|
9286
9286
|
categories: [Category!]
|
|
9287
9287
|
"""Codex's unified risk assessment for this token — one verdict, the score behind it, how much analysis stood behind that score, and the reasons that fired. Read `coverage` before trusting `verdict`."""
|
|
9288
9288
|
risk: TokenRisk
|
|
9289
|
+
"""The issuer of a real-world-asset token, such as a tokenized stock. Null when the token has no known issuer."""
|
|
9290
|
+
issuer: TokenIssuer
|
|
9289
9291
|
}
|
|
9290
9292
|
|
|
9291
9293
|
"""A token matching a set of filter parameters."""
|
|
@@ -12711,6 +12713,10 @@ type PairFilterResult {
|
|
|
12711
12713
|
riskCoverage: RiskAnalysisCoverage
|
|
12712
12714
|
"""The reason codes behind `riskVerdict`, unordered. New codes are added over time, so do not assume this list is exhaustive."""
|
|
12713
12715
|
riskReasons: [RiskReasonCode!]
|
|
12716
|
+
"""Buy tax of the pair's token of interest, measured by the latest decisive contract analysis, as a fraction (0.05 means 5%). Null when no decisive analysis measured it."""
|
|
12717
|
+
riskBuyTax: Float
|
|
12718
|
+
"""Sell tax of the pair's token of interest, measured by the latest decisive contract analysis, as a fraction (0.05 means 5%). Null when no decisive analysis measured it, including when that analysis found a honeypot: its test sale failed, so no sell tax was measured."""
|
|
12719
|
+
riskSellTax: Float
|
|
12714
12720
|
}
|
|
12715
12721
|
|
|
12716
12722
|
"""The app a trade was placed through — a trading terminal, wallet, or interface — as distinct from the exchange it settled on."""
|
|
@@ -13397,6 +13403,14 @@ type TokenWithMetadata {
|
|
|
13397
13403
|
lastTransaction: Int
|
|
13398
13404
|
}
|
|
13399
13405
|
|
|
13406
|
+
"""The issuer of a real-world-asset token."""
|
|
13407
|
+
type TokenIssuer {
|
|
13408
|
+
"""Stable identifier for the issuer, e.g. `ondo-global-markets`. Safe to key on."""
|
|
13409
|
+
id: String!
|
|
13410
|
+
"""Human-readable name for the issuer, e.g. `Ondo Global Markets`. Null if the identifier has no registry entry yet."""
|
|
13411
|
+
displayName: String
|
|
13412
|
+
}
|
|
13413
|
+
|
|
13400
13414
|
"""Codex's unified risk assessment for a token. `verdict` is not a safety guarantee. `VERIFIED` means a human marked the token not-a-scam — a moderator judgement, not an allowlist — and `NEUTRAL` means the weighted score is below the caution threshold. Reasons can still be present on a neutral assessment. Neither says a token is safe to trade, and a clean assessment cannot see an un-armed trap (owner-pausable, blacklist-after-N-txs, upgradeable proxy). Read `coverage` before trusting anything else: `NOT_ANALYZED` means no contract analysis stands behind this verdict. Null fields indicate unavailable or inapplicable results as described below; they never mean "safe"."""
|
|
13401
13415
|
type TokenRisk {
|
|
13402
13416
|
"""The verdict. Null when the token has not been assessed."""
|
|
@@ -13411,6 +13425,10 @@ type TokenRisk {
|
|
|
13411
13425
|
coverage: RiskAnalysisCoverage
|
|
13412
13426
|
"""The reason codes behind the verdict, unordered. Empty when nothing fired; null when unassessed. New codes are added over time, so do not assume this list is exhaustive or that a familiar set is the whole picture."""
|
|
13413
13427
|
reasons: [RiskReasonCode!]
|
|
13428
|
+
"""Buy tax measured by the latest decisive contract analysis, as a fraction (0.05 means 5%). Can be newer than `verdict`, which updates on the next assessment. Null when no decisive analysis measured it."""
|
|
13429
|
+
buyTax: Float
|
|
13430
|
+
"""Sell tax measured by the latest decisive contract analysis, as a fraction (0.05 means 5%). Can be newer than `verdict`, which updates on the next assessment. Null when no decisive analysis measured it, including when that analysis found a honeypot: its test sale failed, so no sell tax was measured."""
|
|
13431
|
+
sellTax: Float
|
|
13414
13432
|
}
|
|
13415
13433
|
|
|
13416
13434
|
"""A token's risk verdict. These values are not an ordered safety scale: `SCAM` and `VERIFIED` are terminal states reached by mechanical proof or a human decision, while `HIGH_RISK`, `CAUTION` and `NEUTRAL` are graded outcomes of weighted signals."""
|