@gangfun/cli 0.19.0 → 0.19.1

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/README.md CHANGED
@@ -285,4 +285,4 @@ timed-out `gang_execute`, check `gang_status` / the wallet history instead of ex
285
285
 
286
286
  ## Version
287
287
 
288
- `0.19.0` · repo [gangfun/cli](https://github.com/gangfun/cli) · published to [npm](https://www.npmjs.com/package/@gangfun/cli) on push to `main`
288
+ `0.19.1` · repo [gangfun/cli](https://github.com/gangfun/cli) · published to [npm](https://www.npmjs.com/package/@gangfun/cli) on push to `main`
package/README.zh-CN.md CHANGED
@@ -249,4 +249,4 @@ Claude Code:`claude mcp add gang -- gang mcp`。同一台机器上 `baw` 要
249
249
 
250
250
  ## 版本
251
251
 
252
- `0.19.0` · [gangfun/cli](https://github.com/gangfun/cli) · push 到 `main` 自动发布到 [npm](https://www.npmjs.com/package/@gangfun/cli)
252
+ `0.19.1` · [gangfun/cli](https://github.com/gangfun/cli) · push 到 `main` 自动发布到 [npm](https://www.npmjs.com/package/@gangfun/cli)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gangfun/cli",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "description": "Gang launchpad CLI for Binance Agentic Wallet agents: create on GangLaunchpad (untaxed or tax tokens), 打新 fair mint, PancakeSwap pool trades, LaunchpadV2 and legacy Soft/U/S trade.",
5
5
  "type": "module",
6
6
  "scripts": {
package/src/discover.js CHANGED
@@ -94,7 +94,10 @@ function gangRow(r, quoteUsdOf) {
94
94
  volume24hUsd: inUsd('volume24hUsd', 'volume24hQuote'), trades24h: num(r.trades24h), trades: num(r.trades),
95
95
  holders: r.holders != null ? num(r.holders) : fair ? num(r.participants) : null,
96
96
  ...(fair && { sharePrice: w(r.sharePrice), sharesLeft: num(r.sharesLeft), minWalletsLeft: num(r.minWalletsLeft) }),
97
- ...(r.track === 'fly' && { status: r.status ?? null, postMint: !!r.postMint, baseQuota: num(r.baseQuota), inviteBonus: num(r.inviteBonus) }),
97
+ // mintPaused: gang.fun's code for why post-launch mints are refused now (below_average, …), null when not paused
98
+ ...(r.track === 'fly' && {
99
+ status: r.status ?? null, postMint: !!r.postMint, mintPaused: r.mintPaused ?? null, baseQuota: num(r.baseQuota), inviteBonus: num(r.inviteBonus),
100
+ }),
98
101
  createdAt: r.createdAt, ageMin: r.createdAt ? Math.floor((now() - r.createdAt) / 60) : null,
99
102
  lastTradeAt: r.lastTradeAt || r.lastActivityAt || null, creatorHandle: r.creatorHandle || null, logoUrl: r.logoUrl || null,
100
103
  website: r.website && !websiteError(r.website) ? r.website : null,
@@ -183,8 +186,8 @@ const hint = (t) => {
183
186
  // mint); a filled sale waits for its launch, a refund-only one only sells back
184
187
  if (t.track === 'fly' && t.status === 'filled') return `gang info --token ${t.address}`
185
188
  if (t.track === 'fly' && t.status === 'refund') return `gang withdraw --token ${t.address} --all`
186
- // (list rows do not say whether post-launch minting is paused: gang mint checks that on chain and says so)
187
- if (t.track === 'fly' && (!t.graduated || t.postMint)) return `gang mint --token ${t.address} --shares <n>`
189
+ // launched with post-launch minting paused (gang.fun's mintPaused, from the same reads as the pad): the pool, not a mint
190
+ if (t.track === 'fly' && (!t.graduated || (t.postMint && !t.mintPaused))) return `gang mint --token ${t.address} --shares <n>`
188
191
  if (t.graduated) return `gang buy --token ${t.address} ${amount}` // the PancakeSwap pool, through GangRouter
189
192
  if (t.track === 'fair') return `gang mint --token ${t.address} --shares <n>`
190
193
  if (t.track === 'v3') return `gang buy --token ${t.address} ${amount}`