solana-risk-engine 0.8.0 → 0.8.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/package.json +1 -1
- package/src/tokens.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solana-risk-engine",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
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/tokens.js
CHANGED
|
@@ -125,7 +125,7 @@ export async function getConc(client, mint, supply) {
|
|
|
125
125
|
const k = knownWallet(o);
|
|
126
126
|
if (kind[o] === "wallet" && k && k.t === "exchange") { ex += agg[o]; exs[k.n] = (exs[k.n] || 0) + agg[o]; } // users' funds, not one person
|
|
127
127
|
else if (kind[o] === "wallet") {
|
|
128
|
-
ws.push(agg[o]);
|
|
128
|
+
ws.push(agg[o]); wo.push([o, agg[o]]);
|
|
129
129
|
if (k && k.t === "market_maker") { mm += agg[o]; mms[k.n] = (mms[k.n] || 0) + agg[o]; } // named, still counted
|
|
130
130
|
}
|
|
131
131
|
else prog += agg[o];
|