solana-agent-kit-plugin-madeonsol 1.16.1 → 1.17.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.md +12 -1
- package/dist/actions/deployerHistory.d.ts +38 -0
- package/dist/actions/deployerHistory.js +23 -0
- package/dist/actions/tokenPools.d.ts +33 -0
- package/dist/actions/tokenPools.js +22 -0
- package/dist/actions/wallet.d.ts +42 -0
- package/dist/actions/wallet.js +36 -1
- package/dist/index.d.ts +87 -5
- package/dist/index.js +13 -5
- package/dist/tools/index.d.ts +27 -0
- package/dist/tools/index.js +33 -1
- package/dist/version.d.ts +1 -0
- package/dist/version.js +2 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -9,8 +9,12 @@
|
|
|
9
9
|
|
|
10
10
|
[Solana Agent Kit](https://github.com/sendaifun/solana-agent-kit) plugin for [MadeOnSol](https://madeonsol.com) — Solana KOL intelligence, deployer analytics, bundle-cohort held-% signals, and wallet tracking.
|
|
11
11
|
|
|
12
|
-
> Real-time Solana trading intelligence: track 1,069 KOL wallets with <3s latency, score 23,000+ Pump.fun deployers, surface deshred deploy signals ~500ms before on-chain confirmation, detect multi-KOL coordination, and stream every DEX trade. Free tier: 200 requests/day, every endpoint — no signup payment. Get a key at [madeonsol.com/pricing](https://madeonsol.com/pricing).
|
|
12
|
+
> Real-time Solana trading intelligence: track 1,069 KOL wallets with <3s latency, score 23,000+ Pump.fun deployers, verify any wallet's CURRENT on-chain holdings straight from its token accounts, surface deshred deploy signals ~500ms before on-chain confirmation, detect multi-KOL coordination, and stream every DEX trade. Free tier: 200 requests/day, every endpoint — no signup payment. Get a key at [madeonsol.com/pricing](https://madeonsol.com/pricing).
|
|
13
13
|
|
|
14
|
+
> **New in 1.17.0** — **Verified on-chain wallet holdings.** New tool `walletHoldings()` + action `MADEONSOL_WALLET_HOLDINGS_ACTION` — the wallet's CURRENT holdings read straight from chain: its actual SPL + Token-2022 token accounts and SOL balance, each enriched with `price_usd` / `value_usd` / `market_cap_usd` / `name` / `symbol` / `is_bonded`, plus `transfer_delta` (on-chain amount − trade-derived net position — exposes non-swap flows like airdrops, insider funding, wallet-hopping). Distinct from `walletPositions()` (trade-derived FIFO): this is what the wallet *actually* holds right now. Params: `limit` (1–500, default 200), `min_value_usd` (default 0). Returns `{ address, sol_balance, holdings[], summary, verified_at, trade_window_days, cache_hit, ttl_seconds }`. ULTRA only.
|
|
15
|
+
>
|
|
16
|
+
> **New in 1.16.2** — **Per-venue liquidity map + deployer reputation history.** New tool `tokenPools()` + action `MADEONSOL_TOKEN_POOLS_ACTION` — every DEX pool a token trades in (live vs parked), with fragmentation and top-pool share. Returns a `pools[]` list (`pool_address`, `dex`, `quote_mint`, `liquidity_usd`, `last_price_sol`, `last_swap_at`, `amm_id`, `is_active`) and a `summary` (`pool_count`, `active_pool_count`, `dex_count`, `dexes`, `total_liquidity_usd`, `primary_pool`, `primary_dex`, `top_pool_share_pct`). New tool `deployerHistory()` + action `MADEONSOL_DEPLOYER_HISTORY_ACTION` — a deployer's daily reputation time-series to backtest "was this deployer elite when it launched token X?" without look-ahead bias. Returns `{ is_deployer, wallet, snapshots[] }` where each snapshot has `date`, `tier`, `is_tracked`, `total_deployed`, `total_bonded`, `bonding_rate`, `recent_bond_rate`, `avg_peak_mc`, `best_token_peak_mc` (`limit` = 1–365 days, default 90). Both PRO/ULTRA only.
|
|
17
|
+
>
|
|
14
18
|
> **New in 1.16.0** — **Bundle-cohort holdings.** New tool `tokenBundle()` + action `MADEONSOL_TOKEN_BUNDLE_ACTION` — which same-slot "bundle" wallets (≥3 buying in one slot) bought a token and how much of supply they STILL hold, from confirmed on-chain data. Returns a `bundle` summary (`wallet_count`, `bundle_kind` [`atomic_tx`/`same_slot`/`none`], `held_ratio`, **`held_pct_of_supply`** [the headline rug/insider signal], `fully_exited`, `buy_volume`, `tokens_held`) plus a `wallets[]` list (`rank`, `wallet`, `held_ratio`, `has_sold`, `atomic`, `is_kol`). BASIC get the `bundle` block only (`wallets: []`); PRO gets top-10 flags-only; ULTRA adds full holdings + wallet identity (`kol_name`, `win_rate`, `bot_confidence`, `tokens_held`). PRO/ULTRA only.
|
|
15
19
|
>
|
|
16
20
|
> **New in 1.15.0** — **Batch risk scoring + WebSocket session control.** New tool `tokenRiskBatch()` + action `MADEONSOL_TOKEN_RISK_BATCH_ACTION` — bulk 0–100 rug-risk/safety scoring for 1–50 mints in one call (`{ tokens, count }`, same per-mint shape as `tokenRisk()` plus an `as_of` ISO string; untracked mints come back as `{ mint, error: "not_tracked" }` without failing the batch; counts as one request). New tools `streamSessions()` / `streamSessionKill({ id })` + actions `MADEONSOL_STREAM_SESSIONS_ACTION` / `MADEONSOL_STREAM_SESSION_KILL_ACTION` — list your live ws-streaming/dex-stream sessions (`id`, `service`, `tier`, `channels[]`, `connected_at`, `remote_ip`, `messages_sent`) and evict one by id to free a connection slot. PRO/ULTRA only.
|
|
@@ -112,11 +116,14 @@ const events = await agent.methods.walletTrackerTrades(agent, { limit: 50 });
|
|
|
112
116
|
| `MADEONSOL_WALLET_STATS_ACTION` | **New 1.8** · "wallet stats", "wallet info", "check wallet" — aggregate 90d stats + cross-product flags (KOL/alpha/deployer) for any Solana wallet (PRO+) |
|
|
113
117
|
| `MADEONSOL_WALLET_PNL_ACTION` | **New 1.8** · "wallet pnl", "wallet profit", "wallet performance" — FIFO cost-basis PnL with profit factor, drawdown, daily curve, closed + open positions (PRO+) |
|
|
114
118
|
| `MADEONSOL_WALLET_POSITIONS_ACTION` | **New 1.8** · "wallet positions", "wallet bags", "open positions" — open lots with live unrealized SOL (PRO+) |
|
|
119
|
+
| `MADEONSOL_WALLET_HOLDINGS_ACTION` | **New 1.17** · "wallet holdings", "current holdings", "what does wallet actually hold" — verified CURRENT on-chain holdings (real SPL + Token-2022 accounts + SOL) enriched with price/MC/name, plus `transfer_delta` vs trade-derived position (ULTRA only) |
|
|
115
120
|
| `MADEONSOL_WALLET_TRADES_ACTION` | **New 1.8** · "wallet trades", "wallet history" — cursor-paginated raw trades with filters (PRO+) |
|
|
116
121
|
| `MADEONSOL_TOKEN_FLOW_ACTION` | **New 1.13** · "token flow", "net flow", "buy/sell pressure" — net buy/sell flow over a 1h/24h window (PRO+) |
|
|
117
122
|
| `MADEONSOL_TOKEN_RISK_BATCH_ACTION` | **New 1.15** · "batch token risk", "bulk rug risk", "score many tokens" — rug-risk scoring for 1–50 mints in one call; untracked mints don't fail the batch (PRO+) |
|
|
118
123
|
| `MADEONSOL_STREAM_SESSIONS_ACTION` | **New 1.15** · "list stream sessions", "live websocket sessions", "active ws sessions" — your live ws-streaming/dex-stream sessions (PRO+) |
|
|
119
124
|
| `MADEONSOL_STREAM_SESSION_KILL_ACTION` | **New 1.15** · "kill stream session", "evict session", "free a connection slot" — evict a live streaming session by id (PRO+) |
|
|
125
|
+
| `MADEONSOL_TOKEN_POOLS_ACTION` | **New 1.16.2** · "token pools", "liquidity map", "which dex pools", "pool fragmentation" — per-venue liquidity map (live vs parked pools) + top-pool share (PRO+) |
|
|
126
|
+
| `MADEONSOL_DEPLOYER_HISTORY_ACTION` | **New 1.16.2** · "deployer history", "deployer reputation over time", "was this deployer elite" — a deployer's daily reputation time-series, backtest without look-ahead bias (PRO+) |
|
|
120
127
|
|
|
121
128
|
## Additional methods (v1.0+)
|
|
122
129
|
|
|
@@ -140,9 +147,11 @@ await agent.methods.tokenBuyerQuality(agent, { mint: "MINT" }); // 0–1
|
|
|
140
147
|
await agent.methods.tokenRisk(agent, { mint: "MINT" }); // PRO+ 0–100 rug-risk/safety score + band + factors
|
|
141
148
|
await agent.methods.tokenRiskBatch(agent, { mints: ["MINT_A", "MINT_B"] }); // PRO+ bulk rug-risk for 1–50 mints → { tokens, count }; one request
|
|
142
149
|
await agent.methods.tokenBundle(agent, { mint: "MINT" }); // PRO+ bundle-cohort holdings: held_pct_of_supply signal; ULTRA=+wallet identity
|
|
150
|
+
await agent.methods.tokenPools(agent, { mint: "MINT" }); // PRO+ per-venue liquidity map: live vs parked pools, fragmentation, top-pool share
|
|
143
151
|
await agent.methods.tokenCandles(agent, { mint: "MINT", tf: "1h" }); // PRO+ OHLCV candles (1m–1d); ULTRA=+net flow, liquidity, full history
|
|
144
152
|
await agent.methods.tokenFlow(agent, { mint: "MINT", window: "24h" }); // PRO+ net buy/sell flow (1h/24h): unique wallets, buy/sell/net SOL, trades-per-wallet
|
|
145
153
|
await agent.methods.almostBonded(agent, { min_progress: 90, sort: "eta_asc" }); // PRO+ pre-bond pump.fun tokens by velocity: progress, ETA, stalled, deployer tier
|
|
154
|
+
await agent.methods.deployerHistory(agent, { wallet: "WALLET", limit: 90 }); // PRO+ deployer daily reputation time-series (1–365d): tier, bonding_rate, peak MC — no look-ahead
|
|
146
155
|
```
|
|
147
156
|
|
|
148
157
|
> Deployer alerts (`MADEONSOL_DEPLOYER_ALERTS_ACTION` / `agent.methods.deployerAlerts()`) now include `deployer_sol_balance` — the deployer wallet's SOL balance at alert time (`null` for historical rows).
|
|
@@ -304,6 +313,8 @@ console.log(lastRateLimit); // { limit: "10000", remaining: "9999", reset: "..."
|
|
|
304
313
|
|
|
305
314
|
Free tier returns the full REST response shape on every endpoint — real wallets, TX signatures, full precision. Paid tiers unlock webhooks, WebSockets, rule engines, and ULTRA-only data depth. Get a key at [madeonsol.com/pricing](https://madeonsol.com/pricing).
|
|
306
315
|
|
|
316
|
+
New customers get a 5-day free trial of Pro or Ultra when you pay by card — full access, nothing charged during the trial, cancel anytime. Start at https://madeonsol.com/pricing
|
|
317
|
+
|
|
307
318
|
## Also Available
|
|
308
319
|
|
|
309
320
|
| Platform | Package |
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const deployerHistoryAction: {
|
|
3
|
+
name: string;
|
|
4
|
+
similes: string[];
|
|
5
|
+
description: string;
|
|
6
|
+
examples: {
|
|
7
|
+
input: {
|
|
8
|
+
wallet: string;
|
|
9
|
+
limit: number;
|
|
10
|
+
};
|
|
11
|
+
output: {
|
|
12
|
+
status: string;
|
|
13
|
+
};
|
|
14
|
+
explanation: string;
|
|
15
|
+
}[][];
|
|
16
|
+
schema: z.ZodObject<{
|
|
17
|
+
wallet: z.ZodString;
|
|
18
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
limit: number;
|
|
21
|
+
wallet: string;
|
|
22
|
+
}, {
|
|
23
|
+
wallet: string;
|
|
24
|
+
limit?: number | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
handler: (agent: unknown, input: {
|
|
27
|
+
wallet: string;
|
|
28
|
+
limit?: number;
|
|
29
|
+
}) => Promise<{
|
|
30
|
+
status: string;
|
|
31
|
+
result: any;
|
|
32
|
+
message?: undefined;
|
|
33
|
+
} | {
|
|
34
|
+
status: string;
|
|
35
|
+
message: string;
|
|
36
|
+
result?: undefined;
|
|
37
|
+
}>;
|
|
38
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { deployerHistory } from "../tools/index.js";
|
|
3
|
+
export const deployerHistoryAction = {
|
|
4
|
+
name: "MADEONSOL_DEPLOYER_HISTORY_ACTION",
|
|
5
|
+
similes: ["deployer history", "deployer reputation over time", "was this deployer elite", "deployer tier time-series", "backtest deployer reputation", "deployer daily snapshots"],
|
|
6
|
+
description: "Get a deployer's daily reputation time-series — backtest \"was this deployer elite when it launched token X?\" without look-ahead bias. Returns `{ is_deployer, wallet, snapshots[] }` where each snapshot has `date`, `tier`, `is_tracked`, `total_deployed`, `total_bonded`, `bonding_rate`, `recent_bond_rate`, `avg_peak_mc`, `best_token_peak_mc`. `limit` is the number of days of history (1–365, default 90). PRO/ULTRA only — BASIC receives HTTP 403.",
|
|
7
|
+
examples: [
|
|
8
|
+
[{ input: { wallet: "5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1", limit: 90 }, output: { status: "success" }, explanation: "What was this deployer's reputation tier over the last 90 days?" }],
|
|
9
|
+
],
|
|
10
|
+
schema: z.object({
|
|
11
|
+
wallet: z.string().describe("Deployer wallet address (base58)"),
|
|
12
|
+
limit: z.number().min(1).max(365).default(90).describe("Days of history to return (1–365)"),
|
|
13
|
+
}),
|
|
14
|
+
handler: async (agent, input) => {
|
|
15
|
+
try {
|
|
16
|
+
const data = await deployerHistory(agent, input);
|
|
17
|
+
return { status: "success", result: data };
|
|
18
|
+
}
|
|
19
|
+
catch (err) {
|
|
20
|
+
return { status: "error", message: err.message };
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const tokenPoolsAction: {
|
|
3
|
+
name: string;
|
|
4
|
+
similes: string[];
|
|
5
|
+
description: string;
|
|
6
|
+
examples: {
|
|
7
|
+
input: {
|
|
8
|
+
mint: string;
|
|
9
|
+
};
|
|
10
|
+
output: {
|
|
11
|
+
status: string;
|
|
12
|
+
};
|
|
13
|
+
explanation: string;
|
|
14
|
+
}[][];
|
|
15
|
+
schema: z.ZodObject<{
|
|
16
|
+
mint: z.ZodString;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
mint: string;
|
|
19
|
+
}, {
|
|
20
|
+
mint: string;
|
|
21
|
+
}>;
|
|
22
|
+
handler: (agent: unknown, input: {
|
|
23
|
+
mint: string;
|
|
24
|
+
}) => Promise<{
|
|
25
|
+
status: string;
|
|
26
|
+
result: any;
|
|
27
|
+
message?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
status: string;
|
|
30
|
+
message: string;
|
|
31
|
+
result?: undefined;
|
|
32
|
+
}>;
|
|
33
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { tokenPools } from "../tools/index.js";
|
|
3
|
+
export const tokenPoolsAction = {
|
|
4
|
+
name: "MADEONSOL_TOKEN_POOLS_ACTION",
|
|
5
|
+
similes: ["token pools", "liquidity map", "which dex pools", "pool fragmentation", "where does this token trade", "top pool share"],
|
|
6
|
+
description: "Get the per-venue liquidity map for a Solana token — every DEX pool the token trades in (live vs parked), plus how fragmented its liquidity is and what share sits in the top pool. Returns a `pools[]` list (`pool_address`, `dex`, `quote_mint`, `liquidity_usd`, `last_price_sol`, `last_swap_at`, `amm_id`, `is_active`) and a `summary` (`pool_count`, `active_pool_count`, `dex_count`, `dexes`, `total_liquidity_usd`, `primary_pool`, `primary_dex`, `top_pool_share_pct`). PRO/ULTRA only — BASIC receives HTTP 403.",
|
|
7
|
+
examples: [
|
|
8
|
+
[{ input: { mint: "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU" }, output: { status: "success" }, explanation: "Which DEX pools does this token trade in, and how fragmented is its liquidity?" }],
|
|
9
|
+
],
|
|
10
|
+
schema: z.object({
|
|
11
|
+
mint: z.string().describe("Token mint address (base58)"),
|
|
12
|
+
}),
|
|
13
|
+
handler: async (agent, input) => {
|
|
14
|
+
try {
|
|
15
|
+
const data = await tokenPools(agent, input);
|
|
16
|
+
return { status: "success", result: data };
|
|
17
|
+
}
|
|
18
|
+
catch (err) {
|
|
19
|
+
return { status: "error", message: err.message };
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
};
|
package/dist/actions/wallet.d.ts
CHANGED
|
@@ -95,6 +95,48 @@ export declare const walletPositionsAction: {
|
|
|
95
95
|
result?: undefined;
|
|
96
96
|
}>;
|
|
97
97
|
};
|
|
98
|
+
export declare const walletHoldingsAction: {
|
|
99
|
+
name: string;
|
|
100
|
+
similes: string[];
|
|
101
|
+
description: string;
|
|
102
|
+
examples: {
|
|
103
|
+
input: {
|
|
104
|
+
address: string;
|
|
105
|
+
limit: number;
|
|
106
|
+
min_value_usd: number;
|
|
107
|
+
};
|
|
108
|
+
output: {
|
|
109
|
+
status: string;
|
|
110
|
+
};
|
|
111
|
+
explanation: string;
|
|
112
|
+
}[][];
|
|
113
|
+
schema: z.ZodObject<{
|
|
114
|
+
address: z.ZodString;
|
|
115
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
min_value_usd: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
address: string;
|
|
119
|
+
limit?: number | undefined;
|
|
120
|
+
min_value_usd?: number | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
address: string;
|
|
123
|
+
limit?: number | undefined;
|
|
124
|
+
min_value_usd?: number | undefined;
|
|
125
|
+
}>;
|
|
126
|
+
handler: (agent: unknown, input: {
|
|
127
|
+
address: string;
|
|
128
|
+
limit?: number;
|
|
129
|
+
min_value_usd?: number;
|
|
130
|
+
}) => Promise<{
|
|
131
|
+
status: string;
|
|
132
|
+
result: any;
|
|
133
|
+
message?: undefined;
|
|
134
|
+
} | {
|
|
135
|
+
status: string;
|
|
136
|
+
message: string;
|
|
137
|
+
result?: undefined;
|
|
138
|
+
}>;
|
|
139
|
+
};
|
|
98
140
|
export declare const walletTradesAction: {
|
|
99
141
|
name: string;
|
|
100
142
|
similes: string[];
|
package/dist/actions/wallet.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { walletStats, walletPnl, walletPositions, walletTrades } from "../tools/index.js";
|
|
2
|
+
import { walletStats, walletPnl, walletPositions, walletHoldings, walletTrades } from "../tools/index.js";
|
|
3
3
|
export const walletStatsAction = {
|
|
4
4
|
name: "MADEONSOL_WALLET_STATS_ACTION",
|
|
5
5
|
similes: [
|
|
@@ -100,6 +100,41 @@ export const walletPositionsAction = {
|
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
};
|
|
103
|
+
export const walletHoldingsAction = {
|
|
104
|
+
name: "MADEONSOL_WALLET_HOLDINGS_ACTION",
|
|
105
|
+
similes: [
|
|
106
|
+
"wallet holdings",
|
|
107
|
+
"current holdings",
|
|
108
|
+
"on-chain holdings",
|
|
109
|
+
"what does wallet actually hold",
|
|
110
|
+
"verified holdings",
|
|
111
|
+
"wallet token balances",
|
|
112
|
+
],
|
|
113
|
+
description: "Verified CURRENT on-chain holdings for any Solana wallet — the wallet's actual SPL + Token-2022 token accounts and SOL balance read straight from chain, enriched with price_usd, value_usd, market_cap_usd, name, symbol, is_bonded, plus transfer_delta (on-chain amount − trade-derived net position, which exposes non-swap flows: airdrops, insider funding, wallet-hopping). Distinct from MADEONSOL_WALLET_POSITIONS_ACTION (trade-derived FIFO) — this is what the wallet actually holds right now. Returns { address, sol_balance, holdings[], summary, verified_at, trade_window_days, cache_hit, ttl_seconds }. ULTRA only.",
|
|
114
|
+
examples: [
|
|
115
|
+
[
|
|
116
|
+
{
|
|
117
|
+
input: { address: "ASVzakePP6GNg9r95d4LPZHJDMXun6L6E4um4pu5ybJk", limit: 50, min_value_usd: 10 },
|
|
118
|
+
output: { status: "success" },
|
|
119
|
+
explanation: "List the wallet's verified on-chain holdings worth at least $10",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
],
|
|
123
|
+
schema: z.object({
|
|
124
|
+
address: z.string().describe("Solana wallet address"),
|
|
125
|
+
limit: z.number().min(1).max(500).optional().describe("Max holdings to return (1-500, default 200)"),
|
|
126
|
+
min_value_usd: z.number().min(0).optional().describe("Only return holdings worth at least this many USD (default 0)"),
|
|
127
|
+
}),
|
|
128
|
+
handler: async (agent, input) => {
|
|
129
|
+
try {
|
|
130
|
+
const data = await walletHoldings(agent, input);
|
|
131
|
+
return { status: "success", result: data };
|
|
132
|
+
}
|
|
133
|
+
catch (err) {
|
|
134
|
+
return { status: "error", message: err.message };
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
};
|
|
103
138
|
export const walletTradesAction = {
|
|
104
139
|
name: "MADEONSOL_WALLET_TRADES_ACTION",
|
|
105
140
|
similes: [
|
package/dist/index.d.ts
CHANGED
|
@@ -14,12 +14,14 @@ import { tokensListAction } from "./actions/tokensList.js";
|
|
|
14
14
|
import { almostBondedAction } from "./actions/almostBonded.js";
|
|
15
15
|
import { tokenRiskAction } from "./actions/tokenRisk.js";
|
|
16
16
|
import { tokenBundleAction } from "./actions/tokenBundle.js";
|
|
17
|
+
import { tokenPoolsAction } from "./actions/tokenPools.js";
|
|
18
|
+
import { deployerHistoryAction } from "./actions/deployerHistory.js";
|
|
17
19
|
import { tokenCandlesAction } from "./actions/tokenCandles.js";
|
|
18
20
|
import { tokenFlowAction } from "./actions/tokenFlow.js";
|
|
19
21
|
import { tokenRiskBatchAction } from "./actions/tokenRiskBatch.js";
|
|
20
22
|
import { streamSessionsAction, streamSessionKillAction } from "./actions/streamSessions.js";
|
|
21
|
-
import { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenCandles, tokenFlow, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded } from "./tools/index.js";
|
|
22
|
-
import { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction } from "./actions/wallet.js";
|
|
23
|
+
import { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletHoldings, walletTrades, me, tokensList, almostBonded } from "./tools/index.js";
|
|
24
|
+
import { walletStatsAction, walletPnlAction, walletPositionsAction, walletHoldingsAction, walletTradesAction } from "./actions/wallet.js";
|
|
23
25
|
declare const MadeOnSolPlugin: {
|
|
24
26
|
name: string;
|
|
25
27
|
methods: {
|
|
@@ -52,8 +54,10 @@ declare const MadeOnSolPlugin: {
|
|
|
52
54
|
tokenRisk: typeof tokenRisk;
|
|
53
55
|
tokenRiskBatch: typeof tokenRiskBatch;
|
|
54
56
|
tokenBundle: typeof tokenBundle;
|
|
57
|
+
tokenPools: typeof tokenPools;
|
|
55
58
|
tokenCandles: typeof tokenCandles;
|
|
56
59
|
tokenFlow: typeof tokenFlow;
|
|
60
|
+
deployerHistory: typeof deployerHistory;
|
|
57
61
|
copyTradeList: typeof copyTradeList;
|
|
58
62
|
copyTradeCreate: typeof copyTradeCreate;
|
|
59
63
|
copyTradeGet: typeof copyTradeGet;
|
|
@@ -87,6 +91,7 @@ declare const MadeOnSolPlugin: {
|
|
|
87
91
|
walletStats: typeof walletStats;
|
|
88
92
|
walletPnl: typeof walletPnl;
|
|
89
93
|
walletPositions: typeof walletPositions;
|
|
94
|
+
walletHoldings: typeof walletHoldings;
|
|
90
95
|
walletTrades: typeof walletTrades;
|
|
91
96
|
};
|
|
92
97
|
actions: ({
|
|
@@ -886,6 +891,42 @@ declare const MadeOnSolPlugin: {
|
|
|
886
891
|
message: string;
|
|
887
892
|
result?: undefined;
|
|
888
893
|
}>;
|
|
894
|
+
} | {
|
|
895
|
+
name: string;
|
|
896
|
+
similes: string[];
|
|
897
|
+
description: string;
|
|
898
|
+
examples: {
|
|
899
|
+
input: {
|
|
900
|
+
wallet: string;
|
|
901
|
+
limit: number;
|
|
902
|
+
};
|
|
903
|
+
output: {
|
|
904
|
+
status: string;
|
|
905
|
+
};
|
|
906
|
+
explanation: string;
|
|
907
|
+
}[][];
|
|
908
|
+
schema: import("zod").ZodObject<{
|
|
909
|
+
wallet: import("zod").ZodString;
|
|
910
|
+
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
911
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
912
|
+
limit: number;
|
|
913
|
+
wallet: string;
|
|
914
|
+
}, {
|
|
915
|
+
wallet: string;
|
|
916
|
+
limit?: number | undefined;
|
|
917
|
+
}>;
|
|
918
|
+
handler: (agent: unknown, input: {
|
|
919
|
+
wallet: string;
|
|
920
|
+
limit?: number;
|
|
921
|
+
}) => Promise<{
|
|
922
|
+
status: string;
|
|
923
|
+
result: any;
|
|
924
|
+
message?: undefined;
|
|
925
|
+
} | {
|
|
926
|
+
status: string;
|
|
927
|
+
message: string;
|
|
928
|
+
result?: undefined;
|
|
929
|
+
}>;
|
|
889
930
|
} | {
|
|
890
931
|
name: string;
|
|
891
932
|
similes: string[];
|
|
@@ -1063,6 +1104,47 @@ declare const MadeOnSolPlugin: {
|
|
|
1063
1104
|
message: string;
|
|
1064
1105
|
result?: undefined;
|
|
1065
1106
|
}>;
|
|
1107
|
+
} | {
|
|
1108
|
+
name: string;
|
|
1109
|
+
similes: string[];
|
|
1110
|
+
description: string;
|
|
1111
|
+
examples: {
|
|
1112
|
+
input: {
|
|
1113
|
+
address: string;
|
|
1114
|
+
limit: number;
|
|
1115
|
+
min_value_usd: number;
|
|
1116
|
+
};
|
|
1117
|
+
output: {
|
|
1118
|
+
status: string;
|
|
1119
|
+
};
|
|
1120
|
+
explanation: string;
|
|
1121
|
+
}[][];
|
|
1122
|
+
schema: import("zod").ZodObject<{
|
|
1123
|
+
address: import("zod").ZodString;
|
|
1124
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1125
|
+
min_value_usd: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1126
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1127
|
+
address: string;
|
|
1128
|
+
limit?: number | undefined;
|
|
1129
|
+
min_value_usd?: number | undefined;
|
|
1130
|
+
}, {
|
|
1131
|
+
address: string;
|
|
1132
|
+
limit?: number | undefined;
|
|
1133
|
+
min_value_usd?: number | undefined;
|
|
1134
|
+
}>;
|
|
1135
|
+
handler: (agent: unknown, input: {
|
|
1136
|
+
address: string;
|
|
1137
|
+
limit?: number;
|
|
1138
|
+
min_value_usd?: number;
|
|
1139
|
+
}) => Promise<{
|
|
1140
|
+
status: string;
|
|
1141
|
+
result: any;
|
|
1142
|
+
message?: undefined;
|
|
1143
|
+
} | {
|
|
1144
|
+
status: string;
|
|
1145
|
+
message: string;
|
|
1146
|
+
result?: undefined;
|
|
1147
|
+
}>;
|
|
1066
1148
|
} | {
|
|
1067
1149
|
name: string;
|
|
1068
1150
|
similes: string[];
|
|
@@ -1124,8 +1206,8 @@ declare const MadeOnSolPlugin: {
|
|
|
1124
1206
|
initialize(_agent: unknown): void;
|
|
1125
1207
|
};
|
|
1126
1208
|
export default MadeOnSolPlugin;
|
|
1127
|
-
export { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenCandles, tokenFlow, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded, };
|
|
1209
|
+
export { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletHoldings, walletTrades, me, tokensList, almostBonded, };
|
|
1128
1210
|
export { kolFeedAction, kolCoordinationAction, kolLeaderboardAction, deployerAlertsAction, kolPnlAction, kolTrendingTokensAction, kolTokenEntryOrderAction, kolCompareAction, kolAlertsRecentAction, kolFirstTouchesAction };
|
|
1129
1211
|
export { walletTrackerWatchlistAction, walletTrackerAddAction, walletTrackerRemoveAction, walletTrackerTradesAction, walletTrackerSummaryAction };
|
|
1130
|
-
export { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction };
|
|
1131
|
-
export { meAction, tokensListAction, almostBondedAction, tokenRiskAction, tokenRiskBatchAction, tokenBundleAction, tokenCandlesAction, tokenFlowAction, streamSessionsAction, streamSessionKillAction };
|
|
1212
|
+
export { walletStatsAction, walletPnlAction, walletPositionsAction, walletHoldingsAction, walletTradesAction };
|
|
1213
|
+
export { meAction, tokensListAction, almostBondedAction, tokenRiskAction, tokenRiskBatchAction, tokenBundleAction, tokenPoolsAction, deployerHistoryAction, tokenCandlesAction, tokenFlowAction, streamSessionsAction, streamSessionKillAction };
|
package/dist/index.js
CHANGED
|
@@ -14,12 +14,14 @@ import { tokensListAction } from "./actions/tokensList.js";
|
|
|
14
14
|
import { almostBondedAction } from "./actions/almostBonded.js";
|
|
15
15
|
import { tokenRiskAction } from "./actions/tokenRisk.js";
|
|
16
16
|
import { tokenBundleAction } from "./actions/tokenBundle.js";
|
|
17
|
+
import { tokenPoolsAction } from "./actions/tokenPools.js";
|
|
18
|
+
import { deployerHistoryAction } from "./actions/deployerHistory.js";
|
|
17
19
|
import { tokenCandlesAction } from "./actions/tokenCandles.js";
|
|
18
20
|
import { tokenFlowAction } from "./actions/tokenFlow.js";
|
|
19
21
|
import { tokenRiskBatchAction } from "./actions/tokenRiskBatch.js";
|
|
20
22
|
import { streamSessionsAction, streamSessionKillAction } from "./actions/streamSessions.js";
|
|
21
|
-
import { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenCandles, tokenFlow, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded, } from "./tools/index.js";
|
|
22
|
-
import { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction } from "./actions/wallet.js";
|
|
23
|
+
import { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletHoldings, walletTrades, me, tokensList, almostBonded, } from "./tools/index.js";
|
|
24
|
+
import { walletStatsAction, walletPnlAction, walletPositionsAction, walletHoldingsAction, walletTradesAction } from "./actions/wallet.js";
|
|
23
25
|
const MadeOnSolPlugin = {
|
|
24
26
|
name: "madeonsol",
|
|
25
27
|
methods: {
|
|
@@ -52,8 +54,10 @@ const MadeOnSolPlugin = {
|
|
|
52
54
|
tokenRisk,
|
|
53
55
|
tokenRiskBatch,
|
|
54
56
|
tokenBundle,
|
|
57
|
+
tokenPools,
|
|
55
58
|
tokenCandles,
|
|
56
59
|
tokenFlow,
|
|
60
|
+
deployerHistory,
|
|
57
61
|
copyTradeList,
|
|
58
62
|
copyTradeCreate,
|
|
59
63
|
copyTradeGet,
|
|
@@ -87,6 +91,7 @@ const MadeOnSolPlugin = {
|
|
|
87
91
|
walletStats,
|
|
88
92
|
walletPnl,
|
|
89
93
|
walletPositions,
|
|
94
|
+
walletHoldings,
|
|
90
95
|
walletTrades,
|
|
91
96
|
},
|
|
92
97
|
actions: [
|
|
@@ -111,6 +116,8 @@ const MadeOnSolPlugin = {
|
|
|
111
116
|
tokenRiskAction,
|
|
112
117
|
tokenRiskBatchAction,
|
|
113
118
|
tokenBundleAction,
|
|
119
|
+
tokenPoolsAction,
|
|
120
|
+
deployerHistoryAction,
|
|
114
121
|
tokenCandlesAction,
|
|
115
122
|
tokenFlowAction,
|
|
116
123
|
streamSessionsAction,
|
|
@@ -118,6 +125,7 @@ const MadeOnSolPlugin = {
|
|
|
118
125
|
walletStatsAction,
|
|
119
126
|
walletPnlAction,
|
|
120
127
|
walletPositionsAction,
|
|
128
|
+
walletHoldingsAction,
|
|
121
129
|
walletTradesAction,
|
|
122
130
|
],
|
|
123
131
|
initialize(_agent) {
|
|
@@ -125,8 +133,8 @@ const MadeOnSolPlugin = {
|
|
|
125
133
|
},
|
|
126
134
|
};
|
|
127
135
|
export default MadeOnSolPlugin;
|
|
128
|
-
export { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenCandles, tokenFlow, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded, };
|
|
136
|
+
export { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletHoldings, walletTrades, me, tokensList, almostBonded, };
|
|
129
137
|
export { kolFeedAction, kolCoordinationAction, kolLeaderboardAction, deployerAlertsAction, kolPnlAction, kolTrendingTokensAction, kolTokenEntryOrderAction, kolCompareAction, kolAlertsRecentAction, kolFirstTouchesAction };
|
|
130
138
|
export { walletTrackerWatchlistAction, walletTrackerAddAction, walletTrackerRemoveAction, walletTrackerTradesAction, walletTrackerSummaryAction };
|
|
131
|
-
export { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction };
|
|
132
|
-
export { meAction, tokensListAction, almostBondedAction, tokenRiskAction, tokenRiskBatchAction, tokenBundleAction, tokenCandlesAction, tokenFlowAction, streamSessionsAction, streamSessionKillAction };
|
|
139
|
+
export { walletStatsAction, walletPnlAction, walletPositionsAction, walletHoldingsAction, walletTradesAction };
|
|
140
|
+
export { meAction, tokensListAction, almostBondedAction, tokenRiskAction, tokenRiskBatchAction, tokenBundleAction, tokenPoolsAction, deployerHistoryAction, tokenCandlesAction, tokenFlowAction, streamSessionsAction, streamSessionKillAction };
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -100,6 +100,16 @@ export declare function kolTiming(agent: Agent, params: {
|
|
|
100
100
|
export declare function deployerTrajectory(agent: Agent, params: {
|
|
101
101
|
wallet: string;
|
|
102
102
|
}): Promise<any>;
|
|
103
|
+
/**
|
|
104
|
+
* A deployer's daily reputation time-series — backtest "was this deployer elite when it launched token X?"
|
|
105
|
+
* without look-ahead bias. Returns `{ is_deployer, wallet, snapshots[] }` where each snapshot has
|
|
106
|
+
* `date`, `tier`, `is_tracked`, `total_deployed`, `total_bonded`, `bonding_rate`, `recent_bond_rate`,
|
|
107
|
+
* `avg_peak_mc`, `best_token_peak_mc`. `limit` is days of history (1..365, default 90). PRO/ULTRA only.
|
|
108
|
+
*/
|
|
109
|
+
export declare function deployerHistory(agent: Agent, params: {
|
|
110
|
+
wallet: string;
|
|
111
|
+
limit?: number;
|
|
112
|
+
}): Promise<any>;
|
|
103
113
|
export declare function createWebhook(agent: Agent, params: {
|
|
104
114
|
url: string;
|
|
105
115
|
events: string[];
|
|
@@ -154,6 +164,19 @@ export declare function walletPnl(agent: Agent, params: {
|
|
|
154
164
|
export declare function walletPositions(agent: Agent, params: {
|
|
155
165
|
address: string;
|
|
156
166
|
}): Promise<any>;
|
|
167
|
+
/**
|
|
168
|
+
* Verified CURRENT on-chain holdings for any wallet — the wallet's actual SPL + Token-2022 token
|
|
169
|
+
* accounts and SOL balance read straight from chain, enriched with price/MC/name/symbol, plus
|
|
170
|
+
* `transfer_delta` (on-chain amount − trade-derived net position, exposing non-swap flows like
|
|
171
|
+
* airdrops, insider funding, wallet-hopping). Distinct from `walletPositions` (trade-derived FIFO):
|
|
172
|
+
* holdings = what the wallet actually holds right now. `limit` 1–500 (default 200); `min_value_usd`
|
|
173
|
+
* ≥0 (default 0). ULTRA only.
|
|
174
|
+
*/
|
|
175
|
+
export declare function walletHoldings(agent: Agent, params: {
|
|
176
|
+
address: string;
|
|
177
|
+
limit?: number;
|
|
178
|
+
min_value_usd?: number;
|
|
179
|
+
}): Promise<any>;
|
|
157
180
|
export declare function walletTrades(agent: Agent, params: {
|
|
158
181
|
address: string;
|
|
159
182
|
limit?: number;
|
|
@@ -188,6 +211,10 @@ export declare function tokenRisk(agent: Agent, params: {
|
|
|
188
211
|
export declare function tokenBundle(agent: Agent, params: {
|
|
189
212
|
mint: string;
|
|
190
213
|
}): Promise<any>;
|
|
214
|
+
/** Per-venue liquidity map: every DEX pool a token trades in (live vs parked), plus fragmentation + top-pool share. Returns `pools[]` ({ pool_address, dex, quote_mint, liquidity_usd, last_price_sol, last_swap_at, amm_id, is_active }) and a `summary` ({ pool_count, active_pool_count, dex_count, dexes, total_liquidity_usd, primary_pool, primary_dex, top_pool_share_pct }). PRO/ULTRA only. */
|
|
215
|
+
export declare function tokenPools(agent: Agent, params: {
|
|
216
|
+
mint: string;
|
|
217
|
+
}): Promise<any>;
|
|
191
218
|
/** Historical OHLCV candles (1m/5m/15m/1h/4h/1d) aggregated from the trade firehose. PRO=OHLCV 30d; ULTRA=+net flow, liquidity delta, full history. PRO/ULTRA only. */
|
|
192
219
|
export declare function tokenCandles(agent: Agent, params: {
|
|
193
220
|
mint: string;
|
package/dist/tools/index.js
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* (MadeOnSol RapidAPI marketplace was retired 2026-04-19).
|
|
7
7
|
* Get a free `msk_` key at https://madeonsol.com/pricing.
|
|
8
8
|
*/
|
|
9
|
+
import { VERSION } from "../version.js";
|
|
9
10
|
const BASE_URL = "https://madeonsol.com";
|
|
10
11
|
let _authMode = null;
|
|
11
12
|
let _authHeaders = {};
|
|
@@ -30,7 +31,7 @@ export async function initAuth(agent) {
|
|
|
30
31
|
const privateKey = getConfig(agent, "SVM_PRIVATE_KEY");
|
|
31
32
|
if (apiKey) {
|
|
32
33
|
_authMode = "madeonsol";
|
|
33
|
-
_authHeaders = { Authorization: `Bearer ${apiKey}`, "User-Agent":
|
|
34
|
+
_authHeaders = { Authorization: `Bearer ${apiKey}`, "User-Agent": `solana-agent-kit-plugin-madeonsol/${VERSION}` };
|
|
34
35
|
_paidFetch = fetch;
|
|
35
36
|
console.log("[madeonsol] Using MadeOnSol API key (Bearer auth)");
|
|
36
37
|
}
|
|
@@ -146,6 +147,16 @@ export async function kolTiming(agent, params) {
|
|
|
146
147
|
export async function deployerTrajectory(agent, params) {
|
|
147
148
|
return restQuery(agent, "GET", `/deployer-hunter/${params.wallet}/trajectory`);
|
|
148
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* A deployer's daily reputation time-series — backtest "was this deployer elite when it launched token X?"
|
|
152
|
+
* without look-ahead bias. Returns `{ is_deployer, wallet, snapshots[] }` where each snapshot has
|
|
153
|
+
* `date`, `tier`, `is_tracked`, `total_deployed`, `total_bonded`, `bonding_rate`, `recent_bond_rate`,
|
|
154
|
+
* `avg_peak_mc`, `best_token_peak_mc`. `limit` is days of history (1..365, default 90). PRO/ULTRA only.
|
|
155
|
+
*/
|
|
156
|
+
export async function deployerHistory(agent, params) {
|
|
157
|
+
const qs = params.limit !== undefined ? `?limit=${params.limit}` : "";
|
|
158
|
+
return restQuery(agent, "GET", `/deployer-hunter/${encodeURIComponent(params.wallet)}/history${qs}`);
|
|
159
|
+
}
|
|
149
160
|
// ── REST helper (webhooks, streaming, alpha, copy-trade, wallet-tracker) ──
|
|
150
161
|
async function restQuery(agent, method, path, body) {
|
|
151
162
|
await initAuth(agent);
|
|
@@ -235,6 +246,23 @@ export async function walletPnl(agent, params) {
|
|
|
235
246
|
export async function walletPositions(agent, params) {
|
|
236
247
|
return restQuery(agent, "GET", `/wallet/${encodeURIComponent(params.address)}/positions`);
|
|
237
248
|
}
|
|
249
|
+
/**
|
|
250
|
+
* Verified CURRENT on-chain holdings for any wallet — the wallet's actual SPL + Token-2022 token
|
|
251
|
+
* accounts and SOL balance read straight from chain, enriched with price/MC/name/symbol, plus
|
|
252
|
+
* `transfer_delta` (on-chain amount − trade-derived net position, exposing non-swap flows like
|
|
253
|
+
* airdrops, insider funding, wallet-hopping). Distinct from `walletPositions` (trade-derived FIFO):
|
|
254
|
+
* holdings = what the wallet actually holds right now. `limit` 1–500 (default 200); `min_value_usd`
|
|
255
|
+
* ≥0 (default 0). ULTRA only.
|
|
256
|
+
*/
|
|
257
|
+
export async function walletHoldings(agent, params) {
|
|
258
|
+
const qs = new URLSearchParams();
|
|
259
|
+
if (params.limit !== undefined)
|
|
260
|
+
qs.set("limit", String(params.limit));
|
|
261
|
+
if (params.min_value_usd !== undefined)
|
|
262
|
+
qs.set("min_value_usd", String(params.min_value_usd));
|
|
263
|
+
const query = qs.toString() ? `?${qs.toString()}` : "";
|
|
264
|
+
return restQuery(agent, "GET", `/wallet/${encodeURIComponent(params.address)}/holdings${query}`);
|
|
265
|
+
}
|
|
238
266
|
export async function walletTrades(agent, params) {
|
|
239
267
|
const qs = new URLSearchParams();
|
|
240
268
|
if (params.limit !== undefined)
|
|
@@ -283,6 +311,10 @@ export async function tokenRisk(agent, params) {
|
|
|
283
311
|
export async function tokenBundle(agent, params) {
|
|
284
312
|
return restQuery(agent, "GET", `/tokens/${encodeURIComponent(params.mint)}/bundle`);
|
|
285
313
|
}
|
|
314
|
+
/** Per-venue liquidity map: every DEX pool a token trades in (live vs parked), plus fragmentation + top-pool share. Returns `pools[]` ({ pool_address, dex, quote_mint, liquidity_usd, last_price_sol, last_swap_at, amm_id, is_active }) and a `summary` ({ pool_count, active_pool_count, dex_count, dexes, total_liquidity_usd, primary_pool, primary_dex, top_pool_share_pct }). PRO/ULTRA only. */
|
|
315
|
+
export async function tokenPools(agent, params) {
|
|
316
|
+
return restQuery(agent, "GET", `/tokens/${encodeURIComponent(params.mint)}/pools`);
|
|
317
|
+
}
|
|
286
318
|
/** Historical OHLCV candles (1m/5m/15m/1h/4h/1d) aggregated from the trade firehose. PRO=OHLCV 30d; ULTRA=+net flow, liquidity delta, full history. PRO/ULTRA only. */
|
|
287
319
|
export async function tokenCandles(agent, params) {
|
|
288
320
|
const qs = new URLSearchParams();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VERSION = "1.17.0";
|
package/dist/version.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solana-agent-kit-plugin-madeonsol",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "Solana Agent Kit plugin for MadeOnSol — KOL intelligence and deployer analytics via x402 micropayments",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"README.md"
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
|
+
"prebuild": "node ../gen-version.mjs",
|
|
13
14
|
"build": "tsc",
|
|
14
15
|
"preflight": "bash ../../scripts/preflight-publish.sh",
|
|
15
16
|
"prepublishOnly": "npm run preflight && npm run build"
|