feat: add ALIENTOR scanner commands + sync Toly upstream#9
feat: add ALIENTOR scanner commands + sync Toly upstream#9ATREU01 wants to merge 1 commit intoaeyakovenko:masterfrom
Conversation
Merge Toly's upstream (admin limits, new instructions, slab resize) and add ALIENTOR scanner CLI commands synced from ALIEN-PERC Chart page: - token-scan <mint>: Fetch DexScreener + pump.fun data, ALIEN Score, safety analysis, price changes, graduation status - market-prices: Show BTC/SOL/ALIENATOR prices with --watch mode Constants synced from ALIEN-PERC server.js: - ALIENATOR_MINT, GRADUATION_THRESHOLD_SOL, INITIAL_VIRTUAL_SOL - ALIEN Score calculation (FDV/Liq/Vol/Mom/Tx/Risk weighted layers) https://claude.ai/code/session_012cAVdoB1cAaWXw2U4CCWPB
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 024c8b7caf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| signal: AbortSignal.timeout(10000), | ||
| }); | ||
| const data = await res.json() as { pairs?: DexPair[] }; | ||
| dexPair = data.pairs?.[0] ?? null; |
There was a problem hiding this comment.
Match DexScreener pair to requested mint
The scanner unconditionally takes data.pairs?.[0], then derives name, symbol, price, and scoring inputs from that pair, but there is no check that this pair is actually oriented around the requested mint. For token lookups that return multiple markets, including cases where the queried mint appears as the quote asset, this can report analytics for the wrong asset and mislead trading decisions. Select a pair where the requested mint matches one side and normalize fields before computing metrics.
Useful? React with 👍 / 👎.
Merge Toly's upstream (admin limits, new instructions, slab resize) and add ALIENTOR scanner CLI commands synced from ALIEN-PERC Chart page:
Constants synced from ALIEN-PERC server.js:
https://claude.ai/code/session_012cAVdoB1cAaWXw2U4CCWPB