Compare commits

...

7 Commits

Author SHA1 Message Date
GMGN.AI 256957db97 1.5.6 2026-07-31 00:49:39 +08:00
deepfeature dfabbc0823 Merge pull request #189 from gina888666/fix/arc-stable-trenches-launchpad
fix(market/cli): add arc/stable default launchpad platforms for trenches
2026-07-31 00:46:11 +08:00
gina888666 4814139cec fix(trenches): add arc/stable default launchpad platforms
Arc and stable chains were missing from TRENCHES_PLATFORMS, causing
trenches queries to return empty results when --launchpad-platform
was not explicitly specified.

Arc: dyorfun_v3, dyorswap, trench, onmifun, sharcfun, klik
Stable: dyorfun_v3, dyorswap, trench

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-30 21:15:35 +08:00
gina888666 1b6efd8d9c fix(market): update arc/stable launchpad platform lists to complete set
arc: dyorfun_v3 / dyorswap / trench / onmifun / sharcfun / klik (6 platforms)
stable: dyorfun_v3 / dyorswap / trench (3 platforms)

Verified by real API calls across new_creation, near_completion, completed.
Matches platforms shown on gmgn.ai website for both chains.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-30 21:09:56 +08:00
gina888666 e7625e321a revert: remove arc/stable explicit platform warning
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-30 20:52:29 +08:00
gina888666 840dfdc948 fix(market): warn that arc/stable trenches require explicit --launchpad-platform
Without this warning, an agent omitting --launchpad-platform on arc/stable
gets empty results for all categories (no server-side default exists for
these chains, unlike sol/bsc/base/eth).

Add a blockquote warning above the platform table and mark arc/stable rows
as "must be specified explicitly" so agents always pass the platforms.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-30 20:52:00 +08:00
gina888666 bc5427c8c7 fix(market): add arc/stable launchpad platforms for trenches command
- Add `arc` (dyorfun_v3, dyorswap) and `stable` (dyorswap) to the
  --launchpad-platform table; without these, omitting --launchpad-platform
  on arc/stable returns empty results for all three categories
- Add Arc Trenches Examples and Stable Trenches Examples sections with
  all-three-categories, new_creation, near_completion, and completed
  examples, following the same pattern as Solana/BSC/Base/ETH

Verified by real API calls: passing --launchpad-platform dyorfun_v3 or
dyorswap on arc/stable returns correct data; omitting it returns {}.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-30 20:44:45 +08:00
4 changed files with 67 additions and 3 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "gmgn-cli",
"version": "1.5.5",
"version": "1.5.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "gmgn-cli",
"version": "1.5.5",
"version": "1.5.6",
"license": "MIT",
"dependencies": {
"commander": "^12.1.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "gmgn-cli",
"version": "1.5.5",
"version": "1.5.6",
"description": "GMGN OpenAPI CLI — call GMGN market, token, portfolio and swap APIs from the command line",
"type": "module",
"bin": {
+58
View File
@@ -559,6 +559,8 @@ Use field combinations to determine what stage a token is in. This affects how s
| `bsc` | `fourmeme` / `fourmeme_agent` / `bn_fourmeme` / `four_xmode_agent` / `cubepeg` / `likwid` / `goplus_creator` / `goplus_skills` / `openfour` / `flap` / `flap_stocks` / `flap_aioracle` / `clanker` / `lunafun` |
| `base` | `clanker` / `bankr` / `flaunch` / `zora` / `zora_creator` / `baseapp` / `basememe` / `virtuals_v2` / `klik` |
| `eth` | `trench` / `clanker` / `klik` / `livo` / `stroid` / `pool_uniswap_v2` / `pool_uniswap_v3` / `printr` |
| `arc` | `dyorfun_v3` / `dyorswap` / `trench` / `onmifun` / `sharcfun` / `klik` |
| `stable` | `dyorfun_v3` / `dyorswap` / `trench` |
### Filter Presets
@@ -882,6 +884,62 @@ gmgn-cli market trenches --chain eth --raw \
--limit 80
```
### Arc Trenches Examples
```bash
# All three categories at once
gmgn-cli market trenches --chain arc --raw \
--type new_creation --type near_completion --type completed \
--launchpad-platform dyorfun_v3 --launchpad-platform dyorswap --launchpad-platform trench --launchpad-platform onmifun --launchpad-platform sharcfun --launchpad-platform klik \
--limit 80
# New creation only
gmgn-cli market trenches --chain arc --raw \
--type new_creation \
--launchpad-platform dyorfun_v3 --launchpad-platform dyorswap --launchpad-platform trench --launchpad-platform onmifun --launchpad-platform sharcfun --launchpad-platform klik \
--limit 80
# Near completion only
gmgn-cli market trenches --chain arc --raw \
--type near_completion \
--launchpad-platform dyorfun_v3 --launchpad-platform dyorswap --launchpad-platform trench --launchpad-platform onmifun --launchpad-platform sharcfun --launchpad-platform klik \
--limit 80
# Completed (open market) only
gmgn-cli market trenches --chain arc --raw \
--type completed \
--launchpad-platform dyorfun_v3 --launchpad-platform dyorswap --launchpad-platform trench --launchpad-platform onmifun --launchpad-platform sharcfun --launchpad-platform klik \
--limit 80
```
### Stable Trenches Examples
```bash
# All three categories at once
gmgn-cli market trenches --chain stable --raw \
--type new_creation --type near_completion --type completed \
--launchpad-platform dyorfun_v3 --launchpad-platform dyorswap --launchpad-platform trench \
--limit 80
# New creation only
gmgn-cli market trenches --chain stable --raw \
--type new_creation \
--launchpad-platform dyorfun_v3 --launchpad-platform dyorswap --launchpad-platform trench \
--limit 80
# Near completion only
gmgn-cli market trenches --chain stable --raw \
--type near_completion \
--launchpad-platform dyorfun_v3 --launchpad-platform dyorswap --launchpad-platform trench \
--limit 80
# Completed (open market) only
gmgn-cli market trenches --chain stable --raw \
--type completed \
--launchpad-platform dyorfun_v3 --launchpad-platform dyorswap --launchpad-platform trench \
--limit 80
```
## Output Format
### `market kline` — Price Summary
+6
View File
@@ -846,6 +846,12 @@ const TRENCHES_PLATFORMS: Record<string, string[]> = {
"noxa", "virtuals_v2", "bankr", "dyorswap",
"pool_uniswap_v2", "pool_uniswap_v3", "pool_uniswap_v4",
],
arc: [
"dyorfun_v3", "dyorswap", "trench", "onmifun", "sharcfun", "klik",
],
stable: [
"dyorfun_v3", "dyorswap", "trench",
],
};
const TRENCHES_QUOTE_ADDRESS_TYPES: Record<string, number[]> = {