solana-risk-engine 0.6.0 → 0.7.0

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.es.md CHANGED
@@ -30,6 +30,12 @@ En los recién nacidos rojo y naranja fracasan casi siempre; la diferencia es el
30
30
 
31
31
  Las alertas se cuentan una a una y «nuevo» (`MKT_NEW`) no cuenta: la edad va por el techo. Un emisor que cambia sus claves sin revisar pierde el diamante. `tierLabel(r, "es")` y `tierNote(r, "es")` dan el nombre y una línea de explicación.
32
32
 
33
+ ## Puntos por apartado (0.7.0)
34
+
35
+ Una meme, una acción tokenizada y un token DeFi no se miden igual. `scoreProfile(res, perfil)` (o `analyzeToken(client, mint, { perfil })`, que añade `res.perfil`) pone el token en uno de siete apartados — `meme`, `rwa`, `defi`, `juegos`, `ia`, `apps`, `otros` — y lo puntúa sobre una base de 50 con las reglas de su apartado: quién está detrás y sus reservas en los activos tokenizados; comisiones, ingresos, auditorías y hackeos en DeFi; actividad real en los juegos; código público en la IA; si el token gana con el negocio (recompras, quemas) en las apps. Es una función pura: lo que no está en la cadena llega en `perfil`, una entrada de un archivo diario (SolFlag lo hace con DefiLlama, Jupiter, GitHub y Streamflow). Sin él, un emisor conocido es `rwa` y lo demás se puntúa con las reglas de meme, que solo usan la cadena.
36
+
37
+ Devuelve `{ap, pts, tier, cap, floor, trap, checks}`: `pts` llena una barra hasta 110 y `checks` da el color de cada chequeo (`suma`, `resta`, `grave`, `neutro`, `falta` = aún no lo sabemos, nunca cuenta). Reglas fijas: una trampa es rojo; diamante solo para la lista revisada a mano con 90 puntos o más, y la lista es como mínimo verde; lo nacido en una lanzadera se puntúa como meme (como mucho verde) y con menos de 7 días como mucho amarillo. `lvl` y `tier` no cambian.
38
+
33
39
  ## Volumen inflado (0.5.5)
34
40
 
35
41
  Al analizar un token suelto con un mercado de menos de 90 días, el motor lee las últimas ~300 operaciones de su pool principal (GeckoTerminal, una petición). Si el 80 % o más del volumen es de wallets que compran y venden lo mismo, sale `MKT_FAKE_VOLUME` en ámbar; en rojo si lo hacen 25 wallets o menos y las 3 mayores mueven el 75 % o más. En tokens veteranos los bots de arbitraje son normales y no se mira; a un emisor verificado tampoco. `noGecko` lo desactiva.
package/README.md CHANGED
@@ -102,6 +102,12 @@ Besides `lvl`, every token with a market gets a `tier`: what the token **is**, f
102
102
 
103
103
  Red and orange both fail almost always at launch; the difference is the kind of danger, not how long it lasts. Warnings are counted one by one, and "new" (`MKT_NEW`) is not one of them: age is handled by the cap. An issuer whose keys changed without review loses its diamond. `tierLabel(r, lang)` and `tierNote(r, lang)` give the name and a one-line explanation.
104
104
 
105
+ ### Points by section (0.7.0)
106
+
107
+ A meme, a tokenized stock and a DeFi token are not judged the same way. `scoreProfile(res, perfil)` (or `analyzeToken(client, mint, { perfil })`, which adds `res.perfil`) puts the token in one of seven sections — `meme`, `rwa`, `defi`, `juegos` (games), `ia` (AI), `apps`, `otros` (other) — and scores it on a base of 50 with that section's rules: who is behind it and its reserves for tokenized assets, fees, revenue, audits and hacks for DeFi, real activity for games, public code for AI, whether the token earns from the business (buybacks, burns) for apps. It is a pure function: the data that is not on chain comes in `perfil`, one entry of a daily file (SolFlag builds it from DefiLlama, Jupiter, GitHub and Streamflow). Without it, a known issuer is `rwa` and anything else is scored with the meme rules, which only use the chain.
108
+
109
+ It returns `{ap, pts, tier, cap, floor, trap, checks}`: `pts` fills a bar up to 110, `checks` gives each check its colour (`suma`, `resta`, `grave`, `neutro`, `falta` = not known yet, never counted). Fixed rules: a trap is red; diamond only for the hand-reviewed list with 90 points or more, and the list is green at least; a token born in a launchpad is scored as a meme (green at best) and is yellow at best under 7 days. `lvl` and `tier` stay as they were.
110
+
105
111
  ### Results
