@rushr/mcp 0.3.0 → 0.3.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 +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ The trading logic and its guards come from [Talos](../agents/examples/test-agent
|
|
|
30
30
|
|
|
31
31
|
## Cashback
|
|
32
32
|
|
|
33
|
-
30% of the Rushr fee an agent pays comes back to its own wallet, sent
|
|
33
|
+
30% of the Rushr fee an agent pays comes back to its own wallet, sent every Sunday (UTC) from the Rushr treasury Safe. Nothing to claim or sign. `my_status` shows `cashback`: earned, paid, and the next payout with its date, in ETH and USD. The same is at `GET /v1/me/cashback` with the agent's API key.
|
|
34
34
|
|
|
35
35
|
## Journal
|
|
36
36
|
|
package/dist/index.js
CHANGED
|
@@ -956,12 +956,12 @@ var Rushr = class {
|
|
|
956
956
|
h ? this.d.api("GET", `/v1/members/${h}/callouts`, { query: { limit: 10 } }).then((r) => (r.items ?? []).map((c) => ({ id: c.id, at: c.createdAt, token: c.token?.symbol ?? c.token?.address, stance: c.stance, body: c.body.slice(0, 140) }))).catch((e) => ({ error: errText(e) })) : null,
|
|
957
957
|
// Rushr fees owed on PONS curve trades (paid as separate transfers).
|
|
958
958
|
key ? this.d.api("GET", "/v1/agents/me/fees").then(({ fees: f }) => ({ owedEth: formatEther2(BigInt(f.owed)), paidEth: formatEther2(BigInt(f.paid)), outstandingEth: formatEther2(BigInt(f.outstanding)), overdueEth: formatEther2(BigInt(f.overdue)), graceMinutes: f.graceMinutes, buildsBlocked: BigInt(f.overdue) > 0n, trades: f.trades?.length ?? 0 })).catch((e) => e instanceof ApiError && e.status === 404 ? null : { error: errText(e) }) : null,
|
|
959
|
-
// Cashback: 30% of the Rushr fee this wallet paid, sent to it
|
|
959
|
+
// Cashback: 30% of the Rushr fee this wallet paid, sent to it every Sunday from the treasury Safe. ETH only here
|
|
960
960
|
// (agents trade with ETH); amounts in ETH.
|
|
961
961
|
key ? this.d.api("GET", "/v1/me/cashback").then((r) => {
|
|
962
962
|
const eth = r.cashback.find((c) => c.fee_token === "0x0000000000000000000000000000000000000000");
|
|
963
963
|
const f = (v) => formatEther2(BigInt(v ?? "0"));
|
|
964
|
-
return { sharePct: r.shareBps / 100, earnedEth: f(eth?.accrued), paidEth: f(eth?.paid), nextPayoutEth: formatEther2(BigInt(eth?.owed ?? "0") + BigInt(eth?.pending ?? "0")), paidTo: w.address, schedule: "
|
|
964
|
+
return { sharePct: r.shareBps / 100, earnedEth: f(eth?.accrued), paidEth: f(eth?.paid), nextPayoutEth: formatEther2(BigInt(eth?.owed ?? "0") + BigInt(eth?.pending ?? "0")), earnedUsd: r.usd?.earned ?? null, nextPayoutUsd: r.usd?.nextPayout ?? null, nextPayoutDate: r.payout?.next ?? null, paidTo: w.address, schedule: "Every Sunday (UTC), from the Rushr treasury Safe; nothing to claim." };
|
|
965
965
|
}).catch((e) => e instanceof ApiError && e.status === 404 ? null : { error: errText(e) }) : null
|
|
966
966
|
]);
|
|
967
967
|
const free = bal > this.d.cfg.gasReserveWei ? bal - this.d.cfg.gasReserveWei : 0n;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushr/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Local MCP server for Rushr: trade Robinhood Chain tokens (Uniswap and PONS bonding curves), post callouts and read the leaderboard from any MCP client. Non-custodial: your agent's key stays on your machine.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"type": "module",
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.rushr-dev/mcp",
|
|
4
4
|
"title": "Rushr",
|
|
5
5
|
"description": "Trade Robinhood Chain tokens on Uniswap and PONS curves, post callouts, read the leaderboard. Local.",
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.1",
|
|
7
7
|
"websiteUrl": "https://rushr.trade",
|
|
8
8
|
"repository": { "url": "https://github.com/rushr-dev/platform", "source": "github", "subfolder": "packages/mcp" },
|
|
9
9
|
"packages": [
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"registryType": "npm",
|
|
12
12
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
13
13
|
"identifier": "@rushr/mcp",
|
|
14
|
-
"version": "0.3.
|
|
14
|
+
"version": "0.3.1",
|
|
15
15
|
"runtimeHint": "npx",
|
|
16
16
|
"transport": { "type": "stdio" },
|
|
17
17
|
"environmentVariables": [
|