106
112
 
107
113
  ```js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solana-risk-engine",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Explainable risk analysis for Solana tokens and wallets: creator control, real holder concentration, inflated liquidity, impostor tokens, funder clusters and PnL. Zero dependencies, runs in Node and the browser.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
package/src/index.js CHANGED
@@ -54,6 +54,7 @@ export { rugcheckSummary, rugcheckReport, rugcheckGraph, netBalances, creatorLau
54
54
  export { score, issuerOf, trustedIssuer, issuerKeysChanged, setIssuers, tokenType, buildLights, levelFrom, dataOnly, reasonsFrom, assess, SERIAL_WARN, SERIAL_BAD, HISTORY_MIN, HISTORY_WARN, HISTORY_BAD_MIN, HISTORY_BAD } from "./risk.js";
55
55
  export { recentLaunches, chainLaunches } from "./launch.js";
56
56
  export { TIERS, NEW_CAP_DAYS, TRAPS, BIG_PROJECTS, tierFrom } from "./tier.js";
57
+ export { PERFILES, BIG_EXTRA, scoreProfile, sectionOf, bornInLaunchpad } from "./perfil.js";
57
58
  export { analyzeToken, analyzeWallet, analyzeAddress, sortResults } from "./wallet.js";
58
59
  export { holderBase, markBusy, onlyReceives, PASSIVE_SAMPLE, findFunder, findFunders, clusterByFunder, holderRows, creatorInfo, analyzeHolders,
59
60
  perHour, sourceRates, groupList, EXCHANGE_PER_HOUR, RATE_MIN_SIGS, YOUNG_DAYS, HOLD_GROUP_YOUNG, HOLD_GROUP_MATURE } from "./holders.js";
package/src/perfil.js ADDED
@@ -0,0 +1,175 @@
1
+ // Points by section (perfil), 21/11/2026 — agreed with the user section by section on real tokens (mockups in
2
+ // maquetas/web/escaner-*.html). Pure function: no network. It takes what assess() already found on chain (lights,
3
+ // pair, creator) plus the daily profile of the token (perfiles.json, built by the Ecosystem job: fees, revenue,
4
+ // what goes back to the token, activity, code, unlocks, hacks...) and returns its section, points (base 50, bar
5
+ // up to 110), the colour of each check and the tier. The old risk level (lvl) and tierFrom() are left untouched.
6
+ //
7
+ // Sections: meme · rwa (tokenized assets) · defi · juegos (games) · ia (AI) · apps (apps and bots) · otros (other).
8
+ // Fixed rules for all of them: a trap is RED; DIAMOND only for the hand-reviewed list (BIG_PROJECTS, trusted
9
+ // issuers) and then with 90 points or more, and the list is GREEN at least; a token born in a launchpad (Pump.fun…)
10
+ // is scored as a meme (plus code for AI and business for apps/other) and GREEN is its best; under 7 days, YELLOW.
11
+ // What we do not have yet ("falta") never adds or subtracts.
12
+
13
+ import { BIG_PROJECTS, TRAPS, NEW_CAP_DAYS } from "./tier.js";
14
+
15
+ export const PERFILES = ["meme", "rwa", "defi", "juegos", "ia", "apps", "otros"];
16
+ // Big projects added with the points by section (21/11): Pump.fun — one company (launchpad, PumpSwap, Terminal,
17
+ // mobile app, perps) that buys back its token with part of what it earns
18
+ export const BIG_EXTRA = { pumpCmXqMfrsAkQ5r49WcJnRayYRqmXz6ae8H7H9Dfn: "Pump.fun" };
19
+ // In a project (not a meme) minting is a minus, not a trap: games and networks mint rewards on purpose
20
+ const TRAPS_PROY = ["MKT_LP_UNLOCKED", "MKT_FAKE_VOLUME", "IMPOSTOR", "BRAND_COPY", "COPYCAT", "MKT_LIQ_INFLATED"];
21
+ const DAY = 86400000, YEAR = 365 * DAY;
22
+
23
+ function itemsOf(res) {
24
+ const it = [];
25
+ (res.lights || []).forEach(function (l) { (l.items || []).forEach(function (x) { it.push(x); }); });
26
+ return it;
27
+ }
28
+ // launchpad: the address of Pump.fun / Bonk tokens ends in pump / bonk, or it is still on the launchpad's curve.
29
+ // Not PumpSwap: other tokens trade there too (PUMP itself). A token on the reviewed list is never "launchpad".
30
+ export function bornInLaunchpad(res) {
31
+ const p = res.pair || {};
32
+ if (BIG_PROJECTS[res.mint] || BIG_EXTRA[res.mint]) return false;
33
+ return /(pump|bonk)$/i.test(res.mint || "") || /^(pumpfun|launchlab)$/i.test(p.dexId || "");
34
+ }
35
+ function reviewed(res, it) {
36
+ return !!(res.tierBig || BIG_PROJECTS[res.mint] || BIG_EXTRA[res.mint]) ||
37
+ it.some(function (x) { return x.code === "DEP_TRUSTED_ISSUER" || x.code === "CTL_KNOWN_ISSUER"; });
38
+ }
39
+
40
+ /** Section of a token: the profile's (daily file) or, without one, from what is on chain. */
41
+ export function sectionOf(res, perfil) {
42
+ if (perfil && PERFILES.indexOf(perfil.ap) >= 0) return perfil.ap;
43
+ const it = itemsOf(res);
44
+ if (it.some(function (x) { return x.code === "DEP_TRUSTED_ISSUER" || x.code === "CTL_KNOWN_ISSUER" || x.code === "DEP_KNOWN_ISSUER" || x.code === "DEP_STABLE_ISSUER"; })) return "rwa";
45
+ return "meme"; // no data: only what is on chain, which is what the meme rules use
46
+ }
47
+
48
+ /**
49
+ * Points by section.
50
+ * @param res assess() result for a token with a market (lights, pair, mint, tierBig, creator)
51
+ * @param perfil its entry in perfiles.json, or null. Fields (all optional): ap, f30 (fees 30 d, $), c (fees change
52
+ * vs the 30 days before, 0.1 = +10 %), r30 (revenue), h30 (what goes back to the token: buybacks, burns
53
+ * or sharing), tvl, aud (audits), hk [{d: unix s, p: $ lost and not returned}], desde (listed, unix s),
54
+ * trad (traders 24 h), org (organic score 0-100), tit (holders), titC (holders change 24 h, 0.01 = 1 %),
55
+ * cod {dias} (days since the last change in its public code; null = no code linked), dl {lib, bloq}
56
+ * (% of supply unlocked in 30 days and still locked; null = no Streamflow contracts),
57
+ * desv (price vs the real asset, 0.01 = 1 %), res (reserves: "si" | "parcial"), uso (true: used a lot)
58
+ * @param [o.now] time (ms)
59
+ * @returns {ap, pts, tier, cap, floor, trap, checks:[{k, col, p, d}]} col: suma | resta | grave | neutro | falta
60
+ */
61
+ export function scoreProfile(res, perfil, o) {
62
+ o = o || {};
63
+ const now = o.now || Date.now();
64
+ const P = perfil || {};
65
+ const it = itemsOf(res);
66
+ const has = function (c) { return it.some(function (x) { return x.code === c; }); };
67
+ const pair = res.pair || {};
68
+ const liq = (pair.liquidity && pair.liquidity.usd) || 0, vol = (pair.volume && pair.volume.h24) || 0;
69
+ const dias = pair.pairCreatedAt ? (now - pair.pairCreatedAt) / DAY : null;
70
+ const conc = it.filter(function (x) { return x.data && x.data.w1 != null; })[0];
71
+ const w1 = conc ? conc.data.w1 : null, w10 = conc ? conc.data.w10 : null;
72
+ const ap = sectionOf(res, perfil), lanz = bornInLaunchpad(res), rev = reviewed(res, it);
73
+ const forced = !!(res.impostor || has("IMPOSTOR") || has("BRAND_COPY"));
74
+ let n = 50; const checks = [];
75
+ const add = function (k, p, d, col) {
76
+ n += p;
77
+ checks.push({ k: k, p: p, d: d === undefined ? null : d, col: col || (p > 0 ? "suma" : p <= -20 ? "grave" : p < 0 ? "resta" : "neutro") });
78
+ };
79
+ const falta = function (k) { checks.push({ k: k, p: 0, d: null, col: "falta" }); };
80
+ let trap = false, dead = false, memeRules = ap === "meme" || (lanz && ap !== "rwa" && ap !== "defi");
81
+
82
+ if (ap === "rwa") {
83
+ // tokenized assets: who is behind matters more than liquidity (the issuer can bring liquidity from elsewhere)
84
+ if (forced) { trap = true; add("copia", 0, null, "grave"); }
85
+ add("oficial", rev ? 25 : -10);
86
+ if (has("CTL_ISSUER_KEYS_CHANGED")) add("claves", -30); else if (rev) add("claves", 5);
87
+ if (P.desv == null) falta("precio");
88
+ else if (Math.abs(P.desv) > 0.2) add("precio", 0, P.desv, "falta"); // over 20 % is a data error to review
89
+ else add("precio", Math.abs(P.desv) < 0.005 ? 10 : Math.abs(P.desv) <= 0.02 ? 0 : -15, P.desv);
90
+ if (P.res === "si") add("reservas", 10); else if (P.res === "parcial") add("reservas", 5); else falta("reservas");
91
+ add("liquidez", liq >= 1e5 ? 5 : liq >= 2e4 ? 0 : -5, liq);
92
+ if (has("DEP_PERMANENT_DELEGATE")) add("mover", -5);
93
+ if (has("CTL_TRANSFER_FEE")) add("comision", rev ? -15 : -5);
94
+ if (P.uso) add("uso", 5);
95
+ } else if (memeRules) {
96
+ trap = forced || it.some(function (x) { return x.s === "bad" && TRAPS.indexOf(x.code) >= 0; });
97
+ if (has("CTL_FREEZE_ACTIVE")) add("control", -25);
98
+ else if (has("CTL_TRANSFER_FEE") || has("CTL_TRANSFER_HOOK")) add("control", -10);
99
+ else if (has("CTL_NONE") || has("CTL_ONLY_PROGRAMS")) add("control", 15);
100
+ if (w10 != null) add("reparto", w10 < 25 ? 10 : w10 > 60 ? -20 : w10 > 40 ? -10 : 0, w10);
101
+ if (w1 != null && w1 > 15) add("wallet", w1 > 50 ? -35 : w1 > 30 ? -15 : -5, w1);
102
+ add("liquidez", liq >= 1e5 ? 10 : liq >= 5e4 ? 5 : liq >= 2e4 ? -5 : liq >= 1e4 ? -10 : liq >= 1e3 ? -25 : -40, liq);
103
+ if (liq < 1e3) dead = true;
104
+ if (has("MKT_LP_PARTLY_LOCKED")) add("lp", -10);
105
+ add("volumen", vol >= 1e4 ? 5 : vol < 1e3 ? -5 : 0, vol);
106
+ if (dias != null) add("edad", dias >= 365 ? 10 : dias >= 30 ? 5 : dias >= 7 ? 0 : dias >= 1 ? -5 : -10, dias);
107
+ const cr = res.creator;
108
+ if (cr && cr.old > 0 && !cr.dead) add("creador", 5);
109
+ if (ap === "ia") codigo();
110
+ if (ap === "apps" || ap === "otros") negocio();
111
+ } else {
112
+ // a project (defi, games, AI, apps, other): what it earns and whether it is used matter, not only the market
113
+ trap = forced || it.some(function (x) { return x.s === "bad" && TRAPS_PROY.indexOf(x.code) >= 0; });
114
+ add("oficial", 15);
115
+ if (P.f30 == null) falta("comisiones");
116
+ else {
117
+ add("comisiones", P.f30 >= 1e6 ? 10 : P.f30 >= 1e5 ? 5 : P.f30 < 1e4 ? -5 : 0, P.f30);
118
+ if (P.c != null) add("tendencia", P.c > 0.1 ? 5 : P.c < -0.3 ? -5 : 0, P.c);
119
+ }
120
+ if (P.r30 != null && P.r30 >= 1e4) add("ingresos", 5, P.r30);
121
+ if (ap === "defi") {
122
+ if (P.tvl) add("depositos", P.tvl >= 1e8 ? 5 : P.tvl < 1e6 ? -5 : 0, P.tvl);
123
+ if (P.aud) add("auditorias", 10, P.aud); else falta("auditorias");
124
+ }
125
+ if (ap === "apps" || ap === "otros") negocio();
126
+ if (ap === "ia") codigo();
127
+ if (ap !== "defi") {
128
+ if (P.trad != null) add("traders", P.trad >= 1000 ? 10 : P.trad >= 100 ? 5 : P.trad < 20 ? -10 : 0, P.trad);
129
+ if (P.org != null) add("organico", P.org >= 50 ? 5 : P.org < 15 ? -10 : 0, P.org);
130
+ if (P.tit != null) add("titulares", P.tit >= 1e5 ? 10 : P.tit >= 1e4 ? 5 : P.tit < 1000 ? -5 : 0, P.tit);
131
+ if (ap === "juegos" && P.titC != null) add("titularesC", P.titC > 0.01 ? 5 : P.titC < -0.02 ? -5 : 0, P.titC);
132
+ }
133
+ if (has("CTL_MINT_ACTIVE")) add("crear", -10);
134
+ if (has("CTL_FREEZE_ACTIVE")) add("congelar", -10);
135
+ if (P.dl === undefined || P.dl === null) falta("desbloqueos");
136
+ else add("desbloqueos", P.dl.lib > 2 ? -15 : P.dl.lib > 0.5 ? -5 : 0, P.dl);
137
+ if (w1 != null && w1 > 30) add("wallet", w1 > 50 ? -15 : -5, w1);
138
+ add("liquidez", liq >= 1e5 ? 5 : liq < 2e4 ? -15 : 0, liq);
139
+ if (ap === "defi") { if (P.desde && now / 1000 - P.desde > 2 * 365 * 86400) add("edad", 5); }
140
+ else if (dias != null && dias > 365) add("edad", 5);
141
+ hackeos();
142
+ }
143
+
144
+ function codigo() { // AI: is there public code and is it moving? No code linked does not subtract
145
+ if (!P.cod || P.cod.dias == null) falta("codigo");
146
+ else add("codigo", P.cod.dias <= 30 ? 10 : P.cod.dias <= 90 ? 5 : P.cod.dias > 180 ? -5 : 0, P.cod.dias);
147
+ }
148
+ function negocio() { // apps and other: does the token earn from the business (buybacks, burns, sharing)?
149
+ if (P.h30 != null && P.h30 >= 1e4) add("negocio", P.h30 >= 1e5 ? 10 : 5, P.h30);
150
+ else checks.push({ k: "negocio", p: 0, d: P.h30 == null ? null : P.h30, col: P.h30 == null ? "falta" : "neutro" });
151
+ }
152
+ function hackeos() {
153
+ const hk = P.hk || [], year = now / 1000 - 365 * 86400;
154
+ const rec = hk.filter(function (h) { return h.d > year; }), lost = rec.reduce(function (a, h) { return a + (h.p || 0); }, 0);
155
+ if (ap === "defi") {
156
+ if (rec.length) add("hackeo", lost >= 1e8 ? -40 : lost >= 1e7 ? -25 : lost > 0 ? -15 : -5, lost);
157
+ else if (hk.length) add("hackeo", -5, 0);
158
+ } else if (rec.length) add("hackeo", -15, lost);
159
+ }
160
+
161
+ // tier
162
+ const listed = !!(res.tierBig || BIG_PROJECTS[res.mint] || BIG_EXTRA[res.mint]);
163
+ let tier = (trap || dead) ? "RED" : n >= 75 ? "GREEN" : n >= 50 ? "YELLOW" : n >= 25 ? "ORANGE" : "RED";
164
+ let cap = false, floor = false;
165
+ if (!trap && !dead) {
166
+ if (ap === "rwa") {
167
+ if (rev && !has("CTL_ISSUER_KEYS_CHANGED")) { if (n >= 90) tier = "DIAMOND"; else if (tier !== "GREEN") { tier = "GREEN"; floor = true; } }
168
+ else if (tier === "GREEN") tier = "YELLOW"; // an unreviewed issuer is YELLOW at best
169
+ } else if (listed && !memeRules) {
170
+ if (n >= 90) tier = "DIAMOND"; else if (tier !== "GREEN") { tier = "GREEN"; floor = true; }
171
+ }
172
+ if (memeRules && dias != null && dias < NEW_CAP_DAYS && tier === "GREEN") { tier = "YELLOW"; cap = true; }
173
+ }
174
+ return { ap: ap, lanz: lanz && memeRules && ap !== "meme", pts: n, tier: tier, cap: cap, floor: floor, trap: trap, dead: dead, checks: checks };
175
+ }
package/src/risk.js CHANGED
@@ -6,6 +6,7 @@ import { impostorOf, brandOf, copiesOf, fakeLiquidity, washTrades, washSignal }
6
6
  import { rugcheckSummary, creatorLaunches } from "./rugcheck.js";
7
7
  import { chainLaunches } from "./launch.js";
8
8
  import { tierFrom } from "./tier.js";
9
+ import { scoreProfile } from "./perfil.js";
9
10
 
10
11
  // Every finding is a "signal": {code, s, data}. `s` is ok | na | warn | bad, `data` holds the numbers
11
12
  // behind it. Turning signals into sentences is i18n's job (describe / explainLight), never the engine's.
@@ -298,7 +299,9 @@ export function reasonsFrom(lights) {
298
299
  * @param [opts.skipConcentration]
299
300
  * @param [opts.skipCreator] do not ask RugCheck what else the creator launched (markets under 7 days only)
300
301
  * @param [opts.noGecko] do not ask GeckoTerminal who trades it (fake volume)
301
- * @returns null for NFTs, otherwise {mint, sym, name, lvl, sev, pts, type, lights, reasons, impostor, value, pair, img}
302
+ * @param [opts.perfil] the token's entry in the daily perfiles.json (or null if it is not there): adds
303
+ * `perfil` = points by section (scoreProfile in perfil.js). Left out: no `perfil`
304
+ * @returns null for NFTs, otherwise {mint, sym, name, lvl, sev, pts, type, lights, reasons, impostor, value, pair, img, perfil?}
302
305
  */
303
306
  export async function assess(client, mint, pair, opts) {
304
307
  opts = opts || {};
@@ -400,7 +403,7 @@ export async function assess(client, mint, pair, opts) {
400
403
  if (rot) reasons.unshift(sig("CTL_ISSUER_KEYS_CHANGED", "warn", { issuer: rot.issuer, keys: rot.keys }));
401
404
  }
402
405
  }
403
- return {
406
+ const out = {
404
407
  mint: mint, sym: base.symbol || short(mint), name: base.name || "", pts: pts, sev: sev,
405
408
  lvl: lvl, tier: tier ? tier.tier : null, tierCap: tier ? tier.cap : false, tierCapUntil: tier ? tier.capUntil : null, tierBig: tier ? tier.big : null,
406
409
  type: type, lights: lights, reasons: reasons, impostor: imp, copies: copies, value: value, pair: pair,
@@ -408,4 +411,8 @@ export async function assess(client, mint, pair, opts) {
408
411
  creator: launches, trades: wash,
409
412
  img: (pair && pair.info && pair.info.imageUrl) || null
410
413
  };
414
+ // points by section (perfil.js, 21/11): only with a market and when the caller passes the daily profile
415
+ // (opts.perfil: the entry of perfiles.json, or null for a token not in it). lvl and tier stay as they were
416
+ if (pair && opts.perfil !== undefined) out.perfil = scoreProfile(out, opts.perfil);
417
+ return out;
411
418
  }
package/src/wallet.js CHANGED
@@ -30,7 +30,7 @@ export async function analyzeToken(client, mint, opts) {
30
30
  await geckoLiquidity(client, mkr.data[mint]);
31
31
  }
32
32
  progress(opts.onProgress, "token", 0.45);
33
- const r = await assess(client, mint, mkr.data[mint] || null, { marketUnknown: mkr.failed.length > 0, skipConcentration: opts.skipConcentration, skipCreator: opts.skipCreator, copies: opts.copies !== false, noGecko: opts.noGecko });
33
+ const r = await assess(client, mint, mkr.data[mint] || null, { marketUnknown: mkr.failed.length > 0, skipConcentration: opts.skipConcentration, skipCreator: opts.skipCreator, copies: opts.copies !== false, noGecko: opts.noGecko, perfil: opts.perfil });
34
34
  if (!r) throw new ScanError("IS_NFT", "that address is an NFT, not a token");
35
35
  progress(opts.onProgress, "done", 1);
36
36
  return r;