Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

feat(platform): ship the latest in-flight changes: skill candidates, X post price impact, robinhood-feed config, memory store tests, changelog regeneration and docs

nirholas2b7bb3921e3e
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fa0a63ba9..505b97350 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,20 +6,24 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
## 2026-10-23
+- **Docs · Flappin UFO** (`/docs/play-ufo`): How Flappin UFO runs are recorded, replayed and verified on the server, how the leaderboard ranks players, and how the ghost of the top run works.
- **install.md** (`/install.md`): How to install three.ws in any MCP client: one command, per-client settings, and every hosted endpoint. Generated from the MCP directory.
- **MCP Plans** (`/mcp-plans`): Prepay for paid MCP tools with credit bundles or time passes, use free trial calls on every tool, and see each credit spent.
- **README 3D** (`/readme-3d`): Put an interactive 3D model in any GitHub README. Paste a GLB, glTF, OBJ or STL URL and get a block GitHub renders as a rotatable viewer, sized to fit its markdown limit.
+- **Agent memory now learns from trade results, and the decision trail has a verify endpoint**: When a snipe closes, its realized P&L, win or loss and hold time are written back onto the memories the agent recalled when it opened the trade. Recall then ranks those memories by a bounded outcome weight (0.65 to 1.35, halving every 45 days, never zero), so lessons from winners rise while memories tied to losses sink but still come back as warnings. Every recall hit now reports its rankScore and an outcome block with the weight, wins, losses and net USD so you can see why it ranked. The hash-chained decision trail can be re-walked at GET /api/agents/:id/decision-trail/verify, which returns ok, the head hash and the zero-based index of the first broken row after any edit. The reasoning ledger page now fetches it and links to it from the verified badge. (`/reasoning-ledger`) `[feature, improvement]`
- **Agents answer mentions of their own X account, in their own persona**: An agent with its own connected X account and mention replies switched on is now polled by the mention bot. It replies in its own persona, attaches a render of its own avatar to conversational replies, and only acts on the intents its owner allowed, up to a daily cap. Dry run stays the default: nothing posts until the owner turns dry run off and the operator enables live mode. A connection missing the posting scope is reported as missing_scope instead of being polled. (`/agents`) `[feature]`
- **Agents can sign up to services: inbox codes and sign-in links**: An agent's own address can now receive verification emails and hand back the one-time code or sign-in link. New inbox_list, inbox_read and inbox_wait_for_code tools read the code with a confidence score, only from services the owner lists under Code senders, only from authentic non-spam mail. Email bodies stay untrusted data and links are never fetched for the agent. (`/agent-mail`) `[feature]`
- **AR Studio source now lives in the monorepo**: The 3d-ar-studio npm package and the /ar/studio page now run the same code: the package source moved into packages/ar-studio and the page imports its scene math, multi-anchor WebXR session, room client and lighting modules directly, so fixes land once instead of in two diverging copies. (`/ar/studio`) `[sdk, improvement]`
- **Chain turnover on /chains**: The chains leaderboard now has a sortable Turnover column (24h DEX volume divided by TVL) that shows which chains have capital actively trading rather than parked. Chains with no TVL or no reported volume show n/a. (`/chains`) `[feature]`
- **Copy any model as a GitHub README 3D block**: Forge results, avatar pages, the avatar dashboard and model pages now have a Copy as GitHub README 3D action. It simplifies the model to a size GitHub renders and puts a stl code fence on your clipboard that GitHub shows as an interactive 3D viewer in any README, issue or pull request. The same converter is a free API (POST /api/readme-3d) and has a live page at /readme-3d. (`/readme-3d`) `[feature]`
+- **Flappin UFO is back at /play/ufo with a verified leaderboard and a ghost of the top run**: The arcade game returns as a native canvas game with touch and keyboard controls and levels that get longer and tighter. Every submitted run is re-simulated on the server, so scores cannot be faked, and you race a translucent ghost replaying the top run. Scores also appear on /rankings as the UFO High Score tab. (`/play/ufo`) `[feature]`
- **Leaked-wallet rescue runbook with a dry run, and live Jito tip accounts**: A new rescue script moves every token and the remaining SOL out of a compromised wallet in one atomic Jito bundle, paid for by a separate safe wallet, and its default dry run simulates the whole bundle and prints the plan without sending anything. The leak alarm now links the runbook. Jito tips also read the block engine's live tip-account list with a pinned fallback, instead of three hardcoded copies. `[security, infra]`
- **llms.txt links the docs as markdown, and install.md tells an agent how to connect**: llms.txt now links each curated doc as /docs/<slug>.md, the text/markdown twin an agent can read directly. llms-full.txt carries the full text of those docs (capped at 40 KB each, with a link to the rest) after the page index. A new /install.md, generated from the MCP directory, gives one place for the setup command, per-client settings and every hosted endpoint. (`/docs/cli`) `[docs]`
- **Onchain viewer reads multi-part memo inscriptions**: Paste any transaction of a first/1, firsts/1 or SPL404 inscription into /onchain and it collects the other parts, checks each part and the whole SHA-256, names missing parts, and shows the file. Images render from verified bytes; SVG and HTML are shown as text and never executed. The Solana Memo Media MCP gains a read_inscription tool that does the same. (`/onchain`) `[feature]`
- **One catalog for all 39 HookForge hooks, and a census that recognizes them**: The Uniswap v4 hooks guide now carries the full HookForge registry (39 hooks, pinned by commit) grouped by family, with the agent-native ones linked to their Solana counterparts, plus a design note reconciling AgentTierHook with reputation-fee. The hook census now decodes each hook's 14 permission bits from its address and calls hookName() to flag HookForge hooks when they show up on chain. (`/docs/uniswap-v4-hooks`) `[docs]`
- **Oracle's smart-wallet prior now reads the live database**: The cold-start wallet prior behind Oracle's pedigree pillar is loaded from the daily-seeded wallet_reputation table instead of a committed June snapshot, so it tracks the current gmgn.ai rankings. It is cached in-process with a bounded refresh, keeps the last good rows if the database blips, and serves an empty prior (and logs it) rather than inventing wallets. (`/docs/oracle`) `[improvement]`
- **Prepaid credit plans and free trials for paid MCP tools**: Buy a credit bundle or a 24-hour or 30-day time pass at /mcp-plans and call paid MCP tools without paying each call over x402. Every account gets 3 free calls per tool. Credits are debited before a call, refunded when the tool errors, and every result reports creditsUsed and creditsRemaining. A drained plan falls back to the per-call payment-required error. (`/mcp-plans`) `[feature]`
+- **Robinhood Chain launches now show every venue, the deployer's track record and a dev-sold flag**: The launches board stopped watching NOXA, which shut down in July, and now finds launches on every venue seen on chain. Each row names the launchpad, shows how many earlier tokens the deployer launched and how many it sold out of, and flags launches where the dev has already sold. (`/markets/robinhood`) `[feature]`
- **Splat Viewer: Spark 2.3 level of detail, saved camera hotspots, video export, and image to splat**: The Splat Viewer now builds a level-of-detail tree for large scenes, lets you save up to 25 camera views as hotspots, play them as a camera path and export it as a video in the browser. A new /api/forge-splat endpoint turns one image into a Gaussian splat with TripoSplat and links straight into the viewer. (`/splat`) `[feature]`
- **Turn a Solana program's Anchor IDL into an agent skill**: POST /api/skills/import now accepts idl_url or program_id. Each account type becomes a read tool that decodes it by address, each instruction a preview tool that builds the unsigned instruction with a plain summary, and a destructive send tool that hands it to the wallet confirm flow. A risk panel flags token movement, SOL spend, account closure and authority changes. Nothing the skill generates can sign. (`/skills/import`) `[feature, sdk]`
@@ -3689,7 +3693,7 @@ And all of it is public. Oracle Lab publishes the actual model: every weight, th
- **Agent Studio** (`/agent-studio`): Author your agent's brain, memory, body, money, and skills in one place, with a live 3D avatar that updates everywhere as you edit.
- **Coin Clash** (`/clash`): Token-gated community warfare. Every coin community is an army: hold the coin, enlist, and rally for your faction in timed battles against other communities.
-- **Flappin UFO: retired demo** (`/play/ufo`): The Flappin UFO arcade demo ran on an external deployment that is no longer online, so the game has been retired. The page now points visitors to the live three.ws experiences instead.
+- **Flappin UFO: thread the asteroids, climb the leaderboard** (`/play/ufo`): A hold-to-climb arcade game with levels that get longer and tighter. Every run is replayed and verified on the server, scores land on a real leaderboard, and you race the ghost of the top run.
- **Verify a Vanity Receipt** (`/vanity/verify`): Independently verify a three.ws provably-fair vanity wallet receipt: entirely in your browser. Prove the key was generated fresh under a committed seed and the operator never kept a copy.
- **x402 Studio: the Stripe of x402** (`/x402/studio`): Merchant console to run a paid x402 business: products and pricing, payout and agent wallets, a real USDC send/receive with SNS .sol resolution, a drag-and-drop storefront, an embeddable pay-button builder, charity and round-up giving, CORS and security.
- **8D audio mode at the Pole Club**: There's a new 8D pill in the Pole Club top bar. Flip it on (headphones recommended) and the whole soundtrack starts slowly orbiting around your head, the spinning, three-dimensional “8D audio” effect, looping a full lap roughly every eight seconds. It rides on top of everything: the muffled-through-the-door walk-in, the clear-up as you step inside, and the per-dancer tip tracks. The orbit only moves the stereo image, never the volume, so nothing pumps as it circles, and your choice is remembered between visits. Off by default. (`/club`) `[feature]`
diff --git a/README.md b/README.md
index c5a74aa19..791a9b0b6 100644
--- a/README.md
+++ b/README.md
@@ -9996,7 +9996,7 @@ The full OpenAPI 3.1 spec is available at `/openapi.json`. The key API surface i
Cron schedules are declared in `vercel.json` (still the live cron/route config the server reads) and executed in production by **Google Cloud Scheduler**, which calls each endpoint on its schedule. All cron endpoints are fail-closed — a missing auth token aborts with an error rather than silently skipping (see [Security Hardening](#security-hardening)).
-The crons in `vercel.json` (139 entries on 2026-10-10) are routed through a single dynamic handler at [`api/cron/[name].js`](api/cron/[name].js); the `name` segment selects the handler function. Scheduler jobs are provisioned from the `vercel.json` cron list via [scripts/create-gcp-scheduler.mjs](scripts/create-gcp-scheduler.mjs). The table below is a selection of the notable jobs, each schedule quoted verbatim from `vercel.json`; that file is the complete list.
+The crons in `vercel.json` (145 entries on 2026-10-23) are routed through a single dynamic handler at [`api/cron/[name].js`](api/cron/[name].js); the `name` segment selects the handler function. Scheduler jobs are provisioned from the `vercel.json` cron list via [scripts/create-gcp-scheduler.mjs](scripts/create-gcp-scheduler.mjs). The table below is a selection of the notable jobs, each schedule quoted verbatim from `vercel.json`; that file is the complete list.
| Schedule | Endpoint | Purpose |
| -------------------- | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
diff --git a/STRUCTURE.md b/STRUCTURE.md
index 5aebfa451..d6f3b1b1f 100644
--- a/STRUCTURE.md
+++ b/STRUCTURE.md
@@ -91,6 +91,7 @@ packages, a generated standalone GitHub mirror). See
| Glance (agent cards for home screens, READMEs and chat) | Page [public/glance/index.html](public/glance/index.html) `-> /glance` (+ [glance-page.js](public/glance/glance-page.js), [glance.css](public/glance/glance.css)), hosted element [public/glance/element.js](public/glance/element.js), endpoints [api/glance/card.js](api/glance/card.js) / [api/glance/mine.js](api/glance/mine.js) / [api/glance/token.js](api/glance/token.js) / [api/glance/template.js](api/glance/template.js), model [api/_lib/glance-card.js](api/_lib/glance-card.js), SVG [api/_lib/glance-svg.js](api/_lib/glance-svg.js), PNG [api/_lib/glance-png.js](api/_lib/glance-png.js), widget tokens [api/_lib/glance-tokens.js](api/_lib/glance-tokens.js) (`glance_widget_tokens`), Adaptive Card [api/_lib/glance-adaptive.js](api/_lib/glance-adaptive.js), Windows widget worker [public/glance-sw.js](public/glance-sw.js) (imported by the VitePWA service worker, manifest `widgets` member in [vite.config.js](vite.config.js)), Android home screen widget [solana-mobile/android-overlay/](solana-mobile/android-overlay/README.md) (applied by [solana-mobile/scripts/apply-overlay.mjs](solana-mobile/scripts/apply-overlay.mjs) inside `build-apk.sh`), macOS and iOS WidgetKit widget [apple/](apple/README.md) (shared [apple/GlanceKit/](apple/GlanceKit), extension [apple/GlanceWidget/](apple/GlanceWidget), Mac app [apple/macos/](apple/macos), an iOS target in [ios/native/App/App.xcodeproj](ios/native/App)), npm client [packages/agent-glance/](packages/agent-glance) | Live | One agent reduced to what fits in an OS widget slot: name, one live number (actions in the last 24h), and a link back. The same model renders five ways from one endpoint (JSON, SVG, PNG, Adaptive Card, and the `<agent-glance>` element), which is what keeps a new surface a rendering job rather than a data job. Windows 11 installs the widget straight from the PWA manifest (no store submission). Android ships it in the app (1.1+): a WorkManager-refreshed `AppWidgetProvider` that fetches the PNG with a revocable per-account widget token minted on `/glance`, keeps the last card offline, and opens the agent on tap. macOS and iOS run one WidgetKit extension over the same PNG and the same token, in small, medium and large: the Mac ships as a Developer ID menu bar app that holds the token and feeds the widget, and the iPhone gets the extension inside the existing Capacitor app. Both fetch the card in each theme so the widget follows the reader's appearance. `npm run check:apple-widget` proves both Xcode projects and the client-to-server contract without a Mac in the room. Deliberately not the 3D embed: no widget host on any of these platforms can run WebGL, so the body stays at [/widgets](public/widgets-gallery/index.html) and the status lives here. Private avatars never leak (the thumbnail is attached only for a public or unlisted avatar; everything else draws a generated monogram). Spec [specs/GLANCE_CARD.md](specs/GLANCE_CARD.md), docs [docs/glance.md](docs/glance.md), [docs/native-widgets.md](docs/native-widgets.md). Tests: [tests/glance-card.test.js](tests/glance-card.test.js), [tests/glance-png.test.js](tests/glance-png.test.js), [tests/glance-tokens.test.js](tests/glance-tokens.test.js), [tests/glance-sw.test.js](tests/glance-sw.test.js), [tests/agent-glance-sdk.test.js](tests/agent-glance-sdk.test.js), guard [scripts/check-apple-widget.mjs](scripts/check-apple-widget.mjs) |
| Daily Match (agent output arena) | [pages/daily-match.html](pages/daily-match.html) `→ /daily-match`, backend [api/leaderboard/daily-match.js](api/leaderboard/daily-match.js) | Live | Live daily standings ranking public agents by real output shipped since 00:00 UTC: agent_actions events, sniper + pump trades, confirmed skill sales, and coin launches, with realized sniper P&L shown for context (never scored). Computed live per request (no rollup cron), resets naturally at UTC midnight; includes yesterday's champion and a live-output feed. Reputation-first: no payouts hang off the score. Format adopted with credit from Bowyer's Arena (bowyer.app/arena), who build their agent pages on three.ws avatars. |
| KOL Tracker | [pages/tracker.html](pages/tracker.html) `→ /tracker`, backend [api/kol/[action].js](api/kol/%5Baction%5D.js) `→ GET /api/kol/tracker?window=&limit=`, aggregator [src/kol/tracker.js](src/kol/tracker.js), wallet list [src/kol/wallet-store.js](src/kol/wallet-store.js) (bundled [src/kol/wallets.json](src/kol/wallets.json) + admin R2 imports via `POST /api/kol/import-gmgn`), FIFO P&L engine [src/kol/wallet-pnl.js](src/kol/wallet-pnl.js), cached X follower/avatar lookup [src/kol/x-profile.js](src/kol/x-profile.js) | Live | Solana crypto KOLs ranked by realized P&L computed from each tracked wallet's own on-chain trade history (24h/7d/30d), with win rate, volume, and trade count — every number traceable to real trades, never a competitor's computed leaderboard. A wallet only shows an X handle/avatar/follower-count when an admin has explicitly attached a verified `xHandle` via `import-gmgn`'s `xHandles` map (never inferred or scraped); unattached wallets rank by wallet address alone. Rows with no configured trade source (`PUMPFUN_BOT_URL`) fall back to an imported `pnlUsd`/`winRate` labeled with its `pnlSource` rather than fabricating on-chain numbers. Prewarm cron: [api/cron/kol-tracker-refresh.js](api/cron/kol-tracker-refresh.js). |
+| Keyless X guest reader (profiles and timelines) | [api/_lib/x-guest/](api/_lib/x-guest/README.md), rung 2 in [src/kol/x-profile.js](src/kol/x-profile.js), coin X-account feature [api/_lib/oracle/x-account.js](api/_lib/oracle/x-account.js), feeder [api/cron/oracle-social-ingest.js](api/cron/oracle-social-ingest.js) (every 10 min) | Live | Reads public X profiles and timelines through the guest-token GraphQL surface with no API key, adapted from XActions (Apache-2.0). Backs the KOL tracker's follower counts when `TWITTER_BEARER_TOKEN` is unset or rate limited, adds the coin's own X account age and followers to Oracle intel, and feeds tracked-KOL cashtag tweets to `POST /api/oracle/social`. Fails soft with a named reason (`rate_limited`, `stale_query_id`, ...). Tests: [tests/x-guest.test.js](tests/x-guest.test.js). |
| Agent Galaxy (every agent as a star, positioned by meaning) | [pages/galaxy.html](pages/galaxy.html) `→ /galaxy` + [src/galaxy.js](src/galaxy.js), backend [api/galaxy.js](api/galaxy.js) `→ GET/POST /api/galaxy`, assembler [api/_lib/galaxy.js](api/_lib/galaxy.js), embedding cache [api/_lib/agent-embeddings.js](api/_lib/agent-embeddings.js), live-economy overlay over `GET /api/galaxy/flows` | In-repo · awaits watsonx credentials | Every published agent embedded with an IBM Granite model on watsonx.ai, projected to 3D by PCA and grouped into k-means constellations that Granite then names, rendered as a Three.js point cloud. Typing a phrase embeds the query in the same space and lights the matching stars; the Money-Cam layer animates real on-chain transfers between them, and star brightness comes from each agent’s real wallet net worth. No mock path anywhere: with no watsonx credentials on the service `GET /api/galaxy` answers 503 and the page says so, offering the agent list and the integration doc instead of an empty universe. Tests: [tests/e2e/galaxy.spec.js](tests/e2e/galaxy.spec.js), [tests/galaxy-flows.test.js](tests/galaxy-flows.test.js) |
| The Agent Economy (live, network wide) | [pages/economy.html](pages/economy.html) `→ /economy` + page module [src/economy-live.js](src/economy-live.js), hire panel [src/shared/agent-hire.js](src/shared/agent-hire.js), feeds `GET /api/agents/economy?view=offers` ([api/agents/economy.js](api/agents/economy.js)), `GET /api/marketplace/agents`, `GET /api/agenc/x402-services` ([api/agenc/[action].js](api/agenc/%5Baction%5D.js)) over the shared discovery client [api/_lib/x402/bazaar-client.js](api/_lib/x402/bazaar-client.js) | Live | The wide-angle counterpart to the curated two-agent demo at `/agent-economy`: the real population of agents earning on three.ws, the agent-to-agent service market they hire each other through, and the live x402 bazaar of pay-per-call endpoints across Solana and Base. Three feeds, each owning its own loading / empty / error state so a slow or failing one never blanks the page, each retryable in place, and each polled every 45s while the tab is visible. Service rows name themselves from the facilitator's `metadata` when it publishes one and from the endpoint URL when it does not (most listings carry no name), show the endpoint they charge for, and never render a link to a path template or a rejected URL scheme. The A2A offers feed is empty until an owner prices an agent skill (`agent_paid_services`), which is a real state with a route out of it, not a stub. Tests: [tests/api/bazaar-endpoints.test.js](tests/api/bazaar-endpoints.test.js) |
| Sell an agent as a paid API | Owner switch on the agent wallet Earn tab [src/agent-wallet-hub/tabs/earn.js](src/agent-wallet-hub/tabs/earn.js) (client [src/agent-economy-hub.js](src/agent-economy-hub.js)), owner API [api/agents/[id]/api-service.js](api/agents/%5Bid%5D/api-service.js) `→ GET/PUT /api/agents/:id/api-service`, paid route [api/x402/agents.js](api/x402/agents.js) `→ POST /api/x402/agents/:id` + free list `GET /api/x402/agents`, rules and ledger [api/_lib/agent-api-service.js](api/_lib/agent-api-service.js), shared turn [api/_lib/agent-turn.js](api/_lib/agent-turn.js), discovery slice `buildSellableAgentItems()` in [api/wk.js](api/wk.js) | Live | An owner flips "Sell this agent as an API", sets a USD price per call (floor $0.001, the smallest settle the facilitator co-signs) and a public description; the agent becomes a stable x402 v2 endpoint that answers one turn with the same persona, custom skills and premium-skill rules as `/api/agents/talk`. The 402 leads with Solana USDC and pays the agent's own payout wallet; the turn runs before settlement so a failed call is never charged; each settled call is written to `agent_revenue_events` (skill `agent-api`, net of `PLATFORM_FEE_BPS`, `settled_to_wallet = true` so it never counts as treasury-withdrawable). Only public agents with a brain and a Solana payout address can be sold, and the switch says why when one cannot. Agents on sale appear in `/.well-known/x402.json` and under Agents on [/x402](public/x402-stripe.html). Docs: [docs/x402.md](docs/x402.md#sell-your-agent-as-an-api), [docs/api-reference.md](docs/api-reference.md#sell-an-agent-as-an-api). Tests: [tests/api/x402-agent-api.test.js](tests/api/x402-agent-api.test.js) |
@@ -116,7 +117,7 @@ packages, a generated standalone GitHub mirror). See
| Agent lifecycle, runs and automations over MCP (Runs tab) | MCP tools [api/_mcp/tools/agent-lifecycle.js](api/_mcp/tools/agent-lifecycle.js) (`get_agent`, `update_agent`, `delete_agent`, `start_agent`, `stop_agent`, `upload_agent_avatar`, `create_agent_run`, `update_agent_run`, `cancel_agent_run`, `get_agent_run_steps`, `automation_list`, `automation_get`, `automation_create`, `automation_update`, `automation_delete`, `automation_trigger`) over the REST validators and engines in [api/_lib/agents-v1/](api/_lib/agents-v1) (runs, automations, run receipts), policy rows in [packages/mcp-policy/src/table.js](packages/mcp-policy/src/table.js); replay endpoint [api/agent-run-replay.js](api/agent-run-replay.js) `→ /api/agent-run-replay`; Runs tab [src/agent-run-replay.js](src/agent-run-replay.js), mounted from [src/avatar-page.js](src/avatar-page.js) on `/agents/:id?view=runs` | Built, ships with the next deploy | An MCP client can now edit, start, stop, re-skin and delete an agent, and drive autonomous runs and automations, with create and update validated by the same schemas as the REST path. `delete_agent` and `automation_delete` are destructive: refused without `confirm_delete` and a matching `get_agent` / `automation_get` preview. A run carries two budgets (model turns and dollars), honors cancel between steps, ends with a plain-language summary, and chains a sha256 receipt over every step; `get_agent_run_steps` returns each tool call paired with its result and receipt. The owner-only Runs tab lists every run, replays it step by step with a scrubber, polls a live run, verifies the receipt chain server-side, and cancels. Docs: [docs/mcp.md](docs/mcp.md) `→ /docs/mcp`, [docs/agent-runtime.md](docs/agent-runtime.md#autonomous-runs-budgets-receipts-and-replay). Tests: [tests/mcp-agent-lifecycle.test.js](tests/mcp-agent-lifecycle.test.js), [tests/agent-run-replay-endpoint.test.js](tests/agent-run-replay-endpoint.test.js) |
| Agents REST API (`/api/v1`) and webhooks | Router [api/v1/rest.js](api/v1/rest.js) over [api/_lib/agents-v1/](api/_lib/agents-v1) (http envelope, agents, runs, automations, skills, [webhooks.js](api/_lib/agents-v1/webhooks.js), [run-stream.js](api/_lib/agents-v1/run-stream.js), [agent-export.js](api/_lib/agents-v1/agent-export.js), [openapi.js](api/_lib/agents-v1/openapi.js)), delivery queue [api/_lib/webhook-dispatch.js](api/_lib/webhook-dispatch.js), retry cron [api/cron/webhook-deliveries.js](api/cron/webhook-deliveries.js), dashboard [src/dashboard-next/pages/developers.js](src/dashboard-next/pages/developers.js) `→ /dashboard/developers` | Built, ships with the next deploy | Agent CRUD, start/stop, sync chat and history, runs with resumable SSE, automations with trigger-now, skills, strategies, export/import, and HTTPS webhooks (`run.finished`, `automation.fired`, `message.received`, `approval.needed`) with HMAC signatures, 8-attempt backoff, a delivery log and replay. Cursor pagination, `{data, meta}` envelope, `Idempotency-Key`. Docs: [docs/api-reference.md](docs/api-reference.md#agents-api-v1), [docs/developer-platform.md](docs/developer-platform.md). Tests: [tests/api/v1-rest-router.test.js](tests/api/v1-rest-router.test.js), [tests/api/agent-export.test.js](tests/api/agent-export.test.js), [tests/api/run-stream.test.js](tests/api/run-stream.test.js), [tests/webhook-dispatch-signing.test.js](tests/webhook-dispatch-signing.test.js) |
| Platform OpenAPI spec + Postman collection | Spec [public/.well-known/openapi.yaml](public/.well-known/openapi.yaml) `→ /.well-known/openapi.yaml`, generator [scripts/build-postman-collection.mjs](scripts/build-postman-collection.mjs) `→` [public/.well-known/postman-collection.json](public/.well-known/postman-collection.json) `→ /.well-known/postman-collection.json` | Built, ships with the next deploy | A ready-to-import Postman Collection v2.1 generated from the same OpenAPI spec every client already reads, via `openapi-to-postmanv2`; a `clean()` pass strips the converter's per-run random ids and fabricated example responses so the checked-in file is byte-identical across regenerations. `npm run build:postman-collection` regenerates it, `npm run check:postman-collection` (wired into `npm run gate`) fails when it drifts from the spec. Docs: [docs/api-reference.md](docs/api-reference.md) |
-| Agent mail (inbox, rules, send controls) | Page [pages/agent-mail.html](pages/agent-mail.html) `→ /agents/:id/mail` and `/agent-mail` + [src/agent-mail.js](src/agent-mail.js), REST [api/v1/agent-mail.js](api/v1/agent-mail.js) `→ /api/v1/agents/:id/mail/*`, MCP [api/_mcp/tools/mail.js](api/_mcp/tools/mail.js), service [api/_lib/mail/](api/_lib/mail) (service, controls, untrusted, rules, inbound, content rules, spam, threading, extract, otp), webhook [api/mail/inbound.js](api/mail/inbound.js), migration [api/_lib/migrations/20261010184500_agent_mail_controls.sql](api/_lib/migrations/20261010184500_agent_mail_controls.sql) | Built, ships with the next deploy; outside delivery waits on the `agents.three.ws` DNS records (owner) | Each agent can hold an address on `agents.three.ws`: quote-then-confirm mailbox creation and sends that show the exact recipients and body first, content rules, a per-agent recipient allowlist and daily send cap that only a signed-in owner can change, instant delivery between agent mailboxes, received mail fenced as untrusted data on every surface, and inbox tools (`inbox_wait_for_code`) that extract one-time codes and sign-in links for signups from owner-listed, authenticated senders only (migration [20261023160000_agent_mail_code_senders.sql](api/_lib/migrations/20261023160000_agent_mail_code_senders.sql)). Owner rules turn matching mail into a read-only, zero-budget agent run, either at once or after a yes in /approvals. Docs: [docs/agent-mail.md](docs/agent-mail.md). Tests: [tests/agent-mail-controls.test.js](tests/agent-mail-controls.test.js), [tests/agent-inbox-otp.test.js](tests/agent-inbox-otp.test.js) |
+| Agent mail (inbox, rules, send controls) | Page [pages/agent-mail.html](pages/agent-mail.html) `→ /agents/:id/mail` and `/agent-mail` + [src/agent-mail.js](src/agent-mail.js), REST [api/v1/agent-mail.js](api/v1/agent-mail.js) `→ /api/v1/agents/:id/mail/*`, MCP [api/_mcp/tools/mail.js](api/_mcp/tools/mail.js), service [api/_lib/mail/](api/_lib/mail) (service, controls, untrusted, rules, inbound, content rules, spam, threading, extract, otp), webhook [api/mail/inbound.js](api/mail/inbound.js), migration [api/_lib/migrations/20261010184500_agent_mail_controls.sql](api/_lib/migrations/20261010184500_agent_mail_controls.sql) | Built, ships with the next deploy; outside delivery waits on the `agents.three.ws` DNS records (owner) | Each agent can hold an address on `agents.three.ws`: quote-then-confirm mailbox creation and sends that show the exact recipients and body first, content rules, a per-agent recipient allowlist and daily send cap that only a signed-in owner can change, instant delivery between agent mailboxes, received mail fenced as untrusted data on every surface, and inbox tools (`inbox_wait_for_code`) that extract one-time codes and sign-in links for signups from owner-listed, authenticated senders only (migration [20261023160000_agent_mail_code_senders.sql](api/_lib/migrations/20261023160000_agent_mail_code_senders.sql)). Owner rules turn matching mail into a read-only, zero-budget agent run, either at once or after a yes in /approvals. Docs: [docs/agent-mail.md](docs/agent-mail.md). Tests: [tests/agent-mail-controls.test.js](tests/agent-mail-controls.test.js) |
| Agent commerce (invoices, sends, offers, limit requests) | Owner console [pages/commerce.html](pages/commerce.html) `→ /commerce` and `/invoices` + [src/commerce-page.js](src/commerce-page.js), public invoice and receipt page [pages/agent-invoice.html](pages/agent-invoice.html) `→ /invoices/:id` + [src/agent-invoice-page.js](src/agent-invoice-page.js), REST [api/agent-commerce/[...route].js](api/agent-commerce/[...route].js) `→ /api/agent-commerce/*`, library [api/_lib/agent-commerce/](api/_lib/agent-commerce), MCP [api/_mcpagent/commerce-tools.js](api/_mcpagent/commerce-tools.js) on `/api/mcp-agent`, watcher cron [api/cron/agent-invoice-watch.js](api/cron/agent-invoice-watch.js), migration [api/_lib/migrations/20261010221500_agent_commerce.sql](api/_lib/migrations/20261010221500_agent_commerce.sql) | Built, ships with the next deploy | Agents and owners issue invoices in USDC, SOL or $THREE, payable by Solana Pay link or QR; a per-minute watcher matches payments by reference key and memo and moves invoices to paid, underpaid or expired, with webhooks, owner notifications and a public receipt. Paid mainnet invoices feed the earnings ledger. `agent_send` is preview-then-confirm and gated by the destination allowlist and approvals; offers sell with a quote and an explicit confirm and release the fulfillment only once the chain shows payment; `spending_setup` proposals need the owner's step-up (password, fresh sign-in or a linked-wallet signature) and can never be approved by the agent. Docs: [docs/agent-commerce.md](docs/agent-commerce.md). Tests: [tests/agent-commerce-invoices.test.js](tests/agent-commerce-invoices.test.js) |
| Agent perps (perpetual futures desk) | Page [pages/agent-perps.html](pages/agent-perps.html) `→ /agents/:id/perps` and `/agent-perps` + [src/agent-perps.js](src/agent-perps.js) + [src/agent-perps.css](src/agent-perps.css), REST [api/v1/agents/[id]/perps/[...path].js](api/v1/agents/[id]/perps/[...path].js) over [api/_lib/perps/routes.js](api/_lib/perps/routes.js) `→ /api/v1/agents/:id/perps/*`, MCP [api/_mcpagent/perps-tools.js](api/_mcpagent/perps-tools.js) (`perps_*` on `/api/mcp-agent`), service [api/_lib/perps/service.js](api/_lib/perps/service.js), venue contract and registry [api/_lib/perps/index.js](api/_lib/perps/index.js), venue module [api/_lib/perps/phoenix.js](api/_lib/perps/phoenix.js), paper ledger [api/_lib/perps/paper.js](api/_lib/perps/paper.js), limits [api/_lib/perps/limits.js](api/_lib/perps/limits.js), alerts [api/_lib/perps/alerts.js](api/_lib/perps/alerts.js), cron [api/cron/perps-tick.js](api/cron/perps-tick.js), migration [api/_lib/migrations/20261010213000_perps_desk.sql](api/_lib/migrations/20261010213000_perps_desk.sql) | Built, ships with the next deploy (paper by default; live per agent once the owner turns it on) | An agent goes long or short with USDC collateral from its own Solana wallet. Every action is a preview then a confirmed, idempotent execute that refuses if the quote moved past tolerance. Mandatory per-agent leverage and per-position margin caps (2x and $25 by default), slippage and quote-move limits, a live tracker stream with PnL, funding and liquidation distance, owner alert thresholds delivered through notifications, and a kill switch that cancels and closes everything. Paper mode fills at live prices; live transactions are simulated before the agent wallet signs. Docs: [docs/perps.md](docs/perps.md). Tests: [tests/perps-desk.test.js](tests/perps-desk.test.js) |
| Papertrade reads (HyperEVM synthetic perps) | REST [api/papertrade.js](api/papertrade.js) `→ /api/papertrade?view=markets, quote, account or protocol`, MCP [api/_mcpagent/papertrade-tools.js](api/_mcpagent/papertrade-tools.js) (`papertrade_*` on `/api/mcp-agent`), client and service [api/_lib/papertrade/index.js](api/_lib/papertrade/index.js), position math [api/_lib/papertrade/math.js](api/_lib/papertrade/math.js) | Built, ships with the next deploy | Read-only window onto Papertrade: live markets priced at the Hyperliquid mid, exact open quotes (hard-bust price, capacity limits, and the payout ladder after the deadband, impact haircut and live win fee), any wallet's positions valued live, and protocol health including the payout queue. Nothing signs or trades. Docs: [docs/papertrade.md](docs/papertrade.md). Tests: [tests/papertrade-math.test.js](tests/papertrade-math.test.js) |
@@ -140,6 +141,7 @@ packages, a generated standalone GitHub mirror). See
| Datapoint fabric (x402, 480k+ endpoints) | Registry [api/_lib/market-data/datapoints.js](api/_lib/market-data/datapoints.js), dynamic route [api/x402/d/[...path].js](api/x402/d/%5B...path%5D.js) `→ /api/x402/d/<family>/<id>/<metric>`, free catalog [api/x402/d/index.js](api/x402/d/index.js) `→ /api/x402/d`, discovery slice `buildDatapointItems` in [api/wk.js](api/wk.js), docs § in [docs/market-data-api.md](docs/market-data-api.md#the-datapoint-fabric--480000-standalone-endpoints) | Live | Every individual market datapoint as its OWN standalone paid endpoint — one URL = one value = one $0.0005 USDC x402 micro-payment (override `X402_PRICE_DATAPOINT_<FAMILY>`). 9 families × 68 metrics × live id spaces ≈ 484k addressable endpoints (~17.5k coins × 20, ~15.5k pools × 7, ~6k protocols × 6, chains, stablecoins, exchanges, global/gas/fear-greed) served by ONE dynamic route reading the registry; ids are runtime values, nothing hardcodes a third-party asset. Path that cannot exist → 404/422 with NO 402 issued; unknown id/outage rejects pre-settle. Free catalog enumerates families, metrics, prices, and pages each family's full live id space (200/page) so crawlers can walk the universe; the .well-known discovery doc carries a curated runtime-derived slice (~83 concrete resources). Tests: [tests/market-datapoints.test.js](tests/market-datapoints.test.js). |
| Pole Club (x402 micro-tips drive a live 3D room) | Page [pages/club.html](pages/club.html) `→ /club` and `→ /stripclub` (same page, the path picks the walk-in via [src/club-variant.js](src/club-variant.js)), stage app [src/club.js](src/club.js) with [src/club-camera.js](src/club-camera.js), [src/club-crowd.js](src/club-crowd.js), [src/club-dances.js](src/club-dances.js), [src/club-audio.js](src/club-audio.js), [src/club-venue.js](src/club-venue.js), [src/club-perf.js](src/club-perf.js), [src/club-sequence.js](src/club-sequence.js), in-room life [src/club-money.js](src/club-money.js) (the $0.001 bills), [src/club-floor-crowd.js](src/club-floor-crowd.js) (the people around the stages) and [src/club-tip-hud.js](src/club-tip-hud.js) (the tip tags over each dancer); walk-in [src/club-entrance.js](src/club-entrance.js) + cover gate [src/club-gate.js](src/club-gate.js) (shared express flag [src/shared/club-express.js](src/shared/club-express.js)), the 3D doorman [src/club-bouncer.js](src/club-bouncer.js) and the line outside [src/club-queue.js](src/club-queue.js); paid endpoints [api/x402/club-cover.js](api/x402/club-cover.js) `→ /api/x402/club-cover` and [api/x402/dance-tip.js](api/x402/dance-tip.js) `→ /api/x402/dance-tip`; style table [api/\_lib/club/styles.js](api/_lib/club/styles.js) and feed row shaper [api/\_lib/club/tip-rows.js](api/_lib/club/tip-rows.js); free reads [api/club/leaderboard.js](api/club/leaderboard.js), [api/club/tips.js](api/club/tips.js), [api/club/tips-stream.js](api/club/tips-stream.js) `→ /api/club/tips/stream` (SSE), [api/club/presence.js](api/club/presence.js); payouts [api/\_lib/club/payouts.js](api/_lib/club/payouts.js) via the `/api/cron/club-payouts` job; assets [public/club/](public/club) | Live | The platform's showcase of x402 as a live interaction loop rather than a billing detail: a $0.01 USDC cover charge at the door (with an on-chain bouncer that reads the paying wallet's ban list and prior visits, and a device-cached pass so one cover lasts the night). That bouncer is also a character in the alley: a rigged avatar posted beside the door who tracks you as you walk up, quotes the cover, and acts out each step of the payment (reads the list while the wallet is checked, nods you through by tier, shakes his head on a refusal), driven by the `club:door-state` event the cover gate emits on every state change; tap him and he explains how the club works. A roped line of waiting avatars talks among itself beside him, then $0.001 USDC per routine at three poles. A settled tip is what puts a dancer on the pole, so the payment IS the interaction. Inside, the room is alive: a crowd stands around the stages (never in the camera's sightlines), each dancer carries a floating tag you tip her from (click her or her pole to pick a style), and every settled tip turns into $0.001 bills: thrown from the camera for your own tip, dropped from the rig for anyone else's, left lying on that stage so each pile is the dancer's night so far. Tips paid from a platform wallet (`x402_ring_wallets`) arrive flagged `agent`: they drop one violet bill and never start a routine or pass for a person, and each pole card splits tips today into people and agents. Third-person walk-in through alley → gallery → clubhouse → stage before the room opens; dancers are ordinary gallery avatars retargeted onto the shared clip library, swappable per pole. Tips land live over SSE with REST backfill on reconnect, and per-dancer earnings accrue to `club_dancer_wallets` for the payout sweep. `/club?demo` is the express entry that skips the cover for QA and recordings. `/stripclub` is a second entrance to the same room: it opens on a brick back alley (CC BY 4.0 model, credited on screen and in [public/club/venue/LICENSES.md](public/club/venue/LICENSES.md)) instead of the neon alley, shares the cover pass, and falls back to the neon alley if its model cannot load. |
| Living Stages (an AI host performs live, tipped in $THREE) | Page [pages/stage.html](pages/stage.html) `→ /stage` (the marquee) and `→ /stage?id=<stage>` (the venue), runtime [src/stage.js](src/stage.js), realtime client [src/stage-net.js](src/stage-net.js) → `stage_world` in [multiplayer/src/rooms/StageRoom.js](multiplayer/src/rooms/StageRoom.js) with the show logic in [multiplayer/src/stage-show.js](multiplayer/src/stage-show.js); API [api/stage/index.js](api/stage/index.js) `→ /api/stage`, tips [api/stage/tip.js](api/stage/tip.js) `→ /api/stage/tip`, host brain [api/stage/host.js](api/stage/host.js) `→ /api/stage/host` (HMAC, multiplayer server only) | Live | An embodied agent hosts a show in a 3D venue. Each beat is a timed `utterance` broadcast every client renders identically: TTS through a `PositionalAudio` whose analyser drives lip-sync, plus live captions, so a late joiner or a no-WebGL browser still reads the show. The crowd is co-present on a server-assigned ring, questions queue for the host, and a $THREE tip that settles on-chain to the host wallet is verified by the API and pushed into the room so the host reacts within a beat. The page resolves the realtime server through the same chain as `/play` ([src/shared/game-server-url.js](src/shared/game-server-url.js)) from the `game-server` meta it carries; localhost talks to `:2567`. The client subscribes to the host frame with `listen` (the join resolves before the first state patch, so `onChange` on the not-yet-decoded child throws) and registers message handlers before any state work, because the room opens the show the instant the first person arrives. With no feed the pill reads offline and reconnects on tap. Docs: [docs/stage.md](docs/stage.md). Tests: [tests/multiplayer-server-boot.test.js](tests/multiplayer-server-boot.test.js) (a real `stage_world` join wired the way the page does it), [tests/stage-show.test.js](tests/stage-show.test.js) |
+| Outcome-weighted memory and decision trail verify | Weights [api/_lib/memory-outcomes.js](api/_lib/memory-outcomes.js), recall [api/_lib/memory-store.js](api/_lib/memory-store.js) `searchMemories`, link writes `linkOutcomeToMemories` in [api/_lib/reasoning-ledger.js](api/_lib/reasoning-ledger.js) called from [api/cron/reconcile-decisions.js](api/cron/reconcile-decisions.js), recall ids captured in [workers/agent-sniper/executor.js](workers/agent-sniper/executor.js), verify [api/agents/[id]/decision-trail-verify.js](api/agents/%5Bid%5D/decision-trail-verify.js) `→ GET /api/agents/:id/decision-trail/verify` over [api/_lib/ledger-verify.js](api/_lib/ledger-verify.js), badge in [src/reasoning-ledger.js](src/reasoning-ledger.js) `→ /reasoning-ledger`, migration [api/_lib/migrations/20261023150000_memory_outcome_link.sql](api/_lib/migrations/20261023150000_memory_outcome_link.sql) | Built, ships with the next deploy (migration pending) | Recall ids ride on each snipe decision (`decision_recalls`, outside the hashed entry so the chain stays immutable); when the position closes the cron stamps pnl USD, win and hold time onto each recalled memory (`memory_outcomes`). Recall multiplies the score by a bounded, age-decayed, never-zero weight and returns `rankScore` and `outcome`. Tests: [tests/memory-outcome-recall.test.js](tests/memory-outcome-recall.test.js), [tests/decision-memory-link.test.js](tests/decision-memory-link.test.js), [tests/ledger-endpoints.test.js](tests/ledger-endpoints.test.js) |
| Fits: the public cosmetics economy | [pages/fits.html](pages/fits.html) `→ /fits`, page module [src/fits.js](src/fits.js) + pure helpers [src/fits-lib.js](src/fits-lib.js), backends [api/cosmetics/leaderboard.js](api/cosmetics/leaderboard.js) + [api/cosmetics/earnings.js](api/cosmetics/earnings.js), engine [api/_lib/cosmetics-economy.js](api/_lib/cosmetics-economy.js) | Live | The settled-sale cosmetics ledger, promoted out of a panel inside `/play` into a public surface. Rarest premium fits ranked by how few wallets own them (owner count first, rarity as the tie-break, so a legendary never sorts under an equally-scarce rare), top collectors by rarity-weighted flex score, top creators by **actually settled** USDC, and a live sales drip; each fit deep-links to its coin world at `/play?coin=<mint>`. Plus a creator-earnings lookup any wallet can run without an account (lifetime + 30-day, paid vs pending, per-cosmetic and per-coin-world breakdowns), reachable in one click from each creator row rather than by copy-pasting an address. Coin mints are runtime ledger values, never hardcoded. Headline numbers are derived from the same rows rendered beneath them, so they cannot disagree; the volume tile is labelled as the returned sales window, not as an all-time total. Sub-cent sales keep their precision instead of collapsing to $0.00. Tests: [tests/fits-lib.test.js](tests/fits-lib.test.js) |
| Receipt Vault: buyer-side proof of purchase | [pages/receipts.html](pages/receipts.html) `→ /receipts`, page module [src/receipts.js](src/receipts.js) + pure helpers [src/receipts-lib.js](src/receipts-lib.js), backend [api/x402/my-receipts.js](api/x402/my-receipts.js), storage [api/_lib/x402/receipt-storage.js](api/_lib/x402/receipt-storage.js), issuer [api/_lib/x402/offer-receipt-issuer.js](api/_lib/x402/offer-receipt-issuer.js), key publication [api/x402/did.js](api/x402/did.js) `→ /.well-known/did.json` | Live | What a given wallet **spent** on the platform's paid endpoints. Every settled x402 call issues a signed Offer & Receipt artifact (USE-17) and durably logs it; a buyer connects a Solana or EVM wallet, signs one read-only message (5-minute window, no transaction, no fee) and gets every receipt ever issued to that wallet: endpoint, settled amount, network, explorer-linked tx, the full signed artifact as JSON, plus search and CSV export. The signing message is a fixed four-line string that must stay byte-identical between `buildReceiptsMessage()` (client) and `buildExpectedMessage()` (server); [tests/receipts-lib.test.js](tests/receipts-lib.test.js) pins that contract against a verbatim copy of the server's function. The signed artifact carries no amount and omits the tx hash under the spec §5.2 privacy default, so the row records both separately as our own audit trail (migration [api/_lib/migrations/2026-07-28-x402-receipt-settlement.sql](api/_lib/migrations/2026-07-28-x402-receipt-settlement.sql)); receipts predating that capture report as "N of M priced" rather than under-reporting a total. Issuance requires `OFFER_RECEIPT_JWK` (jws) or `OFFER_RECEIPT_SIGNING_PRIVATE_KEY` (eip712); unset means no receipts are issued at all. Docs: [docs/x402-endpoints.md](docs/x402-endpoints.md) |
| SKILL-MD 1.0 catalog (agent-readable paid-route index) | Generator [api/_lib/skill-md.js](api/_lib/skill-md.js), handler [api/skill-md.js](api/skill-md.js) `→ /.well-known/skill.md`, route in [vercel.json](vercel.json), linked from `service.skill_md` in the `/.well-known/x402.json` doc ([api/wk.js](api/wk.js)) and from [data/pages.json](data/pages.json) into `llms.txt` | Live | A single markdown file, generated straight from the live `/openapi.json` catalog and the real `buildExactRequirements()` rail logic, listing every paid HTTP route (method, path, price, parameters), the Solana and Base payment rails it settles on, and a sample 402 challenge, in the format the upstream [x402-skill-md](https://github.com/nirholas/x402-skill-md) validator checks. Test [tests/skill-md.test.js](tests/skill-md.test.js) runs that real validator against the generated document on every run (zero errors besides SM005, the expected "no EVM rail" finding on deployments without a configured Base facilitator). Not to be confused with [public/skill.md](public/skill.md) `→ /skill.md` (no `.well-known`), the Agent Skills connector file above that tells a model how to install three.ws's MCP servers; the two cross-link to each other. Docs: [docs/x402-endpoints.md](docs/x402-endpoints.md#agent-readable-catalog-skillmd) |
@@ -195,7 +197,7 @@ packages, a generated standalone GitHub mirror). See
| Crew HQ (crews, tags, 3D presence room) | Page [pages/crews.html](pages/crews.html) + [src/crews-page.js](src/crews-page.js) + [src/crews.css](src/crews.css) `→ /crews` and `/crews/<TAG>`, data layer [api/_lib/crews-store.js](api/_lib/crews-store.js), endpoints [api/crews/](api/crews) (`index.js`, `[tag].js`, `search.js`, `directory.js`), presence [api/_lib/presence-store.js](api/_lib/presence-store.js), schema `api/_lib/migrations/2026-06-05-crews.sql` | Live | The group half of the social system: a crew is a set of accounts flying one 2-6 character tag, with one owner, one crew per account, and a public headquarters. The HQ renders the roster as a room rather than a list, each member standing as their own agent's 3D avatar (resolved by `standeesFor()`, private models never emitted) and lit by the same Redis presence the friends drawer reads. Crew colour is an FNV-1a hash of the tag, so a crew looks like itself everywhere without stored art. Live `<agent-3d>` figures are capped and lazily mounted so a large crew cannot exhaust the browser's WebGL contexts. The backend shipped with W09 and had no UI at all until this page; the in-world friends drawer now links to it. Docs: [docs/crews.md](docs/crews.md). Tests: [tests/crews-shared.test.js](tests/crews-shared.test.js), [tests/crews-wiring.test.js](tests/crews-wiring.test.js) |
| Agent Spotlight (community showcase) | Index [pages/spotlight.html](pages/spotlight.html) + [src/spotlight.js](src/spotlight.js) `→ /spotlight`, entry page [pages/spotlight-entry.html](pages/spotlight-entry.html) + [src/spotlight-entry.js](src/spotlight-entry.js) `→ /spotlight/:id`, shared render + form modules [src/spotlight-shared.js](src/spotlight-shared.js) / [src/spotlight-form.js](src/spotlight-form.js), styles [src/spotlight.css](src/spotlight.css), crawler share cards [api/spotlight-og.js](api/spotlight-og.js), HTTP boundary [api/spotlight/[action].js](api/spotlight), queries + ranking [api/_lib/spotlight-store.js](api/_lib/spotlight-store.js), schema `api/_lib/migrations/20260901160000_agent_showcase.sql`, curated seed [scripts/seed-spotlight.mjs](scripts/seed-spotlight.mjs) | Live | The curated half of `/agents`: the index lists every agent ever registered, this lists the ones a person wrote up and the community voted on. An entry stores the pitch only (headline, one-liner, write-up, category, tags, demo link); the agent's name, avatar, skills, on-chain identity, conversation count and builder are read live off `agent_identities` on every request, so a card can never drift from the agent it points at. Ranked by `(votes + 1) / (age_days + 1) ^ 1.2`, computed identically in JS and in the SQL `ORDER BY`; the `+ 1` keeps a brand-new entry on the first page, and the day scale (rather than the hour scale every feed copies from Hacker News) is what stops a low-volume board's `trending` from collapsing into `newest`. One entry per agent (re-submitting edits it), one vote per account, votes counted on read rather than denormalised. Entries badged `Curated` were written by three.ws about someone else's public agent, say so in words on the entry page, and are replaced the moment that builder submits their own. The API lives at `/api/spotlight/*` because `/api/showcase` is the unrelated ERC-8004 directory ([api/showcase.js](api/showcase.js)); the tables keep the `agent_showcase` name they were applied under. Docs: [docs/spotlight.md](docs/spotlight.md). Tests: [tests/spotlight-ranking.test.js](tests/spotlight-ranking.test.js) |
| Success Stories (verified results) | Page [pages/stories.html](pages/stories.html) + [src/stories.js](src/stories.js) `→ /stories`, shared results renderer [src/spotlight-verified.js](src/spotlight-verified.js) (also drawn as "Verified results" on `/spotlight/:id`), metrics [api/_lib/spotlight-metrics.js](api/_lib/spotlight-metrics.js), actions `stories` / `consent` / `moderate` on [api/spotlight/[action].js](api/spotlight), schema `api/_lib/migrations/20260930171500_agent_showcase_story_consent.sql` | Live | Spotlight entries whose agent OWNER opted in (a checkbox on the submit form, off by default, or "Feature as a success story" on the entry page), shown only when the agent has a verified result: a coin launched (`pump_agent_mints`), service income (`agent_revenue_events` USDC net plus completed `agent_hires`), or creator fees (the agent earnings read model, when it is live). Curated entries never qualify without the owner's consent, and consent given by a previous owner does not carry over. Every figure is computed server-side and links to where it can be checked. Admins hide or restore any entry with `POST /api/spotlight/moderate` (audit-logged); a hidden entry drops out of `/spotlight`, `/stories` and the entry page. Docs: [docs/spotlight.md](docs/spotlight.md). Tests: [tests/spotlight-stories.test.js](tests/spotlight-stories.test.js) |
-| `/play` Robinhood Chain worlds (NOXA + The Odyssey coins, live-trade animation) | Firehose worker [workers/robinhood-feed/](workers/robinhood-feed) (watches NOXA + Odyssey launchpads + their Uniswap v3 pools, normalizes to the pump-compatible event shape, serves SSE/WS/REST). API bridge: [api/robinhood/coin-trades.js](api/robinhood/coin-trades.js) (the in-world chart-screen's trade feed), [api/robinhood/play-worlds.js](api/robinhood/play-worlds.js) (the `/worlds` lobby's Robinhood Chain tab). Client: chain-flavored biome `hoodchain` in [src/game/world-env.js](src/game/world-env.js) (auto-pinned in [src/game/coincommunities.js](src/game/coincommunities.js) `isRobinhoodCoin()`), trade-feed endpoint routing in [src/game/chart-screen.js](src/game/chart-screen.js), lobby tab + EVM-address support in [src/worlds-lobby.js](src/worlds-lobby.js) (routes Robinhood coins to `/play`, unchanged pump.fun coins stay on `/temporary`) | In-repo | Every Robinhood Chain memecoin (chain 4663) gets the same treatment pump.fun coins already have: a deterministic 3D world seeded by its contract address, in a distinct dark ticker-tape palette, with real launchpad/Uniswap-v3 trades rippling the space live via `MarketReactor`. Multiplayer (`walk_world`, filtered by `coin`+`tier`) needed zero code changes — it already keys rooms by an opaque coin id string. `isValidToken()` in [api/_lib/coin-communities.js](api/_lib/coin-communities.js) was widened to accept EVM addresses (it previously 400'd every EVM-chain world's Town chat, even though the CHAINS list already declared ethereum/base/bsc support). Tests: [workers/robinhood-feed/tests/normalize.test.js](workers/robinhood-feed/tests/normalize.test.js) (against real captured on-chain logs). |
+| `/play` Robinhood Chain worlds (every observed launch venue + The Odyssey coins, live-trade animation) | Firehose worker [workers/robinhood-feed/](workers/robinhood-feed) (watches The Odyssey plus every launch venue found from mint logs, grades each deployer and the dev-sold state, normalizes to the pump-compatible event shape, serves SSE/WS/REST; venue catalog in `src/venue-catalog.json`). API bridge: [api/robinhood/coin-trades.js](api/robinhood/coin-trades.js) (the in-world chart-screen's trade feed), [api/robinhood/play-worlds.js](api/robinhood/play-worlds.js) (the `/worlds` lobby's Robinhood Chain tab). Client: chain-flavored biome `hoodchain` in [src/game/world-env.js](src/game/world-env.js) (auto-pinned in [src/game/coincommunities.js](src/game/coincommunities.js) `isRobinhoodCoin()`), trade-feed endpoint routing in [src/game/chart-screen.js](src/game/chart-screen.js), lobby tab + EVM-address support in [src/worlds-lobby.js](src/worlds-lobby.js) (routes Robinhood coins to `/play`, unchanged pump.fun coins stay on `/temporary`) | In-repo | Every Robinhood Chain memecoin (chain 4663) gets the same treatment pump.fun coins already have: a deterministic 3D world seeded by its contract address, in a distinct dark ticker-tape palette, with real launchpad/Uniswap-v3 trades rippling the space live via `MarketReactor`. Multiplayer (`walk_world`, filtered by `coin`+`tier`) needed zero code changes, it already keys rooms by an opaque coin id string. `isValidToken()` in [api/_lib/coin-communities.js](api/_lib/coin-communities.js) was widened to accept EVM addresses (it previously 400'd every EVM-chain world's Town chat, even though the CHAINS list already declared ethereum/base/bsc support). Tests: [workers/robinhood-feed/tests/normalize.test.js](workers/robinhood-feed/tests/normalize.test.js) (against real captured on-chain logs). |
| Sealed wallet gift drops (send/claim) | Client: [src/pages/sealed-drops.js](src/pages/sealed-drops.js) — create + "My drops" sections mounted into [public/vanity-wallet.html](public/vanity-wallet.html) (`#drop-create`/`#drop-mine`, below the vanity grinder — vanity pattern fields are shared), claim flow on its own page [pages/drop.html](pages/drop.html) `→ /drop/:id` (24-hex-char id, routed in [vite.config.js](vite.config.js) dev middleware + [vercel.json](vercel.json)). Crypto: [src/solana/vanity/sealed-envelope.js](src/solana/vanity/sealed-envelope.js) (ECIES seal/open, X25519 keygen — all client-side, three.ws never sees a plaintext key), [src/solana/vanity/drop-protocol.js](src/solana/vanity/drop-protocol.js) (claim-token derivation). Server: [api/vanity/drops.js](api/vanity/drops.js) (create/claim/reveal/reclaim, on-chain funding), OG card [api/og/sealed-drop.js](api/og/sealed-drop.js) | In-repo | Fund a fresh wallet — optionally vanity-ground with the same prefix/suffix grinder above — wrap it in a sealed link, and send it. Two seal modes: a **bearer link** (the claim key rides in the URL fragment, anyone with the full link claims once) or **sealed to a recipient's X25519 key** (only they can ever open it, even with the link). The create fee settles via x402; the gift amount funds on-chain into a fresh wallet server-side. Claiming decrypts entirely in the browser and offers the recovered seed phrase/secret key for import — the server only ever sees the sealed ciphertext. "My drops" (browser-local, by a random sender tag) lists what you've sent so expired-unclaimed gifts can be reclaimed. |
| Premium vanity inventory (sell pre-ground addresses) | [public/vanity/premium/](public/vanity/premium/index.html) `→ /vanity/premium`, batch grinder [workers/vanity-grinder/](workers/vanity-grinder), store [api/_lib/vanity-inventory-store.js](api/_lib/vanity-inventory-store.js), sell [api/x402/vanity-premium.js](api/x402/vanity-premium.js), replenish [api/cron/vanity-inventory-replenish.js](api/cron/vanity-inventory-replenish.js) | In-repo · GCP spot CPU | Long (4–5+ char) brandable Solana addresses ground ahead of time on cheap spot CPU, sealed at rest (AES-256-GCM or GCP-KMS envelope, [api/_lib/vanity-vault.js](api/_lib/vanity-vault.js)), and sold from stock via x402 — priced by rarity ($1–$50) on `vanity-premium`, or by fixed 4–5 char tiers ($2.50/$10) directly through [`/api/x402/vanity`](docs/vanity.md#tier-1--live-grinder) (instant delivery, `source:"inventory"`) and the [pump-launch vanity upsell](docs/pump-launcher.md) — delivered exactly once, ciphertext destroyed on delivery. An hourly cron watches stock and fires a fresh grind batch (Cloud Run Job) when low. Free `vanity_premium` MCP browse tool. Runbook: [docs/ops/gcp-credits.md](docs/ops/gcp-credits.md) |
| Embed examples | [examples/](examples) | In-repo | `embed-test.html`, `web-component.html`, `two-agents.html`, `minimal.html`, [agent-native-3d/](examples/agent-native-3d) (below). Also: [skills/](examples/skills) (six installable skill bundles), [three-concierge/](examples/three-concierge) (Trinity, reference agent for manifest spec agent-manifest/0.2), [monicas-apartment/](examples/monicas-apartment) (walkable first-person Three.js scene demo, added 2026-07-17), [agenc-task-roundtrip/](examples/agenc-task-roundtrip) (end-to-end AgenC task flow on Solana devnet), [metamask-agent-wallet/](examples/metamask-agent-wallet) (single-page demo giving an agent a server-side MetaMask wallet), [pump-fun-agent/](examples/pump-fun-agent) (example manifest composing the four production pump.fun skills), [paid-mcp-server/](examples/paid-mcp-server) (an MCP server whose tools charge per call in USDC on Solana over x402: one free orientation tool, one paid glTF/GLB inspector, 15 tests, added 2026-07-30), [google-adk/](examples/google-adk) (a Google Agent Development Kit agent calling the free three.ws MCP server through `MCPToolset`, added 2026-10-13) |
diff --git a/api/_lib/agent-onboarding.js b/api/_lib/agent-onboarding.js
new file mode 100644
index 000000000..169374d8f
--- /dev/null
+++ b/api/_lib/agent-onboarding.js
@@ -0,0 +1,166 @@
+// Challenge-response signup for autonomous agents.
+//
+// The agent holds a Solana (ed25519) key and nothing else. It asks the server
+// for a challenge bound to its public key, signs the message the server built,
+// and posts the signature back. The server never trusts a message the client
+// assembled: it rebuilds the text from the stored challenge row, so the nonce,
+// the domain and both timestamps are the ones it issued.
+//
+// Replay protection is the row itself. A challenge is bound to one key, expires
+// after CHALLENGE_TTL_SECONDS, and is consumed with a compare-and-set update, so
+// a captured signature works exactly once on every instance.
+//
+// Account creation (user row, custodial wallets, paper-mode caps, API key,
+// claim code) is createSelfSignedAgent in agent-signup.js, shared with the
+// timestamp flow at /api/v1/agents/signup, so a key can only ever own one
+// account whichever door it came through.
+
+import { ed25519 } from '@noble/curves/ed25519.js';
+import bs58mod from 'bs58';
+import { sql } from './db.js';
+import { env } from './env.js';
+import { fail } from './gateway.js';
+import { randomToken } from './crypto.js';
+
+const bs58 = bs58mod.default || bs58mod;
+
+export const CHALLENGE_HEADER = 'three.ws agent signup v2';
+export const CHALLENGE_TTL_SECONDS = 300;
+
+/** The exact text the agent signs. */
+export function buildChallengeMessage({ domain, publicKey, nonce, issuedAt, expiresAt }) {
+ return [
+ CHALLENGE_HEADER,
+ `domain: ${domain}`,
+ `public_key: ${publicKey}`,
+ `nonce: ${nonce}`,
+ `issued_at: ${issuedAt}`,
+ `expires_at: ${expiresAt}`,
+ ].join('\n');
+}
+
+/** Decode a base58 value to exactly `length` bytes, or throw a 400. */
+export function decodeBase58(value, length, what) {
+ let bytes;
+ try {
+ bytes = bs58.decode(String(value));
+ } catch {
+ fail(400, 'invalid_encoding', `${what} must be base58`);
+ }
+ if (bytes.length !== length) fail(400, 'invalid_encoding', `${what} must decode to ${length} bytes`);
+ return bytes;
+}
+
+/** Validate a public key string. Returns it unchanged. */
+export function assertPublicKey(value) {
+ if (typeof value !== 'string' || !value) fail(400, 'validation_error', 'public_key is required (base58 ed25519)');
+ decodeBase58(value, 32, 'public_key');
+ return value;
+}
+
+/** True when `signature` (base58) is a valid ed25519 signature of `message` by `publicKey`. */
+export function verifyChallengeSignature({ message, signature, publicKey }) {
+ const sig = decodeBase58(signature, 64, 'signature');
+ const key = decodeBase58(publicKey, 32, 'public_key');
+ try {
+ return ed25519.verify(sig, new TextEncoder().encode(message), key);
+ } catch {
+ return false;
+ }
+}
+
+function appDomain() {
+ return new URL(env.APP_ORIGIN).host;
+}
+
+/** Issue a single-use challenge bound to `publicKey`. */
+export async function issueChallenge({ publicKey, ip, now = new Date() }) {
+ sql`delete from agent_signup_challenges where expires_at < now() - interval '1 hour'`.catch(() => {});
+ const nonce = randomToken(24).replace(/[^A-Za-z0-9]/g, '').slice(0, 32);
+ const issuedAt = now.toISOString();
+ const expiresAt = new Date(now.getTime() + CHALLENGE_TTL_SECONDS * 1000).toISOString();
+ await sql`
+ insert into agent_signup_challenges (nonce, public_key, ip, issued_at, expires_at)
+ values (${nonce}, ${publicKey}, ${ip}, ${issuedAt}, ${expiresAt})
+ `;
+ const domain = appDomain();
+ return {
+ nonce,
+ message: buildChallengeMessage({ domain, publicKey, nonce, issuedAt, expiresAt }),
+ issued_at: issuedAt,
+ expires_at: expiresAt,
+ ttl_seconds: CHALLENGE_TTL_SECONDS,
+ domain,
+ };
+}
+
+/**
+ * Redeem a challenge: the nonce must exist for this key, be unexpired and
+ * unconsumed, and the signature must verify over the message rebuilt from the
+ * stored row. A bad signature does not burn the nonce, so a typo is retryable;
+ * a good one burns it atomically.
+ */
+export async function redeemChallenge({ publicKey, nonce, signature, now = new Date() }) {
+ if (typeof nonce !== 'string' || !/^[A-Za-z0-9]{16,64}$/.test(nonce)) {
+ fail(400, 'validation_error', 'nonce is required: request a challenge first');
+ }
+ if (typeof signature !== 'string' || !signature) fail(400, 'validation_error', 'signature is required (base58)');
+ const [row] = await sql`
+ select nonce, public_key, issued_at, expires_at, consumed_at
+ from agent_signup_challenges where nonce = ${nonce} limit 1
+ `;
+ if (!row || row.public_key !== publicKey) fail(400, 'invalid_nonce', 'unknown nonce for this public key: request a new challenge');
+ if (row.consumed_at) fail(409, 'nonce_reused', 'this challenge was already used: request a new one');
+ if (new Date(row.expires_at).getTime() <= now.getTime()) fail(410, 'nonce_expired', 'this challenge expired: request a new one');
+
+ const message = buildChallengeMessage({
+ domain: appDomain(),
+ publicKey,
+ nonce,
+ issuedAt: new Date(row.issued_at).toISOString(),
+ expiresAt: new Date(row.expires_at).toISOString(),
+ });
+ if (!verifyChallengeSignature({ message, signature, publicKey })) {
+ fail(401, 'bad_signature', 'signature does not match the challenge message for this public_key');
+ }
+ const burned = await sql`
+ update agent_signup_challenges set consumed_at = now()
+ where nonce = ${nonce} and public_key = ${publicKey} and consumed_at is null and expires_at > ${now.toISOString()}
+ returning nonce
+ `;
+ if (burned.length !== 1) fail(409, 'nonce_reused', 'this challenge was already used: request a new one');
+}
+
+/** New self-signed accounts in the last 24 hours. */
+export async function signupsInLastDay() {
+ const [row] = await sql`select count(*)::int as n from agent_self_signups where created_at > now() - interval '24 hours'`;
+ return row?.n ?? 0;
+}
+
+/** Refuse when the rolling daily account ceiling is reached. */
+export async function assertUnderDailyCap() {
+ const cap = env.AGENT_SIGNUP_DAILY_CAP;
+ if ((await signupsInLastDay()) >= cap) {
+ fail(429, 'daily_cap_reached', `the platform accepts at most ${cap} new agent accounts per day and today's are taken: retry in a few hours`);
+ }
+}
+
+/**
+ * Tie the new account to its wallet so Sign-In with Solana with the same key
+ * reaches it. Returns false when the address already belongs to another account.
+ */
+export async function linkSignupWallet({ userId, publicKey }) {
+ const rows = await sql`
+ insert into user_wallets (user_id, address, chain_type, is_primary)
+ values (${userId}, ${publicKey}, 'solana', true)
+ on conflict (address) do nothing
+ returning address
+ `;
+ return rows.length === 1;
+}
+
+/** The account that already owns `publicKey` as a wallet, if any. */
+export async function walletOwner(publicKey) {
+ const [row] = await sql`select user_id from user_wallets where address = ${publicKey} limit 1`;
+ return row?.user_id ?? null;
+}
diff --git a/api/_lib/dev-plans/billing.js b/api/_lib/dev-plans/billing.js
index 1734014ae..16606e208 100644
--- a/api/_lib/dev-plans/billing.js
+++ b/api/_lib/dev-plans/billing.js
@@ -297,7 +297,7 @@ export async function applyDevPlanCheckout(checkout, { txSignature = null, ledge
});
try {
const [u] = await sql`select email from users where id = ${checkout.user_id} limit 1`;
- if (u?.email) {
+ if (u?.email && !u.email.endsWith('.invalid')) {
const mail = receiptEmail({ plan, kind: checkout.kind, asset: checkout.asset, amountUsd, periodStart: checkout.period_start, periodEnd: checkout.period_end, txSignature });
await sendEmail({ to: u.email, ...mail });
}
@@ -307,6 +307,33 @@ export async function applyDevPlanCheckout(checkout, { txSignature = null, ledge
return publicReceipt(receipt);
}
+/**
+ * Record a plan purchase that already settled over x402 (api/billing/agent-upgrade.js).
+ * The payment is the proof, so there is no pending checkout to confirm: the row
+ * is written as paid and the plan applied in one step. Idempotent on the
+ * settlement signature, so a replayed paid retry returns the same receipt and
+ * never extends the period twice.
+ */
+export async function recordX402DevPlanPayment({ userId, planId, payer, payTo = null, txSignature, amountAtomics, req = null }) {
+ if (!txSignature) throw fail(500, 'settlement_missing', 'the payment settled without a transaction signature');
+ const [existing] = await sql`select * from dev_plan_receipts where tx_signature = ${txSignature} and user_id = ${userId} limit 1`;
+ if (existing) return publicReceipt(existing);
+ const [taken] = await sql`select id from dev_plan_checkouts where tx_signature = ${txSignature} limit 1`;
+ if (taken) throw fail(409, 'signature_already_used', 'this payment already funded a different plan change');
+ const sub = await getDevSubscription(userId, { fresh: true });
+ const quote = quoteDevPlanChange(sub, planId, 'USDC');
+ const [row] = await sql`
+ insert into dev_plan_checkouts
+ (user_id, plan_id, kind, asset, wallet, pay_to, amount_usd, amount_atomics, price_source, period_start, period_end, status, tx_signature, expires_at)
+ values
+ (${userId}, ${quote.plan.id}, ${quote.kind}, 'USDC', ${payer || null}, ${payTo}, ${quote.amountUsd},
+ ${amountAtomics == null ? null : String(amountAtomics)}, 'x402', ${quote.periodStart.toISOString()}, ${quote.periodEnd.toISOString()},
+ 'pending', ${txSignature}, now())
+ returning *
+ `;
+ return applyDevPlanCheckout(row, { txSignature, req });
+}
+
/**
* Confirm a wallet checkout from its landed transaction. Idempotent: the same
* signature always returns the same receipt. Returns { status: 'paid', receipt }
diff --git a/api/_lib/env.js b/api/_lib/env.js
index 088f899e0..b6b2c5eac 100644
--- a/api/_lib/env.js
+++ b/api/_lib/env.js
@@ -1005,6 +1005,13 @@ export const env = {
get X402_MAX_AMOUNT_REQUIRED() {
return opt('X402_MAX_AMOUNT_REQUIRED', '1000');
},
+ // Ceiling on new self-signed agent accounts per rolling 24 hours, across all
+ // instances (api/auth/agent-signup.js). Counted from the database, so it holds
+ // however many Cloud Run instances are up.
+ get AGENT_SIGNUP_DAILY_CAP() {
+ const n = Number.parseInt(opt('AGENT_SIGNUP_DAILY_CAP', '500'), 10);
+ return Number.isInteger(n) && n > 0 ? n : 500;
+ },
// USE-15 — TTL (seconds) for the payment-identifier idempotency cache.
// Keyed by ${route}|${paymentId}; a second hit with the same id within the
// window replays the cached response without re-charging. 1h default matches
diff --git a/api/_lib/labor-escrow-machine.js b/api/_lib/labor-escrow-machine.js
index ce4f20c7f..f6faf0a4b 100644
--- a/api/_lib/labor-escrow-machine.js
+++ b/api/_lib/labor-escrow-machine.js
@@ -8,6 +8,7 @@
// disputed --resolve--> released | refunded (second evaluator or arbiter)
// disputed --arbiter_timeout--> refunded
// funded | working --deadline--> refunded
+// any open state --moderator override--> released | refunded
// submitted --attest_timeout--> refunded
//
// released and refunded are terminal. Every non-terminal state has a time-driven
@@ -50,12 +51,16 @@ export class EscrowError extends Error {
}
}
+// override_pass / override_fail are the platform moderator's escape hatch
+// (api/labor/release.js): they end any open case immediately.
+const OVERRIDE = { override_pass: 'released', override_fail: 'refunded' };
+
const TRANSITIONS = {
- funded: { award: 'working', deadline: 'refunded', cancel: 'refunded' },
- working: { deliver: 'submitted', deadline: 'refunded' },
- submitted: { attest: 'attested', attest_timeout: 'refunded' },
- attested: { dispute: 'disputed', cooldown_pass: 'released', cooldown_fail: 'refunded' },
- disputed: { resolve_pass: 'released', resolve_fail: 'refunded', arbiter_timeout: 'refunded' },
+ funded: { award: 'working', deadline: 'refunded', cancel: 'refunded', ...OVERRIDE },
+ working: { deliver: 'submitted', deadline: 'refunded', ...OVERRIDE },
+ submitted: { attest: 'attested', attest_timeout: 'refunded', ...OVERRIDE },
+ attested: { dispute: 'disputed', cooldown_pass: 'released', cooldown_fail: 'refunded', ...OVERRIDE },
+ disputed: { resolve_pass: 'released', resolve_fail: 'refunded', arbiter_timeout: 'refunded', ...OVERRIDE },
released: {},
refunded: {},
};
diff --git a/api/_lib/labor-evaluation.js b/api/_lib/labor-evaluation.js
new file mode 100644
index 000000000..927cffd35
--- /dev/null
+++ b/api/_lib/labor-evaluation.js
@@ -0,0 +1,705 @@
+// Independent evaluation, dispute window and automatic release for labor-market
+// escrow. Drives the state machine (labor-escrow-machine.js) over the ledger
+// (labor-escrow-ledger.js) and moves money only through the settlement path that
+// already exists (labor-settle.js runSettlement, plus refundBounty below).
+//
+// The decision is durable the moment a case reaches released or refunded; the
+// payout that follows is retried by the cron until paid_at is set. So a failed
+// transfer never loses the decision and never pays twice: runSettlement claims
+// the job (settle_key) and refundBounty claims the bounty ('refunding').
+
+import { sql } from './db.js';
+import { env } from './env.js';
+import {
+ getBounty, getJobByBounty, markJobFailed, setBountyStatus, atomicsToThree, _toBig as toBig,
+} from './agent-labor.js';
+import { verifyDeliverable } from './labor-match.js';
+import { payFromEscrow, ensureEscrowGas } from './labor-escrow.js';
+import { runSettlement } from './labor-settle.js';
+import { loadAttesterKeypair } from './attest-event.js';
+import { insertNotification } from './notify.js';
+import {
+ EscrowError, applyEvent, dueEvent, needsPayout, isTerminal, losingSide, assertCanDispute,
+ attestDeadline, sha256Hex, validateAttestationInput, buildAttestationPayload, signAttestation,
+ verifyAttestation, normalizeDisputeWindow, normalizeEvaluator, ARBITER_WINDOW_SECONDS,
+} from './labor-escrow-machine.js';
+import {
+ ensureEscrowTables, getCase, getCaseByBounty, openCase, transition, markPaid, markNotified, trailFor,
+} from './labor-escrow-ledger.js';
+
+const DAY_MS = 86_400_000;
+const REMINDER_MS = DAY_MS;
+const ISSUED_AT_SKEW_MS = 10 * 60_000;
+
+const nowIso = () => new Date().toISOString();
+
+// Why a terminal case ended, as stored in labor_escrow_cases.outcome.
+const OUTCOME_FOR_EVENT = {
+ cooldown_pass: 'pass', cooldown_fail: 'fail', resolve_pass: 'pass', resolve_fail: 'fail',
+ deadline: 'deadline', cancel: 'cancel', attest_timeout: 'attest_timeout', arbiter_timeout: 'arbiter_timeout',
+ override_pass: 'pass', override_fail: 'moderator_refund',
+};
+// Outcomes where nobody is at fault, so the job is recorded 'refunded', not 'failed'.
+const NEUTRAL_OUTCOMES = new Set(['deadline', 'cancel', 'attest_timeout', 'arbiter_timeout', 'moderator_refund']);
+
+// ── Opening and advancing a case along the job ──────────────────────────────
+
+/** The escrow settings a bounty was posted with (validated at post time). */
+export function escrowConfigFor(bounty) {
+ const cfg = bounty?.meta?.escrow || {};
+ return {
+ evaluator: normalizeEvaluator(cfg.evaluator, { posterAgentId: bounty?.poster_agent_id }),
+ disputeWindowSeconds: normalizeDisputeWindow(cfg.dispute_window_seconds),
+ };
+}
+
+/**
+ * The case for a funded bounty, opened on first use. Bounties funded before the
+ * evaluator layer shipped get one with the platform defaults, so every delivery
+ * goes through the same path. A bounty with no funded escrow has no case.
+ */
+export async function ensureCase(bounty) {
+ if (!bounty?.escrow_fund_sig) return null;
+ const existing = await getCaseByBounty(bounty.id);
+ if (existing) return existing;
+ const cfg = escrowConfigFor(bounty);
+ return openCase({ bounty, evaluator: cfg.evaluator, disputeWindowSeconds: cfg.disputeWindowSeconds });
+}
+
+/** Record that a worker was awarded the bounty (funded to working). Idempotent. */
+export async function recordAward(bounty, job) {
+ const c = await ensureCase(bounty);
+ if (!c || c.state !== 'funded') return c;
+ try {
+ return await transition(c, 'award', {
+ actor: 'poster', reason: 'worker awarded',
+ data: { worker_agent_id: job.worker_agent_id, price_atomics: String(toBig(job.price_atomics)) },
+ patch: { jobId: job.id },
+ });
+ } catch (e) {
+ if (e?.code === 'state_changed') return getCase(c.id);
+ throw e;
+ }
+}
+
+/**
+ * A delivered job enters evaluation: catch the case up to 'submitted', then ask
+ * the platform checker when it is the evaluator. Safe to call repeatedly.
+ */
+export async function intakeDelivery({ bounty, job }) {
+ let c = await ensureCase(bounty);
+ if (!c) return null;
+ if (c.state === 'funded') c = await recordAward(bounty, job);
+ if (c.state === 'working') {
+ const submittedAt = nowIso();
+ try {
+ c = await transition(c, 'deliver', {
+ actor: 'worker', reason: 'deliverable submitted',
+ data: { job_id: job.id, deliverable_hash: sha256Hex(job.deliverable ?? {}) },
+ patch: {
+ jobId: job.id, submittedAt,
+ attestBy: attestDeadline({ deadlineAt: c.deadline_at, submittedAt }),
+ },
+ });
+ } catch (e) {
+ if (e?.code !== 'state_changed') throw e;
+ c = await getCase(c.id);
+ }
+ await notifyParties(c, bounty, job, 'delivered', 'delivered');
+ }
+ if (c.state === 'submitted' && c.evaluator_kind === 'platform') {
+ c = (await platformEvaluate(c, bounty, job)) || c;
+ }
+ return c;
+}
+
+// ── Attestations ─────────────────────────────────────────────────────────────
+
+function deliverableHashOf(job) {
+ return sha256Hex(job?.deliverable ?? {});
+}
+
+function attesterOrNull() {
+ try {
+ return loadAttesterKeypair();
+ } catch {
+ return null;
+ }
+}
+
+function requireAttester() {
+ const kp = attesterOrNull();
+ if (!kp) {
+ throw new EscrowError('attester_unconfigured', 'the platform attestation key is not configured, so no attestation can be signed right now', 503);
+ }
+ return kp;
+}
+
+/** The exact object an evaluator signs for this case, for a self-signed attestation. */
+export function attestationTemplate(c, job, { verdict, reasonCode, reasonDetail = null, evidenceUrl = null, signer, round = 1, issuedAt = nowIso() }) {
+ return buildAttestationPayload({
+ caseId: c.id, bountyId: c.bounty_id, jobId: job.id, deliverableHash: deliverableHashOf(job),
+ evaluatorKind: c.evaluator_kind, evaluatorAgentId: c.evaluator_agent_id, signer,
+ verdict, reasonCode, reasonDetail, evidenceUrl, issuedAt, round,
+ });
+}
+
+/**
+ * Record the first-round attestation. `signed` is { payload, signature } already
+ * verified or produced by the caller. A second attempt, or one that loses a race
+ * with the timeout, gets a typed 409 from the compare-and-set.
+ */
+async function recordAttestation(c, { payload, signature, signer, actor }) {
+ if (c.state !== 'submitted') {
+ const code = isTerminal(c.state) ? 'already_resolved' : 'already_attested';
+ throw new EscrowError(code, c.state === 'working' || c.state === 'funded'
+ ? `nothing has been delivered yet; escrow is ${c.state}`
+ : `this job already has an attestation; escrow is ${c.state}`);
+ }
+ const attestedAt = nowIso();
+ const releaseAt = new Date(Date.parse(attestedAt) + Number(c.dispute_window_seconds) * 1000).toISOString();
+ return transition(c, 'attest', {
+ actor, reason: payload.reason_code,
+ data: {
+ verdict: payload.verdict, reason_code: payload.reason_code, evidence_url: payload.evidence_url,
+ signer, deliverable_hash: payload.deliverable_hash, release_at: releaseAt,
+ },
+ patch: { attestation: { verdict: payload.verdict, payload, signature, signer }, attestedAt, releaseAt },
+ });
+}
+
+/**
+ * The platform checker evaluates a delivered job and attests. Returns the updated
+ * case, or null when no verdict could be reached (checker unavailable): the case
+ * stays 'submitted' and the sweep tries again until attest_by.
+ */
+export async function platformEvaluate(c, bounty, job) {
+ const kp = attesterOrNull();
+ if (!kp) return null;
+ const v = await verifyDeliverable({ bounty, deliverable: job.deliverable });
+ if (v.verifier === 'unavailable') return null;
+ const empty = !String(job.deliverable?.output || '').trim();
+ const input = validateAttestationInput({
+ verdict: v.pass ? 'pass' : 'fail',
+ reasonCode: v.pass ? 'meets_spec' : empty ? 'empty_deliverable' : 'off_spec',
+ reasonDetail: v.reason,
+ evidenceUrl: `${env.APP_ORIGIN}/api/labor/escrow?bountyId=${bounty.id}`,
+ });
+ const signer = kp.publicKey.toBase58();
+ const payload = attestationTemplate(c, job, { ...input, signer });
+ try {
+ const next = await recordAttestation(c, {
+ payload, signature: signAttestation(payload, kp), signer, actor: 'platform_checker',
+ });
+ await onAttested(next, bounty, job);
+ return next;
+ } catch (e) {
+ if (e?.code === 'state_changed' || e?.code === 'already_attested') return getCase(c.id);
+ throw e;
+ }
+}
+
+async function userOwnsAgent(userId, agentId) {
+ if (!userId || !agentId) return false;
+ const [row] = await sql`SELECT 1 AS ok FROM agent_identities WHERE id = ${agentId} AND user_id = ${userId} AND deleted_at IS NULL`;
+ return !!row;
+}
+
+async function agentSolanaAddress(agentId) {
+ const [row] = await sql`SELECT meta FROM agent_identities WHERE id = ${agentId} AND deleted_at IS NULL`;
+ return row?.meta?.solana_address || null;
+}
+
+/**
+ * An evaluator (the hiring agent's owner, or a registry agent's owner) submits a
+ * verdict. The server countersigns it with the platform key; a caller who signs
+ * the payload themselves (`signature` + `signer` + `issuedAt`) is verified against
+ * the evaluator agent's own wallet instead.
+ */
+export async function submitAttestation({ bountyId, userId, input, signature = null, signer = null, issuedAt = null }) {
+ await ensureEscrowTables();
+ const c = await getCaseByBounty(bountyId);
+ if (!c) throw new EscrowError('no_case', 'this bounty has no funded escrow to evaluate', 404);
+ const [bounty, job] = await Promise.all([getBounty(bountyId), getJobByBounty(bountyId)]);
+ if (!job) throw new EscrowError('no_job', 'no worker has been awarded, so there is nothing to evaluate', 409);
+
+ if (c.evaluator_kind === 'platform') {
+ throw new EscrowError('platform_evaluates', 'this job is evaluated by the platform checker; you cannot attest it', 403);
+ }
+ const evaluatorAgentId = c.evaluator_kind === 'poster' ? bounty.poster_agent_id : c.evaluator_agent_id;
+ if (!(await userOwnsAgent(userId, evaluatorAgentId))) {
+ throw new EscrowError('not_evaluator', 'only the owner of the named evaluator can attest this job', 403);
+ }
+ if (evaluatorAgentId === job.worker_agent_id) {
+ throw new EscrowError('conflict_of_interest', 'the worker cannot evaluate its own delivery', 403);
+ }
+
+ const clean = validateAttestationInput(input);
+ let payload;
+ let sig;
+ let signedBy;
+ if (signature) {
+ const expected = await agentSolanaAddress(evaluatorAgentId);
+ if (!signer || signer !== expected) {
+ throw new EscrowError('bad_signer', "signer must be the evaluator agent's own Solana wallet address", 400);
+ }
+ const at = Date.parse(issuedAt);
+ if (!Number.isFinite(at) || Math.abs(Date.now() - at) > ISSUED_AT_SKEW_MS) {
+ throw new EscrowError('bad_issued_at', 'issuedAt must be an ISO timestamp within ten minutes of now', 400);
+ }
+ payload = attestationTemplate(c, job, { ...clean, signer, issuedAt: new Date(at).toISOString() });
+ if (!verifyAttestation({ payload, signature, signer })) {
+ throw new EscrowError('bad_signature', 'the signature does not match the attestation payload', 400);
+ }
+ sig = signature;
+ signedBy = signer;
+ } else {
+ const kp = requireAttester();
+ signedBy = kp.publicKey.toBase58();
+ payload = attestationTemplate(c, job, { ...clean, signer: signedBy });
+ sig = signAttestation(payload, kp);
+ }
+
+ const next = await recordAttestation(c, { payload, signature: sig, signer: signedBy, actor: `evaluator:${evaluatorAgentId}` });
+ await onAttested(next, bounty, job);
+ return next;
+}
+
+async function onAttested(c, bounty, job) {
+ const verdict = c.attestation?.verdict;
+ await notifyParties(c, bounty, job, 'attested', 'attested', {
+ verdict, release_at: c.release_at,
+ message: verdict === 'pass'
+ ? `The evaluator passed "${bounty.title}". Funds release to the worker at the end of the dispute window unless the poster disputes.`
+ : `The evaluator failed "${bounty.title}". The reward refunds to the poster at the end of the dispute window unless the worker disputes.`,
+ });
+ // A zero-length window means there is nothing to wait for.
+ if (Date.parse(c.release_at) <= Date.now()) await advanceCase(c.id);
+}
+
+// ── Disputes ─────────────────────────────────────────────────────────────────
+
+async function sideForUser(userId, bounty, job) {
+ const poster = await userOwnsAgent(userId, bounty.poster_agent_id);
+ const worker = job ? await userOwnsAgent(userId, job.worker_agent_id) : false;
+ return { poster, worker };
+}
+
+/**
+ * The losing side disputes the verdict while the window is open. The case freezes
+ * (the cron cannot release it) and routes to a second evaluator: the platform
+ * checker when the first evaluator was the poster or a registry agent, otherwise
+ * the platform arbiter. With no ruling by arbiter_by the buyer is refunded.
+ */
+export async function openDispute({ bountyId, userId, reason, evidenceUrl = null }) {
+ await ensureEscrowTables();
+ const c = await getCaseByBounty(bountyId);
+ if (!c) throw new EscrowError('no_case', 'this bounty has no funded escrow', 404);
+ const [bounty, job] = await Promise.all([getBounty(bountyId), getJobByBounty(bountyId)]);
+ const sides = await sideForUser(userId, bounty, job);
+ if (!sides.poster && !sides.worker) {
+ throw new EscrowError('forbidden', 'only the poster or the worker can dispute this job', 403);
+ }
+ const text = String(reason || '').trim();
+ if (text.length < 10) throw new EscrowError('reason_required', 'say why you dispute the verdict (at least 10 characters)', 400);
+ let evidence = null;
+ if (evidenceUrl) {
+ try {
+ const u = new URL(String(evidenceUrl));
+ if (u.protocol !== 'https:') throw new Error('scheme');
+ evidence = u.toString();
+ } catch {
+ throw new EscrowError('bad_evidence_url', 'evidenceUrl must be an https URL', 400);
+ }
+ }
+ const losing = c.attestation ? losingSide(c.attestation) : null;
+ const side = sides.poster && sides.worker ? losing : sides.poster ? 'poster' : 'worker';
+ assertCanDispute(c, side);
+
+ const at = nowIso();
+ const next = await transition(c, 'dispute', {
+ actor: side, reason: 'verdict disputed',
+ data: { reason: text.slice(0, 500), evidence_url: evidence, route: c.evaluator_kind === 'platform' ? 'arbiter' : 'platform_recheck' },
+ patch: {
+ dispute: { by: side, reason: text.slice(0, 500), evidence_url: evidence, at },
+ disputedAt: at,
+ arbiterBy: new Date(Date.parse(at) + ARBITER_WINDOW_SECONDS * 1000).toISOString(),
+ },
+ });
+ await notifyParties(next, bounty, job, 'disputed', 'disputed', {
+ by: side, arbiter_by: next.arbiter_by,
+ message: `The ${side} disputed the verdict on "${bounty.title}". Funds are frozen until a second evaluation rules.`,
+ });
+ if (next.evaluator_kind !== 'platform') {
+ return (await recheckDispute(next, bounty, job)) || next;
+ }
+ return next;
+}
+
+/** Second evaluation by the platform checker (independent of the first evaluator). */
+async function recheckDispute(c, bounty, job) {
+ const kp = attesterOrNull();
+ if (!kp || c.state !== 'disputed') return null;
+ const v = await verifyDeliverable({ bounty, deliverable: job.deliverable });
+ if (v.verifier === 'unavailable') return null;
+ return rule(c, bounty, job, {
+ verdict: v.pass ? 'pass' : 'fail',
+ reasonCode: v.pass ? 'meets_spec' : 'off_spec',
+ reasonDetail: v.reason, actor: 'platform_checker',
+ });
+}
+
+/** The platform arbiter (an admin) rules on a disputed case. */
+export async function arbitrate({ bountyId, adminId, input }) {
+ await ensureEscrowTables();
+ const c = await getCaseByBounty(bountyId);
+ if (!c) throw new EscrowError('no_case', 'this bounty has no funded escrow', 404);
+ if (c.state !== 'disputed') {
+ throw new EscrowError(isTerminal(c.state) ? 'already_resolved' : 'not_disputed', `only a disputed case can be arbitrated; escrow is ${c.state}`);
+ }
+ const [bounty, job] = await Promise.all([getBounty(bountyId), getJobByBounty(bountyId)]);
+ return rule(c, bounty, job, { ...input, actor: `arbiter:${adminId}` });
+}
+
+async function rule(c, bounty, job, { verdict, reasonCode, reasonDetail = null, evidenceUrl = null, actor }) {
+ const clean = validateAttestationInput({ verdict, reasonCode, reasonDetail, evidenceUrl });
+ const kp = requireAttester();
+ const signer = kp.publicKey.toBase58();
+ const payload = attestationTemplate(c, job, { ...clean, signer, round: 2 });
+ const resolvedAt = nowIso();
+ const event = clean.verdict === 'pass' ? 'resolve_pass' : 'resolve_fail';
+ let next;
+ try {
+ next = await transition(c, event, {
+ actor, reason: clean.reasonCode,
+ data: { verdict: clean.verdict, reason_code: clean.reasonCode, evidence_url: clean.evidenceUrl, signer },
+ patch: {
+ resolution: { verdict: clean.verdict, payload, signature: signAttestation(payload, kp), signer },
+ resolvedAt, outcome: OUTCOME_FOR_EVENT[event],
+ },
+ });
+ } catch (e) {
+ if (e?.code === 'state_changed') return getCase(c.id);
+ throw e;
+ }
+ await notifyParties(next, bounty, job, 'resolved', 'resolved', {
+ verdict: clean.verdict,
+ message: `The dispute on "${bounty.title}" was ruled ${clean.verdict === 'pass' ? 'for the worker' : 'for the poster'}.`,
+ });
+ return (await payoutCase(next)) || next;
+}
+
+/**
+ * A platform moderator force-resolves a bounty's escrow (release to the worker or
+ * refund to the poster), whatever state the case is in. The override is a normal
+ * transition, so it lands in the same trail as everything else.
+ */
+export async function moderatorOverride({ bountyId, adminId, action, reason = null }) {
+ await ensureEscrowTables();
+ const bounty = await getBounty(bountyId);
+ if (!bounty) throw new EscrowError('no_case', 'bounty not found', 404);
+ const c = await ensureCase(bounty);
+ if (!c) throw new EscrowError('no_escrow', 'this bounty has no funded escrow to move', 409);
+ const job = await getJobByBounty(bountyId);
+ if (action === 'release' && !job) {
+ throw new EscrowError('no_worker', 'no worker has been awarded, so only refund is available', 409);
+ }
+ const event = action === 'release' ? 'override_pass' : 'override_fail';
+ applyEvent(c.state, event); // typed 409 for an already-resolved case, before any side effect
+ if (action === 'release' && job.status === 'working') {
+ const { markJobDelivered } = await import('./agent-labor.js');
+ await markJobDelivered(job.id, { moderator_override: true, action, by: { admin_id: adminId } });
+ }
+ const next = await transition(c, event, {
+ actor: `moderator:${adminId}`, reason: reason ? String(reason).slice(0, 280) : `moderator ${action}`,
+ patch: { outcome: OUTCOME_FOR_EVENT[event], resolvedAt: nowIso() },
+ });
+ await notifyParties(next, bounty, job, 'resolved', 'resolved', {
+ verdict: next.outcome, message: resolutionCopy(next.outcome, bounty.title),
+ });
+ return (await payoutCase(next)) || next;
+}
+
+/** The poster withdraws a funded bounty that nobody has been awarded. */
+export async function cancelBounty({ bountyId, userId }) {
+ await ensureEscrowTables();
+ const bounty = await getBounty(bountyId);
+ if (!bounty) throw new EscrowError('no_case', 'bounty not found', 404);
+ if (!(await userOwnsAgent(userId, bounty.poster_agent_id))) {
+ throw new EscrowError('forbidden', 'only the poster can cancel this bounty', 403);
+ }
+ const c = await ensureCase(bounty);
+ if (!c) throw new EscrowError('no_escrow', 'this bounty has no funded escrow', 409);
+ const next = await transition(c, 'cancel', {
+ actor: 'poster', reason: 'cancelled before award', patch: { outcome: 'cancel', resolvedAt: nowIso() },
+ });
+ return (await payoutCase(next)) || next;
+}
+
+// ── Time-driven progress (the cron) ─────────────────────────────────────────
+
+/**
+ * Take one case as far as the clock allows: evaluate a pending delivery, apply a
+ * due timeout or cooldown event, and pay out a terminal decision. Returns the
+ * case as it stands. Losing a race to another writer is fine; the loser rereads.
+ */
+export async function advanceCase(caseId, now = new Date()) {
+ let c = await getCase(caseId);
+ if (!c) return null;
+ const bounty = await getBounty(c.bounty_id);
+ const job = await getJobByBounty(c.bounty_id);
+
+ if (!isTerminal(c.state)) {
+ if (c.state === 'submitted' && c.evaluator_kind === 'platform' && job) {
+ c = (await platformEvaluate(c, bounty, job)) || c;
+ }
+ if (c.state === 'disputed' && c.evaluator_kind !== 'platform' && job) {
+ c = (await recheckDispute(c, bounty, job)) || c;
+ }
+ const ev = c.state === 'attested' || c.state === 'submitted' || c.state === 'disputed' || c.state === 'funded' || c.state === 'working'
+ ? dueEvent(c, now) : null;
+ if (ev) {
+ try {
+ c = await transition(c, ev, {
+ actor: 'cron', reason: OUTCOME_FOR_EVENT[ev],
+ patch: { outcome: OUTCOME_FOR_EVENT[ev], resolvedAt: nowIso() },
+ });
+ await notifyParties(c, bounty, job, 'resolved', 'resolved', {
+ verdict: c.outcome, message: resolutionCopy(c.outcome, bounty.title),
+ });
+ } catch (e) {
+ if (e?.code !== 'state_changed') throw e;
+ c = await getCase(caseId);
+ }
+ } else {
+ await remind(c, bounty, job, now);
+ }
+ }
+ if (needsPayout(c)) c = (await payoutCase(c)) || c;
+ return c;
+}
+
+function resolutionCopy(outcome, title) {
+ switch (outcome) {
+ case 'pass': return `"${title}" passed and the dispute window closed. Funds are releasing to the worker.`;
+ case 'fail': return `"${title}" failed and the dispute window closed. The reward is refunding to the poster.`;
+ case 'deadline': return `"${title}" reached its deadline without a delivery. The reward is refunding to the poster.`;
+ case 'attest_timeout': return `"${title}" was delivered but never evaluated in time. The reward is refunding to the poster.`;
+ case 'arbiter_timeout': return `The dispute on "${title}" was not ruled in time. The reward is refunding to the poster.`;
+ case 'moderator_refund': return `A platform moderator refunded "${title}" to the poster.`;
+ case 'cancel': return `"${title}" was cancelled. The reward is refunding to the poster.`;
+ default: return `"${title}" is resolved.`;
+ }
+}
+
+async function remind(c, bounty, job, now) {
+ const t = now.getTime();
+ let target = null;
+ let what = null;
+ if ((c.state === 'funded' || c.state === 'working') && c.deadline_at) {
+ target = Date.parse(c.deadline_at);
+ what = c.state === 'funded' ? 'The bounty has no worker yet and its deadline is near.' : 'The worker has not delivered and the deadline is near.';
+ } else if (c.state === 'submitted' && c.attest_by) {
+ target = Date.parse(c.attest_by);
+ what = 'The delivery has not been evaluated yet. With no verdict by then the reward refunds to the poster.';
+ } else if (c.state === 'disputed' && c.arbiter_by) {
+ target = Date.parse(c.arbiter_by);
+ what = 'The dispute has not been ruled on. With no ruling by then the reward refunds to the poster.';
+ }
+ if (!target || target - t > REMINDER_MS || target <= t) return;
+ await notifyParties(c, bounty, job, 'deadline_soon', `deadline_soon:${c.state}`, {
+ deadline: new Date(target).toISOString(),
+ message: `"${bounty.title}": ${what}`,
+ });
+}
+
+/** Cases the cron can act on now. Pre-filtered in SQL so idle cases never take a slot. */
+export async function dueCaseIds(limit = 50) {
+ await ensureEscrowTables();
+ const rows = await sql`
+ SELECT id FROM labor_escrow_cases
+ WHERE (state IN ('released','refunded') AND paid_at IS NULL)
+ OR (state IN ('funded','working') AND deadline_at <= now() + interval '24 hours')
+ OR (state = 'submitted' AND (evaluator_kind = 'platform' OR attest_by <= now() + interval '24 hours'))
+ OR (state = 'attested' AND release_at <= now())
+ OR (state = 'disputed' AND (evaluator_kind <> 'platform' OR arbiter_by <= now() + interval '24 hours'))
+ ORDER BY updated_at ASC
+ LIMIT ${limit}`;
+ return rows.map((r) => r.id);
+}
+
+/** One cron pass. Never throws on a single bad case. */
+export async function sweepCases({ limit = 50 } = {}) {
+ const ids = await dueCaseIds(limit);
+ const out = { scanned: ids.length, resolved: 0, paid: 0, failed: 0, errors: [] };
+ for (const id of ids) {
+ try {
+ const before = await getCase(id);
+ const after = await advanceCase(id);
+ if (before && after && !isTerminal(before.state) && isTerminal(after.state)) out.resolved++;
+ if (before && after && !before.paid_at && after.paid_at) out.paid++;
+ } catch (e) {
+ out.failed++;
+ console.error('[labor-escrow-sweep] case failed', id, e?.message);
+ if (out.errors.length < 5) out.errors.push(`${id}: ${String(e?.message || e).slice(0, 160)}`);
+ }
+ }
+ return out;
+}
+
+// ── Money ────────────────────────────────────────────────────────────────────
+
+/**
+ * Pay a terminal case out exactly once. Returns the case (paid) or null when the
+ * transfer is still pending; a failed transfer is left for the next sweep, and the
+ * parties are told once that it is delayed.
+ */
+export async function payoutCase(c) {
+ if (!needsPayout(c)) return c;
+ const bounty = await getBounty(c.bounty_id);
+ const job = await getJobByBounty(c.bounty_id);
+ const outcome = c.outcome || (c.state === 'released' ? 'pass' : 'fail');
+ let moved;
+ try {
+ if (job && ['delivered', 'verifying', 'settled', 'failed', 'refunded'].includes(job.status)) {
+ const verdict = {
+ pass: c.state === 'released',
+ score: c.state === 'released' ? 1 : 0,
+ reason: resolutionCopy(outcome, bounty.title),
+ evaluation: { case_id: c.id, outcome },
+ ...(NEUTRAL_OUTCOMES.has(outcome) ? { neutral: { case_id: c.id, outcome } } : {}),
+ };
+ const r = await runSettlement({ job, bounty, verdict });
+ if (r.idempotent && ['delivered', 'verifying'].includes(r.status)) return null; // another sweep mid-claim
+ moved = {
+ sig: r.settlement_sig || r.refund_sig || r.job?.settlement_sig || r.job?.refund_sig || null,
+ status: r.status, result: r,
+ };
+ } else {
+ const r = await refundBounty({ bounty, job, reason: resolutionCopy(outcome, bounty.title) });
+ if (r.pending) return null;
+ moved = { sig: r.sig, status: 'refunded' };
+ }
+ } catch (e) {
+ console.error('[labor-escrow] payout failed, will retry', c.id, e?.message);
+ await notifyParties(c, bounty, job, 'payout_delayed', 'payout_delayed', {
+ message: `The payout for "${bounty.title}" could not be sent yet (the escrow wallet may be low on funds or fees). It retries automatically and nothing is lost.`,
+ });
+ return null;
+ }
+ const paid = await markPaid(c, { sig: moved.sig, data: { status: moved.status, outcome } });
+ const fresh = paid || (await getCase(c.id));
+ await notifyParties(fresh, bounty, job, 'paid', 'paid', {
+ status: moved.status, signature: moved.sig,
+ message: moved.status === 'settled'
+ ? `"${bounty.title}" paid out: the worker received the reward.`
+ : `"${bounty.title}" refunded: ${atomicsToThree(bounty.reward_atomics)} $THREE returned to the poster.`,
+ });
+ return fresh;
+}
+
+/**
+ * Return a bounty's whole reward to the poster when no delivered job exists to
+ * settle through runSettlement (no worker, or a worker who never delivered).
+ * Claims the bounty ('refunding') so concurrent sweeps cannot both transfer.
+ */
+export async function refundBounty({ bounty, job = null, reason }) {
+ const [claimed] = await sql`
+ UPDATE agent_bounties SET status = 'refunding', updated_at = now()
+ WHERE id = ${bounty.id} AND status IN ('open','working') RETURNING status`;
+ if (!claimed) {
+ const cur = await getBounty(bounty.id);
+ if (cur?.status === 'refunding') return { pending: true };
+ return { already: true, sig: cur?.refund_sig || null };
+ }
+ const prior = bounty.status === 'working' ? 'working' : 'open';
+ let sig = null;
+ try {
+ const to = await agentSolanaAddress(bounty.poster_agent_id);
+ if (!to) throw new Error('poster has no Solana wallet to refund to');
+ await ensureEscrowGas().catch(() => {});
+ sig = await payFromEscrow({ toAddress: to, amountAtomics: toBig(bounty.reward_atomics) });
+ } catch (e) {
+ await sql`UPDATE agent_bounties SET status = ${prior}, updated_at = now() WHERE id = ${bounty.id} AND status = 'refunding'`;
+ throw e;
+ }
+ await setBountyStatus(bounty.id, 'refunded', { refundSig: sig });
+ if (job && job.status === 'working') await markJobFailed(job.id, { reason, refundSig: sig, status: 'refunded' });
+ return { sig };
+}
+
+// ── Notifications ────────────────────────────────────────────────────────────
+
+const NOTIFY_TITLES = {
+ delivered: 'Delivery submitted',
+ attested: 'Verdict recorded',
+ disputed: 'Verdict disputed',
+ resolved: 'Escrow resolved',
+ deadline_soon: 'Deadline approaching',
+ payout_delayed: 'Payout delayed',
+ paid: 'Escrow paid out',
+};
+
+/** Tell the poster and the worker once per milestone, through the notification gateway. */
+export async function notifyParties(c, bounty, job, kind, key, extra = {}) {
+ if (!c || !bounty) return;
+ const first = await markNotified(c.id, key).catch(() => false);
+ if (!first) return;
+ const type = kind === 'deadline_soon' ? 'labor_deadline_soon' : kind === 'payout_delayed' ? 'labor_payout_delayed' : 'labor_escrow_update';
+ const users = new Set([bounty.poster_user_id, job?.worker_user_id].filter(Boolean));
+ for (const userId of users) {
+ await insertNotification(userId, type, {
+ title: NOTIFY_TITLES[kind] || 'Escrow update',
+ message: extra.message || `${NOTIFY_TITLES[kind] || 'Escrow update'}: "${bounty.title}"`,
+ bounty_id: bounty.id, case_id: c.id, state: c.state, kind,
+ link: `/labor-market?bounty=${bounty.id}`,
+ ...(extra.signature ? { tx_signature: extra.signature } : {}),
+ });
+ }
+}
+
+// ── Read model ───────────────────────────────────────────────────────────────
+
+/** Case, trail and what the viewer may do, for the job page and the API. */
+export async function caseView(bountyId, userId = null) {
+ await ensureEscrowTables();
+ const c = await getCaseByBounty(bountyId);
+ if (!c) return null;
+ const [bounty, job] = await Promise.all([getBounty(bountyId), getJobByBounty(bountyId)]);
+ const { events, chain } = await trailFor(c.id);
+ const sides = userId ? await sideForUser(userId, bounty, job) : { poster: false, worker: false };
+ const evaluatorAgentId = c.evaluator_kind === 'poster' ? bounty.poster_agent_id : c.evaluator_agent_id;
+ const isEvaluator = userId && c.evaluator_kind !== 'platform' ? await userOwnsAgent(userId, evaluatorAgentId) : false;
+ const losing = c.attestation ? losingSide(c.attestation) : null;
+ const windowOpen = c.state === 'attested' && Date.parse(c.release_at) > Date.now();
+ return {
+ id: c.id, bounty_id: c.bounty_id, job_id: c.job_id, state: c.state, outcome: c.outcome,
+ evaluator: { kind: c.evaluator_kind, agent_id: evaluatorAgentId || null },
+ dispute_window_seconds: c.dispute_window_seconds,
+ deadline_at: c.deadline_at, submitted_at: c.submitted_at, attest_by: c.attest_by,
+ attested_at: c.attested_at, release_at: c.release_at, disputed_at: c.disputed_at,
+ arbiter_by: c.arbiter_by, resolved_at: c.resolved_at, paid_at: c.paid_at, settle_sig: c.settle_sig,
+ attestation: c.attestation ? {
+ verdict: c.attestation.verdict, signer: c.attestation.signer, signature: c.attestation.signature,
+ reason_code: c.attestation.payload?.reason_code, reason_detail: c.attestation.payload?.reason_detail,
+ evidence_url: c.attestation.payload?.evidence_url, issued_at: c.attestation.payload?.issued_at,
+ payload: c.attestation.payload,
+ } : null,
+ dispute: c.dispute ? { by: c.dispute.by, reason: c.dispute.reason, evidence_url: c.dispute.evidence_url, at: c.dispute.at } : null,
+ resolution: c.resolution ? {
+ verdict: c.resolution.verdict, signer: c.resolution.signer, reason_code: c.resolution.payload?.reason_code,
+ reason_detail: c.resolution.payload?.reason_detail,
+ } : null,
+ trail: events.map((e) => ({
+ seq: e.seq, from: e.from_state, to: e.to_state, event: e.event, actor: e.actor,
+ reason: e.reason, at: e.at, hash: e.hash,
+ })),
+ chain,
+ viewer: {
+ is_poster: sides.poster, is_worker: sides.worker, is_evaluator: !!isEvaluator,
+ can_attest: c.state === 'submitted' && !!isEvaluator,
+ can_dispute: windowOpen && ((losing === 'poster' && sides.poster) || (losing === 'worker' && sides.worker)),
+ can_cancel: c.state === 'funded' && sides.poster,
+ },
+ };
+}
diff --git a/api/_lib/labor-match.js b/api/_lib/labor-match.js
index 2a0b4cf85..cab7bdf89 100644
--- a/api/_lib/labor-match.js
+++ b/api/_lib/labor-match.js
@@ -162,6 +162,11 @@ export async function applyAward({ bounty, winner, rationale, auto = false }) {
summary: `Awarded "${bounty.title}" to ${winner.worker_name || winner.worker_agent_id}`,
detail: { bounty_id: bounty.id, bid_id: winner.id, worker_agent_id: winner.worker_agent_id, score: winner.score, auto },
});
+ // Start the escrow case's working phase. Best-effort: delivery opens and
+ // catches the case up if this misses, so an award is never undone by it.
+ import('./labor-evaluation.js')
+ .then((m) => m.recordAward(updated || bounty, job))
+ .catch((e) => console.warn('[labor-match] escrow award not recorded yet', e?.message));
return { job, bounty: updated, winner, rationale };
}
diff --git a/api/_lib/labor-settle.js b/api/_lib/labor-settle.js
index dda0a53ef..e7e96e648 100644
--- a/api/_lib/labor-settle.js
+++ b/api/_lib/labor-settle.js
@@ -275,12 +275,14 @@ export async function runAutopilot(bountyId) {
working = performed.job;
}
if (working.status === 'delivered' || working.status === 'verifying') {
- const result = await runSettlement({ job: working, bounty }).catch((e) => {
- console.error('[labor-autopilot] settle failed', e?.message);
+ // Delivery enters independent evaluation; the payout lands when the
+ // verdict's dispute window closes, so nothing settles inside this call.
+ const { intakeDelivery } = await import('./labor-evaluation.js');
+ const entered = await intakeDelivery({ bounty, job: working }).catch((e) => {
+ console.error('[labor-autopilot] evaluation intake failed', e?.message);
return null;
});
- out.settled = result?.status || null;
- out.settledNow = result?.status === 'settled' && result?.idempotent !== true;
+ out.settled = entered?.state || null;
}
}
} catch (e) {
diff --git a/api/_lib/memory-outcomes.js b/api/_lib/memory-outcomes.js
index 03578f15d..b596a3b2c 100644
--- a/api/_lib/memory-outcomes.js
+++ b/api/_lib/memory-outcomes.js
@@ -38,7 +38,7 @@ export function outcomeWeight(outcomes, now = Date.now()) {
let last = 0;
for (const o of list) {
const pnl = Number(o.pnl_usd);
- const hasPnl = Number.isFinite(pnl);
+ const hasPnl = o.pnl_usd != null && Number.isFinite(pnl);
const closed = new Date(o.closed_at).getTime();
const ageDays = Number.isFinite(closed) ? Math.max(0, (now - closed) / DAY_MS) : 0;
const decay = Math.pow(0.5, ageDays / HALF_LIFE_DAYS);
diff --git a/api/_lib/migrations/20261023120000_agent_signup_challenges.sql b/api/_lib/migrations/20261023120000_agent_signup_challenges.sql
new file mode 100644
index 000000000..d92cc8d8a
--- /dev/null
+++ b/api/_lib/migrations/20261023120000_agent_signup_challenges.sql
@@ -0,0 +1,25 @@
+-- Migration: server-issued challenges for agent self-signup (POST /api/auth/agent-signup).
+-- An autonomous agent asks for a challenge for its Solana public key, signs the
+-- server-built message, and posts the signature back. The challenge row is the
+-- replay guard: it is consumed with a compare-and-set, so a nonce works exactly
+-- once on every instance, and it is bound to the key it was issued for.
+-- Idempotent.
+--
+-- nonce random, server-chosen, single use
+-- public_key base58 ed25519 key the challenge was issued to
+-- issued_at exact timestamps that appear in the signed message, so the
+-- expires_at server rebuilds the message instead of trusting the client's copy
+-- consumed_at set when a valid signature redeems the challenge
+
+create table if not exists agent_signup_challenges (
+ nonce text primary key,
+ public_key text not null,
+ ip text,
+ issued_at timestamptz not null,
+ expires_at timestamptz not null,
+ consumed_at timestamptz,
+ created_at timestamptz not null default now()
+);
+
+create index if not exists agent_signup_challenges_key_idx on agent_signup_challenges(public_key, created_at desc);
+create index if not exists agent_signup_challenges_expires_idx on agent_signup_challenges(expires_at);
diff --git a/api/_lib/migrations/20261023180000_labor_escrow_cases.sql b/api/_lib/migrations/20261023180000_labor_escrow_cases.sql
new file mode 100644
index 000000000..61a084480
--- /dev/null
+++ b/api/_lib/migrations/20261023180000_labor_escrow_cases.sql
@@ -0,0 +1,35 @@
+-- Labor-market escrow with an independent evaluator: one case per funded bounty
+-- (api/_lib/labor-escrow-machine.js) and its append-only, hash-chained trail.
+-- Mirrors ensureEscrowTables() in api/_lib/labor-escrow-ledger.js.
+
+create table if not exists labor_escrow_cases (
+ id uuid primary key default gen_random_uuid(),
+ bounty_id uuid not null unique,
+ job_id uuid,
+ state text not null default 'funded',
+ evaluator_kind text not null default 'platform',
+ evaluator_agent_id uuid,
+ dispute_window_seconds integer not null default 86400,
+ deadline_at timestamptz not null,
+ submitted_at timestamptz, attest_by timestamptz,
+ attestation jsonb, attested_at timestamptz, release_at timestamptz,
+ dispute jsonb, disputed_at timestamptz, arbiter_by timestamptz,
+ resolution jsonb, resolved_at timestamptz,
+ outcome text, settle_sig text, paid_at timestamptz,
+ notified jsonb not null default '{}',
+ version integer not null default 0,
+ created_at timestamptz not null default now(), updated_at timestamptz not null default now()
+);
+
+create index if not exists labor_escrow_cases_open
+ on labor_escrow_cases (state, updated_at) where state not in ('released','refunded');
+
+create table if not exists labor_escrow_events (
+ id bigserial primary key,
+ case_id uuid not null, seq integer not null,
+ from_state text, to_state text not null, event text not null,
+ actor text not null, reason text, data jsonb not null default '{}',
+ at text not null, prev_hash text, hash text not null,
+ created_at timestamptz not null default now(),
+ constraint labor_escrow_events_seq unique (case_id, seq)
+);
diff --git a/api/_lib/notify-prefs.js b/api/_lib/notify-prefs.js
index 61445801d..083117637 100644
--- a/api/_lib/notify-prefs.js
+++ b/api/_lib/notify-prefs.js
@@ -171,6 +171,10 @@ const TYPE_CATEGORY = {
withdrawal_completed: 'account',
withdrawal_failed: 'account',
+ // Labor-market escrow lifecycle (api/_lib/labor-evaluation.js).
+ labor_escrow_update: 'account',
+ labor_deadline_soon: 'account',
+ labor_payout_delayed: 'account',
payment_mismatch: 'account',
asset_payment_mismatch: 'account',
skill_payment_mismatch: 'account',
@@ -374,6 +378,9 @@ const PUSH_COPY = {
forge_complete: (p) => ['Your 3D model is ready ✨', p.prompt ? `"${String(p.prompt).slice(0, 80)}" finished generating` : 'Your generation finished. Tap to view it'],
forge_failed: (p) => ['Generation failed ⚠️', p.prompt ? `"${String(p.prompt).slice(0, 80)}" could not be generated. Tap to retry` : 'A generation could not be completed. Tap to retry'],
withdrawal_completed: () => ['Withdrawal complete ✅', 'Your withdrawal has been sent'],
+ labor_escrow_update: (p) => [p.title || 'Escrow update', p.message || 'A bounty escrow changed state'],
+ labor_deadline_soon: (p) => [p.title || 'Deadline approaching', p.message || 'A bounty deadline is close'],
+ labor_payout_delayed: (p) => [p.title || 'Payout delayed', p.message || 'An escrow payout is delayed and will retry'],
withdrawal_failed: () => ['Withdrawal failed ⚠️', 'A withdrawal could not be completed — tap to review'],
payment_mismatch: () => ['Payment mismatch ⚠️', 'Check your agent payment settings'],
asset_payment_mismatch: () => ['Payment mismatch ⚠️', 'Check your agent payment settings'],
diff --git a/api/_lib/onchain-allowance.js b/api/_lib/onchain-allowance.js
new file mode 100644
index 000000000..632b204d3
--- /dev/null
+++ b/api/_lib/onchain-allowance.js
@@ -0,0 +1,438 @@
+// Owner-funded agent budgets enforced by the chain: the Solana Subscriptions
+// and Allowances program (@solana/subscriptions, MIT, Solana Foundation).
+//
+// The owner keeps funds in their OWN token account and signs one transaction
+// that creates a fixed-delegation allowance (mint, cap, expiry) naming the
+// agent's custodial wallet as delegatee. The agent can then pull up to the
+// remaining allowance and not a lamport more, and the owner can revoke at any
+// time with one signature. The cap is enforced by the program, not by our
+// database; this module only (a) builds the unsigned owner transactions with
+// the official generated client, (b) reads live allowance state off chain, and
+// (c) exposes the remaining allowance as a hard ceiling so a pull the program
+// would reject is refused before a transaction is ever built.
+//
+// Nothing here signs for the owner. The agent-side pull is signed with the
+// agent's own custodial key by the caller (api/agents/solana-allowance.js).
+
+import { PublicKey, Transaction, TransactionInstruction } from '@solana/web3.js';
+import { getAssociatedTokenAddressSync, TOKEN_PROGRAM_ID, TOKEN_2022_PROGRAM_ID } from '@solana/spl-token';
+import { address, createNoopSigner, createSolanaRpc } from '@solana/kit';
+import {
+ SUBSCRIPTIONS_PROGRAM_ADDRESS,
+ UNKNOWN_INIT_ID,
+ fetchMaybeSubscriptionAuthority,
+ fetchMaybeFixedDelegation,
+ fetchMaybeRecurringDelegation,
+ findSubscriptionAuthorityPda,
+ findFixedDelegationPda,
+ findRecurringDelegationPda,
+ getInitSubscriptionAuthorityOverlayInstructionAsync,
+ getCreateFixedDelegationOverlayInstructionAsync,
+ getCreateRecurringDelegationOverlayInstructionAsync,
+ getRevokeDelegationOverlayInstruction,
+ getTransferFixedOverlayInstructionAsync,
+ getTransferRecurringOverlayInstructionAsync,
+ getSubscriptionsErrorMessage,
+ isSubscriptionsError,
+} from '@solana/subscriptions';
+
+export const ALLOWANCE_PROGRAM_ID = SUBSCRIPTIONS_PROGRAM_ADDRESS;
+
+const SOLANA_ADDRESS_RE = /^[1-9A-HJ-NP-Za-km-z]{32,44}$/;
+const U64_MAX = (1n << 64n) - 1n;
+
+export class AllowanceError extends Error {
+ constructor(code, message, extra = {}) {
+ super(message);
+ this.code = code;
+ this.extra = extra;
+ }
+}
+
+/** Recurring pulls (agent-to-agent subscriptions) ship behind a flag. */
+export function recurringEnabled(env = process.env) {
+ return env.ALLOWANCE_RECURRING_ENABLED === '1' || env.ALLOWANCE_RECURRING_ENABLED === 'true';
+}
+
+function assertAddress(value, name) {
+ if (typeof value !== 'string' || !SOLANA_ADDRESS_RE.test(value)) {
+ throw new AllowanceError('invalid_request', `${name} must be a base58 Solana address`);
+ }
+ try {
+ new PublicKey(value);
+ } catch {
+ throw new AllowanceError('invalid_request', `${name} is not a valid Solana address`);
+ }
+ return value;
+}
+
+function toBigInt(value, name) {
+ try {
+ const n = typeof value === 'bigint' ? value : BigInt(String(value));
+ if (n < 0n || n > U64_MAX) throw new Error('range');
+ return n;
+ } catch {
+ throw new AllowanceError('invalid_request', `${name} must be a non-negative integer that fits in u64`);
+ }
+}
+
+// Kit AccountRole: 0 readonly, 1 writable, 2 readonly signer, 3 writable signer.
+export function kitInstructionToWeb3(ix) {
+ return new TransactionInstruction({
+ programId: new PublicKey(ix.programAddress),
+ keys: (ix.accounts ?? []).map((a) => ({
+ pubkey: new PublicKey(a.address),
+ isSigner: a.role >= 2,
+ isWritable: (a.role & 1) === 1,
+ })),
+ data: Buffer.from(ix.data ?? []),
+ });
+}
+
+// The shared RPC pool is imported lazily so the pure ceiling math and the
+// transaction builders stay loadable (and testable) with an injected connection.
+async function connectionFor(network, connection) {
+ if (connection) return connection;
+ const { solanaConnection } = await import('./solana/connection.js');
+ return solanaConnection({ network });
+}
+
+function kitRpc(conn) {
+ return createSolanaRpc(conn.rpcEndpoint);
+}
+
+async function tokenProgramFor(connection, mint) {
+ const info = await connection.getAccountInfo(new PublicKey(mint), 'confirmed');
+ if (!info) throw new AllowanceError('mint_not_found', 'that token mint does not exist on this network');
+ if (info.owner.equals(TOKEN_PROGRAM_ID)) return TOKEN_PROGRAM_ID;
+ if (info.owner.equals(TOKEN_2022_PROGRAM_ID)) return TOKEN_2022_PROGRAM_ID;
+ throw new AllowanceError('mint_unsupported', 'that account is not an SPL or Token-2022 mint');
+}
+
+function ownerAta(mint, owner, tokenProgram) {
+ return getAssociatedTokenAddressSync(new PublicKey(mint), new PublicKey(owner), true, tokenProgram);
+}
+
+// ── pure ceiling math ─────────────────────────────────────────────────────────
+
+/**
+ * Remaining pullable amount of a recurring delegation right now. A period that
+ * has fully elapsed resets the pulled counter, mirroring the program.
+ */
+export function recurringRemaining({ amountPerPeriod, amountPulledInPeriod, currentPeriodStartTs, periodLengthS }, nowTs) {
+ const per = BigInt(amountPerPeriod);
+ const start = BigInt(currentPeriodStartTs);
+ const len = BigInt(periodLengthS);
+ if (BigInt(nowTs) < start) return 0n;
+ if (len > 0n && BigInt(nowTs) >= start + len) return per;
+ const left = per - BigInt(amountPulledInPeriod);
+ return left > 0n ? left : 0n;
+}
+
+/**
+ * The hard ceiling. `remaining` is the live on-chain allowance; `ownerBalance`
+ * is the owner's token balance (an allowance cannot move funds the owner does
+ * not hold). A request above either, past expiry, or with no allowance at all
+ * is refused here, before any transaction exists.
+ */
+export function checkAllowanceCeiling({ remaining, expiryTs = 0n, ownerBalance = null, amount, nowTs = Math.floor(Date.now() / 1000) }) {
+ const want = BigInt(amount);
+ if (want <= 0n) return { allow: false, code: 'invalid_amount', reason: 'pull amount must be greater than zero' };
+ if (remaining == null) {
+ return { allow: false, code: 'no_allowance', reason: 'no active on-chain allowance for this agent and token' };
+ }
+ const exp = BigInt(expiryTs ?? 0n);
+ if (exp !== 0n && BigInt(nowTs) >= exp) {
+ return { allow: false, code: 'allowance_expired', reason: 'the owner-funded allowance has expired' };
+ }
+ const left = BigInt(remaining);
+ if (want > left) {
+ return {
+ allow: false,
+ code: 'allowance_exceeded',
+ reason: `requested ${want} exceeds the remaining on-chain allowance of ${left}`,
+ detail: { remaining: left.toString(), requested: want.toString() },
+ };
+ }
+ if (ownerBalance != null && want > BigInt(ownerBalance)) {
+ return {
+ allow: false,
+ code: 'owner_balance_low',
+ reason: `the owner's token account holds ${BigInt(ownerBalance)}, less than the requested ${want}`,
+ detail: { ownerBalance: BigInt(ownerBalance).toString(), requested: want.toString() },
+ };
+ }
+ return { allow: true, code: 'ok', reason: 'within the on-chain allowance', detail: { remaining: left.toString() } };
+}
+
+// ── unsigned owner transactions ───────────────────────────────────────────────
+
+async function finalizeUnsigned(connection, feePayer, instructions) {
+ const { blockhash, lastValidBlockHeight } = await connection.getLatestBlockhash('confirmed');
+ const tx = new Transaction({ feePayer: new PublicKey(feePayer), blockhash, lastValidBlockHeight });
+ tx.add(...instructions);
+ const serialized = tx.serialize({ requireAllSignatures: false, verifySignatures: false });
+ return { transaction: serialized.toString('base64'), blockhash, lastValidBlockHeight };
+}
+
+/**
+ * Build the owner's create-allowance transaction, unsigned. Adds the one-time
+ * SubscriptionAuthority init for this mint when the owner has none yet.
+ */
+export async function prepareCreateAllowance({
+ network = 'mainnet',
+ owner,
+ delegatee,
+ mint,
+ amount,
+ expiryTs,
+ nonce = BigInt(Date.now()),
+ kind = 'fixed',
+ periodLengthS,
+ startTs = 0,
+ connection = null,
+ env = process.env,
+}) {
+ assertAddress(owner, 'owner');
+ assertAddress(delegatee, 'delegatee');
+ assertAddress(mint, 'mint');
+ if (owner === delegatee) throw new AllowanceError('invalid_request', 'the agent wallet must differ from the owner wallet');
+ if (kind !== 'fixed' && kind !== 'recurring') throw new AllowanceError('invalid_request', 'kind must be "fixed" or "recurring"');
+ if (kind === 'recurring' && !recurringEnabled(env)) {
+ throw new AllowanceError('feature_disabled', 'recurring allowances are not enabled on this deployment');
+ }
+ const cap = toBigInt(amount, 'amount');
+ if (cap === 0n) throw new AllowanceError('invalid_request', 'amount must be greater than zero');
+ const expiry = toBigInt(expiryTs ?? 0, 'expiryTs');
+ const nowTs = BigInt(Math.floor(Date.now() / 1000));
+ if (expiry !== 0n && expiry <= nowTs) throw new AllowanceError('invalid_request', 'expiryTs must be in the future');
+ if (kind === 'recurring') {
+ if (expiry === 0n) throw new AllowanceError('invalid_request', 'a recurring allowance needs an expiry');
+ if (!periodLengthS || BigInt(periodLengthS) <= 0n) throw new AllowanceError('invalid_request', 'periodLengthS is required for a recurring allowance');
+ }
+
+ const conn = await connectionFor(network, connection);
+ const rpc = kitRpc(conn);
+ const tokenProgram = await tokenProgramFor(conn, mint);
+ const userAta = ownerAta(mint, owner, tokenProgram);
+ const ataInfo = await conn.getAccountInfo(userAta, 'confirmed');
+ if (!ataInfo) {
+ throw new AllowanceError('owner_token_account_missing', 'the owner wallet has no token account for this mint yet; fund it first');
+ }
+
+ const ownerSigner = createNoopSigner(address(owner));
+ const [authorityPda] = await findSubscriptionAuthorityPda({ tokenMint: address(mint), user: address(owner) });
+ const authority = await fetchMaybeSubscriptionAuthority(rpc, authorityPda);
+
+ const instructions = [];
+ let expectedInitId;
+ if (!authority.exists) {
+ instructions.push(
+ await getInitSubscriptionAuthorityOverlayInstructionAsync({
+ owner: ownerSigner,
+ tokenMint: address(mint),
+ tokenProgram: address(tokenProgram.toBase58()),
+ userAta: address(userAta.toBase58()),
+ }),
+ );
+ expectedInitId = UNKNOWN_INIT_ID;
+ } else {
+ expectedInitId = authority.data.initId;
+ }
+
+ const common = {
+ delegator: ownerSigner,
+ delegatee: address(delegatee),
+ tokenMint: address(mint),
+ nonce,
+ expiryTs: expiry,
+ expectedSubscriptionAuthorityInitId: expectedInitId,
+ };
+ let delegationPda;
+ if (kind === 'fixed') {
+ instructions.push(await getCreateFixedDelegationOverlayInstructionAsync({ ...common, amount: cap }));
+ [delegationPda] = await findFixedDelegationPda({
+ subscriptionAuthority: authorityPda,
+ delegator: address(owner),
+ delegatee: address(delegatee),
+ nonce,
+ });
+ } else {
+ instructions.push(
+ await getCreateRecurringDelegationOverlayInstructionAsync({
+ ...common,
+ amountPerPeriod: cap,
+ periodLengthS: BigInt(periodLengthS),
+ startTs: BigInt(startTs),
+ }),
+ );
+ [delegationPda] = await findRecurringDelegationPda({
+ subscriptionAuthority: authorityPda,
+ delegator: address(owner),
+ delegatee: address(delegatee),
+ nonce,
+ });
+ }
+
+ const built = await finalizeUnsigned(conn, owner, instructions.map(kitInstructionToWeb3));
+ return {
+ ...built,
+ network,
+ kind,
+ owner,
+ delegatee,
+ mint,
+ tokenProgram: tokenProgram.toBase58(),
+ ownerTokenAccount: userAta.toBase58(),
+ amount: cap.toString(),
+ expiryTs: Number(expiry),
+ nonce: nonce.toString(),
+ delegationPda: String(delegationPda),
+ initializesAuthority: !authority.exists,
+ programId: ALLOWANCE_PROGRAM_ID,
+ };
+}
+
+/** Build the owner's one-click revoke transaction, unsigned. */
+export async function prepareRevokeAllowance({ network = 'mainnet', owner, delegationPda, connection = null }) {
+ assertAddress(owner, 'owner');
+ assertAddress(delegationPda, 'delegationPda');
+ const conn = await connectionFor(network, connection);
+ const info = await conn.getAccountInfo(new PublicKey(delegationPda), 'confirmed');
+ if (!info) throw new AllowanceError('allowance_not_found', 'that allowance no longer exists on chain (already revoked or closed)');
+ const ix = getRevokeDelegationOverlayInstruction({
+ authority: createNoopSigner(address(owner)),
+ delegationAccount: address(delegationPda),
+ });
+ const built = await finalizeUnsigned(conn, owner, [kitInstructionToWeb3(ix)]);
+ return { ...built, network, owner, delegationPda, programId: ALLOWANCE_PROGRAM_ID };
+}
+
+// ── live on-chain state ───────────────────────────────────────────────────────
+
+/**
+ * Read one allowance off chain by its delegation PDA. Returns null when the
+ * account is gone (revoked or closed). `remaining` is the live pullable amount.
+ */
+export async function readAllowance({ network = 'mainnet', kind = 'fixed', delegationPda, connection = null, nowTs = Math.floor(Date.now() / 1000) }) {
+ const conn = await connectionFor(network, connection);
+ const rpc = kitRpc(conn);
+ const fetcher = kind === 'recurring' ? fetchMaybeRecurringDelegation : fetchMaybeFixedDelegation;
+ const acct = await fetcher(rpc, address(delegationPda));
+ if (!acct.exists) return null;
+ const d = acct.data;
+ const mint = String(d.mint);
+ const owner = String(d.header.delegator);
+ const delegatee = String(d.header.delegatee);
+ const expiryTs = Number(d.expiryTs);
+ let remaining;
+ let cap;
+ if (kind === 'recurring') {
+ remaining = recurringRemaining(d, nowTs);
+ cap = d.amountPerPeriod;
+ } else {
+ remaining = d.amount;
+ cap = null;
+ }
+ return {
+ kind,
+ delegationPda,
+ owner,
+ delegatee,
+ mint,
+ remaining: remaining.toString(),
+ capOnChain: cap == null ? null : cap.toString(),
+ expiryTs,
+ expired: expiryTs !== 0 && nowTs >= expiryTs,
+ periodLengthS: kind === 'recurring' ? Number(d.periodLengthS) : null,
+ };
+}
+
+/** The owner's current balance of the mint (0n when the token account is absent). */
+export async function readOwnerBalance({ network = 'mainnet', owner, mint, connection = null }) {
+ const conn = await connectionFor(network, connection);
+ const tokenProgram = await tokenProgramFor(conn, mint);
+ const ata = ownerAta(mint, owner, tokenProgram);
+ try {
+ const bal = await conn.getTokenAccountBalance(ata, 'confirmed');
+ return BigInt(bal.value.amount);
+ } catch {
+ return 0n;
+ }
+}
+
+/**
+ * Preflight for a pull: live allowance + owner balance run through the ceiling.
+ * This is the function the spend guards and the pull endpoint both call.
+ */
+export async function checkAllowancePull({ network = 'mainnet', kind = 'fixed', delegationPda, amount, connection = null }) {
+ const live = await readAllowance({ network, kind, delegationPda, connection });
+ if (!live) {
+ return { allow: false, code: 'no_allowance', reason: 'the allowance was revoked or no longer exists on chain', live: null };
+ }
+ const ownerBalance = await readOwnerBalance({ network, owner: live.owner, mint: live.mint, connection });
+ const verdict = checkAllowanceCeiling({ remaining: live.remaining, expiryTs: live.expiryTs, ownerBalance, amount });
+ return { ...verdict, live, ownerBalance: ownerBalance.toString() };
+}
+
+// ── agent-side pull ───────────────────────────────────────────────────────────
+
+/**
+ * Build the pull transaction signed by the agent's custodial keypair. Funds land
+ * in the agent wallet's own token account (created idempotently if missing), so
+ * everything the agent does next with them still passes the existing guards.
+ * The caller must have run checkAllowancePull first; the program re-enforces
+ * the same limits regardless.
+ */
+export async function buildSignedPull({ network = 'mainnet', kind = 'fixed', delegationPda, owner, mint, amount, agentKeypair, connection = null }) {
+ const conn = await connectionFor(network, connection);
+ const tokenProgram = await tokenProgramFor(conn, mint);
+ const delegatorAta = ownerAta(mint, owner, tokenProgram);
+ const receiverAta = ownerAta(mint, agentKeypair.publicKey.toBase58(), tokenProgram);
+
+ const { createAssociatedTokenAccountIdempotentInstruction } = await import('@solana/spl-token');
+ const instructions = [
+ createAssociatedTokenAccountIdempotentInstruction(agentKeypair.publicKey, receiverAta, agentKeypair.publicKey, new PublicKey(mint), tokenProgram),
+ ];
+ const input = {
+ amount: toBigInt(amount, 'amount'),
+ delegatee: createNoopSigner(address(agentKeypair.publicKey.toBase58())),
+ delegationPda: address(delegationPda),
+ delegator: address(owner),
+ delegatorAta: address(delegatorAta.toBase58()),
+ receiverAta: address(receiverAta.toBase58()),
+ tokenMint: address(mint),
+ tokenProgram: address(tokenProgram.toBase58()),
+ };
+ const kitIx = kind === 'recurring' ? await getTransferRecurringOverlayInstructionAsync(input) : await getTransferFixedOverlayInstructionAsync(input);
+ instructions.push(kitInstructionToWeb3(kitIx));
+
+ const { blockhash, lastValidBlockHeight } = await conn.getLatestBlockhash('confirmed');
+ const tx = new Transaction({ feePayer: agentKeypair.publicKey, blockhash, lastValidBlockHeight });
+ tx.add(...instructions);
+ tx.sign(agentKeypair);
+ return { tx, blockhash, lastValidBlockHeight, receiverAta: receiverAta.toBase58() };
+}
+
+/**
+ * Translate a program rejection (simulation logs or a thrown RPC error) into the
+ * program's own message, e.g. AmountExceedsLimit after a pull above the cap.
+ */
+export function describeProgramFailure(err) {
+ const msg = String(err?.message ?? err ?? '');
+ const custom = msg.match(/custom program error: 0x([0-9a-f]+)/i) || msg.match(/"Custom":\s*(\d+)/);
+ if (custom) {
+ const code = custom[1].length && /^[0-9a-f]+$/i.test(custom[1]) && msg.includes('0x') ? parseInt(custom[1], 16) : Number(custom[1]);
+ try {
+ if (isSubscriptionsError({ context: { code } }, code)) return getSubscriptionsErrorMessage(code);
+ } catch {
+ // fall through to the raw message
+ }
+ try {
+ return getSubscriptionsErrorMessage(code);
+ } catch {
+ return `program error ${code}`;
+ }
+ }
+ return msg.slice(0, 300);
+}
diff --git a/api/_lib/rate-limit.js b/api/_lib/rate-limit.js
index 29bced9c0..c77e1b96b 100644
--- a/api/_lib/rate-limit.js
+++ b/api/_lib/rate-limit.js
@@ -2411,6 +2411,13 @@ export const limits = {
// against one key hammering a signature it cannot get right.
agentSignupIp: (ip) => getLimiter('agent-signup:ip', { limit: 5, window: '1 h', critical: true }).limit(ip),
agentSignupKey: (publicKey) => getLimiter('agent-signup:key', { limit: 10, window: '1 h', critical: true }).limit(publicKey),
+ // Challenge issuance for /api/auth/agent-signup. Cheap to serve, so the lanes are
+ // looser than the signup lanes above, but still fail closed: an unthrottled
+ // challenge endpoint is a free write path into the nonce table.
+ agentChallengeIp: (ip) => getLimiter('agent-signup:challenge-ip', { limit: 30, window: '1 h', critical: true }).limit(ip),
+ agentChallengeKey: (publicKey) => getLimiter('agent-signup:challenge-key', { limit: 10, window: '1 h', critical: true }).limit(publicKey),
+ // Agent plan upgrade (api/billing/agent-upgrade.js): the 402 challenge itself.
+ agentUpgradeKey: (apiKeyId) => getLimiter('agent-upgrade:key', { limit: 60, window: '1 h' }).limit(apiKeyId),
// Agent commerce (api/agent-commerce/[...route].js). The public invoice page
// and its verify button reach the chain, so they are capped per IP; owner
// writes per user; an approval decision checks a password or a signature, so
diff --git a/api/_lib/skill-candidates.js b/api/_lib/skill-candidates.js
index f113e362f..73b7f4d13 100644
--- a/api/_lib/skill-candidates.js
+++ b/api/_lib/skill-candidates.js
@@ -18,7 +18,7 @@ import { sql } from './db.js';
import { isUuid } from './validate.js';
import { insertNotification } from './notify.js';
import { requireOwnedAgent, CustomSkillError } from './agent-custom-skills.js';
-import { validateBundle } from '../../packages/skill-import/src/validate.js';
+import { validateBundle } from '@three-ws/skill-import';
import { completeText } from './agent-learning/llm.js';
import { parseDraftJson } from './agent-learning/skill-drafts.js';
import { getMemorySettings } from './agent-learning/settings.js';
diff --git a/api/_lib/x-content/price-impact.js b/api/_lib/x-content/price-impact.js
index 947b091d9..357ea444d 100644
--- a/api/_lib/x-content/price-impact.js
+++ b/api/_lib/x-content/price-impact.js
@@ -123,6 +123,22 @@ export function summarize(rows, baseline = []) {
return summary;
}
+// The series thinned to one point per `bucketSeconds` (open of the first bar, close
+// of the last, volume summed), small enough to ship to the browser with the posts
+// so the chart and the bubbles draw from the same prices.
+export function downsample(candles, bucketSeconds = 4 * 3600) {
+ const out = [];
+ for (const bar of candles) {
+ const slot = Math.floor(bar.t / bucketSeconds) * bucketSeconds;
+ const last = out[out.length - 1];
+ if (last && last.t === slot) {
+ last.c = bar.c;
+ last.v += bar.v || 0;
+ } else out.push({ t: slot, o: bar.o, c: bar.c, v: bar.v || 0 });
+ }
+ return out;
+}
+
// The document the Posts view on /oracle-coin reads: the summary, and every post
// that has a $THREE price at the moment it went out. Posts from before the pool
// existed carry no price and are counted in the summary as unavailable instead.
@@ -140,6 +156,7 @@ export function buildImpactDocument({ handle, posts, pool, candles, now = Date.n
bars: candles.length,
},
summary: summarize(rows, baselineReturns(candles)),
+ points: downsample(candles),
posts: rows.filter((row) => row.priceAtPost !== null),
};
}
diff --git a/api/_lib/x-guest/README.md b/api/_lib/x-guest/README.md
new file mode 100644
index 000000000..0cd26d7cf
--- /dev/null
+++ b/api/_lib/x-guest/README.md
@@ -0,0 +1,33 @@
+# x-guest
+
+Keyless X (Twitter) reader. Public profiles and user timelines through the guest-token GraphQL surface x.com's own web client uses for logged-out visitors. No API key, no account, read-only.
+
+Adapted from XActions (Apache-2.0, see [NOTICE](NOTICE) and [LICENSE](LICENSE)). The parsers are copied; the client is a compact reimplementation (the upstream client is blocked from our network egress, a minimal one is not).
+
+## API
+
+```js
+import { fetchGuestProfile, fetchGuestTimeline } from './index.js';
+
+const profile = await fetchGuestProfile('jack'); // followers, joined date, avatar, bio
+const { tweets } = await fetchGuestTimeline('jack', { limit: 20 });
+```
+
+## Failure model
+
+Every error is an `XGuestError` with a `reason`: `rate_limited`, `stale_query_id`, `not_found`, `guest_token`, `upstream`. Callers fail soft to the previous rung and log the reason.
+
+- A 429 opens a module-level cooldown until `x-rate-limit-reset`.
+- A 403 re-activates the guest token once.
+- A 404 (or a 400 naming the persisted query) means x.com rotated a query ID: the current IDs are read from the upstream XActions constants at runtime and the call retried once. If upstream has no fresh ID, the call fails with `stale_query_id`.
+- Guest tokens are cached for 2.5 hours with single-flight activation.
+
+## Callers
+
+- [src/kol/x-profile.js](../../../src/kol/x-profile.js): rung 2 behind the X API v2 for admin-attached handles.
+- [api/_lib/oracle/x-account.js](../oracle/x-account.js): the coin's own X account age and followers.
+- [api/cron/oracle-social-ingest.js](../../cron/oracle-social-ingest.js): timelines fed to `/api/oracle/social`.
+
+Tests: [tests/x-guest.test.js](../../../tests/x-guest.test.js).
+
+Terms: this reads the same public data the logged-out web client reads, at low volume and with caching. Whether that fits X's terms for a commercial surface is an owner call; setting `TWITTER_BEARER_TOKEN` keeps rung 1 first.
diff --git a/api/_lib/x402-buyer-fetch.js b/api/_lib/x402-buyer-fetch.js
index f32e0e654..3d5322dd0 100644
--- a/api/_lib/x402-buyer-fetch.js
+++ b/api/_lib/x402-buyer-fetch.js
@@ -23,12 +23,17 @@
// for Solana, contract call for BSC). This module owns the cap check +
// header dance + settlement parsing only.
-import { enforceCap, commit, rollbackReservation } from './x402-spending-cap.js';
+import { enforceCap, commit, releaseUnusedCap, rollbackReservation } from './x402-spending-cap.js';
import { BUILDER_CODE } from './x402-builder-code.js';
import { env } from './env.js';
-function selectRequirement(challenge, prefer) {
- const accepts = Array.isArray(challenge?.accepts) ? challenge.accepts : [];
+function selectRequirement(challenge, prefer, preferScheme) {
+ let accepts = Array.isArray(challenge?.accepts) ? challenge.accepts : [];
+ // `preferScheme: 'upto'` takes an escrow-backed offer when one is advertised
+ // (pay the measured charge, not the cap); otherwise the list is unchanged.
+ if (preferScheme && accepts.some((a) => a.scheme === preferScheme)) {
+ accepts = accepts.filter((a) => a.scheme === preferScheme);
+ }
if (typeof prefer === 'function') {
const picked = prefer(accepts);
if (picked) return picked;
@@ -91,6 +96,7 @@ export async function buyerFetch(url, opts = {}) {
caps,
signPayment,
preferNetwork,
+ preferScheme,
fetchImpl = globalThis.fetch,
} = opts;
@@ -122,7 +128,7 @@ export async function buyerFetch(url, opts = {}) {
return { ok: false, status: 402, error: 'invalid_402_body' };
}
- const requirement = selectRequirement(challenge, preferNetwork);
+ const requirement = selectRequirement(challenge, preferNetwork, preferScheme);
if (!requirement) {
return { ok: false, status: 402, error: 'no_acceptable_requirement' };
}
@@ -164,6 +170,9 @@ export async function buyerFetch(url, opts = {}) {
};
}
const settled = b64decode(paid.headers.get('x-payment-response'));
+ if (reservation && requirement.scheme === 'upto' && settled?.amount != null) {
+ reservation = await releaseUnusedCap(reservation, requirement, settled.amount);
+ }
if (reservation) {
await commit(reservation, {
network: requirement.network,
diff --git a/api/_lib/x402-paid-endpoint.js b/api/_lib/x402-paid-endpoint.js
index af3f8f733..b2de8c827 100644
--- a/api/_lib/x402-paid-endpoint.js
+++ b/api/_lib/x402-paid-endpoint.js
@@ -53,6 +53,13 @@ import {
import { declareBuilderCodeExtension } from './x402-builder-code.js';
import { sponsorKnownBelowFloor, refreshSponsorFloorState } from './x402/self-facilitator.js';
import { resolveSolanaFacilitator } from './x402/ring-config.js';
+import {
+ buildUptoRequirement,
+ normaliseCharge,
+ settleUptoClaim,
+ settleUptoDeposit,
+ uptoEnabled,
+} from './x402/upto.js';
import {
PAYMENT_IDENTIFIER,
checkCache,
@@ -385,6 +392,22 @@ export function buildRequirements({ priceAtomics, networks, resourceUrl, payToOv
//
// `spec.requiredScope` (optional) — OAuth scope the route declares for
// bypass-via-Bearer. Passed to the hook in routeConfig.requiredScope.
+// The `upto` accept for a route: Solana USDC to the route's payee, amount = cap.
+async function buildUptoOffer({ upto, resourceUrl, payTo }) {
+ const solTo = payTo?.solana || env.X402_PAY_TO_SOLANA;
+ if (!solTo || !env.X402_ASSET_MINT_SOLANA) return null;
+ const cap = BigInt(upto.capAtomics);
+ if (cap <= 0n) throw new Error('paidEndpoint: upto.capAtomics must be a positive integer');
+ const offer = await buildUptoRequirement({
+ capAtomics: cap,
+ network: NETWORK_SOLANA_MAINNET,
+ asset: env.X402_ASSET_MINT_SOLANA,
+ payTo: solTo,
+ resourceUrl,
+ });
+ return { ...offer, resource: resourceUrl };
+}
+
export function paidEndpoint(spec) {
const {
route,
@@ -451,6 +474,16 @@ export function paidEndpoint(spec) {
// about to ship. Async; a throw is logged and the response ships
// un-metered rather than failing a settled payment.
metered,
+ // x402 v2 `upto` on Solana: ALSO advertise an escrow-backed offer whose
+ // `amount` is a CAP. The buyer deposits the cap, the handler runs, and only
+ // the measured charge is claimed (the rest of the deposit returns to the
+ // buyer). `{ capAtomics, charge? }`: `charge({ req, result, requirement,
+ // payer })` returns the atomic units to settle (<= cap; default = the
+ // cap). A handler that throws settles nothing and the deposit is refunded.
+ // Offered in addition to `exact`, never instead of it, and only when the
+ // deployment runs the upto facilitator (X402_UPTO_ENABLED). Not valid with
+ // `streaming`, whose body ships before the measurement exists.
+ upto,
// Optional post-settlement accrual hook (Roadmap phase 3: per-call
// royalties). Called fire-and-forget AFTER settlement succeeds, with
// { payer, network, txHash, amountAtomics, asset, resourceUrl }. Use it
@@ -506,6 +539,12 @@ export function paidEndpoint(spec) {
// live 402 matches what the discovery document already advertises.
const bazaarEntry = normalizeBazaarEntry(bazaar, { method });
if (typeof handler !== 'function') throw new Error('paidEndpoint: handler must be a function');
+ if (upto && streaming) {
+ throw new Error('paidEndpoint: `upto` cannot be combined with `streaming` (the body ships before the charge is measured)');
+ }
+ if (upto && !(BigInt(upto.capAtomics ?? 0) > 0n)) {
+ throw new Error('paidEndpoint: upto.capAtomics must be a positive integer of atomic units');
+ }
if (accessControl != null && typeof accessControl !== 'function') {
throw new Error('paidEndpoint: accessControl must be a function when provided');
}
@@ -600,6 +639,17 @@ export function paidEndpoint(spec) {
);
}
+ if (upto && uptoEnabled() && networks.includes('solana')) {
+ try {
+ const uptoAccept = await buildUptoOffer({ upto, resourceUrl, payTo });
+ if (uptoAccept) requirements = [...requirements, uptoAccept];
+ } catch (err) {
+ // The upto offer is additive. If it cannot be built (RPC down, key
+ // missing) the endpoint keeps selling `exact` rather than 503ing.
+ console.error(`paidEndpoint(${route}): upto offer unavailable`, err?.message || err);
+ }
+ }
+
// USE-21 auth-hints: append zero-amount accept entries for each declared
// auth method and build the auth-hints extension. The free entries
// reuse the Base USDC asset block so schema-checking clients accept
@@ -1226,6 +1276,66 @@ export function paidEndpoint(spec) {
return respondError(res, err.status || 502, err.code || 'verify_failed', err);
}
+ // `upto`: escrow the cap BEFORE the handler runs, so the seller never does
+ // work it cannot collect. A failed deposit delivers nothing and charges
+ // nothing; the buyer can sign a fresh channel and retry.
+ if (verified.upto && !paidRetry) {
+ let deposit;
+ let depositErr = null;
+ try {
+ deposit = await settleUptoDeposit({
+ paymentPayload: verified.paymentPayload,
+ requirement: verified.requirement,
+ });
+ } catch (err) {
+ depositErr = err;
+ }
+ if (depositErr || !deposit?.success) {
+ await limits.x402VerifyPenalty(ip);
+ if (ownsReservation) await releaseSlot({ route, paymentId });
+ const reason = depositErr?.message || deposit?.errorReason || 'deposit_failed';
+ recordPaymentMetric({
+ kind: 'x402',
+ status: 'failed',
+ latencyMs: Date.now() - requestStartTime,
+ reason: 'upto_deposit_failed',
+ });
+ if (depositErr) {
+ return respondError(res, 502, 'upto_deposit_failed', depositErr, { paid: false, retry_safe: true });
+ }
+ return await send402(res, { ...challenge, error: `upto deposit rejected: ${reason}` });
+ }
+ verified.upto.depositSettled = true;
+ verified.upto.depositTransaction = deposit.transaction || null;
+ }
+
+ // Cancel an escrowed `upto` channel: a zero claim returns the whole deposit
+ // to the buyer. Used when the handler failed, so a failed call costs nothing.
+ async function cancelUptoDeposit(reason) {
+ if (!verified.upto?.depositSettled || paidRetry) return;
+ try {
+ await settleUptoClaim({
+ paymentPayload: verified.paymentPayload,
+ requirement: verified.upto.capRequirement,
+ amountAtomics: '0',
+ });
+ } catch (err) {
+ console.error(`paidEndpoint(${route}): upto cancel failed (${reason})`, err?.message || err);
+ logPaymentEvent({
+ eventType: 'payment_upto_cancel_failed',
+ route,
+ resourceUrl,
+ payer: verified.payer || null,
+ network: verified.requirement?.network || null,
+ settlementStatus: 'failed',
+ durationMs: Date.now() - requestStartTime,
+ ipAddress: clientIp(req),
+ userAgent: req.headers?.['user-agent']?.slice(0, 512) || null,
+ metadata: { reason, error: String(err?.message || err).slice(0, 300) },
+ });
+ }
+ }
+
// Settle the verified payment and build the x-payment-response header
// (signed receipts + SIWX grant). Invoked with the response NOT yet
// flushed in BOTH paths: settle-then-stream calls it before the handler
@@ -1286,7 +1396,9 @@ export function paidEndpoint(spec) {
// retried grant is safe. The on-chain payment is final; if Neon hiccups
// the buyer gets a paid failure that says to retry with the same
// payment, which re-runs this write without a second charge.
- if (siwx && verified.payer) {
+ // An `upto` call that measured zero charged nothing, so it earns no session.
+ const uptoFree = verified.upto && String(verified.requirement.amount) === '0';
+ if (siwx && verified.payer && !uptoFree) {
try {
await recordSiwxPayment({
resourceUrl,
@@ -1615,6 +1727,7 @@ export function paidEndpoint(spec) {
});
} catch (err) {
if (ownsReservation) await releaseSlot({ route, paymentId });
+ await cancelUptoDeposit('handler_threw');
// A paid retry is past settlement: the buyer paid on the first attempt,
// so this failure keeps the retry lane open rather than asking for a
// new payment.
@@ -1641,6 +1754,7 @@ export function paidEndpoint(spec) {
// so payment is captured before delivery.
if (res.writableEnded) {
if (ownsReservation) await releaseSlot({ route, paymentId });
+ await cancelUptoDeposit('handler_flushed');
logPaymentEvent({
eventType: 'payment_unsettled_flush',
route,
@@ -1668,6 +1782,36 @@ export function paidEndpoint(spec) {
);
}
+ // `upto`: price the work now that it ran. Everything downstream (the claim,
+ // receipts, spend ledgers, onSettled) reads the charge off
+ // verified.requirement.amount, so lowering it here is the single switch.
+ if (verified.upto && !paidRetry) {
+ let charge;
+ try {
+ const cap = verified.upto.capRequirement.amount;
+ const measured =
+ typeof upto.charge === 'function'
+ ? await upto.charge({
+ req,
+ result,
+ requirement: verified.upto.capRequirement,
+ payer: verified.payer,
+ })
+ : cap;
+ charge = normaliseCharge(measured, cap);
+ } catch (err) {
+ await cancelUptoDeposit('charge_failed');
+ return respondError(res, err.status || 500, err.code || 'internal_error', err, {
+ paid: false,
+ retry_safe: true,
+ });
+ }
+ verified = {
+ ...verified,
+ requirement: { ...verified.requirement, amount: charge.toString() },
+ };
+ }
+
const outcome = await settleAndBuildResponse();
if (!outcome) return;
const { settled, paymentResponseHeader } = outcome;
diff --git a/api/_lib/x402-spec.js b/api/_lib/x402-spec.js
index ec231be5b..12a48492a 100644
--- a/api/_lib/x402-spec.js
+++ b/api/_lib/x402-spec.js
@@ -88,6 +88,7 @@ import {
// Safe to import here: self-facilitator.js pulls in env + the Solana connection
// only, never this module, so there is no cycle.
import { sponsorKnownBelowFloor } from './x402/self-facilitator.js';
+import { isUptoRequirement, settleUptoClaim, uptoEnabled, verifyUpto } from './x402/upto.js';
export { X402Error };
// Re-export both gas-sponsoring declarators together so callers building 402
@@ -850,7 +851,14 @@ function selectRequirement(paymentPayload, allRequirements) {
return reqMethod === method;
};
if (network) {
- const candidates = allRequirements.filter((r) => r.network === network && matchesMethod(r));
+ let candidates = allRequirements.filter((r) => r.network === network && matchesMethod(r));
+ // A payload that names its scheme only matches offers of that scheme, so an
+ // `upto` authorization is never read against the sibling `exact` offer for
+ // the same network and asset (and vice versa).
+ const payloadScheme = paymentPayload?.accepted?.scheme || paymentPayload?.scheme;
+ if (payloadScheme && candidates.some((r) => r.scheme === payloadScheme)) {
+ candidates = candidates.filter((r) => r.scheme === payloadScheme);
+ }
if (!candidates.length)
throw new X402Error(
'unsupported_network',
@@ -1024,6 +1032,36 @@ function minimalPaymentPayloadForCdp(paymentPayload) {
return out;
}
+// `upto` is verified in-process by the official @x402/svm upto facilitator: it
+// checks the signed channel-open transaction (deposit equals the cap, our payee,
+// our fee payer) and rejects a buyer-supplied voucher. The deposit itself is
+// broadcast by the paid endpoint BEFORE the handler runs (settleUptoDeposit);
+// the claim of the measured amount happens in settlePayment below.
+async function verifyUptoPayment({ paymentPayload, requirement }) {
+ if (!uptoEnabled()) {
+ throw new X402Error('unsupported_scheme', 'the upto scheme is not enabled on this deployment', 402);
+ }
+ let result;
+ try {
+ result = await verifyUpto({ paymentPayload, requirement });
+ } catch (err) {
+ throw new X402Error('verify_failed', `upto verify failed: ${err?.message || err}`, 502);
+ }
+ if (!result?.isValid) {
+ throw new X402Error(
+ 'invalid_payment',
+ `upto payment rejected: ${result?.invalidReason || 'invalid'}${result?.invalidMessage ? ` (${result.invalidMessage})` : ''}`,
+ 402,
+ );
+ }
+ return {
+ paymentPayload,
+ requirement,
+ payer: result.payer || null,
+ upto: { capRequirement: requirement, depositSettled: false },
+ };
+}
+
export async function verifyPayment({ paymentHeader, requirements, builderCode }) {
const all = Array.isArray(requirements) ? requirements : [requirements];
// Auth-hint placeholder entries (amount="0" / extra.authRequired) are never
@@ -1042,6 +1080,9 @@ export async function verifyPayment({ paymentHeader, requirements, builderCode }
}
const paymentPayload = decodePaymentHeader(paymentHeader);
const requirement = selectRequirement(paymentPayload, payable);
+ if (isUptoRequirement(requirement)) {
+ return verifyUptoPayment({ paymentPayload, requirement });
+ }
const effectiveBuilderCode =
builderCode === undefined && env.X402_BUILDER_CODE_APP
? declareBuilderCodeExtension({ a: env.X402_BUILDER_CODE_APP })
@@ -1190,6 +1231,37 @@ export function isSettlementPending(result) {
);
}
+// Claim the measured charge on the escrowed channel and shape the facilitator
+// SettleResponse like every other settle: success, transaction, network, payer.
+async function settleUptoClaimResponse({ verified }) {
+ const { capRequirement } = verified.upto;
+ let res;
+ try {
+ res = await settleUptoClaim({
+ paymentPayload: verified.paymentPayload,
+ requirement: capRequirement,
+ amountAtomics: verified.requirement.amount,
+ });
+ } catch (err) {
+ throw new X402Error('settle_failed', `upto claim failed: ${err?.message || err}`, err?.status || 502);
+ }
+ if (!res?.success) {
+ throw new X402Error(
+ 'settle_failed',
+ `upto claim rejected: ${res?.errorReason || 'unknown'}${res?.errorMessage ? ` (${res.errorMessage})` : ''}`,
+ 502,
+ );
+ }
+ return {
+ success: true,
+ transaction: res.transaction,
+ network: res.network || verified.requirement.network,
+ payer: res.payer || verified.payer || null,
+ scheme: 'upto',
+ amount: verified.requirement.amount,
+ };
+}
+
export async function settlePayment(args) {
const verified = args?.verified || null;
const paymentPayload = verified?.paymentPayload || args?.paymentPayload;
@@ -1205,6 +1277,12 @@ export async function settlePayment(args) {
);
}
+ // `upto`: settle the CLAIM for the measured amount (requirement.amount has
+ // already been lowered from the cap to the charge by the paid endpoint).
+ if (verified?.upto) {
+ return settleUptoClaimResponse({ verified });
+ }
+
const config = facilitatorFor(requirement.network);
if (config.direct) {
if (!directVerified) {
diff --git a/api/_lib/x402-spending-cap.js b/api/_lib/x402-spending-cap.js
index d8f1e170b..e01f610e8 100644
--- a/api/_lib/x402-spending-cap.js
+++ b/api/_lib/x402-spending-cap.js
@@ -195,6 +195,25 @@ export async function rollbackReservation(reservation) {
await rollback({ address, microUsd, timestamp });
}
+// An `upto` payment reserves its CAP up front (the worst case), but only the
+// measured charge is ever taken. Once the settlement reports what was actually
+// charged, give the unused part of the reservation back so the hourly/daily
+// windows reflect real spend. `chargedAtomics` is the settled amount.
+export async function releaseUnusedCap(reservation, requirement, chargedAtomics) {
+ if (!reservation || reservation.pendingCommit) return reservation;
+ const cap = BigInt(requirement?.amount ?? requirement?.maxAmountRequired ?? 0);
+ const charged = BigInt(chargedAtomics ?? cap);
+ if (charged >= cap) return reservation;
+ const unusedMicro = await toMicroUsd((cap - charged).toString(), requirement);
+ const chargedMicro = reservation.microUsd - unusedMicro;
+ await rollback({
+ address: reservation.address,
+ microUsd: unusedMicro,
+ timestamp: reservation.timestamp,
+ });
+ return { ...reservation, microUsd: chargedMicro };
+}
+
// Install the cap as SDK-style lifecycle hooks on a client. Compatible with
// any client object that exposes `onBeforePaymentCreation` and
// `onAfterPaymentCreation` callbacks (e.g. @x402/fetch's createPaymentClient).
diff --git a/api/_lib/x402/a2a-client.js b/api/_lib/x402/a2a-client.js
index dd1d02852..0ad042c9e 100644
--- a/api/_lib/x402/a2a-client.js
+++ b/api/_lib/x402/a2a-client.js
@@ -198,6 +198,55 @@ export async function buildSolanaExactPayload({ accept, signer, resource, rpcUrl
};
}
+// Build a Solana `upto` PaymentPayload for an `upto` accepts entry using the
+// official @x402/svm upto client scheme. It signs a payment-channel `open`
+// transaction whose deposit equals the offered cap; the seller later claims only
+// the measured amount and the rest of the deposit returns to this signer.
+//
+// The cap IS the most this call can cost, so it is checked against the agent's
+// own per-call limit BEFORE anything is signed: `maxPerCallAtomics` refuses an
+// offer whose cap exceeds it, exactly as the spending-cap layer would for an
+// `exact` price.
+export async function buildSolanaUptoPayload({ accept, signer, resource, rpcUrl, maxPerCallAtomics }) {
+ if (accept.scheme !== 'upto') {
+ throw new A2AClientError(
+ 'unsupported_scheme',
+ `a2a-client: buildSolanaUptoPayload needs an upto accept, got ${accept.scheme}`,
+ );
+ }
+ if (maxPerCallAtomics != null && BigInt(accept.amount) > BigInt(maxPerCallAtomics)) {
+ throw new A2AClientError(
+ 'cap_exceeds_limit',
+ `a2a-client: upto cap ${accept.amount} exceeds the per-call limit ${maxPerCallAtomics}`,
+ { cap: String(accept.amount), limit: String(maxPerCallAtomics) },
+ );
+ }
+ if (!accept.extra?.feePayer || !accept.extra?.receiverAuthorizer) {
+ throw new A2AClientError(
+ 'missing_upto_extra',
+ 'a2a-client: upto accept is missing extra.feePayer or extra.receiverAuthorizer',
+ { network: accept.network },
+ );
+ }
+ if (!signer || typeof signer.address !== 'string') {
+ throw new A2AClientError(
+ 'invalid_signer',
+ 'buildSolanaUptoPayload: a @solana/kit signer is required (try createSolanaSigner)',
+ );
+ }
+ const { UptoSvmScheme } = await import('@x402/svm/upto/client');
+ const scheme = new UptoSvmScheme(signer, rpcUrl ? { rpcUrl } : undefined);
+ const built = await scheme.createPaymentPayload(2, accept);
+ return {
+ x402Version: built.x402Version || 2,
+ scheme: 'upto',
+ network: accept.network,
+ resource,
+ accepted: accept,
+ payload: built.payload,
+ };
+}
+
const CHAIN_ID_BY_NETWORK = {
'eip155:8453': 8453, // Base mainnet
'eip155:84532': 84532, // Base sepolia
diff --git a/api/_mcp/tools/custom-skills.js b/api/_mcp/tools/custom-skills.js
index 1473118f1..0f69f0220 100644
--- a/api/_mcp/tools/custom-skills.js
+++ b/api/_mcp/tools/custom-skills.js
@@ -28,6 +28,7 @@ import {
updateSkill,
deleteSkill,
} from '../../_lib/agent-custom-skills.js';
+import { listCandidates } from '../../_lib/skill-candidates.js';
const READ = { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false };
const WRITE = { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false };
@@ -273,4 +274,26 @@ export const toolDefs = [
return toolResult({ status: 'deleted', skill_id: removed.id, slug: removed.slug, name: removed.name, budget });
}),
},
+ {
+ name: 'list_skill_candidates',
+ title: 'List suggested skills',
+ annotations: READ,
+ _meta: policy('read'),
+ description:
+ 'List the skills an agent suggested for itself after a run that verifiably worked (a multi-tool turn with no tool error, a passed labor-escrow job, or a closed profitable trade). Each candidate carries its goal, the ordered tool steps with argument shapes only (values are never stored), the draft bundle status (draft, invalid, installed, dismissed), validation errors for an invalid draft, and any revision proposals. Read-only: accepting, publishing or dismissing a candidate is the owner\'s click on the agent dashboard or POST /api/agents/:id/skill-candidates/:candidateId, never a tool call.',
+ inputSchema: {
+ type: 'object',
+ properties: {
+ agent_id: agentId,
+ status: { type: 'string', enum: ['draft', 'invalid', 'installed', 'dismissed'], description: 'Only candidates in this state. Omit for all.' },
+ },
+ required: ['agent_id'],
+ additionalProperties: false,
+ },
+ scope: 'agents:read',
+ handler: ownerTool(async (args, auth) => {
+ const candidates = await listCandidates({ agentId: args.agent_id, userId: auth.userId, status: args.status || null });
+ return toolResult({ count: candidates.length, candidates });
+ }),
+ },
];
diff --git a/api/auth/agent-signup.js b/api/auth/agent-signup.js
new file mode 100644
index 000000000..2b6dc73d4
--- /dev/null
+++ b/api/auth/agent-signup.js
@@ -0,0 +1,103 @@
+// POST /api/auth/agent-signup: an autonomous agent signs itself up for three.ws.
+//
+// Two calls, same path, no email and no browser:
+//
+// 1. { "public_key": "<base58 ed25519>" }
+// -> 200 { challenge: { nonce, message, issued_at, expires_at, ... } }
+// 2. { "public_key", "nonce", "signature": "<base58 ed25519 signature of message>", "name"? }
+// -> 201 { account, agent, wallets, credentials, plan, upgrade, claim }
+//
+// The message is built by the server and rebuilt from the stored challenge on
+// step 2, so the agent signs exactly what it was shown. A challenge is bound to
+// the key it was issued to, lasts five minutes and works once. The account starts
+// on the Free developer plan in paper mode; moving up is a 402 on
+// POST /api/billing/agent-upgrade. Limits: 30 challenges and 5 signups per hour
+// per IP, 10 per hour per key, and AGENT_SIGNUP_DAILY_CAP new accounts per day.
+
+import { cors, json, method, readJson, wrap, error, rateLimited } from '../_lib/http.js';
+import { limits, clientIp } from '../_lib/rate-limit.js';
+import { env } from '../_lib/env.js';
+import { fail } from '../_lib/gateway.js';
+import { createSelfSignedAgent } from '../_lib/agent-signup.js';
+import { listDevPlans, DEV_PLAN_PERIOD_DAYS } from '../_lib/dev-plans/config.js';
+import {
+ assertPublicKey,
+ assertUnderDailyCap,
+ issueChallenge,
+ linkSignupWallet,
+ redeemChallenge,
+ walletOwner,
+} from '../_lib/agent-onboarding.js';
+
+function validName(value, publicKey) {
+ if (value == null || value === '') return `agent-${publicKey.slice(0, 6)}`;
+ const name = typeof value === 'string' ? value.trim() : '';
+ if (name.length < 1 || name.length > 100) fail(400, 'validation_error', 'name must be 1-100 characters');
+ if (/[\r\n]/.test(name)) fail(400, 'validation_error', 'name must be a single line');
+ return name;
+}
+
+export function upgradeBlock() {
+ return {
+ endpoint: `${env.APP_ORIGIN}/api/billing/agent-upgrade?plan=<plan>`,
+ method: 'POST',
+ auth: 'Authorization: Bearer <api_key>',
+ payment: 'x402: the first call answers 402 with the price; pay it in USDC on Solana and repeat the call with the payment header',
+ period_days: DEV_PLAN_PERIOD_DAYS,
+ plans: listDevPlans()
+ .filter((p) => p.purchasable && !p.contactSales)
+ .map((p) => ({ id: p.id, price_usd: p.priceUsd, included_calls: p.includedCalls })),
+ };
+}
+
+export default wrap(async (req, res) => {
+ if (cors(req, res, { methods: 'POST,OPTIONS' })) return;
+ if (!method(req, res, ['POST'])) return;
+
+ const ip = clientIp(req);
+ const body = (await readJson(req)) || {};
+ const publicKey = assertPublicKey(body.public_key);
+
+ // Step 1: issue a challenge.
+ if (body.signature == null && body.nonce == null) {
+ const ipLimit = await limits.agentChallengeIp(ip);
+ if (!ipLimit.success) return rateLimited(res, ipLimit, 'too many challenge requests from this address');
+ const keyLimit = await limits.agentChallengeKey(publicKey);
+ if (!keyLimit.success) return rateLimited(res, keyLimit, 'too many challenge requests for this public key');
+ const challenge = await issueChallenge({ publicKey, ip });
+ return json(res, 200, { challenge, next: 'Sign challenge.message with the ed25519 key for public_key, then POST { public_key, nonce, signature } here.' });
+ }
+
+ // Step 2: redeem it.
+ const ipLimit = await limits.agentSignupIp(ip);
+ if (!ipLimit.success) return rateLimited(res, ipLimit, 'too many signups from this address: try again later');
+ const keyLimit = await limits.agentSignupKey(publicKey);
+ if (!keyLimit.success) return rateLimited(res, keyLimit, 'too many attempts for this public key: try again later');
+ const name = validName(body.name, publicKey);
+
+ await assertUnderDailyCap();
+ await redeemChallenge({ publicKey, nonce: body.nonce, signature: body.signature });
+
+ if (await walletOwner(publicKey)) {
+ return error(res, 409, 'wallet_has_account', 'this wallet already belongs to an account: sign in with Sign-In with Solana at /api/auth/siws instead');
+ }
+
+ const { agent, user, key, apiKeySecret, claimCode, claimExpiresAt } = await createSelfSignedAgent({ publicKey, name, ip });
+ await linkSignupWallet({ userId: user.id, publicKey });
+
+ return json(res, 201, {
+ account: { id: user.id, plan: 'free', created_via: 'agent_signup' },
+ agent: { id: agent.id, name: agent.name, url: `${env.APP_ORIGIN}/agents/${agent.id}` },
+ wallets: { identity: publicKey, agent_solana: agent.meta?.solana_address ?? null, agent_evm: agent.wallet_address ?? null },
+ credentials: { api_key: apiKeySecret, api_key_prefix: key.prefix, scope: key.scope, shown_once: true },
+ mode: 'paper',
+ caps: { spend_limits: agent.meta.spend_limits, trade_limits: agent.meta.trade_limits, live_perps: false },
+ upgrade: upgradeBlock(),
+ claim: {
+ code: claimCode,
+ expires_at: claimExpiresAt,
+ endpoint: `${env.APP_ORIGIN}/api/v1/agents/claim`,
+ note: 'A human signs in and POSTs { code } to the claim endpoint to take ownership. Until then the agent runs in paper mode.',
+ },
+ });
+});
diff --git a/api/cron/labor-escrow-sweep.js b/api/cron/labor-escrow-sweep.js
new file mode 100644
index 000000000..ccc6d82ee
--- /dev/null
+++ b/api/cron/labor-escrow-sweep.js
@@ -0,0 +1,28 @@
+// GET/POST /api/cron/labor-escrow-sweep: drives labor-market escrow cases by the
+// clock (Cloud Scheduler, every 5 minutes).
+//
+// Applies each due time-driven event: a delivery nobody evaluated by attest_by,
+// a bounty past its deadline, a dispute nobody ruled on, and the end of a dispute
+// window (release on pass, refund on fail). Also retries any terminal decision
+// whose payout has not landed, so a failed transfer never strands funds. Every
+// transition is a compare-and-set and every payout is claimed, so an overlapping
+// tick is safe (api/_lib/labor-evaluation.js).
+//
+// Auth: the shared, fail-closed cron gate (api/_lib/cron-auth.js).
+
+import { cors, json, method, wrapCron } from '../_lib/http.js';
+import { requireCron } from '../_lib/cron-auth.js';
+import { sweepCases } from '../_lib/labor-evaluation.js';
+
+export const maxDuration = 300;
+
+export default wrapCron(async (req, res) => {
+ if (cors(req, res, { methods: 'GET,POST,OPTIONS' })) return;
+ if (!method(req, res, ['GET', 'POST'])) return;
+ if (!requireCron(req, res)) return;
+
+ const t0 = Date.now();
+ const summary = await sweepCases();
+ const allFailed = summary.scanned > 0 && summary.failed === summary.scanned;
+ return json(res, allFailed ? 502 : 200, { ok: !allFailed, ms: Date.now() - t0, ...summary });
+}, { maxDurationMs: maxDuration * 1000 });
diff --git a/api/labor/bounty.js b/api/labor/bounty.js
index 6b81dc503..7e7f3660e 100644
--- a/api/labor/bounty.js
+++ b/api/labor/bounty.js
@@ -5,6 +5,8 @@
import { cors, error, json, method, wrap } from '../_lib/http.js';
import { getBounty, listBidsForBounty, getJobByBounty, atomicsToThree, _shapeBounty as shapeBounty } from '../_lib/agent-labor.js';
import { requireUuid } from '../_lib/labor-auth.js';
+import { caseView } from '../_lib/labor-evaluation.js';
+import { getSessionUser, authenticateBearer, extractBearer } from '../_lib/auth.js';
export default wrap(async (req, res) => {
if (cors(req, res, { methods: 'GET,OPTIONS', credentials: true })) return;
@@ -18,12 +20,17 @@ export default wrap(async (req, res) => {
const raw = await getBounty(id);
if (!raw) return error(res, 404, 'not_found', 'bounty not found');
- const [bids, job] = await Promise.all([listBidsForBounty(id), getJobByBounty(id)]);
+ const viewer = (await getSessionUser(req).catch(() => null))?.id
+ || (await authenticateBearer(extractBearer(req)).catch(() => null))?.userId || null;
+ const [bids, job, escrow] = await Promise.all([
+ listBidsForBounty(id), getJobByBounty(id), caseView(id, viewer).catch(() => null),
+ ]);
json(res, 200, {
data: {
bounty: shapeBounty({ ...raw, bid_count: bids.length, poster_name: raw.poster_name }),
bids,
+ escrow,
job: job
? {
id: job.id, status: job.status, worker_agent_id: job.worker_agent_id,
diff --git a/api/labor/deliver.js b/api/labor/deliver.js
index 28466c4c9..ab9bafd27 100644
--- a/api/labor/deliver.js
+++ b/api/labor/deliver.js
@@ -1,13 +1,14 @@
// POST /api/labor/deliver: a worker agent (owned by the caller) submits the
-// deliverable for its awarded job. Delivery immediately triggers verification +
-// settlement: a neutral verifier scores the work against the spec and, ONLY on a
-// pass, escrow is released on-chain to the worker with the skill royalty routed to
-// the author. No human approves; the verdict gates the money.
+// deliverable for its awarded job. Delivery opens evaluation: the bounty's
+// evaluator (platform checker, the hiring agent, or a registry agent) attests
+// pass or fail, the losing side may dispute inside the cooldown, and escrow then
+// releases to the worker (with the skill royalty routed to the author) or refunds
+// the poster. The verdict gates the money, never the caller.
import { cors, error, json, method, readJson, wrap } from '../_lib/http.js';
import { authWrite, loadOwnedAgent, ownershipError, requireUuid } from '../_lib/labor-auth.js';
import { getJob, getBounty, markJobDelivered } from '../_lib/agent-labor.js';
-import { runSettlement } from '../_lib/labor-settle.js';
+import { intakeDelivery, caseView } from '../_lib/labor-evaluation.js';
export default wrap(async (req, res) => {
if (cors(req, res, { methods: 'POST,OPTIONS', credentials: true })) return;
@@ -48,8 +49,10 @@ export default wrap(async (req, res) => {
const delivered = await markJobDelivered(jobId, deliverable);
if (!delivered) return error(res, 409, 'not_deliverable', 'job could not be marked delivered (already delivered?)');
+ // The delivery enters independent evaluation. Money moves when the verdict's
+ // dispute window closes (or immediately on a refund path), never inside this call.
const bounty = await getBounty(job.bounty_id);
- const result = await runSettlement({ job: delivered, bounty });
+ await intakeDelivery({ bounty, job: delivered });
- return json(res, 200, { ok: true, job_id: jobId, settlement: result });
+ return json(res, 200, { ok: true, job_id: jobId, escrow: await caseView(job.bounty_id, userId) });
});
diff --git a/api/labor/escrow.js b/api/labor/escrow.js
new file mode 100644
index 000000000..3bb44ed2d
--- /dev/null
+++ b/api/labor/escrow.js
@@ -0,0 +1,88 @@
+// /api/labor/escrow: the independent-evaluation layer of a labor-market bounty.
+//
+// GET ?bountyId=… the escrow case: state, signed attestation, dispute, the
+// hash-chained transition trail, and what the viewer may do.
+// Public read; the viewer block fills in for a signed-in user.
+// POST action=attest the named evaluator's owner submits pass/fail with a reason
+// code and evidence URL (optionally self-signed).
+// POST action=dispute the losing side disputes inside the dispute window.
+// POST action=cancel the poster withdraws a bounty nobody was awarded.
+// POST action=arbitrate a platform arbiter (admin) rules on a disputed case.
+//
+// No funds move here directly. A decision is recorded on the case and the sweep
+// (api/cron/labor-escrow-sweep.js) or the arbiter's ruling pays it out through the
+// settlement path, exactly once.
+
+import { cors, error, json, method, readJson, wrap } from '../_lib/http.js';
+import { getSessionUser, authenticateBearer, extractBearer } from '../_lib/auth.js';
+import { requireCsrf } from '../_lib/csrf.js';
+import { requireAdmin } from '../_lib/admin.js';
+import { authWrite, requireUuid } from '../_lib/labor-auth.js';
+import { EscrowError } from '../_lib/labor-escrow-machine.js';
+import {
+ caseView, submitAttestation, openDispute, cancelBounty, arbitrate,
+} from '../_lib/labor-evaluation.js';
+
+function escrowError(res, e) {
+ if (e instanceof EscrowError) return error(res, e.status, e.code, e.message);
+ throw e;
+}
+
+async function viewerId(req) {
+ const session = await getSessionUser(req);
+ if (session) return session.id;
+ const bearer = await authenticateBearer(extractBearer(req));
+ return bearer?.userId || null;
+}
+
+export default wrap(async (req, res) => {
+ if (cors(req, res, { methods: 'GET,POST,OPTIONS', credentials: true })) return;
+ if (!method(req, res, ['GET', 'POST'])) return;
+
+ if (req.method === 'GET') {
+ const bountyId = new URL(req.url, 'http://localhost').searchParams.get('bountyId');
+ if (!bountyId) return error(res, 400, 'validation_error', 'bountyId is required');
+ if (!requireUuid(res, bountyId, 'bountyId')) return;
+ const view = await caseView(bountyId, await viewerId(req));
+ if (!view) return error(res, 404, 'not_found', 'this bounty has no escrow case yet');
+ return json(res, 200, { data: view });
+ }
+
+ const body = (await readJson(req)) || {};
+ const { bountyId, action } = body;
+ if (!bountyId) return error(res, 400, 'validation_error', 'bountyId is required');
+ if (!requireUuid(res, bountyId, 'bountyId')) return;
+
+ try {
+ if (action === 'arbitrate') {
+ const admin = await requireAdmin(req, res);
+ if (!admin) return;
+ if (!(await requireCsrf(req, res, admin.id))) return;
+ await arbitrate({
+ bountyId, adminId: admin.id,
+ input: { verdict: body.verdict, reasonCode: body.reasonCode, reasonDetail: body.reasonDetail, evidenceUrl: body.evidenceUrl },
+ });
+ return json(res, 200, { ok: true, data: await caseView(bountyId, admin.id) });
+ }
+
+ const auth = await authWrite(req, res);
+ if (!auth) return;
+
+ if (action === 'attest') {
+ await submitAttestation({
+ bountyId, userId: auth.userId,
+ input: { verdict: body.verdict, reasonCode: body.reasonCode, reasonDetail: body.reasonDetail, evidenceUrl: body.evidenceUrl },
+ signature: body.signature || null, signer: body.signer || null, issuedAt: body.issuedAt || null,
+ });
+ } else if (action === 'dispute') {
+ await openDispute({ bountyId, userId: auth.userId, reason: body.reason, evidenceUrl: body.evidenceUrl });
+ } else if (action === 'cancel') {
+ await cancelBounty({ bountyId, userId: auth.userId });
+ } else {
+ return error(res, 400, 'validation_error', "action must be 'attest', 'dispute', 'cancel' or 'arbitrate'");
+ }
+ return json(res, 200, { ok: true, data: await caseView(bountyId, auth.userId) });
+ } catch (e) {
+ return escrowError(res, e);
+ }
+});
diff --git a/api/labor/post.js b/api/labor/post.js
index 4a1471bda..b141ccebd 100644
--- a/api/labor/post.js
+++ b/api/labor/post.js
@@ -21,6 +21,8 @@ import {
import { escrowConfigured, escrowAddressOrNull, fundEscrow } from '../_lib/labor-escrow.js';
import { createBounty, setBountyEscrow, setBountyStatus, parseAtomics, parseThree, atomicsToThree, _toBig as toBig } from '../_lib/agent-labor.js';
import { runAutopilot } from '../_lib/labor-settle.js';
+import { EscrowError, normalizeEvaluator, normalizeDisputeWindow } from '../_lib/labor-escrow-machine.js';
+import { ensureCase } from '../_lib/labor-evaluation.js';
export default wrap(async (req, res) => {
if (cors(req, res, { methods: 'POST,OPTIONS', credentials: true })) return;
@@ -61,6 +63,30 @@ export default wrap(async (req, res) => {
deadlineIso = at.toISOString();
}
+ // Who judges the delivery and how long the losing side may dispute. Validated
+ // before any money moves; stored on the bounty and read when its case opens.
+ let escrowCfg;
+ try {
+ const evaluator = normalizeEvaluator(body.evaluator, { posterAgentId });
+ if (evaluator.kind === 'agent') {
+ if (!requireUuid(res, evaluator.agentId, 'evaluator.agentId')) return;
+ const [reg] = await sql`SELECT meta FROM agent_identities WHERE id = ${evaluator.agentId} AND deleted_at IS NULL`;
+ if (!reg?.meta?.solana_address) {
+ return error(res, 400, 'bad_evaluator', 'the evaluator agent does not exist or has no Solana wallet to sign with');
+ }
+ if (evaluator.agentId === posterAgentId) {
+ return error(res, 400, 'bad_evaluator', "use evaluator 'poster' to judge your own bounty");
+ }
+ }
+ escrowCfg = {
+ evaluator: evaluator.kind === 'agent' ? { kind: 'agent', agentId: evaluator.agentId } : evaluator.kind,
+ dispute_window_seconds: normalizeDisputeWindow(body.disputeWindowSeconds),
+ };
+ } catch (e) {
+ if (e instanceof EscrowError) return error(res, e.status, e.code, e.message);
+ throw e;
+ }
+
if (!escrowConfigured()) {
return error(res, 503, 'escrow_unavailable', 'the labor-market escrow wallet is not configured on this server');
}
@@ -89,7 +115,7 @@ export default wrap(async (req, res) => {
posterAgentId, posterUserId: userId, title: title.trim(), spec: spec.trim(),
requiredSkill: requiredSkill ? String(requiredSkill).slice(0, 80) : null,
rewardAtomics: reward, deadline: deadlineIso, auto: false,
- meta: { reward_usd_at_post: usd },
+ meta: { reward_usd_at_post: usd, escrow: escrowCfg },
});
// Reserve the spend against the poster's spend policy BEFORE moving funds.
@@ -129,6 +155,10 @@ export default wrap(async (req, res) => {
const escrowAddress = escrowAddressOrNull();
const funded = await setBountyEscrow(bounty.id, { escrowAddress, escrowFundSig: fundSig });
+ // Open the escrow case now that the money is in. A failure here cannot lose the
+ // bounty: the case is opened again at award or delivery.
+ await ensureCase(funded).catch((e) => console.error('[labor/post] escrow case not opened yet', e?.message));
+
// Kick the autonomy engine: collect auto-bids and, if the poster auto-awards,
// run the job through to settlement. Bounded; failures leave a resumable state.
const autopilot = await runAutopilot(bounty.id).catch((e) => {
@@ -151,6 +181,7 @@ export default wrap(async (req, res) => {
escrow_fund_sig: final.escrow_fund_sig,
escrow_explorer: final.escrow_fund_sig ? `https://solscan.io/tx/${final.escrow_fund_sig}` : null,
bid_count: Number(final.bid_count || 0), award_rationale: final.award_rationale || null,
+ evaluator: escrowCfg.evaluator, dispute_window_seconds: escrowCfg.dispute_window_seconds,
},
autopilot: autopilot || { bids: 0, awarded: false, settled: null },
});
diff --git a/api/labor/release.js b/api/labor/release.js
index a9bde9b8e..f042f8e48 100644
--- a/api/labor/release.js
+++ b/api/labor/release.js
@@ -10,32 +10,22 @@
// action: 'release' → pay the awarded worker (+ skill royalty + poster surplus)
// action: 'refund' → return the full reward to the poster (no worker blame)
//
-// Both reuse runSettlement with a forced verdict, so every payout leg, the
-// settle_key idempotency guard (a retry never double-pays), and the on-chain
-// invocation receipt are identical to the autonomous path. An open bounty with
-// no awarded worker can only be refunded.
+// Both are an override transition on the bounty's escrow case (so they appear in
+// its audit trail) and pay out through the same once-only settlement path as the
+// autonomous flow: every payout leg, the settle_key idempotency guard (a retry
+// never double-pays) and the on-chain invocation receipt are identical. An open
+// bounty with no awarded worker can only be refunded.
import { cors, error, json, method, readJson, wrap } from '../_lib/http.js';
import { requireCsrf } from '../_lib/csrf.js';
import { requireAdmin, isAdminRequest } from '../_lib/admin.js';
import { requireUuid } from '../_lib/labor-auth.js';
-import {
- getBounty, getJobByBounty, getJob, markJobDelivered, setBountyStatus,
- atomicsToThree, _toBig as toBig,
-} from '../_lib/agent-labor.js';
-import { runSettlement } from '../_lib/labor-settle.js';
-import { payFromEscrow, ensureEscrowGas } from '../_lib/labor-escrow.js';
-import { emitReasoning } from '../_lib/labor-match.js';
-import { sql } from '../_lib/db.js';
+import { getBounty, getJobByBounty } from '../_lib/agent-labor.js';
+import { EscrowError } from '../_lib/labor-escrow-machine.js';
+import { moderatorOverride, caseView } from '../_lib/labor-evaluation.js';
const TERMINAL = new Set(['settled', 'failed', 'refunded', 'cancelled']);
-async function posterSolanaAddress(bounty) {
- const [row] = await sql`
- SELECT meta FROM agent_identities WHERE id = ${bounty.poster_agent_id} AND deleted_at IS NULL`;
- return row?.meta?.solana_address || null;
-}
-
export default wrap(async (req, res) => {
if (cors(req, res, { methods: 'GET,POST,OPTIONS', credentials: true })) return;
@@ -66,47 +56,25 @@ export default wrap(async (req, res) => {
if (!bounty.escrow_fund_sig) return error(res, 409, 'no_escrow', 'this bounty has no funded escrow to move');
const moderator = { admin_id: admin.id, wallet: admin.wallet_address || null, reason: typeof body.reason === 'string' ? body.reason.slice(0, 280) : null };
- let job = await getJobByBounty(bountyId);
-
- // Open bounty (escrow funded, no worker awarded): only a refund makes sense.
- if (!job) {
- if (action === 'release') return error(res, 409, 'no_worker', 'no worker has been awarded, so only refund is available');
- await ensureEscrowGas().catch(() => {});
- const to = await posterSolanaAddress(bounty);
- if (!to) return error(res, 409, 'no_poster_wallet', 'poster has no Solana wallet to refund to');
- let refundSig;
- try {
- refundSig = await payFromEscrow({ toAddress: to, amountAtomics: toBig(bounty.reward_atomics) });
- } catch (e) {
- return error(res, 502, 'refund_failed', `escrow refund did not land, no $THREE moved: ${e?.message || 'transfer failed'}`);
- }
- await setBountyStatus(bounty.id, 'refunded', { refundSig });
- emitReasoning({
- agentId: bounty.poster_agent_id, kind: 'labor.moderator_refund',
- summary: `Moderator refunded "${bounty.title}" (no worker awarded)`,
- detail: { bounty_id: bounty.id, moderator, refund_sig: refundSig },
- });
- return json(res, 200, {
- ok: true, action, status: 'refunded', moderator, settled: false,
- refund_sig: refundSig, refund_three: atomicsToThree(bounty.reward_atomics),
- explorer: refundSig ? `https://solscan.io/tx/${refundSig}` : null,
- });
+ if (action === 'release' && !(await getJobByBounty(bountyId))) {
+ return error(res, 409, 'no_worker', 'no worker has been awarded, so only refund is available');
}
- // Awarded job: the shared settlement path only claims 'delivered'/'verifying'
- // jobs, so flip a still-'working' job to delivered (moderator override) first.
- if (job.status === 'working') {
- const delivered = await markJobDelivered(job.id, { moderator_override: true, action, by: moderator });
- job = delivered || (await getJob(job.id));
+ // The override is a transition on the bounty's escrow case, so it lands in the
+ // same audit trail as every other decision, and the payout runs through the same
+ // once-only settlement path.
+ let result;
+ try {
+ result = await moderatorOverride({ bountyId, adminId: admin.id, action, reason: moderator.reason });
+ } catch (e) {
+ if (e instanceof EscrowError) return error(res, e.status, e.code, e.message);
+ throw e;
}
-
- const verdict = {
- pass: action === 'release',
- score: action === 'release' ? 1 : 0,
- reason: `moderator ${action} by ${moderator.wallet || moderator.admin_id}${moderator.reason ? `: ${moderator.reason}` : ''}`,
- moderator,
- };
-
- const result = await runSettlement({ job, bounty, verdict });
- return json(res, 200, { ok: true, action, moderator, ...result });
+ const view = await caseView(bountyId, admin.id);
+ return json(res, 200, {
+ ok: true, action, moderator, status: view?.state, settled: action === 'release' && !!view?.paid_at,
+ paid: !!result?.paid_at, settle_sig: view?.settle_sig || null,
+ explorer: view?.settle_sig ? `https://solscan.io/tx/${view.settle_sig}` : null,
+ escrow: view,
+ });
});
diff --git a/api/labor/settle.js b/api/labor/settle.js
index 94db98c51..5ee821535 100644
--- a/api/labor/settle.js
+++ b/api/labor/settle.js
@@ -1,14 +1,14 @@
-// POST /api/labor/settle: verify a delivered job and release escrow on-chain.
-// Idempotent (job settle_key): a retry never double-pays. Callable by either
-// participant (poster or worker owner) so a stuck-but-delivered job can always be
-// resolved; the neutral verifier, not the caller, decides whether funds release.
+// POST /api/labor/settle: push a delivered job into evaluation. Idempotent, and
+// callable by either participant (poster or worker owner) so a stuck-but-delivered
+// job can always be advanced; the evaluator's verdict, not the caller, decides
+// whether funds release, and they move only when the dispute window closes.
import { cors, error, json, method, readJson, wrap } from '../_lib/http.js';
import { sql } from '../_lib/db.js';
import { requireRealFundsAgreement } from '../_lib/real-funds-agreement.js';
import { authWrite, requireUuid } from '../_lib/labor-auth.js';
import { getJob, getJobByBounty, getBounty } from '../_lib/agent-labor.js';
-import { runSettlement } from '../_lib/labor-settle.js';
+import { intakeDelivery, caseView } from '../_lib/labor-evaluation.js';
// Which side of the job the caller owns: { poster, worker }.
async function ownedSides(userId, posterAgentId, workerAgentId) {
@@ -54,7 +54,9 @@ export default wrap(async (req, res) => {
// to get paid is not.
if (sides.poster && !sides.worker && !(await requireRealFundsAgreement(req, res, { userId, context: 'labor-settle' }))) return;
+ // Nudge a delivered job into evaluation (idempotent). Funds move when the case
+ // reaches its verdict and its dispute window closes, not on this call.
const bounty = await getBounty(job.bounty_id);
- const result = await runSettlement({ job, bounty });
- return json(res, 200, { ok: true, job_id: job.id, settlement: result });
+ await intakeDelivery({ bounty, job });
+ return json(res, 200, { ok: true, job_id: job.id, escrow: await caseView(job.bounty_id, userId) });
});
diff --git a/api/labor/tick.js b/api/labor/tick.js
index 3a44fd734..90972913e 100644
--- a/api/labor/tick.js
+++ b/api/labor/tick.js
@@ -3,7 +3,8 @@
// • open bounties that already drew bids (auto-award if the poster opted in)
// • recently posted bounties nobody has bid on yet (retry the auto-bid sweep)
// • working jobs with an autonomous worker (perform, verify, settle)
-// • delivered/verifying jobs (settle now)
+// • delivered jobs that never entered evaluation (open their escrow case; the
+// labor-escrow-sweep cron owns every case from then on)
// Authenticated with the Vercel cron Bearer secret. No-op (503) if unset.
//
// Every scan below is capped at BATCH so a tick stays inside its budget, and each
@@ -39,7 +40,9 @@
import { json, method, wrap } from '../_lib/http.js';
import { sql } from '../_lib/db.js';
import { ensureLaborTables, getBounty, getJob } from '../_lib/agent-labor.js';
-import { runAutopilot, runSettlement } from '../_lib/labor-settle.js';
+import { runAutopilot } from '../_lib/labor-settle.js';
+import { intakeDelivery } from '../_lib/labor-evaluation.js';
+import { ensureEscrowTables } from '../_lib/labor-escrow-ledger.js';
import { requireCron } from '../_lib/cron-auth.js';
const BATCH = 10;
@@ -54,6 +57,7 @@ export default wrap(async (req, res) => {
if (!requireCron(req, res)) return;
await ensureLaborTables();
+ await ensureEscrowTables();
const openBounties = await sql`
WITH candidates AS (
@@ -84,7 +88,9 @@ export default wrap(async (req, res) => {
SELECT j.id, j.bounty_id, j.status FROM agent_jobs j
WHERE j.created_at < now() - interval '15 seconds'
AND (
- j.status IN ('delivered','verifying')
+ (j.status IN ('delivered','verifying') AND NOT EXISTS (
+ SELECT 1 FROM labor_escrow_cases c
+ WHERE c.bounty_id = j.bounty_id AND c.state <> 'working' AND c.state <> 'funded'))
OR (j.status = 'working' AND EXISTS (
SELECT 1 FROM agent_labor_policies wp
WHERE wp.agent_id = j.worker_agent_id AND wp.worker_enabled))
@@ -138,10 +144,10 @@ export default wrap(async (req, res) => {
if (!bounty) continue;
const full = await getJob(j.id);
if (!full) continue;
- // A settle another caller already claimed comes back idempotent. Counting
- // it would report someone else's payout as this tick's work.
- const r = await runSettlement({ job: full, bounty });
- if (r?.status === 'settled' && !r.idempotent) results.settled++;
+ // Enter evaluation. Once a case is past 'working' the escrow sweep owns the
+ // job (its verdict, dispute window and payout), so this lane only ever
+ // carries deliveries that never reached a case.
+ await intakeDelivery({ bounty, job: full });
} catch (err) {
note(`job ${j.id}`, err);
}
diff --git a/data/changelog.json b/data/changelog.json
index 12c84997d..4c24eb93a 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,24 @@
{
"$comment": "Curated changelog entries for three.ws, the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security, desktop (desktop entries become the desktop app's release notes). `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-10-23",
+ "title": "KOL tracker shows follower counts without an X API key, and the Oracle reads KOL timelines",
+ "summary": "A keyless X reader now backs the tracker when the paid API is unset or rate limited, so attached KOLs keep their follower counts. The Oracle also reads tracked timelines every 10 minutes to feed its social virality signal, and each coin's own linked X account age and followers now appear in its intel.",
+ "tags": [
+ "feature"
+ ],
+ "link": "/tracker"
+ },
+ {
+ "date": "2026-10-23",
+ "title": "Robinhood Chain launches now show every venue, the deployer's track record and a dev-sold flag",
+ "summary": "The launches board stopped watching NOXA, which shut down in July, and now finds launches on every venue seen on chain. Each row names the launchpad, shows how many earlier tokens the deployer launched and how many it sold out of, and flags launches where the dev has already sold.",
+ "tags": [
+ "feature"
+ ],
+ "link": "/markets/robinhood"
+ },
{
"date": "2026-10-23",
"title": "Flappin UFO is back at /play/ufo with a verified leaderboard and a ghost of the top run",
@@ -10,6 +28,16 @@
],
"link": "/play/ufo"
},
+ {
+ "date": "2026-10-23",
+ "title": "Agent memory now learns from trade results, and the decision trail has a verify endpoint",
+ "summary": "When a snipe closes, its realized P&L, win or loss and hold time are written back onto the memories the agent recalled when it opened the trade. Recall then ranks those memories by a bounded outcome weight (0.65 to 1.35, halving every 45 days, never zero), so lessons from winners rise while memories tied to losses sink but still come back as warnings. Every recall hit now reports its rankScore and an outcome block with the weight, wins, losses and net USD so you can see why it ranked. The hash-chained decision trail can be re-walked at GET /api/agents/:id/decision-trail/verify, which returns ok, the head hash and the zero-based index of the first broken row after any edit. The reasoning ledger page now fetches it and links to it from the verified badge.",
+ "tags": [
+ "feature",
+ "improvement"
+ ],
+ "link": "/reasoning-ledger"
+ },
{
"date": "2026-10-23",
"title": "Leaked-wallet rescue runbook with a dry run, and live Jito tip accounts",
@@ -31050,4 +31078,4 @@
]
}
]
-}
+}
\ No newline at end of file
diff --git a/docs/build.md b/docs/build.md
index 0b6c3ff41..3634eb6c3 100644
--- a/docs/build.md
+++ b/docs/build.md
@@ -47,7 +47,7 @@ front-end, the `vercel.json` route table, and every `api/**` handler from source
provisioned from the `crons` array in `vercel.json` by
[scripts/create-gcp-scheduler.mjs](../scripts/create-gcp-scheduler.mjs); that
array is the count, so read it there rather than trusting a number quoted here
-(139 entries on 2026-10-10). There is **no GitHub Actions CI**. Full runbook: [docs/ops/gcp-production.md](./ops/gcp-production.md).
+(145 entries on 2026-10-23). There is **no GitHub Actions CI**. Full runbook: [docs/ops/gcp-production.md](./ops/gcp-production.md).
`.npmrc` sets `legacy-peer-deps=true` (npm never auto-installs peers — the
reason `audit:deploy` checks the peer tree), and `engines.node` pins Node
diff --git a/docs/kol-tracker.md b/docs/kol-tracker.md
index 71a6ac754..263978674 100644
--- a/docs/kol-tracker.md
+++ b/docs/kol-tracker.md
@@ -42,7 +42,7 @@ If every source is unreachable the tracker returns an empty array and the page s
- **kolscan.io** supplies the live wallet universe and the fallback P&L per window. Trader names it publishes are deliberately dropped; the schema stays address-keyed.
- **Helius** enhanced transactions back the per-mint trade feed (`/api/kol/trades`).
- **Birdeye** backs the holdings half of the portfolio proxy (`/api/kol/wallets`); its P&L half is computed in-house from on-chain trades.
-- **The X API** supplies follower counts and avatars, only for admin-verified handles.
+- **X** supplies follower counts and avatars, only for admin-verified handles. Rung 1 is the X API v2 (needs `TWITTER_BEARER_TOKEN`). Rung 2 is the keyless guest reader in [api/_lib/x-guest/](../api/_lib/x-guest/README.md), used when the bearer is unset or rate limited, so the board shows followers with no key. Each result names its `source` (`x-api` or `x-guest`).
Each integration degrades honestly: a missing key or an upstream outage yields an empty or null field (and, for `/api/kol/trades`, an explicit error when the whole provider is down), never a fabricated or zeroed row that looks like real data.
diff --git a/docs/mcp.md b/docs/mcp.md
index d856c0775..a7b5a30a8 100644
--- a/docs/mcp.md
+++ b/docs/mcp.md
@@ -181,6 +181,28 @@ Deep dives — every tool, argument, env var, and example:
---
+## Trust grades
+
+Every server in the [MCP tools catalog](./mcp-tools.md) carries a 0-100 trust score and an A to F grade, so a visitor can tell a polished, documented, published server from a stub. `npm run build:mcp-catalog` computes them from facts this repository can check mechanically (`scripts/lib/mcp-trust.mjs`) and stores the grade with its full breakdown under `servers[].trust` in `public/mcp-catalog.json`. `/mcp-tools` shows the grade beside each server in the server table; hover or focus the badge for the breakdown, and click the Trust header to sort.
+
+| Fact | Weight | Earned when |
+|---|---|---|
+| Tools | 15 | The server declares at least one tool |
+| Tool docs | 5 | Every tool has a description |
+| Safety annotations | 15 | Every tool carries `readOnlyHint`, and every non-read-only tool carries `destructiveHint` (the `audit:mcp-safety` gate checks that the values are right) |
+| Distribution | 15 | npm server: `package.json` is public with `publishConfig.access=public`. Hosted server: its handler file is mounted |
+| Registry | 10 | npm server: `server.json` matches `package.json` name and version. Hosted server: a `server.json` lists its URL as a remote |
+| README | 10 | npm server: `README.md` in the package. Hosted server: a guide in `docs/` |
+| License | 10 | A `LICENSE` file ships with the package, or at the repo root for hosted servers |
+| Tests | 5 | npm server: a test file in the package. Hosted server: a test under `tests/` references its handler |
+| Prompts | 5 | The server declares prompts |
+| Resources | 5 | The server declares resources or resource templates |
+| Glama | 5 | `glama.json` lists maintainers (the claim is repository-wide) |
+
+Grades: A is 85 and up, B 70, C 50, D 30, F below 30.
+
+The build stays offline-safe, so the rubric scores local evidence that a server is ready to publish. It does not call npm, the registry, or the hosted endpoints; whether a published version is actually live is tracked by the registry sentinel, not by this score.
+
## Authentication
### OAuth 2.1 (recommended for Claude Desktop / Claude Code)
diff --git a/docs/oracle.md b/docs/oracle.md
index 6362cea37..876fd90cb 100644
--- a/docs/oracle.md
+++ b/docs/oracle.md
@@ -316,7 +316,7 @@ GET https://three.ws/api/oracle/trades?mint=<mint>
- Realized calibration per conviction band at `/api/oracle/calibration`: the fleet's actual win rate from real fills, next to what the band predicted, plus the bounded correction factor the scorer applies.
- A dynamic 1200x630 OpenGraph conviction card (SVG) for sharing a coin at `/api/oracle/og`. Its live market cap reads pump.fun first (with one retry, honouring `Retry-After`) and falls through to the shared multi-source market reader (Birdeye, DexScreener, GeckoTerminal) when pump.fun does not answer.
-The write endpoints. Two are auth-scoped to the agent's owner: `GET·POST /api/oracle/watch` reads or arms an agent's watch config with server-side validation clamping every limit, and `POST /api/oracle/test-alert` sends a test alert. The clamps only ever move a number toward safety: a size above the ceiling is lowered, but arming `mode: "live"` with a `per_trade_sol` under the 0.001 SOL floor, or a `max_daily_sol` smaller than one trade, is a 400 rather than a silent round-up into real spending. Moving a mainnet watch into live-armed also requires the account's signed real-funds agreements (Terms of Service, Risk Disclosure, Agent Wallet Agreement); without them the arm is refused with a 403 that links to `/legal/agreements` (see [Risk acknowledgment](risk-acknowledgment.md)). Re-saving an already live-armed watch, simulate mode, devnet, and disarming are not gated. Simulate runs keep the forgiving clamps. Two are public and IP rate-limited instead: `POST·DELETE /api/oracle/follow` subscribes a Telegram chat to an agent's signals (the chat id the caller supplies is the identity, so there is no session to scope to), and `POST /api/oracle/social` ingests tweets to additively boost virality (never downgrades an LLM read).
+The write endpoints. Two are auth-scoped to the agent's owner: `GET·POST /api/oracle/watch` reads or arms an agent's watch config with server-side validation clamping every limit, and `POST /api/oracle/test-alert` sends a test alert. The clamps only ever move a number toward safety: a size above the ceiling is lowered, but arming `mode: "live"` with a `per_trade_sol` under the 0.001 SOL floor, or a `max_daily_sol` smaller than one trade, is a 400 rather than a silent round-up into real spending. Moving a mainnet watch into live-armed also requires the account's signed real-funds agreements (Terms of Service, Risk Disclosure, Agent Wallet Agreement); without them the arm is refused with a 403 that links to `/legal/agreements` (see [Risk acknowledgment](risk-acknowledgment.md)). Re-saving an already live-armed watch, simulate mode, devnet, and disarming are not gated. Simulate runs keep the forgiving clamps. Two are public and IP rate-limited instead: `POST·DELETE /api/oracle/follow` subscribes a Telegram chat to an agent's signals (the chat id the caller supplies is the identity, so there is no session to scope to), and `POST /api/oracle/social` ingests tweets to additively boost virality (never downgrades an LLM read). The `oracle-social-ingest` cron (every 10 minutes) feeds it: it reads the timelines of tracked KOL handles through the keyless guest reader ([api/_lib/x-guest/](../api/_lib/x-guest/README.md)), keeps tweets with a cashtag from the last 24h, and POSTs them. Separately, each scored coin's own linked X account contributes `social.xAccount` (handle, age in days, followers) to the intel; this is a context feature and is not an input to the fitted model until a refit includes it.
### Through MCP
diff --git a/package.json b/package.json
index 074304588..fd837f901 100644
--- a/package.json
+++ b/package.json
@@ -1 +1,786 @@
-{"name":"shadow","type":"module","private":true,"dependencies":{"acorn":"^8.19.0"}}
\ No newline at end of file
+{
+ "private": true,
+ "type": "module",
+ "version": "1.5.2",
+ "name": "3d-agent",
+ "description": "three.ws \u2014 build, animate, rig, and monetize 3D AI agents on-chain. Three.js web app, SDKs, MCP servers, and x402 payment rails.",
+ "author": "nirholas",
+ "license": "Apache-2.0",
+ "homepage": "https://three.ws",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/nirholas/three.ws.git"
+ },
+ "bugs": {
+ "url": "https://github.com/nirholas/three.ws/issues"
+ },
+ "overrides": {
+ "serialize-javascript": ">=7.0.5",
+ "@esbuild-plugins/node-globals-polyfill": "^0.2.0",
+ "axios": "^1.20.0",
+ "ws": "^8.21.0",
+ "@ethersproject/providers": {
+ "ws": "^8.21.0"
+ },
+ "hardhat": {
+ "undici": "^6.29.0"
+ },
+ "@ethereum-attestation-service/eas-sdk": {
+ "undici": "^6.29.0"
+ },
+ "miniflare": {
+ "undici": "^7.30.0"
+ },
+ "solc": {
+ "tmp": "^0.2.7"
+ },
+ "ethjs-unit": {
+ "bn.js": "^4.12.4"
+ },
+ "number-to-bn": {
+ "bn.js": "^4.12.4"
+ },
+ "@sentry/node": {
+ "cookie": "^0.7.2"
+ },
+ "protobufjs": "^7.6.5",
+ "proxy-addr": "^2.0.8",
+ "@vercel/og": {
+ "sharp": "^0.35.5"
+ }
+ },
+ "engines": {
+ "node": "24.x"
+ },
+ "keywords": [
+ "3d-agent",
+ "ai-agents",
+ "3d-viewer",
+ "gltf-viewer",
+ "glb-viewer",
+ "webgl",
+ "threejs",
+ "avatar",
+ "solana",
+ "mcp",
+ "x402",
+ "onchain"
+ ],
+ "workspaces": [
+ "agent-payments-sdk",
+ "agent-ui-sdk",
+ "avatar-sdk",
+ "page-agent-sdk",
+ "character-studio",
+ "mcp-bridge",
+ "mcp-server",
+ "multiplayer",
+ "services/liquidation-collector",
+ "services/pump-claims",
+ "packages/avatar-schema",
+ "packages/mcp-policy",
+ "packages/avatar-cli",
+ "packages/assets-cli",
+ "packages/three-ws-cli",
+ "packages/agent-cli",
+ "packages/defi-utils",
+ "packages/hood-portfolios-sdk",
+ "packages/viewer-presets",
+ "packages/avatar-agent-mcp",
+ "packages/pumpfun-mcp",
+ "packages/ibm-watsonx-mcp",
+ "packages/ibm-x402-mcp",
+ "packages/three-token-mcp",
+ "packages/threews-avatar-mcp",
+ "packages/scene-mcp",
+ "packages/assistant-mcp",
+ "packages/vanity-mcp",
+ "packages/naming-mcp",
+ "packages/intel-mcp",
+ "packages/marketplace-mcp",
+ "packages/x402-mcp",
+ "packages/metaplex-agent-mcp",
+ "packages/agent-sniper",
+ "packages/provenance-mcp",
+ "packages/autopilot-mcp",
+ "packages/portfolio-mcp",
+ "packages/copy-mcp",
+ "packages/signals-mcp",
+ "packages/alerts-mcp",
+ "packages/notifications-mcp",
+ "packages/billing-mcp",
+ "packages/agentcore-payments-mcp",
+ "packages/activity-mcp",
+ "packages/agenc-mcp",
+ "packages/agora-mcp",
+ "packages/vision-mcp",
+ "packages/solana-memo-media-mcp",
+ "packages/brain-mcp",
+ "packages/audio-mcp",
+ "packages/kol-mcp",
+ "packages/clash-mcp",
+ "packages/tutor-mcp",
+ "packages/loom-mcp",
+ "packages/companion-sdk",
+ "walk-sdk",
+ "tour-sdk",
+ "packages/alibaba-cloud-mcp",
+ "packages/motion",
+ "packages/tool-sdk",
+ "packages/spatial-mcp",
+ "packages/agent-runtime",
+ "packages/render",
+ "packages/glb-diff",
+ "packages/witness",
+ "packages/portal",
+ "packages/tty-avatar",
+ "packages/home-bridge",
+ "packages/home-mcp",
+ "packages/blender-mcp",
+ "packages/ai-sdk",
+ "packages/langchain",
+ "packages/wallet-linkage",
+ "packages/skill-import"
+ ],
+ "main": "src/app.js",
+ "browserslist": [
+ ">1%",
+ "not dead"
+ ],
+ "staticFiles": {
+ "staticPath": [
+ {
+ "staticPath": "assets",
+ "staticOutDir": "assets"
+ }
+ ]
+ },
+ "scripts": {
+ "postinstall": "(node scripts/build-cache.mjs check agent-payments-sdk agent-payments-sdk/src agent-payments-sdk/package.json || (npm run build --prefix agent-payments-sdk && node scripts/build-cache.mjs stamp agent-payments-sdk agent-payments-sdk/src agent-payments-sdk/package.json)) && (node scripts/build-cache.mjs check solana-agent-sdk solana-agent-sdk/src solana-agent-sdk/package.json || (npm run build:dist --prefix solana-agent-sdk && node scripts/build-cache.mjs stamp solana-agent-sdk solana-agent-sdk/src solana-agent-sdk/package.json)) && (node scripts/build-cache.mjs check walk-sdk walk-sdk/src walk-sdk/package.json || (npm run build --prefix walk-sdk && node scripts/build-cache.mjs stamp walk-sdk walk-sdk/src walk-sdk/package.json)) && (node scripts/fix-pump-sdk-esm.mjs & node scripts/fix-x402-extensions-esm.mjs & node scripts/fix-zauth-sdk-solana-esm.mjs & node scripts/fix-colyseus-storage.mjs & node scripts/fix-colyseus-send.mjs & node scripts/fix-rapier-init-warning.mjs & node scripts/copy-three-decoders.mjs & node scripts/copy-voice-models.mjs & node scripts/setup-claude-skills.mjs & node scripts/setup-git-hooks.mjs & node scripts/build-docs-search-index.mjs & wait)",
+ "setup": "node scripts/setup-dev.mjs",
+ "dev": "vite --port 3000",
+ "dev:multi": "npm run dev --prefix multiplayer",
+ "dev:walk-all": "node scripts/dev-walk-all.mjs",
+ "demo:agent-wallet-bridge": "node scripts/agent-wallet-x402-bridge.mjs",
+ "dev:lib": "TARGET=lib vite",
+ "presence": "node scripts/three-ws-presence.mjs",
+ "build:examples": "node scripts/build-examples-index.mjs && node scripts/mirror-examples-index.mjs && node scripts/build-hosted-examples.mjs",
+ "build:docs-search": "node scripts/build-docs-search-index.mjs",
+ "check:docs-search": "node scripts/build-docs-search-index.mjs --check",
+ "build:globe-geometry": "node scripts/build-globe-geometry.mjs",
+ "build:pages": "node scripts/build-community-registry.mjs && node scripts/build-page-index.mjs && node scripts/i18n-annotate.mjs --apply --no-wire --pages=\"public/sitemap/index.html\"",
+ "build:community-skills": "node scripts/build-community-registry.mjs",
+ "check:community-skills": "node scripts/build-community-registry.mjs --check",
+ "sync:community-skills": "node scripts/sync-community-skills.mjs",
+ "build:prompt-library": "node scripts/build-prompt-library.mjs",
+ "check:prompt-library": "node scripts/build-prompt-library.mjs --check",
+ "hood:universe": "node scripts/build-hood-portfolios-universe.mjs --verbose",
+ "ship": "node packages/shipfeed/bin/shipfeed.mjs --local --changelog data/changelog.json --site https://three.ws",
+ "build:guards": "node scripts/build-guards.mjs",
+ "build:tour-atlas": "node scripts/build-tour-atlas.mjs",
+ "build:tour-global": "node scripts/sync-tour-global.mjs",
+ "tour:atlas": "node scripts/capture-tour-atlas.mjs",
+ "tour:atlas:health": "node scripts/capture-tour-atlas.mjs --health",
+ "build:discovery": "node scripts/build-discovery-cards.mjs",
+ "build:openai-cards": "node scripts/render-openai-social-cards.mjs",
+ "build:brand-assets": "node scripts/render-brand-assets.mjs",
+ "build:wordmark": "node scripts/render-wordmark.mjs",
+ "build:play-assets": "node scripts/render-play-assets.mjs",
+ "build:x-grid": "node scripts/make-x-grid.mjs",
+ "build:x-strip": "node scripts/make-x-strip.mjs",
+ "build:dapp-store-media": "node solana-mobile/scripts/make-media.mjs",
+ "build:dapp-store-previews": "node solana-mobile/scripts/make-screenshots.mjs",
+ "seeker:screencast": "node solana-mobile/scripts/make-screencast.mjs",
+ "seeker:feature-tour": "node solana-mobile/scripts/make-feature-tour.mjs --authed",
+ "seeker:launch:cuts": "node marketing/seeker-launch/make-cuts.mjs",
+ "demo:video": "node scripts/make-product-demo.mjs --authed",
+ "demo:video:highlights": "node scripts/make-product-demo.mjs --authed --route=highlights",
+ "render:pumpfun-verified": "node scripts/render-pumpfun-verified.mjs",
+ "render:dextools-card": "node scripts/render-pumpfun-verified.mjs --set=dextools",
+ "build:ibm-shell": "node scripts/build-ibm-shell.mjs",
+ "i18n": "npm run i18n:extract && npm run i18n:translate",
+ "i18n:annotate": "node scripts/i18n-annotate.mjs",
+ "i18n:extract": "node scripts/i18n-extract.mjs",
+ "i18n:translate": "node scripts/i18n-translate.mjs",
+ "i18n:home": "node scripts/i18n-home-keys.mjs",
+ "i18n:lint": "node scripts/i18n-translate.mjs --lint",
+ "i18n:prune": "node scripts/i18n-translate.mjs --prune",
+ "i18n:repair": "node scripts/i18n-translate.mjs --repair",
+ "i18n:backfill": "node scripts/i18n-backfill.mjs",
+ "changelog:gaps": "node scripts/changelog-gaps.mjs",
+ "announce:rank": "node scripts/announce-rank.mjs",
+ "announce:plan": "node scripts/announce-plan.mjs",
+ "announce:kit": "node scripts/announce-kit.mjs",
+ "announce:media": "node scripts/capture-doc-media.mjs --spec data/announce-media.json --out public/announce/img --manifest public/announce/media-manifest.json",
+ "check:announce": "node scripts/check-announce.mjs",
+ "x:content": "node scripts/x-content.mjs",
+ "x:content:check": "node scripts/x-content.mjs check",
+ "x:content:plan": "node scripts/x-content.mjs plan",
+ "x:outcomes": "node scripts/x-outcomes.mjs",
+ "x:partners": "node scripts/x-partners.mjs",
+ "x:bundle": "node scripts/x-bundle.mjs",
+ "changelog:push": "node scripts/changelog-telegram.mjs",
+ "changelog:push:x": "node scripts/changelog-x.mjs",
+ "tweet": "node scripts/post-tweet.mjs",
+ "x:archive:import": "node scripts/x-archive-import.mjs",
+ "x:archive:refresh": "node scripts/x-archive-refresh.mjs",
+ "x:archive:analyze": "node scripts/x-archive-analyze.mjs",
+ "x:articles:pull": "node scripts/x-articles-pull.mjs",
+ "x:volume": "node scripts/x-volume-study.mjs",
+ "audit:deploy": "node scripts/audit-deploy-artifacts.mjs",
+ "audit:agent-operability": "node scripts/audit-agent-operability.mjs",
+ "guard:esbuild": "node scripts/guard-esbuild-bundles.mjs",
+ "guard:esbuild:all": "node scripts/guard-esbuild-bundles.mjs --all",
+ "verify:solana": "node scripts/verify-solana-parity.mjs",
+ "verify:onchain": "node scripts/verify-onchain-parity.mjs",
+ "x402:probe": "node scripts/probe-x402-live.mjs",
+ "verify:x402": "node scripts/build-x402-catalog.mjs --out=/tmp/x402-catalog.json && node scripts/verify-x402-discovery.mjs --file=/tmp/x402-catalog.json",
+ "smoke:x402-facilitator": "node scripts/x402-facilitator-smoke-test.mjs",
+ "preview:x402scan-registration": "node scripts/x402scan-registration-gap.mjs",
+ "smoke:onchain": "node scripts/onchain-smoke.mjs",
+ "smoke:onchain:ci": "node scripts/onchain-smoke.mjs --only=parity",
+ "smoke:agent-wallet": "node scripts/agent-wallet-smoke.mjs",
+ "audit:mcp": "node scripts/audit-mcp-manifests.mjs",
+ "smoke:mcp": "node scripts/smoke-mcp-remotes.mjs",
+ "readout:revenue": "node scripts/x402-revenue-readout.mjs",
+ "test:mcp": "node scripts/test-mcp-all.mjs",
+ "audit:pages": "node scripts/audit-page-index.mjs --strict",
+ "audit:meetup": "node scripts/meetup-audit.mjs",
+ "audit:docs": "node scripts/audit-docs.mjs",
+ "listings:build": "node scripts/listings.mjs --build",
+ "listings:check": "node scripts/listings.mjs --check",
+ "listings:verify": "node scripts/listings.mjs --verify",
+ "docs:launch-lanes": "node --env-file=.env.local scripts/gen-launch-lanes-doc.mjs",
+ "audit:deps": "node scripts/check-deps.mjs",
+ "audit:upstreams": "node scripts/audit-upstreams.mjs",
+ "audit:upstreams:map": "node scripts/audit-upstreams.mjs --map",
+ "docs:freshness": "node scripts/doc-freshness.mjs",
+ "docs:review": "node scripts/docs-review.mjs",
+ "check:docs-freshness": "node scripts/doc-freshness.mjs --check",
+ "tutorials:media": "node scripts/capture-tutorial-media.mjs",
+ "tutorials:media:check": "node scripts/capture-tutorial-media.mjs --check",
+ "audit:routes": "node scripts/verify-routes.mjs --strict",
+ "audit:route-shadowing": "node scripts/audit-route-shadowing.mjs",
+ "audit:handlers": "node scripts/audit-empty-handlers.mjs",
+ "audit:x402-catalog": "node scripts/audit-x402-catalog.mjs",
+ "gate": "npm run check:conflicts && npm run check:claude && npm run check:cli-scripts && npm run check:vendored && npm run check:model-viewer && npm run check:gcloudignore && npm run check:fetch-timeouts && npm run check:tdz-bootstrap && npm run check:event && npm run check:cron-syntax && npm run check:home-matrix && npm run check:studio-openapi && npm run test:gate && npm run test:gate-3d && npm run audit:mcp && npm run audit:mcp-golden && npm run audit:mcp-safety && npm run audit:mcp-catalog && npm run check:mcp-counts && npm run test:mcp-surface && npm run check:mcp-catalog && npm run audit:mcp-listing && npm run audit:mcp-surfaces && npm run check:pay-skills && npm run audit:routes && npm run audit:handlers && npm run audit:pages && npm run audit:links && npm run check:awesome && npm run check:prompt-library && npm run audit:docs && npm run check:docs-freshness && npm run audit:upstreams && npm run check:tutorials && npm run audit:hidden-guard && npm run audit:inline-handlers && npm run audit:x402-catalog && npm run audit:tokens && npm run audit:states && npm run audit:motion-tokens && npm run audit:guards && npm run audit:tour-atlas && npm run check:ios-icons && npm run check:macos-icon && npm run check:apple-widget && npm run check:ios-app && npm run check:windows-widget && npm run check:announce && npm run i18n:home && npm run check:skills-seed && npm run check:openai-skills && npm run check:skills-pack && npm run check:skill-repos && npm run check:well-known-skills && npm run check:postman-collection && npm run check:openai-fields && npm run audit:motion && npm run audit:tour-global && npm run check:doc-media && npm run check:images && npm run audit:route-shadowing && npm run check:site-builder-embeds",
+ "test:stake-program": "node scripts/test-event-markets-stake.mjs",
+ "test:gate-3d": "vitest run tests/glb-canonicalize.test.js tests/animation-retarget.test.js tests/animation-retarget-rest-pollution.test.js tests/viewer-framing.test.js",
+ "audit:mcp-golden": "node scripts/audit-mcp-golden.mjs",
+ "audit:mcp-safety": "node scripts/audit-mcp-safety.mjs",
+ "audit:mcp-catalog": "node scripts/build-mcp-catalog.mjs --check && node scripts/build-mcp-tool-history.mjs --check",
+ "check:mcp-counts": "node scripts/check-mcp-counts.mjs",
+ "test:mcp-surface": "vitest run tests/mcp-tool-quality.test.js tests/mcp-prompt-references.test.js",
+ "audit:mcp-reviewer": "node scripts/audit-mcp-reviewer-path.mjs",
+ "audit:mcp-listing": "node scripts/build-mcp-listing-source.mjs --check",
+ "audit:mcp-surfaces": "node scripts/build-mcp-surfaces.mjs --check",
+ "build:mcp-surfaces": "node scripts/build-mcp-surfaces.mjs",
+ "build:mcp-catalog": "node scripts/build-mcp-catalog.mjs && node scripts/build-mcp-tool-history.mjs",
+ "build:pay-skills": "node scripts/build-pay-skills.mjs",
+ "check:pay-skills": "node scripts/build-pay-skills.mjs --check",
+ "verify:pay-skills": "node scripts/build-pay-skills.mjs --verify",
+ "audit:inline-handlers": "node scripts/audit-inline-handlers.mjs",
+ "audit:csp": "node scripts/audit-csp.mjs",
+ "audit:hidden-guard": "node scripts/audit-hidden-guard.mjs",
+ "audit:tokens": "node scripts/audit-token-drift.mjs",
+ "audit:states": "node scripts/audit-interactive-states.mjs",
+ "audit:motion-tokens": "node scripts/audit-motion-drift.mjs",
+ "audit:guards": "node scripts/audit-guards.mjs",
+ "audit:tour-atlas": "node scripts/build-tour-atlas.mjs --check",
+ "audit:tour-global": "node scripts/sync-tour-global.mjs --check",
+ "audit:console": "node scripts/audit-console.mjs",
+ "audit:seo": "node scripts/audit-seo.mjs",
+ "audit:play-failures": "node scripts/audit-play-failure-modes.mjs",
+ "audit:links": "node scripts/audit-links.mjs",
+ "audit:rig-coverage": "node scripts/audit-rig-coverage.mjs",
+ "audit:service-wallets": "node --env-file=.env scripts/audit-service-wallets.mjs",
+ "economy:wallets": "node --env-file=.env.local scripts/economy-wallets.mjs",
+ "audit:wallet-flows": "node --env-file=.env scripts/audit-wallet-flows.mjs",
+ "audit:llm-metering": "node scripts/audit-llm-metering.mjs",
+ "check:cron-drift": "node scripts/check-cron-drift.mjs",
+ "check:cron-syntax": "node scripts/check-cron-drift.mjs --offline",
+ "check:xai-models": "node scripts/check-xai-models.mjs",
+ "check:earnings-board": "node scripts/check-earnings-board.mjs",
+ "audit:custodial-keys": "node scripts/audit-custodial-key-health.mjs",
+ "audit:home-credentials": "node scripts/audit-home-credential-health.mjs",
+ "audit:cron-liveness": "node scripts/audit-cron-liveness.mjs",
+ "audit:cron-liveness:static": "node scripts/audit-cron-liveness.mjs --static",
+ "check:erc7710": "node scripts/check-erc7710-addresses.js",
+ "check:relayer-balances": "node scripts/check-relayer-balances.mjs",
+ "check:trading-routes": "node --env-file-if-exists=.env.local scripts/check-trading-routes.mjs",
+ "export:satellites": "node scripts/export-satellites.mjs",
+ "export:growth-satellites": "node scripts/export-growth-satellites.mjs",
+ "guard:hidden": "node scripts/inject-hidden-guard.mjs --write",
+ "check:images": "node scripts/audit-image-loading.mjs --strict",
+ "audit:web": "node scripts/page-audit.mjs",
+ "evolve": "node scripts/evolve.mjs status",
+ "evolve:start": "node scripts/evolve.mjs start",
+ "evolve:stop": "node scripts/evolve.mjs stop",
+ "evolve:once": "node scripts/evolve.mjs once",
+ "evolve:land": "node scripts/evolve.mjs land",
+ "evolve:pause": "node scripts/evolve.mjs pause",
+ "evolve:resume": "node scripts/evolve.mjs resume",
+ "audit:garments": "node scripts/audit-garments.mjs",
+ "audit:web:login": "node scripts/page-audit.mjs --login",
+ "verify:selfie": "node scripts/verify-selfie-flow.mjs",
+ "audit:web:provision": "node scripts/provision-audit-account.mjs",
+ "snapshot:authed": "node scripts/page-snapshot.mjs --authed",
+ "ui:review": "node scripts/ui-review.mjs",
+ "agent:vitals": "node scripts/agent-vitals.mjs",
+ "bots:report": "node scripts/trading-bot-report.mjs",
+ "sniper:reclaim-rent": "node --env-file-if-exists=.env.local scripts/sniper-reclaim-rent.mjs",
+ "logs": "node scripts/gcp-logs.mjs",
+ "logs:tail": "node scripts/gcp-logs.mjs --follow",
+ "gpu": "node scripts/gpu-capacity.mjs",
+ "logs:errors": "node scripts/gcp-logs.mjs --all --errors --since 6h",
+ "triage:gcp": "node scripts/gcp-triage.mjs",
+ "triage:gcp:deep": "node scripts/gcp-triage.mjs --deep --since 6h",
+ "snapshot": "node scripts/page-snapshot.mjs",
+ "build:news": "node scripts/build-news.mjs",
+ "prebuild": "node scripts/copy-three-decoders.mjs && node scripts/copy-voice-models.mjs && (node scripts/build-news.mjs & node scripts/build-skill-metadata.mjs & node scripts/build-local-skill-packs.mjs & node scripts/build-discovery-cards.mjs & node scripts/build-guards.mjs & node scripts/build-atlas-index.mjs & node scripts/build-open-source-credits.mjs & (node scripts/build-mcp-catalog.mjs && node scripts/build-mcp-tool-history.mjs) & node scripts/build-awesome.mjs & node scripts/build-prompt-library.mjs & node scripts/build-community-registry.mjs --check & npm run build:examples & npm run build:docs-search & npm run build:club-assets & npm run build:walk-environments & wait) && node scripts/check-mcp-catalog.mjs && node scripts/inject-blog-seo.mjs --write && node scripts/inject-hidden-guard.mjs --write && node scripts/i18n-annotate.mjs --apply --pages=\"public/news/*.html\" && (node scripts/build-page-index.mjs && node scripts/i18n-annotate.mjs --apply --no-wire --pages=\"public/sitemap/index.html\" && node scripts/audit-page-index.mjs --strict && node scripts/audit-empty-handlers.mjs && node scripts/audit-hidden-guard.mjs) && node scripts/inject-seo-meta.mjs --write && node scripts/inject-theme-boot.mjs --write",
+ "seo:indexnow": "node scripts/indexnow-submit.mjs",
+ "seo:meta": "node scripts/inject-blog-seo.mjs --write && node scripts/build-page-index.mjs && node scripts/inject-seo-meta.mjs --write",
+ "build": "NODE_OPTIONS='--no-deprecation --max-old-space-size=6144' vite build && node scripts/strip-sw-from-embeds.mjs && node scripts/inject-tour-boot.mjs && node scripts/inject-atlas.mjs && node scripts/inject-inline-behaviors.mjs",
+ "build:wasm": "node scripts/build-wasm.mjs",
+ "build:animations": "node scripts/build-original-animations.mjs && node scripts/build-animations.mjs && node scripts/sync-animation-registry.mjs && node scripts/build-motion-signatures.mjs",
+ "sync:animation-registry": "node scripts/sync-animation-registry.mjs",
+ "build:motion-signatures": "node scripts/build-motion-signatures.mjs",
+ "audit:motion": "node scripts/build-motion-signatures.mjs --check",
+ "convert:fbx": "node scripts/fbx-to-glb.mjs",
+ "build:canonical-rest": "node scripts/build-canonical-rest.mjs",
+ "build:sign-goldens": "node scripts/build-sign-goldens.mjs",
+ "sign:sheet": "node scripts/sign-contact-sheet.mjs",
+ "sign:cli": "node scripts/sign-cli-scripts.mjs",
+ "check:cli-scripts": "node scripts/sign-cli-scripts.mjs --check",
+ "extract:animations": "node scripts/extract-glb-animations.mjs && npm run build:animations",
+ "bake:mannequin": "node scripts/bake-mannequin-glb.mjs",
+ "build:club-props": "node scripts/build-club-props.mjs",
+ "build:club-venue": "node scripts/build-club-venue.mjs",
+ "build:club-hdri": "node scripts/build-club-hdri.mjs",
+ "build:club-audio": "node scripts/build-club-audio.mjs",
+ "build:club-entrance-venue": "node scripts/build-club-entrance-venue.mjs",
+ "build:club-assets": "(npm run build:club-props & npm run build:club-venue & npm run build:club-hdri & wait)",
+ "build:walk-environments": "node scripts/build-walk-environments.mjs",
+ "build:trench-car": "node scripts/build-trench-car.mjs",
+ "build:artifact-viewer": "node scripts/build-artifact-viewer.mjs",
+ "build:agent-hints": "node scripts/build-agent-hints.mjs",
+ "build:lib": "TARGET=lib vite build",
+ "build:lib:full": "TARGET=lib LIB_FORMATS=es,umd vite build",
+ "build:avatar-sdk": "node avatar-sdk/build.mjs",
+ "build:artifact": "vite build --config vite.config.artifact.js",
+ "publish:lib": "node scripts/publish-lib.mjs",
+ "check:sri-pins": "node scripts/check-sri-pins.mjs",
+ "build:site-builder-embeds": "node scripts/build-site-builder-embeds.mjs",
+ "check:site-builder-embeds": "node scripts/check-site-builder-embeds.mjs",
+ "publish:packages": "node scripts/publish-packages.mjs",
+ "publish:packages:dry": "node scripts/publish-packages.mjs --dry-run",
+ "publish:stale": "node scripts/publish-packages.mjs --stale",
+ "publish:queue:dry": "node scripts/publish-npm-queue.mjs",
+ "publish:queue": "node scripts/publish-npm-queue.mjs --publish",
+ "publish:mcp": "node scripts/publish-mcp-servers.mjs",
+ "publish:mcp:dry": "node scripts/publish-mcp-servers.mjs --dry-run",
+ "sync:repos": "node scripts/sync-standalone-repos.mjs",
+ "sync:repos:check": "node scripts/sync-standalone-repos.mjs --check",
+ "mirrors:drift": "node scripts/mirror-drift-report.mjs",
+ "retire:repos": "node scripts/stage-retired-repo-pointers.mjs",
+ "build:chat": "cd chat && node scripts/ensure-deps.mjs && npm run build && cd .. && mkdir -p dist/chat && cp -rf public/chat/. dist/chat/",
+ "deps:chat": "cd chat && node scripts/ensure-deps.mjs",
+ "build:avatar-studio": "npm run build --prefix character-studio",
+ "build:fast": "npm run build",
+ "build:production": "node scripts/build-vercel.mjs",
+ "build:vercel": "npm run build:production",
+ "apply:r2-cors": "node scripts/set-r2-cors.mjs || echo '[apply:r2-cors] skipped (missing creds or transient failure \u2014 see build log)'",
+ "build:all": "npm run build:chat && (npm run build & npm run build:lib & wait)",
+ "release:lib": "npm run build:lib:full && node scripts/release-lib.mjs",
+ "clean": "rm -rf dist/* dist-lib/* || true",
+ "generate-icons": "node scripts/generate-pwa-icons.mjs",
+ "build:extension": "node scripts/build-extension-icons.mjs && node scripts/build-extension.mjs",
+ "build:extension:prod": "node scripts/build-extension-icons.mjs && node scripts/build-extension.mjs --prod",
+ "optimize:glb": "node scripts/optimize-glb.mjs",
+ "validate:glb": "node scripts/validate-glb.mjs",
+ "inspect:glb": "node scripts/inspect-glb-geometry.mjs",
+ "inspect:glb:materials": "node scripts/inspect-glb-materials.mjs",
+ "check:glb:payload": "node scripts/glb-mobile-payload.mjs",
+ "shots:avatar-realism": "node scripts/avatar-realism-shots.mjs",
+ "shots:material-presets": "node scripts/material-preset-sheet.mjs",
+ "compress:glbs": "node scripts/compress-glbs.mjs",
+ "vendor:meshopt": "node scripts/vendor-meshopt-decoder.mjs",
+ "fetch-animations": "node scripts/download-animations.mjs",
+ "fetch:mixamo-catalog": "node scripts/fetch-mixamo-catalog.mjs",
+ "mixamo:catalog": "node scripts/mixamo-all.mjs --catalog",
+ "mixamo:download": "node scripts/mixamo-all.mjs --download",
+ "mixamo:all": "node scripts/mixamo-all.mjs",
+ "cc0-library:fetch": "node scripts/cc0-animation-library.mjs --fetch",
+ "cc0-library:enumerate": "node scripts/cc0-animation-library.mjs --enumerate",
+ "cc0-library:build": "node scripts/cc0-animation-library.mjs --build",
+ "cc0-library:upload": "node scripts/cc0-animation-library.mjs --upload",
+ "cc0-library:all": "node scripts/cc0-animation-library.mjs",
+ "test": "vitest run && playwright test",
+ "test:core": "vitest run",
+ "test:serial": "vitest run --maxWorkers=1",
+ "test:gate": "node scripts/test-gate.mjs",
+ "test:e2e": "playwright test",
+ "audit:a11y": "playwright test tests/e2e/a11y-top-pages.spec.js",
+ "perf:mobile": "node scripts/mobile-perf.mjs",
+ "load:viewers": "node scripts/viewer-load-test.mjs",
+ "audit:mobile-touch": "node scripts/mobile-touch-audit.mjs",
+ "audit:overlays": "node scripts/audit-overlays.mjs",
+ "audit:ibm-hosted": "node scripts/audit-ibm-hosted-page.mjs",
+ "test:pages": "node scripts/test-pages.mjs",
+ "verify:ibm": "node scripts/verify-ibm-pages.mjs",
+ "verify:zauth": "node scripts/verify-zauth-runtime.mjs",
+ "verify:sign-avatar": "node scripts/verify-sign-avatar.mjs",
+ "verify:event": "node scripts/verify-event-countdown.mjs",
+ "check:event": "node scripts/check-event-window.mjs",
+ "event:schedule": "node scripts/schedule-event.mjs",
+ "triage": "node scripts/verify-task-completion.mjs",
+ "prioritize": "node scripts/verify-task-completion.mjs && node scripts/rank-backlog.mjs",
+ "zauth:register": "node scripts/zauth-register-endpoints.mjs",
+ "test:all": "npm run test && npm run test:pages",
+ "verify": "prettier --check . && vite build",
+ "format": "prettier --write .",
+ "format:check": "prettier --check .",
+ "lint": "eslint .",
+ "lint:fix": "eslint . --fix",
+ "lint:ui": "lintapple http://localhost:3000",
+ "check:dist": "node scripts/check-dist.mjs",
+ "check:pages": "node scripts/check-pages.mjs",
+ "check:tutorials": "node scripts/sync-tutorial-pages.mjs",
+ "tutorials:sync": "node scripts/sync-tutorial-pages.mjs --write",
+ "check:claude": "node scripts/check-claude-md.mjs",
+ "verify:erc8004-validation": "node scripts/erc8004/verify-validation-registry.mjs",
+ "check:rules": "node scripts/check-rules.mjs",
+ "check:fetch-timeouts": "node scripts/check-fetch-timeouts.mjs",
+ "check:vendored": "node scripts/check-vendored-workers.mjs",
+ "check:model-viewer": "node scripts/check-model-viewer-version.mjs",
+ "check:secrets": "node scripts/check-secrets.mjs",
+ "check:gcloudignore": "node scripts/check-gcloudignore.mjs",
+ "check:api-imports": "node scripts/check-api-imports.mjs",
+ "check:home-voice": "node scripts/check-home-voice.mjs",
+ "check:evm-rpc": "node --env-file=.env scripts/probe-evm-rpc.mjs --chain 1 --ens",
+ "awal:pin": "node scripts/update-awal-version.mjs",
+ "smoke:prod": "node scripts/check-pages.mjs --base https://three.ws",
+ "check:asset-encoding": "node scripts/check-asset-encoding.mjs",
+ "probe:generation": "node scripts/probe-generation-suite.mjs --base https://three.ws",
+ "probe:mcp-clients": "node scripts/mcp-client-probe.mjs",
+ "e2e:xai-mcp": "node --env-file-if-exists=.env --env-file-if-exists=.env.local scripts/xai-mcp-e2e.mjs",
+ "event:watch": "node scripts/event-watch.mjs",
+ "event:capacity": "node scripts/play-capacity-smoke.mjs",
+ "event:failover": "node --env-file=.env scripts/event-dependency-failover.mjs",
+ "deploy": "npm run deploy:gcp:full",
+ "feedback:repro": "node --env-file-if-exists=.env.local scripts/feedback-repro.mjs",
+ "test:agent-vitals": "node --test packages/agent-vitals/test/*.test.js",
+ "test:witness": "node --test packages/witness/test/*.test.js",
+ "test:assets-cli": "node --test packages/assets-cli/test/*.test.js",
+ "build:info": "node scripts/write-build-info.mjs",
+ "build:info:snapshot": "node scripts/write-build-info.mjs --snapshot",
+ "build:gcp": "npm run check:conflicts && npm run check:browser-graph && npm run check:tdz-bootstrap && npm run ensure:avatar-studio && npm run build:info:snapshot && npm run docs:freshness && npm run build:lib:full && npm run build:avatar-sdk && npm run build:chat && npm run build && npm run publish:lib && npm run build:info && npm run check:dist && npm run check:pages",
+ "ensure:avatar-studio": "test -f character-studio/build/index.html || npm run build:avatar-studio",
+ "deploy:gcp": "npm run check:dist && npm run check:pages && npm run deploy:gcp:submit && npm run deploy:gcp:sync-crons && npm run deploy:gcp:purge-cdn && npm run smoke:prod",
+ "deploy:gcp:full": "npm run build:gcp && npm run deploy:gcp",
+ "deploy:gcp:submit": "npm run db:check && npm run check:gcloudignore && npm run audit:deploy && npm run check:api-imports && gcloud builds submit --config server/cloudbuild.yaml --region us-central1 --project aerial-vehicle-466722-p5",
+ "deploy:gcp:sync-crons": "node scripts/create-gcp-scheduler.mjs --missing-only",
+ "deploy:gcp:purge-cdn": "gcloud compute url-maps invalidate-cdn-cache three-ws-lb --path '/*' --project aerial-vehicle-466722-p5",
+ "postversion": "git push threews HEAD && git push threews --tags",
+ "validate:cards": "node scripts/validate-agent-cards.mjs",
+ "db:bootstrap": "node scripts/db-bootstrap.mjs",
+ "db:migrate": "node scripts/apply-migrations.mjs --apply",
+ "db:status": "node scripts/apply-migrations.mjs",
+ "db:check": "node scripts/apply-migrations.mjs --check",
+ "db:restamp": "node scripts/apply-migrations.mjs --restamp",
+ "forge:errors": "node scripts/forge-error-report.mjs",
+ "forge:funnel": "node scripts/forge-funnel-report.mjs",
+ "forge:tripo": "node scripts/tripo-lane-report.mjs",
+ "partners:proof": "node scripts/partner-proof-brief.mjs",
+ "worker:oracle": "node --env-file-if-exists=.env workers/oracle/index.js",
+ "worker:sniper": "node workers/agent-sniper/index.js",
+ "worker:sniper:live": "SNIPER_MODE=live node workers/agent-sniper/index.js",
+ "worker:orders": "node --env-file-if-exists=.env --env-file-if-exists=.env.local workers/agent-orders/index.js",
+ "worker:orders:live": "ORDERS_MODE=live node --env-file-if-exists=.env --env-file-if-exists=.env.local workers/agent-orders/index.js",
+ "worker:okx-bot": "node workers/okx-chat-bot/index.js",
+ "worker:mm": "node workers/agent-mm/index.js",
+ "worker:mm:live": "MM_MODE=live node workers/agent-mm/index.js",
+ "deploy:sniper": "node scripts/deploy-sniper.mjs",
+ "pump:smoke": "node scripts/pumpfun-lifecycle-smoke.js",
+ "pump:refresh-idls": "node scripts/refresh-pump-idls.mjs",
+ "pump:watch": "node scripts/pump-upstream-watch.mjs",
+ "pump:launch": "node scripts/pump-launch-repos.mjs",
+ "pump:launch:ui": "node scripts/pump-launch-server.mjs",
+ "paired:quotes": "node scripts/paired-register-quotes.mjs",
+ "seed:skills": "node scripts/seed-skills.js",
+ "build:openai-skills": "node scripts/build-openai-skills-bundle.mjs",
+ "check:openai-skills": "node scripts/build-openai-skills-bundle.mjs --check",
+ "build:skills-pack": "node scripts/build-skills-pack.mjs",
+ "check:skills-pack": "node scripts/build-skills-pack.mjs --check",
+ "build:skill-repos": "node scripts/build-standalone-skill-repos.mjs",
+ "check:skill-repos": "node scripts/build-standalone-skill-repos.mjs --check",
+ "build:well-known-skills": "node scripts/build-well-known-skills-index.mjs",
+ "check:well-known-skills": "node scripts/build-well-known-skills-index.mjs --check",
+ "build:postman-collection": "node scripts/build-postman-collection.mjs",
+ "check:postman-collection": "node scripts/build-postman-collection.mjs --check",
+ "build:openai-fields": "node scripts/build-openai-portal-fields.mjs",
+ "check:openai-fields": "node scripts/build-openai-portal-fields.mjs --check",
+ "build:skills-seed": "node scripts/build-skills-seed.mjs",
+ "check:skills-seed": "node scripts/build-skills-seed.mjs --check",
+ "install:sdk": "npm install --prefix agent-payments-sdk && npm run build --prefix agent-payments-sdk && npm install ./agent-payments-sdk",
+ "claude": "./scripts/claude.sh",
+ "typecheck": "tsc -p jsconfig.json",
+ "okx:bot": "node scripts/okx-bot-revive.mjs",
+ "okx:bot:seed-state": "node scripts/okx-bot-seed-state.mjs",
+ "okx:bot:gateway": "node scripts/okx-bot-llm-gateway.mjs",
+ "okx:bot:deploy": "node scripts/okx-bot-deploy.mjs",
+ "okx:three-copy": "node scripts/okx-three-copy-check.mjs",
+ "okx:gauntlet": "node scripts/okx-e2e-gauntlet.mjs",
+ "check:conflicts": "node scripts/check-merge-conflicts.mjs",
+ "ios:sync": "npm --prefix ios install --silent && npm --prefix ios run sync",
+ "ios:icons": "node ios/scripts/make-icons.mjs",
+ "check:ios-icons": "node ios/scripts/make-icons.mjs --check",
+ "macos:icon": "node apple/scripts/make-macos-icon.mjs",
+ "check:macos-icon": "node apple/scripts/make-macos-icon.mjs --check",
+ "check:apple-widget": "node scripts/check-apple-widget.mjs",
+ "check:ios-app": "node scripts/check-ios-app.mjs",
+ "check:windows-widget": "node scripts/check-windows-widget.mjs",
+ "check:windows-widget:live": "node scripts/check-windows-widget.mjs --live",
+ "ios:open": "npm --prefix ios run open",
+ "ios:release": "node ios/scripts/release.mjs",
+ "ios:release:dry": "node ios/scripts/release.mjs --dry-run",
+ "clean:worktrees": "node scripts/clean-deploy-worktrees.mjs",
+ "prep:worktree": "node scripts/prepare-deploy-worktree.mjs",
+ "check:browser-graph": "node scripts/check-browser-graph.mjs",
+ "check:tdz-bootstrap": "node scripts/check-tdz-bootstrap.mjs",
+ "prove:guards": "node scripts/prove-guards.mjs",
+ "prove:a2a-spend": "node scripts/a2a-spend-hardening-proof.mjs",
+ "capture:docs-world": "node scripts/capture-docs-media.mjs",
+ "check:runnable-docs": "node scripts/check-runnable-docs.mjs",
+ "capture:doc-media": "node scripts/capture-doc-media.mjs",
+ "check:doc-media": "node scripts/check-doc-media.mjs",
+ "sync:studio-openapi": "node scripts/sync-studio-openapi.mjs",
+ "check:studio-openapi": "node scripts/sync-studio-openapi.mjs --check",
+ "token:volume": "node scripts/token-volume.mjs",
+ "companion:e2e": "node --env-file=.env.local --env-file=.env scripts/companion-e2e.mjs",
+ "home:instance": "node scripts/home-test-instance.mjs --up --onboard --seed --name lane",
+ "home:fleet": "node scripts/home-fleet.mjs up --homes 12 --big 1",
+ "home:fleet:down": "node scripts/home-fleet.mjs down",
+ "home:load": "node --expose-gc scripts/home-load.mjs all --out tasks/home/envelope-$(date -u +%Y-%m-%d).json",
+ "home:chaos": "node --expose-gc scripts/home-chaos.mjs all --out tasks/home/chaos-$(date -u +%Y-%m-%d).json",
+ "home:instance:down": "node scripts/home-test-instance.mjs --down --name lane",
+ "test:home:live": "node scripts/home-live-tests.mjs",
+ "home:matrix": "node scripts/home-version-matrix.mjs",
+ "home:matrix:sync": "node scripts/home-version-matrix.mjs --sync-doc",
+ "check:home-matrix": "node scripts/home-version-matrix.mjs --check",
+ "test:home:e2e": "node --env-file=.env.local ./node_modules/@playwright/test/cli.js test --config=playwright.home.config.js",
+ "deck:inception": "node scripts/build-inception-deck.mjs",
+ "build:awesome": "node scripts/build-awesome.mjs",
+ "check:awesome": "node scripts/build-awesome.mjs --check",
+ "awesome:links": "node scripts/check-awesome-links.mjs",
+ "awesome:standalone": "node scripts/build-awesome.mjs --standalone",
+ "verify:three-gate": "node scripts/verify-three-gate.mjs",
+ "check:mcp-catalog": "node scripts/check-mcp-catalog.mjs",
+ "vet:mcp-catalog": "node scripts/vet-mcp-integrations.mjs"
+ },
+ "dependencies": {
+ "@0xsplits/splits-sdk": "^6.6.0",
+ "@ai-sdk/anthropic": "^4.0.53",
+ "@ai-sdk/openai": "^4.0.96",
+ "@avaturn/sdk": "^1.1.4",
+ "@aws-sdk/client-marketplace-entitlement-service": "^3.1152.0",
+ "@aws-sdk/client-marketplace-metering": "^3.1153.0",
+ "@aws-sdk/client-s3": "^3.1132.0",
+ "@aws-sdk/s3-request-presigner": "^3.1063.0",
+ "@bnb-chain/greenfield-js-sdk": "^2.2.2",
+ "@bnb-chain/mpp": "^0.2.0",
+ "@bnb-chain/reed-solomon": "^1.1.4",
+ "@bonfida/spl-name-service": "^4.0.1",
+ "@chenglou/pretext": "^1.0.0",
+ "@coin-communities/sdk": "^2.0.0",
+ "@coinbase/cdp-sdk": "^1.50.0",
+ "@coinbase/x402": "^2.1.0",
+ "@coral-xyz/anchor": "^0.32.1",
+ "@dimforge/rapier3d-compat": "^0.19.3",
+ "@discord/embedded-app-sdk": "^2.5.0",
+ "@elevenlabs/elevenlabs-js": "^2.73.0",
+ "@ellipsis-labs/rise": "^0.6.2",
+ "@ethereum-attestation-service/eas-sdk": "^2.10.0",
+ "@ffmpeg/ffmpeg": "^0.12.15",
+ "@ffmpeg/util": "^0.12.2",
+ "@gltf-transform/core": "^4.4.0",
+ "@gltf-transform/extensions": "^4.5.1",
+ "@gltf-transform/functions": "^4.5.0",
+ "@grpc/grpc-js": "^1.14.6",
+ "@grpc/proto-loader": "^0.8.1",
+ "@huggingface/transformers": "^4.3.1",
+ "@jaames/iro": "^5.5.2",
+ "@jup-ag/api": "^6.0.48",
+ "@kamino-finance/farms-sdk": "^5.0.0",
+ "@kamino-finance/klend-sdk": "^13.0.3",
+ "@kamino-finance/scope-sdk": "^10.2.6",
+ "@kninnug/constrainautor": "^4.1.0",
+ "@leeoniya/ufuzzy": "^1.0.19",
+ "@mediapipe/tasks-vision": "^0.10.35",
+ "@metaplex-foundation/genesis": "^0.43.2",
+ "@metaplex-foundation/mpl-agent-registry": "^0.2.6",
+ "@metaplex-foundation/mpl-core": "^1.10.0",
+ "@metaplex-foundation/umi": "^1.6.0",
+ "@metaplex-foundation/umi-bundle-defaults": "^1.6.0",
+ "@meteora-ag/dynamic-bonding-curve-sdk": "^2.0.0",
+ "@modelcontextprotocol/sdk": "^1.29.0",
+ "@neondatabase/serverless": "^1.1.0",
+ "@neynar/nodejs-sdk": "^3.177.0",
+ "@nirholas/pump-sdk": "^1.0.0",
+ "@noble/curves": "^2.2.0",
+ "@noble/hashes": "^1.8.0",
+ "@node-saml/node-saml": "^5.1.0",
+ "@octokit/rest": "^22.0.1",
+ "@okxweb3/app-x402-core": "^0.2.2",
+ "@pixiv/three-vrm": "^3.5.5",
+ "@pixiv/three-vrm-animation": "^3.5.5",
+ "@privy-io/js-sdk-core": "^0.75.0",
+ "@pump-fun/agent-payments-sdk": "^3.0.3",
+ "@pump-fun/pump-sdk": "^4.2.0",
+ "@pump-fun/pump-swap-sdk": "^2.2.0",
+ "@pythnetwork/hermes-client": "^3.1.0",
+ "@ricky0123/vad-web": "^0.0.31",
+ "@scure/base": "^1.2.6",
+ "@solana-mobile/mobile-wallet-adapter-protocol-web3js": "^2.3.0",
+ "@solana-program/compute-budget": "^0.18.1",
+ "@solana-program/stake": "^0.11.0",
+ "@solana-program/token": "^0.13.0",
+ "@solana/kit": "^8.5.0",
+ "@solana/pay": "^0.2.6",
+ "@solana/spl-token": "^0.4.14",
+ "@solana/wallet-standard-features": "^1.5.0",
+ "@solana/web3.js": "^1.99.0",
+ "@sparkjsdev/spark": "^2.3.1",
+ "@sparticuz/chromium-min": "^148.0.0",
+ "@tetsuo-ai/protocol": "^0.2.0",
+ "@tetsuo-ai/sdk": "^1.4.0",
+ "@three-ws/companion": "*",
+ "@three-ws/mcp-policy": "*",
+ "@three-ws/skill-import": "*",
+ "@three-ws/solana-agent": "file:solana-agent-sdk",
+ "@upstash/qstash": "^2.12.0",
+ "@upstash/ratelimit": "^2.2.0",
+ "@upstash/redis": "^1.39.0",
+ "@vercel/og": "^0.11.1",
+ "@wallet-standard/app": "^1.1.1",
+ "@walletconnect/ethereum-provider": "^2.24.0",
+ "@x402/axios": "^2.26.0",
+ "@x402/core": "^2.26.0",
+ "@x402/evm": "^2.28.0",
+ "@x402/extensions": "^2.26.0",
+ "@x402/mcp": "^2.14.0",
+ "@x402/svm": "^2.14.0",
+ "@zauthx402/sdk": "^0.1.14",
+ "agent0-sdk": "^1.5.3",
+ "ai": "^7.0.101",
+ "ajv": "^8.20.0",
+ "ajv-formats": "^3.0.1",
+ "altcha-lib": "^2.2.0",
+ "axios": "^1.20.0",
+ "bcryptjs": "^3.0.3",
+ "bignumber.js": "^11.1.5",
+ "bn.js": "^5.2.5",
+ "borsher": "^4.0.0",
+ "bs58": "^6.0.0",
+ "cborg": "^6.1.2",
+ "cockatiel": "^4.0.0",
+ "colyseus.js": "0.16.22",
+ "compression": "^1.8.2",
+ "cron-parser": "^5.10.2",
+ "dat.gui": "^0.7.9",
+ "delaunator": "^5.1.0",
+ "diff": "^5.2.2",
+ "dompurify": "^3.4.17",
+ "draco3dgltf": "^1.5.7",
+ "esbuild": "^0.28.1",
+ "ethers": "^6.16.0",
+ "exceljs": "^4.4.0",
+ "express": "^5.2.1",
+ "fast-check": "^4.8.0",
+ "fast-xml-parser": "^5.11.2",
+ "fflate": "^0.8.3",
+ "gltf-validator": "^2.0.0-dev.3.10",
+ "helius-sdk": "^3.3.0",
+ "hyparquet": "^1.31.5",
+ "hyparquet-compressors": "^1.1.2",
+ "idb-keyval": "^6.3.0",
+ "imapflow": "^2.0.5",
+ "jose": "^6.2.12",
+ "lightweight-charts": "^5.2.0",
+ "livekit-client": "^2.22.3",
+ "livepeer": "^3.5.0",
+ "lru-cache": "^11.5.3",
+ "mammoth": "^1.12.0",
+ "manifold-3d": "^3.5.4",
+ "marked": "^18.1.1",
+ "meshoptimizer": "^1.2.0",
+ "mppx": "^0.13.1",
+ "multiformats": "^14.0.5",
+ "nanoid": "^6.0.2",
+ "nipplejs": "^1.0.4",
+ "node-html-parser": "^7.1.0",
+ "node-ical": "^0.27.3",
+ "onnxruntime-web": "^1.30.0",
+ "p-limit": "^7.3.2",
+ "papaparse": "^5.7.0",
+ "postprocessing": "^6.39.5",
+ "puppeteer-core": "^25.1.0",
+ "qrcode": "^1.5.4",
+ "qwen-ai-provider": "^0.1.1",
+ "resend": "^6.12.4",
+ "sas-lib": "^1.0.10",
+ "sharp": "^0.35.5",
+ "simple-dropzone": "^0.8.3",
+ "ssh2": "^1.17.0",
+ "three": "^0.184.0",
+ "three-gpu-pathtracer": "0.0.24",
+ "three-mesh-bvh": "0.9.15",
+ "three-pathfinding": "^1.3.0",
+ "trading-signals": "^8.3.0",
+ "twitter-api-v2": "^1.29.0",
+ "undici": "^7.30.0",
+ "unpdf": "^1.8.0",
+ "uuid": "^14.0.2",
+ "vhtml": "^2.2.0",
+ "viem": "2.56.0",
+ "wawa-lipsync": "^0.0.2",
+ "web-push": "^3.6.7",
+ "ws": "^8.21.0",
+ "yaml": "^2.9.1",
+ "zod": "^3.23.8"
+ },
+ "devDependencies": {
+ "@axe-core/playwright": "^4.13.0",
+ "@electric-sql/pglite": "^0.5.8",
+ "@joplin/turndown-plugin-gfm": "^1.0.68",
+ "@playwright/test": "^1.63.0",
+ "@x402/fetch": "^2.14.0",
+ "adaptive-expressions": "^4.23.3",
+ "adaptivecards-templating": "^2.3.1",
+ "cspell-lib": "^10.4.0",
+ "dotenv": "^17.4.2",
+ "es-module-lexer": "^3.0.2",
+ "fbx2gltf": "^0.9.7-p1",
+ "ffmpeg-static": "^5.3.0",
+ "glob": "^11.1.0",
+ "i18n-iso-countries": "^7.14.0",
+ "jsdom": "30.0.1",
+ "json5": "^2.2.3",
+ "lintapple": "^0.1.20",
+ "openapi-to-postmanv2": "^6.4.0",
+ "playwright": "^1.63.0",
+ "prettier": "^3.9.8",
+ "puppeteer": "^25.14.0",
+ "topojson-client": "^3.1.0",
+ "turndown": "^7.2.4",
+ "typescript": "^5.9.3",
+ "vite": "^8.3.2",
+ "vite-plugin-node-polyfills": "^0.28.0",
+ "vite-plugin-pwa": "^2.0.0",
+ "vitest": "^5.0.1",
+ "workbox-build": "^7.4.0",
+ "workbox-window": "^7.4.0",
+ "world-atlas": "^2.0.2",
+ "x402-skill-md": "^0.1.0"
+ }
+}
diff --git a/packages/agent-memory/README.md b/packages/agent-memory/README.md
index a111b59fe..23688b6fd 100644
--- a/packages/agent-memory/README.md
+++ b/packages/agent-memory/README.md
@@ -147,6 +147,7 @@ Semantic search over the agent's memories. Wraps `POST /api/memory/search`.
Each result carries a `score` (cosine, 4-dp) and `match` of `'semantic'` or
`'lexical'`. Results are semantic-first, then back-filled with salience-ranked
substring hits so a query is never empty just because a provider is down.
+Hits are ordered by `rankScore`, the score times an outcome weight. When a memory was recalled into a decision (a snipe, for example) and that position later closed, the realized P&L is written back onto it; `outcome` reports `{ weight, samples, wins, losses, netPnlUsd, lastClosedAt }`. The weight is bounded to 0.65..1.35, halves every 45 days, and is never zero, so a memory tied to a loss ranks lower but is still returned as a warning.
Recalling a memory bumps its `accessCount` and salience slightly — the
recency/reinforcement loop the tiers rely on.
@@ -223,6 +224,8 @@ type Memory = {
// recall() only:
score?: number | null; // cosine, or null for a lexical hit
match?: 'semantic' | 'lexical';
+ rankScore?: number; // order key: score (or salience) x outcome.weight
+ outcome?: { weight: number; samples: number; wins: number; losses: number; netPnlUsd: number; lastClosedAt: string | null };
};
```
diff --git a/packages/agent-memory/src/index.d.ts b/packages/agent-memory/src/index.d.ts
index 7936c046c..92384e601 100644
--- a/packages/agent-memory/src/index.d.ts
+++ b/packages/agent-memory/src/index.d.ts
@@ -23,6 +23,16 @@ export type MemoryTier = 'working' | 'recall' | 'archival';
export type EntityKind = 'mint' | 'ticker' | 'wallet' | 'person' | 'strategy' | 'topic';
export type RecallMatch = 'semantic' | 'lexical';
+/** Realized result of the trades this memory was recalled into. `weight` is bounded to 0.65..1.35 and never zero, so a memory tied to a loss ranks lower but is still returned as a warning. */
+export interface MemoryOutcome {
+ weight: number;
+ samples: number;
+ wins: number;
+ losses: number;
+ netPnlUsd: number;
+ lastClosedAt: string | null;
+}
+
export interface Memory {
id: string;
agentId: string | null;
@@ -46,6 +56,10 @@ export interface Memory {
score?: number | null;
/** recall() only: how the hit was found. */
match?: RecallMatch;
+ /** recall() only: the value hits are ordered by, `score` (or salience for a lexical hit) times `outcome.weight`. */
+ rankScore?: number;
+ /** recall() only: the realized-outcome weight and the evidence behind it. */
+ outcome?: MemoryOutcome;
/** The raw server payload. */
raw: unknown;
}
diff --git a/packages/agent-memory/src/index.js b/packages/agent-memory/src/index.js
index b46ab2021..f3ec39e0c 100644
--- a/packages/agent-memory/src/index.js
+++ b/packages/agent-memory/src/index.js
@@ -276,6 +276,8 @@ function shapeMemory(row) {
};
if ('score' in row) memory.score = row.score;
if ('match' in row) memory.match = row.match;
+ if ('rankScore' in row) memory.rankScore = row.rankScore;
+ if (row.outcome && typeof row.outcome === 'object') memory.outcome = row.outcome;
return memory;
}
diff --git a/packages/three-ws-cli/package.json b/packages/three-ws-cli/package.json
index 3e666948e..13030944d 100644
--- a/packages/three-ws-cli/package.json
+++ b/packages/three-ws-cli/package.json
@@ -50,6 +50,7 @@
"@clack/prompts": "^1.8.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@napi-rs/keyring": "^2.1.2",
+ "@solana-program/compute-budget": "^0.18.1",
"@solana-program/system": "^0.16.0",
"@solana-program/token": "^0.18.0",
"@solana/kit": "^8.5.0",
@@ -57,10 +58,11 @@
"@x402/svm": "^2.14.0",
"jsonc-parser": "^3.3.0",
"smol-toml": "^1.3.0",
- "yaml": "^2.8.0"
+ "yaml": "^2.8.0",
+ "zod": "^3.25.76"
},
"engines": {
- "node": ">=20.12"
+ "node": ">=20.18"
},
"publishConfig": {
"access": "public"
diff --git a/packages/three-ws-cli/src/pay/challenge.js b/packages/three-ws-cli/src/pay/challenge.js
new file mode 100644
index 000000000..5cccd4e98
--- /dev/null
+++ b/packages/three-ws-cli/src/pay/challenge.js
@@ -0,0 +1,161 @@
+// Reads a payment challenge off a 402 response into a flat list of offers, one
+// per way the server is willing to be paid. Two wire formats are understood:
+// x402 v2 PAYMENT-REQUIRED header, base64 JSON { x402Version: 2, accepts: [...] }
+// x402 v1 JSON body { x402Version: 1, accepts: [...] } (network "solana")
+// MPP WWW-Authenticate: Payment id=..., method="solana", intent="charge", request=<base64url JCS>
+// Parsing never throws on a foreign challenge; it just yields no offers for it.
+
+import { b64urlDecodeJson } from './encoding.js';
+import { isSolanaNetwork, normalizeNetwork } from './permissions.js';
+
+function parseBase64Json(text) {
+ try {
+ return JSON.parse(Buffer.from(text, 'base64').toString('utf8'));
+ } catch {
+ return null;
+ }
+}
+
+function toBigInt(value) {
+ try {
+ const n = BigInt(value);
+ return n >= 0n ? n : null;
+ } catch {
+ return null;
+ }
+}
+
+function x402Offers(required, version) {
+ if (!required || !Array.isArray(required.accepts)) return [];
+ const offers = [];
+ for (const accept of required.accepts) {
+ if (!accept || typeof accept !== 'object') continue;
+ const amountAtomic = toBigInt(accept.amount ?? accept.maxAmountRequired);
+ if (amountAtomic === null || typeof accept.payTo !== 'string' || typeof accept.asset !== 'string') continue;
+ const decimals = Number.isInteger(accept.extra?.decimals) ? accept.extra.decimals : undefined;
+ offers.push({
+ protocol: 'x402',
+ version,
+ scheme: accept.scheme,
+ network: normalizeNetwork(accept.network),
+ asset: accept.asset,
+ payTo: accept.payTo,
+ amountAtomic,
+ decimals,
+ unsupported: accept.scheme === 'exact' ? undefined : `x402 scheme "${accept.scheme}" is not supported (only "exact")`,
+ raw: accept,
+ required,
+ });
+ }
+ return offers;
+}
+
+/** Split a WWW-Authenticate value into challenges: [{ scheme, params }]. Handles quoted strings and multiple challenges. */
+export function parseAuthenticate(header) {
+ const challenges = [];
+ let current = null;
+ let i = 0;
+ const s = String(header ?? '');
+ const skip = () => {
+ while (i < s.length && /[\s,]/.test(s[i])) i++;
+ };
+ while (i < s.length) {
+ skip();
+ const start = i;
+ while (i < s.length && !/[\s=,]/.test(s[i])) i++;
+ const token = s.slice(start, i);
+ if (!token) break;
+ let j = i;
+ while (j < s.length && s[j] === ' ') j++;
+ if (s[j] === '=') {
+ i = j + 1;
+ let value;
+ if (s[i] === '"') {
+ i++;
+ let out = '';
+ while (i < s.length && s[i] !== '"') {
+ if (s[i] === '\\' && i + 1 < s.length) i++;
+ out += s[i++];
+ }
+ i++;
+ value = out;
+ } else {
+ const vStart = i;
+ while (i < s.length && s[i] !== ',' && !/\s/.test(s[i])) i++;
+ value = s.slice(vStart, i);
+ }
+ if (current) current.params[token.toLowerCase()] = value;
+ } else {
+ current = { scheme: token, params: {} };
+ challenges.push(current);
+ }
+ }
+ return challenges;
+}
+
+function mppOffers(authenticate, now) {
+ const offers = [];
+ for (const ch of parseAuthenticate(authenticate)) {
+ if (ch.scheme.toLowerCase() !== 'payment') continue;
+ const p = ch.params;
+ if (p.method !== 'solana' || p.intent !== 'charge' || !p.request || !p.id) continue;
+ let request;
+ try {
+ request = b64urlDecodeJson(p.request);
+ } catch {
+ continue;
+ }
+ const amountAtomic = toBigInt(request.amount);
+ if (amountAtomic === null || typeof request.recipient !== 'string' || typeof request.currency !== 'string') continue;
+ const details = request.methodDetails ?? {};
+ const network = normalizeNetwork(details.network ?? 'mainnet');
+ let unsupported;
+ if (request.currency === 'sol') unsupported = 'native SOL charges are not supported (SPL tokens only)';
+ else if (details.confidential) unsupported = 'confidential transfers are not supported';
+ else if (Array.isArray(details.splits) && details.splits.length > 0) unsupported = 'payment splits are not supported';
+ else if (!Number.isInteger(details.decimals)) unsupported = 'the challenge does not state the token decimals';
+ else if (details.feePayer && typeof details.feePayerKey !== 'string') unsupported = 'feePayer is set without feePayerKey';
+ if (p.expires && Date.parse(p.expires) <= now) unsupported = unsupported ?? 'challenge_expired';
+ offers.push({
+ protocol: 'mpp',
+ version: 1,
+ network,
+ asset: request.currency,
+ payTo: request.recipient,
+ amountAtomic,
+ decimals: Number.isInteger(details.decimals) ? details.decimals : undefined,
+ unsupported,
+ expired: Boolean(p.expires && Date.parse(p.expires) <= now),
+ challenge: { id: p.id, realm: p.realm, method: p.method, intent: p.intent, request: p.request, ...(p.expires ? { expires: p.expires } : {}) },
+ request,
+ });
+ }
+ return offers;
+}
+
+/**
+ * @param {Response} response a 402 response (body not yet consumed)
+ * @param {{ now?: number }} [opts]
+ * @returns {Promise<{ offers: object[], bodyText: string }>}
+ */
+export async function readChallenge(response, { now = Date.now() } = {}) {
+ const bodyText = await response.text();
+ const offers = [];
+ const header = response.headers.get('payment-required');
+ if (header) {
+ offers.push(...x402Offers(parseBase64Json(header), 2));
+ } else {
+ let body = null;
+ try {
+ body = JSON.parse(bodyText);
+ } catch {
+ // not a JSON body, so there is no x402 v1 challenge in it
+ }
+ if (body && Array.isArray(body.accepts)) offers.push(...x402Offers(body, body.x402Version ?? 1));
+ }
+ const authenticate = response.headers.get('www-authenticate');
+ if (authenticate) offers.push(...mppOffers(authenticate, now));
+ return { offers, bodyText };
+}
+
+export { isSolanaNetwork };
diff --git a/packages/three-ws-cli/src/pay/decision.js b/packages/three-ws-cli/src/pay/decision.js
new file mode 100644
index 000000000..1e74796bd
--- /dev/null
+++ b/packages/three-ws-cli/src/pay/decision.js
@@ -0,0 +1,66 @@
+// Picks which offer to pay, if any. Solana first: anything not on Solana is
+// skipped outright. Among payable Solana offers the cheapest wins (x402 before
+// MPP on a tie), and the first one that clears the permissions is chosen, so a
+// server that also lists an over-limit option never blocks a cheaper allowed one.
+
+import { EXIT, PayError, REASON } from './errors.js';
+import { describeOffer, evaluateOffer, isSolanaNetwork, normalizeNetwork } from './permissions.js';
+
+const byPreference = (a, b) => {
+ if (a.amountAtomic !== b.amountAtomic) return a.amountAtomic < b.amountAtomic ? -1 : 1;
+ return (a.protocol === 'x402' ? 0 : 1) - (b.protocol === 'x402' ? 0 : 1);
+};
+
+/**
+ * @param {object} args
+ * @param {object[]} args.offers from readChallenge
+ * @param {object} args.perms validated permissions
+ * @param {string} args.origin origin of the URL being fetched
+ * @param {string} [args.maxFlag] --max decimal string
+ * @param {string} [args.networkFlag] --network filter
+ * @param {(offer: object) => bigint} args.spent atomic units already spent today for the offer's network and asset
+ * @returns {{ offer: object, confirm: boolean, skipped: Array<{ offer: object, reason: string, message: string }> }}
+ */
+export function decide({ offers, perms, origin, maxFlag, networkFlag, spent }) {
+ const skipped = [];
+ const note = (offer, reason, message) => skipped.push({ offer: describeOffer(offer), reason, message });
+ const wanted = networkFlag ? normalizeNetwork(networkFlag) : null;
+
+ const candidates = [];
+ for (const offer of offers) {
+ if (!isSolanaNetwork(offer.network)) {
+ note(offer, REASON.networkNotAllowed, `network ${offer.network} is not Solana`);
+ } else if (wanted && offer.network !== wanted) {
+ note(offer, REASON.networkNotAllowed, `network ${offer.network} does not match --network`);
+ } else if (offer.unsupported) {
+ note(offer, offer.expired ? REASON.expired : REASON.unsupportedIntent, offer.unsupported);
+ } else {
+ candidates.push(offer);
+ }
+ }
+ if (candidates.length === 0) {
+ throw new PayError(
+ EXIT.NO_PAYABLE_OPTION,
+ REASON.noPayableOption,
+ offers.length === 0
+ ? 'The server answered 402 but offered no payment option this tool understands (x402 or MPP on Solana).'
+ : 'None of the payment options can be settled here: ' + skipped.map((s) => s.message).join('; ') + '.',
+ { skipped },
+ );
+ }
+
+ candidates.sort(byPreference);
+ let firstDenial = null;
+ for (const offer of candidates) {
+ try {
+ const { confirm } = evaluateOffer(perms, offer, { origin, maxFlag, spent: spent(offer) });
+ return { offer, confirm, skipped };
+ } catch (err) {
+ if (!(err instanceof PayError)) throw err;
+ firstDenial ??= err;
+ note(offer, err.reason, err.message);
+ }
+ }
+ firstDenial.detail = { ...firstDenial.detail, skipped };
+ throw firstDenial;
+}
diff --git a/packages/three-ws-cli/src/pay/encoding.js b/packages/three-ws-cli/src/pay/encoding.js
new file mode 100644
index 000000000..64bb98ff5
--- /dev/null
+++ b/packages/three-ws-cli/src/pay/encoding.js
@@ -0,0 +1,35 @@
+// base64url and JSON Canonicalization (RFC 8785) for the MPP wire format.
+
+export function b64urlEncode(input) {
+ const buf = typeof input === 'string' ? Buffer.from(input, 'utf8') : Buffer.from(input);
+ return buf.toString('base64').replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '');
+}
+
+/** Accepts input with or without padding, as the MPP spec requires. */
+export function b64urlDecode(text) {
+ return Buffer.from(String(text).replace(/-/g, '+').replace(/_/g, '/'), 'base64');
+}
+
+export function b64urlDecodeJson(text) {
+ return JSON.parse(b64urlDecode(text).toString('utf8'));
+}
+
+/**
+ * Canonical JSON: object keys sorted by UTF-16 code unit, no whitespace, strings
+ * and integers serialized the ECMAScript way. Non-finite numbers are rejected.
+ */
+export function canonicalJson(value) {
+ if (value === null) return 'null';
+ if (typeof value === 'string') return JSON.stringify(value);
+ if (typeof value === 'boolean') return value ? 'true' : 'false';
+ if (typeof value === 'number') {
+ if (!Number.isFinite(value)) throw new Error('canonical JSON cannot carry a non-finite number');
+ return JSON.stringify(value);
+ }
+ if (Array.isArray(value)) return `[${value.map(canonicalJson).join(',')}]`;
+ if (typeof value === 'object') {
+ const keys = Object.keys(value).filter((k) => value[k] !== undefined).sort();
+ return `{${keys.map((k) => `${JSON.stringify(k)}:${canonicalJson(value[k])}`).join(',')}}`;
+ }
+ throw new Error(`canonical JSON cannot carry a ${typeof value}`);
+}
diff --git a/packages/three-ws-cli/src/pay/engine.js b/packages/three-ws-cli/src/pay/engine.js
new file mode 100644
index 000000000..5bd833793
--- /dev/null
+++ b/packages/three-ws-cli/src/pay/engine.js
@@ -0,0 +1,104 @@
+// The pay flow shared by the CLI and the MCP server: fetch, read the 402
+// challenge, decide under the permissions file, optionally confirm, sign with the
+// locally held key, retry once, record the spend. Redirects are never followed:
+// a signed payment must only ever reach the origin the permissions approved.
+
+import { readChallenge } from './challenge.js';
+import { decide } from './decision.js';
+import { EXIT, PayError, REASON } from './errors.js';
+import { readMppReceipt, signMpp } from './mpp.js';
+import { describeOffer, loadPermissions, recordSpend, spentToday } from './permissions.js';
+import { readX402Receipt, rpcUrlFor, signX402 } from './x402.js';
+
+const TIMEOUT_MS = 30_000;
+
+function requestInit({ method, headers, body }) {
+ return { method: method ?? (body === undefined ? 'GET' : 'POST'), headers: { ...headers }, body, redirect: 'manual', signal: AbortSignal.timeout(TIMEOUT_MS) };
+}
+
+function assertHttpUrl(url) {
+ let parsed;
+ try {
+ parsed = new URL(url);
+ } catch {
+ throw new PayError(EXIT.USAGE, 'invalid_url', `"${url}" is not a URL.`);
+ }
+ if (parsed.protocol !== 'https:' && parsed.protocol !== 'http:') {
+ throw new PayError(EXIT.USAGE, 'invalid_url', `Only http(s) URLs can be paid, got ${parsed.protocol}`);
+ }
+ return parsed;
+}
+
+async function readBody(response) {
+ return { bytes: Buffer.from(await response.arrayBuffer()), contentType: response.headers.get('content-type') ?? '' };
+}
+
+/**
+ * Fetch `url` and, when it answers 402, work out what paying would mean.
+ * Returns { free: true, response } for a non-402 answer, else the decision.
+ * Nothing is signed here.
+ */
+export async function quote({ url, env, request = {}, maxFlag, networkFlag, fetchImpl = fetch, now = Date.now() }) {
+ const parsed = assertHttpUrl(url);
+ const response = await fetchImpl(url, requestInit(request));
+ if (response.status !== 402) return { free: true, response };
+ const { offers, bodyText } = await readChallenge(response, { now });
+ const perms = loadPermissions(env);
+ const decision = decide({
+ offers,
+ perms,
+ origin: parsed.origin,
+ maxFlag,
+ networkFlag,
+ spent: (offer) => spentToday(env, offer, now),
+ });
+ return { free: false, url, origin: parsed.origin, decision, offers: offers.map(describeOffer), challengeBody: bodyText };
+}
+
+/**
+ * Pay for `url`. `confirm(summary)` resolves true to approve a payment above the
+ * confirmAbove threshold; without it such a payment is refused (exit 11).
+ */
+export async function pay({ url, env, request = {}, maxFlag, networkFlag, assumeYes = false, confirm, keystore, fetchImpl = fetch, now = Date.now() }) {
+ const q = await quote({ url, env, request, maxFlag, networkFlag, fetchImpl, now });
+ if (q.free) {
+ const body = await readBody(q.response);
+ return { paid: false, status: q.response.status, headers: Object.fromEntries(q.response.headers), ...body };
+ }
+ const { offer, confirm: needsConfirm } = q.decision;
+ const summary = describeOffer(offer);
+
+ if (needsConfirm && !assumeYes) {
+ if (!confirm) {
+ throw new PayError(EXIT.CONFIRMATION_REQUIRED, REASON.confirmRequired, `${summary.amount} is above confirmAbove and there is nobody to approve it. Re-run in a terminal, or pass --yes.`, { offer: summary });
+ }
+ if (!(await confirm({ url, ...summary }))) {
+ throw new PayError(EXIT.PERMISSION_DENIED, REASON.declined, 'Payment declined.', { offer: summary });
+ }
+ }
+
+ const signer = await keystore.signer();
+ const rpcUrl = rpcUrlFor(offer.network, env);
+ const base = requestInit(request);
+ let retry;
+ let readReceipt;
+ if (offer.protocol === 'x402') {
+ const { headers, httpClient } = await signX402({ offer, signer, rpcUrl });
+ retry = { ...base, headers: { ...base.headers, ...headers } };
+ readReceipt = (response) => readX402Receipt(httpClient, response);
+ } else {
+ const { authorization } = await signMpp({ offer, signer, rpcUrl });
+ retry = { ...base, headers: { ...base.headers, authorization } };
+ readReceipt = readMppReceipt;
+ }
+
+ const paid = await fetchImpl(url, retry);
+ if (paid.status === 402) {
+ const detail = (await paid.text()).slice(0, 500);
+ throw new PayError(EXIT.PAYMENT_REJECTED, REASON.paymentRejected, 'The server still answered 402 after the payment was sent. Nothing was recorded against your daily limit.', { offer: summary, response: detail });
+ }
+ const receipt = readReceipt(paid);
+ if (paid.ok || receipt) recordSpend(env, offer, now);
+ const body = await readBody(paid);
+ return { paid: true, status: paid.status, offer: summary, protocol: offer.protocol, payer: signer.address, receipt, headers: Object.fromEntries(paid.headers), ...body };
+}
diff --git a/packages/three-ws-cli/src/pay/errors.js b/packages/three-ws-cli/src/pay/errors.js
new file mode 100644
index 000000000..06e7d2e06
--- /dev/null
+++ b/packages/three-ws-cli/src/pay/errors.js
@@ -0,0 +1,60 @@
+// Stable exit codes and refusal reasons for `three-ws pay`. Scripts and agents
+// branch on these, so a code or reason string never changes meaning once shipped.
+// Permission refusals (10) always carry one of REASON as `error.reason`.
+
+export const EXIT = Object.freeze({
+ OK: 0,
+ ERROR: 1,
+ USAGE: 2,
+ /** The challenge is outside the permissions file (see REASON for which rule). */
+ PERMISSION_DENIED: 10,
+ /** The amount is above `confirmAbove` and nobody was there to approve it. */
+ CONFIRMATION_REQUIRED: 11,
+ /** The server offered nothing this payer can settle (unknown scheme, non-Solana only). */
+ NO_PAYABLE_OPTION: 12,
+ /** The payment was sent and the server still answered 402. */
+ PAYMENT_REJECTED: 13,
+ /** No wallet, or it could not be unlocked. */
+ WALLET_UNAVAILABLE: 14,
+});
+
+export const REASON = Object.freeze({
+ permissionsMissing: 'permissions_missing',
+ permissionsInvalid: 'permissions_invalid',
+ originNotAllowed: 'origin_not_allowed',
+ networkNotAllowed: 'network_not_allowed',
+ assetNotAllowed: 'asset_not_allowed',
+ payeeNotAllowed: 'payee_not_allowed',
+ perCallLimit: 'per_call_limit',
+ maxFlag: 'max_flag_exceeded',
+ dailyLimit: 'daily_limit',
+ confirmRequired: 'confirm_required',
+ declined: 'declined_by_user',
+ noPayableOption: 'no_payable_option',
+ unsupportedIntent: 'unsupported_intent',
+ expired: 'challenge_expired',
+ paymentRejected: 'payment_rejected',
+ walletMissing: 'wallet_missing',
+ walletLocked: 'wallet_locked',
+});
+
+export class PayError extends Error {
+ /**
+ * @param {number} exit one of EXIT
+ * @param {string} reason one of REASON (or a short snake_case code for EXIT.ERROR)
+ * @param {string} message what happened and how to fix it
+ * @param {object} [detail] machine-readable context for --json and MCP output
+ */
+ constructor(exit, reason, message, detail = undefined) {
+ super(message);
+ this.name = 'PayError';
+ this.exit = exit;
+ this.reason = reason;
+ this.code = reason;
+ this.detail = detail;
+ }
+}
+
+export function isPayError(err) {
+ return err instanceof PayError;
+}
diff --git a/packages/three-ws-cli/src/pay/keystore.js b/packages/three-ws-cli/src/pay/keystore.js
new file mode 100644
index 000000000..3cd988d43
--- /dev/null
+++ b/packages/three-ws-cli/src/pay/keystore.js
@@ -0,0 +1,184 @@
+// Key custody for `three-ws pay`. The 32-byte ed25519 seed lives in the OS
+// keychain (macOS Keychain, Windows Credential Manager, Secret Service or the
+// kernel keyring on Linux) through @napi-rs/keyring. Where no keychain is
+// reachable (headless boxes, containers) the seed is sealed in a file with
+// scrypt + AES-256-GCM under a passphrase. A key is never written in plaintext,
+// and there is deliberately no command that prints the private half.
+
+import crypto from 'node:crypto';
+import fs from 'node:fs';
+import path from 'node:path';
+import { createKeyPairSignerFromPrivateKeyBytes } from '@solana/kit';
+import { configDir } from '../paths.js';
+import { EXIT, PayError, REASON } from './errors.js';
+
+const SERVICE = 'three-ws';
+const ACCOUNT = 'pay-wallet';
+const SCRYPT = { N: 2 ** 15, r: 8, p: 1, maxmem: 128 * 1024 * 1024 };
+
+export const walletMetaPath = (env) => path.join(configDir(env), 'pay-wallet.json');
+export const walletSealedPath = (env) => path.join(configDir(env), 'pay-wallet.sealed.json');
+
+async function defaultKeyring() {
+ const { Entry } = await import('@napi-rs/keyring');
+ return new Entry(SERVICE, ACCOUNT);
+}
+
+function readMeta(env) {
+ try {
+ return JSON.parse(fs.readFileSync(walletMetaPath(env), 'utf8'));
+ } catch (err) {
+ if (err.code === 'ENOENT') return null;
+ throw new PayError(EXIT.WALLET_UNAVAILABLE, REASON.walletMissing, `${walletMetaPath(env)} is unreadable: ${err.message}`);
+ }
+}
+
+function writePrivate(file, text) {
+ fs.mkdirSync(path.dirname(file), { recursive: true, mode: 0o700 });
+ fs.writeFileSync(file, text, { mode: 0o600 });
+ fs.chmodSync(file, 0o600);
+}
+
+export function seal(seed, passphrase) {
+ const salt = crypto.randomBytes(16);
+ const iv = crypto.randomBytes(12);
+ const key = crypto.scryptSync(passphrase, salt, 32, SCRYPT);
+ const cipher = crypto.createCipheriv('aes-256-gcm', key, iv);
+ const data = Buffer.concat([cipher.update(seed), cipher.final()]);
+ return {
+ v: 1,
+ kdf: 'scrypt',
+ kdfParams: { N: SCRYPT.N, r: SCRYPT.r, p: SCRYPT.p },
+ cipher: 'aes-256-gcm',
+ salt: salt.toString('base64'),
+ iv: iv.toString('base64'),
+ tag: cipher.getAuthTag().toString('base64'),
+ data: data.toString('base64'),
+ };
+}
+
+export function unseal(sealed, passphrase) {
+ const { N, r, p } = sealed.kdfParams;
+ const key = crypto.scryptSync(passphrase, Buffer.from(sealed.salt, 'base64'), 32, { N, r, p, maxmem: 128 * 1024 * 1024 });
+ const decipher = crypto.createDecipheriv('aes-256-gcm', key, Buffer.from(sealed.iv, 'base64'));
+ decipher.setAuthTag(Buffer.from(sealed.tag, 'base64'));
+ try {
+ return Buffer.concat([decipher.update(Buffer.from(sealed.data, 'base64')), decipher.final()]);
+ } catch {
+ throw new PayError(EXIT.WALLET_UNAVAILABLE, REASON.walletLocked, 'Wrong passphrase, or the sealed wallet file is damaged.');
+ }
+}
+
+/**
+ * @param {object} opts
+ * @param {object} opts.env resolution context from paths.js
+ * @param {() => Promise<{setPassword(s:string):void,getPassword():string|null,deletePassword():boolean}>} [opts.keyring]
+ * keychain entry factory; defaults to @napi-rs/keyring
+ * @param {(question: string) => Promise<string>} [opts.askPassphrase] interactive passphrase prompt
+ */
+export function createKeystore({ env, keyring = defaultKeyring, askPassphrase }) {
+ const passphraseFrom = async (question) => {
+ const fromEnv = env.vars.THREE_WS_WALLET_PASSPHRASE;
+ if (fromEnv) return fromEnv;
+ if (!askPassphrase) {
+ throw new PayError(
+ EXIT.WALLET_UNAVAILABLE,
+ REASON.walletLocked,
+ 'The wallet is sealed in a file and no passphrase was given. Set THREE_WS_WALLET_PASSPHRASE or run in a terminal.',
+ );
+ }
+ const answer = await askPassphrase(question);
+ if (!answer) throw new PayError(EXIT.WALLET_UNAVAILABLE, REASON.walletLocked, 'A passphrase is required to unlock the wallet.');
+ return answer;
+ };
+
+ async function keychainEntry() {
+ try {
+ return await keyring();
+ } catch {
+ return null;
+ }
+ }
+
+ return {
+ meta: () => readMeta(env),
+
+ /**
+ * Create a wallet. `storage` is "auto" (keychain, else sealed file), "keychain" or "file".
+ * Refuses to replace an existing wallet. Returns { address, storage }.
+ */
+ async init({ storage = 'auto' } = {}) {
+ if (readMeta(env)) {
+ throw new PayError(EXIT.ERROR, 'wallet_exists', `A wallet already exists (${readMeta(env).address}). Back it up or remove it first; init never overwrites a key.`);
+ }
+ const seed = crypto.randomBytes(32);
+ const signer = await createKeyPairSignerFromPrivateKeyBytes(new Uint8Array(seed));
+ let used = null;
+ if (storage !== 'file') {
+ const entry = await keychainEntry();
+ try {
+ if (!entry) throw new Error('no keychain binding');
+ entry.setPassword(seed.toString('base64'));
+ if (entry.getPassword() !== seed.toString('base64')) throw new Error('keychain read-back mismatch');
+ used = 'keychain';
+ } catch (err) {
+ if (storage === 'keychain') {
+ throw new PayError(EXIT.WALLET_UNAVAILABLE, REASON.walletMissing, `The OS keychain is not available here (${err.message}). Re-run with --storage file.`);
+ }
+ }
+ }
+ if (!used) {
+ const passphrase = await passphraseFrom('New passphrase for the sealed wallet file');
+ if (passphrase.length < 12) {
+ throw new PayError(EXIT.USAGE, 'passphrase_too_short', 'Use a passphrase of at least 12 characters.');
+ }
+ writePrivate(walletSealedPath(env), `${JSON.stringify(seal(seed, passphrase), null, 2)}\n`);
+ used = 'file';
+ }
+ writePrivate(walletMetaPath(env), `${JSON.stringify({ version: 1, address: signer.address, storage: used, createdAt: new Date().toISOString() }, null, 2)}\n`);
+ seed.fill(0);
+ return { address: signer.address, storage: used };
+ },
+
+ /** Public address only. Never touches the secret. */
+ address() {
+ const meta = readMeta(env);
+ if (!meta) {
+ throw new PayError(EXIT.WALLET_UNAVAILABLE, REASON.walletMissing, 'No wallet yet. Run `three-ws wallet init`.');
+ }
+ return { address: meta.address, storage: meta.storage };
+ },
+
+ /** Unlock the wallet and return a kit TransactionSigner. The seed only lives for the call. */
+ async signer() {
+ const meta = readMeta(env);
+ if (!meta) throw new PayError(EXIT.WALLET_UNAVAILABLE, REASON.walletMissing, 'No wallet yet. Run `three-ws wallet init`.');
+ let seed;
+ if (meta.storage === 'keychain') {
+ const entry = await keychainEntry();
+ let stored = null;
+ try {
+ stored = entry ? entry.getPassword() : null;
+ } catch (err) {
+ throw new PayError(EXIT.WALLET_UNAVAILABLE, REASON.walletLocked, `The OS keychain could not be read: ${err.message}`);
+ }
+ if (!stored) throw new PayError(EXIT.WALLET_UNAVAILABLE, REASON.walletMissing, 'The keychain has no pay wallet. It was removed outside this tool.');
+ seed = Buffer.from(stored, 'base64');
+ } else {
+ let sealed;
+ try {
+ sealed = JSON.parse(fs.readFileSync(walletSealedPath(env), 'utf8'));
+ } catch (err) {
+ throw new PayError(EXIT.WALLET_UNAVAILABLE, REASON.walletMissing, `The sealed wallet file is unreadable: ${err.message}`);
+ }
+ seed = unseal(sealed, await passphraseFrom('Passphrase to unlock the wallet'));
+ }
+ const signer = await createKeyPairSignerFromPrivateKeyBytes(new Uint8Array(seed));
+ seed.fill(0);
+ if (signer.address !== meta.address) {
+ throw new PayError(EXIT.WALLET_UNAVAILABLE, REASON.walletLocked, 'The stored key does not match the recorded wallet address.');
+ }
+ return signer;
+ },
+ };
+}
diff --git a/packages/three-ws-cli/src/pay/mcp-server.js b/packages/three-ws-cli/src/pay/mcp-server.js
new file mode 100644
index 000000000..caa7b6a56
--- /dev/null
+++ b/packages/three-ws-cli/src/pay/mcp-server.js
@@ -0,0 +1,102 @@
+// `three-ws pay mcp`: a stdio MCP server that lets an agent pay for x402 and MPP
+// resources under the same pay-permissions.json the CLI uses. The agent can never
+// raise a limit: there is no confirmation channel over stdio, so a payment above
+// confirmAbove is refused (confirm_required) and the owner approves it in a terminal.
+
+import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
+import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
+import { z } from 'zod';
+import { VERSION } from '../http.js';
+import { isPayError } from './errors.js';
+import { pay, quote } from './engine.js';
+import { describeOffer } from './permissions.js';
+
+const MAX_BODY_BYTES = 100_000;
+
+const requestShape = {
+ url: z.string().url().describe('The http(s) URL of the paid resource'),
+ method: z.enum(['GET', 'POST', 'PUT', 'PATCH', 'DELETE']).optional().describe('HTTP method. Defaults to GET, or POST when a body is given.'),
+ body: z.string().optional().describe('Request body, sent as given (set content-type in headers for JSON).'),
+ headers: z.record(z.string()).optional().describe('Extra request headers. Do not set payment headers.'),
+ network: z.string().optional().describe('Restrict to one network: mainnet, devnet or a CAIP-2 id.'),
+};
+
+const text = (value) => ({ content: [{ type: 'text', text: JSON.stringify(value, null, 2) }] });
+
+function failure(err) {
+ if (isPayError(err)) {
+ return { isError: true, content: [{ type: 'text', text: JSON.stringify({ error: err.reason, exit: err.exit, message: err.message, detail: err.detail }, null, 2) }] };
+ }
+ return { isError: true, content: [{ type: 'text', text: JSON.stringify({ error: 'error', message: err?.message ?? String(err) }) }] };
+}
+
+function bodyView({ bytes, contentType }) {
+ const clipped = bytes.subarray(0, MAX_BODY_BYTES);
+ const textual = /^(text\/|application\/(json|xml|[\w.+-]*\+(json|xml)))/i.test(contentType);
+ return textual
+ ? { contentType, body: clipped.toString('utf8'), truncated: bytes.length > clipped.length }
+ : { contentType, bodyBase64: clipped.toString('base64'), truncated: bytes.length > clipped.length };
+}
+
+const requestOf = ({ method, body, headers }) => ({ method, body, headers });
+
+export function createPayMcpServer({ env, keystore, fetchImpl = fetch }) {
+ const server = new McpServer({ name: 'three-ws-pay', version: VERSION });
+
+ server.registerTool(
+ 'pay_quote',
+ {
+ title: 'Quote a paid resource',
+ description:
+ 'Fetches the URL and, if it answers 402, reports the Solana payment option that would be used (payee, exact amount, network, asset) and whether the permissions allow it. Signs and pays nothing.',
+ annotations: { readOnlyHint: true, openWorldHint: true },
+ inputSchema: requestShape,
+ },
+ async (args) => {
+ try {
+ const q = await quote({ url: args.url, env, request: requestOf(args), networkFlag: args.network, fetchImpl });
+ if (q.free) return text({ paymentRequired: false, status: q.response.status });
+ return text({
+ paymentRequired: true,
+ chosen: describeOffer(q.decision.offer),
+ needsConfirmation: q.decision.confirm,
+ offers: q.offers,
+ skipped: q.decision.skipped,
+ });
+ } catch (err) {
+ return failure(err);
+ }
+ },
+ );
+
+ server.registerTool(
+ 'pay_fetch',
+ {
+ title: 'Fetch a paid resource',
+ description:
+ 'SPENDS REAL MONEY. Fetches the URL; on a 402 it pays from the local Solana wallet if the permissions file allows it, retries once, and returns the response with the settlement receipt. Refused outright when the origin, network, asset or amount is outside pay-permissions.json. Each successful call is a new charge.',
+ annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true },
+ inputSchema: { ...requestShape, max: z.string().optional().describe('Per-call ceiling in whole units, e.g. "0.05". Cannot exceed the permissions file.') },
+ },
+ async (args) => {
+ try {
+ const result = await pay({ url: args.url, env, request: requestOf(args), maxFlag: args.max, networkFlag: args.network, keystore, fetchImpl });
+ return text({ paid: result.paid, status: result.status, payer: result.payer, offer: result.offer, receipt: result.receipt, ...bodyView(result) });
+ } catch (err) {
+ return failure(err);
+ }
+ },
+ );
+
+ return server;
+}
+
+export async function runPayMcp(deps) {
+ const server = createPayMcpServer(deps);
+ await server.connect(new StdioServerTransport());
+ await new Promise((resolve) => {
+ process.stdin.once('close', resolve);
+ process.stdin.once('end', resolve);
+ });
+ await server.close();
+}
diff --git a/packages/three-ws-cli/src/pay/mpp.js b/packages/three-ws-cli/src/pay/mpp.js
new file mode 100644
index 000000000..377809bf7
--- /dev/null
+++ b/packages/three-ws-cli/src/pay/mpp.js
@@ -0,0 +1,93 @@
+// Settles one MPP Solana charge (pull mode) from the published
+// draft-solana-charge spec: build an SPL transferChecked transaction, sign it as
+// the transfer authority (the server's fee payer slot stays empty when the
+// challenge sponsors fees), and wrap it in an `Authorization: Payment` credential.
+
+import {
+ address,
+ appendTransactionMessageInstructions,
+ createNoopSigner,
+ createSolanaRpc,
+ createTransactionMessage,
+ getBase64EncodedWireTransaction,
+ partiallySignTransactionMessageWithSigners,
+ pipe,
+ setTransactionMessageFeePayerSigner,
+ setTransactionMessageLifetimeUsingBlockhash,
+} from '@solana/kit';
+import { getSetComputeUnitLimitInstruction, getSetComputeUnitPriceInstruction } from '@solana-program/compute-budget';
+import { findAssociatedTokenPda, getTransferCheckedInstruction, TOKEN_PROGRAM_ADDRESS } from '@solana-program/token';
+import { b64urlDecodeJson, b64urlEncode, canonicalJson } from './encoding.js';
+import { EXIT, PayError } from './errors.js';
+
+const TOKEN_2022_PROGRAM = 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb';
+const MEMO_PROGRAM = 'MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr';
+
+async function resolveTokenProgram(rpc, mint, hinted) {
+ if (hinted) {
+ if (hinted !== TOKEN_PROGRAM_ADDRESS && hinted !== TOKEN_2022_PROGRAM) {
+ throw new PayError(EXIT.NO_PAYABLE_OPTION, 'unsupported_token_program', `tokenProgram ${hinted} is neither the Token nor the Token-2022 program.`);
+ }
+ return address(hinted);
+ }
+ const { value } = await rpc.getAccountInfo(mint, { encoding: 'base64' }).send();
+ const owner = value?.owner;
+ if (owner !== TOKEN_PROGRAM_ADDRESS && owner !== TOKEN_2022_PROGRAM) {
+ throw new PayError(EXIT.NO_PAYABLE_OPTION, 'unsupported_token_program', `Mint ${mint} is not owned by the Token or Token-2022 program, so the challenge is refused.`);
+ }
+ return address(owner);
+}
+
+/**
+ * @returns {Promise<{ authorization: string, source: string }>} the header value for `Authorization`
+ */
+export async function signMpp({ offer, signer, rpcUrl }) {
+ const rpc = createSolanaRpc(rpcUrl);
+ const details = offer.request.methodDetails ?? {};
+ const mint = address(offer.asset);
+ const tokenProgram = await resolveTokenProgram(rpc, mint, details.tokenProgram);
+ const [source] = await findAssociatedTokenPda({ owner: signer.address, mint, tokenProgram });
+ const [destination] = await findAssociatedTokenPda({ owner: address(offer.payTo), mint, tokenProgram });
+
+ const instructions = [
+ getSetComputeUnitLimitInstruction({ units: 40_000 }),
+ getSetComputeUnitPriceInstruction({ microLamports: 1n }),
+ getTransferCheckedInstruction(
+ { source, mint, destination, authority: signer, amount: offer.amountAtomic, decimals: details.decimals },
+ { programAddress: tokenProgram },
+ ),
+ ];
+ if (offer.request.externalId) {
+ instructions.push({ programAddress: address(MEMO_PROGRAM), accounts: [], data: new TextEncoder().encode(offer.request.externalId) });
+ }
+
+ const lifetime = details.recentBlockhash
+ ? { blockhash: details.recentBlockhash, lastValidBlockHeight: 0n }
+ : (await rpc.getLatestBlockhash().send()).value;
+ const feePayer = details.feePayer ? createNoopSigner(address(details.feePayerKey)) : signer;
+
+ const message = pipe(
+ createTransactionMessage({ version: 0 }),
+ (m) => setTransactionMessageFeePayerSigner(feePayer, m),
+ (m) => setTransactionMessageLifetimeUsingBlockhash(lifetime, m),
+ (m) => appendTransactionMessageInstructions(instructions, m),
+ );
+ const signed = await partiallySignTransactionMessageWithSigners(message);
+ const credential = {
+ challenge: offer.challenge,
+ source: signer.address,
+ payload: { type: 'transaction', transaction: getBase64EncodedWireTransaction(signed) },
+ };
+ return { authorization: `Payment ${b64urlEncode(canonicalJson(credential))}`, source: signer.address };
+}
+
+/** Decoded Payment-Receipt header, when the server sent one. */
+export function readMppReceipt(response) {
+ const header = response.headers.get('payment-receipt');
+ if (!header) return undefined;
+ try {
+ return b64urlDecodeJson(header);
+ } catch {
+ return undefined;
+ }
+}
diff --git a/packages/three-ws-cli/src/pay/permissions.js b/packages/three-ws-cli/src/pay/permissions.js
new file mode 100644
index 000000000..1443bb4e2
--- /dev/null
+++ b/packages/three-ws-cli/src/pay/permissions.js
@@ -0,0 +1,267 @@
+// The spending policy for `three-ws pay`, read from
+// ~/.config/three-ws/pay-permissions.json. Nothing is payable without it: a
+// missing file refuses every challenge. Limits are written as decimal strings in
+// whole units of the asset (USDC "0.10"), never floats.
+
+import fs from 'node:fs';
+import path from 'node:path';
+import { configDir } from '../paths.js';
+import { EXIT, PayError, REASON } from './errors.js';
+
+export const SOLANA_MAINNET = 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp';
+export const SOLANA_DEVNET = 'solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1';
+
+export const USDC_MAINNET = 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v';
+export const USDC_DEVNET = '4zMMC9srt5Ri5X14GAgXhaHii3GPDDDXvbX7sWR9gkk';
+
+/** Assets whose decimals are known without asking the chain. */
+export const KNOWN_DECIMALS = Object.freeze({
+ [USDC_MAINNET]: 6,
+ [USDC_DEVNET]: 6,
+ Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB: 6,
+});
+
+const NETWORK_ALIASES = {
+ solana: SOLANA_MAINNET,
+ mainnet: SOLANA_MAINNET,
+ 'solana-mainnet': SOLANA_MAINNET,
+ 'mainnet-beta': SOLANA_MAINNET,
+ 'solana-devnet': SOLANA_DEVNET,
+ devnet: SOLANA_DEVNET,
+};
+
+/** Canonical CAIP-2 id for a network name from a challenge, a flag or the permissions file. */
+export function normalizeNetwork(value) {
+ if (typeof value !== 'string') return null;
+ const v = value.trim();
+ if (NETWORK_ALIASES[v]) return NETWORK_ALIASES[v];
+ return v || null;
+}
+
+export function isSolanaNetwork(network) {
+ return typeof network === 'string' && network.startsWith('solana:');
+}
+
+export function permissionsPath(env) {
+ return env.vars.THREE_WS_PAY_PERMISSIONS || path.join(configDir(env), 'pay-permissions.json');
+}
+
+export function ledgerPath(env) {
+ return path.join(configDir(env), 'pay-ledger.json');
+}
+
+export const DEFAULT_PERMISSIONS = Object.freeze({
+ version: 1,
+ allowedOrigins: ['https://three.ws'],
+ allowedNetworks: [SOLANA_MAINNET],
+ allowedAssets: [USDC_MAINNET],
+ maxPerCall: '0.10',
+ maxPerDay: '1.00',
+ confirmAbove: '0.05',
+});
+
+/** Whole-unit decimal string to atomic units. Rejects anything that is not a plain non-negative decimal. */
+export function decimalToAtomic(text, decimals, field = 'amount') {
+ const s = String(text).trim();
+ const m = /^(\d+)(?:\.(\d+))?$/.exec(s);
+ if (!m) throw new Error(`${field} must be a plain decimal like "0.10", got "${text}"`);
+ const frac = m[2] ?? '';
+ if (frac.length > decimals) throw new Error(`${field} "${s}" has more than ${decimals} decimal places`);
+ return BigInt(m[1]) * 10n ** BigInt(decimals) + BigInt(frac.padEnd(decimals, '0') || '0');
+}
+
+export function atomicToDecimal(atomic, decimals) {
+ const n = BigInt(atomic);
+ const base = 10n ** BigInt(decimals);
+ const whole = n / base;
+ const frac = (n % base).toString().padStart(decimals, '0').replace(/0+$/, '');
+ return frac ? `${whole}.${frac}` : `${whole}`;
+}
+
+const LIMIT_FIELDS = ['maxPerCall', 'maxPerDay', 'confirmAbove'];
+
+/** Validate a parsed permissions object and return it normalized. Throws PayError(permissions_invalid). */
+export function validatePermissions(raw) {
+ const bad = (msg) => new PayError(EXIT.PERMISSION_DENIED, REASON.permissionsInvalid, `pay-permissions.json: ${msg}`);
+ if (!raw || typeof raw !== 'object' || Array.isArray(raw)) throw bad('must be a JSON object');
+ if (raw.version !== 1) throw bad('"version" must be 1');
+ const list = (key, required) => {
+ const v = raw[key];
+ if (v === undefined && !required) return undefined;
+ if (!Array.isArray(v) || v.some((x) => typeof x !== 'string' || !x.trim())) throw bad(`"${key}" must be an array of non-empty strings`);
+ return v.map((x) => x.trim());
+ };
+ const allowedOrigins = list('allowedOrigins', true).map((o) => {
+ let u;
+ try {
+ u = new URL(o);
+ } catch {
+ throw bad(`"allowedOrigins" entry "${o}" is not a URL origin like https://three.ws`);
+ }
+ return u.origin;
+ });
+ const allowedNetworks = list('allowedNetworks', true).map(normalizeNetwork);
+ const allowedAssets = list('allowedAssets', false) ?? [USDC_MAINNET, USDC_DEVNET];
+ const allowedPayees = list('allowedPayees', false);
+ for (const key of LIMIT_FIELDS) {
+ if (raw[key] === undefined) continue;
+ if (typeof raw[key] !== 'string') throw bad(`"${key}" must be a decimal string like "0.10"`);
+ try {
+ decimalToAtomic(raw[key], 18, key);
+ } catch (err) {
+ throw bad(err.message);
+ }
+ }
+ if (raw.maxPerCall === undefined) throw bad('"maxPerCall" is required so a single call has a ceiling');
+ return {
+ version: 1,
+ allowedOrigins,
+ allowedNetworks,
+ allowedAssets,
+ allowedPayees,
+ maxPerCall: raw.maxPerCall,
+ maxPerDay: raw.maxPerDay,
+ confirmAbove: raw.confirmAbove,
+ };
+}
+
+export function loadPermissions(env) {
+ const file = permissionsPath(env);
+ let text;
+ try {
+ text = fs.readFileSync(file, 'utf8');
+ } catch (err) {
+ if (err.code === 'ENOENT') {
+ throw new PayError(
+ EXIT.PERMISSION_DENIED,
+ REASON.permissionsMissing,
+ `No permissions file at ${file}. Nothing is payable until you create one: run \`three-ws pay init\`.`,
+ );
+ }
+ throw err;
+ }
+ let parsed;
+ try {
+ parsed = JSON.parse(text);
+ } catch (err) {
+ throw new PayError(EXIT.PERMISSION_DENIED, REASON.permissionsInvalid, `${file} is not valid JSON: ${err.message}`);
+ }
+ return validatePermissions(parsed);
+}
+
+/** Write the conservative default policy. Never overwrites an existing file. Returns the path, or null when one exists. */
+export function initPermissions(env, overrides = {}) {
+ const file = permissionsPath(env);
+ if (fs.existsSync(file)) return null;
+ const perms = validatePermissions({ ...DEFAULT_PERMISSIONS, ...overrides });
+ const out = Object.fromEntries(Object.entries(perms).filter(([, v]) => v !== undefined));
+ fs.mkdirSync(path.dirname(file), { recursive: true, mode: 0o700 });
+ fs.writeFileSync(file, `${JSON.stringify(out, null, 2)}\n`, { mode: 0o600 });
+ return file;
+}
+
+// --- daily ledger -------------------------------------------------------------
+
+function today(now) {
+ return new Date(now).toISOString().slice(0, 10);
+}
+
+function readLedger(env, now) {
+ try {
+ const data = JSON.parse(fs.readFileSync(ledgerPath(env), 'utf8'));
+ if (data.day === today(now) && data.spent && typeof data.spent === 'object') return data;
+ } catch {
+ // absent or unreadable ledger starts a fresh day
+ }
+ return { day: today(now), spent: {} };
+}
+
+const ledgerKey = (offer) => `${offer.network}|${offer.asset}`;
+
+/** Atomic units already spent today (UTC) on this network and asset. */
+export function spentToday(env, offer, now = Date.now()) {
+ return BigInt(readLedger(env, now).spent[ledgerKey(offer)] ?? '0');
+}
+
+/** Record a settled payment. Called only after the server accepted it. */
+export function recordSpend(env, offer, now = Date.now()) {
+ const ledger = readLedger(env, now);
+ const key = ledgerKey(offer);
+ ledger.spent[key] = (BigInt(ledger.spent[key] ?? '0') + offer.amountAtomic).toString();
+ const file = ledgerPath(env);
+ fs.mkdirSync(path.dirname(file), { recursive: true, mode: 0o700 });
+ fs.writeFileSync(file, `${JSON.stringify(ledger, null, 2)}\n`, { mode: 0o600 });
+}
+
+// --- evaluation ---------------------------------------------------------------
+
+export function offerDecimals(offer) {
+ if (Number.isInteger(offer.decimals)) return offer.decimals;
+ return KNOWN_DECIMALS[offer.asset] ?? null;
+}
+
+/**
+ * Check one offer against the policy. Returns `{ confirm: boolean }` when payable,
+ * throws PayError(PERMISSION_DENIED, <reason>) otherwise. `origin` is the origin of
+ * the URL being fetched, `maxFlag` the `--max` decimal string (or undefined).
+ */
+export function evaluateOffer(perms, offer, { origin, maxFlag, spent = 0n }) {
+ const refuse = (reason, message, detail) => new PayError(EXIT.PERMISSION_DENIED, reason, message, { offer: describeOffer(offer), ...detail });
+ if (!perms.allowedOrigins.includes(origin)) {
+ return fail(refuse(REASON.originNotAllowed, `${origin} is not in allowedOrigins. Add it to pay-permissions.json to pay there.`));
+ }
+ if (!perms.allowedNetworks.includes(offer.network)) {
+ return fail(refuse(REASON.networkNotAllowed, `network ${offer.network} is not in allowedNetworks.`));
+ }
+ if (!perms.allowedAssets.includes(offer.asset)) {
+ return fail(refuse(REASON.assetNotAllowed, `asset ${offer.asset} is not in allowedAssets.`));
+ }
+ if (perms.allowedPayees && !perms.allowedPayees.includes(offer.payTo)) {
+ return fail(refuse(REASON.payeeNotAllowed, `payee ${offer.payTo} is not in allowedPayees.`));
+ }
+ const decimals = offerDecimals(offer);
+ if (decimals === null) {
+ return fail(refuse(REASON.assetNotAllowed, `decimals for asset ${offer.asset} are unknown, so no limit can be applied.`));
+ }
+ const amount = offer.amountAtomic;
+ const perCall = decimalToAtomic(perms.maxPerCall, decimals, 'maxPerCall');
+ if (amount > perCall) {
+ return fail(refuse(REASON.perCallLimit, `${atomicToDecimal(amount, decimals)} exceeds maxPerCall ${perms.maxPerCall}.`));
+ }
+ if (maxFlag !== undefined) {
+ const cap = decimalToAtomic(maxFlag, decimals, '--max');
+ if (amount > cap) {
+ return fail(refuse(REASON.maxFlag, `${atomicToDecimal(amount, decimals)} exceeds --max ${maxFlag}.`));
+ }
+ }
+ if (perms.maxPerDay !== undefined) {
+ const perDay = decimalToAtomic(perms.maxPerDay, decimals, 'maxPerDay');
+ if (spent + amount > perDay) {
+ return fail(
+ refuse(
+ REASON.dailyLimit,
+ `${atomicToDecimal(amount, decimals)} on top of ${atomicToDecimal(spent, decimals)} already spent today exceeds maxPerDay ${perms.maxPerDay}.`,
+ ),
+ );
+ }
+ }
+ const confirm = perms.confirmAbove !== undefined && amount > decimalToAtomic(perms.confirmAbove, decimals, 'confirmAbove');
+ return { confirm };
+}
+
+function fail(err) {
+ throw err;
+}
+
+export function describeOffer(offer) {
+ const decimals = offerDecimals(offer);
+ return {
+ protocol: offer.protocol,
+ network: offer.network,
+ asset: offer.asset,
+ payTo: offer.payTo,
+ amountAtomic: offer.amountAtomic.toString(),
+ amount: decimals === null ? null : atomicToDecimal(offer.amountAtomic, decimals),
+ decimals,
+ };
+}
diff --git a/packages/three-ws-cli/src/pay/x402.js b/packages/three-ws-cli/src/pay/x402.js
new file mode 100644
index 000000000..fb04affe9
--- /dev/null
+++ b/packages/three-ws-cli/src/pay/x402.js
@@ -0,0 +1,46 @@
+// Settles one x402 offer: signs a Solana "exact" payment with @x402/svm and
+// returns the header that retries the request. v2 servers get PAYMENT-SIGNATURE,
+// v1 servers get X-PAYMENT, whichever the core client emits for the version.
+
+import { x402Client, x402HTTPClient } from '@x402/core/client';
+import { ExactSvmScheme } from '@x402/svm/exact/client';
+import { ExactSvmSchemeV1 } from '@x402/svm/exact/v1/client';
+import { EXIT, PayError, REASON } from './errors.js';
+import { SOLANA_DEVNET } from './permissions.js';
+
+export function rpcUrlFor(network, env) {
+ const override = env.vars.THREE_WS_SOLANA_RPC_URL;
+ if (override) return override;
+ return network === SOLANA_DEVNET ? 'https://api.devnet.solana.com' : 'https://api.mainnet-beta.solana.com';
+}
+
+/**
+ * @param {{ offer: object, signer: object, rpcUrl: string }} args
+ * @returns {Promise<{ headers: Record<string,string>, httpClient: x402HTTPClient }>}
+ */
+export async function signX402({ offer, signer, rpcUrl }) {
+ const client = new x402Client();
+ if (offer.version === 1) client.registerV1(offer.raw.network, new ExactSvmSchemeV1(signer, { rpcUrl }));
+ else client.register(offer.network, new ExactSvmScheme(signer, { rpcUrl }));
+ // Only the chosen option is offered to the client, so it cannot pay any other one.
+ const required = { ...offer.required, accepts: [offer.raw] };
+ let payload;
+ try {
+ payload = await client.createPaymentPayload(required);
+ } catch (err) {
+ throw new PayError(EXIT.ERROR, 'sign_failed', `Could not sign the x402 payment: ${err.message}`);
+ }
+ const httpClient = new x402HTTPClient(client);
+ return { headers: httpClient.encodePaymentSignatureHeader(payload), httpClient };
+}
+
+/** The settlement receipt from a paid response, when the server sent one. */
+export function readX402Receipt(httpClient, response) {
+ try {
+ return httpClient.getPaymentSettleResponse((name) => response.headers.get(name));
+ } catch {
+ return undefined;
+ }
+}
+
+export { REASON };
diff --git a/pages/labor-market.html b/pages/labor-market.html
index 0a424e2fc..b6f2c3079 100644
--- a/pages/labor-market.html
+++ b/pages/labor-market.html
@@ -190,6 +190,31 @@
<span class="lm-input-suffix"><input type="number" id="lm-post-reward" min="0" step="any" required placeholder="1000" /><span>$THREE</span></span>
</label>
</div>
+ <div class="lm-field-row">
+ <label class="lm-field">
+ <span>Evaluator</span>
+ <select id="lm-post-evaluator">
+ <option value="platform">Platform checker (default)</option>
+ <option value="poster">Me (the hiring agent)</option>
+ <option value="agent">A registry agent</option>
+ </select>
+ </label>
+ <label class="lm-field">
+ <span>Dispute window</span>
+ <select id="lm-post-window">
+ <option value="0">None (release at once)</option>
+ <option value="3600">1 hour</option>
+ <option value="21600">6 hours</option>
+ <option value="86400" selected>24 hours</option>
+ <option value="259200">3 days</option>
+ <option value="604800">7 days</option>
+ </select>
+ </label>
+ </div>
+ <label class="lm-field" id="lm-post-evalagent-wrap" hidden>
+ <span>Evaluator agent ID</span>
+ <input type="text" id="lm-post-evalagent" maxlength="64" placeholder="Registry agent UUID" />
+ </label>
<div class="lm-form-msg" id="lm-post-msg" role="alert"></div>
<div class="lm-form-actions">
<button type="button" class="lm-btn" data-close data-i18n="labor_market.cancel">Cancel</button>
diff --git a/pages/mcp-tools.html b/pages/mcp-tools.html
index 54c2d6b0f..42258039a 100644
--- a/pages/mcp-tools.html
+++ b/pages/mcp-tools.html
@@ -237,6 +237,14 @@
.mc-servers th, .mc-servers td { padding: 7px 10px; text-align: right; border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.mc-servers th:first-child, .mc-servers td:first-child { text-align: left; }
.mc-servers thead th { font-weight: 600; color: var(--ink-dim); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
+ .mc-grade { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6em; padding: 2px 8px; border-radius: 999px; font-weight: 700; font-size: 0.74rem; border: 1px solid currentColor; cursor: help; }
+ .mc-grade:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
+ .mc-grade[data-grade="A"] { color: var(--mc-read); }
+ .mc-grade[data-grade="B"] { color: var(--accent); }
+ .mc-grade[data-grade="C"], .mc-grade[data-grade="D"] { color: var(--mc-write); }
+ .mc-grade[data-grade="F"] { color: var(--ink-dim); }
+ .mc-servers th button.mc-sort { text-transform: inherit; letter-spacing: inherit; font-weight: inherit; color: inherit; text-decoration: none; }
+ .mc-servers th button.mc-sort:hover { color: var(--ink); text-decoration: underline; }
.mc-servers td code { font-family: var(--font-mono, ui-monospace, monospace); color: var(--ink); }
.mc-servers tbody tr:hover { background: var(--surface-1, rgba(255,255,255,0.03)); }
.mc-servers button { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@@ -300,7 +308,7 @@
<dl class="mc-stats" id="mc-stats" aria-live="polite"></dl>
<p class="mc-live" id="mc-live" role="status" aria-live="polite"></p>
<details class="mc-method" id="mc-method">
- <summary>How these numbers are calculated</summary>
+ <summary>Per-server trust grades and how these numbers are calculated</summary>
<p id="mc-method-text"></p>
<div class="mc-table-wrap"><table class="mc-servers" id="mc-servers"></table></div>
</details>
@@ -489,21 +497,53 @@
renderServerTable();
}
+ // Trust grade: a 0-100 score from facts the build checks (see docs/mcp.md).
+ // Sorting is a view over the table only; the order resets on reload.
+ let trustSort = null;
+
+ function trustFor(id) {
+ return catalog.servers.find((s) => s.id === id)?.trust ?? null;
+ }
+
+ function trustSummary(trust) {
+ const lines = trust.facts.map((f) => `${f.earned ? '+' : '-'} ${f.label} (${f.earned}/${f.weight}): ${f.detail}`);
+ return `Trust score ${trust.score}/100\n${lines.join('\n')}`;
+ }
+
function renderServerTable() {
- const rows = catalog.census.servers;
+ let rows = catalog.census.servers.slice();
+ if (trustSort) {
+ const dir = trustSort === 'desc' ? -1 : 1;
+ rows.sort((a, b) => dir * ((trustFor(a.id)?.score ?? 0) - (trustFor(b.id)?.score ?? 0)) || a.id.localeCompare(b.id));
+ }
+ const ariaSort = trustSort === 'desc' ? 'descending' : trustSort === 'asc' ? 'ascending' : 'none';
+ const arrow = trustSort === 'desc' ? ' \u2193' : trustSort === 'asc' ? ' \u2191' : '';
document.getElementById('mc-servers').innerHTML =
- '<thead><tr><th scope="col">Server</th><th scope="col">Transport</th><th scope="col">Tools</th><th scope="col">On by default</th><th scope="col">Read-only</th><th scope="col">Resources</th><th scope="col">Templates</th><th scope="col">Prompts</th></tr></thead><tbody>' +
+ `<thead><tr><th scope="col">Server</th><th scope="col" aria-sort="${ariaSort}"><button type="button" class="mc-sort" id="mc-sort-trust" title="Sort servers by trust grade">Trust${arrow}</button></th><th scope="col">Transport</th><th scope="col">Tools</th><th scope="col">On by default</th><th scope="col">Read-only</th><th scope="col">Resources</th><th scope="col">Templates</th><th scope="col">Prompts</th></tr></thead><tbody>` +
rows
- .map(
- (r) =>
+ .map((r) => {
+ const trust = trustFor(r.id);
+ const summary = trust ? esc(trustSummary(trust)) : '';
+ const badge = trust
+ ? `<span class="mc-grade" data-grade="${esc(trust.grade)}" tabindex="0" role="img" title="${summary}" aria-label="${summary}">${esc(trust.grade)} ${trust.score}</span>`
+ : '';
+ return (
`<tr><td><button type="button" data-server="${esc(r.id)}" title="Show only ${esc(r.title)} tools"><code>${esc(r.endpoint || r.id)}</code></button></td>` +
- `<td>${r.transport === 'remote' ? 'hosted' : 'npm'}</td><td>${r.tools}</td><td>${r.defaultOn}</td><td>${r.readOnly}</td>` +
- `<td>${r.resources}</td><td>${r.templates}</td><td>${r.prompts}</td></tr>`,
- )
+ `<td>${badge}</td><td>${r.transport === 'remote' ? 'hosted' : 'npm'}</td><td>${r.tools}</td><td>${r.defaultOn}</td><td>${r.readOnly}</td>` +
+ `<td>${r.resources}</td><td>${r.templates}</td><td>${r.prompts}</td></tr>`
+ );
+ })
.join('') +
'</tbody>';
}
+ document.getElementById('mc-servers').addEventListener('click', (event) => {
+ if (!event.target.closest('#mc-sort-trust')) return;
+ trustSort = trustSort === 'desc' ? 'asc' : 'desc';
+ renderServerTable();
+ document.getElementById('mc-sort-trust').focus();
+ });
+
document.getElementById('mc-servers').addEventListener('click', (event) => {
const btn = event.target.closest('button[data-server]');
if (!btn) return;
diff --git a/public/changelog-recent.json b/public/changelog-recent.json
index 23701cff3..b2bfca242 100644
--- a/public/changelog-recent.json
+++ b/public/changelog-recent.json
@@ -1,14 +1,24 @@
{
- "generated_at": "2026-10-23T21:54:53.583Z",
+ "generated_at": "2026-10-23T21:56:11.262Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
"url": "https://three.ws"
},
- "total": 4123,
+ "total": 4127,
"complete": false,
"full_feed": "/changelog.json",
"entries": [
+ {
+ "date": "2026-10-23",
+ "type": "launch",
+ "title": "Docs · Flappin UFO",
+ "summary": "How Flappin UFO runs are recorded, replayed and verified on the server, how the leaderboard ranks players, and how the ghost of the top run works.",
+ "link": "/docs/play-ufo",
+ "tags": [
+ "launch"
+ ]
+ },
{
"date": "2026-10-23",
"type": "launch",
@@ -39,6 +49,17 @@
"launch"
]
},
+ {
+ "date": "2026-10-23",
+ "type": "update",
+ "title": "Agent memory now learns from trade results, and the decision trail has a verify endpoint",
+ "summary": "When a snipe closes, its realized P&L, win or loss and hold time are written back onto the memories the agent recalled when it opened the trade. Recall then ranks those memories by a bounded outcome weight (0.65 to 1.35, halving every 45 days, never zero), so lessons from winners rise while memories tied to losses sink but still come back as warnings. Every recall hit now reports its rankScore and an outcome block with the weight, wins, losses and net USD so you can see why it ranked. The hash-chained decision trail can be re-walked at GET /api/agents/:id/decision-trail/verify, which returns ok, the head hash and the zero-based index of the first broken row after any edit. The reasoning ledger page now fetches it and links to it from the verified badge.",
+ "link": "/reasoning-ledger",
+ "tags": [
+ "feature",
+ "improvement"
+ ]
+ },
{
"date": "2026-10-23",
"type": "update",
@@ -90,6 +111,16 @@
"feature"
]
},
+ {
+ "date": "2026-10-23",
+ "type": "update",
+ "title": "Flappin UFO is back at /play/ufo with a verified leaderboard and a ghost of the top run",
+ "summary": "The arcade game returns as a native canvas game with touch and keyboard controls and levels that get longer and tighter. Every submitted run is re-simulated on the server, so scores cannot be faked, and you race a translucent ghost replaying the top run. Scores also appear on /rankings as the UFO High Score tab.",
+ "link": "/play/ufo",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-10-23",
"type": "update",
@@ -151,6 +182,16 @@
"feature"
]
},
+ {
+ "date": "2026-10-23",
+ "type": "update",
+ "title": "Robinhood Chain launches now show every venue, the deployer's track record and a dev-sold flag",
+ "summary": "The launches board stopped watching NOXA, which shut down in July, and now finds launches on every venue seen on chain. Each row names the launchpad, shows how many earlier tokens the deployer launched and how many it sold out of, and flags launches where the dev has already sold.",
+ "link": "/markets/robinhood",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-10-23",
"type": "update",
@@ -1523,46 +1564,6 @@
"tags": [
"launch"
]
- },
- {
- "date": "2026-10-10",
- "type": "launch",
- "title": "Docs · Anatomy (machines as interactive cutaways)",
- "summary": "How a one-line prompt becomes an interactive isometric cutaway: the spec format, progressive drawing while the model writes, the writer ladder, the /api/anatomy HTTP API and the open anatomy agent skill.",
- "link": "/docs/anatomy",
- "tags": [
- "launch"
- ]
- },
- {
- "date": "2026-10-10",
- "type": "launch",
- "title": "Docs · Destination Whitelist",
- "summary": "Cooldown allowlist for agent wallet payouts: step-up to add, propose-only agents, one-click cancel, instant removal.",
- "link": "/docs/destination-whitelist",
- "tags": [
- "launch"
- ]
- },
- {
- "date": "2026-10-10",
- "type": "launch",
- "title": "Docs · Developer plans",
- "summary": "Free, Builder, Scale and Enterprise API plans: monthly call quotas, burst and concurrency ceilings enforced on every v1 call with 429 and 402 responses, live usage in the dashboard, upgrades paid in credits, USDC or $THREE on Solana with proration and receipts, immediate key revocation, rotation with an overlap window, IP allowlists and per-key analytics.",
- "link": "/docs/developer-plans",
- "tags": [
- "launch"
- ]
- },
- {
- "date": "2026-10-10",
- "type": "launch",
- "title": "Docs · Event Markets",
- "summary": "Free-to-play prediction markets over three.ws events: how markets open, how they resolve from our own data with stored evidence, and how points are scored.",
- "link": "/docs/event-markets",
- "tags": [
- "launch"
- ]
}
]
}
diff --git a/public/changelog.json b/public/changelog.json
index 822317677..a92fc822d 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,11 +1,21 @@
{
- "generated_at": "2026-10-23T21:54:53.509Z",
+ "generated_at": "2026-10-23T21:56:11.233Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
"url": "https://three.ws"
},
"entries": [
+ {
+ "date": "2026-10-23",
+ "type": "launch",
+ "title": "Docs · Flappin UFO",
+ "summary": "How Flappin UFO runs are recorded, replayed and verified on the server, how the leaderboard ranks players, and how the ghost of the top run works.",
+ "link": "/docs/play-ufo",
+ "tags": [
+ "launch"
+ ]
+ },
{
"date": "2026-10-23",
"type": "launch",
@@ -36,6 +46,17 @@
"launch"
]
},
+ {
+ "date": "2026-10-23",
+ "type": "update",
+ "title": "Agent memory now learns from trade results, and the decision trail has a verify endpoint",
+ "summary": "When a snipe closes, its realized P&L, win or loss and hold time are written back onto the memories the agent recalled when it opened the trade. Recall then ranks those memories by a bounded outcome weight (0.65 to 1.35, halving every 45 days, never zero), so lessons from winners rise while memories tied to losses sink but still come back as warnings. Every recall hit now reports its rankScore and an outcome block with the weight, wins, losses and net USD so you can see why it ranked. The hash-chained decision trail can be re-walked at GET /api/agents/:id/decision-trail/verify, which returns ok, the head hash and the zero-based index of the first broken row after any edit. The reasoning ledger page now fetches it and links to it from the verified badge.",
+ "link": "/reasoning-ledger",
+ "tags": [
+ "feature",
+ "improvement"
+ ]
+ },
{
"date": "2026-10-23",
"type": "update",
@@ -87,6 +108,16 @@
"feature"
]
},
+ {
+ "date": "2026-10-23",
+ "type": "update",
+ "title": "Flappin UFO is back at /play/ufo with a verified leaderboard and a ghost of the top run",
+ "summary": "The arcade game returns as a native canvas game with touch and keyboard controls and levels that get longer and tighter. Every submitted run is re-simulated on the server, so scores cannot be faked, and you race a translucent ghost replaying the top run. Scores also appear on /rankings as the UFO High Score tab.",
+ "link": "/play/ufo",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-10-23",
"type": "update",
@@ -148,6 +179,16 @@
"feature"
]
},
+ {
+ "date": "2026-10-23",
+ "type": "update",
+ "title": "Robinhood Chain launches now show every venue, the deployer's track record and a dev-sold flag",
+ "summary": "The launches board stopped watching NOXA, which shut down in July, and now finds launches on every venue seen on chain. Each row names the launchpad, shows how many earlier tokens the deployer launched and how many it sold out of, and flags launches where the dev has already sold.",
+ "link": "/markets/robinhood",
+ "tags": [
+ "feature"
+ ]
+ },
{
"date": "2026-10-23",
"type": "update",
@@ -35451,8 +35492,8 @@
{
"date": "2026-06-19",
"type": "launch",
- "title": "Flappin UFO: retired demo",
- "summary": "The Flappin UFO arcade demo ran on an external deployment that is no longer online, so the game has been retired. The page now points visitors to the live three.ws experiences instead.",
+ "title": "Flappin UFO: thread the asteroids, climb the leaderboard",
+ "summary": "A hold-to-climb arcade game with levels that get longer and tighter. Every run is replayed and verified on the server, scores land on a real leaderboard, and you race the ghost of the top run.",
"link": "/play/ufo",
"tags": [
"launch"
diff --git a/public/changelog.xml b/public/changelog.xml
index 405530eec..beb968296 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -6,6 +6,14 @@
<atom:link href="https://three.ws/changelog.xml" rel="self" type="application/rss+xml"/>
<description>What's new on three.ws: features, improvements, and releases, newest first.</description>
<language>en</language>
+ <item>
+ <title>Docs · Flappin UFO</title>
+ <link>https://three.ws/docs/play-ufo</link>
+ <guid isPermaLink="false">2026-10-23:Docs · Flappin UFO</guid>
+ <pubDate>Fri, 23 Oct 2026 12:00:00 GMT</pubDate>
+ <category>launch</category>
+ <description>How Flappin UFO runs are recorded, replayed and verified on the server, how the leaderboard ranks players, and how the ghost of the top run works.</description>
+ </item>
<item>
<title>install.md</title>
<link>https://three.ws/install.md</link>
@@ -30,6 +38,14 @@
<category>launch</category>
<description>Put an interactive 3D model in any GitHub README. Paste a GLB, glTF, OBJ or STL URL and get a block GitHub renders as a rotatable viewer, sized to fit its markdown limit.</description>
</item>
+ <item>
+ <title>Agent memory now learns from trade results, and the decision trail has a verify endpoint</title>
+ <link>https://three.ws/reasoning-ledger</link>
+ <guid isPermaLink="false">2026-10-23:Agent memory now learns from trade results, and the decision trail has a verify endpoint</guid>
+ <pubDate>Fri, 23 Oct 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>When a snipe closes, its realized P&amp;L, win or loss and hold time are written back onto the memories the agent recalled when it opened the trade. Recall then ranks those memories by a bounded outcome weight (0.65 to 1.35, halving every 45 days, never zero), so lessons from winners rise while memories tied to losses sink but still come back as warnings. Every recall hit now reports its rankScore and an outcome block with the weight, wins, losses and net USD so you can see why it ranked. The hash-chained decision trail can be re-walked at GET /api/agents/:id/decision-trail/verify, which returns ok, the head hash and the zero-based index of the first broken row after any edit. The reasoning ledger page now fetches it and links to it from the verified badge.</description>
+ </item>
<item>
<title>Agents answer mentions of their own X account, in their own persona</title>
<link>https://three.ws/agents</link>
@@ -70,6 +86,14 @@
<category>feature</category>
<description>Forge results, avatar pages, the avatar dashboard and model pages now have a Copy as GitHub README 3D action. It simplifies the model to a size GitHub renders and puts a stl code fence on your clipboard that GitHub shows as an interactive 3D viewer in any README, issue or pull request. The same converter is a free API (POST /api/readme-3d) and has a live page at /readme-3d.</description>
</item>
+ <item>
+ <title>Flappin UFO is back at /play/ufo with a verified leaderboard and a ghost of the top run</title>
+ <link>https://three.ws/play/ufo</link>
+ <guid isPermaLink="false">2026-10-23:Flappin UFO is back at /play/ufo with a verified leaderboard and a ghost of the top run</guid>
+ <pubDate>Fri, 23 Oct 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>The arcade game returns as a native canvas game with touch and keyboard controls and levels that get longer and tighter. Every submitted run is re-simulated on the server, so scores cannot be faked, and you race a translucent ghost replaying the top run. Scores also appear on /rankings as the UFO High Score tab.</description>
+ </item>
<item>
<title>Leaked-wallet rescue runbook with a dry run, and live Jito tip accounts</title>
<link>https://three.ws/changelog</link>
@@ -118,6 +142,14 @@
<category>feature</category>
<description>Buy a credit bundle or a 24-hour or 30-day time pass at /mcp-plans and call paid MCP tools without paying each call over x402. Every account gets 3 free calls per tool. Credits are debited before a call, refunded when the tool errors, and every result reports creditsUsed and creditsRemaining. A drained plan falls back to the per-call payment-required error.</description>
</item>
+ <item>
+ <title>Robinhood Chain launches now show every venue, the deployer's track record and a dev-sold flag</title>
+ <link>https://three.ws/markets/robinhood</link>
+ <guid isPermaLink="false">2026-10-23:Robinhood Chain launches now show every venue, the deployer's track record and a dev-sold flag</guid>
+ <pubDate>Fri, 23 Oct 2026 12:00:00 GMT</pubDate>
+ <category>feature</category>
+ <description>The launches board stopped watching NOXA, which shut down in July, and now finds launches on every venue seen on chain. Each row names the launchpad, shows how many earlier tokens the deployer launched and how many it sold out of, and flags launches where the dev has already sold.</description>
+ </item>
<item>
<title>Splat Viewer: Spark 2.3 level of detail, saved camera hotspots, video export, and image to splat</title>
<link>https://three.ws/splat</link>
@@ -26967,12 +26999,12 @@ And all of it is public. Oracle Lab publishes the actual model: every weight, th
<description>Token-gated community warfare. Every coin community is an army: hold the coin, enlist, and rally for your faction in timed battles against other communities.</description>
</item>
<item>
- <title>Flappin UFO: retired demo</title>
+ <title>Flappin UFO: thread the asteroids, climb the leaderboard</title>
<link>https://three.ws/play/ufo</link>
- <guid isPermaLink="false">2026-06-19:Flappin UFO: retired demo</guid>
+ <guid isPermaLink="false">2026-06-19:Flappin UFO: thread the asteroids, climb the leaderboard</guid>
<pubDate>Fri, 19 Jun 2026 12:00:00 GMT</pubDate>
<category>launch</category>
- <description>The Flappin UFO arcade demo ran on an external deployment that is no longer online, so the game has been retired. The page now points visitors to the live three.ws experiences instead.</description>
+ <description>A hold-to-climb arcade game with levels that get longer and tighter. Every run is replayed and verified on the server, scores land on a real leaderboard, and you race the ghost of the top run.</description>
</item>
<item>
<title>Verify a Vanity Receipt</title>
diff --git a/public/dashboard/index.html b/public/dashboard/index.html
index 569ab59cc..74769bc83 100644
--- a/public/dashboard/index.html
+++ b/public/dashboard/index.html
@@ -1307,6 +1307,85 @@
clip: rect(0, 0, 0, 0);
border: 0;
}
+ .sugg-head {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 12px;
+ }
+ .sugg-head h3 {
+ margin: 0;
+ font-size: 16px;
+ overflow-wrap: anywhere;
+ }
+ .sugg-chip {
+ flex: none;
+ padding: 2px 10px;
+ border: 1px solid var(--border);
+ border-radius: 999px;
+ font-size: 12px;
+ }
+ .sugg-draft,
+ .sugg-installed {
+ border-color: var(--accent);
+ }
+ .sugg-invalid {
+ border-color: #ff6b6b;
+ color: #ff6b6b;
+ }
+ .sugg-pre {
+ margin: 8px 0;
+ padding: 10px;
+ max-height: 280px;
+ overflow: auto;
+ background: var(--panel);
+ border: 1px solid var(--border);
+ border-radius: 6px;
+ font: 12px/1.5 ui-monospace, monospace;
+ white-space: pre-wrap;
+ overflow-wrap: anywhere;
+ }
+ .sugg-pre:focus-visible,
+ .sugg-card summary:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+ }
+ .sugg-card summary {
+ cursor: pointer;
+ padding: 4px 0;
+ }
+ .sugg-steps {
+ margin: 6px 0;
+ padding-left: 20px;
+ overflow-wrap: anywhere;
+ }
+ .sugg-errors {
+ margin: 8px 0;
+ padding-left: 20px;
+ color: #ff6b6b;
+ }
+ .sugg-revision {
+ margin-top: 10px;
+ padding: 10px;
+ border: 1px dashed var(--border);
+ border-radius: 6px;
+ }
+ .sugg-actions {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 8px;
+ margin-top: 12px;
+ }
+ .sugg-error {
+ margin: 8px 0 0;
+ color: #ff6b6b;
+ }
+ .sugg-error:empty {
+ display: none;
+ }
+ .sugg-agent {
+ margin: 18px 0 8px;
+ }
</style>
<script
type="module"
diff --git a/public/data/trythreews-post-impact.json b/public/data/trythreews-post-impact.json
index 1f44a5e2c..d41035c08 100644
--- a/public/data/trythreews-post-impact.json
+++ b/public/data/trythreews-post-impact.json
@@ -2,7 +2,7 @@
"handle": "trythreews",
"mint": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",
"pool": "5ByL7MZoLABYnwMPZKPKjf4MGkZ7FeBzrAnos19Pre2z",
- "generatedAt": "2026-10-23T21:49:27.264Z",
+ "generatedAt": "2026-10-23T21:56:31.980Z",
"series": {
"barSeconds": 900,
"from": "2026-04-29T07:00:00.000Z",
@@ -44,6 +44,6410 @@
}
}
},
+ "points": [
+ {
+ "t": 1777435200,
+ "o": 0.00003486237930523772,
+ "c": 0.000026119201915206863,
+ "v": 106094.3597844273
+ },
+ {
+ "t": 1777449600,
+ "o": 0.000026119201915206863,
+ "c": 0.00003805945279400801,
+ "v": 130294.95129368294
+ },
+ {
+ "t": 1777464000,
+ "o": 0.00003805945279400801,
+ "c": 0.00011715910350940093,
+ "v": 133711.29813490587
+ },
+ {
+ "t": 1777478400,
+ "o": 0.00011715910350940093,
+ "c": 0.00004462805522920025,
+ "v": 255020.8749594402
+ },
+ {
+ "t": 1777492800,
+ "o": 0.00004462805522920025,
+ "c": 0.00006242579474937418,
+ "v": 64147.915795359324
+ },
+ {
+ "t": 1777507200,
+ "o": 0.00006242579474937418,
+ "c": 0.00004002050622179232,
+ "v": 18361.458244692436
+ },
+ {
+ "t": 1777521600,
+ "o": 0.00004002050622179232,
+ "c": 0.00007451312287167957,
+ "v": 20323.91538665088
+ },
+ {
+ "t": 1777536000,
+ "o": 0.00007451312287167957,
+ "c": 0.00005892566272486882,
+ "v": 26977.305717239666
+ },
+ {
+ "t": 1777550400,
+ "o": 0.00005892566272486882,
+ "c": 0.00012387998532418685,
+ "v": 54347.2606239966
+ },
+ {
+ "t": 1777564800,
+ "o": 0.00012387998532418685,
+ "c": 0.00009777600192450294,
+ "v": 14371.94838010857
+ },
+ {
+ "t": 1777579200,
+ "o": 0.00009777600192450294,
+ "c": 0.0001402982868884034,
+ "v": 376189.6964578765
+ },
+ {
+ "t": 1777593600,
+ "o": 0.0001402982868884034,
+ "c": 0.0001303435542373957,
+ "v": 80682.64141040898
+ },
+ {
+ "t": 1777608000,
+ "o": 0.0001303435542373957,
+ "c": 0.00013009752299082442,
+ "v": 19523.116564006334
+ },
+ {
+ "t": 1777622400,
+ "o": 0.00013009752299082442,
+ "c": 0.0001231035977846643,
+ "v": 10918.853422056367
+ },
+ {
+ "t": 1777636800,
+ "o": 0.0001231035977846643,
+ "c": 0.00017589384947738196,
+ "v": 30245.41959155353
+ },
+ {
+ "t": 1777651200,
+ "o": 0.00017589384947738196,
+ "c": 0.00008841500507954942,
+ "v": 31172.330852623618
+ },
+ {
+ "t": 1777665600,
+ "o": 0.00008841500507954942,
+ "c": 0.00008375139843364882,
+ "v": 27963.689804721533
+ },
+ {
+ "t": 1777680000,
+ "o": 0.00008375139843364882,
+ "c": 0.00009989089515074988,
+ "v": 13384.653536396281
+ },
+ {
+ "t": 1777694400,
+ "o": 0.00010150835188112094,
+ "c": 0.00009931877689860362,
+ "v": 5524.630085994459
+ },
+ {
+ "t": 1777708800,
+ "o": 0.00009931877689860362,
+ "c": 0.00009264756192319352,
+ "v": 15259.892216834745
+ },
+ {
+ "t": 1777723200,
+ "o": 0.00009264756192319352,
+ "c": 0.0000959940824382492,
+ "v": 26163.582890188623
+ },
+ {
+ "t": 1777737600,
+ "o": 0.0000959940824382492,
+ "c": 0.0000830386672283741,
+ "v": 10424.13904924664
+ },
+ {
+ "t": 1777752000,
+ "o": 0.0000830386672283741,
+ "c": 0.00007459219908214997,
+ "v": 14854.483012237573
+ },
+ {
+ "t": 1777766400,
+ "o": 0.00007459219908214997,
+ "c": 0.00007704246373410632,
+ "v": 11745.633647169963
+ },
+ {
+ "t": 1777780800,
+ "o": 0.00007704246373410632,
+ "c": 0.00007072281900020831,
+ "v": 10929.350149703692
+ },
+ {
+ "t": 1777795200,
+ "o": 0.00007072281900020831,
+ "c": 0.000079128421427791,
+ "v": 12269.299732869591
+ },
+ {
+ "t": 1777809600,
+ "o": 0.000079128421427791,
+ "c": 0.0000575200524570243,
+ "v": 6151.093350749482
+ },
+ {
+ "t": 1777824000,
+ "o": 0.0000575200524570243,
+ "c": 0.0000629343967290896,
+ "v": 6077.032611875406
+ },
+ {
+ "t": 1777838400,
+ "o": 0.0000629343967290896,
+ "c": 0.0000669992896310263,
+ "v": 4964.3678525089745
+ },
+ {
+ "t": 1777852800,
+ "o": 0.0000669992896310263,
+ "c": 0.00006981677868112713,
+ "v": 4481.830799015073
+ },
+ {
+ "t": 1777867200,
+ "o": 0.00006981677868112713,
+ "c": 0.00010765106598747586,
+ "v": 12660.016380880086
+ },
+ {
+ "t": 1777881600,
+ "o": 0.00010765106598747586,
+ "c": 0.00013544742157594136,
+ "v": 9868.949222121397
+ },
+ {
+ "t": 1777896000,
+ "o": 0.00013544742157594136,
+ "c": 0.00009352188750471482,
+ "v": 15613.213192685642
+ },
+ {
+ "t": 1777910400,
+ "o": 0.00009352188750471482,
+ "c": 0.00009460212264171811,
+ "v": 12608.801692971838
+ },
+ {
+ "t": 1777924800,
+ "o": 0.00009460212264171811,
+ "c": 0.0000926131570868735,
+ "v": 5156.879369097729
+ },
+ {
+ "t": 1777939200,
+ "o": 0.0000926131570868735,
+ "c": 0.00011140898611844782,
+ "v": 8378.838709535756
+ },
+ {
+ "t": 1777953600,
+ "o": 0.00011140898611844782,
+ "c": 0.00008913769271128502,
+ "v": 10384.218337412785
+ },
+ {
+ "t": 1777968000,
+ "o": 0.00008913769271128502,
+ "c": 0.00011618752995381678,
+ "v": 17086.18199878949
+ },
+ {
+ "t": 1777982400,
+ "o": 0.00011618752995381678,
+ "c": 0.00010321988679913791,
+ "v": 34492.99056353458
+ },
+ {
+ "t": 1777996800,
+ "o": 0.00010321988679913791,
+ "c": 0.00017172249592824136,
+ "v": 159178.57243497192
+ },
+ {
+ "t": 1778011200,
+ "o": 0.00017172249592824136,
+ "c": 0.00016321191416860002,
+ "v": 29230.20503433427
+ },
+ {
+ "t": 1778025600,
+ "o": 0.00016321191416860002,
+ "c": 0.00016380718322030573,
+ "v": 14127.683585353028
+ },
+ {
+ "t": 1778040000,
+ "o": 0.00016380718322030573,
+ "c": 0.00017636130332492246,
+ "v": 17274.625853049234
+ },
+ {
+ "t": 1778054400,
+ "o": 0.00017636130332492246,
+ "c": 0.00019359555344603379,
+ "v": 29751.569535136565
+ },
+ {
+ "t": 1778068800,
+ "o": 0.00019359555344603379,
+ "c": 0.00013450005115264212,
+ "v": 25869.20066250034
+ },
+ {
+ "t": 1778083200,
+ "o": 0.00013450005115264212,
+ "c": 0.00012132263569250988,
+ "v": 9198.421501289067
+ },
+ {
+ "t": 1778097600,
+ "o": 0.00012132263569250988,
+ "c": 0.00015416156513412823,
+ "v": 38878.83007192743
+ },
+ {
+ "t": 1778112000,
+ "o": 0.00015416156513412823,
+ "c": 0.00012539995230753442,
+ "v": 27550.148814599695
+ },
+ {
+ "t": 1778126400,
+ "o": 0.00012539995230753442,
+ "c": 0.00013552786875461797,
+ "v": 17862.48002253524
+ },
+ {
+ "t": 1778140800,
+ "o": 0.00013552786875461797,
+ "c": 0.0001412545588056042,
+ "v": 8507.828054533227
+ },
+ {
+ "t": 1778155200,
+ "o": 0.0001412545588056042,
+ "c": 0.00012964547972729056,
+ "v": 7521.262185155001
+ },
+ {
+ "t": 1778169600,
+ "o": 0.00012964547972729056,
+ "c": 0.00011169796717069116,
+ "v": 29674.78224461695
+ },
+ {
+ "t": 1778184000,
+ "o": 0.00011169796717069116,
+ "c": 0.00008587593829955496,
+ "v": 35774.27658597752
+ },
+ {
+ "t": 1778198400,
+ "o": 0.00008587593829955496,
+ "c": 0.00010352825770511944,
+ "v": 10569.34894908247
+ },
+ {
+ "t": 1778212800,
+ "o": 0.00010352825770511944,
+ "c": 0.00023590184437187375,
+ "v": 305730.17114034184
+ },
+ {
+ "t": 1778227200,
+ "o": 0.00023590184437187375,
+ "c": 0.0001882920457221415,
+ "v": 74687.96901055558
+ },
+ {
+ "t": 1778241600,
+ "o": 0.0001882920457221415,
+ "c": 0.00018082722000675294,
+ "v": 32047.145035315687
+ },
+ {
+ "t": 1778256000,
+ "o": 0.00018082722000675294,
+ "c": 0.00024354446268489585,
+ "v": 74957.70911075581
+ },
+ {
+ "t": 1778270400,
+ "o": 0.00024354446268489585,
+ "c": 0.0002363073656060761,
+ "v": 39097.26836785707
+ },
+ {
+ "t": 1778284800,
+ "o": 0.0002363073656060761,
+ "c": 0.00022468439369242703,
+ "v": 20372.522676521083
+ },
+ {
+ "t": 1778299200,
+ "o": 0.00022468439369242703,
+ "c": 0.00020215949997442467,
+ "v": 35078.17811125776
+ },
+ {
+ "t": 1778313600,
+ "o": 0.00020215949997442467,
+ "c": 0.0003606175089360813,
+ "v": 141337.957637953
+ },
+ {
+ "t": 1778328000,
+ "o": 0.0003606175089360813,
+ "c": 0.0003661433573277432,
+ "v": 69449.95949846615
+ },
+ {
+ "t": 1778342400,
+ "o": 0.0003661433573277432,
+ "c": 0.0002725365938806865,
+ "v": 52072.74259027161
+ },
+ {
+ "t": 1778356800,
+ "o": 0.0002725365938806865,
+ "c": 0.00032382658241403246,
+ "v": 22306.291446718325
+ },
+ {
+ "t": 1778371200,
+ "o": 0.00032382658241403246,
+ "c": 0.0003231939581006882,
+ "v": 11379.174630523356
+ },
+ {
+ "t": 1778385600,
+ "o": 0.0003231939581006882,
+ "c": 0.00033456178592915583,
+ "v": 19274.05151964916
+ },
+ {
+ "t": 1778400000,
+ "o": 0.00033456178592915583,
+ "c": 0.0002849534335525175,
+ "v": 16064.734459624538
+ },
+ {
+ "t": 1778414400,
+ "o": 0.0002849534335525175,
+ "c": 0.00027858575477747487,
+ "v": 23376.137590259867
+ },
+ {
+ "t": 1778428800,
+ "o": 0.00027858575477747487,
+ "c": 0.00035092226429842525,
+ "v": 38040.99130343182
+ },
+ {
+ "t": 1778443200,
+ "o": 0.00035092226429842525,
+ "c": 0.00038077755168934563,
+ "v": 40752.32757966859
+ },
+ {
+ "t": 1778457600,
+ "o": 0.00038077755168934563,
+ "c": 0.0003236183376221529,
+ "v": 15200.08652573171
+ },
+ {
+ "t": 1778472000,
+ "o": 0.0003236183376221529,
+ "c": 0.000335388034204009,
+ "v": 40860.9133616552
+ },
+ {
+ "t": 1778486400,
+ "o": 0.000335388034204009,
+ "c": 0.0003101501791589,
+ "v": 31856.906219629986
+ },
+ {
+ "t": 1778500800,
+ "o": 0.0003101501791589,
+ "c": 0.0005333278701877271,
+ "v": 172134.47619587925
+ },
+ {
+ "t": 1778515200,
+ "o": 0.0005333278701877271,
+ "c": 0.0004395962378994564,
+ "v": 59930.11112560073
+ },
+ {
+ "t": 1778529600,
+ "o": 0.0004395962378994564,
+ "c": 0.0003407959828166411,
+ "v": 70681.07435633271
+ },
+ {
+ "t": 1778544000,
+ "o": 0.0003407959828166411,
+ "c": 0.00032011135999662055,
+ "v": 36875.63308882677
+ },
+ {
+ "t": 1778558400,
+ "o": 0.00032011135999662055,
+ "c": 0.00030111295825878957,
+ "v": 41049.69917029199
+ },
+ {
+ "t": 1778572800,
+ "o": 0.00030111295825878957,
+ "c": 0.0002704181349868597,
+ "v": 26744.690920283087
+ },
+ {
+ "t": 1778587200,
+ "o": 0.0002704181349868597,
+ "c": 0.00022601648376689763,
+ "v": 96788.1799705182
+ },
+ {
+ "t": 1778601600,
+ "o": 0.00022601648376689763,
+ "c": 0.00023065044545967945,
+ "v": 41281.64393370589
+ },
+ {
+ "t": 1778616000,
+ "o": 0.00023065044545967945,
+ "c": 0.00024640992199798496,
+ "v": 52842.164500584695
+ },
+ {
+ "t": 1778630400,
+ "o": 0.00024640992199798496,
+ "c": 0.000273416144618311,
+ "v": 15514.631942059035
+ },
+ {
+ "t": 1778644800,
+ "o": 0.000273416144618311,
+ "c": 0.00029703338488619734,
+ "v": 31283.58236551729
+ },
+ {
+ "t": 1778659200,
+ "o": 0.00029703338488619734,
+ "c": 0.0002528550642526006,
+ "v": 14594.26683000408
+ },
+ {
+ "t": 1778673600,
+ "o": 0.0002528550642526006,
+ "c": 0.0002460059419330159,
+ "v": 29428.158843430756
+ },
+ {
+ "t": 1778688000,
+ "o": 0.0002460059419330159,
+ "c": 0.00019706468657016153,
+ "v": 18824.998724112927
+ },
+ {
+ "t": 1778702400,
+ "o": 0.00019706468657016153,
+ "c": 0.0002524485722232266,
+ "v": 37059.83993528327
+ },
+ {
+ "t": 1778716800,
+ "o": 0.0002524485722232266,
+ "c": 0.00024736595691691066,
+ "v": 41784.35973373052
+ },
+ {
+ "t": 1778731200,
+ "o": 0.00024736595691691066,
+ "c": 0.0002663724989512389,
+ "v": 16952.06760418444
+ },
+ {
+ "t": 1778745600,
+ "o": 0.0002663724989512389,
+ "c": 0.0002451430234940201,
+ "v": 10688.854743667247
+ },
+ {
+ "t": 1778760000,
+ "o": 0.0002451430234940201,
+ "c": 0.0002500136931131284,
+ "v": 14689.940271465657
+ },
+ {
+ "t": 1778774400,
+ "o": 0.0002500136931131284,
+ "c": 0.00037757577791665433,
+ "v": 209877.45676346793
+ },
+ {
+ "t": 1778788800,
+ "o": 0.00037757577791665433,
+ "c": 0.0003510215988662968,
+ "v": 32318.779511326167
+ },
+ {
+ "t": 1778803200,
+ "o": 0.0003510215988662968,
+ "c": 0.00034983819861748514,
+ "v": 47465.83140810646
+ },
+ {
+ "t": 1778817600,
+ "o": 0.00034983819861748514,
+ "c": 0.00038721554902802687,
+ "v": 35899.799488129116
+ },
+ {
+ "t": 1778832000,
+ "o": 0.00038721554902802687,
+ "c": 0.00031182091301174464,
+ "v": 31855.283826905856
+ },
+ {
+ "t": 1778846400,
+ "o": 0.00031182091301174464,
+ "c": 0.00031058720267457756,
+ "v": 100190.17647378126
+ },
+ {
+ "t": 1778860800,
+ "o": 0.00031058720267457756,
+ "c": 0.00036584986775449224,
+ "v": 113234.1010180679
+ },
+ {
+ "t": 1778875200,
+ "o": 0.00036584986775449224,
+ "c": 0.00033027134412237007,
+ "v": 24447.340987009477
+ },
+ {
+ "t": 1778889600,
+ "o": 0.00033027134412237007,
+ "c": 0.00027956283363004007,
+ "v": 11336.163610562946
+ },
+ {
+ "t": 1778904000,
+ "o": 0.00027956283363004007,
+ "c": 0.00039277717282169264,
+ "v": 71747.18672032135
+ },
+ {
+ "t": 1778918400,
+ "o": 0.00039277717282169264,
+ "c": 0.00037951855072246765,
+ "v": 41809.55948317559
+ },
+ {
+ "t": 1778932800,
+ "o": 0.00037951855072246765,
+ "c": 0.0004320285588637612,
+ "v": 52398.97592885389
+ },
+ {
+ "t": 1778947200,
+ "o": 0.0004320285588637612,
+ "c": 0.00041001773183789474,
+ "v": 30606.72853649598
+ },
+ {
+ "t": 1778961600,
+ "o": 0.00041001773183789474,
+ "c": 0.0004480610444813641,
+ "v": 67835.4189764433
+ },
+ {
+ "t": 1778976000,
+ "o": 0.0004480610444813641,
+ "c": 0.0004170080093357936,
+ "v": 18439.28960187874
+ },
+ {
+ "t": 1778990400,
+ "o": 0.0004170080093357936,
+ "c": 0.000400093877262413,
+ "v": 24878.094888744316
+ },
+ {
+ "t": 1779004800,
+ "o": 0.000400093877262413,
+ "c": 0.0003830128248691869,
+ "v": 23206.298042199032
+ },
+ {
+ "t": 1779019200,
+ "o": 0.0003830128248691869,
+ "c": 0.0003551565245484843,
+ "v": 10824.861673427353
+ },
+ {
+ "t": 1779033600,
+ "o": 0.0003551565245484843,
+ "c": 0.0003690084041192789,
+ "v": 12894.571815989219
+ },
+ {
+ "t": 1779048000,
+ "o": 0.0003690084041192789,
+ "c": 0.0002904921425896175,
+ "v": 22209.3501988825
+ },
+ {
+ "t": 1779062400,
+ "o": 0.0002904921425896175,
+ "c": 0.0003241814094520417,
+ "v": 14346.763891211625
+ },
+ {
+ "t": 1779076800,
+ "o": 0.0003241814094520417,
+ "c": 0.0003049926876991966,
+ "v": 14098.03778194123
+ },
+ {
+ "t": 1779091200,
+ "o": 0.0003049926876991966,
+ "c": 0.00032275763644280955,
+ "v": 21520.960380839675
+ },
+ {
+ "t": 1779105600,
+ "o": 0.00032275763644280955,
+ "c": 0.00027339782911014126,
+ "v": 12141.0359383007
+ },
+ {
+ "t": 1779120000,
+ "o": 0.00027339782911014126,
+ "c": 0.00023757328334132345,
+ "v": 26152.913973583934
+ },
+ {
+ "t": 1779134400,
+ "o": 0.00023757328334132345,
+ "c": 0.00024012273914570265,
+ "v": 26981.73725818846
+ },
+ {
+ "t": 1779148800,
+ "o": 0.00024012273914570265,
+ "c": 0.0002153507785518448,
+ "v": 12030.297945939292
+ },
+ {
+ "t": 1779163200,
+ "o": 0.0002153507785518448,
+ "c": 0.00022964851180043842,
+ "v": 10872.70928512087
+ },
+ {
+ "t": 1779177600,
+ "o": 0.00022964851180043842,
+ "c": 0.00023267527708852569,
+ "v": 16961.528502960802
+ },
+ {
+ "t": 1779192000,
+ "o": 0.00023267527708852569,
+ "c": 0.0002815610919407209,
+ "v": 22153.54351732082
+ },
+ {
+ "t": 1779206400,
+ "o": 0.0002815610919407209,
+ "c": 0.00026783735814089676,
+ "v": 11744.145602691442
+ },
+ {
+ "t": 1779220800,
+ "o": 0.00026783735814089676,
+ "c": 0.00027519143083145617,
+ "v": 4479.466876478356
+ },
+ {
+ "t": 1779235200,
+ "o": 0.00027519143083145617,
+ "c": 0.00025816458697347055,
+ "v": 6849.645219589495
+ },
+ {
+ "t": 1779249600,
+ "o": 0.00025816458697347055,
+ "c": 0.0002799679785927601,
+ "v": 10609.196697076995
+ },
+ {
+ "t": 1779264000,
+ "o": 0.0002799679785927601,
+ "c": 0.00027594348148737976,
+ "v": 10672.937678447626
+ },
+ {
+ "t": 1779278400,
+ "o": 0.00027594348148737976,
+ "c": 0.0002515234661492463,
+ "v": 16667.53800140427
+ },
+ {
+ "t": 1779292800,
+ "o": 0.0002515234661492463,
+ "c": 0.00023887007074858895,
+ "v": 11381.224448536865
+ },
+ {
+ "t": 1779307200,
+ "o": 0.00023887007074858895,
+ "c": 0.00020084362364984008,
+ "v": 17142.28875842202
+ },
+ {
+ "t": 1779321600,
+ "o": 0.00020084362364984008,
+ "c": 0.00019003848248169437,
+ "v": 10117.318684828138
+ },
+ {
+ "t": 1779336000,
+ "o": 0.00019003848248169437,
+ "c": 0.00019333128717671316,
+ "v": 6661.075679608869
+ },
+ {
+ "t": 1779350400,
+ "o": 0.00019333128717671316,
+ "c": 0.00020137267092328067,
+ "v": 7558.552801119882
+ },
+ {
+ "t": 1779364800,
+ "o": 0.00020137267092328067,
+ "c": 0.0001957412679618518,
+ "v": 9111.747234505987
+ },
+ {
+ "t": 1779379200,
+ "o": 0.0001957412679618518,
+ "c": 0.00016404471163340305,
+ "v": 11712.436671370167
+ },
+ {
+ "t": 1779393600,
+ "o": 0.00016404471163340305,
+ "c": 0.00017029025120977943,
+ "v": 10248.992426309862
+ },
+ {
+ "t": 1779408000,
+ "o": 0.00017029025120977943,
+ "c": 0.0001662980767632784,
+ "v": 6450.620676016446
+ },
+ {
+ "t": 1779422400,
+ "o": 0.0001662980767632784,
+ "c": 0.0001980181852311755,
+ "v": 14690.756666375648
+ },
+ {
+ "t": 1779436800,
+ "o": 0.0001980181852311755,
+ "c": 0.00021180228600467088,
+ "v": 6478.874420134513
+ },
+ {
+ "t": 1779451200,
+ "o": 0.00021180228600467088,
+ "c": 0.0001729514190160457,
+ "v": 6437.748066213616
+ },
+ {
+ "t": 1779465600,
+ "o": 0.0001729514190160457,
+ "c": 0.0001767669061541028,
+ "v": 5947.867070217201
+ },
+ {
+ "t": 1779480000,
+ "o": 0.0001767669061541028,
+ "c": 0.00016658486546330988,
+ "v": 2364.669534542772
+ },
+ {
+ "t": 1779494400,
+ "o": 0.00016658486546330988,
+ "c": 0.00017377091442035596,
+ "v": 3064.064358064793
+ },
+ {
+ "t": 1779508800,
+ "o": 0.00017377091442035596,
+ "c": 0.0001885784911181534,
+ "v": 2824.2857937514327
+ },
+ {
+ "t": 1779523200,
+ "o": 0.0001885784911181534,
+ "c": 0.00016879093932047843,
+ "v": 4370.64726043565
+ },
+ {
+ "t": 1779537600,
+ "o": 0.00016879093932047843,
+ "c": 0.00018354673913974088,
+ "v": 2742.6834932523475
+ },
+ {
+ "t": 1779552000,
+ "o": 0.00018354673913974088,
+ "c": 0.00020045425119718312,
+ "v": 3762.347268534946
+ },
+ {
+ "t": 1779566400,
+ "o": 0.00020045425119718312,
+ "c": 0.00019162405186082135,
+ "v": 8535.76467696774
+ },
+ {
+ "t": 1779580800,
+ "o": 0.00019162405186082135,
+ "c": 0.0001864210276901245,
+ "v": 1504.9188495697288
+ },
+ {
+ "t": 1779595200,
+ "o": 0.0001864210276901245,
+ "c": 0.00021310023554321663,
+ "v": 6693.028985216295
+ },
+ {
+ "t": 1779609600,
+ "o": 0.00021310023554321663,
+ "c": 0.00029659406298639015,
+ "v": 35764.31130435044
+ },
+ {
+ "t": 1779624000,
+ "o": 0.00029659406298639015,
+ "c": 0.0002558571918118463,
+ "v": 5887.524219772161
+ },
+ {
+ "t": 1779638400,
+ "o": 0.0002558571918118463,
+ "c": 0.00028793107044340144,
+ "v": 8387.631719502682
+ },
+ {
+ "t": 1779652800,
+ "o": 0.00028793107044340144,
+ "c": 0.00029873779824975545,
+ "v": 6329.982190599296
+ },
+ {
+ "t": 1779667200,
+ "o": 0.00029873779824975545,
+ "c": 0.00025271017971067013,
+ "v": 11306.355159902769
+ },
+ {
+ "t": 1779681600,
+ "o": 0.00025271017971067013,
+ "c": 0.00027041477700109445,
+ "v": 4813.0415925241905
+ },
+ {
+ "t": 1779696000,
+ "o": 0.00027041477700109445,
+ "c": 0.0002595827064231499,
+ "v": 13281.358573248068
+ },
+ {
+ "t": 1779710400,
+ "o": 0.0002595827064231499,
+ "c": 0.000240113940294461,
+ "v": 14939.67664561338
+ },
+ {
+ "t": 1779724800,
+ "o": 0.000240113940294461,
+ "c": 0.0002279647992564196,
+ "v": 8948.299607467474
+ },
+ {
+ "t": 1779739200,
+ "o": 0.0002279647992564196,
+ "c": 0.0002135252893764644,
+ "v": 3219.496663171245
+ },
+ {
+ "t": 1779753600,
+ "o": 0.0002135252893764644,
+ "c": 0.00022415889831416136,
+ "v": 3952.4459622466206
+ },
+ {
+ "t": 1779768000,
+ "o": 0.00022415889831416136,
+ "c": 0.00024976602861300753,
+ "v": 2131.394911671537
+ },
+ {
+ "t": 1779782400,
+ "o": 0.00024976602861300753,
+ "c": 0.0002476035752489929,
+ "v": 5713.909307131276
+ },
+ {
+ "t": 1779796800,
+ "o": 0.0002476035752489929,
+ "c": 0.00022669618602071635,
+ "v": 3372.3159419213803
+ },
+ {
+ "t": 1779811200,
+ "o": 0.00022669618602071635,
+ "c": 0.00020866877645675644,
+ "v": 9031.648391875437
+ },
+ {
+ "t": 1779825600,
+ "o": 0.00020866877645675644,
+ "c": 0.0001895478820188566,
+ "v": 8501.768782069397
+ },
+ {
+ "t": 1779840000,
+ "o": 0.0001895478820188566,
+ "c": 0.00021359774084188683,
+ "v": 16547.708921727208
+ },
+ {
+ "t": 1779854400,
+ "o": 0.00021359774084188683,
+ "c": 0.00025845101524302725,
+ "v": 23759.498504791336
+ },
+ {
+ "t": 1779868800,
+ "o": 0.00025845101524302725,
+ "c": 0.00025224162905635665,
+ "v": 23069.135157524262
+ },
+ {
+ "t": 1779883200,
+ "o": 0.00025224162905635665,
+ "c": 0.0002426579171392009,
+ "v": 14453.067090404616
+ },
+ {
+ "t": 1779897600,
+ "o": 0.0002426579171392009,
+ "c": 0.0002459273061466937,
+ "v": 9279.383709870926
+ },
+ {
+ "t": 1779912000,
+ "o": 0.0002459273061466937,
+ "c": 0.0002361138212909787,
+ "v": 11157.841198534656
+ },
+ {
+ "t": 1779926400,
+ "o": 0.0002361138212909787,
+ "c": 0.0002282917802419997,
+ "v": 6596.304521765993
+ },
+ {
+ "t": 1779940800,
+ "o": 0.0002282917802419997,
+ "c": 0.0002235987494577508,
+ "v": 6242.562631414021
+ },
+ {
+ "t": 1779955200,
+ "o": 0.0002235987494577508,
+ "c": 0.00021600535049871316,
+ "v": 7171.090013439349
+ },
+ {
+ "t": 1779969600,
+ "o": 0.00021600535049871316,
+ "c": 0.0002095641502590075,
+ "v": 3508.2730727104527
+ },
+ {
+ "t": 1779984000,
+ "o": 0.0002095641502590075,
+ "c": 0.0002187162525963087,
+ "v": 6357.917189490481
+ },
+ {
+ "t": 1779998400,
+ "o": 0.0002187162525963087,
+ "c": 0.00019349131868574853,
+ "v": 11125.064373410274
+ },
+ {
+ "t": 1780012800,
+ "o": 0.00019349131868574853,
+ "c": 0.00020690543074711092,
+ "v": 6094.971798576383
+ },
+ {
+ "t": 1780027200,
+ "o": 0.00020690543074711092,
+ "c": 0.00021669759694900787,
+ "v": 4544.551253976721
+ },
+ {
+ "t": 1780041600,
+ "o": 0.00021669759694900787,
+ "c": 0.0001954903134289674,
+ "v": 6626.813849168795
+ },
+ {
+ "t": 1780056000,
+ "o": 0.0001954903134289674,
+ "c": 0.0002428053554632998,
+ "v": 7975.986944168802
+ },
+ {
+ "t": 1780070400,
+ "o": 0.0002428053554632998,
+ "c": 0.0002972889252499098,
+ "v": 78464.87751669175
+ },
+ {
+ "t": 1780084800,
+ "o": 0.0002972889252499098,
+ "c": 0.0002461188433570415,
+ "v": 21600.694344805295
+ },
+ {
+ "t": 1780099200,
+ "o": 0.0002461188433570415,
+ "c": 0.00024606325091544573,
+ "v": 6700.33072029465
+ },
+ {
+ "t": 1780113600,
+ "o": 0.00024606325091544573,
+ "c": 0.00023738060792284545,
+ "v": 16465.83964434146
+ },
+ {
+ "t": 1780128000,
+ "o": 0.00023738060792284545,
+ "c": 0.0002468891925678773,
+ "v": 14423.082567916534
+ },
+ {
+ "t": 1780142400,
+ "o": 0.0002468891925678773,
+ "c": 0.00034892940738788964,
+ "v": 39109.02142281449
+ },
+ {
+ "t": 1780156800,
+ "o": 0.00034892940738788964,
+ "c": 0.00037188877952825137,
+ "v": 155761.89112270024
+ },
+ {
+ "t": 1780171200,
+ "o": 0.00037188877952825137,
+ "c": 0.00033710396236607333,
+ "v": 26969.11598346747
+ },
+ {
+ "t": 1780185600,
+ "o": 0.00033710396236607333,
+ "c": 0.0003364379254357259,
+ "v": 20657.304098598655
+ },
+ {
+ "t": 1780200000,
+ "o": 0.0003364379254357259,
+ "c": 0.0003405079435092935,
+ "v": 17062.64349442845
+ },
+ {
+ "t": 1780214400,
+ "o": 0.0003405079435092935,
+ "c": 0.00031858169093908434,
+ "v": 13445.895116464473
+ },
+ {
+ "t": 1780228800,
+ "o": 0.00031858169093908434,
+ "c": 0.00028605765068724436,
+ "v": 10459.1793466714
+ },
+ {
+ "t": 1780243200,
+ "o": 0.00028605765068724436,
+ "c": 0.00027098969850809416,
+ "v": 12516.294970442194
+ },
+ {
+ "t": 1780257600,
+ "o": 0.00027098969850809416,
+ "c": 0.0003403144583647595,
+ "v": 57390.49839094826
+ },
+ {
+ "t": 1780272000,
+ "o": 0.0003403144583647595,
+ "c": 0.0003084343617106025,
+ "v": 46215.56064647216
+ },
+ {
+ "t": 1780286400,
+ "o": 0.0003084343617106025,
+ "c": 0.00031703639570526844,
+ "v": 26933.63357126198
+ },
+ {
+ "t": 1780300800,
+ "o": 0.00031703639570526844,
+ "c": 0.0003180439001867404,
+ "v": 24666.064461565413
+ },
+ {
+ "t": 1780315200,
+ "o": 0.0003180439001867404,
+ "c": 0.002605505473348537,
+ "v": 5338737.107177383
+ },
+ {
+ "t": 1780329600,
+ "o": 0.002605505473348537,
+ "c": 0.002226329602673233,
+ "v": 1283353.5830862965
+ },
+ {
+ "t": 1780344000,
+ "o": 0.002226329602673233,
+ "c": 0.002767498854489177,
+ "v": 860387.5726234328
+ },
+ {
+ "t": 1780358400,
+ "o": 0.002767498854489177,
+ "c": 0.0026611372660581088,
+ "v": 401903.3993375821
+ },
+ {
+ "t": 1780372800,
+ "o": 0.0026611372660581088,
+ "c": 0.0038728738631112424,
+ "v": 1262911.9065719242
+ },
+ {
+ "t": 1780387200,
+ "o": 0.0038728738631112424,
+ "c": 0.003967740041121481,
+ "v": 543281.5359420673
+ },
+ {
+ "t": 1780401600,
+ "o": 0.003967740041121481,
+ "c": 0.0029237378029544248,
+ "v": 601465.852813262
+ },
+ {
+ "t": 1780416000,
+ "o": 0.0029237378029544248,
+ "c": 0.003610974871512775,
+ "v": 465588.51932422456
+ },
+ {
+ "t": 1780430400,
+ "o": 0.003610974871512775,
+ "c": 0.004208041696160733,
+ "v": 402669.6684677119
+ },
+ {
+ "t": 1780444800,
+ "o": 0.004208041696160733,
+ "c": 0.0037440397258725567,
+ "v": 224833.45704576018
+ },
+ {
+ "t": 1780459200,
+ "o": 0.0037440397258725567,
+ "c": 0.0038599762193963585,
+ "v": 250453.17036916577
+ },
+ {
+ "t": 1780473600,
+ "o": 0.0038599762193963585,
+ "c": 0.0032992400160048565,
+ "v": 272760.0812983783
+ },
+ {
+ "t": 1780488000,
+ "o": 0.0032992400160048565,
+ "c": 0.004851138834390885,
+ "v": 563457.7063884449
+ },
+ {
+ "t": 1780502400,
+ "o": 0.004851138834390885,
+ "c": 0.007244306846812038,
+ "v": 1141961.051371891
+ },
+ {
+ "t": 1780516800,
+ "o": 0.007244306846812038,
+ "c": 0.006290173729621211,
+ "v": 1348065.7994597608
+ },
+ {
+ "t": 1780531200,
+ "o": 0.006290173729621211,
+ "c": 0.007931966240069381,
+ "v": 894230.5276017482
+ },
+ {
+ "t": 1780545600,
+ "o": 0.007931966240069381,
+ "c": 0.012217082390760718,
+ "v": 2445173.5700938506
+ },
+ {
+ "t": 1780560000,
+ "o": 0.012217082390760718,
+ "c": 0.011005044190192916,
+ "v": 1094267.535883348
+ },
+ {
+ "t": 1780574400,
+ "o": 0.011005044190192916,
+ "c": 0.009659260304318424,
+ "v": 1085075.7015806227
+ },
+ {
+ "t": 1780588800,
+ "o": 0.009659260304318424,
+ "c": 0.00744517164688149,
+ "v": 938312.2689062344
+ },
+ {
+ "t": 1780603200,
+ "o": 0.00744517164688149,
+ "c": 0.007219024582014403,
+ "v": 1588437.2803099963
+ },
+ {
+ "t": 1780617600,
+ "o": 0.007219024582014403,
+ "c": 0.0034197239656069225,
+ "v": 1487518.6411772745
+ },
+ {
+ "t": 1780632000,
+ "o": 0.0034197239656069225,
+ "c": 0.0037097917146010303,
+ "v": 916392.5410635576
+ },
+ {
+ "t": 1780646400,
+ "o": 0.0037097917146010303,
+ "c": 0.0036880275531589266,
+ "v": 477381.3850970933
+ },
+ {
+ "t": 1780660800,
+ "o": 0.0036880275531589266,
+ "c": 0.0032441743120445073,
+ "v": 448563.6159278045
+ },
+ {
+ "t": 1780675200,
+ "o": 0.0032441743120445073,
+ "c": 0.003981832715161808,
+ "v": 355340.8811873713
+ },
+ {
+ "t": 1780689600,
+ "o": 0.003981832715161808,
+ "c": 0.0034099259097646905,
+ "v": 262720.46310381865
+ },
+ {
+ "t": 1780704000,
+ "o": 0.0034099259097646905,
+ "c": 0.003459873348911468,
+ "v": 124591.72204585378
+ },
+ {
+ "t": 1780718400,
+ "o": 0.003459873348911468,
+ "c": 0.004056218565037665,
+ "v": 293865.03672035853
+ },
+ {
+ "t": 1780732800,
+ "o": 0.004056218565037665,
+ "c": 0.004190060276618527,
+ "v": 319774.6138908786
+ },
+ {
+ "t": 1780747200,
+ "o": 0.004190060276618527,
+ "c": 0.00469407899668307,
+ "v": 789439.2120088643
+ },
+ {
+ "t": 1780761600,
+ "o": 0.00469407899668307,
+ "c": 0.004400685934612222,
+ "v": 388800.4292539644
+ },
+ {
+ "t": 1780776000,
+ "o": 0.004400685934612222,
+ "c": 0.004636083092878186,
+ "v": 130664.79214917644
+ },
+ {
+ "t": 1780790400,
+ "o": 0.004636083092878186,
+ "c": 0.005504484221781343,
+ "v": 224216.9956424114
+ },
+ {
+ "t": 1780804800,
+ "o": 0.005504484221781343,
+ "c": 0.00535984659873971,
+ "v": 468967.2385484786
+ },
+ {
+ "t": 1780819200,
+ "o": 0.00535984659873971,
+ "c": 0.00513325583270311,
+ "v": 225980.98124840314
+ },
+ {
+ "t": 1780833600,
+ "o": 0.00513325583270311,
+ "c": 0.006061040660513468,
+ "v": 369499.8647929314
+ },
+ {
+ "t": 1780848000,
+ "o": 0.006061040660513468,
+ "c": 0.00504060685783329,
+ "v": 192489.24018220065
+ },
+ {
+ "t": 1780862400,
+ "o": 0.00504060685783329,
+ "c": 0.0050954925054129034,
+ "v": 147473.8527219821
+ },
+ {
+ "t": 1780876800,
+ "o": 0.0050954925054129034,
+ "c": 0.004791688274268734,
+ "v": 290130.23765004356
+ },
+ {
+ "t": 1780891200,
+ "o": 0.004791688274268734,
+ "c": 0.0045285365280980545,
+ "v": 188663.3205419836
+ },
+ {
+ "t": 1780905600,
+ "o": 0.0045285365280980545,
+ "c": 0.004457700692707014,
+ "v": 244387.68663601205
+ },
+ {
+ "t": 1780920000,
+ "o": 0.004457700692707014,
+ "c": 0.004353723420415038,
+ "v": 271371.9689023935
+ },
+ {
+ "t": 1780934400,
+ "o": 0.004353723420415038,
+ "c": 0.0040526001123182345,
+ "v": 240147.9879027966
+ },
+ {
+ "t": 1780948800,
+ "o": 0.0040526001123182345,
+ "c": 0.003969438412802862,
+ "v": 212263.3051392804
+ },
+ {
+ "t": 1780963200,
+ "o": 0.003969438412802862,
+ "c": 0.0034332736141887235,
+ "v": 265652.2726941567
+ },
+ {
+ "t": 1780977600,
+ "o": 0.0034332736141887235,
+ "c": 0.0037108942286737043,
+ "v": 230668.4209177994
+ },
+ {
+ "t": 1780992000,
+ "o": 0.0037108942286737043,
+ "c": 0.003958923486664132,
+ "v": 185383.87198866296
+ },
+ {
+ "t": 1781006400,
+ "o": 0.003958923486664132,
+ "c": 0.0034664945970603782,
+ "v": 296551.5142687523
+ },
+ {
+ "t": 1781020800,
+ "o": 0.0034664945970603782,
+ "c": 0.003177101572646074,
+ "v": 229450.7704037651
+ },
+ {
+ "t": 1781035200,
+ "o": 0.003177101572646074,
+ "c": 0.0031955913133511664,
+ "v": 90144.98999872724
+ },
+ {
+ "t": 1781049600,
+ "o": 0.0031955913133511664,
+ "c": 0.002866281826460999,
+ "v": 86888.2987418908
+ },
+ {
+ "t": 1781064000,
+ "o": 0.002866281826460999,
+ "c": 0.003613770812839974,
+ "v": 188178.33837789748
+ },
+ {
+ "t": 1781078400,
+ "o": 0.003613770812839974,
+ "c": 0.0036039907628867534,
+ "v": 390662.68378086685
+ },
+ {
+ "t": 1781092800,
+ "o": 0.0036039907628867534,
+ "c": 0.003291638102660521,
+ "v": 203790.68004512772
+ },
+ {
+ "t": 1781107200,
+ "o": 0.003291638102660521,
+ "c": 0.003190921486066964,
+ "v": 141908.22600156043
+ },
+ {
+ "t": 1781121600,
+ "o": 0.003190921486066964,
+ "c": 0.003149523776392792,
+ "v": 202422.03920029232
+ },
+ {
+ "t": 1781136000,
+ "o": 0.003149523776392792,
+ "c": 0.0033669527245164437,
+ "v": 322836.1754985426
+ },
+ {
+ "t": 1781150400,
+ "o": 0.0033669527245164437,
+ "c": 0.003286992351208386,
+ "v": 121466.36032153493
+ },
+ {
+ "t": 1781164800,
+ "o": 0.003286992351208386,
+ "c": 0.0035790049509380017,
+ "v": 111654.77375691588
+ },
+ {
+ "t": 1781179200,
+ "o": 0.0035790049509380017,
+ "c": 0.0038294528408735823,
+ "v": 251554.1457076597
+ },
+ {
+ "t": 1781193600,
+ "o": 0.0038294528408735823,
+ "c": 0.004311166972982061,
+ "v": 301513.8171799409
+ },
+ {
+ "t": 1781208000,
+ "o": 0.004311166972982061,
+ "c": 0.003648687448467598,
+ "v": 156468.7763499128
+ },
+ {
+ "t": 1781222400,
+ "o": 0.003648687448467598,
+ "c": 0.0038170079967636307,
+ "v": 113285.1547732637
+ },
+ {
+ "t": 1781236800,
+ "o": 0.0038170079967636307,
+ "c": 0.003705090242499432,
+ "v": 72065.77067322073
+ },
+ {
+ "t": 1781251200,
+ "o": 0.003705090242499432,
+ "c": 0.004081861838464541,
+ "v": 153663.11790593422
+ },
+ {
+ "t": 1781265600,
+ "o": 0.004081861838464541,
+ "c": 0.004913549903805351,
+ "v": 438379.6008252264
+ },
+ {
+ "t": 1781280000,
+ "o": 0.004913549903805351,
+ "c": 0.004459636668799694,
+ "v": 144423.88215393276
+ },
+ {
+ "t": 1781294400,
+ "o": 0.004459636668799694,
+ "c": 0.004582674127277016,
+ "v": 90272.690873751
+ },
+ {
+ "t": 1781308800,
+ "o": 0.004582674127277016,
+ "c": 0.005191791559407542,
+ "v": 453557.73526893934
+ },
+ {
+ "t": 1781323200,
+ "o": 0.005191791559407542,
+ "c": 0.005015560592841943,
+ "v": 245048.76700140242
+ },
+ {
+ "t": 1781337600,
+ "o": 0.005015560592841943,
+ "c": 0.005034527892852681,
+ "v": 369775.0117367308
+ },
+ {
+ "t": 1781352000,
+ "o": 0.005034527892852681,
+ "c": 0.004358327698142844,
+ "v": 272873.3789550729
+ },
+ {
+ "t": 1781366400,
+ "o": 0.004358327698142844,
+ "c": 0.004217786290943154,
+ "v": 145086.18344737784
+ },
+ {
+ "t": 1781380800,
+ "o": 0.004217786290943154,
+ "c": 0.004249615642313643,
+ "v": 48384.89687352243
+ },
+ {
+ "t": 1781395200,
+ "o": 0.004249615642313643,
+ "c": 0.003989242930617481,
+ "v": 124773.42738196453
+ },
+ {
+ "t": 1781409600,
+ "o": 0.003989242930617481,
+ "c": 0.0036283081322666154,
+ "v": 290536.4223826355
+ },
+ {
+ "t": 1781424000,
+ "o": 0.0036283081322666154,
+ "c": 0.003710612206664825,
+ "v": 90562.45660961105
+ },
+ {
+ "t": 1781438400,
+ "o": 0.003710612206664825,
+ "c": 0.00357132926083106,
+ "v": 93869.07031466419
+ },
+ {
+ "t": 1781452800,
+ "o": 0.00357132926083106,
+ "c": 0.003238181172192068,
+ "v": 101557.93455620018
+ },
+ {
+ "t": 1781467200,
+ "o": 0.003238181172192068,
+ "c": 0.0037384555335973953,
+ "v": 297963.8162579615
+ },
+ {
+ "t": 1781481600,
+ "o": 0.0037384555335973953,
+ "c": 0.0037023968933379376,
+ "v": 148333.1249633084
+ },
+ {
+ "t": 1781496000,
+ "o": 0.0037023968933379376,
+ "c": 0.0035418743244641955,
+ "v": 125932.0518782419
+ },
+ {
+ "t": 1781510400,
+ "o": 0.0035418743244641955,
+ "c": 0.0035049178841286247,
+ "v": 78550.61650368688
+ },
+ {
+ "t": 1781524800,
+ "o": 0.0035049178841286247,
+ "c": 0.0038152311612654646,
+ "v": 188154.12209324932
+ },
+ {
+ "t": 1781539200,
+ "o": 0.0038152311612654646,
+ "c": 0.0038642796709308287,
+ "v": 66628.08429974894
+ },
+ {
+ "t": 1781553600,
+ "o": 0.0038642796709308287,
+ "c": 0.004103070482109926,
+ "v": 141008.03934173932
+ },
+ {
+ "t": 1781568000,
+ "o": 0.004103070482109926,
+ "c": 0.00395972651358936,
+ "v": 81949.9168441006
+ },
+ {
+ "t": 1781582400,
+ "o": 0.00395972651358936,
+ "c": 0.0037283159339382655,
+ "v": 99623.83702307133
+ },
+ {
+ "t": 1781596800,
+ "o": 0.0037283159339382655,
+ "c": 0.0036116997598801973,
+ "v": 88969.38039857004
+ },
+ {
+ "t": 1781611200,
+ "o": 0.0036116997598801973,
+ "c": 0.0033279427931555148,
+ "v": 89522.37617840606
+ },
+ {
+ "t": 1781625600,
+ "o": 0.0033279427931555148,
+ "c": 0.0034141658940866327,
+ "v": 60514.40736359095
+ },
+ {
+ "t": 1781640000,
+ "o": 0.0034141658940866327,
+ "c": 0.0033120459840862847,
+ "v": 61214.83544656473
+ },
+ {
+ "t": 1781654400,
+ "o": 0.0033120459840862847,
+ "c": 0.003282668568253352,
+ "v": 123608.44194812368
+ },
+ {
+ "t": 1781668800,
+ "o": 0.003282668568253352,
+ "c": 0.003346423405354844,
+ "v": 64910.6715956768
+ },
+ {
+ "t": 1781683200,
+ "o": 0.003346423405354844,
+ "c": 0.0035341963679216245,
+ "v": 99934.77793415441
+ },
+ {
+ "t": 1781697600,
+ "o": 0.0035341963679216245,
+ "c": 0.0034918081469418197,
+ "v": 143626.9412232299
+ },
+ {
+ "t": 1781712000,
+ "o": 0.0034918081469418197,
+ "c": 0.003194338173630226,
+ "v": 86207.00582328989
+ },
+ {
+ "t": 1781726400,
+ "o": 0.003194338173630226,
+ "c": 0.003129465155400964,
+ "v": 63692.88366455633
+ },
+ {
+ "t": 1781740800,
+ "o": 0.003129465155400964,
+ "c": 0.0032875562631172204,
+ "v": 181724.4609363802
+ },
+ {
+ "t": 1781755200,
+ "o": 0.0032875562631172204,
+ "c": 0.0031773334551786513,
+ "v": 87315.84176758795
+ },
+ {
+ "t": 1781769600,
+ "o": 0.0031773334551786513,
+ "c": 0.0033769078296672487,
+ "v": 67922.56999796041
+ },
+ {
+ "t": 1781784000,
+ "o": 0.0033769078296672487,
+ "c": 0.003043064298244698,
+ "v": 46408.21418166972
+ },
+ {
+ "t": 1781798400,
+ "o": 0.003043064298244698,
+ "c": 0.0034119316291309513,
+ "v": 55152.91521882888
+ },
+ {
+ "t": 1781812800,
+ "o": 0.0034119316291309513,
+ "c": 0.003238490837841927,
+ "v": 66009.93990006085
+ },
+ {
+ "t": 1781827200,
+ "o": 0.003238490837841927,
+ "c": 0.0037002710802627853,
+ "v": 189213.8385876933
+ },
+ {
+ "t": 1781841600,
+ "o": 0.0037002710802627853,
+ "c": 0.004227908913790245,
+ "v": 189668.22388145962
+ },
+ {
+ "t": 1781856000,
+ "o": 0.004227908913790245,
+ "c": 0.00395358781705343,
+ "v": 160598.2593013736
+ },
+ {
+ "t": 1781870400,
+ "o": 0.00395358781705343,
+ "c": 0.004020076020031874,
+ "v": 83487.43777657503
+ },
+ {
+ "t": 1781884800,
+ "o": 0.004020076020031874,
+ "c": 0.00384330935015624,
+ "v": 100731.63000117106
+ },
+ {
+ "t": 1781899200,
+ "o": 0.00384330935015624,
+ "c": 0.00398879767035374,
+ "v": 40280.55417825053
+ },
+ {
+ "t": 1781913600,
+ "o": 0.00398879767035374,
+ "c": 0.004228282111134587,
+ "v": 97626.80475225735
+ },
+ {
+ "t": 1781928000,
+ "o": 0.004228282111134587,
+ "c": 0.003915579438472645,
+ "v": 56154.38024703397
+ },
+ {
+ "t": 1781942400,
+ "o": 0.003915579438472645,
+ "c": 0.0037492029720610945,
+ "v": 82167.15116303402
+ },
+ {
+ "t": 1781956800,
+ "o": 0.0037492029720610945,
+ "c": 0.0035602515866388308,
+ "v": 49000.46999894519
+ },
+ {
+ "t": 1781971200,
+ "o": 0.0035602515866388308,
+ "c": 0.0035511000126423227,
+ "v": 31393.12998426117
+ },
+ {
+ "t": 1781985600,
+ "o": 0.0035511000126423227,
+ "c": 0.0034354293408389272,
+ "v": 42336.0741535355
+ },
+ {
+ "t": 1782000000,
+ "o": 0.0034354293408389272,
+ "c": 0.003442424214402955,
+ "v": 67366.58991768809
+ },
+ {
+ "t": 1782014400,
+ "o": 0.003442424214402955,
+ "c": 0.0034730967766931986,
+ "v": 39316.411802850205
+ },
+ {
+ "t": 1782028800,
+ "o": 0.0034730967766931986,
+ "c": 0.003554288840737017,
+ "v": 45945.039306351915
+ },
+ {
+ "t": 1782043200,
+ "o": 0.003554288840737017,
+ "c": 0.003333608373938927,
+ "v": 36779.26114805129
+ },
+ {
+ "t": 1782057600,
+ "o": 0.003333608373938927,
+ "c": 0.0034189215483396602,
+ "v": 42698.13005773782
+ },
+ {
+ "t": 1782072000,
+ "o": 0.0034189215483396602,
+ "c": 0.003257958151366837,
+ "v": 84346.57846956354
+ },
+ {
+ "t": 1782086400,
+ "o": 0.003257958151366837,
+ "c": 0.003793323929387454,
+ "v": 64709.35756590242
+ },
+ {
+ "t": 1782100800,
+ "o": 0.003793323929387454,
+ "c": 0.004702715011904341,
+ "v": 344447.1610660636
+ },
+ {
+ "t": 1782115200,
+ "o": 0.004702715011904341,
+ "c": 0.004530405083390707,
+ "v": 203605.86819364942
+ },
+ {
+ "t": 1782129600,
+ "o": 0.004530405083390707,
+ "c": 0.004445698660156485,
+ "v": 194104.49985796976
+ },
+ {
+ "t": 1782144000,
+ "o": 0.004445698660156485,
+ "c": 0.004085708336065958,
+ "v": 80597.3879549533
+ },
+ {
+ "t": 1782158400,
+ "o": 0.004085708336065958,
+ "c": 0.004295169422639378,
+ "v": 105948.42901524088
+ },
+ {
+ "t": 1782172800,
+ "o": 0.004295169422639378,
+ "c": 0.0049163330187677505,
+ "v": 384341.8362790814
+ },
+ {
+ "t": 1782187200,
+ "o": 0.0049163330187677505,
+ "c": 0.004719617246821989,
+ "v": 110019.98254134675
+ },
+ {
+ "t": 1782201600,
+ "o": 0.004719617246821989,
+ "c": 0.0048997651498526315,
+ "v": 147435.3688882123
+ },
+ {
+ "t": 1782216000,
+ "o": 0.0048997651498526315,
+ "c": 0.005765090794038804,
+ "v": 673736.9022457274
+ },
+ {
+ "t": 1782230400,
+ "o": 0.005765090794038804,
+ "c": 0.004946731393556848,
+ "v": 256193.0607673647
+ },
+ {
+ "t": 1782244800,
+ "o": 0.004946731393556848,
+ "c": 0.004659524154653417,
+ "v": 218162.4303884867
+ },
+ {
+ "t": 1782259200,
+ "o": 0.004659524154653417,
+ "c": 0.004627355824725903,
+ "v": 222451.39829013564
+ },
+ {
+ "t": 1782273600,
+ "o": 0.004627355824725903,
+ "c": 0.004582194919511365,
+ "v": 57484.75481577248
+ },
+ {
+ "t": 1782288000,
+ "o": 0.004582194919511365,
+ "c": 0.004470691642444937,
+ "v": 77790.75613953928
+ },
+ {
+ "t": 1782302400,
+ "o": 0.004470691642444937,
+ "c": 0.004047671852863012,
+ "v": 237599.37638844238
+ },
+ {
+ "t": 1782316800,
+ "o": 0.004047671852863012,
+ "c": 0.0042546718126013515,
+ "v": 81211.08909221571
+ },
+ {
+ "t": 1782331200,
+ "o": 0.0042546718126013515,
+ "c": 0.004720360035823995,
+ "v": 114320.66860209512
+ },
+ {
+ "t": 1782345600,
+ "o": 0.004720360035823995,
+ "c": 0.004223030556036019,
+ "v": 324484.09757134935
+ },
+ {
+ "t": 1782360000,
+ "o": 0.004223030556036019,
+ "c": 0.004267990844258462,
+ "v": 209328.90911552886
+ },
+ {
+ "t": 1782374400,
+ "o": 0.004267990844258462,
+ "c": 0.004215210515094868,
+ "v": 61350.593910966956
+ },
+ {
+ "t": 1782388800,
+ "o": 0.004215210515094868,
+ "c": 0.0036852079076471244,
+ "v": 166703.7952028839
+ },
+ {
+ "t": 1782403200,
+ "o": 0.0036852079076471244,
+ "c": 0.003384050293612725,
+ "v": 99820.88670096893
+ },
+ {
+ "t": 1782417600,
+ "o": 0.003384050293612725,
+ "c": 0.0038054817638215536,
+ "v": 63646.303747005244
+ },
+ {
+ "t": 1782432000,
+ "o": 0.0038054817638215536,
+ "c": 0.0035760189546668233,
+ "v": 64712.026507178794
+ },
+ {
+ "t": 1782446400,
+ "o": 0.0035760189546668233,
+ "c": 0.003958897443610523,
+ "v": 79637.99488960858
+ },
+ {
+ "t": 1782460800,
+ "o": 0.003958897443610523,
+ "c": 0.0036792388708872027,
+ "v": 49319.18404661417
+ },
+ {
+ "t": 1782475200,
+ "o": 0.0036792388708872027,
+ "c": 0.003750026488104206,
+ "v": 63342.57115215226
+ },
+ {
+ "t": 1782489600,
+ "o": 0.003750026488104206,
+ "c": 0.0037115389956902936,
+ "v": 79249.77117337407
+ },
+ {
+ "t": 1782504000,
+ "o": 0.0037115389956902936,
+ "c": 0.0036590871137010617,
+ "v": 76611.28888637006
+ },
+ {
+ "t": 1782518400,
+ "o": 0.0036590871137010617,
+ "c": 0.004103561331877287,
+ "v": 158373.7590820036
+ },
+ {
+ "t": 1782532800,
+ "o": 0.004103561331877287,
+ "c": 0.004058837363173532,
+ "v": 159055.50475490582
+ },
+ {
+ "t": 1782547200,
+ "o": 0.004058837363173532,
+ "c": 0.004011144293791439,
+ "v": 64813.71099519722
+ },
+ {
+ "t": 1782561600,
+ "o": 0.004011144293791439,
+ "c": 0.0036669280278649255,
+ "v": 104977.58900786267
+ },
+ {
+ "t": 1782576000,
+ "o": 0.0036669280278649255,
+ "c": 0.0036214012464059306,
+ "v": 57450.25987678744
+ },
+ {
+ "t": 1782590400,
+ "o": 0.0036214012464059306,
+ "c": 0.00365917281260928,
+ "v": 87701.73639851395
+ },
+ {
+ "t": 1782604800,
+ "o": 0.00365917281260928,
+ "c": 0.003592618155708706,
+ "v": 45998.41770219822
+ },
+ {
+ "t": 1782619200,
+ "o": 0.003592618155708706,
+ "c": 0.0031177418046382317,
+ "v": 160218.32194260185
+ },
+ {
+ "t": 1782633600,
+ "o": 0.0031177418046382317,
+ "c": 0.002984211228458785,
+ "v": 187701.60117233748
+ },
+ {
+ "t": 1782648000,
+ "o": 0.002984211228458785,
+ "c": 0.0029794676792733597,
+ "v": 96925.19327534734
+ },
+ {
+ "t": 1782662400,
+ "o": 0.0029794676792733597,
+ "c": 0.0026781551615963177,
+ "v": 170087.58660098954
+ },
+ {
+ "t": 1782676800,
+ "o": 0.0026781551615963177,
+ "c": 0.0025478240868054575,
+ "v": 67613.51909015962
+ },
+ {
+ "t": 1782691200,
+ "o": 0.0025478240868054575,
+ "c": 0.0023773296467983615,
+ "v": 99824.48836896647
+ },
+ {
+ "t": 1782705600,
+ "o": 0.0023773296467983615,
+ "c": 0.0022135947211450735,
+ "v": 86029.76864935289
+ },
+ {
+ "t": 1782720000,
+ "o": 0.0022135947211450735,
+ "c": 0.00243236532660618,
+ "v": 78779.99338217483
+ },
+ {
+ "t": 1782734400,
+ "o": 0.00243236532660618,
+ "c": 0.0022462683874856586,
+ "v": 51203.58507193232
+ },
+ {
+ "t": 1782748800,
+ "o": 0.0022462683874856586,
+ "c": 0.0027700984200116343,
+ "v": 128116.98427740471
+ },
+ {
+ "t": 1782763200,
+ "o": 0.0027700984200116343,
+ "c": 0.0025423812927176737,
+ "v": 37781.43206140928
+ },
+ {
+ "t": 1782777600,
+ "o": 0.0025423812927176737,
+ "c": 0.0023500662035493267,
+ "v": 56535.87466588984
+ },
+ {
+ "t": 1782792000,
+ "o": 0.0023500662035493267,
+ "c": 0.002227735724149133,
+ "v": 62539.25802742685
+ },
+ {
+ "t": 1782806400,
+ "o": 0.002227735724149133,
+ "c": 0.002293421136839217,
+ "v": 94192.06981295288
+ },
+ {
+ "t": 1782820800,
+ "o": 0.002293421136839217,
+ "c": 0.001838247039027249,
+ "v": 97295.1974874371
+ },
+ {
+ "t": 1782835200,
+ "o": 0.001838247039027249,
+ "c": 0.001727252801688692,
+ "v": 71025.01733958726
+ },
+ {
+ "t": 1782849600,
+ "o": 0.001727252801688692,
+ "c": 0.0018813077275950654,
+ "v": 144730.88143979025
+ },
+ {
+ "t": 1782864000,
+ "o": 0.0018813077275950654,
+ "c": 0.002106394285769706,
+ "v": 77006.89702597058
+ },
+ {
+ "t": 1782878400,
+ "o": 0.002106394285769706,
+ "c": 0.0020509682798959213,
+ "v": 32481.455758212534
+ },
+ {
+ "t": 1782892800,
+ "o": 0.0020509682798959213,
+ "c": 0.0019506389649157005,
+ "v": 41679.380123711366
+ },
+ {
+ "t": 1782907200,
+ "o": 0.0019506389649157005,
+ "c": 0.0024709626649838815,
+ "v": 95066.36672260286
+ },
+ {
+ "t": 1782921600,
+ "o": 0.0024709626649838815,
+ "c": 0.002439821038120812,
+ "v": 119616.45066883256
+ },
+ {
+ "t": 1782936000,
+ "o": 0.002439821038120812,
+ "c": 0.0022067564163328595,
+ "v": 58118.12233620721
+ },
+ {
+ "t": 1782950400,
+ "o": 0.0022067564163328595,
+ "c": 0.002285959015204895,
+ "v": 69706.19936491433
+ },
+ {
+ "t": 1782964800,
+ "o": 0.002285959015204895,
+ "c": 0.002021464375255134,
+ "v": 92106.60394484224
+ },
+ {
+ "t": 1782979200,
+ "o": 0.002021464375255134,
+ "c": 0.002215945022434352,
+ "v": 47402.948756517726
+ },
+ {
+ "t": 1782993600,
+ "o": 0.002215945022434352,
+ "c": 0.002284771302258075,
+ "v": 136925.45107798206
+ },
+ {
+ "t": 1783008000,
+ "o": 0.002284771302258075,
+ "c": 0.0020774175826977982,
+ "v": 55303.26378226034
+ },
+ {
+ "t": 1783022400,
+ "o": 0.0020774175826977982,
+ "c": 0.0019920229523133965,
+ "v": 24740.100088854644
+ },
+ {
+ "t": 1783036800,
+ "o": 0.0019920229523133965,
+ "c": 0.002122980190156989,
+ "v": 77461.38833350963
+ },
+ {
+ "t": 1783051200,
+ "o": 0.002122980190156989,
+ "c": 0.0020989931113933797,
+ "v": 25606.22267625893
+ },
+ {
+ "t": 1783065600,
+ "o": 0.0020989931113933797,
+ "c": 0.0021351752301251655,
+ "v": 16629.788159074396
+ },
+ {
+ "t": 1783080000,
+ "o": 0.0021351752301251655,
+ "c": 0.0020826164376523313,
+ "v": 31034.177406710627
+ },
+ {
+ "t": 1783094400,
+ "o": 0.0020826164376523313,
+ "c": 0.001698034549399123,
+ "v": 97583.11385581875
+ },
+ {
+ "t": 1783108800,
+ "o": 0.001698034549399123,
+ "c": 0.001815508451319023,
+ "v": 72914.71300363124
+ },
+ {
+ "t": 1783123200,
+ "o": 0.001815508451319023,
+ "c": 0.001751636517289118,
+ "v": 32428.49525636147
+ },
+ {
+ "t": 1783137600,
+ "o": 0.001751636517289118,
+ "c": 0.0016838966698121455,
+ "v": 28615.872223523183
+ },
+ {
+ "t": 1783152000,
+ "o": 0.0016838966698121455,
+ "c": 0.0017305948881146242,
+ "v": 24214.623421574473
+ },
+ {
+ "t": 1783166400,
+ "o": 0.0017305948881146242,
+ "c": 0.00149544064692362,
+ "v": 113509.12621052134
+ },
+ {
+ "t": 1783180800,
+ "o": 0.00149544064692362,
+ "c": 0.0012002572380042313,
+ "v": 83867.79909609474
+ },
+ {
+ "t": 1783195200,
+ "o": 0.0012002572380042313,
+ "c": 0.0013107485124004433,
+ "v": 54267.45656598621
+ },
+ {
+ "t": 1783209600,
+ "o": 0.0013107485124004433,
+ "c": 0.0014324941502318542,
+ "v": 42107.70215980889
+ },
+ {
+ "t": 1783224000,
+ "o": 0.0014324941502318542,
+ "c": 0.0013288059388443815,
+ "v": 39443.38679620657
+ },
+ {
+ "t": 1783238400,
+ "o": 0.0013288059388443815,
+ "c": 0.0012848643363071526,
+ "v": 29967.948134810933
+ },
+ {
+ "t": 1783252800,
+ "o": 0.0012848643363071526,
+ "c": 0.0015583789293183161,
+ "v": 95330.42447445108
+ },
+ {
+ "t": 1783267200,
+ "o": 0.0015583789293183161,
+ "c": 0.001739892395464474,
+ "v": 272445.2727050685
+ },
+ {
+ "t": 1783281600,
+ "o": 0.001739892395464474,
+ "c": 0.0015109040215749612,
+ "v": 61005.79943689518
+ },
+ {
+ "t": 1783296000,
+ "o": 0.0015109040215749612,
+ "c": 0.0014339141217589448,
+ "v": 47486.15435974387
+ },
+ {
+ "t": 1783310400,
+ "o": 0.0014339141217589448,
+ "c": 0.0015204126729851113,
+ "v": 23972.636740677855
+ },
+ {
+ "t": 1783324800,
+ "o": 0.0015204126729851113,
+ "c": 0.001541847391615267,
+ "v": 102335.1427890242
+ },
+ {
+ "t": 1783339200,
+ "o": 0.001541847391615267,
+ "c": 0.0015397487317110588,
+ "v": 44444.29425926455
+ },
+ {
+ "t": 1783353600,
+ "o": 0.0015397487317110588,
+ "c": 0.001544046613325325,
+ "v": 114088.12852905251
+ },
+ {
+ "t": 1783368000,
+ "o": 0.001544046613325325,
+ "c": 0.0014758807432074573,
+ "v": 82355.92524843816
+ },
+ {
+ "t": 1783382400,
+ "o": 0.0014758807432074573,
+ "c": 0.0014401806207447701,
+ "v": 71906.43064544485
+ },
+ {
+ "t": 1783396800,
+ "o": 0.0014401806207447701,
+ "c": 0.0015096731695351461,
+ "v": 40949.65490777319
+ },
+ {
+ "t": 1783411200,
+ "o": 0.0015096731695351461,
+ "c": 0.001590608453175905,
+ "v": 51399.42059232913
+ },
+ {
+ "t": 1783425600,
+ "o": 0.001590608453175905,
+ "c": 0.0016246003957210505,
+ "v": 109697.68511587646
+ },
+ {
+ "t": 1783440000,
+ "o": 0.0016246003957210505,
+ "c": 0.0014031386446874392,
+ "v": 40222.235073049014
+ },
+ {
+ "t": 1783454400,
+ "o": 0.0014031386446874392,
+ "c": 0.001289330574540026,
+ "v": 37766.29825705793
+ },
+ {
+ "t": 1783468800,
+ "o": 0.001289330574540026,
+ "c": 0.0012899057494844598,
+ "v": 20641.11963164049
+ },
+ {
+ "t": 1783483200,
+ "o": 0.0012899057494844598,
+ "c": 0.0012162172650151833,
+ "v": 24138.818305531386
+ },
+ {
+ "t": 1783497600,
+ "o": 0.0012162172650151833,
+ "c": 0.0012994353497584685,
+ "v": 37161.587208312056
+ },
+ {
+ "t": 1783512000,
+ "o": 0.0012994353497584685,
+ "c": 0.001222429751905343,
+ "v": 23844.888520354456
+ },
+ {
+ "t": 1783526400,
+ "o": 0.001222429751905343,
+ "c": 0.0012680110235931208,
+ "v": 25372.477103022487
+ },
+ {
+ "t": 1783540800,
+ "o": 0.0012680110235931208,
+ "c": 0.0013287256989469563,
+ "v": 19201.18213491254
+ },
+ {
+ "t": 1783555200,
+ "o": 0.0013287256989469563,
+ "c": 0.0012374077376232737,
+ "v": 96881.81540794969
+ },
+ {
+ "t": 1783569600,
+ "o": 0.0012374077376232737,
+ "c": 0.001331830783475698,
+ "v": 73168.96748274213
+ },
+ {
+ "t": 1783584000,
+ "o": 0.001331830783475698,
+ "c": 0.0012445309843615044,
+ "v": 38181.329194330836
+ },
+ {
+ "t": 1783598400,
+ "o": 0.0012445309843615044,
+ "c": 0.0012750059431359026,
+ "v": 44320.91594080472
+ },
+ {
+ "t": 1783612800,
+ "o": 0.0012750059431359026,
+ "c": 0.001204368640709815,
+ "v": 101950.1159309958
+ },
+ {
+ "t": 1783627200,
+ "o": 0.001204368640709815,
+ "c": 0.0010914394509610069,
+ "v": 35899.027359298794
+ },
+ {
+ "t": 1783641600,
+ "o": 0.0010914394509610069,
+ "c": 0.001310958366611476,
+ "v": 271727.5503165578
+ },
+ {
+ "t": 1783656000,
+ "o": 0.001310958366611476,
+ "c": 0.001367939883117265,
+ "v": 57347.628150103235
+ },
+ {
+ "t": 1783670400,
+ "o": 0.001367939883117265,
+ "c": 0.0015229136709000262,
+ "v": 131432.8244624268
+ },
+ {
+ "t": 1783684800,
+ "o": 0.0015229136709000262,
+ "c": 0.001343543957151453,
+ "v": 59149.24308327827
+ },
+ {
+ "t": 1783699200,
+ "o": 0.001343543957151453,
+ "c": 0.0013455854070160709,
+ "v": 41923.73525935523
+ },
+ {
+ "t": 1783713600,
+ "o": 0.0013455854070160709,
+ "c": 0.0012952603225503065,
+ "v": 25887.37285929551
+ },
+ {
+ "t": 1783728000,
+ "o": 0.0012952603225503065,
+ "c": 0.0012902204416508434,
+ "v": 94962.81256494786
+ },
+ {
+ "t": 1783742400,
+ "o": 0.0012902204416508434,
+ "c": 0.0013429095006384454,
+ "v": 44902.37184224161
+ },
+ {
+ "t": 1783756800,
+ "o": 0.0013429095006384454,
+ "c": 0.0013055957298390498,
+ "v": 50249.06018368431
+ },
+ {
+ "t": 1783771200,
+ "o": 0.0013055957298390498,
+ "c": 0.0012960662210980741,
+ "v": 30721.67871540749
+ },
+ {
+ "t": 1783785600,
+ "o": 0.0012960662210980741,
+ "c": 0.0013015015683516575,
+ "v": 21147.538592793117
+ },
+ {
+ "t": 1783800000,
+ "o": 0.0013015015683516575,
+ "c": 0.0013512616395951768,
+ "v": 86232.4112377946
+ },
+ {
+ "t": 1783814400,
+ "o": 0.0013512616395951768,
+ "c": 0.0014126095416895125,
+ "v": 31768.054972516293
+ },
+ {
+ "t": 1783828800,
+ "o": 0.0014126095416895125,
+ "c": 0.0014071168068899367,
+ "v": 98946.73225769766
+ },
+ {
+ "t": 1783843200,
+ "o": 0.0014071168068899367,
+ "c": 0.001545424761773397,
+ "v": 32478.04439493255
+ },
+ {
+ "t": 1783857600,
+ "o": 0.001545424761773397,
+ "c": 0.0017233412137467369,
+ "v": 244511.90742942708
+ },
+ {
+ "t": 1783872000,
+ "o": 0.0017233412137467369,
+ "c": 0.001789495338343191,
+ "v": 84797.74038704613
+ },
+ {
+ "t": 1783886400,
+ "o": 0.001789495338343191,
+ "c": 0.0015163637116344883,
+ "v": 39468.49699884443
+ },
+ {
+ "t": 1783900800,
+ "o": 0.0015163637116344883,
+ "c": 0.0015612184181273705,
+ "v": 66121.69094763254
+ },
+ {
+ "t": 1783915200,
+ "o": 0.0015612184181273705,
+ "c": 0.001602781736282234,
+ "v": 49440.602274547455
+ },
+ {
+ "t": 1783929600,
+ "o": 0.001602781736282234,
+ "c": 0.0017191593802158272,
+ "v": 57021.0501560635
+ },
+ {
+ "t": 1783944000,
+ "o": 0.0017191593802158272,
+ "c": 0.0015083777063009244,
+ "v": 44533.436789753854
+ },
+ {
+ "t": 1783958400,
+ "o": 0.0015083777063009244,
+ "c": 0.0014370644483389543,
+ "v": 51455.575365914876
+ },
+ {
+ "t": 1783972800,
+ "o": 0.0014370644483389543,
+ "c": 0.0014757101041050586,
+ "v": 50320.419969230345
+ },
+ {
+ "t": 1783987200,
+ "o": 0.0014757101041050586,
+ "c": 0.0013803893414782178,
+ "v": 21623.013758054203
+ },
+ {
+ "t": 1784001600,
+ "o": 0.0013803893414782178,
+ "c": 0.0016181977298006772,
+ "v": 157301.49127247036
+ },
+ {
+ "t": 1784016000,
+ "o": 0.0016181977298006772,
+ "c": 0.0027872881063237594,
+ "v": 2330535.2020549984
+ },
+ {
+ "t": 1784030400,
+ "o": 0.0027872881063237594,
+ "c": 0.002159555779898161,
+ "v": 559404.672893368
+ },
+ {
+ "t": 1784044800,
+ "o": 0.002159555779898161,
+ "c": 0.0021722799877228857,
+ "v": 322389.10149961256
+ },
+ {
+ "t": 1784059200,
+ "o": 0.0021722799877228857,
+ "c": 0.0025873344679678803,
+ "v": 189053.51916968884
+ },
+ {
+ "t": 1784073600,
+ "o": 0.0025873344679678803,
+ "c": 0.002777807289667063,
+ "v": 626741.457676731
+ },
+ {
+ "t": 1784088000,
+ "o": 0.002777807289667063,
+ "c": 0.002595348947077391,
+ "v": 169625.17595091043
+ },
+ {
+ "t": 1784102400,
+ "o": 0.002595348947077391,
+ "c": 0.00300424351172042,
+ "v": 256230.8065731861
+ },
+ {
+ "t": 1784116800,
+ "o": 0.00300424351172042,
+ "c": 0.0028064710912018235,
+ "v": 142898.17026645207
+ },
+ {
+ "t": 1784131200,
+ "o": 0.0028064710912018235,
+ "c": 0.0025919367684377028,
+ "v": 159494.33472227055
+ },
+ {
+ "t": 1784145600,
+ "o": 0.0025919367684377028,
+ "c": 0.0025761982591611153,
+ "v": 88026.69666240875
+ },
+ {
+ "t": 1784160000,
+ "o": 0.0025761982591611153,
+ "c": 0.00236852617616382,
+ "v": 39677.213725764275
+ },
+ {
+ "t": 1784174400,
+ "o": 0.00236852617616382,
+ "c": 0.0025638928802661845,
+ "v": 22544.180393395283
+ },
+ {
+ "t": 1784188800,
+ "o": 0.0025638928802661845,
+ "c": 0.002393437872939103,
+ "v": 19818.196329941537
+ },
+ {
+ "t": 1784203200,
+ "o": 0.002393437872939103,
+ "c": 0.002189755090997105,
+ "v": 24960.80874455153
+ },
+ {
+ "t": 1784217600,
+ "o": 0.002189755090997105,
+ "c": 0.0022186544367269355,
+ "v": 138955.29198566236
+ },
+ {
+ "t": 1784232000,
+ "o": 0.0022186544367269355,
+ "c": 0.0024941002956628384,
+ "v": 94131.7756257597
+ },
+ {
+ "t": 1784246400,
+ "o": 0.0024941002956628384,
+ "c": 0.0024558928120857575,
+ "v": 89881.09370810275
+ },
+ {
+ "t": 1784260800,
+ "o": 0.0024558928120857575,
+ "c": 0.0023062451184761683,
+ "v": 59313.468031258
+ },
+ {
+ "t": 1784275200,
+ "o": 0.0023062451184761683,
+ "c": 0.00224651124151777,
+ "v": 55928.85150208335
+ },
+ {
+ "t": 1784289600,
+ "o": 0.00224651124151777,
+ "c": 0.001984160375783408,
+ "v": 153587.4893903127
+ },
+ {
+ "t": 1784304000,
+ "o": 0.001984160375783408,
+ "c": 0.0018047375552258304,
+ "v": 91239.4101201883
+ },
+ {
+ "t": 1784318400,
+ "o": 0.0018047375552258304,
+ "c": 0.001924895939913888,
+ "v": 98947.4055359306
+ },
+ {
+ "t": 1784332800,
+ "o": 0.001924895939913888,
+ "c": 0.0018530836770415476,
+ "v": 31825.28361789412
+ },
+ {
+ "t": 1784347200,
+ "o": 0.0018530836770415476,
+ "c": 0.0019896534070204547,
+ "v": 34142.700684798176
+ },
+ {
+ "t": 1784361600,
+ "o": 0.0019896534070204547,
+ "c": 0.0022744284594013206,
+ "v": 40658.90145422636
+ },
+ {
+ "t": 1784376000,
+ "o": 0.0022744284594013206,
+ "c": 0.002241997243713311,
+ "v": 32038.248579864685
+ },
+ {
+ "t": 1784390400,
+ "o": 0.002241997243713311,
+ "c": 0.002087911830169943,
+ "v": 31050.39013995483
+ },
+ {
+ "t": 1784404800,
+ "o": 0.002087911830169943,
+ "c": 0.002135499399685194,
+ "v": 7826.876429619435
+ },
+ {
+ "t": 1784419200,
+ "o": 0.002135499399685194,
+ "c": 0.002226114010682581,
+ "v": 18529.86960665632
+ },
+ {
+ "t": 1784433600,
+ "o": 0.002226114010682581,
+ "c": 0.0021407858070195177,
+ "v": 12959.266761835106
+ },
+ {
+ "t": 1784448000,
+ "o": 0.0021407858070195177,
+ "c": 0.0021221518992949927,
+ "v": 14947.646599302172
+ },
+ {
+ "t": 1784462400,
+ "o": 0.0021221518992949927,
+ "c": 0.0020567614302800376,
+ "v": 36942.78413869298
+ },
+ {
+ "t": 1784476800,
+ "o": 0.0020567614302800376,
+ "c": 0.0019495158738855032,
+ "v": 15472.885753882765
+ },
+ {
+ "t": 1784491200,
+ "o": 0.0019495158738855032,
+ "c": 0.0020767712121258605,
+ "v": 10971.449920923636
+ },
+ {
+ "t": 1784505600,
+ "o": 0.0020767712121258605,
+ "c": 0.002066149029417692,
+ "v": 8871.789928357903
+ },
+ {
+ "t": 1784520000,
+ "o": 0.002066149029417692,
+ "c": 0.001990040041946704,
+ "v": 6326.201549697298
+ },
+ {
+ "t": 1784534400,
+ "o": 0.001990040041946704,
+ "c": 0.0018272279140022062,
+ "v": 38198.240279842736
+ },
+ {
+ "t": 1784548800,
+ "o": 0.0018272279140022062,
+ "c": 0.0017385513955391577,
+ "v": 29142.0284903471
+ },
+ {
+ "t": 1784563200,
+ "o": 0.0017385513955391577,
+ "c": 0.0017778256823127714,
+ "v": 16966.789713040416
+ },
+ {
+ "t": 1784577600,
+ "o": 0.0017778256823127714,
+ "c": 0.0016961993880292773,
+ "v": 36917.116419096914
+ },
+ {
+ "t": 1784592000,
+ "o": 0.0016961993880292773,
+ "c": 0.0017402722657771446,
+ "v": 65628.05813301969
+ },
+ {
+ "t": 1784606400,
+ "o": 0.0017402722657771446,
+ "c": 0.0018266760683036192,
+ "v": 25268.496003822904
+ },
+ {
+ "t": 1784620800,
+ "o": 0.0018266760683036192,
+ "c": 0.0018083379479990904,
+ "v": 19182.60871074862
+ },
+ {
+ "t": 1784635200,
+ "o": 0.0018083379479990904,
+ "c": 0.0017838599180556726,
+ "v": 27424.63933194023
+ },
+ {
+ "t": 1784649600,
+ "o": 0.0017838599180556726,
+ "c": 0.0018207002378091237,
+ "v": 39574.01065907888
+ },
+ {
+ "t": 1784664000,
+ "o": 0.0018207002378091237,
+ "c": 0.0018344886368849426,
+ "v": 26355.40344961981
+ },
+ {
+ "t": 1784678400,
+ "o": 0.0018344886368849426,
+ "c": 0.001781318990190261,
+ "v": 38680.378671426486
+ },
+ {
+ "t": 1784692800,
+ "o": 0.001781318990190261,
+ "c": 0.0017826615738833743,
+ "v": 21031.998286277772
+ },
+ {
+ "t": 1784707200,
+ "o": 0.0017826615738833743,
+ "c": 0.0016642987618426545,
+ "v": 35150.86105226636
+ },
+ {
+ "t": 1784721600,
+ "o": 0.0016642987618426545,
+ "c": 0.0016586886982505413,
+ "v": 36843.374920779796
+ },
+ {
+ "t": 1784736000,
+ "o": 0.0016586886982505413,
+ "c": 0.0016063392726019183,
+ "v": 9065.265224942734
+ },
+ {
+ "t": 1784750400,
+ "o": 0.0016063392726019183,
+ "c": 0.001534266628479691,
+ "v": 13304.841402661232
+ },
+ {
+ "t": 1784764800,
+ "o": 0.001534266628479691,
+ "c": 0.001558298253973886,
+ "v": 18552.035621653333
+ },
+ {
+ "t": 1784779200,
+ "o": 0.001558298253973886,
+ "c": 0.001509006889490314,
+ "v": 28509.988804894077
+ },
+ {
+ "t": 1784793600,
+ "o": 0.001509006889490314,
+ "c": 0.001549845286353916,
+ "v": 32528.257348700798
+ },
+ {
+ "t": 1784808000,
+ "o": 0.001549845286353916,
+ "c": 0.0014729171748749485,
+ "v": 38904.722922925925
+ },
+ {
+ "t": 1784822400,
+ "o": 0.0014729171748749485,
+ "c": 0.0013947028697145253,
+ "v": 35078.71181188752
+ },
+ {
+ "t": 1784836800,
+ "o": 0.0013947028697145253,
+ "c": 0.0013927315277145005,
+ "v": 10784.219243358908
+ },
+ {
+ "t": 1784851200,
+ "o": 0.0013927315277145005,
+ "c": 0.001476915637677791,
+ "v": 16483.192659423137
+ },
+ {
+ "t": 1784865600,
+ "o": 0.001476915637677791,
+ "c": 0.0014902911484125651,
+ "v": 8530.609666002865
+ },
+ {
+ "t": 1784880000,
+ "o": 0.0014902911484125651,
+ "c": 0.001654637225061318,
+ "v": 28095.000447225546
+ },
+ {
+ "t": 1784894400,
+ "o": 0.001654637225061318,
+ "c": 0.0014573970592971516,
+ "v": 79315.36790598942
+ },
+ {
+ "t": 1784908800,
+ "o": 0.0014573970592971516,
+ "c": 0.0015378645896488774,
+ "v": 51681.25178989199
+ },
+ {
+ "t": 1784923200,
+ "o": 0.0015378645896488774,
+ "c": 0.0015295656298463234,
+ "v": 16674.07110253786
+ },
+ {
+ "t": 1784937600,
+ "o": 0.0015295656298463234,
+ "c": 0.0014825043632959323,
+ "v": 10692.436867276638
+ },
+ {
+ "t": 1784952000,
+ "o": 0.0014825043632959323,
+ "c": 0.0014652223833880893,
+ "v": 9594.15001512848
+ },
+ {
+ "t": 1784966400,
+ "o": 0.0014652223833880893,
+ "c": 0.0016300549434667456,
+ "v": 88794.18069236125
+ },
+ {
+ "t": 1784980800,
+ "o": 0.0016300549434667456,
+ "c": 0.0016450011221698481,
+ "v": 51246.32183968361
+ },
+ {
+ "t": 1784995200,
+ "o": 0.0016450011221698481,
+ "c": 0.001777366863691559,
+ "v": 43133.581071287736
+ },
+ {
+ "t": 1785009600,
+ "o": 0.001777366863691559,
+ "c": 0.0016457911130756924,
+ "v": 13793.986734391568
+ },
+ {
+ "t": 1785024000,
+ "o": 0.0016457911130756924,
+ "c": 0.0017029466691368502,
+ "v": 13195.713049746162
+ },
+ {
+ "t": 1785038400,
+ "o": 0.0017029466691368502,
+ "c": 0.0017044269381620313,
+ "v": 14871.252856163492
+ },
+ {
+ "t": 1785052800,
+ "o": 0.0017044269381620313,
+ "c": 0.001659923210170725,
+ "v": 8894.79682590089
+ },
+ {
+ "t": 1785067200,
+ "o": 0.001659923210170725,
+ "c": 0.0015969375157403054,
+ "v": 12409.642270755869
+ },
+ {
+ "t": 1785081600,
+ "o": 0.0015969375157403054,
+ "c": 0.0015613823690687088,
+ "v": 9238.415643095066
+ },
+ {
+ "t": 1785096000,
+ "o": 0.0015613823690687088,
+ "c": 0.0015362179130424041,
+ "v": 15026.228226150952
+ },
+ {
+ "t": 1785110400,
+ "o": 0.0015362179130424041,
+ "c": 0.0015023905659685803,
+ "v": 12017.152652638986
+ },
+ {
+ "t": 1785124800,
+ "o": 0.0015023905659685803,
+ "c": 0.0014861134693885845,
+ "v": 8528.935281279446
+ },
+ {
+ "t": 1785139200,
+ "o": 0.0014861134693885845,
+ "c": 0.0014844814934151895,
+ "v": 15208.07795963316
+ },
+ {
+ "t": 1785153600,
+ "o": 0.0014844814934151895,
+ "c": 0.0013282783624015294,
+ "v": 36214.03191755929
+ },
+ {
+ "t": 1785168000,
+ "o": 0.0013282783624015294,
+ "c": 0.001304398281558062,
+ "v": 46285.69786599158
+ },
+ {
+ "t": 1785182400,
+ "o": 0.001304398281558062,
+ "c": 0.001280143306639764,
+ "v": 13066.881374907192
+ },
+ {
+ "t": 1785196800,
+ "o": 0.001280143306639764,
+ "c": 0.0012991373588236226,
+ "v": 11662.857257842259
+ },
+ {
+ "t": 1785211200,
+ "o": 0.0012991373588236226,
+ "c": 0.0012640666891555923,
+ "v": 9525.996266733753
+ },
+ {
+ "t": 1785225600,
+ "o": 0.0012640666891555923,
+ "c": 0.0013007753017588088,
+ "v": 8456.346717707791
+ },
+ {
+ "t": 1785240000,
+ "o": 0.0013007753017588088,
+ "c": 0.0012464706111379562,
+ "v": 15169.152957926864
+ },
+ {
+ "t": 1785254400,
+ "o": 0.0012464706111379562,
+ "c": 0.0012117999011809445,
+ "v": 19717.712093829923
+ },
+ {
+ "t": 1785268800,
+ "o": 0.0012117999011809445,
+ "c": 0.0015291658864552478,
+ "v": 317520.6250513148
+ },
+ {
+ "t": 1785283200,
+ "o": 0.0015291658864552478,
+ "c": 0.001522869607897999,
+ "v": 160364.54189939093
+ },
+ {
+ "t": 1785297600,
+ "o": 0.001522869607897999,
+ "c": 0.0014716229437904931,
+ "v": 46905.48164228717
+ },
+ {
+ "t": 1785312000,
+ "o": 0.0014716229437904931,
+ "c": 0.001437970219540824,
+ "v": 21266.198348603444
+ },
+ {
+ "t": 1785326400,
+ "o": 0.001437970219540824,
+ "c": 0.0015116465243844638,
+ "v": 28304.379774084853
+ },
+ {
+ "t": 1785340800,
+ "o": 0.0015116465243844638,
+ "c": 0.0013712667737652193,
+ "v": 72859.79711413836
+ },
+ {
+ "t": 1785355200,
+ "o": 0.0013712667737652193,
+ "c": 0.0014218909999010394,
+ "v": 12182.884404870645
+ },
+ {
+ "t": 1785369600,
+ "o": 0.0014218909999010394,
+ "c": 0.0014156177202365484,
+ "v": 14811.036115900184
+ },
+ {
+ "t": 1785384000,
+ "o": 0.0014156177202365484,
+ "c": 0.001404816538849168,
+ "v": 9707.720292044694
+ },
+ {
+ "t": 1785398400,
+ "o": 0.001404816538849168,
+ "c": 0.0014143273838979847,
+ "v": 12520.63894882009
+ },
+ {
+ "t": 1785412800,
+ "o": 0.0014143273838979847,
+ "c": 0.0015936515691439893,
+ "v": 22002.26474819039
+ },
+ {
+ "t": 1785427200,
+ "o": 0.0015936515691439893,
+ "c": 0.0015464818075922742,
+ "v": 15721.959201335385
+ },
+ {
+ "t": 1785441600,
+ "o": 0.0015464818075922742,
+ "c": 0.001673486067791503,
+ "v": 92491.41389975238
+ },
+ {
+ "t": 1785456000,
+ "o": 0.001673486067791503,
+ "c": 0.0017244219991163462,
+ "v": 52505.252433941096
+ },
+ {
+ "t": 1785470400,
+ "o": 0.0017244219991163462,
+ "c": 0.0016772196845984172,
+ "v": 24958.22605567096
+ },
+ {
+ "t": 1785484800,
+ "o": 0.0016772196845984172,
+ "c": 0.001553860612485053,
+ "v": 14804.10570818919
+ },
+ {
+ "t": 1785499200,
+ "o": 0.001553860612485053,
+ "c": 0.0014742321139700793,
+ "v": 22819.45057932812
+ },
+ {
+ "t": 1785513600,
+ "o": 0.0014742321139700793,
+ "c": 0.0018055387287384866,
+ "v": 58469.640939331766
+ },
+ {
+ "t": 1785528000,
+ "o": 0.0018055387287384866,
+ "c": 0.0016165558977632366,
+ "v": 21479.238822826806
+ },
+ {
+ "t": 1785542400,
+ "o": 0.0016165558977632366,
+ "c": 0.0016189036503806266,
+ "v": 11779.903216880086
+ },
+ {
+ "t": 1785556800,
+ "o": 0.0016189036503806266,
+ "c": 0.0015752506264564013,
+ "v": 6293.59624488725
+ },
+ {
+ "t": 1785571200,
+ "o": 0.0015752506264564013,
+ "c": 0.001528149455578586,
+ "v": 8032.61611630822
+ },
+ {
+ "t": 1785585600,
+ "o": 0.001528149455578586,
+ "c": 0.0016238524992478538,
+ "v": 12033.25911445227
+ },
+ {
+ "t": 1785600000,
+ "o": 0.0016238524992478538,
+ "c": 0.0015613583308238656,
+ "v": 11817.073504350725
+ },
+ {
+ "t": 1785614400,
+ "o": 0.0015613583308238656,
+ "c": 0.0015969484427700135,
+ "v": 10299.600706613332
+ },
+ {
+ "t": 1785628800,
+ "o": 0.0015969484427700135,
+ "c": 0.0015007545578801856,
+ "v": 13712.05099213283
+ },
+ {
+ "t": 1785643200,
+ "o": 0.0015007545578801856,
+ "c": 0.001486942608481012,
+ "v": 23453.27717078449
+ },
+ {
+ "t": 1785657600,
+ "o": 0.001486942608481012,
+ "c": 0.0014903582379115537,
+ "v": 18593.125911108167
+ },
+ {
+ "t": 1785672000,
+ "o": 0.0014903582379115537,
+ "c": 0.001624317494906913,
+ "v": 23510.79395714694
+ },
+ {
+ "t": 1785686400,
+ "o": 0.001624317494906913,
+ "c": 0.0015577380879681665,
+ "v": 15875.48484024991
+ },
+ {
+ "t": 1785700800,
+ "o": 0.0015577380879681665,
+ "c": 0.001652387932477176,
+ "v": 23748.21856805531
+ },
+ {
+ "t": 1785715200,
+ "o": 0.001652387932477176,
+ "c": 0.0015699295698413732,
+ "v": 31740.517550041655
+ },
+ {
+ "t": 1785729600,
+ "o": 0.0015699295698413732,
+ "c": 0.0016327792003312594,
+ "v": 15942.93091199269
+ },
+ {
+ "t": 1785744000,
+ "o": 0.0016327792003312594,
+ "c": 0.0016398956264612149,
+ "v": 21358.887213053113
+ },
+ {
+ "t": 1785758400,
+ "o": 0.0016398956264612149,
+ "c": 0.0016074354013751332,
+ "v": 18712.927442404056
+ },
+ {
+ "t": 1785772800,
+ "o": 0.0016074354013751332,
+ "c": 0.001547863402574357,
+ "v": 20478.564735098647
+ },
+ {
+ "t": 1785787200,
+ "o": 0.001547863402574357,
+ "c": 0.0015481154399744025,
+ "v": 43459.62819074201
+ },
+ {
+ "t": 1785801600,
+ "o": 0.0015481154399744025,
+ "c": 0.001646995667289766,
+ "v": 22377.52616777868
+ },
+ {
+ "t": 1785816000,
+ "o": 0.001646995667289766,
+ "c": 0.0017034580498664466,
+ "v": 36383.906035770124
+ },
+ {
+ "t": 1785830400,
+ "o": 0.0017034580498664466,
+ "c": 0.0016224021836186645,
+ "v": 21794.573342745047
+ },
+ {
+ "t": 1785844800,
+ "o": 0.0016224021836186645,
+ "c": 0.0015423494129299202,
+ "v": 31897.57459445579
+ },
+ {
+ "t": 1785859200,
+ "o": 0.0015423494129299202,
+ "c": 0.0016263656333244416,
+ "v": 142682.89664710523
+ },
+ {
+ "t": 1785873600,
+ "o": 0.0016263656333244416,
+ "c": 0.001976525827763399,
+ "v": 201075.64459087275
+ },
+ {
+ "t": 1785888000,
+ "o": 0.001976525827763399,
+ "c": 0.0018313114192234328,
+ "v": 121511.37797163537
+ },
+ {
+ "t": 1785902400,
+ "o": 0.0018313114192234328,
+ "c": 0.0018102264592582623,
+ "v": 52019.412044376055
+ },
+ {
+ "t": 1785916800,
+ "o": 0.0018102264592582623,
+ "c": 0.00181909357017001,
+ "v": 19629.757494911668
+ },
+ {
+ "t": 1785931200,
+ "o": 0.00181909357017001,
+ "c": 0.0017966301810701094,
+ "v": 15640.699740819222
+ },
+ {
+ "t": 1785945600,
+ "o": 0.0017966301810701094,
+ "c": 0.0018164655885634874,
+ "v": 58023.85387343238
+ },
+ {
+ "t": 1785960000,
+ "o": 0.0018164655885634874,
+ "c": 0.001784505797349161,
+ "v": 58415.85866659716
+ },
+ {
+ "t": 1785974400,
+ "o": 0.001784505797349161,
+ "c": 0.0018101205319035994,
+ "v": 17785.199962324095
+ },
+ {
+ "t": 1785988800,
+ "o": 0.0018101205319035994,
+ "c": 0.0018234345158395237,
+ "v": 8131.006163014046
+ },
+ {
+ "t": 1786003200,
+ "o": 0.0018234345158395237,
+ "c": 0.001957053515611402,
+ "v": 22906.341511313785
+ },
+ {
+ "t": 1786017600,
+ "o": 0.001957053515611402,
+ "c": 0.0020196478033191047,
+ "v": 65236.53175184825
+ },
+ {
+ "t": 1786032000,
+ "o": 0.0020196478033191047,
+ "c": 0.002172041915117724,
+ "v": 81199.81254238097
+ },
+ {
+ "t": 1786046400,
+ "o": 0.002172041915117724,
+ "c": 0.0021532878959412494,
+ "v": 32103.10235710752
+ },
+ {
+ "t": 1786060800,
+ "o": 0.0021532878959412494,
+ "c": 0.0020430591677680176,
+ "v": 21417.037563849404
+ },
+ {
+ "t": 1786075200,
+ "o": 0.0020430591677680176,
+ "c": 0.0021266988518427754,
+ "v": 15195.850840344652
+ },
+ {
+ "t": 1786089600,
+ "o": 0.0021266988518427754,
+ "c": 0.0023480748720264948,
+ "v": 63731.05648268618
+ },
+ {
+ "t": 1786104000,
+ "o": 0.0023480748720264948,
+ "c": 0.0024001550537074133,
+ "v": 283099.7806992595
+ },
+ {
+ "t": 1786118400,
+ "o": 0.0024001550537074133,
+ "c": 0.0019237964078773493,
+ "v": 143244.19783530786
+ },
+ {
+ "t": 1786132800,
+ "o": 0.0019237964078773493,
+ "c": 0.0019295562607648375,
+ "v": 35155.542822963
+ },
+ {
+ "t": 1786147200,
+ "o": 0.0019295562607648375,
+ "c": 0.0018933331766106708,
+ "v": 21204.81265711166
+ },
+ {
+ "t": 1786161600,
+ "o": 0.0018933331766106708,
+ "c": 0.001908084977091491,
+ "v": 30899.73754182233
+ },
+ {
+ "t": 1786176000,
+ "o": 0.001908084977091491,
+ "c": 0.0018836445902897154,
+ "v": 9864.990500040345
+ },
+ {
+ "t": 1786190400,
+ "o": 0.0018836445902897154,
+ "c": 0.0018954551945699239,
+ "v": 14077.445939215688
+ },
+ {
+ "t": 1786204800,
+ "o": 0.0018954551945699239,
+ "c": 0.001745826736456611,
+ "v": 24828.63629133749
+ },
+ {
+ "t": 1786219200,
+ "o": 0.001745826736456611,
+ "c": 0.0017195206137656353,
+ "v": 27171.156064121802
+ },
+ {
+ "t": 1786233600,
+ "o": 0.0017195206137656353,
+ "c": 0.0016945529125503378,
+ "v": 14333.915990453092
+ },
+ {
+ "t": 1786248000,
+ "o": 0.0016945529125503378,
+ "c": 0.0017205006323061129,
+ "v": 7244.996132784986
+ },
+ {
+ "t": 1786262400,
+ "o": 0.0017205006323061129,
+ "c": 0.0018164756589247755,
+ "v": 12057.102028774394
+ },
+ {
+ "t": 1786276800,
+ "o": 0.0018164756589247755,
+ "c": 0.0017713008413470848,
+ "v": 9934.64663919689
+ },
+ {
+ "t": 1786291200,
+ "o": 0.0017713008413470848,
+ "c": 0.0018319078512719156,
+ "v": 17646.44049509319
+ },
+ {
+ "t": 1786305600,
+ "o": 0.0018319078512719156,
+ "c": 0.0016419148895864411,
+ "v": 18651.44049911436
+ },
+ {
+ "t": 1786320000,
+ "o": 0.0016419148895864411,
+ "c": 0.0015823911540011012,
+ "v": 25593.59853129564
+ },
+ {
+ "t": 1786334400,
+ "o": 0.0015823911540011012,
+ "c": 0.0015676544104215471,
+ "v": 16092.282188240039
+ },
+ {
+ "t": 1786348800,
+ "o": 0.0015676544104215471,
+ "c": 0.0016145254085671468,
+ "v": 11138.208595791835
+ },
+ {
+ "t": 1786363200,
+ "o": 0.0016145254085671468,
+ "c": 0.001521141134952194,
+ "v": 21727.28808044981
+ },
+ {
+ "t": 1786377600,
+ "o": 0.001521141134952194,
+ "c": 0.0014892457520111005,
+ "v": 21595.207479788773
+ },
+ {
+ "t": 1786392000,
+ "o": 0.0014892457520111005,
+ "c": 0.0015126880055570298,
+ "v": 20302.56930743806
+ },
+ {
+ "t": 1786406400,
+ "o": 0.0015126880055570298,
+ "c": 0.0015661754611472163,
+ "v": 15985.667832982033
+ },
+ {
+ "t": 1786420800,
+ "o": 0.0015661754611472163,
+ "c": 0.0015416951943239144,
+ "v": 8377.592559239423
+ },
+ {
+ "t": 1786435200,
+ "o": 0.0015416951943239144,
+ "c": 0.0015496411565450688,
+ "v": 8425.740402035532
+ },
+ {
+ "t": 1786449600,
+ "o": 0.0015496411565450688,
+ "c": 0.0016274517019005711,
+ "v": 19125.223364713893
+ },
+ {
+ "t": 1786464000,
+ "o": 0.0016274517019005711,
+ "c": 0.0017173628562237493,
+ "v": 29620.116742258404
+ },
+ {
+ "t": 1786478400,
+ "o": 0.0017173628562237493,
+ "c": 0.0016855231224397955,
+ "v": 8155.341251497832
+ },
+ {
+ "t": 1786492800,
+ "o": 0.0016855231224397955,
+ "c": 0.0016474811365121815,
+ "v": 8817.485517889065
+ },
+ {
+ "t": 1786507200,
+ "o": 0.0016474811365121815,
+ "c": 0.0018303214778873738,
+ "v": 17950.177351849383
+ },
+ {
+ "t": 1786521600,
+ "o": 0.0018303214778873738,
+ "c": 0.0017472174573233614,
+ "v": 8988.076255712367
+ },
+ {
+ "t": 1786536000,
+ "o": 0.0017472174573233614,
+ "c": 0.0016988617587565954,
+ "v": 13554.85801369812
+ },
+ {
+ "t": 1786550400,
+ "o": 0.0016988617587565954,
+ "c": 0.001662233742044956,
+ "v": 17546.355054087955
+ },
+ {
+ "t": 1786564800,
+ "o": 0.001662233742044956,
+ "c": 0.0016513965556974898,
+ "v": 9588.037686603011
+ },
+ {
+ "t": 1786579200,
+ "o": 0.0016513965556974898,
+ "c": 0.001655653691629726,
+ "v": 14657.403332650718
+ },
+ {
+ "t": 1786593600,
+ "o": 0.001655653691629726,
+ "c": 0.0018627746655741826,
+ "v": 28873.952101462863
+ },
+ {
+ "t": 1786608000,
+ "o": 0.0018627746655741826,
+ "c": 0.0019167010977382763,
+ "v": 21383.12570908471
+ },
+ {
+ "t": 1786622400,
+ "o": 0.0019167010977382763,
+ "c": 0.001755609371307696,
+ "v": 32646.983235575575
+ },
+ {
+ "t": 1786636800,
+ "o": 0.001755609371307696,
+ "c": 0.0018412427570679325,
+ "v": 23636.978430572883
+ },
+ {
+ "t": 1786651200,
+ "o": 0.0018412427570679325,
+ "c": 0.0018986019439409673,
+ "v": 15603.791953703048
+ },
+ {
+ "t": 1786665600,
+ "o": 0.0018986019439409673,
+ "c": 0.0018493549103722755,
+ "v": 4664.879047224465
+ },
+ {
+ "t": 1786680000,
+ "o": 0.0018493549103722755,
+ "c": 0.0017461361713484592,
+ "v": 10792.119274873407
+ },
+ {
+ "t": 1786694400,
+ "o": 0.0017461361713484592,
+ "c": 0.0017892320732584529,
+ "v": 6510.707957570458
+ },
+ {
+ "t": 1786708800,
+ "o": 0.0017892320732584529,
+ "c": 0.0017775504980401874,
+ "v": 10548.97932628006
+ },
+ {
+ "t": 1786723200,
+ "o": 0.0017775504980401874,
+ "c": 0.0017236098432964737,
+ "v": 163733.26094185346
+ },
+ {
+ "t": 1786737600,
+ "o": 0.0017236098432964737,
+ "c": 0.0017668908194692326,
+ "v": 12811.55097119045
+ },
+ {
+ "t": 1786752000,
+ "o": 0.0017668908194692326,
+ "c": 0.001855652960441317,
+ "v": 14050.362174388576
+ },
+ {
+ "t": 1786766400,
+ "o": 0.001855652960441317,
+ "c": 0.0018575940239495355,
+ "v": 10555.149127661158
+ },
+ {
+ "t": 1786780800,
+ "o": 0.0018575940239495355,
+ "c": 0.0018990660823082757,
+ "v": 11417.980100370156
+ },
+ {
+ "t": 1786795200,
+ "o": 0.0018990660823082757,
+ "c": 0.0018195920051373487,
+ "v": 8335.385848806789
+ },
+ {
+ "t": 1786809600,
+ "o": 0.0018195920051373487,
+ "c": 0.0017036013448962074,
+ "v": 11674.755314560407
+ },
+ {
+ "t": 1786824000,
+ "o": 0.0017036013448962074,
+ "c": 0.0016925182227270873,
+ "v": 4993.571220209847
+ },
+ {
+ "t": 1786838400,
+ "o": 0.0016925182227270873,
+ "c": 0.0016961922852776375,
+ "v": 5216.75836330612
+ },
+ {
+ "t": 1786852800,
+ "o": 0.0016961922852776375,
+ "c": 0.0017201526683532416,
+ "v": 9990.545266925237
+ },
+ {
+ "t": 1786867200,
+ "o": 0.0017201526683532416,
+ "c": 0.0016804785752066167,
+ "v": 5676.1186073414465
+ },
+ {
+ "t": 1786881600,
+ "o": 0.0016804785752066167,
+ "c": 0.001603554741497588,
+ "v": 11756.125690206178
+ },
+ {
+ "t": 1786896000,
+ "o": 0.001603554741497588,
+ "c": 0.0016019909625260812,
+ "v": 8350.722750244993
+ },
+ {
+ "t": 1786910400,
+ "o": 0.0016019909625260812,
+ "c": 0.0016163718399545477,
+ "v": 7601.782077811711
+ },
+ {
+ "t": 1786924800,
+ "o": 0.0016163718399545477,
+ "c": 0.0018164497141341825,
+ "v": 17219.724478756238
+ },
+ {
+ "t": 1786939200,
+ "o": 0.0018164497141341825,
+ "c": 0.0016807192099959508,
+ "v": 16329.474229976116
+ },
+ {
+ "t": 1786953600,
+ "o": 0.0016807192099959508,
+ "c": 0.0016164393435871337,
+ "v": 10712.4860820603
+ },
+ {
+ "t": 1786968000,
+ "o": 0.0016164393435871337,
+ "c": 0.0015478076072607408,
+ "v": 21122.865216558355
+ },
+ {
+ "t": 1786982400,
+ "o": 0.0015478076072607408,
+ "c": 0.0015100085749528717,
+ "v": 20822.785136204282
+ },
+ {
+ "t": 1786996800,
+ "o": 0.0015100085749528717,
+ "c": 0.0014972396068109839,
+ "v": 9126.39515859425
+ },
+ {
+ "t": 1787011200,
+ "o": 0.0014972396068109839,
+ "c": 0.0014760491208049829,
+ "v": 6537.182931458149
+ },
+ {
+ "t": 1787025600,
+ "o": 0.0014760491208049829,
+ "c": 0.001502600111412543,
+ "v": 8222.562156662172
+ },
+ {
+ "t": 1787040000,
+ "o": 0.001502600111412543,
+ "c": 0.0014746569364856292,
+ "v": 5878.2010807320285
+ },
+ {
+ "t": 1787054400,
+ "o": 0.0014746569364856292,
+ "c": 0.0014832122585114796,
+ "v": 8064.2672293493915
+ },
+ {
+ "t": 1787068800,
+ "o": 0.0014832122585114796,
+ "c": 0.0014509912466260768,
+ "v": 14679.98069601363
+ },
+ {
+ "t": 1787083200,
+ "o": 0.0014509912466260768,
+ "c": 0.0014164853662570675,
+ "v": 10190.331829277948
+ },
+ {
+ "t": 1787097600,
+ "o": 0.0014164853662570675,
+ "c": 0.0014938402156328265,
+ "v": 8600.456350784509
+ },
+ {
+ "t": 1787112000,
+ "o": 0.0014938402156328265,
+ "c": 0.0014209458550884723,
+ "v": 6931.481915150404
+ },
+ {
+ "t": 1787126400,
+ "o": 0.0014209458550884723,
+ "c": 0.001387290932290035,
+ "v": 10056.461578169845
+ },
+ {
+ "t": 1787140800,
+ "o": 0.001387290932290035,
+ "c": 0.001534543857166504,
+ "v": 16437.83652221274
+ },
+ {
+ "t": 1787155200,
+ "o": 0.001534543857166504,
+ "c": 0.0015705210020615329,
+ "v": 9690.658991682649
+ },
+ {
+ "t": 1787169600,
+ "o": 0.0015705210020615329,
+ "c": 0.0015912157767324277,
+ "v": 5738.787678874766
+ },
+ {
+ "t": 1787184000,
+ "o": 0.0015912157767324277,
+ "c": 0.0015556282873236443,
+ "v": 6345.22869770771
+ },
+ {
+ "t": 1787198400,
+ "o": 0.0015556282873236443,
+ "c": 0.001639257177486448,
+ "v": 4823.972386884623
+ },
+ {
+ "t": 1787212800,
+ "o": 0.001639257177486448,
+ "c": 0.0016937837948623454,
+ "v": 19522.45453115736
+ },
+ {
+ "t": 1787227200,
+ "o": 0.0016937837948623454,
+ "c": 0.0016642711267282927,
+ "v": 8775.80098666469
+ },
+ {
+ "t": 1787241600,
+ "o": 0.0016642711267282927,
+ "c": 0.0017445467448660894,
+ "v": 9747.028123156186
+ },
+ {
+ "t": 1787256000,
+ "o": 0.0017445467448660894,
+ "c": 0.0018346377158889684,
+ "v": 10383.517456605232
+ },
+ {
+ "t": 1787270400,
+ "o": 0.0018346377158889684,
+ "c": 0.0017542579819942482,
+ "v": 11270.275266073068
+ },
+ {
+ "t": 1787284800,
+ "o": 0.0017542579819942482,
+ "c": 0.0017160822886291103,
+ "v": 26770.763091852932
+ },
+ {
+ "t": 1787299200,
+ "o": 0.0017160822886291103,
+ "c": 0.00171228421965228,
+ "v": 10950.491044691726
+ },
+ {
+ "t": 1787313600,
+ "o": 0.00171228421965228,
+ "c": 0.001742924410049251,
+ "v": 28817.801414273006
+ },
+ {
+ "t": 1787328000,
+ "o": 0.001742924410049251,
+ "c": 0.001653862955122927,
+ "v": 44022.981933848954
+ },
+ {
+ "t": 1787342400,
+ "o": 0.001653862955122927,
+ "c": 0.0018280628474931899,
+ "v": 38638.69674631919
+ },
+ {
+ "t": 1787356800,
+ "o": 0.0018280628474931899,
+ "c": 0.0018687392765020497,
+ "v": 25366.60408040424
+ },
+ {
+ "t": 1787371200,
+ "o": 0.0018687392765020497,
+ "c": 0.0017812672915073346,
+ "v": 19935.758024961207
+ },
+ {
+ "t": 1787385600,
+ "o": 0.0017812672915073346,
+ "c": 0.0017626654018688564,
+ "v": 4579.107175702352
+ },
+ {
+ "t": 1787400000,
+ "o": 0.0017626654018688564,
+ "c": 0.0018036391931348624,
+ "v": 7209.054831960443
+ },
+ {
+ "t": 1787414400,
+ "o": 0.0018036391931348624,
+ "c": 0.0018804200380087282,
+ "v": 28212.399353540342
+ },
+ {
+ "t": 1787428800,
+ "o": 0.0018804200380087282,
+ "c": 0.0018498972499045798,
+ "v": 9094.24037544594
+ },
+ {
+ "t": 1787443200,
+ "o": 0.0018498972499045798,
+ "c": 0.001718671588037748,
+ "v": 13490.824647036414
+ },
+ {
+ "t": 1787457600,
+ "o": 0.001718671588037748,
+ "c": 0.0016328038192677927,
+ "v": 37815.55062649065
+ },
+ {
+ "t": 1787472000,
+ "o": 0.0016328038192677927,
+ "c": 0.001735176621385071,
+ "v": 19555.381610598
+ },
+ {
+ "t": 1787486400,
+ "o": 0.001735176621385071,
+ "c": 0.0017440392524811685,
+ "v": 13941.573560598434
+ },
+ {
+ "t": 1787500800,
+ "o": 0.0017440392524811685,
+ "c": 0.001786039181115576,
+ "v": 18057.651715940847
+ },
+ {
+ "t": 1787515200,
+ "o": 0.001786039181115576,
+ "c": 0.0018393745265368271,
+ "v": 10941.392591623697
+ },
+ {
+ "t": 1787529600,
+ "o": 0.0018393745265368271,
+ "c": 0.0018647184490419176,
+ "v": 9469.125600623254
+ },
+ {
+ "t": 1787544000,
+ "o": 0.0018647184490419176,
+ "c": 0.0019882825734452154,
+ "v": 14891.561782023968
+ },
+ {
+ "t": 1787558400,
+ "o": 0.0019882825734452154,
+ "c": 0.0021718036932794316,
+ "v": 48168.737242736264
+ },
+ {
+ "t": 1787572800,
+ "o": 0.0021718036932794316,
+ "c": 0.0019689709272800323,
+ "v": 45801.58337238611
+ },
+ {
+ "t": 1787587200,
+ "o": 0.0019689709272800323,
+ "c": 0.0020905279909976507,
+ "v": 66650.19267235037
+ },
+ {
+ "t": 1787601600,
+ "o": 0.0020905279909976507,
+ "c": 0.0025092075220806403,
+ "v": 126762.37177286462
+ },
+ {
+ "t": 1787616000,
+ "o": 0.0025092075220806403,
+ "c": 0.0024913190935211592,
+ "v": 96212.56662222164
+ },
+ {
+ "t": 1787630400,
+ "o": 0.0024913190935211592,
+ "c": 0.002461567424431219,
+ "v": 140346.92377549212
+ },
+ {
+ "t": 1787644800,
+ "o": 0.002461567424431219,
+ "c": 0.0024228897383200133,
+ "v": 46694.6331424441
+ },
+ {
+ "t": 1787659200,
+ "o": 0.0024228897383200133,
+ "c": 0.0023533839983517556,
+ "v": 47227.539658271904
+ },
+ {
+ "t": 1787673600,
+ "o": 0.0023533839983517556,
+ "c": 0.002245581246137044,
+ "v": 35917.99930666745
+ },
+ {
+ "t": 1787688000,
+ "o": 0.002245581246137044,
+ "c": 0.002447789842955815,
+ "v": 51032.1411217845
+ },
+ {
+ "t": 1787702400,
+ "o": 0.002447789842955815,
+ "c": 0.002343910694536063,
+ "v": 33287.077647995546
+ },
+ {
+ "t": 1787716800,
+ "o": 0.002343910694536063,
+ "c": 0.0024167903306918006,
+ "v": 24188.572939865782
+ },
+ {
+ "t": 1787731200,
+ "o": 0.0024167903306918006,
+ "c": 0.002636557894553878,
+ "v": 45131.65256223201
+ },
+ {
+ "t": 1787745600,
+ "o": 0.002636557894553878,
+ "c": 0.002256496399379726,
+ "v": 49658.15671842674
+ },
+ {
+ "t": 1787760000,
+ "o": 0.002256496399379726,
+ "c": 0.0021483879392289857,
+ "v": 41725.90625365848
+ },
+ {
+ "t": 1787774400,
+ "o": 0.0021483879392289857,
+ "c": 0.00224343175812097,
+ "v": 18817.591409336143
+ },
+ {
+ "t": 1787788800,
+ "o": 0.00224343175812097,
+ "c": 0.0020592680429383954,
+ "v": 21670.86124671968
+ },
+ {
+ "t": 1787803200,
+ "o": 0.0020592680429383954,
+ "c": 0.002038975295074448,
+ "v": 30042.196631312618
+ },
+ {
+ "t": 1787817600,
+ "o": 0.002038975295074448,
+ "c": 0.0020910782476761306,
+ "v": 34598.82937020902
+ },
+ {
+ "t": 1787832000,
+ "o": 0.0020910782476761306,
+ "c": 0.001842168184187038,
+ "v": 128200.01876329926
+ },
+ {
+ "t": 1787846400,
+ "o": 0.001842168184187038,
+ "c": 0.0017886704588772288,
+ "v": 58047.05001309102
+ },
+ {
+ "t": 1787860800,
+ "o": 0.0017886704588772288,
+ "c": 0.0015838918550686787,
+ "v": 98960.27354532378
+ },
+ {
+ "t": 1787875200,
+ "o": 0.0015838918550686787,
+ "c": 0.0019081662215196216,
+ "v": 71292.34190577583
+ },
+ {
+ "t": 1787889600,
+ "o": 0.0019081662215196216,
+ "c": 0.0018557496692185138,
+ "v": 15734.957267862796
+ },
+ {
+ "t": 1787904000,
+ "o": 0.0018557496692185138,
+ "c": 0.0018023318467490891,
+ "v": 14221.890065306341
+ },
+ {
+ "t": 1787918400,
+ "o": 0.0018023318467490891,
+ "c": 0.0016463389134455707,
+ "v": 61485.87738401034
+ },
+ {
+ "t": 1787932800,
+ "o": 0.0016463389134455707,
+ "c": 0.0015906958808248007,
+ "v": 39850.95648776275
+ },
+ {
+ "t": 1787947200,
+ "o": 0.0015906958808248007,
+ "c": 0.0016831145751336533,
+ "v": 34150.66304215519
+ },
+ {
+ "t": 1787961600,
+ "o": 0.0016831145751336533,
+ "c": 0.0016729495846829966,
+ "v": 36975.632261445724
+ },
+ {
+ "t": 1787976000,
+ "o": 0.0016729495846829966,
+ "c": 0.001620703374655902,
+ "v": 20116.953629099677
+ },
+ {
+ "t": 1787990400,
+ "o": 0.001620703374655902,
+ "c": 0.001769062697970648,
+ "v": 29708.300025870016
+ },
+ {
+ "t": 1788004800,
+ "o": 0.001769062697970648,
+ "c": 0.0016994346125484162,
+ "v": 30007.834772505445
+ },
+ {
+ "t": 1788019200,
+ "o": 0.0016994346125484162,
+ "c": 0.0016507927290344187,
+ "v": 25243.682257408473
+ },
+ {
+ "t": 1788033600,
+ "o": 0.0016507927290344187,
+ "c": 0.0016243989901004682,
+ "v": 17876.189843387954
+ },
+ {
+ "t": 1788048000,
+ "o": 0.0016243989901004682,
+ "c": 0.0016001460678974446,
+ "v": 13974.495856464182
+ },
+ {
+ "t": 1788062400,
+ "o": 0.0016001460678974446,
+ "c": 0.0015856000969115315,
+ "v": 8375.819061166509
+ },
+ {
+ "t": 1788076800,
+ "o": 0.0015856000969115315,
+ "c": 0.001549037096716953,
+ "v": 18978.174993074954
+ },
+ {
+ "t": 1788091200,
+ "o": 0.001549037096716953,
+ "c": 0.0015350361742767645,
+ "v": 22953.303267619587
+ },
+ {
+ "t": 1788105600,
+ "o": 0.0015350361742767645,
+ "c": 0.0014928830834147852,
+ "v": 14354.422169041676
+ },
+ {
+ "t": 1788120000,
+ "o": 0.0014928830834147852,
+ "c": 0.0014339072453339252,
+ "v": 17660.751372084957
+ },
+ {
+ "t": 1788134400,
+ "o": 0.0014339072453339252,
+ "c": 0.0013597781468160529,
+ "v": 26396.290727912696
+ },
+ {
+ "t": 1788148800,
+ "o": 0.0013597781468160529,
+ "c": 0.0014409578315297384,
+ "v": 23794.712171034247
+ },
+ {
+ "t": 1788163200,
+ "o": 0.0014409578315297384,
+ "c": 0.0013836896072360937,
+ "v": 15173.749028271797
+ },
+ {
+ "t": 1788177600,
+ "o": 0.0013836896072360937,
+ "c": 0.0013405918440092784,
+ "v": 23821.827927886476
+ },
+ {
+ "t": 1788192000,
+ "o": 0.0013405918440092784,
+ "c": 0.0013268765915392048,
+ "v": 64551.949875315135
+ },
+ {
+ "t": 1788206400,
+ "o": 0.0013268765915392048,
+ "c": 0.0013349615945327379,
+ "v": 8966.36678694376
+ },
+ {
+ "t": 1788220800,
+ "o": 0.0013349615945327379,
+ "c": 0.0013740890201223413,
+ "v": 10696.32400911918
+ },
+ {
+ "t": 1788235200,
+ "o": 0.0013740890201223413,
+ "c": 0.0013614521844872653,
+ "v": 14881.232556530253
+ },
+ {
+ "t": 1788249600,
+ "o": 0.0013614521844872653,
+ "c": 0.001344319042365423,
+ "v": 9533.669083218454
+ },
+ {
+ "t": 1788264000,
+ "o": 0.001344319042365423,
+ "c": 0.0012888003809712893,
+ "v": 12522.863555257865
+ },
+ {
+ "t": 1788278400,
+ "o": 0.0012888003809712893,
+ "c": 0.0012722074448562697,
+ "v": 43716.34777138651
+ },
+ {
+ "t": 1788292800,
+ "o": 0.0012722074448562697,
+ "c": 0.0011017070708294924,
+ "v": 69372.32129616731
+ },
+ {
+ "t": 1788307200,
+ "o": 0.0011017070708294924,
+ "c": 0.001134437576749721,
+ "v": 17251.316754820604
+ },
+ {
+ "t": 1788321600,
+ "o": 0.001134437576749721,
+ "c": 0.0011349645990745903,
+ "v": 6807.465223036879
+ },
+ {
+ "t": 1788336000,
+ "o": 0.0011349645990745903,
+ "c": 0.0010809153673916549,
+ "v": 22412.052404482187
+ },
+ {
+ "t": 1788350400,
+ "o": 0.0010809153673916549,
+ "c": 0.0011678961495394324,
+ "v": 12319.821844729491
+ },
+ {
+ "t": 1788364800,
+ "o": 0.0011678961495394324,
+ "c": 0.0011509862558637565,
+ "v": 18709.998346025077
+ },
+ {
+ "t": 1788379200,
+ "o": 0.0011509862558637565,
+ "c": 0.0011635069043069515,
+ "v": 8073.617001901501
+ },
+ {
+ "t": 1788393600,
+ "o": 0.0011635069043069515,
+ "c": 0.0011352119098926436,
+ "v": 5363.118865515851
+ },
+ {
+ "t": 1788408000,
+ "o": 0.0011352119098926436,
+ "c": 0.0011087718115375584,
+ "v": 8839.051742212856
+ },
+ {
+ "t": 1788422400,
+ "o": 0.0011087718115375584,
+ "c": 0.0009651984526666807,
+ "v": 27632.921927078725
+ },
+ {
+ "t": 1788436800,
+ "o": 0.0009651984526666807,
+ "c": 0.0009743936170899637,
+ "v": 35281.39538183163
+ },
+ {
+ "t": 1788451200,
+ "o": 0.0009743936170899637,
+ "c": 0.0009313881624263618,
+ "v": 34007.193256948194
+ },
+ {
+ "t": 1788465600,
+ "o": 0.0009313881624263618,
+ "c": 0.0009595136803017955,
+ "v": 15573.391311831478
+ },
+ {
+ "t": 1788480000,
+ "o": 0.0009595136803017955,
+ "c": 0.0009190392954538708,
+ "v": 24029.245616303728
+ },
+ {
+ "t": 1788494400,
+ "o": 0.0009190392954538708,
+ "c": 0.0008473729748717358,
+ "v": 18315.70754031878
+ },
+ {
+ "t": 1788508800,
+ "o": 0.0008473729748717358,
+ "c": 0.0008397022733152823,
+ "v": 15125.448573149086
+ },
+ {
+ "t": 1788523200,
+ "o": 0.0008397022733152823,
+ "c": 0.0007690698721655089,
+ "v": 55459.17484389937
+ },
+ {
+ "t": 1788537600,
+ "o": 0.0007690698721655089,
+ "c": 0.0007588714531024978,
+ "v": 19158.30673147204
+ },
+ {
+ "t": 1788552000,
+ "o": 0.0007588714531024978,
+ "c": 0.0007573085875422004,
+ "v": 25610.571643328152
+ },
+ {
+ "t": 1788566400,
+ "o": 0.0007573085875422004,
+ "c": 0.0007206322201573973,
+ "v": 9715.780192010625
+ },
+ {
+ "t": 1788580800,
+ "o": 0.0007206322201573973,
+ "c": 0.0007926194294790607,
+ "v": 15585.146671187042
+ },
+ {
+ "t": 1788595200,
+ "o": 0.0007926194294790607,
+ "c": 0.0007907819851401725,
+ "v": 3634.1194054846947
+ },
+ {
+ "t": 1788609600,
+ "o": 0.0007907819851401725,
+ "c": 0.0007680372953524589,
+ "v": 7329.823679544017
+ },
+ {
+ "t": 1788624000,
+ "o": 0.0007680372953524589,
+ "c": 0.0008812077931546906,
+ "v": 18462.262211274618
+ },
+ {
+ "t": 1788638400,
+ "o": 0.0008812077931546906,
+ "c": 0.000989281655717512,
+ "v": 30235.792547443532
+ },
+ {
+ "t": 1788652800,
+ "o": 0.000989281655717512,
+ "c": 0.0010221815455955796,
+ "v": 15808.08113883503
+ },
+ {
+ "t": 1788667200,
+ "o": 0.0010221815455955796,
+ "c": 0.0009680634908749842,
+ "v": 11842.70660499443
+ },
+ {
+ "t": 1788681600,
+ "o": 0.0009680634908749842,
+ "c": 0.0009624579455029119,
+ "v": 9809.946970848327
+ },
+ {
+ "t": 1788696000,
+ "o": 0.0009624579455029119,
+ "c": 0.0009407799811977712,
+ "v": 9900.708091384406
+ },
+ {
+ "t": 1788710400,
+ "o": 0.0009407799811977712,
+ "c": 0.0008553614017098644,
+ "v": 19979.48681351824
+ },
+ {
+ "t": 1788724800,
+ "o": 0.0008553614017098644,
+ "c": 0.0009346455390603831,
+ "v": 14368.206920049035
+ },
+ {
+ "t": 1788739200,
+ "o": 0.0009346455390603831,
+ "c": 0.0008759024910788538,
+ "v": 6945.965960208636
+ },
+ {
+ "t": 1788753600,
+ "o": 0.0008759024910788538,
+ "c": 0.0008246291208331858,
+ "v": 5370.2570460533925
+ },
+ {
+ "t": 1788768000,
+ "o": 0.0008246291208331858,
+ "c": 0.0007726349914262983,
+ "v": 8121.635222960426
+ },
+ {
+ "t": 1788782400,
+ "o": 0.0007726349914262983,
+ "c": 0.0007281993231964723,
+ "v": 32279.685172872425
+ },
+ {
+ "t": 1788796800,
+ "o": 0.0007281993231964723,
+ "c": 0.0007674173896455713,
+ "v": 12184.184749509646
+ },
+ {
+ "t": 1788811200,
+ "o": 0.0007674173896455713,
+ "c": 0.000783862904521713,
+ "v": 15912.315979347863
+ },
+ {
+ "t": 1788825600,
+ "o": 0.000783862904521713,
+ "c": 0.0007600554458980169,
+ "v": 14005.955201911062
+ },
+ {
+ "t": 1788840000,
+ "o": 0.0007600554458980169,
+ "c": 0.0006922531731125332,
+ "v": 19315.788570864097
+ },
+ {
+ "t": 1788854400,
+ "o": 0.0006922531731125332,
+ "c": 0.0006836962388232006,
+ "v": 11028.667319917306
+ },
+ {
+ "t": 1788868800,
+ "o": 0.0006836962388232006,
+ "c": 0.000589538951167831,
+ "v": 31341.28573991529
+ },
+ {
+ "t": 1788883200,
+ "o": 0.000589538951167831,
+ "c": 0.0005943633953846813,
+ "v": 21792.309372321968
+ },
+ {
+ "t": 1788897600,
+ "o": 0.0005943633953846813,
+ "c": 0.0006260545377022164,
+ "v": 19666.74692701657
+ },
+ {
+ "t": 1788912000,
+ "o": 0.0006260545377022164,
+ "c": 0.0005731764266639071,
+ "v": 7882.4944076892425
+ },
+ {
+ "t": 1788926400,
+ "o": 0.0005731764266639071,
+ "c": 0.0006335080311639038,
+ "v": 10345.861665313781
+ },
+ {
+ "t": 1788940800,
+ "o": 0.0006335080311639038,
+ "c": 0.0006343735198293352,
+ "v": 13837.26880331304
+ },
+ {
+ "t": 1788955200,
+ "o": 0.0006343735198293352,
+ "c": 0.000705731587638363,
+ "v": 14919.936548664857
+ },
+ {
+ "t": 1788969600,
+ "o": 0.000705731587638363,
+ "c": 0.0006554969034495593,
+ "v": 8051.057570989609
+ },
+ {
+ "t": 1788984000,
+ "o": 0.0006554969034495593,
+ "c": 0.0006176634163741269,
+ "v": 6780.384579254813
+ },
+ {
+ "t": 1788998400,
+ "o": 0.0006176634163741269,
+ "c": 0.000579714766917773,
+ "v": 13508.706369915639
+ },
+ {
+ "t": 1789012800,
+ "o": 0.000579714766917773,
+ "c": 0.0005629624765266322,
+ "v": 12475.52726407073
+ },
+ {
+ "t": 1789027200,
+ "o": 0.0005629624765266322,
+ "c": 0.0005813669123799146,
+ "v": 8151.252306330787
+ },
+ {
+ "t": 1789041600,
+ "o": 0.0005813669123799146,
+ "c": 0.0005695155733668352,
+ "v": 4915.37246084634
+ },
+ {
+ "t": 1789056000,
+ "o": 0.0005695155733668352,
+ "c": 0.0006165228905538856,
+ "v": 8219.529670101612
+ },
+ {
+ "t": 1789070400,
+ "o": 0.0006165228905538856,
+ "c": 0.0006154008647795051,
+ "v": 4554.183041824697
+ },
+ {
+ "t": 1789084800,
+ "o": 0.0006154008647795051,
+ "c": 0.0007374257688020223,
+ "v": 15181.834858115868
+ },
+ {
+ "t": 1789099200,
+ "o": 0.0007374257688020223,
+ "c": 0.0008496047476279883,
+ "v": 65063.762229047104
+ },
+ {
+ "t": 1789113600,
+ "o": 0.0008496047476279883,
+ "c": 0.0008568272383932722,
+ "v": 18268.191060468776
+ },
+ {
+ "t": 1789128000,
+ "o": 0.0008568272383932722,
+ "c": 0.0008710639469104914,
+ "v": 21130.372099990032
+ },
+ {
+ "t": 1789142400,
+ "o": 0.0008710639469104914,
+ "c": 0.000756109020726922,
+ "v": 16317.429256802752
+ },
+ {
+ "t": 1789156800,
+ "o": 0.000756109020726922,
+ "c": 0.000779814436772821,
+ "v": 8222.0833804397
+ },
+ {
+ "t": 1789171200,
+ "o": 0.000779814436772821,
+ "c": 0.0007848850901755303,
+ "v": 6092.211183028748
+ },
+ {
+ "t": 1789185600,
+ "o": 0.0007848850901755303,
+ "c": 0.000770349928219421,
+ "v": 4419.844205486614
+ },
+ {
+ "t": 1789200000,
+ "o": 0.000770349928219421,
+ "c": 0.000743489282877744,
+ "v": 4370.473434536652
+ },
+ {
+ "t": 1789214400,
+ "o": 0.000743489282877744,
+ "c": 0.0006771982954614454,
+ "v": 13625.977393751547
+ },
+ {
+ "t": 1789228800,
+ "o": 0.0006771982954614454,
+ "c": 0.0008251453528226885,
+ "v": 31280.449511070547
+ },
+ {
+ "t": 1789243200,
+ "o": 0.0008251453528226885,
+ "c": 0.0008097979774896062,
+ "v": 8015.301937731024
+ },
+ {
+ "t": 1789257600,
+ "o": 0.0008097979774896062,
+ "c": 0.0007730510164299731,
+ "v": 5049.832607567439
+ },
+ {
+ "t": 1789272000,
+ "o": 0.0007730510164299731,
+ "c": 0.0007710404455483682,
+ "v": 5594.522906427189
+ },
+ {
+ "t": 1789286400,
+ "o": 0.0007710404455483682,
+ "c": 0.0007562734371667848,
+ "v": 7593.087644770951
+ },
+ {
+ "t": 1789300800,
+ "o": 0.0007562734371667848,
+ "c": 0.0007730672189981387,
+ "v": 4557.1407208762475
+ },
+ {
+ "t": 1789315200,
+ "o": 0.0007730672189981387,
+ "c": 0.0007680543446243437,
+ "v": 4239.0975652148945
+ },
+ {
+ "t": 1789329600,
+ "o": 0.0007680543446243437,
+ "c": 0.0007381241146236191,
+ "v": 3561.772289160042
+ },
+ {
+ "t": 1789344000,
+ "o": 0.0007381241146236191,
+ "c": 0.0007603916862183977,
+ "v": 2336.0370341755047
+ },
+ {
+ "t": 1789358400,
+ "o": 0.0007603916862183977,
+ "c": 0.000834951938398602,
+ "v": 7228.610204950097
+ },
+ {
+ "t": 1789372800,
+ "o": 0.000834951938398602,
+ "c": 0.0007504948156842413,
+ "v": 18215.354310162806
+ },
+ {
+ "t": 1789387200,
+ "o": 0.0007504948156842413,
+ "c": 0.0008332626577762871,
+ "v": 28181.510021704944
+ },
+ {
+ "t": 1789401600,
+ "o": 0.0008332626577762871,
+ "c": 0.0008822400893892287,
+ "v": 5617.5018900508485
+ },
+ {
+ "t": 1789416000,
+ "o": 0.0008822400893892287,
+ "c": 0.000751660952410667,
+ "v": 40213.987283197115
+ },
+ {
+ "t": 1789430400,
+ "o": 0.000751660952410667,
+ "c": 0.0007259885009362298,
+ "v": 4971.374446346677
+ },
+ {
+ "t": 1789444800,
+ "o": 0.0007259885009362298,
+ "c": 0.0007913630586215322,
+ "v": 14261.068523260677
+ },
+ {
+ "t": 1789459200,
+ "o": 0.0007913630586215322,
+ "c": 0.000914037326953701,
+ "v": 37072.49718538705
+ },
+ {
+ "t": 1789473600,
+ "o": 0.000914037326953701,
+ "c": 0.000889211801399304,
+ "v": 12494.040485940328
+ },
+ {
+ "t": 1789488000,
+ "o": 0.000889211801399304,
+ "c": 0.0008764555634810603,
+ "v": 9207.814755455598
+ },
+ {
+ "t": 1789502400,
+ "o": 0.0008764555634810603,
+ "c": 0.0009769744096868726,
+ "v": 15360.068869344708
+ },
+ {
+ "t": 1789516800,
+ "o": 0.0009769744096868726,
+ "c": 0.0011134627148989922,
+ "v": 16854.289107368255
+ },
+ {
+ "t": 1789531200,
+ "o": 0.0011134627148989922,
+ "c": 0.0010374218442728658,
+ "v": 18385.15644059252
+ },
+ {
+ "t": 1789545600,
+ "o": 0.0010374218442728658,
+ "c": 0.0009793193496941098,
+ "v": 13802.62984956498
+ },
+ {
+ "t": 1789560000,
+ "o": 0.0009793193496941098,
+ "c": 0.0009242510393553939,
+ "v": 14058.106927680443
+ },
+ {
+ "t": 1789574400,
+ "o": 0.0009242510393553939,
+ "c": 0.0009195670927802852,
+ "v": 14877.4765386637
+ },
+ {
+ "t": 1789588800,
+ "o": 0.0009195670927802852,
+ "c": 0.0009522131715949761,
+ "v": 13941.998564184532
+ },
+ {
+ "t": 1789603200,
+ "o": 0.0009522131715949761,
+ "c": 0.0010080724319886628,
+ "v": 14293.872918875895
+ },
+ {
+ "t": 1789617600,
+ "o": 0.0010080724319886628,
+ "c": 0.0008697457100996983,
+ "v": 71570.65633144624
+ },
+ {
+ "t": 1789632000,
+ "o": 0.0008697457100996983,
+ "c": 0.0008856776688877204,
+ "v": 20277.24852680305
+ },
+ {
+ "t": 1789646400,
+ "o": 0.0008856776688877204,
+ "c": 0.0008507516557102727,
+ "v": 7872.914249961617
+ },
+ {
+ "t": 1789660800,
+ "o": 0.0008507516557102727,
+ "c": 0.0008440064393128922,
+ "v": 1455.7888357220197
+ },
+ {
+ "t": 1789675200,
+ "o": 0.0008440064393128922,
+ "c": 0.0008242345566585637,
+ "v": 6349.960942288536
+ },
+ {
+ "t": 1789689600,
+ "o": 0.0008242345566585637,
+ "c": 0.0008666260003051954,
+ "v": 5423.960418809103
+ },
+ {
+ "t": 1789704000,
+ "o": 0.0008666260003051954,
+ "c": 0.0007731372005223898,
+ "v": 16333.779147108751
+ },
+ {
+ "t": 1789718400,
+ "o": 0.0007731372005223898,
+ "c": 0.0007984550043851114,
+ "v": 12070.666538882027
+ },
+ {
+ "t": 1789732800,
+ "o": 0.0007984550043851114,
+ "c": 0.000811348320800017,
+ "v": 14116.892133363132
+ },
+ {
+ "t": 1789747200,
+ "o": 0.000811348320800017,
+ "c": 0.0008160982824100714,
+ "v": 8308.452581297835
+ },
+ {
+ "t": 1789761600,
+ "o": 0.0008160982824100714,
+ "c": 0.0008411431904634591,
+ "v": 5407.861944501515
+ },
+ {
+ "t": 1789776000,
+ "o": 0.0008411431904634591,
+ "c": 0.000814615566337893,
+ "v": 5118.577073057091
+ },
+ {
+ "t": 1789790400,
+ "o": 0.000814615566337893,
+ "c": 0.0007992367618669101,
+ "v": 1170.2153741535494
+ },
+ {
+ "t": 1789804800,
+ "o": 0.0007992367618669101,
+ "c": 0.0007825610359091595,
+ "v": 2921.0936746554676
+ },
+ {
+ "t": 1789819200,
+ "o": 0.0007825610359091595,
+ "c": 0.000819388316079233,
+ "v": 7446.748922816797
+ },
+ {
+ "t": 1789833600,
+ "o": 0.000819388316079233,
+ "c": 0.0008015802187371247,
+ "v": 4182.9352237438015
+ },
+ {
+ "t": 1789848000,
+ "o": 0.0008015802187371247,
+ "c": 0.0007731431072405327,
+ "v": 7128.669794165706
+ },
+ {
+ "t": 1789862400,
+ "o": 0.0007731431072405327,
+ "c": 0.000741749482017901,
+ "v": 3561.0936541019573
+ },
+ {
+ "t": 1789876800,
+ "o": 0.000741749482017901,
+ "c": 0.0007327950381245602,
+ "v": 11200.061923284287
+ },
+ {
+ "t": 1789891200,
+ "o": 0.0007327950381245602,
+ "c": 0.0006641894182531797,
+ "v": 50203.11263305554
+ },
+ {
+ "t": 1789905600,
+ "o": 0.0006641894182531797,
+ "c": 0.0006705250154428453,
+ "v": 13242.045576383149
+ },
+ {
+ "t": 1789920000,
+ "o": 0.0006705250154428453,
+ "c": 0.0007294681059707091,
+ "v": 11729.245208257125
+ },
+ {
+ "t": 1789934400,
+ "o": 0.0007294681059707091,
+ "c": 0.000721013555260396,
+ "v": 7996.165300841368
+ },
+ {
+ "t": 1789948800,
+ "o": 0.000721013555260396,
+ "c": 0.0006943579624766202,
+ "v": 7158.279960069723
+ },
+ {
+ "t": 1789963200,
+ "o": 0.0006943579624766202,
+ "c": 0.0007231250827660497,
+ "v": 4262.4447300819675
+ },
+ {
+ "t": 1789977600,
+ "o": 0.0007231250827660497,
+ "c": 0.0007329829351605171,
+ "v": 7356.958587879053
+ },
+ {
+ "t": 1789992000,
+ "o": 0.0007329829351605171,
+ "c": 0.0007232798907826545,
+ "v": 13363.57014205488
+ },
+ {
+ "t": 1790006400,
+ "o": 0.0007232798907826545,
+ "c": 0.0006581747570021545,
+ "v": 11273.567849788093
+ },
+ {
+ "t": 1790020800,
+ "o": 0.0006581747570021545,
+ "c": 0.0006901480398687704,
+ "v": 8028.127921410451
+ },
+ {
+ "t": 1790035200,
+ "o": 0.0006901480398687704,
+ "c": 0.0007411353922546513,
+ "v": 8103.967777659816
+ },
+ {
+ "t": 1790049600,
+ "o": 0.0007411353922546513,
+ "c": 0.000663615923469259,
+ "v": 20132.940222294004
+ },
+ {
+ "t": 1790064000,
+ "o": 0.000663615923469259,
+ "c": 0.000666443416694439,
+ "v": 4638.481968293178
+ },
+ {
+ "t": 1790078400,
+ "o": 0.000666443416694439,
+ "c": 0.0006837012868369527,
+ "v": 15427.860636359026
+ },
+ {
+ "t": 1790092800,
+ "o": 0.0006837012868369527,
+ "c": 0.0006842297183322373,
+ "v": 9573.780265993497
+ },
+ {
+ "t": 1790107200,
+ "o": 0.0006842297183322373,
+ "c": 0.0007071601049267024,
+ "v": 8007.402401855849
+ },
+ {
+ "t": 1790121600,
+ "o": 0.0007071601049267024,
+ "c": 0.0007315994044146832,
+ "v": 22043.578569569956
+ },
+ {
+ "t": 1790136000,
+ "o": 0.0007315994044146832,
+ "c": 0.0007338916109026659,
+ "v": 5834.382833578402
+ },
+ {
+ "t": 1790150400,
+ "o": 0.0007338916109026659,
+ "c": 0.0007618708323868115,
+ "v": 7187.985567658554
+ },
+ {
+ "t": 1790164800,
+ "o": 0.0007618708323868115,
+ "c": 0.0007730418675267609,
+ "v": 14530.541988039917
+ },
+ {
+ "t": 1790179200,
+ "o": 0.0007730418675267609,
+ "c": 0.0007420087210341584,
+ "v": 36906.32089581001
+ },
+ {
+ "t": 1790193600,
+ "o": 0.0007420087210341584,
+ "c": 0.0007119491037501049,
+ "v": 4820.406162938642
+ },
+ {
+ "t": 1790208000,
+ "o": 0.0007119491037501049,
+ "c": 0.0007018154087177264,
+ "v": 5508.948658059802
+ },
+ {
+ "t": 1790222400,
+ "o": 0.0007018154087177264,
+ "c": 0.0007251716526712177,
+ "v": 5429.1628889366975
+ },
+ {
+ "t": 1790236800,
+ "o": 0.0007251716526712177,
+ "c": 0.000679276667469916,
+ "v": 8008.611894512263
+ },
+ {
+ "t": 1790251200,
+ "o": 0.000679276667469916,
+ "c": 0.000727209867296509,
+ "v": 4094.251195525062
+ },
+ {
+ "t": 1790265600,
+ "o": 0.000727209867296509,
+ "c": 0.0007814360984566973,
+ "v": 8236.18140795082
+ },
+ {
+ "t": 1790280000,
+ "o": 0.0007814360984566973,
+ "c": 0.0007515258988819514,
+ "v": 4235.832302412095
+ },
+ {
+ "t": 1790294400,
+ "o": 0.0007515258988819514,
+ "c": 0.000752242502954816,
+ "v": 3222.997211946573
+ },
+ {
+ "t": 1790308800,
+ "o": 0.000752242502954816,
+ "c": 0.000745056651876811,
+ "v": 5627.913427468908
+ },
+ {
+ "t": 1790323200,
+ "o": 0.000745056651876811,
+ "c": 0.0007661397710830556,
+ "v": 6670.812477957957
+ },
+ {
+ "t": 1790337600,
+ "o": 0.0007661397710830556,
+ "c": 0.0008134131749384696,
+ "v": 14010.789978086414
+ },
+ {
+ "t": 1790352000,
+ "o": 0.0008134131749384696,
+ "c": 0.0008386342441406938,
+ "v": 6853.1147066140065
+ },
+ {
+ "t": 1790366400,
+ "o": 0.0008386342441406938,
+ "c": 0.0008256187425033072,
+ "v": 15439.597769984253
+ },
+ {
+ "t": 1790380800,
+ "o": 0.0008256187425033072,
+ "c": 0.0008558909533814202,
+ "v": 14292.758716263279
+ },
+ {
+ "t": 1790395200,
+ "o": 0.0008558909533814202,
+ "c": 0.0008783228468635533,
+ "v": 9827.52907673823
+ },
+ {
+ "t": 1790409600,
+ "o": 0.0008783228468635533,
+ "c": 0.0009667101492242875,
+ "v": 19827.144415434006
+ },
+ {
+ "t": 1790424000,
+ "o": 0.0009667101492242875,
+ "c": 0.0009009316594923432,
+ "v": 19359.57279741683
+ },
+ {
+ "t": 1790438400,
+ "o": 0.0009009316594923432,
+ "c": 0.0009349757342752968,
+ "v": 7773.807066969793
+ },
+ {
+ "t": 1790452800,
+ "o": 0.0009349757342752968,
+ "c": 0.0008099912640205067,
+ "v": 21839.36633989595
+ },
+ {
+ "t": 1790467200,
+ "o": 0.0008099912640205067,
+ "c": 0.0007838893113300088,
+ "v": 10042.510644052983
+ },
+ {
+ "t": 1790481600,
+ "o": 0.0007838893113300088,
+ "c": 0.0008081814743537638,
+ "v": 2353.936884949346
+ },
+ {
+ "t": 1790496000,
+ "o": 0.0008081814743537638,
+ "c": 0.0007910790254865652,
+ "v": 5821.858537744941
+ },
+ {
+ "t": 1790510400,
+ "o": 0.0007910790254865652,
+ "c": 0.0008028441447143804,
+ "v": 7123.625346281701
+ },
+ {
+ "t": 1790524800,
+ "o": 0.0008028441447143804,
+ "c": 0.0008157155774386781,
+ "v": 5787.129717964577
+ },
+ {
+ "t": 1790539200,
+ "o": 0.0008157155774386781,
+ "c": 0.000715634876592093,
+ "v": 14480.007220513662
+ },
+ {
+ "t": 1790553600,
+ "o": 0.000715634876592093,
+ "c": 0.0006377932809956074,
+ "v": 32034.073931652765
+ },
+ {
+ "t": 1790568000,
+ "o": 0.0006377932809956074,
+ "c": 0.0006529010931762141,
+ "v": 12418.35805537246
+ },
+ {
+ "t": 1790582400,
+ "o": 0.0006529010931762141,
+ "c": 0.000635985729256681,
+ "v": 6471.804472913435
+ },
+ {
+ "t": 1790596800,
+ "o": 0.000635985729256681,
+ "c": 0.000668426877050689,
+ "v": 15502.907567303131
+ },
+ {
+ "t": 1790611200,
+ "o": 0.000668426877050689,
+ "c": 0.0006663575146692726,
+ "v": 7636.862581435893
+ },
+ {
+ "t": 1790625600,
+ "o": 0.0006663575146692726,
+ "c": 0.0006103753453511963,
+ "v": 7526.172531524848
+ },
+ {
+ "t": 1790640000,
+ "o": 0.0006103753453511963,
+ "c": 0.000674339685053715,
+ "v": 14845.069617039377
+ },
+ {
+ "t": 1790654400,
+ "o": 0.000674339685053715,
+ "c": 0.0006812309822063771,
+ "v": 4072.853914294964
+ },
+ {
+ "t": 1790668800,
+ "o": 0.0006812309822063771,
+ "c": 0.0006769094416248446,
+ "v": 3837.0578992250084
+ },
+ {
+ "t": 1790683200,
+ "o": 0.0006769094416248446,
+ "c": 0.0005966489730852196,
+ "v": 21233.01798292404
+ },
+ {
+ "t": 1790697600,
+ "o": 0.0005966489730852196,
+ "c": 0.0005636177551398413,
+ "v": 15395.700839027497
+ },
+ {
+ "t": 1790712000,
+ "o": 0.0005636177551398413,
+ "c": 0.0006128331203977304,
+ "v": 9970.026448612425
+ },
+ {
+ "t": 1790726400,
+ "o": 0.0006128331203977304,
+ "c": 0.0006128224219960187,
+ "v": 1649.0936305353769
+ },
+ {
+ "t": 1790740800,
+ "o": 0.0006128224219960187,
+ "c": 0.0006072266664264221,
+ "v": 6499.648518196927
+ },
+ {
+ "t": 1790755200,
+ "o": 0.0006072266664264221,
+ "c": 0.0005763763077227624,
+ "v": 5053.608407719649
+ },
+ {
+ "t": 1790769600,
+ "o": 0.0005763763077227624,
+ "c": 0.000568769760874458,
+ "v": 5724.229081934031
+ },
+ {
+ "t": 1790784000,
+ "o": 0.000568769760874458,
+ "c": 0.0005837510437285794,
+ "v": 8691.833587555224
+ },
+ {
+ "t": 1790798400,
+ "o": 0.0005837510437285794,
+ "c": 0.0005960873761464375,
+ "v": 3014.137679832698
+ },
+ {
+ "t": 1790812800,
+ "o": 0.0005960873761464375,
+ "c": 0.0006285079127587244,
+ "v": 2771.218771856712
+ },
+ {
+ "t": 1790827200,
+ "o": 0.0006285079127587244,
+ "c": 0.0006249543190633748,
+ "v": 4138.890304839321
+ },
+ {
+ "t": 1790841600,
+ "o": 0.0006249543190633748,
+ "c": 0.0006353288898381928,
+ "v": 3042.5807646086273
+ },
+ {
+ "t": 1790856000,
+ "o": 0.0006353288898381928,
+ "c": 0.0006533884831153498,
+ "v": 9610.081952104843
+ },
+ {
+ "t": 1790870400,
+ "o": 0.0006533884831153498,
+ "c": 0.0006502924357842866,
+ "v": 3243.6974483145814
+ },
+ {
+ "t": 1790884800,
+ "o": 0.0006502924357842866,
+ "c": 0.0006487891630017989,
+ "v": 926.9392211132724
+ },
+ {
+ "t": 1790899200,
+ "o": 0.0006487891630017989,
+ "c": 0.0006124000538713243,
+ "v": 7049.071986448305
+ },
+ {
+ "t": 1790913600,
+ "o": 0.0006124000538713243,
+ "c": 0.0006040386287467735,
+ "v": 1382.2054188939624
+ },
+ {
+ "t": 1790928000,
+ "o": 0.0006040386287467735,
+ "c": 0.0006175422601101435,
+ "v": 5101.303915453447
+ },
+ {
+ "t": 1790942400,
+ "o": 0.0006175422601101435,
+ "c": 0.0005931686524773797,
+ "v": 2740.182859194684
+ },
+ {
+ "t": 1790956800,
+ "o": 0.0005931686524773797,
+ "c": 0.0006108558709850843,
+ "v": 5818.590180341069
+ },
+ {
+ "t": 1790971200,
+ "o": 0.0006108558709850843,
+ "c": 0.0006169704569795757,
+ "v": 3325.4321360232084
+ },
+ {
+ "t": 1790985600,
+ "o": 0.0006169704569795757,
+ "c": 0.0006001659230138039,
+ "v": 2138.212968348489
+ },
+ {
+ "t": 1791000000,
+ "o": 0.0006001659230138039,
+ "c": 0.0005972531661374629,
+ "v": 1318.522360877386
+ },
+ {
+ "t": 1791014400,
+ "o": 0.0005972531661374629,
+ "c": 0.000594173992664306,
+ "v": 3300.363968915003
+ },
+ {
+ "t": 1791028800,
+ "o": 0.000594173992664306,
+ "c": 0.0005942476455847972,
+ "v": 2882.287264211143
+ },
+ {
+ "t": 1791043200,
+ "o": 0.0005942476455847972,
+ "c": 0.0005933195164352503,
+ "v": 1676.709799924066
+ },
+ {
+ "t": 1791057600,
+ "o": 0.0005933195164352503,
+ "c": 0.0005973904184349293,
+ "v": 1980.3148057037804
+ },
+ {
+ "t": 1791072000,
+ "o": 0.0005973904184349293,
+ "c": 0.0006304265131701909,
+ "v": 2997.6261974152226
+ },
+ {
+ "t": 1791086400,
+ "o": 0.0006304265131701909,
+ "c": 0.000617545694282024,
+ "v": 1969.219232246248
+ },
+ {
+ "t": 1791100800,
+ "o": 0.000617545694282024,
+ "c": 0.0006062802772860724,
+ "v": 1963.2043761633963
+ },
+ {
+ "t": 1791115200,
+ "o": 0.0006062802772860724,
+ "c": 0.0005657317967752738,
+ "v": 7839.029232037386
+ },
+ {
+ "t": 1791129600,
+ "o": 0.0005657317967752738,
+ "c": 0.0005653453930323753,
+ "v": 8236.286088297371
+ },
+ {
+ "t": 1791144000,
+ "o": 0.0005653453930323753,
+ "c": 0.0005733430436450232,
+ "v": 2415.1552242666976
+ },
+ {
+ "t": 1791158400,
+ "o": 0.0005733430436450232,
+ "c": 0.0005747146087639454,
+ "v": 1206.3770759623526
+ },
+ {
+ "t": 1791172800,
+ "o": 0.0005747146087639454,
+ "c": 0.0005719377833413346,
+ "v": 1175.8993559069306
+ },
+ {
+ "t": 1791187200,
+ "o": 0.0005719377833413346,
+ "c": 0.0005809649720011825,
+ "v": 3958.6966863227153
+ },
+ {
+ "t": 1791201600,
+ "o": 0.0005809649720011825,
+ "c": 0.0005433545262953141,
+ "v": 13725.597433403607
+ },
+ {
+ "t": 1791216000,
+ "o": 0.0005433545262953141,
+ "c": 0.0005760816266582612,
+ "v": 12475.40497443007
+ },
+ {
+ "t": 1791230400,
+ "o": 0.0005760816266582612,
+ "c": 0.000538394345853189,
+ "v": 6038.575356298716
+ },
+ {
+ "t": 1791244800,
+ "o": 0.000538394345853189,
+ "c": 0.0005206987766358217,
+ "v": 3354.6493067176175
+ },
+ {
+ "t": 1791259200,
+ "o": 0.0005206987766358217,
+ "c": 0.0005392699335600212,
+ "v": 6007.850133175657
+ },
+ {
+ "t": 1791273600,
+ "o": 0.0005392699335600212,
+ "c": 0.0005273156610635477,
+ "v": 4381.70156858745
+ },
+ {
+ "t": 1791288000,
+ "o": 0.0005273156610635477,
+ "c": 0.0005097974687479498,
+ "v": 3302.704044328083
+ },
+ {
+ "t": 1791302400,
+ "o": 0.0005097974687479498,
+ "c": 0.000476603367027025,
+ "v": 14684.111575945954
+ },
+ {
+ "t": 1791316800,
+ "o": 0.000476603367027025,
+ "c": 0.0004931612947517676,
+ "v": 10019.475456674101
+ },
+ {
+ "t": 1791331200,
+ "o": 0.0004931612947517676,
+ "c": 0.0004756191544128593,
+ "v": 5310.745146667522
+ },
+ {
+ "t": 1791345600,
+ "o": 0.0004756191544128593,
+ "c": 0.00046951576981711,
+ "v": 5318.834239721299
+ },
+ {
+ "t": 1791360000,
+ "o": 0.00046951576981711,
+ "c": 0.00047904867432801355,
+ "v": 12978.401505254236
+ },
+ {
+ "t": 1791374400,
+ "o": 0.00047904867432801355,
+ "c": 0.0004296300163189196,
+ "v": 12960.38803837563
+ },
+ {
+ "t": 1791388800,
+ "o": 0.0004296300163189196,
+ "c": 0.00042724366570550694,
+ "v": 2410.391054684676
+ },
+ {
+ "t": 1791403200,
+ "o": 0.00042724366570550694,
+ "c": 0.0004380127802656288,
+ "v": 3886.498739947018
+ },
+ {
+ "t": 1791417600,
+ "o": 0.0004380127802656288,
+ "c": 0.00042938827396742525,
+ "v": 1791.3639907019833
+ },
+ {
+ "t": 1791432000,
+ "o": 0.00042938827396742525,
+ "c": 0.0004280652817014732,
+ "v": 3144.6267228944957
+ },
+ {
+ "t": 1791446400,
+ "o": 0.0004280652817014732,
+ "c": 0.00043539836645338834,
+ "v": 3659.6130220338946
+ },
+ {
+ "t": 1791460800,
+ "o": 0.00043539836645338834,
+ "c": 0.00040482262829198717,
+ "v": 3754.5797868613417
+ },
+ {
+ "t": 1791475200,
+ "o": 0.00040482262829198717,
+ "c": 0.000422944247899712,
+ "v": 2967.871693780499
+ },
+ {
+ "t": 1791489600,
+ "o": 0.000422944247899712,
+ "c": 0.00042086804919737585,
+ "v": 1074.135384275039
+ },
+ {
+ "t": 1791504000,
+ "o": 0.00042086804919737585,
+ "c": 0.0004380796811010083,
+ "v": 2110.1923848732854
+ },
+ {
+ "t": 1791518400,
+ "o": 0.0004380796811010083,
+ "c": 0.0004604092990641029,
+ "v": 5355.7964489935075
+ },
+ {
+ "t": 1791532800,
+ "o": 0.0004604092990641029,
+ "c": 0.00045621908064581425,
+ "v": 3170.1989646752727
+ },
+ {
+ "t": 1791547200,
+ "o": 0.00045621908064581425,
+ "c": 0.00045337704363398394,
+ "v": 2253.1221384284754
+ },
+ {
+ "t": 1791561600,
+ "o": 0.00045337704363398394,
+ "c": 0.0004699404899292436,
+ "v": 7877.701209472137
+ },
+ {
+ "t": 1791576000,
+ "o": 0.0004699404899292436,
+ "c": 0.00046370665950406197,
+ "v": 2554.5360022499926
+ },
+ {
+ "t": 1791590400,
+ "o": 0.00046370665950406197,
+ "c": 0.0005213732247028116,
+ "v": 12392.814729480942
+ },
+ {
+ "t": 1791604800,
+ "o": 0.0005213732247028116,
+ "c": 0.0005292467676977244,
+ "v": 4337.395914308747
+ },
+ {
+ "t": 1791619200,
+ "o": 0.0005292467676977244,
+ "c": 0.0005108822239122429,
+ "v": 5894.158421807423
+ },
+ {
+ "t": 1791633600,
+ "o": 0.0005108822239122429,
+ "c": 0.0005139920633737748,
+ "v": 5484.4054779322305
+ },
+ {
+ "t": 1791648000,
+ "o": 0.0005139920633737748,
+ "c": 0.0004978158887413411,
+ "v": 2590.493040675378
+ },
+ {
+ "t": 1791662400,
+ "o": 0.0004978158887413411,
+ "c": 0.0005205192244015753,
+ "v": 4114.9681093517465
+ },
+ {
+ "t": 1791676800,
+ "o": 0.0005205192244015753,
+ "c": 0.0005151590121548729,
+ "v": 937.5230188344609
+ },
+ {
+ "t": 1791691200,
+ "o": 0.0005151590121548729,
+ "c": 0.0004961064431689238,
+ "v": 2097.065561895133
+ },
+ {
+ "t": 1791705600,
+ "o": 0.0004961064431689238,
+ "c": 0.0004955939140844929,
+ "v": 2270.8904496992027
+ },
+ {
+ "t": 1791720000,
+ "o": 0.0004955939140844929,
+ "c": 0.0005141243032877495,
+ "v": 3341.9806489668563
+ },
+ {
+ "t": 1791734400,
+ "o": 0.0005141243032877495,
+ "c": 0.0005737800400464536,
+ "v": 7186.98294872694
+ },
+ {
+ "t": 1791748800,
+ "o": 0.0005737800400464536,
+ "c": 0.0005408662544761905,
+ "v": 11864.099169662095
+ },
+ {
+ "t": 1791763200,
+ "o": 0.0005408662544761905,
+ "c": 0.0005424301688435906,
+ "v": 71.12567006746961
+ },
+ {
+ "t": 1791777600,
+ "o": 0.0005424301688435906,
+ "c": 0.0005621811173327485,
+ "v": 2506.4646340286954
+ },
+ {
+ "t": 1791792000,
+ "o": 0.0005621811173327485,
+ "c": 0.0005337900287519562,
+ "v": 4503.307205330208
+ },
+ {
+ "t": 1791806400,
+ "o": 0.0005337900287519562,
+ "c": 0.0005476165772852027,
+ "v": 5649.398635918617
+ },
+ {
+ "t": 1791820800,
+ "o": 0.0005476165772852027,
+ "c": 0.00048277898988750053,
+ "v": 6930.01310590205
+ },
+ {
+ "t": 1791835200,
+ "o": 0.00048277898988750053,
+ "c": 0.00046272028875277426,
+ "v": 4064.311934451511
+ },
+ {
+ "t": 1791849600,
+ "o": 0.00046272028875277426,
+ "c": 0.0005010299930072749,
+ "v": 2579.2588147920123
+ },
+ {
+ "t": 1791864000,
+ "o": 0.0005010299930072749,
+ "c": 0.0005043123264048935,
+ "v": 919.4965730654268
+ },
+ {
+ "t": 1791878400,
+ "o": 0.0005043123264048935,
+ "c": 0.0004901602141286638,
+ "v": 2094.8246644694764
+ },
+ {
+ "t": 1791892800,
+ "o": 0.0004901602141286638,
+ "c": 0.00045789155459834905,
+ "v": 4729.173571767305
+ },
+ {
+ "t": 1791907200,
+ "o": 0.00045789155459834905,
+ "c": 0.0004767064833909302,
+ "v": 4128.655065671752
+ },
+ {
+ "t": 1791921600,
+ "o": 0.0004767064833909302,
+ "c": 0.00047187560752539335,
+ "v": 1310.2536281570465
+ },
+ {
+ "t": 1791936000,
+ "o": 0.00047187560752539335,
+ "c": 0.00047681812783424845,
+ "v": 1150.7331361618067
+ },
+ {
+ "t": 1791950400,
+ "o": 0.00047681812783424845,
+ "c": 0.0004525090733745971,
+ "v": 3396.7527652659837
+ },
+ {
+ "t": 1791964800,
+ "o": 0.0004525090733745971,
+ "c": 0.0004493264171153436,
+ "v": 1635.047338645229
+ },
+ {
+ "t": 1791979200,
+ "o": 0.0004493264171153436,
+ "c": 0.0004360727304590173,
+ "v": 3547.8795441155917
+ },
+ {
+ "t": 1791993600,
+ "o": 0.0004360727304590173,
+ "c": 0.0004256622715722918,
+ "v": 6545.597434695776
+ },
+ {
+ "t": 1792008000,
+ "o": 0.0004256622715722918,
+ "c": 0.0004097301394412795,
+ "v": 1569.1730441795123
+ },
+ {
+ "t": 1792022400,
+ "o": 0.0004097301394412795,
+ "c": 0.0004003005157444448,
+ "v": 1336.1119472569787
+ },
+ {
+ "t": 1792036800,
+ "o": 0.0004003005157444448,
+ "c": 0.00041164896931270093,
+ "v": 3686.30893514817
+ },
+ {
+ "t": 1792051200,
+ "o": 0.00041164896931270093,
+ "c": 0.00041277719514858265,
+ "v": 1783.7267674041127
+ },
+ {
+ "t": 1792065600,
+ "o": 0.00041277719514858265,
+ "c": 0.0004556947359163813,
+ "v": 4041.04298659093
+ },
+ {
+ "t": 1792080000,
+ "o": 0.0004556947359163813,
+ "c": 0.00048359172572224013,
+ "v": 9496.841999915945
+ },
+ {
+ "t": 1792094400,
+ "o": 0.00048359172572224013,
+ "c": 0.0004591331723757819,
+ "v": 2841.5032196903826
+ },
+ {
+ "t": 1792108800,
+ "o": 0.0004591331723757819,
+ "c": 0.00044772903424379336,
+ "v": 1489.0791495536
+ },
+ {
+ "t": 1792123200,
+ "o": 0.00044772903424379336,
+ "c": 0.0004434055825337177,
+ "v": 2122.34370666012
+ },
+ {
+ "t": 1792137600,
+ "o": 0.0004434055825337177,
+ "c": 0.0004397342897233916,
+ "v": 821.1600915597328
+ },
+ {
+ "t": 1792152000,
+ "o": 0.0004397342897233916,
+ "c": 0.00043645291906349375,
+ "v": 2917.703134691668
+ },
+ {
+ "t": 1792166400,
+ "o": 0.00043645291906349375,
+ "c": 0.0004357394657430051,
+ "v": 980.9105879554537
+ },
+ {
+ "t": 1792180800,
+ "o": 0.0004357394657430051,
+ "c": 0.00044184221794005496,
+ "v": 344.71293598165255
+ },
+ {
+ "t": 1792195200,
+ "o": 0.00044184221794005496,
+ "c": 0.0004434633944715525,
+ "v": 1171.206229476716
+ },
+ {
+ "t": 1792209600,
+ "o": 0.0004434633944715525,
+ "c": 0.00042329941589609884,
+ "v": 2596.5474172678046
+ },
+ {
+ "t": 1792224000,
+ "o": 0.00042329941589609884,
+ "c": 0.00042301868333344446,
+ "v": 669.645034250043
+ },
+ {
+ "t": 1792238400,
+ "o": 0.00042301868333344446,
+ "c": 0.0004142807611545678,
+ "v": 1090.6434299193431
+ },
+ {
+ "t": 1792252800,
+ "o": 0.0004142807611545678,
+ "c": 0.00042711345216401734,
+ "v": 2655.285208798692
+ },
+ {
+ "t": 1792267200,
+ "o": 0.00042711345216401734,
+ "c": 0.00040471046162094185,
+ "v": 2514.959791023154
+ },
+ {
+ "t": 1792281600,
+ "o": 0.00040471046162094185,
+ "c": 0.0004261976268381687,
+ "v": 3742.724274367486
+ },
+ {
+ "t": 1792296000,
+ "o": 0.0004261976268381687,
+ "c": 0.0004334965946647483,
+ "v": 2248.3868711276536
+ },
+ {
+ "t": 1792310400,
+ "o": 0.0004334965946647483,
+ "c": 0.0004534886061882836,
+ "v": 3915.5008541071
+ },
+ {
+ "t": 1792324800,
+ "o": 0.0004534886061882836,
+ "c": 0.00043429666682595364,
+ "v": 1923.710979205874
+ },
+ {
+ "t": 1792339200,
+ "o": 0.00043429666682595364,
+ "c": 0.00042685296987000394,
+ "v": 1668.622501472299
+ },
+ {
+ "t": 1792353600,
+ "o": 0.00042685296987000394,
+ "c": 0.00044628754915363496,
+ "v": 1173.152187869257
+ },
+ {
+ "t": 1792368000,
+ "o": 0.00044628754915363496,
+ "c": 0.0004514502992156133,
+ "v": 407.9082452376464
+ },
+ {
+ "t": 1792382400,
+ "o": 0.0004514502992156133,
+ "c": 0.00046309696083369833,
+ "v": 1275.044148158155
+ },
+ {
+ "t": 1792396800,
+ "o": 0.00046309696083369833,
+ "c": 0.0004450626430665161,
+ "v": 1687.5768842500863
+ },
+ {
+ "t": 1792411200,
+ "o": 0.0004450626430665161,
+ "c": 0.0004333533352807018,
+ "v": 3052.3519205044977
+ },
+ {
+ "t": 1792425600,
+ "o": 0.0004333533352807018,
+ "c": 0.0004162127202284204,
+ "v": 2253.691335560634
+ },
+ {
+ "t": 1792440000,
+ "o": 0.0004162127202284204,
+ "c": 0.0003994141613044402,
+ "v": 3887.8124356683297
+ },
+ {
+ "t": 1792454400,
+ "o": 0.0003994141613044402,
+ "c": 0.0004042447581602964,
+ "v": 1458.1529260648904
+ },
+ {
+ "t": 1792468800,
+ "o": 0.0004042447581602964,
+ "c": 0.0004025406155267601,
+ "v": 1351.2569851303329
+ },
+ {
+ "t": 1792483200,
+ "o": 0.0004025406155267601,
+ "c": 0.0004163015489684219,
+ "v": 3629.088235634783
+ },
+ {
+ "t": 1792497600,
+ "o": 0.0004163015489684219,
+ "c": 0.0003922565791752483,
+ "v": 12829.648526581695
+ },
+ {
+ "t": 1792512000,
+ "o": 0.0003922565791752483,
+ "c": 0.0003777479895353651,
+ "v": 2747.4202886754924
+ },
+ {
+ "t": 1792526400,
+ "o": 0.0003777479895353651,
+ "c": 0.00036063688419909725,
+ "v": 7864.128880226473
+ },
+ {
+ "t": 1792540800,
+ "o": 0.00036063688419909725,
+ "c": 0.0003641016619331723,
+ "v": 1400.1240345327278
+ },
+ {
+ "t": 1792555200,
+ "o": 0.0003641016619331723,
+ "c": 0.0003620580998287327,
+ "v": 1490.805150934515
+ },
+ {
+ "t": 1792569600,
+ "o": 0.0003620580998287327,
+ "c": 0.0003682938139833164,
+ "v": 959.6378711259991
+ },
+ {
+ "t": 1792584000,
+ "o": 0.0003682938139833164,
+ "c": 0.0003804656281454045,
+ "v": 3160.2381069324706
+ },
+ {
+ "t": 1792598400,
+ "o": 0.0003804656281454045,
+ "c": 0.0003688599549553161,
+ "v": 4267.0591605199015
+ },
+ {
+ "t": 1792612800,
+ "o": 0.0003688599549553161,
+ "c": 0.00035399453495855066,
+ "v": 6037.424921269834
+ },
+ {
+ "t": 1792627200,
+ "o": 0.00035399453495855066,
+ "c": 0.0003313967473928946,
+ "v": 4175.284305438906
+ },
+ {
+ "t": 1792641600,
+ "o": 0.0003313967473928946,
+ "c": 0.00032523128647796395,
+ "v": 2145.245408447242
+ },
+ {
+ "t": 1792656000,
+ "o": 0.00032523128647796395,
+ "c": 0.00031698903578098386,
+ "v": 6703.982915657553
+ },
+ {
+ "t": 1792670400,
+ "o": 0.00031698903578098386,
+ "c": 0.0003058129414233248,
+ "v": 1905.088028078344
+ },
+ {
+ "t": 1792684800,
+ "o": 0.0003058129414233248,
+ "c": 0.0003020919503217762,
+ "v": 1682.278987911693
+ },
+ {
+ "t": 1792699200,
+ "o": 0.0003020919503217762,
+ "c": 0.00029518024049581687,
+ "v": 3369.770398952748
+ },
+ {
+ "t": 1792713600,
+ "o": 0.00029518024049581687,
+ "c": 0.0002981072396231611,
+ "v": 278.15860984275486
+ },
+ {
+ "t": 1792728000,
+ "o": 0.0002981072396231611,
+ "c": 0.0003156729512044216,
+ "v": 1978.2337081899757
+ },
+ {
+ "t": 1792742400,
+ "o": 0.0003156729512044216,
+ "c": 0.00031713430820638045,
+ "v": 1888.2286848505955
+ },
+ {
+ "t": 1792756800,
+ "o": 0.00031713430820638045,
+ "c": 0.00031172463725375924,
+ "v": 2014.564985764962
+ },
+ {
+ "t": 1792771200,
+ "o": 0.00031172463725375924,
+ "c": 0.0003130064645422073,
+ "v": 1658.9345534440783
+ },
+ {
+ "t": 1792785600,
+ "o": 0.0003130064645422073,
+ "c": 0.0003085563894169719,
+ "v": 2725.9396870907412
+ }
+ ],
"posts": [
{
"id": "2049567362693963905",
diff --git a/public/features.json b/public/features.json
index 46df100c9..24ad03b0a 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-10-23T21:49:46.279Z",
+ "generated_at": "2026-10-23T21:56:11.216Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
@@ -3313,14 +3313,14 @@
},
{
"path": "/play/ufo",
- "title": "Flappin UFO: retired demo",
- "description": "The Flappin UFO arcade demo ran on an external deployment that is no longer online, so the game has been retired. The page now points visitors to the live three.ws experiences instead.",
+ "title": "Flappin UFO: thread the asteroids, climb the leaderboard",
+ "description": "A hold-to-climb arcade game with levels that get longer and tighter. Every run is replayed and verified on the server, scores land on a real leaderboard, and you race the ghost of the top run.",
"added": "2026-06-19",
"auth": null,
"indexable": true,
"tags": [],
"showcase": false,
- "priority": 0.3,
+ "priority": 0.5,
"job": "worlds"
},
{
@@ -5348,6 +5348,18 @@
"priority": 0.6,
"job": null
},
+ {
+ "path": "/docs/play-ufo",
+ "title": "Docs · Flappin UFO",
+ "description": "How Flappin UFO runs are recorded, replayed and verified on the server, how the leaderboard ranks players, and how the ghost of the top run works.",
+ "added": "2026-10-23",
+ "auth": null,
+ "indexable": true,
+ "tags": [],
+ "showcase": false,
+ "priority": 0.5,
+ "job": null
+ },
{
"path": "/docs/in-game-economy",
"title": "Docs · The in-game economy",
diff --git a/public/llms-full.txt b/public/llms-full.txt
index fab760562..f6dff10cd 100644
--- a/public/llms-full.txt
+++ b/public/llms-full.txt
@@ -1660,11 +1660,11 @@ URL: https://three.ws/sniper/experiments
The sniper fleet runs different rule sets side by side, including LLM-judged agents with no rules at all. The live scoreboard of which entry conditions actually make money, every fill verifiable on-chain.
-### Flappin UFO: retired demo
+### Flappin UFO: thread the asteroids, climb the leaderboard
URL: https://three.ws/play/ufo
-The Flappin UFO arcade demo ran on an external deployment that is no longer online, so the game has been retired. The page now points visitors to the live three.ws experiences instead.
+A hold-to-climb arcade game with levels that get longer and tighter. Every run is replayed and verified on the server, scores land on a real leaderboard, and you race the ghost of the top run.
### Smart Money Radar: follow the wallets that win on pump.fun
@@ -2704,6 +2704,12 @@ URL: https://three.ws/docs/coin-wars
How community-vs-community battles work on three.ws: the war portal in every coin world, the matchmaking key two communities meet under, the signed pairing the arena trusts, the Elo ladder recomputed from the battle ledger, and the /api/wars endpoint behind all of it.
+### Docs · Flappin UFO
+
+URL: https://three.ws/docs/play-ufo
+
+How Flappin UFO runs are recorded, replayed and verified on the server, how the leaderboard ranks players, and how the ghost of the top run works.
+
### Docs · The in-game economy
URL: https://three.ws/docs/in-game-economy
diff --git a/public/llms.txt b/public/llms.txt
index d78ce864e..4a3634307 100644
--- a/public/llms.txt
+++ b/public/llms.txt
@@ -103,6 +103,6 @@ Machine-readable entry points. Fetch these instead of scraping HTML.
## Optional
-- [llms-full.txt](https://three.ws/llms-full.txt): Every public page (1021) with full descriptions, plus the full markdown of the curated docs.
+- [llms-full.txt](https://three.ws/llms-full.txt): Every public page (1022) with full descriptions, plus the full markdown of the curated docs.
- [Sitemap](https://three.ws/sitemap): The same index for people, with search.
- [sitemap.xml](https://three.ws/sitemap.xml): XML sitemap for crawlers, including every agent and avatar page.
diff --git a/public/notifications.js b/public/notifications.js
index 072765db8..d847ebaa0 100644
--- a/public/notifications.js
+++ b/public/notifications.js
@@ -198,6 +198,14 @@
href: p.link || agentHref,
parts: [bold(p.agent_name || 'Your agent'), ' used its ', p.window === 'monthly' ? 'monthly' : 'daily', ' inference budget. Raise it to resume'],
};
+ case 'labor_escrow_update':
+ case 'labor_deadline_soon':
+ case 'labor_payout_delayed':
+ return {
+ icon: '!',
+ href: p.link || '/labor-market',
+ parts: [bold(p.title || 'Escrow update'), ' ', p.message || ''],
+ };
case 'withdrawal_failed':
return {
icon: '!',
diff --git a/public/oracle-coin.css b/public/oracle-coin.css
index 428d7bb0c..a058f3d9e 100644
--- a/public/oracle-coin.css
+++ b/public/oracle-coin.css
@@ -430,6 +430,9 @@ html:not([data-theme='light']) {
.oc-post:hover { transform: translate(-50%, -50%) scale(1.18); opacity: 1 !important; z-index: 2; }
.oc-post:active { transform: translate(-50%, -50%) scale(1.05); }
.oc-post:focus-visible { outline: 2px solid var(--cv-accent); outline-offset: 2px; opacity: 1 !important; z-index: 3; }
+.oc-post-legend { flex-wrap: wrap; row-gap: 0.25rem; }
+.oc-post-legend .oc-lg-ct { flex-basis: 100%; margin-left: 0; }
+@media (min-width: 768px) { .oc-post-legend .oc-lg-ct { flex-basis: auto; margin-left: auto; } }
.oc-chart-legend .oc-lg.na { background: var(--cv-text-3); margin-left: 12px; }
.oc-post-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; padding: 0.75rem 0.875rem 0; }
.oc-post-stat { display: flex; flex-direction: column; gap: 0.125rem; min-width: 0; }
diff --git a/public/oracle-coin.js b/public/oracle-coin.js
index f49c957f0..642cf4aa9 100644
--- a/public/oracle-coin.js
+++ b/public/oracle-coin.js
@@ -762,7 +762,8 @@
// Every @trythreews post plotted at the $THREE price it went out at, sized by
// engagement and coloured by the +4h return, so the question "does posting move
// the coin" is answerable by looking. Built by `npm run x:archive:price` into
- // /data/trythreews-post-impact.json; the bubbles are real links, laid over the
+ // /data/trythreews-post-impact.json, which carries its own price series so the
+ // bubbles sit on exactly the prices they were measured against; the bubbles are real links, laid over the
// line as HTML so they stay round at any width.
const THREE_MINT = 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump';
@@ -807,15 +808,11 @@
if (res.ok) doc = await res.json();
} catch { /* handled below */ }
if (!doc || !Array.isArray(doc.posts) || !doc.posts.length) return failed('Post impact data did not load. Reload the page; it is rebuilt with <code>npm run x:archive:price</code>.');
- const first = Math.floor(Date.parse(doc.posts[0].postedAt) / 1000) - 86400;
- const to = Math.floor(Date.now() / 1000);
- const interval = to - first <= 60 * 86400 ? '4h' : '12h';
- const { ok, data } = await api(`/api/pump/price-history?mint=${encodeURIComponent(mint)}&interval=${interval}&from=${first}&to=${to}`, { timeout: 15000 });
- const pts = ((data && data.data) || []).filter((p) => Number.isFinite(p.c));
- if (!ok || pts.length < 2) return failed('Price history is unavailable right now. Try again in a moment.');
+ const pts = Array.isArray(doc.points) ? doc.points.filter((p) => Number.isFinite(p.c)) : [];
+ if (pts.length < 2) return failed('Price history is missing from the post impact data. Rebuild it with <code>npm run x:archive:price</code>.');
const shown = doc.posts.filter((x) => Date.parse(x.postedAt) / 1000 >= pts[0].t);
canvas.innerHTML = `${postsSummary(doc.summary)}<div class="oc-posts-plot">${areaChartSvg(pts)}${postsOverlay(pts, shown)}</div>`
- + `<div class="oc-chart-legend"><span>bubble size: engagement</span><span class="oc-lg buy"></span>+4h up<span class="oc-lg sell"></span>+4h down<span class="oc-lg na"></span>not measured<span class="oc-lg-ct">${shown.length} posts plotted</span></div>`;
+ + `<div class="oc-chart-legend oc-post-legend"><span>bubble size: engagement</span><span class="oc-lg buy"></span>+4h up<span class="oc-lg sell"></span>+4h down<span class="oc-lg na"></span>not measured<span class="oc-lg-ct">${shown.length} posts plotted &middot; as of ${esc(doc.generatedAt.slice(0, 10))}</span></div>`;
}
// The chart view ids the page used before the shared switcher took over, mapped
diff --git a/public/sitemap/index.html b/public/sitemap/index.html
index b59cde67b..cec05e134 100644
--- a/public/sitemap/index.html
+++ b/public/sitemap/index.html
@@ -96,7 +96,7 @@
<main class="sm-wrap">
<div class="sm-hero">
<h1>Sitemap</h1>
- <p><span>1085</span> <span data-i18n="sitemap_index.pages_grouped">pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</span></p>
+ <p><span>1086</span> <span data-i18n="sitemap_index.pages_grouped">pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</span></p>
<div class="sm-formats">
<a href="/everything"><code>/everything</code> · browse by goal, not by section</a>
<a href="/sitemap.xml"><code>sitemap.xml</code> · for search engines</a>
@@ -109,7 +109,7 @@
</div>
<div class="sm-filter">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>
- <input id="sm-filter-input" type="search" placeholder="Filter 1085 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />
+ <input id="sm-filter-input" type="search" placeholder="Filter 1086 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />
<kbd id="sm-filter-kbd" aria-hidden="true">/</kbd>
</div>
<p class="sm-filter-count" role="status" aria-live="polite"><span id="sm-filter-count"></span><span id="sm-filter-hint" aria-hidden="true"></span></p>
@@ -133,6 +133,14 @@
<span class="sm-desc" data-i18n="sitemap_index.d_mcp_plans">Prepay for paid MCP tools with credit bundles or time passes, use free trial calls on every tool, and see each credit spent.</span>
</a>
</li>
+ <li>
+ <a href="/docs/play-ufo">
+ <span class="sm-new-date" translate="no">Oct 23, 2026</span>
+ <span class="sm-title"><span data-i18n="sitemap_index.t_docs_play_ufo">Docs · Flappin UFO</span></span>
+ <span class="sm-path" translate="no">/docs/play-ufo</span>
+ <span class="sm-desc" data-i18n="sitemap_index.d_docs_play_ufo">How Flappin UFO runs are recorded, replayed and verified on the server, how the leaderboard ranks players, and how the ghost of the top run works.</span>
+ </a>
+ </li>
<li>
<a href="/docs/forge-workflows">
<span class="sm-new-date" translate="no">Oct 15, 2026</span>
@@ -181,14 +189,6 @@
<span class="sm-desc" data-i18n="sitemap_index.d_docs_google_adk">Connect a Google Agent Development Kit agent to the free three.ws 3D studio over MCPToolset: discover the tool catalog, forge and rig models, and run a full LlmAgent conversation. No account, payment or API key for the studio tools.</span>
</a>
</li>
- <li>
- <a href="/docs/voice-framework-integrations">
- <span class="sm-new-date" translate="no">Oct 13, 2026</span>
- <span class="sm-title"><span data-i18n="sitemap_index.t_docs_voice_framework_integrations">Docs: LiveKit and Pipecat avatar integrations</span></span>
- <span class="sm-path" translate="no">/docs/voice-framework-integrations</span>
- <span class="sm-desc" data-i18n="sitemap_index.d_docs_voice_framework_integrations">How to drive a three.ws &lt;agent-3d&gt; avatar's lipsync and gestures from a LiveKit Agents or Pipecat voice pipeline, with the livekit-plugins-threews and pipecat-threews packages, runnable local examples, and the data-channel message contract both share.</span>
- </a>
- </li>
</ul>
</section>
<nav class="sm-toc" aria-label="Sections">
@@ -2094,9 +2094,9 @@
</li>
<li>
<a href="/play/ufo">
- <span class="sm-title"><span data-i18n="sitemap_index.t_play_ufo">Flappin UFO: retired demo</span></span>
+ <span class="sm-title"><span data-i18n="sitemap_index.t_play_ufo">Flappin UFO: thread the asteroids, climb the leaderboard</span></span>
<span class="sm-path" translate="no">/play/ufo</span>
- <span class="sm-desc" data-i18n="sitemap_index.d_play_ufo">The Flappin UFO arcade demo ran on an external deployment that is no longer online, so the game has been retired. The page now points visitors to the live three.ws experiences instead.</span>
+ <span class="sm-desc" data-i18n="sitemap_index.d_play_ufo">A hold-to-climb arcade game with levels that get longer and tighter. Every run is replayed and verified on the server, scores land on a real leaderboard, and you race the ghost of the top run.</span>
</a>
</li>
<li>
@@ -3011,7 +3011,7 @@
<section class="sm-section" id="learn">
<header>
- <h2><span data-i18n="sitemap_index.section_learn">Learn</span><span class="sm-count" data-count>512</span></h2>
+ <h2><span data-i18n="sitemap_index.section_learn">Learn</span><span class="sm-count" data-count>513</span></h2>
<p class="sm-section-desc">Docs, tutorials, and reference.</p>
</header>
<ul class="sm-list">
@@ -3295,6 +3295,13 @@
<span class="sm-desc" data-i18n="sitemap_index.d_docs_coin_wars">How community-vs-community battles work on three.ws: the war portal in every coin world, the matchmaking key two communities meet under, the signed pairing the arena trusts, the Elo ladder recomputed from the battle ledger, and the /api/wars endpoint behind all of it.</span>
</a>
</li>
+ <li>
+ <a href="/docs/play-ufo">
+ <span class="sm-title"><span data-i18n="sitemap_index.t_docs_play_ufo">Docs · Flappin UFO</span></span>
+ <span class="sm-path" translate="no">/docs/play-ufo</span>
+ <span class="sm-desc" data-i18n="sitemap_index.d_docs_play_ufo">How Flappin UFO runs are recorded, replayed and verified on the server, how the leaderboard ranks players, and how the ghost of the top run works.</span>
+ </a>
+ </li>
<li>
<a href="/docs/in-game-economy">
<span class="sm-title"><span data-i18n="sitemap_index.t_docs_in_game_economy">Docs · The in-game economy</span></span>
diff --git a/scripts/allowance-devnet-proof.mjs b/scripts/allowance-devnet-proof.mjs
new file mode 100644
index 000000000..18c93cb98
--- /dev/null
+++ b/scripts/allowance-devnet-proof.mjs
@@ -0,0 +1,135 @@
+#!/usr/bin/env node
+// Devnet end-to-end proof for owner-funded agent budgets (api/_lib/onchain-allowance.js).
+//
+// Runs the full lifecycle against the real Subscriptions program on devnet with
+// throwaway keypairs and a throwaway mint:
+// create -> pull within cap -> over-cap refused by the guard AND by the program
+// -> revoke -> post-revoke refused by the guard AND by the program.
+// Prints every signature. Refuses to run against anything but devnet.
+//
+// node scripts/allowance-devnet-proof.mjs
+// DEVNET_RPC_URL=https://... node scripts/allowance-devnet-proof.mjs
+
+import { Connection, Keypair, LAMPORTS_PER_SOL, SystemProgram, Transaction, sendAndConfirmTransaction } from '@solana/web3.js';
+import { createMint, getOrCreateAssociatedTokenAccount, mintTo } from '@solana/spl-token';
+import {
+ prepareCreateAllowance,
+ prepareRevokeAllowance,
+ checkAllowancePull,
+ buildSignedPull,
+ describeProgramFailure,
+ readAllowance,
+} from '../api/_lib/onchain-allowance.js';
+
+const RPC = process.env.DEVNET_RPC_URL || 'https://api.devnet.solana.com';
+const network = 'devnet';
+const DECIMALS = 6;
+const unit = (n) => BigInt(Math.round(n * 10 ** DECIMALS));
+const conn = new Connection(RPC, 'confirmed');
+
+if (!/devnet/i.test(RPC) && !process.env.ALLOW_NON_DEVNET_NAMED_RPC) {
+ console.error('refusing to run: DEVNET_RPC_URL must be a devnet endpoint');
+ process.exit(2);
+}
+const genesis = await conn.getGenesisHash();
+if (genesis !== 'EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG') {
+ console.error(`refusing to run: genesis ${genesis} is not devnet`);
+ process.exit(2);
+}
+
+const transcript = [];
+const step = (name, data) => {
+ transcript.push({ step: name, ...data });
+ console.log(`\n== ${name}`);
+ for (const [k, v] of Object.entries(data)) console.log(` ${k}: ${typeof v === 'object' ? JSON.stringify(v) : v}`);
+};
+
+async function fund(kp, sol) {
+ for (let attempt = 0; attempt < 4; attempt++) {
+ try {
+ const sig = await conn.requestAirdrop(kp.publicKey, Math.round(sol * LAMPORTS_PER_SOL));
+ const bh = await conn.getLatestBlockhash();
+ await conn.confirmTransaction({ signature: sig, ...bh }, 'confirmed');
+ return;
+ } catch (e) {
+ if (attempt === 3) throw e;
+ await new Promise((r) => setTimeout(r, 2500 * (attempt + 1)));
+ }
+ }
+}
+
+async function signAndSend(base64, signer) {
+ const tx = Transaction.from(Buffer.from(base64, 'base64'));
+ tx.partialSign(signer);
+ const sig = await conn.sendRawTransaction(tx.serialize(), { skipPreflight: false });
+ const bh = await conn.getLatestBlockhash();
+ await conn.confirmTransaction({ signature: sig, ...bh }, 'confirmed');
+ return sig;
+}
+
+async function simulateRejection(tx) {
+ const sim = await conn.simulateTransaction(tx);
+ if (!sim.value.err) return { rejected: false };
+ const logs = (sim.value.logs || []).join('\n');
+ return { rejected: true, err: JSON.stringify(sim.value.err), message: describeProgramFailure(new Error(`${JSON.stringify(sim.value.err)}\n${logs}`)) };
+}
+
+const owner = Keypair.generate();
+const agent = Keypair.generate();
+await fund(owner, 1.5);
+await fund(agent, 0.5);
+step('keys', { owner: owner.publicKey.toBase58(), agent: agent.publicKey.toBase58(), rpc: RPC });
+
+const mint = await createMint(conn, owner, owner.publicKey, null, DECIMALS);
+const ownerAta = await getOrCreateAssociatedTokenAccount(conn, owner, mint, owner.publicKey);
+await mintTo(conn, owner, mint, ownerAta.address, owner, unit(1000));
+step('mint', { mint: mint.toBase58(), ownerTokenAccount: ownerAta.address.toBase58(), ownerBalance: '1000' });
+
+const CAP = unit(100);
+const prep = await prepareCreateAllowance({
+ network,
+ owner: owner.publicKey.toBase58(),
+ delegatee: agent.publicKey.toBase58(),
+ mint: mint.toBase58(),
+ amount: CAP,
+ expiryTs: Math.floor(Date.now() / 1000) + 3600,
+ connection: conn,
+});
+const createSig = await signAndSend(prep.transaction, owner);
+step('create allowance (owner-signed)', { signature: createSig, delegationPda: prep.delegationPda, cap: '100', initializesAuthority: prep.initializesAuthority });
+
+const common = { network, kind: 'fixed', delegationPda: prep.delegationPda, connection: conn };
+
+const okCheck = await checkAllowancePull({ ...common, amount: unit(40) });
+const pull = await buildSignedPull({ ...common, owner: owner.publicKey.toBase58(), mint: mint.toBase58(), amount: unit(40), agentKeypair: agent });
+const pullSig = await conn.sendRawTransaction(pull.tx.serialize());
+await conn.confirmTransaction({ signature: pullSig, blockhash: pull.blockhash, lastValidBlockHeight: pull.lastValidBlockHeight }, 'confirmed');
+const afterPull = await readAllowance(common);
+step('pull 40 within cap (agent-signed)', { guard: okCheck.code, signature: pullSig, remainingOnChain: `${Number(afterPull.remaining) / 10 ** DECIMALS}` });
+
+const overCheck = await checkAllowancePull({ ...common, amount: unit(80) });
+const overTx = await buildSignedPull({ ...common, owner: owner.publicKey.toBase58(), mint: mint.toBase58(), amount: unit(80), agentKeypair: agent });
+const overSim = await simulateRejection(overTx.tx);
+step('pull 80 over remaining 60', { guardCode: overCheck.code, guardAllow: overCheck.allow, programRejected: overSim.rejected, programError: overSim.message });
+
+const rev = await prepareRevokeAllowance({ network, owner: owner.publicKey.toBase58(), delegationPda: prep.delegationPda, connection: conn });
+const revokeSig = await signAndSend(rev.transaction, owner);
+step('revoke (owner-signed)', { signature: revokeSig });
+
+const postCheck = await checkAllowancePull({ ...common, amount: unit(10) });
+const postTx = await buildSignedPull({ ...common, owner: owner.publicKey.toBase58(), mint: mint.toBase58(), amount: unit(10), agentKeypair: agent });
+const postSim = await simulateRejection(postTx.tx);
+step('pull 10 after revoke', { guardCode: postCheck.code, guardAllow: postCheck.allow, programRejected: postSim.rejected, programError: postSim.message });
+
+const failures = [];
+if (okCheck.allow !== true) failures.push('guard should allow an in-cap pull');
+if (overCheck.allow !== false || overCheck.code !== 'allowance_exceeded') failures.push('guard should refuse an over-cap pull');
+if (!overSim.rejected) failures.push('program should reject an over-cap pull');
+if (postCheck.allow !== false || postCheck.code !== 'no_allowance') failures.push('guard should refuse a post-revoke pull');
+if (!postSim.rejected) failures.push('program should reject a post-revoke pull');
+if (failures.length) {
+ console.error('\nFAILED:\n - ' + failures.join('\n - '));
+ process.exit(1);
+}
+console.log('\nOK: all five lifecycle assertions held on devnet');
+console.log(JSON.stringify({ signatures: { create: createSig, pull: pullSig, revoke: revokeSig } }, null, 2));
diff --git a/scripts/build-mcp-catalog.mjs b/scripts/build-mcp-catalog.mjs
index d455a0460..b754f7830 100644
--- a/scripts/build-mcp-catalog.mjs
+++ b/scripts/build-mcp-catalog.mjs
@@ -23,6 +23,8 @@
// - `source` and `inputSchemaIsPartial` come from the static read in
// scripts/lib/mcp-schema.mjs: a bound that only exists in the deployed env
// is flagged rather than reported as the empty-env default.
+// - `trust` on each server is the 0-100 score and A-F grade from scripts/lib/mcp-trust.mjs,
+// built from facts checkable offline; the weights are documented in docs/mcp.md.
// - The census (counts per server and totals) is api/_lib/mcp-census.js, the
// same code GET /api/mcp-census runs at request time.
//
@@ -42,6 +44,7 @@ import { ROOT, mcpToolSources } from './lib/mcp-tool-sources.mjs';
import { extractTools } from './lib/mcp-safety-check.mjs';
import { extractInputSchemas } from './lib/mcp-schema.mjs';
import { allServers } from './lib/mcp-enumerate.mjs';
+import { gradeServers } from './lib/mcp-trust.mjs';
import { countServer, totalsFor, whenToUse, CENSUS_METHOD } from '../api/_lib/mcp-census.js';
import { POLICY } from '../packages/mcp-policy/src/table.js';
import { GROUPS } from '../packages/mcp-policy/src/groups.js';
@@ -393,6 +396,8 @@ async function build() {
withArguments: tools.filter((t) => Object.keys(t.inputSchema?.properties || {}).length).length,
};
+ const trust = gradeServers(servers);
+
const catalog = {
$comment:
'Generated by scripts/build-mcp-catalog.mjs from the tools/list payload of every three.ws MCP server and the price maps in this repo. Do not edit by hand: npm run build:mcp-catalog regenerates it and npm run audit:mcp-catalog fails the build when it is stale.',
@@ -412,6 +417,7 @@ async function build() {
resources: (s.resources || []).length,
templates: (s.templates || []).length,
prompts: (s.prompts || []).length,
+ trust: trust.get(s.id),
})),
tools,
};
diff --git a/scripts/check-claude-md.mjs b/scripts/check-claude-md.mjs
index 1e57521a4..769c83fb0 100644
--- a/scripts/check-claude-md.mjs
+++ b/scripts/check-claude-md.mjs
@@ -66,6 +66,7 @@ const artifactPaths = new Set([
'dist-lib/agent-3d.js',
'avatar-sdk/dist',
'avatar-sdk/dist/index.mjs',
+ 'walk-sdk/dist',
// Git plumbing, not a repo path: in a linked worktree `.git` is a FILE
// pointing at the main checkout, so this never resolves there.
'.git/hooks',
diff --git a/scripts/x-archive-price-impact.mjs b/scripts/x-archive-price-impact.mjs
index cea4652ac..d77cca06e 100644
--- a/scripts/x-archive-price-impact.mjs
+++ b/scripts/x-archive-price-impact.mjs
@@ -76,6 +76,6 @@ console.log(line('r24h', '+24h'));
if (!TO_STDOUT) {
await mkdir(path.dirname(OUT_FILE), { recursive: true });
- await writeFile(OUT_FILE, `${JSON.stringify(doc, null, 1)}\n`);
+ await writeFile(OUT_FILE, `${JSON.stringify(doc)}\n`);
console.log(`wrote ${path.relative(REPO_ROOT, OUT_FILE)}`);
}
diff --git a/src/dashboard/dashboard.js b/src/dashboard/dashboard.js
index 473d63fc2..f9806cd6c 100644
--- a/src/dashboard/dashboard.js
+++ b/src/dashboard/dashboard.js
@@ -12,6 +12,7 @@ import { safeUrl } from '../safe-url.js';
import { resolveURI } from '../ipfs.js';
import { withPayoutStepUp, cooldownNotice } from '../payout-step-up.js';
import { shortAddress } from '../shared/address.js';
+import { mountSuggestedSkills } from './suggested-skills.js';
function escapeHtml(s) {
return String(s == null ? '' : s)
@@ -288,6 +289,7 @@ async function renderAgents(root) {
</div>
<div id="agents-create-host"></div>
<div id="agents-list" class="cards"></div>
+ <section id="agents-suggested" aria-live="polite" style="margin-top:32px"></section>
`;
const list = root.querySelector('#agents-list');
@@ -328,6 +330,7 @@ async function renderAgents(root) {
for (const a of agents)
list.appendChild(agentCard(a, () => maybeRenderEmpty(list, createHost)));
+ mountSuggestedSkills(root.querySelector('#agents-suggested'), { agents, request: j });
}
loadList();
diff --git a/src/dashboard/suggested-skills.js b/src/dashboard/suggested-skills.js
new file mode 100644
index 000000000..cc734d2be
--- /dev/null
+++ b/src/dashboard/suggested-skills.js
@@ -0,0 +1,172 @@
+// "Suggested skills" on the agent dashboard: skills an agent drafted for itself
+// from runs that verifiably worked (api/_lib/skill-candidates.js). The owner
+// reads the bundle and the evidence run, then installs it on that agent only,
+// publishes it to the marketplace, or dismisses it. Nothing installs or
+// publishes without one of those clicks.
+//
+// All text reaches the DOM through textContent, never innerHTML: a draft is
+// model-written and its evidence comes from tool arguments.
+
+const SIGNAL_LABEL = {
+ multi_tool_turn: 'Multi-tool run, no errors',
+ labor_escrow_passed: 'Labor job passed escrow',
+ profitable_trade: 'Closed profitable trade',
+};
+
+const STATUS_LABEL = { draft: 'Ready to review', invalid: 'Failed validation', installed: 'Installed', dismissed: 'Dismissed' };
+
+function h(tag, attrs = {}, ...children) {
+ const el = document.createElement(tag);
+ for (const [k, v] of Object.entries(attrs)) {
+ if (v == null || v === false) continue;
+ if (k === 'class') el.className = v;
+ else if (k.startsWith('on')) el.addEventListener(k.slice(2), v);
+ else el.setAttribute(k, v === true ? '' : String(v));
+ }
+ for (const c of children.flat()) if (c != null && c !== false) el.append(c instanceof Node ? c : document.createTextNode(String(c)));
+ return el;
+}
+
+const pre = (text) => h('pre', { class: 'sugg-pre', tabindex: '0' }, text);
+
+function stepsList(steps) {
+ return h(
+ 'ol',
+ { class: 'sugg-steps' },
+ steps.map((s) => h('li', {}, h('code', {}, s.tool), ' ', h('span', { class: 'muted' }, JSON.stringify(s.args)))),
+ );
+}
+
+function bundleFiles(bundle) {
+ const files = [
+ ['manifest.json', JSON.stringify(bundle.manifest, null, 2)],
+ ['SKILL.md', bundle.skill_md],
+ ['tools.json', JSON.stringify(bundle.tools, null, 2)],
+ ['handlers.js', bundle.handlers_src],
+ ];
+ return files.map(([name, body]) => h('details', { class: 'sugg-file' }, h('summary', {}, name), pre(body)));
+}
+
+/**
+ * @param {HTMLElement} host
+ * @param {object} o
+ * @param {Array<{id:string,name?:string}>} o.agents
+ * @param {(method:string, path:string, body?:object) => Promise<any>} o.request the dashboard's CSRF-aware fetch
+ */
+export async function mountSuggestedSkills(host, { agents, request }) {
+ host.replaceChildren(h('div', { class: 'muted' }, 'Loading suggested skills…'));
+
+ async function load() {
+ const results = await Promise.allSettled(
+ agents.slice(0, 24).map((a) => request('GET', `/api/agents/${encodeURIComponent(a.id)}/skill-candidates`).then((r) => ({ agent: a, list: r?.data?.candidates || [] }))),
+ );
+ const failed = results.filter((r) => r.status === 'rejected');
+ const groups = results.filter((r) => r.status === 'fulfilled').map((r) => r.value);
+ render(groups, failed.length);
+ }
+
+ async function act(agent, candidate, body, button) {
+ const label = button.textContent;
+ button.disabled = true;
+ button.textContent = 'Working…';
+ try {
+ await request('POST', `/api/agents/${encodeURIComponent(agent.id)}/skill-candidates/${encodeURIComponent(candidate.id)}`, body);
+ await load();
+ } catch (err) {
+ button.disabled = false;
+ button.textContent = label;
+ const slot = button.closest('.sugg-card')?.querySelector('.sugg-error');
+ if (slot) slot.textContent = err?.message || 'That did not work. Try again.';
+ }
+ }
+
+ function actionButton(agent, candidate, label, body, { primary = false, title = '' } = {}) {
+ const btn = h('button', { type: 'button', class: primary ? 'btn-primary' : 'btn sec', title }, label);
+ btn.addEventListener('click', () => act(agent, candidate, body, btn));
+ return btn;
+ }
+
+ function revisionBlock(agent, candidate, revision) {
+ return h(
+ 'div',
+ { class: 'sugg-revision' },
+ h('strong', {}, revision.kind === 'repair' ? 'Proposed repair' : 'Proposed extension'),
+ h('span', { class: 'muted' }, ` ${revision.from_version} to ${revision.to_version}`),
+ h('p', { class: 'muted' }, revision.kind === 'repair'
+ ? 'The installed skill failed on a later run and the agent finished the job another way.'
+ : 'A later run used this skill and then needed more tools to finish.'),
+ pre(revision.diff || 'No file changes.'),
+ h(
+ 'div',
+ { class: 'sugg-actions' },
+ actionButton(agent, candidate, 'Accept revision', { action: 'accept_revision', revision_id: revision.id }, { primary: true }),
+ actionButton(agent, candidate, 'Dismiss revision', { action: 'dismiss_revision', revision_id: revision.id }),
+ ),
+ );
+ }
+
+ function card(agent, c) {
+ const pending = (c.revisions || []).filter((r) => r.status === 'pending');
+ const title = c.plan?.name || 'Draft needs another try';
+ const actions = [];
+ if (c.status === 'draft') {
+ actions.push(actionButton(agent, c, 'Install on this agent', { action: 'accept' }, { primary: true, title: 'Installs on this agent only' }));
+ actions.push(actionButton(agent, c, 'Publish to marketplace', { action: 'publish' }));
+ }
+ if (c.status === 'installed') {
+ if (!c.published_skill_id) actions.push(actionButton(agent, c, 'Publish to marketplace', { action: 'publish' }));
+ else actions.push(h('a', { class: 'btn sec', href: '/marketplace' }, 'On the marketplace'));
+ }
+ if (c.status === 'invalid') actions.push(actionButton(agent, c, 'Redraft', { action: 'redraft' }, { primary: true }));
+ actions.push(actionButton(agent, c, c.status === 'installed' ? 'Uninstall' : 'Dismiss', { action: 'dismiss' }));
+
+ return h(
+ 'article',
+ { class: 'card sugg-card', 'aria-label': `Suggested skill ${title}` },
+ h(
+ 'header',
+ { class: 'sugg-head' },
+ h('h3', {}, title),
+ h('span', { class: `sugg-chip sugg-${c.status}` }, STATUS_LABEL[c.status] || c.status),
+ ),
+ c.plan?.description ? h('p', {}, c.plan.description) : null,
+ h('p', { class: 'muted' }, `${SIGNAL_LABEL[c.signal] || c.signal}. Goal: ${c.goal}`),
+ c.validation_errors?.length ? h('ul', { class: 'sugg-errors' }, c.validation_errors.map((e) => h('li', {}, e))) : null,
+ h('details', { class: 'sugg-evidence' }, h('summary', {}, `Evidence run (${c.steps.length} steps, argument values never stored)`), stepsList(c.steps)),
+ c.bundle ? h('details', { class: 'sugg-bundle' }, h('summary', {}, 'View bundle'), bundleFiles(c.bundle)) : null,
+ pending.map((r) => revisionBlock(agent, c, r)),
+ h('p', { class: 'sugg-error', role: 'alert' }),
+ h('div', { class: 'sugg-actions' }, actions),
+ );
+ }
+
+ function render(groups, failedCount) {
+ const sections = groups
+ .map(({ agent, list }) => ({ agent, list: list.filter((c) => c.status !== 'dismissed') }))
+ .filter(({ list }) => list.length);
+
+ const body = [];
+ if (failedCount) {
+ body.push(h('p', { class: 'sugg-error', role: 'alert' }, `Could not load suggestions for ${failedCount} agent${failedCount === 1 ? '' : 's'}. Reload to retry.`));
+ }
+ if (!sections.length) {
+ body.push(
+ h(
+ 'div',
+ { class: 'muted sugg-empty' },
+ 'No suggestions yet. When an agent finishes a run that used several tools without an error, passes a labor-escrow job, or closes a profitable trade, it drafts a skill here for you to review.',
+ ),
+ );
+ }
+ for (const { agent, list } of sections) {
+ body.push(h('h3', { class: 'sugg-agent' }, agent.name || 'Agent'), h('div', { class: 'cards' }, list.map((c) => card(agent, c))));
+ }
+ host.replaceChildren(
+ h('h2', {}, 'Suggested skills'),
+ h('p', { class: 'sub' }, 'Skills your agents drafted from runs that worked. Nothing installs or publishes until you choose.'),
+ ...body,
+ );
+ }
+
+ await load();
+}
diff --git a/src/element.js b/src/element.js
index 50e0f48cd..580917cb3 100644
--- a/src/element.js
+++ b/src/element.js
@@ -2068,7 +2068,15 @@ class Agent3DElement extends HTMLElement {
mainThreadOrigins: [_pageOrigin(), _scriptOrigin].filter(Boolean),
});
const skillList = manifest.skills || [];
- for (const spec of skillList) {
+ for (const entry of skillList) {
+ // A string entry that points at a hosted bundle is a skill the owner
+ // accepted from the dashboard's Suggested skills list
+ // (/api/agents/:id/skill-candidates/:cid/bundle/). Other strings are
+ // built-in skill names, registered through AgentSkills.
+ const spec =
+ typeof entry === 'string' && /\/skill-candidates\/[^/]+\/bundle\/?$/.test(entry)
+ ? { uri: entry.startsWith('/') ? `${this._apiBase()}${entry}` : entry }
+ : entry;
// Built-in skills (referenced by name only, no bundle URI) are
// registered through AgentSkills, not the remote SkillRegistry.
if (!spec || !spec.uri) continue;
diff --git a/src/kol/tracker.js b/src/kol/tracker.js
index 96020cb01..d597a4850 100644
--- a/src/kol/tracker.js
+++ b/src/kol/tracker.js
@@ -7,7 +7,7 @@
// (R2 imports; the bundled wallets.json is a merge target, not a data source)
// - trades + FIFO P&L/win-rate/volume, from wallet-pnl.js (real on-chain trades
// via whatever _fetchTrades source is configured — no synthetic numbers)
-// - X follower count, from x-profile.js (real X API, only for wallets an admin
+// - X follower count, from x-profile.js (X API v2, then the keyless guest reader; only for wallets an admin
// has explicitly attached a verified handle to — see import-gmgn's xHandle map)
//
// Precedence per wallet: our own on-chain FIFO P&L wins when we have trades for
diff --git a/src/labor-market.js b/src/labor-market.js
index 3381491ac..b43245a32 100644
--- a/src/labor-market.js
+++ b/src/labor-market.js
@@ -681,6 +681,12 @@ function setMsg(el, text, kind) {
}
function wirePostForm() {
+ const evalSel = $('#lm-post-evaluator');
+ evalSel.addEventListener('change', () => {
+ const isAgent = evalSel.value === 'agent';
+ $('#lm-post-evalagent-wrap').hidden = !isAgent;
+ $('#lm-post-evalagent').required = isAgent;
+ });
const form = $('#lm-post-form');
form.addEventListener('submit', async (e) => {
e.preventDefault();
@@ -698,6 +704,10 @@ function wirePostForm() {
spec: $('#lm-post-spec').value.trim(),
requiredSkill: $('#lm-post-skill').value.trim() || null,
rewardThree: Number($('#lm-post-reward').value),
+ evaluator: $('#lm-post-evaluator').value === 'agent'
+ ? { kind: 'agent', agentId: $('#lm-post-evalagent').value.trim() }
+ : $('#lm-post-evaluator').value,
+ disputeWindowSeconds: Number($('#lm-post-window').value),
}),
});
const j = await res.json();
@@ -709,7 +719,7 @@ function wirePostForm() {
throw new Error(j.error_description || j.error || 'post failed');
}
const auto = j.autopilot || {};
- const extra = `${auto.bids ? `${auto.bids} auto-bid${auto.bids === 1 ? '' : 's'} arrived.` : ''} ${auto.settled === 'settled' ? 'Already settled!' : ''}`.trim();
+ const extra = auto.bids ? `${auto.bids} auto-bid${auto.bids === 1 ? '' : 's'} arrived.` : '';
setMsg(msg, `Posted & escrowed. ${extra}`.trim(), 'ok');
toast(`Bounty posted & escrowed.${extra ? ' ' + extra : ''}`, 'ok', j.bounty?.escrow_explorer ? { href: j.bounty.escrow_explorer, linkText: 'escrow tx ↗' } : {});
form.reset();
diff --git a/src/notifications-page.js b/src/notifications-page.js
index 8b4bce5cf..892b7e4ca 100644
--- a/src/notifications-page.js
+++ b/src/notifications-page.js
@@ -27,6 +27,7 @@ const TYPE_CATEGORY = {
companion_delivery: 'companion',
forge_complete: 'creations', forge_failed: 'creations',
withdrawal_completed: 'account', withdrawal_failed: 'account', payment_mismatch: 'account',
+ labor_escrow_update: 'account', labor_deadline_soon: 'account', labor_payout_delayed: 'account',
asset_payment_mismatch: 'account', skill_payment_mismatch: 'account', security_alert: 'account',
wallet_anomaly_frozen: 'account',
inference_topup: 'account', inference_budget_exhausted: 'account',
diff --git a/tests/api/robinhood-feed-launches.test.js b/tests/api/robinhood-feed-launches.test.js
new file mode 100644
index 000000000..09d6b7df6
--- /dev/null
+++ b/tests/api/robinhood-feed-launches.test.js
@@ -0,0 +1,36 @@
+import { test } from 'vitest';
+import assert from 'node:assert/strict';
+import { readFileSync } from 'node:fs';
+import { launchFromFeedEvent } from '../../api/_lib/robinhood-feed.js';
+import { normalizeLaunch } from '../../workers/robinhood-feed/src/normalize.js';
+import { parseMintLogs, launchFromMint } from '../../workers/robinhood-feed/src/mints.js';
+
+const fx = JSON.parse(readFileSync(new URL('../../workers/robinhood-feed/tests/fixtures/venue-launches.json', import.meta.url), 'utf8'));
+const c = fx.launches[0];
+const [mint] = parseMintLogs([c.mintLog]);
+const launch = launchFromMint(mint, { ...c.tx, blockNumber: BigInt(c.tx.blockNumber) });
+const data = normalizeLaunch({
+ launch, venue: launch.venue, symbol: 'REAL',
+ dev: { dev_sold: true, dev_sold_pct: 100 },
+ deployer: { prior_launches: 6, prior_dev_exits: 2, inspected: 2, window_blocks: 830000 },
+});
+
+test('a real worker launch event maps to the API row with venue, record and flags', () => {
+ const row = launchFromFeedEvent({ kind: 'launch', data });
+ assert.equal(row.token, c.mintLog.address);
+ assert.equal(row.venue.id, c.venue);
+ assert.equal(row.deployer, c.tx.from);
+ assert.deepEqual(row.deployerRecord, { priorLaunches: 6, priorDevExits: 2, inspected: 2, windowBlocks: 830000 });
+ assert.equal(row.devSold, true);
+ assert.equal(row.devSoldPct, 100);
+ assert.deepEqual(row.flags, ['dev_sold', 'serial_exit', 'serial_deployer']);
+ assert.equal(row.txHash, c.tx.hash);
+});
+
+test('malformed worker payloads are dropped, unknown flags are filtered', () => {
+ assert.equal(launchFromFeedEvent(null), null);
+ assert.equal(launchFromFeedEvent({ kind: 'trade', data }), null);
+ assert.equal(launchFromFeedEvent({ kind: 'launch', data: { ...data, mint: 'nope' } }), null);
+ const row = launchFromFeedEvent({ kind: 'launch', data: { ...data, flags: ['dev_sold', '<script>'] } });
+ assert.deepEqual(row.flags, ['dev_sold']);
+});
diff --git a/tests/decision-memory-link.test.js b/tests/decision-memory-link.test.js
new file mode 100644
index 000000000..7b1342382
--- /dev/null
+++ b/tests/decision-memory-link.test.js
@@ -0,0 +1,71 @@
+import { describe, it, expect, vi, beforeEach } from 'vitest';
+
+const calls = [];
+let queue = [];
+const sqlMock = vi.fn((strings, ...values) => {
+ calls.push({ text: strings.join('?').toLowerCase(), values });
+ return Promise.resolve(queue.length ? queue.shift() : []);
+});
+vi.mock('../api/_lib/db.js', () => ({
+ sql: sqlMock,
+ sqlValues: () => {},
+ isDbUnavailableError: () => false,
+ isDbCapacityError: () => false,
+}));
+
+const { recordDecision, linkOutcomeToMemories } = await import('../api/_lib/reasoning-ledger.js');
+
+const AGENT = '22222222-2222-2222-2222-222222222222';
+const MEM_A = '33333333-3333-3333-3333-333333333333';
+const MEM_B = '44444444-4444-4444-4444-444444444444';
+
+beforeEach(() => {
+ calls.length = 0;
+ queue = [];
+ sqlMock.mockClear();
+});
+
+describe('decision to memory outcome link', () => {
+ it('stores recall ids beside the decision, deduped, ignoring non-uuids', async () => {
+ queue.push([]); // idempotency lookup: nothing yet
+ queue.push([]); // chain head: none
+ queue.push([{ id: 'dec-1', seq: 1, entry_hash: 'h' }]); // insert
+ await recordDecision({
+ agentId: AGENT, kind: 'snipe', subjectRef: 'mint', actionRef: 'pos',
+ recallIds: [MEM_A, MEM_A, 'not-a-uuid', MEM_B],
+ });
+ const link = calls.find((c) => c.text.includes('insert into decision_recalls'));
+ expect(link).toBeTruthy();
+ expect(link.values).toContainEqual([MEM_A, MEM_B]);
+ expect(link.values).toContain('dec-1');
+ });
+
+ it('does not touch decision_recalls when nothing was recalled', async () => {
+ queue.push([]);
+ queue.push([]);
+ queue.push([{ id: 'dec-1', seq: 1, entry_hash: 'h' }]);
+ await recordDecision({ agentId: AGENT, kind: 'snipe', subjectRef: 'mint', actionRef: 'pos' });
+ expect(calls.some((c) => c.text.includes('decision_recalls'))).toBe(false);
+ });
+
+ it('does not fail the decision when the link write throws', async () => {
+ sqlMock.mockImplementationOnce(() => Promise.resolve([])).mockImplementationOnce(() => Promise.resolve([]))
+ .mockImplementationOnce(() => Promise.resolve([{ id: 'dec-1', seq: 1, entry_hash: 'h' }]))
+ .mockImplementationOnce(() => Promise.reject(new Error('relation "decision_recalls" does not exist')));
+ const out = await recordDecision({ agentId: AGENT, kind: 'snipe', recallIds: [MEM_A] });
+ expect(out).toMatchObject({ id: 'dec-1', seq: 1, deduped: false });
+ });
+
+ it('writes pnl, win and hold time onto the recalled memories, idempotently', async () => {
+ queue.push([{ memory_id: MEM_A }, { memory_id: MEM_B }]);
+ const out = await linkOutcomeToMemories({
+ decisionId: 'dec-1', agentId: AGENT, pnlUsd: -42.5, win: false, holdSeconds: 900,
+ closedAt: '2026-10-23T00:00:00.000Z',
+ });
+ expect(out.linked).toBe(2);
+ const w = calls[0];
+ expect(w.text).toContain('insert into memory_outcomes');
+ expect(w.text).toContain('on conflict do nothing');
+ expect(w.values).toEqual([-42.5, false, 900, '2026-10-23T00:00:00.000Z', 'dec-1', AGENT]);
+ });
+});
diff --git a/tests/helpers/upto-local-facilitator.js b/tests/helpers/upto-local-facilitator.js
new file mode 100644
index 000000000..7ae968c9a
--- /dev/null
+++ b/tests/helpers/upto-local-facilitator.js
@@ -0,0 +1,172 @@
+// A test-controlled `upto` facilitator for Solana.
+//
+// The real @x402/svm upto facilitator needs a live cluster with the payment
+// channel program deployed. This stand-in keeps everything cryptographic REAL
+// and replaces only the chain itself with an in-memory ledger the test can
+// read:
+//
+// verify decodes the buyer's signed `open` transaction (built by the real
+// @x402/svm upto client), checks the buyer's ed25519 signature over
+// the compiled message, the fee payer, the channel program, and that
+// the deposit encoded in the instruction equals the cap.
+// settle deposit: escrows the cap. claim: checks the receiverAuthorizer's
+// ed25519 voucher over (channelId, cumulative amount, expiresAt) with
+// WebCrypto, refuses a claim above the deposit, pays the seller the
+// claim and refunds the rest to the buyer.
+//
+// Same interface as UptoSvmScheme (facilitator): verify(payload, requirements)
+// and settle(payload, requirements).
+
+import {
+ getAddressEncoder,
+ getBase58Decoder,
+ getBase58Encoder,
+ getBase64Encoder,
+ getCompiledTransactionMessageDecoder,
+ getTransactionDecoder,
+} from '@solana/kit';
+
+export const PAYMENT_CHANNELS_PROGRAM = 'CHNLxYvVA28MJP9PrFuDXccuoGXAx7jBacfLEkahyGsX';
+
+async function ed25519Verify({ publicKey, signature, message }) {
+ const key = await crypto.subtle.importKey('raw', publicKey, 'Ed25519', false, ['verify']);
+ return crypto.subtle.verify('Ed25519', key, signature, message);
+}
+
+// The byte layout the channel program verifies: magic, channel, u64 cumulative,
+// i64 expiry. Rebuilt here independently of the package so a drift in what the
+// server signs fails the test.
+export function voucherBytes({ channelId, cumulativeAmount, expiresAt }) {
+ const out = new Uint8Array(50);
+ out[0] = 86;
+ out[1] = 1;
+ out.set(getBase58Encoder().encode(channelId), 2);
+ const view = new DataView(out.buffer);
+ view.setBigUint64(34, BigInt(cumulativeAmount), true);
+ view.setBigInt64(42, BigInt(expiresAt), true);
+ return out;
+}
+
+function containsU64LE(bytes, value) {
+ const needle = new Uint8Array(8);
+ new DataView(needle.buffer).setBigUint64(0, BigInt(value), true);
+ outer: for (let i = 0; i + 8 <= bytes.length; i++) {
+ for (let j = 0; j < 8; j++) if (bytes[i + j] !== needle[j]) continue outer;
+ return true;
+ }
+ return false;
+}
+
+export class UptoLocalFacilitator {
+ constructor({ feePayerAddress }) {
+ this.feePayerAddress = feePayerAddress;
+ this.channels = new Map();
+ this.events = [];
+ this.sig = 0;
+ }
+
+ getExtra() {
+ return { feePayer: this.feePayerAddress };
+ }
+
+ getSigners() {
+ return [this.feePayerAddress];
+ }
+
+ fail(payload, reason, message) {
+ return {
+ success: false,
+ errorReason: reason,
+ errorMessage: message,
+ transaction: '',
+ network: payload?.accepted?.network,
+ payer: payload?.payload?.from,
+ };
+ }
+
+ async verify(payload, requirements) {
+ const raw = payload?.payload;
+ const bad = (invalidReason, invalidMessage) => ({ isValid: false, invalidReason, invalidMessage, payer: raw?.from });
+ if (payload?.accepted?.scheme !== 'upto' || requirements.scheme !== 'upto') return bad('unsupported_scheme');
+ if (!raw?.openTransaction) return bad('invalid_upto_svm_payload_type');
+ if ('voucherSignature' in raw || 'type' in raw) return bad('invalid_upto_svm_payload_unexpected_voucher');
+ if (BigInt(raw.maxAmount) !== BigInt(requirements.amount)) return bad('invalid_upto_svm_payload_amount');
+ if (BigInt(raw.deposit) !== BigInt(requirements.amount)) return bad('invalid_upto_svm_payload_deposit');
+ if (raw.authorizedSigner !== requirements.extra?.receiverAuthorizer) {
+ return bad('invalid_upto_svm_authorizer_address_mismatch');
+ }
+
+ const tx = getTransactionDecoder().decode(getBase64Encoder().encode(raw.openTransaction));
+ const message = getCompiledTransactionMessageDecoder().decode(tx.messageBytes);
+ const accounts = message.staticAccounts.map(String);
+ if (accounts[0] !== requirements.extra?.feePayer) return bad('invalid_upto_svm_fee_payer');
+ if (!accounts.includes(PAYMENT_CHANNELS_PROGRAM)) return bad('invalid_upto_svm_program');
+
+ const sig = tx.signatures[raw.from];
+ if (!sig) return bad('invalid_upto_svm_missing_payer_signature');
+ const ok = await ed25519Verify({
+ publicKey: getAddressEncoder().encode(raw.from),
+ signature: sig,
+ message: tx.messageBytes,
+ });
+ if (!ok) return bad('invalid_upto_svm_payer_signature');
+
+ const channelIx = message.instructions.find(
+ (ix) => accounts[ix.programAddressIndex] === PAYMENT_CHANNELS_PROGRAM,
+ );
+ if (!channelIx?.data || !containsU64LE(channelIx.data, requirements.amount)) {
+ return bad('invalid_upto_svm_deposit_mismatch');
+ }
+ return { isValid: true, payer: raw.from };
+ }
+
+ async settle(payload, requirements) {
+ const raw = payload?.payload;
+ const base = { network: payload.accepted.network, payer: raw.from };
+ if (raw.type === 'deposit') {
+ if (this.channels.has(raw.channelId)) return this.fail(payload, 'invalid_upto_svm_channel_already_open');
+ this.channels.set(raw.channelId, {
+ payer: raw.from,
+ payTo: requirements.payTo,
+ deposit: BigInt(raw.deposit),
+ authorizedSigner: raw.authorizedSigner,
+ expiresAt: raw.expiresAt,
+ state: 'open',
+ });
+ const transaction = `LOCAL-OPEN-${++this.sig}`;
+ this.events.push({ kind: 'deposit', channelId: raw.channelId, amount: BigInt(raw.deposit) });
+ return { success: true, transaction, ...base };
+ }
+ if (raw.type === 'claim') {
+ const channel = this.channels.get(raw.channelId);
+ if (!channel || channel.state !== 'open') return this.fail(payload, 'invalid_upto_svm_channel_not_open');
+ const amount = BigInt(requirements.amount);
+ if (amount > channel.deposit) return this.fail(payload, 'invalid_upto_svm_payload_settlement_exceeds_amount');
+ if (!raw.voucherSignature) return this.fail(payload, 'invalid_upto_svm_payload_missing_voucher');
+ const ok = await ed25519Verify({
+ publicKey: getBase58Encoder().encode(channel.authorizedSigner),
+ signature: getBase58Encoder().encode(raw.voucherSignature),
+ message: voucherBytes({
+ channelId: raw.channelId,
+ cumulativeAmount: amount,
+ expiresAt: channel.expiresAt,
+ }),
+ });
+ if (!ok) return this.fail(payload, 'invalid_upto_svm_voucher_signature');
+ channel.state = 'sealed';
+ const transaction = `LOCAL-CLAIM-${++this.sig}`;
+ this.events.push({
+ kind: amount === 0n ? 'cancel' : 'claim',
+ channelId: raw.channelId,
+ paid: amount,
+ refunded: channel.deposit - amount,
+ payTo: channel.payTo,
+ payer: channel.payer,
+ });
+ return { success: true, transaction, ...base };
+ }
+ return this.fail(payload, 'invalid_upto_svm_payload_type');
+ }
+}
+
+export { getBase58Decoder };
diff --git a/tests/ledger-endpoints.test.js b/tests/ledger-endpoints.test.js
index a57a8b8ac..de52c7bfd 100644
--- a/tests/ledger-endpoints.test.js
+++ b/tests/ledger-endpoints.test.js
@@ -120,6 +120,7 @@ vi.mock('../api/_lib/db.js', () => ({
const { buildChain } = await import('../api/_lib/reasoning-ledger.js');
const { default: timelineHandler } = await import('../api/ledger/[agentId].js');
const { default: verifyHandler } = await import('../api/ledger/verify/[agentId].js');
+const { default: trailVerifyHandler } = await import('../api/agents/[id]/decision-trail-verify.js');
const AGENT = '22222222-2222-2222-2222-222222222222';
@@ -311,3 +312,31 @@ describe('GET /api/ledger/verify/:agentId', () => {
expect(res.statusCode).toBe(405);
});
});
+
+describe('GET /api/agents/:id/decision-trail/verify', () => {
+ const trailCall = (id) => call(trailVerifyHandler, `/api/agents/${id}/decision-trail/verify`, { id });
+
+ it('returns ok with no broken index on a clean chain', async () => {
+ await seedChain(4);
+ const res = await trailCall(AGENT);
+ expect(res.statusCode).toBe(200);
+ expect(res.body()).toMatchObject({ ok: true, status: 'verified_unanchored', first_broken_index: null });
+ expect(res.body().chain.count).toBe(4);
+ expect(res.body().chain.head_hash).toMatch(/^[0-9a-f]{64}$/);
+ });
+
+ it('fails at exactly the edited row and reports its zero-based index', async () => {
+ await seedChain(5);
+ h.store.decisions[2].rationale = 'edited after the fact';
+ const res = await trailCall(AGENT);
+ expect(res.body().ok).toBe(false);
+ expect(res.body().status).toBe('verification_failed');
+ expect(res.body().chain.broken_at).toBe(3);
+ expect(res.body().first_broken_index).toBe(2);
+ });
+
+ it('rejects a malformed agent id', async () => {
+ const res = await trailCall('nope');
+ expect(res.statusCode).toBe(400);
+ });
+});
diff --git a/tests/market-anomaly.test.js b/tests/market-anomaly.test.js
index 983f45707..f3fafb52c 100644
--- a/tests/market-anomaly.test.js
+++ b/tests/market-anomaly.test.js
@@ -169,7 +169,7 @@ describe('hourly price and open interest', () => {
});
it('an open interest surge of 60% in four snapshots is flagged', () => {
- const oi = Array.from({ length: 80 }, (_, i) => ({ t: i * 900_000, v: 1_000_000 + (i % 4) * 5_000 }));
+ const oi = Array.from({ length: 80 }, (_, i) => ({ t: i * 900_000, v: 1_000_000 + ((i * 7) % 11) * 4_000 }));
const n = oi.length;
const pts = [...oi.slice(0, n - 1), { t: oi[n - 1].t, v: oi[n - 5].v * 1.6 }];
const r = detectSeries(spec(OPEN_INTEREST_SPEC, 'SYN-USD'), pts);
diff --git a/tests/mcp-catalog.test.js b/tests/mcp-catalog.test.js
index f9456dfbb..4ddf3a239 100644
--- a/tests/mcp-catalog.test.js
+++ b/tests/mcp-catalog.test.js
@@ -96,3 +96,32 @@ describe('MCP tool catalog', () => {
}
});
});
+
+describe('MCP server trust grades', () => {
+ const weights = { tools: 15, toolDocs: 5, safety: 15, distribution: 15, registry: 10, readme: 10, license: 10, tests: 5, prompts: 5, resources: 5, glama: 5 };
+
+ it('grades every server with a full breakdown', () => {
+ expect(catalog.servers.length).toBeGreaterThan(0);
+ for (const server of catalog.servers) {
+ const { trust } = server;
+ expect(trust, server.id).toBeTruthy();
+ expect(trust.facts.map((f) => f.id), server.id).toEqual(Object.keys(weights));
+ for (const fact of trust.facts) {
+ expect(fact.weight).toBe(weights[fact.id]);
+ expect([0, fact.weight]).toContain(fact.earned);
+ expect(fact.detail.length).toBeGreaterThan(0);
+ }
+ expect(trust.score).toBe(trust.facts.reduce((sum, f) => sum + f.earned, 0));
+ }
+ });
+
+ it('weights sum to 100 and the grade follows the score thresholds', () => {
+ expect(Object.values(weights).reduce((a, b) => a + b, 0)).toBe(100);
+ const min = { A: 85, B: 70, C: 50, D: 30, F: 0 };
+ const next = { A: 101, B: 85, C: 70, D: 50, F: 30 };
+ for (const { id, trust } of catalog.servers) {
+ expect(trust.score, id).toBeGreaterThanOrEqual(min[trust.grade]);
+ expect(trust.score, id).toBeLessThan(next[trust.grade]);
+ }
+ });
+});
diff --git a/tests/memory-outcome-recall.test.js b/tests/memory-outcome-recall.test.js
new file mode 100644
index 000000000..a576ff4fa
--- /dev/null
+++ b/tests/memory-outcome-recall.test.js
@@ -0,0 +1,104 @@
+import { describe, it, expect, vi, beforeEach } from 'vitest';
+
+const sqlMock = vi.fn();
+vi.mock('../api/_lib/db.js', async () => {
+ const actual = await vi.importActual('../api/_lib/db.js');
+ return { sqlValues: actual.sqlValues, sql: sqlMock, isDbUnavailableError: () => false, isDbCapacityError: () => false };
+});
+const scoreRowsBySpace = vi.fn();
+vi.mock('../api/_lib/embeddings.js', () => ({
+ embeddingsConfigured: () => true,
+ defaultIngestEmbedderTag: () => 'nvidia/nv-embedqa-e5-v5@1024',
+ embedPassages: vi.fn(),
+ scoreRowsBySpace: (...a) => scoreRowsBySpace(...a),
+}));
+
+const { outcomeWeight, MIN_WEIGHT, MAX_WEIGHT } = await import('../api/_lib/memory-outcomes.js');
+const { searchMemories } = await import('../api/_lib/memory-store.js');
+
+const NOW = Date.UTC(2026, 9, 23);
+const daysAgo = (d) => new Date(NOW - d * 86_400_000).toISOString();
+
+describe('outcomeWeight', () => {
+ it('is exactly neutral with no outcomes', () => {
+ expect(outcomeWeight([], NOW)).toMatchObject({ weight: 1, samples: 0 });
+ });
+
+ it('rewards wins and demotes losses, but never reaches zero', () => {
+ const win = outcomeWeight([{ pnl_usd: 120, win: true, closed_at: daysAgo(1) }], NOW);
+ const loss = outcomeWeight([{ pnl_usd: -120, win: false, closed_at: daysAgo(1) }], NOW);
+ expect(win.weight).toBeGreaterThan(1);
+ expect(loss.weight).toBeLessThan(1);
+ expect(loss.weight).toBeGreaterThan(0);
+ const disaster = outcomeWeight(Array.from({ length: 50 }, () => ({ pnl_usd: -1e6, win: false, closed_at: daysAgo(0) })), NOW);
+ expect(disaster.weight).toBeGreaterThanOrEqual(MIN_WEIGHT);
+ const jackpot = outcomeWeight(Array.from({ length: 50 }, () => ({ pnl_usd: 1e6, win: true, closed_at: daysAgo(0) })), NOW);
+ expect(jackpot.weight).toBeLessThanOrEqual(MAX_WEIGHT);
+ });
+
+ it('decays toward neutral as an outcome ages', () => {
+ const fresh = outcomeWeight([{ pnl_usd: -100, win: false, closed_at: daysAgo(1) }], NOW).weight;
+ const old = outcomeWeight([{ pnl_usd: -100, win: false, closed_at: daysAgo(400) }], NOW).weight;
+ expect(old).toBeGreaterThan(fresh);
+ expect(old).toBeLessThan(1);
+ });
+
+ it('uses win/loss alone when the outcome is unpriced', () => {
+ const r = outcomeWeight([{ pnl_usd: null, win: false, closed_at: daysAgo(1) }], NOW);
+ expect(r.weight).toBeLessThan(1);
+ expect(r.losses).toBe(1);
+ expect(r.net_pnl_usd).toBe(0);
+ });
+});
+
+describe('searchMemories outcome weighting', () => {
+ let queue;
+ beforeEach(() => {
+ queue = [];
+ sqlMock.mockReset();
+ sqlMock.mockImplementation(() => Promise.resolve(queue.length ? queue.shift() : []));
+ scoreRowsBySpace.mockReset();
+ });
+
+ const base = { type: 'project', tags: [], context: {}, salience: 0.5, tier: 'recall', embedder: 'e', embedding: [1], created_at: new Date() };
+
+ it('ranks a memory tied to a loss below an otherwise equal win, yet still returns it', async () => {
+ queue.push([]); // ensureEmbeddings
+ queue.push([{ id: 'loss', content: 'bought the breakout', ...base }, { id: 'win', content: 'bought the dip', ...base }]);
+ queue.push([
+ { memory_id: 'loss', pnl_usd: -200, win: false, closed_at: new Date() },
+ { memory_id: 'win', pnl_usd: 200, win: true, closed_at: new Date() },
+ ]);
+ scoreRowsBySpace.mockResolvedValue({
+ scored: [
+ { ...base, id: 'loss', content: 'bought the breakout', score: 0.8 },
+ { ...base, id: 'win', content: 'bought the dip', score: 0.8 },
+ ],
+ needsReembed: [],
+ });
+ const out = await searchMemories('agent1', 'what worked', { topK: 5, minScore: 0.25, bump: false });
+ expect(out.results.map((r) => r.id)).toEqual(['win', 'loss']);
+ const [win, loss] = out.results;
+ expect(win.outcome.weight).toBeGreaterThan(1);
+ expect(loss.outcome.weight).toBeLessThan(1);
+ expect(loss.outcome).toMatchObject({ samples: 1, losses: 1, wins: 0 });
+ expect(win.rankScore).toBeGreaterThan(loss.rankScore);
+ expect(loss.rankScore).toBeGreaterThan(0);
+ expect(win.score).toBe(0.8);
+ expect(loss.score).toBe(0.8);
+ });
+
+ it('stays unweighted when the outcomes read fails', async () => {
+ queue.push([]);
+ queue.push([{ id: 'a', content: 'watchlist', ...base }]);
+ let n = 0;
+ sqlMock.mockImplementation(() => {
+ n++;
+ if (n === 3) return Promise.reject(new Error('relation "memory_outcomes" does not exist'));
+ return Promise.resolve(queue.length ? queue.shift() : []);
+ });
+ scoreRowsBySpace.mockResolvedValue({ scored: [{ ...base, id: 'a', content: 'watchlist', score: 0.7 }], needsReembed: [] });
+ const out = await searchMemories('agent1', 'watchlist', { bump: false });
+ expect(out.results[0].outcome.weight).toBe(1);
+ });
+});
diff --git a/tests/memory-store.test.js b/tests/memory-store.test.js
index 1c8131fbd..48c8eed6e 100644
--- a/tests/memory-store.test.js
+++ b/tests/memory-store.test.js
@@ -69,7 +69,9 @@ describe('searchMemories', () => {
{ id: 'a', type: 'project', content: 'stop loss rule', tags: [], context: {}, salience: 0.5, tier: 'recall', embedder: 'nvidia/nv-embedqa-e5-v5@1024', embedding: [0.1, 0.2], created_at: new Date() },
{ id: 'b', type: 'project', content: 'unrelated', tags: [], context: {}, salience: 0.5, tier: 'recall', embedder: 'nvidia/nv-embedqa-e5-v5@1024', embedding: [0.9, 0.1], created_at: new Date() },
]);
- // 3) access bump UPDATE (fire-and-forget — still consumes a queued result)
+ // 3) outcome weights (none yet)
+ queueSql([]);
+ // 4) access bump UPDATE (fire-and-forget, still consumes a queued result)
queueSql([]);
scoreRowsBySpace.mockResolvedValue({
@@ -95,6 +97,7 @@ describe('searchMemories', () => {
{ id: 'a', type: 'project', content: 'remember the watchlist', tags: [], context: {}, salience: 0.8, tier: 'recall', embedder: null, embedding: null, created_at: new Date() },
{ id: 'b', type: 'project', content: 'nothing', tags: [], context: {}, salience: 0.9, tier: 'recall', embedder: null, embedding: null, created_at: new Date() },
]);
+ queueSql([]); // outcome weights
// access bump
queueSql([]);
diff --git a/tests/readme-3d-api.test.js b/tests/readme-3d-api.test.js
new file mode 100644
index 000000000..758e0ab11
--- /dev/null
+++ b/tests/readme-3d-api.test.js
@@ -0,0 +1,54 @@
+// POST /api/readme-3d: request validation, method gating and the SSRF guard,
+// served through the real handler over a real HTTP socket. The conversion
+// itself (bytes to a GitHub-renderable STL fence) is covered in
+// packages/readme-3d/test/convert.test.js.
+
+import { createServer } from 'node:http';
+
+import { afterAll, beforeAll, describe, expect, it } from 'vitest';
+
+import handler from '../api/readme-3d.js';
+
+let server;
+let base;
+
+beforeAll(async () => {
+ server = createServer((req, res) => handler(req, res));
+ await new Promise((r) => server.listen(0, '127.0.0.1', r));
+ base = `http://127.0.0.1:${server.address().port}/api/readme-3d`;
+});
+
+afterAll(() => new Promise((r) => server.close(r)));
+
+const post = (body) =>
+ fetch(base, {
+ method: 'POST',
+ headers: { 'content-type': 'application/json' },
+ body: typeof body === 'string' ? body : JSON.stringify(body),
+ });
+
+describe('POST /api/readme-3d', () => {
+ it('rejects methods other than POST', async () => {
+ const res = await fetch(base);
+ expect(res.status).toBe(405);
+ });
+
+ it('requires a url', async () => {
+ const res = await post({});
+ expect(res.status).toBe(400);
+ expect((await res.json()).error).toBe('validation_error');
+ });
+
+ it('rejects a non-numeric budget', async () => {
+ const res = await post({ url: 'https://three.ws/avatars/fox.glb', budget: 'lots' });
+ expect(res.status).toBe(400);
+ expect((await res.json()).error).toBe('validation_error');
+ });
+
+ it('refuses cloud metadata and private addresses before fetching', async () => {
+ const res = await post({ url: 'http://169.254.169.254/latest/meta-data/' });
+ expect(res.status).toBe(400);
+ const body = await res.json();
+ expect(['private_address', 'scheme_not_allowed', 'blocked_host']).toContain(body.error);
+ });
+});
diff --git a/tests/skill-candidates.test.js b/tests/skill-candidates.test.js
new file mode 100644
index 000000000..ffb27f818
--- /dev/null
+++ b/tests/skill-candidates.test.js
@@ -0,0 +1,371 @@
+// Skills from experience (api/_lib/skill-candidates.js, skill-candidate-bundle.js).
+// The pure half runs without a database; the stored half runs against an
+// in-process Postgres (PGlite) with the real migration, so check constraints,
+// ON CONFLICT and the jsonb operators are the production ones.
+
+import { readFileSync } from 'node:fs';
+import { beforeAll, beforeEach, describe, it, expect, vi } from 'vitest';
+import { createPgliteSql } from './_helpers/pglite-sql.js';
+
+const holder = vi.hoisted(() => ({ db: null }));
+
+vi.mock('../api/_lib/db.js', async (importActual) => {
+ const actual = await importActual();
+ return { ...actual, sql: (...args) => holder.db.sql(...args) };
+});
+vi.mock('../api/_lib/agent-learning/settings.js', () => ({
+ getMemorySettings: async () => ({ enabled: true, skill_drafts_enabled: true }),
+}));
+vi.mock('../api/_lib/notify.js', () => ({ insertNotification: vi.fn() }));
+vi.mock('../api/_lib/agent-tools.js', () => {
+ const tool = (name) => ({ description: name, parameters: { type: 'object', properties: {} }, handler: async (args) => ({ tool: name, args }) });
+ return { AGENT_TOOLS: { token_info: tool('token_info'), token_holders: tool('token_holders'), token_safety: tool('token_safety') } };
+});
+
+process.env.DATABASE_URL ||= 'postgres://pglite.test/db';
+
+const USER = '00000000-0000-4000-8000-000000000001';
+const AGENT = '00000000-0000-4000-8000-0000000000a1';
+const migration = readFileSync('api/_lib/migrations/20261023130000_agent_skill_candidates.sql', 'utf8');
+
+// Values that must never reach a stored draft.
+const MINT = 'FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump';
+const WALLET_LABEL = 'treasury-wallet-prod-7';
+const AMOUNT = 48213.77;
+
+const RUN = [
+ { tool: 'token_info', args: { mint: MINT, network: 'solana' } },
+ { tool: 'token_holders', args: { mint: MINT, limit: 20, label: WALLET_LABEL } },
+ { tool: 'token_safety', args: { mint: MINT, probe_sol: AMOUNT } },
+];
+
+const PLAN = {
+ name: 'Vet a token before buying',
+ description: 'Look up a token, check who holds it, then run the safety check before any trade.',
+ when_to_use: 'Use before buying a token the user has not traded before.',
+ step_notes: ['Read the basic token facts.', 'See how concentrated the holders are.', 'Simulate a round trip to catch honeypots.'],
+ param_descriptions: { mint: 'The token mint to vet.', network: 'Which network the mint is on.', limit: 'How many holders to list.', label: 'A label for the report.', probe_sol: 'Probe size in SOL.' },
+ failure_handling: 'If any step fails, stop and report which one.',
+};
+
+const completeWith = (plan) => async () => ({ text: JSON.stringify(plan), provider: 'test', model: 'test-model' });
+
+let bundleLib;
+let cand;
+
+beforeAll(async () => {
+ bundleLib = await import('../api/_lib/skill-candidate-bundle.js');
+ cand = await import('../api/_lib/skill-candidates.js');
+});
+
+beforeEach(async () => {
+ holder.db = createPgliteSql();
+ await holder.db.exec(`
+ create table users (id uuid primary key);
+ create table agent_identities (id uuid primary key, user_id uuid not null, name text, deleted_at timestamptz, skills text[] not null default '{}'::text[]);
+ create table marketplace_skills (
+ id uuid primary key default gen_random_uuid(), author_id uuid, name text, slug text unique, description text, category text,
+ tags text[], schema_json jsonb, content text, is_public boolean, price_per_call_usd numeric
+ );
+ insert into users values ('${USER}');
+ insert into agent_identities (id, user_id, name) values ('${AGENT}', '${USER}', 'Scout');
+ `);
+ await holder.db.exec(migration);
+});
+
+const rows = () => holder.db.query('select * from agent_skill_candidates');
+
+describe('evidence: the detector fires only on verified success', () => {
+ const ok = { signal: 'multi_tool_turn', calls: RUN, finalAnswer: 'done' };
+
+ it('accepts a clean multi-tool turn', () => {
+ expect(bundleLib.assessEvidence(ok)).toEqual({ ok: true });
+ });
+
+ it('rejects a turn with a tool error or a blocked call', () => {
+ expect(bundleLib.assessEvidence({ ...ok, calls: [...RUN.slice(0, 2), { ...RUN[2], error: 'rpc down' }] })).toEqual({ ok: false, reason: 'tool_error_in_run' });
+ expect(bundleLib.assessEvidence({ ...ok, calls: [...RUN.slice(0, 2), { ...RUN[2], blocked: true }] })).toEqual({ ok: false, reason: 'tool_error_in_run' });
+ });
+
+ it('rejects a run that is a lookup rather than a procedure', () => {
+ expect(bundleLib.assessEvidence({ ...ok, calls: RUN.slice(0, 2) }).reason).toBe('too_few_steps');
+ expect(bundleLib.assessEvidence({ ...ok, calls: [RUN[0], RUN[0], RUN[0]] }).reason).toBe('not_enough_distinct_tools');
+ });
+
+ it('rejects a turn that never produced an answer', () => {
+ expect(bundleLib.assessEvidence({ ...ok, finalAnswer: ' ' }).reason).toBe('no_answer');
+ });
+
+ it('labor needs a passing verdict', () => {
+ expect(bundleLib.assessEvidence({ signal: 'labor_escrow_passed', calls: RUN, verdict: { pass: false } }).reason).toBe('verdict_not_pass');
+ expect(bundleLib.assessEvidence({ signal: 'labor_escrow_passed', calls: RUN, verdict: null }).reason).toBe('verdict_not_pass');
+ expect(bundleLib.assessEvidence({ signal: 'labor_escrow_passed', calls: RUN, verdict: { pass: true } }).ok).toBe(true);
+ });
+
+ it('a trade needs positive realized PnL', () => {
+ for (const pnlLamports of [0, -5, null, 'NaN']) {
+ expect(bundleLib.assessEvidence({ signal: 'profitable_trade', calls: RUN, pnlLamports }).reason).toBe('trade_not_profitable');
+ }
+ expect(bundleLib.assessEvidence({ signal: 'profitable_trade', calls: RUN, pnlLamports: '120000' }).ok).toBe(true);
+ });
+
+ it('rejects an unknown signal', () => {
+ expect(bundleLib.assessEvidence({ ...ok, signal: 'vibes' }).reason).toBe('unknown_signal');
+ });
+
+ it('records nothing for an unverified run', async () => {
+ const failed = [...RUN.slice(0, 2), { ...RUN[2], error: 'rpc down' }];
+ const out = await cand.recordSkillCandidate({
+ agentId: AGENT, userId: USER, signal: 'multi_tool_turn', sourceRef: 'run:1', goal: 'vet it', calls: failed, finalAnswer: 'x', complete: completeWith(PLAN),
+ });
+ expect(out).toEqual({ status: 'skipped', reason: 'tool_error_in_run' });
+ expect(await rows()).toHaveLength(0);
+ });
+});
+
+describe('redaction: no literal survives', () => {
+ it('reduces arguments to shapes', () => {
+ expect(bundleLib.redactShape({ mint: MINT, limit: 20, ratio: 0.5, live: true, ids: ['a', 'b'], nested: { who: WALLET_LABEL } })).toEqual({
+ mint: 'string', limit: 'integer', ratio: 'number', live: 'boolean', ids: ['string'], nested: { who: 'string' },
+ });
+ });
+
+ it('does not keep data-like object keys', () => {
+ const shape = bundleLib.redactShape({ [MINT]: 5, label: 'x' });
+ expect(JSON.stringify(shape)).not.toContain(MINT);
+ expect(shape).toEqual({ '<key>': 'integer', label: 'string' });
+ });
+
+ it('scrubs the goal sentence', () => {
+ const literals = [...bundleLib.collectLiterals(RUN.map((c) => c.args))];
+ const goal = `Vet ${MINT} for ${WALLET_LABEL}, probe 48213.77 SOL, see https://example.com/report?id=9 or mail [email protected]`;
+ const scrubbed = bundleLib.scrubGoal(goal, literals);
+ for (const bad of [MINT, WALLET_LABEL, '48213.77', 'https://', '[email protected]']) expect(scrubbed).not.toContain(bad);
+ expect(scrubbed).toContain('Vet');
+ });
+
+ it('stores no argument value from the evidence run, anywhere in the row', async () => {
+ const out = await cand.recordSkillCandidate({
+ agentId: AGENT, userId: USER, signal: 'multi_tool_turn', sourceRef: 'run:redact', calls: RUN, finalAnswer: 'Looks safe.',
+ goal: `Vet ${MINT} (${WALLET_LABEL}) with a ${AMOUNT} SOL probe`, complete: completeWith(PLAN),
+ });
+ expect(out.status).toBe('drafted');
+ const [row] = await rows();
+ const everything = JSON.stringify(row);
+ for (const value of [MINT, WALLET_LABEL, String(AMOUNT), '48213', 'solana']) expect(everything).not.toContain(value);
+ expect(row.steps).toEqual([
+ { tool: 'token_info', args: { mint: 'string', network: 'string' } },
+ { tool: 'token_holders', args: { mint: 'string', limit: 'integer', label: 'string' } },
+ { tool: 'token_safety', args: { mint: 'string', probe_sol: 'number' } },
+ ]);
+ });
+
+ it('the model prompt carries shapes and a scrubbed goal, never values', async () => {
+ const seen = [];
+ await cand.recordSkillCandidate({
+ agentId: AGENT, userId: USER, signal: 'multi_tool_turn', sourceRef: 'run:prompt', calls: RUN, finalAnswer: 'ok',
+ goal: `Vet ${MINT}`, complete: async (messages) => { seen.push(JSON.stringify(messages)); return completeWith(PLAN)(); },
+ });
+ expect(seen).toHaveLength(1);
+ for (const value of [MINT, WALLET_LABEL, String(AMOUNT)]) expect(seen[0]).not.toContain(value);
+ });
+});
+
+describe('the drafted bundle', () => {
+ it('is a valid four-file bundle that calls only the recorded tools, in order', async () => {
+ const out = await cand.recordSkillCandidate({
+ agentId: AGENT, userId: USER, signal: 'multi_tool_turn', sourceRef: 'run:bundle', calls: RUN, finalAnswer: 'ok', goal: 'vet a token', complete: completeWith(PLAN),
+ });
+ const { bundle } = out.candidate;
+ expect(out.candidate.status).toBe('draft');
+ expect(cand.validateCandidateBundle(bundle)).toEqual([]);
+ expect(bundle.manifest.requires.tools).toEqual(['token_info', 'token_holders', 'token_safety']);
+ expect(bundle.manifest.provides.tools).toEqual([bundle.tools.tools[0].name]);
+ expect(bundle.handlers_src).toContain(`export async function ${bundle.tools.tools[0].name}`);
+ expect(bundle.tools.tools[0].input_schema.required).toEqual(['mint', 'network', 'limit', 'label', 'probe_sol']);
+ });
+
+ it('keeps a draft that fails validation with its errors, and it is never installable or publishable', async () => {
+ const leaky = { ...PLAN, step_notes: [`Look up ${WALLET_LABEL}.`, PLAN.step_notes[1], PLAN.step_notes[2]] };
+ const out = await cand.recordSkillCandidate({
+ agentId: AGENT, userId: USER, signal: 'multi_tool_turn', sourceRef: 'run:leaky', calls: RUN, finalAnswer: 'ok', goal: 'vet a token', complete: completeWith(leaky),
+ });
+ expect(out.status).toBe('invalid');
+ const [row] = await rows();
+ expect(row.status).toBe('invalid');
+ expect(row.validation_errors[0]).toContain('value from the evidence run');
+ expect(row.bundle).not.toBeNull();
+
+ await expect(cand.acceptCandidate({ agentId: AGENT, userId: USER, id: row.id })).rejects.toMatchObject({ code: 'not_installable' });
+ await expect(cand.publishCandidate({ agentId: AGENT, userId: USER, id: row.id })).rejects.toMatchObject({ code: 'not_publishable' });
+ expect((await holder.db.query('select skills from agent_identities'))[0].skills).toEqual([]);
+ expect(await holder.db.query('select id from marketplace_skills')).toHaveLength(0);
+ });
+
+ it('refuses to install a stored draft whose bundle was tampered into invalidity', async () => {
+ const out = await cand.recordSkillCandidate({
+ agentId: AGENT, userId: USER, signal: 'multi_tool_turn', sourceRef: 'run:tamper', calls: RUN, finalAnswer: 'ok', goal: 'vet a token', complete: completeWith(PLAN),
+ });
+ await holder.db.query(`update agent_skill_candidates set bundle = jsonb_set(bundle, '{handlers_src}', '"this is not javascript ((("') where id = $1`, [out.candidate.id]);
+ await expect(cand.acceptCandidate({ agentId: AGENT, userId: USER, id: out.candidate.id })).rejects.toMatchObject({ code: 'invalid_bundle', status: 422 });
+ expect((await rows())[0].status).toBe('invalid');
+ });
+
+ it('keeps a draft the model could not write, with the reason', async () => {
+ const out = await cand.recordSkillCandidate({
+ agentId: AGENT, userId: USER, signal: 'multi_tool_turn', sourceRef: 'run:nomodel', calls: RUN, finalAnswer: 'ok', goal: 'vet a token', complete: async () => null,
+ });
+ expect(out.status).toBe('invalid');
+ expect(out.candidate.bundle).toBeNull();
+ expect(out.candidate.validation_errors[0]).toContain('no model');
+ });
+
+ it('records one candidate per run', async () => {
+ const args = { agentId: AGENT, userId: USER, signal: 'multi_tool_turn', sourceRef: 'run:once', calls: RUN, finalAnswer: 'ok', goal: 'vet', complete: completeWith(PLAN) };
+ await cand.recordSkillCandidate(args);
+ expect(await cand.recordSkillCandidate(args)).toEqual({ status: 'skipped', reason: 'already_recorded' });
+ expect(await rows()).toHaveLength(1);
+ });
+});
+
+describe('owner approval', () => {
+ async function draft(sourceRef = 'run:own') {
+ const out = await cand.recordSkillCandidate({
+ agentId: AGENT, userId: USER, signal: 'multi_tool_turn', sourceRef, calls: RUN, finalAnswer: 'ok', goal: 'vet a token', complete: completeWith(PLAN),
+ });
+ return out.candidate;
+ }
+
+ it('nothing is installed or published until the owner acts', async () => {
+ const c = await draft();
+ expect(c.status).toBe('draft');
+ expect((await holder.db.query('select skills from agent_identities'))[0].skills).toEqual([]);
+ expect(await holder.db.query('select id from marketplace_skills')).toHaveLength(0);
+ expect(await cand.getInstalledBundleFile(AGENT, c.id, 'manifest.json')).toBeNull();
+ });
+
+ it('accepting installs on this agent only and serves the bundle', async () => {
+ const c = await draft();
+ const installed = await cand.acceptCandidate({ agentId: AGENT, userId: USER, id: c.id });
+ expect(installed.status).toBe('installed');
+ const uri = `/api/agents/${AGENT}/skill-candidates/${c.id}/bundle/`;
+ expect(installed.bundle_uri).toBe(uri);
+ expect((await holder.db.query('select skills from agent_identities'))[0].skills).toEqual([uri]);
+ expect((await cand.getInstalledBundleFile(AGENT, c.id, 'manifest.json')).body.name).toBe('vet-a-token-before-buying');
+ expect((await cand.getInstalledBundleFile(AGENT, c.id, 'handlers')).type).toBe('javascript');
+ expect(await cand.getInstalledBundleFile(AGENT, c.id, 'secrets.json')).toBeNull();
+ });
+
+ it('dismissing leaves no install, and uninstalling removes it', async () => {
+ const c = await draft('run:dismiss');
+ const dismissed = await cand.dismissCandidate({ agentId: AGENT, userId: USER, id: c.id });
+ expect(dismissed.status).toBe('dismissed');
+ expect((await holder.db.query('select skills from agent_identities'))[0].skills).toEqual([]);
+ await expect(cand.acceptCandidate({ agentId: AGENT, userId: USER, id: c.id })).rejects.toMatchObject({ code: 'not_installable' });
+
+ const d = await draft('run:uninstall');
+ await cand.acceptCandidate({ agentId: AGENT, userId: USER, id: d.id });
+ await cand.dismissCandidate({ agentId: AGENT, userId: USER, id: d.id });
+ expect((await holder.db.query('select skills from agent_identities'))[0].skills).toEqual([]);
+ expect(await cand.getInstalledBundleFile(AGENT, d.id, 'manifest.json')).toBeNull();
+ });
+
+ it('only the owner can read or act', async () => {
+ const c = await draft();
+ const stranger = '00000000-0000-4000-8000-0000000000ff';
+ await expect(cand.listCandidates({ agentId: AGENT, userId: stranger })).rejects.toMatchObject({ status: 403 });
+ await expect(cand.acceptCandidate({ agentId: AGENT, userId: stranger, id: c.id })).rejects.toMatchObject({ status: 403 });
+ });
+
+ it('publishing goes through the marketplace table with a tool schema', async () => {
+ const c = await draft();
+ const { skill } = await cand.publishCandidate({ agentId: AGENT, userId: USER, id: c.id });
+ const [pub] = await holder.db.query('select * from marketplace_skills where id = $1', [skill.id]);
+ expect(pub.author_id).toBe(USER);
+ expect(pub.schema_json[0].function.name).toBe(c.bundle.tools.tools[0].name);
+ expect(pub.content).toBe(c.bundle.skill_md);
+ await expect(cand.publishCandidate({ agentId: AGENT, userId: USER, id: c.id })).rejects.toMatchObject({ code: 'already_published' });
+ });
+});
+
+describe('installed skills in the next run', () => {
+ it('exposes an installed skill as a callable tool that replays its steps', async () => {
+ const c = (await cand.recordSkillCandidate({
+ agentId: AGENT, userId: USER, signal: 'multi_tool_turn', sourceRef: 'run:next', calls: RUN, finalAnswer: 'ok', goal: 'vet a token', complete: completeWith(PLAN),
+ })).candidate;
+ expect((await cand.installedCandidateTools(AGENT)).schemas).toEqual([]);
+ await cand.acceptCandidate({ agentId: AGENT, userId: USER, id: c.id });
+
+ const tools = await cand.installedCandidateTools(AGENT);
+ const name = c.bundle.tools.tools[0].name;
+ expect(tools.schemas.map((s) => s.function.name)).toEqual([name]);
+ const out = await tools.handlers[name]({ mint: 'M', network: 'solana', limit: 5, label: 'L', probe_sol: 0.1 });
+ expect(out.ok).toBe(true);
+ expect(out.data.steps.map((s) => s.tool)).toEqual(['token_info', 'token_holders', 'token_safety']);
+ expect(out.data.steps[1].result.args).toEqual({ mint: 'M', limit: 5, label: 'L' });
+ expect(await tools.handlers[name]({ mint: 'M' })).toMatchObject({ ok: false });
+ });
+
+ it('proposes a revision when a later run deviates and succeeds, and leaves the installed skill alone', async () => {
+ const c = (await cand.recordSkillCandidate({
+ agentId: AGENT, userId: USER, signal: 'multi_tool_turn', sourceRef: 'run:rev0', calls: RUN, finalAnswer: 'ok', goal: 'vet a token', complete: completeWith(PLAN),
+ })).candidate;
+ await cand.acceptCandidate({ agentId: AGENT, userId: USER, id: c.id });
+ const name = c.bundle.tools.tools[0].name;
+
+ const extendedPlan = { ...PLAN, step_notes: [...PLAN.step_notes, 'Pull the pump.fun curve state.'], param_descriptions: { ...PLAN.param_descriptions, slippage: 'Max slippage.' } };
+ const out = await cand.learnFromRun({
+ agentId: AGENT, userId: USER, runRef: 'rev1', goal: 'vet a token',
+ calls: [{ tool: name, args: {}, result: { ok: true } }, { tool: 'pump_curve', args: { mint: MINT, slippage: 100 } }],
+ finalAnswer: 'ok', complete: completeWith(extendedPlan),
+ });
+ expect(out.status).toBe('proposed');
+ const [row] = await rows();
+ expect(row.bundle.manifest.version).toBe('0.1.0');
+ expect(row.revisions).toHaveLength(1);
+ expect(row.revisions[0]).toMatchObject({ kind: 'extend', status: 'pending', from_version: '0.1.0', to_version: '0.1.1' });
+ expect(row.revisions[0].diff).toContain('pump_curve');
+ expect(JSON.stringify(row)).not.toContain(MINT);
+
+ const accepted = await cand.acceptRevision({ agentId: AGENT, userId: USER, id: c.id, revisionId: row.revisions[0].id });
+ expect(accepted.bundle.manifest.version).toBe('0.1.1');
+ expect(accepted.steps.map((s) => s.tool)).toEqual(['token_info', 'token_holders', 'token_safety', 'pump_curve']);
+ expect(accepted.revisions[0].status).toBe('accepted');
+ await expect(cand.acceptRevision({ agentId: AGENT, userId: USER, id: c.id, revisionId: row.revisions[0].id })).rejects.toMatchObject({ code: 'wrong_state' });
+ });
+
+ it('proposes nothing when the run followed the skill', async () => {
+ const c = (await cand.recordSkillCandidate({
+ agentId: AGENT, userId: USER, signal: 'multi_tool_turn', sourceRef: 'run:same', calls: RUN, finalAnswer: 'ok', goal: 'vet a token', complete: completeWith(PLAN),
+ })).candidate;
+ await cand.acceptCandidate({ agentId: AGENT, userId: USER, id: c.id });
+ const name = c.bundle.tools.tools[0].name;
+ const out = await cand.learnFromRun({
+ agentId: AGENT, userId: USER, runRef: 'same1', goal: 'vet', finalAnswer: 'ok', complete: completeWith(PLAN),
+ calls: [{ tool: name, args: {}, result: { ok: true } }, { tool: 'token_info', args: {} }],
+ });
+ expect(out.status).toBe('skipped');
+ expect((await rows())[0].revisions).toEqual([]);
+ });
+});
+
+describe('revision planning', () => {
+ const current = [{ tool: 'a', args: {} }, { tool: 'b', args: {} }, { tool: 'c', args: {} }];
+
+ it('extends with tools the skill did not have', () => {
+ const plan = bundleLib.planRevisionSteps({ currentSteps: current, observed: [{ tool: 'd', args: {} }], skillCallOk: true });
+ expect(plan.kind).toBe('extend');
+ expect(plan.steps.map((s) => s.tool)).toEqual(['a', 'b', 'c', 'd']);
+ });
+
+ it('repairs from the run that succeeded after the skill failed', () => {
+ const observed = [{ tool: 'a', args: {} }, { tool: 'x', args: {} }, { tool: 'c', args: {} }];
+ expect(bundleLib.planRevisionSteps({ currentSteps: current, observed, skillCallOk: false })).toMatchObject({ kind: 'repair' });
+ });
+
+ it('does nothing without a deviation', () => {
+ expect(bundleLib.planRevisionSteps({ currentSteps: current, observed: [{ tool: 'a', args: {} }], skillCallOk: true })).toBeNull();
+ expect(bundleLib.planRevisionSteps({ currentSteps: current, observed: current, skillCallOk: false })).toBeNull();
+ expect(bundleLib.planRevisionSteps({ currentSteps: current, observed: [], skillCallOk: true })).toBeNull();
+ });
+});
diff --git a/tests/x-archive.test.js b/tests/x-archive.test.js
index 61f8aa422..ea251707c 100644
--- a/tests/x-archive.test.js
+++ b/tests/x-archive.test.js
@@ -17,7 +17,7 @@ import {
percentile,
topicsOf,
} from '../scripts/x-archive-lib.mjs';
-import { baselineReturns, impactForPosts, priceAt, returnsAt, summarize } from '../api/_lib/x-content/price-impact.js';
+import { baselineReturns, buildImpactDocument, downsample, impactForPosts, priceAt, returnsAt, summarize } from '../api/_lib/x-content/price-impact.js';
const post = (over = {}) => ({
tweetId: over.tweetId || '1',
@@ -299,6 +299,29 @@ describe('price impact of a post', () => {
expect(rows[2].engagement).toBe(35);
});
+ it('thins the series to one point per bucket without losing the open, close or volume', () => {
+ const thin = downsample(rising.slice(0, 32), 4 * 3600);
+ expect(thin).toHaveLength(2);
+ expect(thin[0].o).toBe(100);
+ expect(thin[0].c).toBe(115);
+ expect(thin[0].v).toBe(16);
+ });
+
+ it('builds the chart document with only the posts that have a price', () => {
+ const doc = buildImpactDocument({
+ handle: 'trythreews',
+ posts: [post({ tweetId: 'a', postedAt: iso(start + 10 * 900) }), post({ tweetId: 'b', postedAt: iso(start - 86_400) })],
+ pool: 'pool1',
+ candles: rising,
+ now: Date.parse('2026-10-01T00:00:00Z'),
+ });
+ expect(doc.posts.map((p) => p.id)).toEqual(['a']);
+ expect(doc.summary.posts).toBe(2);
+ expect(doc.series.bars).toBe(400);
+ expect(doc.generatedAt).toBe('2026-10-01T00:00:00.000Z');
+ expect(doc.points.length).toBeGreaterThan(1);
+ });
+
it('summarizes against the baseline and counts what could not be measured', () => {
const rows = impactForPosts(
[post({ tweetId: 'a', postedAt: iso(start + 10 * 900) }), post({ tweetId: 'b', postedAt: iso(start - 86_400) })],
diff --git a/vercel.json b/vercel.json
index 424e0b8f0..1e32703e3 100644
--- a/vercel.json
+++ b/vercel.json
@@ -22,7 +22,7 @@
"api/cron/treasury-topup.js": {
"maxDuration": 120
},
- "{api/cron/economy-reconcile,api/cron/x402-ring-leak-scan,api/cron/x402-prepaid-settle,api/cron/quality-bench,api/cron/likeness-eval,api/cron/fact-check-benchmark,api/cron/marketplace-escrow-sweep}.js": {
+ "{api/cron/economy-reconcile,api/cron/x402-ring-leak-scan,api/cron/x402-prepaid-settle,api/cron/quality-bench,api/cron/likeness-eval,api/cron/fact-check-benchmark,api/cron/marketplace-escrow-sweep,api/cron/labor-escrow-sweep}.js": {
"maxDuration": 300
},
"{api/strategies,api/cron/payment-session-sweep,api/cron/three-market-refresh}.js": {
@@ -7055,6 +7055,10 @@
"path": "/api/cron/marketplace-escrow-sweep",
"schedule": "*/2 * * * *"
},
+ {
+ "path": "/api/cron/labor-escrow-sweep",
+ "schedule": "*/5 * * * *"
+ },
{
"path": "/api/cron/three-market-refresh",
"schedule": "* * * * *"
diff --git a/workers/robinhood-feed/README.md b/workers/robinhood-feed/README.md
index feac66990..cefa470a4 100644
--- a/workers/robinhood-feed/README.md
+++ b/workers/robinhood-feed/README.md
@@ -1,8 +1,9 @@
# robinhood-feed
The PumpPortal-equivalent for **Robinhood Chain** (mainnet chain ID 4663): a
-long-lived Node worker that watches NOXA + The Odyssey memecoin launchpads and
-their Uniswap v3 pools, normalizes every launch/trade/graduation into the same
+long-lived Node worker that watches The Odyssey plus every other launch venue
+observed on chain (Pons, Virtuals and more, discovered from ERC-20 mint logs)
+and their Uniswap pools, grades each deployer, normalizes every launch/trade/graduation into the same
shape three.ws's pump.fun consumers already understand, and serves it over
SSE + WebSocket + a REST snapshot. No mocks — every field comes from a real
on-chain read (RPC logs + the Arbitrum sequencer feed).
@@ -53,7 +54,10 @@ so a client bug cannot read as "this coin has never traded".
| `src/rpc.js` | `withRpcRetry`: the transient-failure classifier the bulk log reads run through. See "Public RPC behaviour" below. |
| `src/eth-price.js` | ETH/USD spot, 4-source failover (Coinbase → Kraken → CoinGecko → DefiLlama), cached ~60s — the ETH-gas-chain analogue of three.ws's `sol-price.js`. |
| `src/normalize.js` | **Pure** functions mapping decoded on-chain events to the pump-compatible shape. No chain reads — unit-tests directly against captured real logs (`tests/fixtures/`). |
-| `src/feed.js` | The orchestrator: composes the SDK's `watchLaunches`/`watchCurveTrades`/`watchGraduations` (NOXA + Odyssey via RPC logs), a dynamic Uniswap v3 `Swap` watcher over tracked pools (NOXA pools from block one, Odyssey pools post-graduation), and the sequencer feed as a liveness/gap watchdog. Backfills on cold start, gap-fills on a stalled watcher, dedupes cross-source. |
+| `src/feed.js` | The orchestrator: composes the SDK's `watchLaunches`/`watchCurveTrades`/`watchGraduations` (Odyssey via RPC logs), the mint-log venue watcher, a dynamic Uniswap v3 `Swap` watcher over tracked pools, the dev-sold sweep, and the sequencer feed as a liveness/gap watchdog. Backfills on cold start, gap-fills on a stalled watcher, dedupes cross-source. |
+| `src/venue-catalog.json`, `src/venues.js` | The launch venues observed on chain (51 contract and selector pairs), generated from the upstream `launch-relay` catalog by `scripts/build-venue-catalog.mjs` and verified read-only on chain. `venueForCall` maps a mint transaction's target and selector to a venue. |
+| `src/mints.js` | Venue discovery. An ERC-20 mints its supply with `Transfer(0x0, to, n)`; the contract the mint transaction called identifies the launchpad. Chunked `eth_getLogs` that bisects on the RPC's matched-log cap, ERC-721 and AMM-pair filtering. |
+| `src/reputation.js` | Deployer reputation and the dev-sold read: launch allocation from the receipt, current balance by multicall, an in-memory index of observed launches per creator, and the risk flags. |
| `src/server.js` | HTTP + WS server: `/healthz`, `/recent`, SSE `/events`, WebSocket `/ws`. Keeps a small replay buffer so a fresh subscriber sees recent history instead of a blank feed. |
Built entirely on `hoodchain` (`robinhood/robinhood-chain-sdk/`, published npm
@@ -74,22 +78,30 @@ Documented per the mission brief — fields map 1:1 where semantics align:
the *value* carried is the trade's
native-ETH magnitude, not SOL. A `quote_symbol` field (`'ETH'` or `'USDG'`)
always tells you which.
-- **Launchpads**: two exist, not one — **NOXA** (instant Uniswap v3 listing,
- one tx: deploy + pool + locked liquidity, no bonding curve) and **The
- Odyssey** (pump.fun-style ETH bonding curve; graduates via `PoolMigrated` to
- a locked Uniswap v3 pool). NOXA coins have no `graduation` event — they're
- tradeable via Uniswap swaps from block one, which this worker watches
- directly (`trade.source: 'uniswap-v3'` vs `'odyssey-curve'`).
- `launchpad` on every launch event tells you which.
+- **Launchpads**: many. NOXA shut down on 2026-07-13 and is no longer watched.
+ **The Odyssey** (pump.fun-style ETH bonding curve; graduates via
+ `PoolMigrated` to a locked Uniswap v3 pool) is watched through the SDK. Every
+ other venue is discovered from mint logs (`src/mints.js`) and named from
+ `src/venue-catalog.json`. `launchpad` is the venue id and `venue` carries
+ `{id, label, kind, address}`.
+- **Deployer reputation and dev-sold**: every launch carries `deployer`
+ (`prior_launches`, `prior_dev_exits`, `inspected`, `window_blocks`),
+ `dev_sold`, `dev_sold_pct` and `flags` (`dev_sold`, `prior_dev_exit`,
+ `serial_exit`, `serial_deployer`). The dev allocation is the tokens the
+ launch transaction sent to its sender; `dev_sold` is a current balance of
+ zero. A `prior_dev_exit` is a heuristic (a creator who sold out of an earlier
+ launch we saw), not a proven rug, and the history covers only the backfill
+ window (`RH_BACKFILL_BLOCKS`). A launch with no creator allocation reports
+ `null`, not false. A launch re-emits when dev-sold changes, replacing the
+ earlier record in `/recent`.
- **No off-chain metadata service**: pump.fun ships `image_uri`/description/
socials from its own API; Robinhood Chain launchpads don't expose an
equivalent yet, so `image_uri`/`description`/`twitter`/etc. are always `null`.
`name`/`symbol` ARE real — resolved on-chain via the ERC-20 `name()`/
`symbol()` calls.
- **`initial_buy_native`/`initial_buy_usd`** on a launch event are best-effort:
- the hoodchain SDK's high-level launch watchers don't carry NOXA's raw
- `initialBuyAmount` log field through their decoded `Launch` type, so these
- resolve to `null` rather than a fabricated figure when unavailable.
+ venue launches are found from the mint log and do not carry the buy amount,
+ so these resolve to `null` rather than a fabricated figure.
- **Sequencer feed vs RPC logs**: the Arbitrum Nitro sequencer feed
(`wss://feed.mainnet.chain.robinhood.com`) delivers every L2 transaction
~100–300ms before it's queryable over RPC, but decoding trade *semantics*
@@ -150,12 +162,11 @@ Both were measured live against mainnet, not inferred:
the SDK's own 10 000-block chunking in `getRecentLaunches` is well inside the
limit. The failures above are load, not range.
-The launchpads themselves idle for long stretches: at the time of writing the
-newest NOXA launch on mainnet is block 6 880 646 (2026-07-11), roughly 26.4 M
-blocks behind the head. A cold start with the default `RH_BACKFILL_BLOCKS`
-(200 000 blocks ≈ 5.5 h) therefore normally finds nothing and the replay buffer
-starts empty. That is the chain being quiet, not the worker being broken:
-`/healthz` still shows a live `feed.last_sequence` and `last_scanned_block`.
+The chain produces about 9.6 blocks a second, so the default
+`RH_BACKFILL_BLOCKS` (200 000 blocks) covers about 5.8 h; use 830 000 for 24 h.
+The backfill scans the whole window before it serves launches, because
+deployer history is built from it. `/healthz` shows `last_scanned_block`,
+`mint_cursor_block` and `indexed_deployers` while it runs.
`npm run smoke:live` proves the decode path end to end regardless, by finding
the newest launch that actually exists.
@@ -204,8 +215,10 @@ than assuming recent activity.
Unit tests (`tests/normalize.test.js`) run the pure normalizer against **real
on-chain logs**, captured live from Robinhood Chain mainnet during development
and committed as fixtures (`tests/fixtures/*.json`) — an Odyssey `Traded` log,
-a NOXA `TokenLaunched` log, an Odyssey `TokenCreated` log, and a Uniswap v3
-`Swap` log on the resulting pool. No mocks: every asserted value traces back to
+a historical NOXA `TokenLaunched` log, an Odyssey `TokenCreated` log, a Uniswap v3
+`Swap` log on the resulting pool, and one real launch per discovered venue
+(`tests/fixtures/venue-launches.json`, captured by
+`node scripts/capture-venue-fixtures.mjs`). No mocks: every asserted value traces back to
a real transaction hash. Captured with:
```js
@@ -285,10 +298,9 @@ Once deployed, set `ROBINHOOD_FEED_URL` on the three.ws API service (Cloud Run
a misleading `-32602` (see "Public RPC behaviour"). `withRpcRetry` absorbs
that, but under sustained load a paid provider is still the right answer:
point `RH_RPC_URL` at it and the public RPC stays behind it as a fallback.
-- **Launchpad activity is intermittent**: the newest NOXA launch as of
- 2026-08-11 is a month old (block 6 880 646, 2026-07-11). Nothing to fix, but
- do not read an empty `/recent` on a fresh deploy as a failure. Confirm with
- `npm run smoke:live`.
+- **Backfill is bounded by the public RPC**: a wide `RH_BACKFILL_BLOCKS` issues
+ many `eth_getLogs` calls and the public RPC answers 429 under sustained load.
+ Point `RH_RPC_URL` at a paid provider for a 24 h window.
---
diff --git a/workers/robinhood-feed/package.json b/workers/robinhood-feed/package.json
index ea1820210..ebdec65c4 100644
--- a/workers/robinhood-feed/package.json
+++ b/workers/robinhood-feed/package.json
@@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"type": "module",
- "description": "Normalized Robinhood Chain (4663) firehose — launches, trades and graduations from NOXA + The Odyssey + Uniswap v3, served over WS/SSE in the same shape three.ws pump.fun consumers expect.",
+ "description": "Normalized Robinhood Chain (4663) firehose \u2014 launches (with venue, deployer reputation and dev-sold flags), trades and graduations from The Odyssey, every venue observed on chain and Uniswap, served over WS/SSE in the same shape three.ws pump.fun consumers expect.",
"author": "nirholas (https://x.com/nichxbt)",
"license": "Apache-2.0",
"main": "index.js",
diff --git a/workers/robinhood-feed/src/config.js b/workers/robinhood-feed/src/config.js
index 80f4e5b1d..168096908 100644
--- a/workers/robinhood-feed/src/config.js
+++ b/workers/robinhood-feed/src/config.js
@@ -51,7 +51,7 @@ export const config = {
seenLimit: num(process.env.RH_SEEN_LIMIT, 4_000),
/** Replay-buffer depth per event kind (served to fresh subscribers). */
bufferLimit: num(process.env.RH_BUFFER_LIMIT, 40),
- /** Cap on live Uniswap pools we watch for post-graduation / NOXA swaps. */
+ /** Cap on live Uniswap pools we watch for post-graduation swaps. */
maxTrackedPools: num(process.env.RH_MAX_POOLS, 400),
/**
* If the chain head advances this many blocks past the highest block the RPC
diff --git a/workers/robinhood-feed/src/feed.js b/workers/robinhood-feed/src/feed.js
index 1eef8b1a7..66df3ed2d 100644
--- a/workers/robinhood-feed/src/feed.js
+++ b/workers/robinhood-feed/src/feed.js
@@ -21,7 +21,7 @@ import { config, CHAIN_ID, redactRpcUrl } from './config.js';
import { getMintLogs, parseMintLogs, launchesFromMints } from './mints.js';
import { createReputation, devAllocation, devStatus, riskFlags, readBalances } from './reputation.js';
import { hood, resolveMeta, inspectPool, blockTimeMs } from './chain.js';
-import { withRpcRetry } from './rpc.js';
+import { withRpcRetry, withRpcPatience } from './rpc.js';
import { ethPriceUsd } from './eth-price.js';
import {
normalizeLaunch, normalizeCurveTrade, normalizeUniswapSwap, normalizeGraduation,
@@ -222,13 +222,13 @@ export function startFirehose(onEvent) {
// ── mint watcher: launches on every catalogued venue ───────────────────────
const rpcView = {
- getTransaction: (hash) => withRpcRetry(() => hood.public.getTransaction({ hash })),
- readContract: (a) => hood.public.readContract(a),
+ getTransaction: (hash) => withRpcPatience(() => hood.public.getTransaction({ hash })),
+ readContract: (a) => withRpcPatience(() => hood.public.readContract(a)),
};
let mintCursor = 0n;
let mintPolling = false;
async function venueLaunchesBetween(from, to) {
- const logs = await retryLogs(() => getMintLogs((a) => hood.public.request(a), from, to), 'mint-scan');
+ const logs = await getMintLogs((a) => withRpcRetry(() => hood.public.request(a)), from, to);
return launchesFromMints(rpcView, parseMintLogs(logs));
}
async function pollMints() {
diff --git a/workers/robinhood-feed/src/mints.js b/workers/robinhood-feed/src/mints.js
index 357834dbe..2b4022906 100644
--- a/workers/robinhood-feed/src/mints.js
+++ b/workers/robinhood-feed/src/mints.js
@@ -5,6 +5,7 @@
import { parseAbi } from 'viem';
import { venueForCall } from './venues.js';
+import { rateLimitWaitMs, isTransientRpcError } from './rpc.js';
export const TRANSFER_TOPIC = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef';
const ZERO_TOPIC = `0x${'0'.repeat(64)}`;
@@ -55,11 +56,14 @@ export function launchFromMint(mint, tx) {
/**
* Every Transfer-from-zero log in [from, to]. A range that trips the RPC's
* matched-log cap is split in half rather than skipped, because dropping it
- * would silently under-count exactly the busiest stretches.
+ * would silently under-count exactly the busiest stretches. A rate-limited
+ * range waits out the provider's reset window and is retried, so a wide
+ * backfill on the public RPC slows down instead of aborting.
*
* @param {(args: {method: string, params: unknown[]}) => Promise<any>} request viem `client.request`
*/
-export async function getMintLogs(request, from, to, { chunk = 4_000n } = {}) {
+export async function getMintLogs(request, from, to, { chunk = 4_000n, maxRateLimitWaits = 20, sleep = (ms) => new Promise((r) => setTimeout(r, ms)) } = {}) {
+ let waits = 0;
const out = [];
const queue = [[BigInt(from), BigInt(to)]];
while (queue.length) {
@@ -77,6 +81,13 @@ export async function getMintLogs(request, from, to, { chunk = 4_000n } = {}) {
params: [{ topics: [TRANSFER_TOPIC, ZERO_TOPIC], fromBlock: toHex(start), toBlock: toHex(end) }],
});
} catch (err) {
+ const waitMs = rateLimitWaitMs(err);
+ if (waitMs !== null && waits < maxRateLimitWaits) {
+ waits += 1;
+ await sleep(waitMs);
+ queue.unshift([start, end]);
+ continue;
+ }
if (isTooManyLogs(err) && span > 1n) {
const mid = start + span / 2n;
queue.unshift([start, mid - 1n], [mid, end]);
@@ -94,7 +105,10 @@ export async function isPoolToken(readContract, address) {
try {
await readContract({ address, abi: poolAbi, functionName: 'token0' });
return true;
- } catch {
+ } catch (err) {
+ // A revert means "not a pair". A transport failure says nothing about the
+ // address, so it must not be read as an answer.
+ if (isTransientRpcError(err)) throw err;
return false;
}
}
@@ -111,7 +125,7 @@ export async function isPoolToken(readContract, address) {
export async function launchesFromMints(rpc, mints, { concurrency = 8 } = {}) {
const txs = new Map(); // hash → Promise<tx|null>
const txFor = (hash) => {
- if (!txs.has(hash)) txs.set(hash, Promise.resolve(rpc.getTransaction(hash)).catch(() => null));
+ if (!txs.has(hash)) txs.set(hash, Promise.resolve(rpc.getTransaction(hash)));
return txs.get(hash);
};
const out = new Array(mints.length).fill(null);
diff --git a/workers/robinhood-feed/src/normalize.js b/workers/robinhood-feed/src/normalize.js
index c75858d10..b6f89c98d 100644
--- a/workers/robinhood-feed/src/normalize.js
+++ b/workers/robinhood-feed/src/normalize.js
@@ -128,7 +128,7 @@ export function normalizeCurveTrade({ trade, name = null, symbol = null, ethUsd
}
/**
- * A Uniswap v3 `Swap` on a tracked pool (NOXA pools from block one; Odyssey
+ * A Uniswap v3 `Swap` on a tracked pool (venue pools from block one; Odyssey
* pools post-graduation). `coinIsToken0` + `quoteDecimals` come from a one-time
* pool inspection in the orchestrator.
*/
diff --git a/workers/robinhood-feed/src/rpc.js b/workers/robinhood-feed/src/rpc.js
index fbceeebdf..8c51ef8a1 100644
--- a/workers/robinhood-feed/src/rpc.js
+++ b/workers/robinhood-feed/src/rpc.js
@@ -60,3 +60,35 @@ export async function withRpcRetry(fn, { attempts = 4, baseDelayMs = 300, onRetr
}
throw lastError;
}
+
+/**
+ * Milliseconds the provider asked us to wait ("limit will reset in 60 seconds"),
+ * or null when the error is not a rate limit. A backoff of a couple of seconds
+ * cannot outlast that window, so bulk scans wait it out instead of aborting.
+ */
+export function rateLimitWaitMs(err) {
+ for (let e = err, depth = 0; e && depth < 4; e = e.cause, depth++) {
+ const text = String(e.message || '');
+ if (e.code !== 429 && e.status !== 429 && !/rate limit/i.test(text)) continue;
+ const secs = Number(/reset in (\d+)\s*s/i.exec(text)?.[1]);
+ return Math.min(Number.isFinite(secs) && secs > 0 ? secs : 10, 65) * 1000;
+ }
+ return null;
+}
+
+/**
+ * withRpcRetry plus waiting out a provider rate limit. For reads that must not
+ * be silently dropped (a launch whose transaction could not be fetched would
+ * otherwise vanish from the board).
+ */
+export async function withRpcPatience(fn, { maxRateLimitWaits = 20, sleep: wait = sleep, ...retryOpts } = {}) {
+ for (let waits = 0; ; waits++) {
+ try {
+ return await withRpcRetry(fn, retryOpts);
+ } catch (err) {
+ const ms = rateLimitWaitMs(err);
+ if (ms === null || waits >= maxRateLimitWaits) throw err;
+ await wait(ms);
+ }
+ }
+}
diff --git a/workers/robinhood-feed/src/server.js b/workers/robinhood-feed/src/server.js
index e4f9e846d..5b1e690bb 100644
--- a/workers/robinhood-feed/src/server.js
+++ b/workers/robinhood-feed/src/server.js
@@ -150,7 +150,7 @@ function statusPage() {
<style>body{background:#0b0d10;color:#e6e8eb;font:14px/1.6 ui-monospace,monospace;margin:0;padding:40px;max-width:720px}
h1{font-size:18px;color:#5fd08a}a{color:#7aa2f7}code{background:#161a1f;padding:2px 6px;border-radius:4px}</style></head>
<body><h1>robinhood-feed · Robinhood Chain firehose</h1>
-<p>Normalized launches, trades and graduations from NOXA + The Odyssey + Uniswap v3.</p>
+<p>Normalized launches, trades and graduations from every observed venue + The Odyssey + Uniswap.</p>
<ul>
<li><a href="/healthz">/healthz</a> — status JSON</li>
<li><a href="/recent">/recent</a> — replay-buffer snapshot (<code>?kind=trade&amp;limit=20</code>)</li>
diff --git a/workers/robinhood-feed/tests/fixtures/venue-launches.json b/workers/robinhood-feed/tests/fixtures/venue-launches.json
new file mode 100644
index 000000000..b735ee050
--- /dev/null
+++ b/workers/robinhood-feed/tests/fixtures/venue-launches.json
@@ -0,0 +1,1270 @@
+{
+ "captured_at_block": "96265811",
+ "window_blocks": "60000",
+ "launches": [
+ {
+ "venue": "pons-v2-launch-token",
+ "mintLog": {
+ "address": "0xbc1c983f77c12fe7f13fe7cff6228caed827ad2f",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x0000000000000000000000003d7d756313cc7537fd0dc670ace562803df20bd2"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "blockNumber": "0x5bce338",
+ "transactionHash": "0xa867e4b095a7b1b249807e0d9bab6ca092686a9d11e835eccdeb477141b35ef6",
+ "transactionIndex": "0x2",
+ "blockHash": "0xce62dfa4e557899483bd3a290bff3c30b6018a1506b70b7dfae174b5d86fb9df",
+ "blockTimestamp": "0x0",
+ "logIndex": "0x2",
+ "removed": false
+ },
+ "tx": {
+ "hash": "0xa867e4b095a7b1b249807e0d9bab6ca092686a9d11e835eccdeb477141b35ef6",
+ "from": "0x9d5fcb4eb3191f0bbe11874d45892fdb29c6c2e8",
+ "to": "0x7ed598bcef8bd9edd8c97a195c6d13f40801ec7e",
+ "input": "0xa72101af000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005fc5360d0400a0fd4f2af552add042d716f1d16800000000000000000000000000000000000000000000000000000000000004600000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002200000000000000000000000009d5fcb4eb3191f0bbe11874d45892fdb29c6c2e80000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d6c0a4db9a31bca006af6b27e277ad5e17612612b018d040fd5aa43457a127d0000000000000000000000000000000000000000000000000000000000000005526f62696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005526f62696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b68747470733a2f2f6a376d2e696f2f6d2f6a69537145716b6c6e310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000003668747470733a2f2f782e636f6d2f53756e74696d65732f7374617475732f323131333734383736393438393434313237353f733d32300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003668747470733a2f2f782e636f6d2f53756e74696d65732f7374617475732f323131333734383736393438393434313237353f733d32300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "blockNumber": "96265016"
+ },
+ "transferLogs": [
+ {
+ "address": "0xbc1c983f77c12fe7f13fe7cff6228caed827ad2f",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x0000000000000000000000003d7d756313cc7537fd0dc670ace562803df20bd2"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "logIndex": 2
+ }
+ ]
+ },
+ {
+ "venue": "rhc-26605f32",
+ "mintLog": {
+ "address": "0x407a3b7fd8cb8876767c856f687d4f92b1f07777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x00000000000000000000000026605f322f7ff986f381bb9a6e3f5dab0beaeb09"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "blockNumber": "0x5bce2c1",
+ "transactionHash": "0x822f9c8d1b4581d8b526b462a856e060f116a54ffeb6f87d916ebe1ca02af4c0",
+ "transactionIndex": "0x1",
+ "blockHash": "0xd92c0da40bbb76b11c9a72173b1b234c87c2c1b4a76225c84bcb77f120aa1be9",
+ "blockTimestamp": "0x0",
+ "logIndex": "0x7",
+ "removed": false
+ },
+ "tx": {
+ "hash": "0x822f9c8d1b4581d8b526b462a856e060f116a54ffeb6f87d916ebe1ca02af4c0",
+ "from": "0xba99a63b9ab6033451b21666851b8070af73cbe8",
+ "to": "0x26605f322f7ff986f381bb9a6e3f5dab0beaeb09",
+ "input": "0x8cb5772c00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000003c00000000000000000000000000000000000000000000000000000000000000001febd00396640d477eb811a0067f7a0bdc2224243fe6f282bac802aa3d6c5f715000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008bb2c970000000000000000000000000004869022ded8178ad686c44d20114d428780ba69e0000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000bbf81e000000000000000000000000000000000000000000000000000000000000278d0000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000f446563697369766520426174746c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024442000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003b6261666b7265696674686733326e7779733771737a7561763567757a7535737263646c73376d786a647033696c6567716865666878696972717934000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "blockNumber": "96264897"
+ },
+ "transferLogs": [
+ {
+ "address": "0x407a3b7fd8cb8876767c856f687d4f92b1f07777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x00000000000000000000000026605f322f7ff986f381bb9a6e3f5dab0beaeb09"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "logIndex": 7
+ },
+ {
+ "address": "0x407a3b7fd8cb8876767c856f687d4f92b1f07777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x00000000000000000000000026605f322f7ff986f381bb9a6e3f5dab0beaeb09",
+ "0x000000000000000000000000ba99a63b9ab6033451b21666851b8070af73cbe8"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000010b32aa268cba828d1",
+ "logIndex": 31
+ },
+ {
+ "address": "0x0bd7d308f8e1639fab988df18a8011f41eacad73",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x00000000000000000000000026605f322f7ff986f381bb9a6e3f5dab0beaeb09"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000000000000000df8475800",
+ "logIndex": 36
+ },
+ {
+ "address": "0x0bd7d308f8e1639fab988df18a8011f41eacad73",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x00000000000000000000000026605f322f7ff986f381bb9a6e3f5dab0beaeb09",
+ "0x000000000000000000000000c3f2e186659f1ac5c8493e34ff51aed9bbc053b4"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000000000000000df8475800",
+ "logIndex": 39
+ }
+ ]
+ },
+ {
+ "venue": "rhc-1cbaf24d",
+ "mintLog": {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "blockNumber": "0x5bcda5c",
+ "transactionHash": "0x851d57e7fbee700215d00de5fe1e2fbd74924857afd3d0d1cdba2eb3ecc78fd0",
+ "transactionIndex": "0x3",
+ "blockHash": "0x73a93bdceafe292bcbe460d70c4d1a09cd88f4806e237e5d44564ce2484ae493",
+ "blockTimestamp": "0x0",
+ "logIndex": "0x3",
+ "removed": false
+ },
+ "tx": {
+ "hash": "0x851d57e7fbee700215d00de5fe1e2fbd74924857afd3d0d1cdba2eb3ecc78fd0",
+ "from": "0x36bb16dd767044f0e77edcb8b5a15c10b768eab3",
+ "to": "0x1cbaf24d53fe930fce8eff149fa797d2611da149",
+ "input": "0x7422a284000000000000000000000000000000000000000000000000000000000000006045659cfff2accad11aa816ac1cff6cbf35fc2c2307239949af5113f8315a17630000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000000296d6101e08060405234610f92576124ed803803809161001d8285610f96565b83398101906101c081830312610f925780516001600160401b038111610f925782610049918301610fb9565b60208201516001600160401b038111610f925783610068918401610fb9565b60408301519092906001600160401b038111610f92578461008a918301610fb9565b60608201519091906001600160401b038111610f9257856100ac918301610fb9565b60808201519092906001600160401b038111610f925782019260a084880312610f92576040519160a083016001600160401b0381118482101761082d5760405284516001600160401b038111610f925788610108918701610fb9565b835260208501516001600160401b038111610f925788610129918701610fb9565b6020840190815260408601519094906001600160401b038111610f925789610152918801610fb9565b6040850190815260608701519096906001600160401b038111610f92578a61017b918301610fb9565b606086019081526080820151909a906001600160401b038111610f92576101a29201610fb9565b97608085019889526101b660a0830161100e565b6101c260c0840161100e565b986101cf60e0850161100e565b6101dc610100860161100e565b6101208601519162ffffff83168303610f92576101408701519c6102036101608901611022565b966101a06102146101808b01611022565b9901519563ffffffff8716809703610f92578051906001600160401b03821161082d5760035490600182811c92168015610f88575b602083101461080f5781601f849311610f1a575b50602090601f8311600114610eb4575f92610ea9575b50508160011b915f199060031b1c1916176003555b8051906001600160401b03821161082d5760045490600182811c92168015610e9f575b602083101461080f5781601f849311610e31575b50602090601f8311600114610dcb575f92610dc0575b50508160011b915f199060031b1c1916176004555b6001600160a01b038616158015610daf575b8015610d9e575b8015610d8d575b610d7e57610337956080523360a05260c05260e05261010052610120524361014052806101605243611031565b610180526101a0526101c0528051906001600160401b03821161082d5760055490600182811c92168015610d74575b602083101461080f5781601f849311610d23575b50602090601f8311600114610cbd575f92610cb2575b50508160011b915f199060031b1c1916176005555b8051906001600160401b03821161082d5760065490600182811c92168015610ca8575b602083101461080f5781601f849311610c3a575b50602090601f8311600114610bd4575f92610bc9575b50508160011b915f199060031b1c1916176006555b518051906001600160401b03821161082d5760075490600182811c92168015610bbf575b602083101461080f5781601f849311610b51575b50602090601f8311600114610aeb575f92610ae0575b50508160011b915f199060031b1c1916176007555b518051906001600160401b03821161082d5760085490600182811c92168015610ad6575b602083101461080f5781601f849311610a68575b50602090601f8311600114610a02575f926109f7575b50508160011b915f199060031b1c1916176008555b5180519093906001600160401b03811161082d57600954600181811c911680156109ed575b602082101461080f57601f811161098a575b50602094601f8211600114610927579481929394955f9261091c575b50508160011b915f199060031b1c1916176009555b5180519092906001600160401b03811161082d57600a54600181811c91168015610912575b602082101461080f57601f81116108af575b506020601f821160011461084c57819293945f92610841575b50508160011b915f199060031b1c191617600a555b5180519091906001600160401b03811161082d57600b54600181811c91168015610823575b602082101461080f57601f81116107ac575b50602092601f821160011461074b57928192935f92610740575b50508160011b915f199060031b1c191617600b555b331561072d575f61061382600254611031565b60025533917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602090846107185780600254036002555b604051908152a360405161149a9081611053823960805181818161024b015261038e015260a0518181816105ec0152610753015260c05181818161030201528181610ed101526112f7015260e0518161058a01526101005181818161079601528181610e6d01526112b20152610120518181816109b20152610e980152610140518181816102860152611065015261016051816102c00152610180518181816109ed015261119f01526101a0518181816108f10152610f7001526101c05181818161017d0152610fa80152f35b845f525f825260405f2081815401905561064b565b63ec442f0560e01b5f525f60045260245ffd5b015190505f806105eb565b601f19821693600b5f52805f20915f5b868110610794575083600195961061077c575b505050811b01600b55610600565b01515f1960f88460031b161c191690555f808061076e565b9192602060018192868501518155019401920161075b565b600b5f527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9601f830160051c81019160208410610805575b601f0160051c01905b8181106107fa57506105d1565b5f81556001016107ed565b90915081906107e4565b634e487b7160e01b5f52602260045260245ffd5b90607f16906105bf565b634e487b7160e01b5f52604160045260245ffd5b015190505f80610585565b601f19821690600a5f52805f20915f5b8181106108975750958360019596971061087f575b505050811b01600a5561059a565b01515f1960f88460031b161c191690555f8080610871565b9192602060018192868b01518155019401920161085c565b600a5f527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8601f830160051c81019160208410610908575b601f0160051c01905b8181106108fd575061056c565b5f81556001016108f0565b90915081906108e7565b90607f169061055a565b015190505f80610520565b601f1982169560095f52805f20915f5b8881106109725750836001959697981061095a575b505050811b01600955610535565b01515f1960f88460031b161c191690555f808061094c565b91926020600181928685015181550194019201610937565b60095f527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af601f830160051c810191602084106109e3575b601f0160051c01905b8181106109d85750610504565b5f81556001016109cb565b90915081906109c2565b90607f16906104f2565b015190505f806104b8565b60085f9081528281209350601f198516905b818110610a505750908460019594939210610a38575b505050811b016008556104cd565b01515f1960f88460031b161c191690555f8080610a2a565b92936020600181928786015181550195019301610a14565b60085f529091507ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee3601f840160051c81019160208510610acc575b90601f859493920160051c01905b818110610abe57506104a2565b5f8155849350600101610ab1565b9091508190610aa3565b91607f169161048e565b015190505f80610455565b60075f9081528281209350601f198516905b818110610b395750908460019594939210610b21575b505050811b0160075561046a565b01515f1960f88460031b161c191690555f8080610b13565b92936020600181928786015181550195019301610afd565b60075f529091507fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688601f840160051c81019160208510610bb5575b90601f859493920160051c01905b818110610ba7575061043f565b5f8155849350600101610b9a565b9091508190610b8c565b91607f169161042b565b015190505f806103f2565b60065f9081528281209350601f198516905b818110610c225750908460019594939210610c0a575b505050811b01600655610407565b01515f1960f88460031b161c191690555f8080610bfc565b92936020600181928786015181550195019301610be6565b60065f529091507ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f601f840160051c81019160208510610c9e575b90601f859493920160051c01905b818110610c9057506103dc565b5f8155849350600101610c83565b9091508190610c75565b91607f16916103c8565b015190505f80610390565b60055f9081528281209350601f198516905b818110610d0b5750908460019594939210610cf3575b505050811b016005556103a5565b01515f1960f88460031b161c191690555f8080610ce5565b92936020600181928786015181550195019301610ccf565b90915060055f5260205f20601f840160051c81019160208510610d6a575b90601f859493920160051c01905b818110610d5c575061037a565b5f8155849350600101610d4f565b9091508190610d41565b91607f1691610366565b63d92e233d60e01b5f5260045ffd5b506001600160a01b0383161561030a565b506001600160a01b03821615610303565b506001600160a01b038116156102fc565b015190505f806102d5565b60045f9081528281209350601f198516905b818110610e195750908460019594939210610e01575b505050811b016004556102ea565b01515f1960f88460031b161c191690555f8080610df3565b92936020600181928786015181550195019301610ddd565b60045f529091507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c81019160208510610e95575b90601f859493920160051c01905b818110610e8757506102bf565b5f8155849350600101610e7a565b9091508190610e6c565b91607f16916102ab565b015190505f80610273565b60035f9081528281209350601f198516905b818110610f025750908460019594939210610eea575b505050811b01600355610288565b01515f1960f88460031b161c191690555f8080610edc565b92936020600181928786015181550195019301610ec6565b60035f529091507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c81019160208510610f7e575b90601f859493920160051c01905b818110610f70575061025d565b5f8155849350600101610f63565b9091508190610f55565b91607f1691610249565b5f80fd5b601f909101601f19168101906001600160401b0382119082101761082d57604052565b81601f82011215610f92578051906001600160401b03821161082d5760405192610fed601f8401601f191660200185610f96565b82845260208383010111610f9257815f9260208093018386015e8301015290565b51906001600160a01b0382168203610f9257565b519061ffff82168203610f9257565b9190820180921161103e57565b634e487b7160e01b5f52601160045260245ffdfe60806040526004361015610011575f80fd5b5f3560e01c806306fdde0314610a105780630861ac61146109d6578063089fe6aa14610997578063095ea7b31461091557806312f16a07146108d757806318160ddd146108ba57806323b872dd146107d5578063313ce567146107ba5780633de35b7914610777578063536dac9b1461073457806353cd512a146106a8578063665a11ca1461067d57806366a88d961461043c57806370a082311461064657806370bffe1b146105c95780637284e416146105ae578063791b98bc1461056b5780638036d590146105665780638c0b5e221461056657806395d89b4114610472578063a9059cbb14610441578063aa4bde281461043c578063abb1dc4414610326578063b8d8fbb4146102e3578063baed0765146102a9578063d00efb2f1461026f578063d5f394881461022c578063dd62ed3e146101d8578063fb7f21eb146101a55763ff8ea3e514610163575f80fd5b346101a1575f3660031901126101a157602060405161ffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b5f80fd5b346101a1575f3660031901126101a1576101d46101c0610c5d565b604051918291602083526020830190610acb565b0390f35b346101a15760403660031901126101a1576101f1610aef565b6001600160a01b03610201610b05565b91165f5260016020526001600160a01b0360405f2091165f52602052602060405f2054604051908152f35b346101a1575f3660031901126101a15760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b346101a1575f3660031901126101a15760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b346101a1575f3660031901126101a15760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b346101a1575f3660031901126101a15760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b346101a1575f3660031901126101a1576060608060405161034681610b3d565b828152826020820152826040820152828082015201526103c1610367610c5d565b6101d4610372610b8f565b6103cf61037d610dd9565b916040519586956001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168752608060208801526080870190610acb565b908582036040870152610acb565b8381036060850152608061042b6104196104076103f5865160a0875260a0870190610acb565b60208701518682036020880152610acb565b60408601518582036040870152610acb565b60608501518482036060860152610acb565b920151906080818403910152610acb565b610b1b565b346101a15760403660031901126101a15761046761045d610aef565b6024359033610fce565b602060405160018152f35b346101a1575f3660031901126101a1576040515f6004548060011c9060018116801561055c575b6020831081146105485782855290811561052457506001146104c6575b6101d4836101c081850382610b6d565b60045f9081527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b939250905b80821061050a575090915081016020016101c06104b6565b9192600181602092548385880101520191019092916104f2565b60ff191660208086019190915291151560051b840190910191506101c090506104b6565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610499565b610dbf565b346101a1575f3660031901126101a15760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b346101a1575f3660031901126101a1576101d46101c0610b8f565b346101a15760203660031901126101a1576105e2610aef565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163303610637576001600160a01b03166bffffffffffffffffffffffff60a01b600c541617600c555f80f35b639f5f2caf60e01b5f5260045ffd5b346101a15760203660031901126101a1576001600160a01b03610667610aef565b165f525f602052602060405f2054604051908152f35b346101a1575f3660031901126101a1576020610697610e50565b6001600160a01b0360405191168152f35b346101a1575f3660031901126101a1576106fc6106c3610dd9565b6101d4815191610726602082015191610718604082015161070a6080606085015194015195604051998a9960a08b5260a08b0190610acb565b9089820360208b0152610acb565b908782036040890152610acb565b908582036060870152610acb565b908382036080850152610acb565b346101a1575f3660031901126101a15760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b346101a1575f3660031901126101a15760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b346101a1575f3660031901126101a157602060405160128152f35b346101a15760603660031901126101a1576107ee610aef565b6107f6610b05565b604435906001600160a01b03831692835f52600160205260405f206001600160a01b0333165f5260205260405f20545f198110610839575b506104679350610fce565b83811061089f57841561088c57331561087957610467945f52600160205260405f206001600160a01b0333165f526020528360405f20910390558461082e565b634a1406b160e11b5f525f60045260245ffd5b63e602df0560e01b5f525f60045260245ffd5b8390637dc7a0d960e11b5f523360045260245260445260645ffd5b346101a1575f3660031901126101a1576020600254604051908152f35b346101a1575f3660031901126101a157602060405161ffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b346101a15760403660031901126101a15761092e610aef565b60243590331561088c576001600160a01b031690811561087957335f52600160205260405f20825f526020528060405f20556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b346101a1575f3660031901126101a157602060405162ffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b346101a1575f3660031901126101a15760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b346101a1575f3660031901126101a1576040515f6003548060011c90600181168015610ac1575b602083108114610548578285529081156105245750600114610a63576101d4836101c081850382610b6d565b60035f9081527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b939250905b808210610aa7575090915081016020016101c06104b6565b919260018160209254838588010152019101909291610a8f565b91607f1691610a37565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036101a157565b602435906001600160a01b03821682036101a157565b346101a1575f3660031901126101a1576020610b35610f62565b604051908152f35b60a0810190811067ffffffffffffffff821117610b5957604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff821117610b5957604052565b604051905f6006548060011c9160018216918215610c53575b602084108314610548578386528592908115610c345750600114610bd5575b610bd392500383610b6d565b565b5060065f90815290917ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f5b818310610c18575050906020610bd392820101610bc7565b6020919350806001915483858901015201910190918492610c00565b60209250610bd394915060ff191682840152151560051b820101610bc7565b92607f1692610ba8565b604051905f6005548060011c9160018216918215610cff575b602084108314610548578386528592908115610c345750600114610ca057610bd392500383610b6d565b5060055f90815290917f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db05b818310610ce3575050906020610bd392820101610bc7565b6020919350806001915483858901015201910190918492610ccb565b92607f1692610c76565b90604051915f8154908160011c9260018316928315610db5575b602085108414610548578487528693908115610d935750600114610d4f575b50610bd392500383610b6d565b90505f9291925260205f20905f915b818310610d77575050906020610bd3928201015f610d42565b6020919350806001915483858901015201910190918492610d5e565b905060209250610bd394915060ff191682840152151560051b8201015f610d42565b93607f1693610d23565b346101a1575f3660031901126101a1576020610b35610f9a565b60405190610de682610b3d565b81610df16007610d09565b8152610dfd6008610d09565b6020820152610e0c6009610d09565b6040820152610e1b600a610d09565b60608201526080610e2c600b610d09565b910152565b908160209103126101a157516001600160a01b03811681036101a15790565b604051630b4c774160e11b81523060048201526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016602482015262ffffff7f0000000000000000000000000000000000000000000000000000000000000000166044820152602081806064810103816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa908115610f30575f91610f04575090565b610f26915060203d602011610f29575b610f1e8183610b6d565b810190610e31565b90565b503d610f14565b6040513d5f823e3d90fd5b81810292918115918404141715610f4e57565b634e487b7160e01b5f52601160045260245ffd5b612710610f9660025461ffff7f00000000000000000000000000000000000000000000000000000000000000001690610f3b565b0490565b612710610f9660025461ffff7f00000000000000000000000000000000000000000000000000000000000000001690610f3b565b91906001600160a01b0383161561100a576001600160a01b03811615610ff757610bd39261102a565b63ec442f0560e01b5f525f60045260245ffd5b634b637e8f60e11b5f525f60045260245ffd5b91908201809211610f4e57565b9291906001600160a01b0384161515806111c6575b8061119c575b611054575b610bd3929361137e565b61105d846111d8565b1561104a57437f0000000000000000000000000000000000000000000000000000000000000000148080611188575b8061116b575b1580918192611163575b50611147571561104a576110ae610f62565b936001600160a01b03821694855f525f6020526110cf8460405f205461101d565b81811161112e575050845f52600d6020526110ee8360405f205461101d565b6110f6610f9a565b95868211611113575f908152600d6020526040902055935061104a565b8692506334e5f8b760e21b5f5260045260245260445260645ffd5b866304a43e8b60e51b5f5260045260245260445260645ffd5b6001600160a01b03826385234f9760e01b5f521660045260245ffd5b90505f61109c565b506001600160a01b03600c54166001600160a01b03831614611092565b506001600160a01b03600c5416151561108c565b507f0000000000000000000000000000000000000000000000000000000000000000431115611045565b506001600160a01b038116151561103f565b6001600160a01b036111e8610e50565b16906001600160a01b038116918083149081611374575b5061136d57803b15611354575f8091604051602081019063ddca3f4360e01b82526004815261122f602482610b6d565b51915afa3d15611365573d9067ffffffffffffffff8211610b595760405191611262601f8201601f191660200184610b6d565b82523d5f602084013e5b15801561135a575b611354576020818051810103126101a1576020015162ffffff811681036101a157604051630b4c774160e11b81523060048201526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016602482015262ffffff9091166044820152602081806064810103816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa8015610f30576001600160a01b03915f91611335575b50161490565b61134e915060203d602011610f2957610f1e8183610b6d565b5f61132f565b50505f90565b506020815110611274565b60609061126c565b5050600190565b905015155f6111ff565b6001600160a01b031690816113f75760206001600160a01b037fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef926113c58660025461101d565b6002555b1693846113e25780600254036002555b604051908152a3565b845f525f825260405f208181540190556113d9565b815f525f60205260405f2054838110611449576001600160a01b037fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9285602093865f525f85520360405f20556113c9565b91905063391434e360e21b5f5260045260245260445260645ffdfea26469706673582212203f1d2fa3e19d1d89bade58a44f6db2c1ebac15f3572a67685f0669925cfd9a4864736f6c634300081e003300000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000036bb16dd767044f0e77edcb8b5a15c10b768eab30000000000000000000000001f7d7550b1b028f7571e69a784071f0205fd2efa00000000000000000000000073991a25c818bf1f1128deaab1492d45638de0d30000000000000000000000000bd7d308f8e1639fab988df18a8011f41eacad7300000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000033b2e3c9fd0803ce800000000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000127465726d696e616c206f66207472757468730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000554525554480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d58486d63616533545a6731466d76675458795a5a50556632557a736141696777635465566372386a5a6945520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f782e636f6d2f74727574685f7465726d696e616c3f733d31310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003268747470733a2f2f6769746875622e636f6d2f76697274756f75732d6379636c65732f776f726c642d696e746572666163650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000013000000000000000000000000000000000000000000000000000000000000001d4000000000000000000000000000000000000000000000000000000000000000490000000000000000000000000122ddd03c93ea73303ded8f5644a869f96a4c2300000000000000000000000001572b54b2f7b282a24983ec6fbc7bdc2bc12891000000000000000000000000e12d9aaa8ab727cb785c142146cdd2e62bffd5920000000000000000000000009382400d6841854d68d20cf6911f840ca48fb895000000000000000000000000b6400ddb58665a3c4593a006bdd210596ef4dafb0000000000000000000000008526911a5b630a9a57a823bbed7b93aa0fed6308000000000000000000000000fc7270bf64a69cc5b5ecc54b2dab9943012c03730000000000000000000000008d5dda57d6bb54d9a02676a68685b45c2651375a000000000000000000000000fc8c30c52ec05448ec3d095cb282c008b928eafd0000000000000000000000007cd90085895b166cd89ac4eb1554b3249ba4cd6100000000000000000000000009f29b747f2a9dd2d29ae5a0124b71c6a98822930000000000000000000000005fbc367a23619189df31fcab7d5d57d1714c828d000000000000000000000000e3b40ac2c0996fcf7112d8bca570e7aa05b524d10000000000000000000000009b669512816df688765de92f7abf7e3a8a4f01d7000000000000000000000000801a8102401ec1805f2077d187977152fe984c97000000000000000000000000f10074941dc73bdaa5339eb0f7440d5015581a6f000000000000000000000000ffa06e4d3b05f31372182c9d2fb1e85bac18a120000000000000000000000000440422136d352f0fcebceb437e97896b79a9000200000000000000000000000044af042791821ff39236f4c3d2a7a5145c06ce8f0000000000000000000000005f06ea0ea211f03b2c816ecc9aeebc34aabda16a0000000000000000000000002d0d2591ddce850b5199978e17fd094936695952000000000000000000000000af4853e43eb1e6ac9240357cd524180ed89533e7000000000000000000000000864dfa931a31c181d533860a209e70f575de37620000000000000000000000009a6196df1edc4280ef1514c2a2f519071bfc4abd000000000000000000000000a874d84bc7ce1cd3132b3ce67ff0933243e769790000000000000000000000007487671f76e4d0a02af645176aa6b5f73384ac0c0000000000000000000000002b359082bc3ca9cc978d14cf6b82612e1f1680080000000000000000000000004209bdbe68f40ee17ae22dff60932726b509a27200000000000000000000000011b2f36df099bab1fb47d17c5dc6f7ae594d433f000000000000000000000000a3b1b2e3131db30b68a5656b3bede9a78b97591a0000000000000000000000003cb2817ec9509f0db4c88f44bc7356a3dd6ec4430000000000000000000000006054918212deb5c2a663054a1ac6095a47a0ec5e0000000000000000000000008e397549abb8fd5fb362becf8f41e3743a8d8baf000000000000000000000000d0f66710711233f9ba19e6741dddaffad6e5c8e8000000000000000000000000d5bf36c9e0fc2de8b3a7ea1cda33a2e60a5cfa640000000000000000000000004674bc49f7f4449d9447636422a47f083db6c2cc0000000000000000000000003c85bdbf681767732913c989fead735e94b5cd690000000000000000000000006d237cdc57016e937a4b02dd4f2d4f15d5943bd7000000000000000000000000b5e950bdd73e2bf5f80f3b77338a652157f87eee0000000000000000000000003ad9d0914f161e124cb957d53bb0271edace0f0c00000000000000000000000043f703feb5245088eb6bd13628c4d9b098526c5700000000000000000000000028570bf947454a1327865b2ca612cbcf276b99ee000000000000000000000000e997d8a9a54e87235f3f8350f195c9b037755683000000000000000000000000b3918a54f10df8d630dddb5ad61f7a72eca019960000000000000000000000008aab47d8c15c69736952c199ee17730ef80cb266000000000000000000000000e3138b385ddbc491b42c1403ec91a65742ce4260000000000000000000000000c87661393780485ca6eaed64e31ff4efc7a5a7c1000000000000000000000000ee033c781dc81dff565ec4766735195bb47103af0000000000000000000000004367cc744e44c0efefab04113ba6fae25fcbd64100000000000000000000000017e490478c467de3b30a1a17dff16ab65173ea25000000000000000000000000c9ba5c31b6cf94484dbe6ed011103256871e5aaf000000000000000000000000117ab7e1299bec28cf9477c9b9f62495aa7c3f4a000000000000000000000000dc4bfaffa745655f883db68a5f6e0950792eccc0000000000000000000000000fe1558ae9531c3cc002880464f41028a68b8e7b0000000000000000000000000af8f08f2555bd7d2238d1c320902d9bb12f87a20000000000000000000000000ca637f79c0f18a0e8265712fdc41521c7a63221900000000000000000000000080ab750c00a675e4ca2938589fd0f21aa0ddd880000000000000000000000000543f4d451e88a10a14870e1a0989b0dfbf3556d4000000000000000000000000e506b312189085bc1d2fe7399b4e4771fa95cdc2000000000000000000000000f472af0d468e39880e97c2dae46105c8d4de5b90000000000000000000000000d103989dd7134f0a541b1fb5e9ca806af4318b4f000000000000000000000000d059c1bd8bbcd3122b63871921cf90189c2d1c2a000000000000000000000000f5deb822de04d1fa56416e6682700d721d5933010000000000000000000000001fa63e759daa1d0fa0c42c3503c2ae30e27c098d00000000000000000000000022820fdaf2ebaeb90f469996a00f0e22316e057100000000000000000000000066ef3974fc78b41a0b0d52139a44b339746603ff0000000000000000000000008ac192b0e0c5fb6bcd7e5d4dec2b39a91e61dd63000000000000000000000000e9f1a9999d2fc160fae9528b3feb8552de9f8ace00000000000000000000000035a3fa91d18f9cdcd4fa1a81819e4811b92dab3d000000000000000000000000baf65212d3d008f20b2e2e7ebfa79a1a8f26f35b000000000000000000000000ca741b81d1d696d4eb1eea8bfee968047a61b30e000000000000000000000000db94b9a12a6723debcd94b631a6f53f35e01b32c00000000000000000000000023db5c35ac738bab6619e60690e0f3dca3fdd68300000000000000000000000000000000000000000000000000000000000000490000000000000000000000000000000000000000000000000135e0790d9142d400000000000000000000000000000000000000000000000000b350f059398ba9000000000000000000000000000000000000000000000000010f9631b0c15ec60000000000000000000000000000000000000000000000000144284256d9d5040000000000000000000000000000000000000000000000000163c569c7a13418000000000000000000000000000000000000000000000000010f2bddd4c669c6000000000000000000000000000000000000000000000000002b6098d441765a000000000000000000000000000000000000000000000000012636532677f3d8000000000000000000000000000000000000000000000000008e59fdb2132528000000000000000000000000000000000000000000000000012828e0a3dce27700000000000000000000000000000000000000000000000001ae46839cc84450000000000000000000000000000000000000000000000000012786f0bb20615e00000000000000000000000000000000000000000000000000f70044d36d0ef9000000000000000000000000000000000000000000000000010c0cdf4c6e1a49000000000000000000000000000000000000000000000000014141cdc9ae9c02000000000000000000000000000000000000000000000000008186988493b3120000000000000000000000000000000000000000000000000142e353594c069700000000000000000000000000000000000000000000000000058cc02f91bf390000000000000000000000000000000000000000000000000151cf3baf2c439800000000000000000000000000000000000000000000000001cb46f04b59229200000000000000000000000000000000000000000000000001174771f023211100000000000000000000000000000000000000000000000000ec37878feddd7200000000000000000000000000000000000000000000000001e4e48c678c662f0000000000000000000000000000000000000000000000000091722212dbb1b6000000000000000000000000000000000000000000000000013879666101af1500000000000000000000000000000000000000000000000000cf4e2774e521e2000000000000000000000000000000000000000000000000006cfbda7fa6f84200000000000000000000000000000000000000000000000000f1dd267677bec900000000000000000000000000000000000000000000000001d0eb760d35b0fe00000000000000000000000000000000000000000000000000f3117dcebc010e0000000000000000000000000000000000000000000000000128e74934afad0800000000000000000000000000000000000000000000000001832e77017d93d500000000000000000000000000000000000000000000000001c4276c5ddbea320000000000000000000000000000000000000000000000000123caad81a6318400000000000000000000000000000000000000000000000001d2aff30c35e0d3000000000000000000000000000000000000000000000000013f4dc25089fdeb00000000000000000000000000000000000000000000000001bbddf3f69282d8000000000000000000000000000000000000000000000000009ca6e6c6bb9dfd000000000000000000000000000000000000000000000000008d2c87b05127f400000000000000000000000000000000000000000000000000d66c99f6e8c0f20000000000000000000000000000000000000000000000000009a9edef35b6ad00000000000000000000000000000000000000000000000000c33cea7af0714b0000000000000000000000000000000000000000000000000126d074f04e30e1000000000000000000000000000000000000000000000000001536b5ef90daa100000000000000000000000000000000000000000000000001a09747282c5a2300000000000000000000000000000000000000000000000000a76ba1bda9853a000000000000000000000000000000000000000000000000005a835d67ceb15f000000000000000000000000000000000000000000000000000ae0422c96fb7200000000000000000000000000000000000000000000000000936acc158cb83900000000000000000000000000000000000000000000000001a84e35c6325081000000000000000000000000000000000000000000000000014bb3401715faf1000000000000000000000000000000000000000000000000011282b1c1d9d97c0000000000000000000000000000000000000000000000000162140cad495faf0000000000000000000000000000000000000000000000000138b9c51596d84f000000000000000000000000000000000000000000000000001c8636a8ca342300000000000000000000000000000000000000000000000000623235f2a02495000000000000000000000000000000000000000000000000010705f0c970965a00000000000000000000000000000000000000000000000000cf7511194af37100000000000000000000000000000000000000000000000001737f5e22bfa0f000000000000000000000000000000000000000000000000001c14b6f9a84fc130000000000000000000000000000000000000000000000000184457bbf6ffaa000000000000000000000000000000000000000000000000001267eceabfcc915000000000000000000000000000000000000000000000000006a6e8d03489948000000000000000000000000000000000000000000000000001f5161bf26e405000000000000000000000000000000000000000000000000015df4c9353bf222000000000000000000000000000000000000000000000000008ba96c2ed342190000000000000000000000000000000000000000000000000026f4880ff2626a00000000000000000000000000000000000000000000000000bd218dc3c12a5200000000000000000000000000000000000000000000000000132dca0788eb9800000000000000000000000000000000000000000000000001126ff747cd889a00000000000000000000000000000000000000000000000001daa05c005868d9000000000000000000000000000000000000000000000000005287a6215fb245000000000000000000000000000000000000000000000000011d0d589c6f313e0000000000000000000000000000000000000000000000000000000000000051000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000081534d18006934e6df01de1f831b56f682a65dc0000000000000000000000000b3803b364a2bd001cb50100e4740575037ff39a000000000000000000000000d623c03a5c6f70baddb0fc8ac7623da7df570e4c00000000000000000000000022f8c13859eb2268aead4d4c21c209e32112bb6100000000000000000000000078b19558a4b933f8a0c1767016c02ce20a494678000000000000000000000000cbd1835412287d3db1555b28d70e665b398e05760000000000000000000000002878f6043313ff799fa619d0ec3e38d610f231c600000000000000000000000043674aab0ca6a5dcf529784bf2e6cd3544f9d850000000000000000000000000d0d2e078b73741042ae44a00a9e85a601ea171ab000000000000000000000000b793d8fc2ff186404d369919d84ec3a63b32b59e000000000000000000000000116031400e41d154b758ce96b867c26d25ed2d85000000000000000000000000b3e611731992ae37cc6a67a5128c46a56788de61000000000000000000000000569fdd98b9883f5c2172b4bc9433e6d52b7cd1300000000000000000000000002dacc7e628f651fd6feca1cc03be2ef17370004a000000000000000000000000c81c6372580cf3e7c3e72af74ea34b5d2f9e9e290000000000000000000000005403e64d805182e0577f2484abb014129f6aaba10000000000000000000000007c757dd812015a04833a47ef8c813ac190a910c40000000000000000000000001f7c0169faab2e7d4855ea4950296bb8308aac2a0000000000000000000000003fb3fa73afcceb8c8b3699cb7f2981f8b18c4a0b0000000000000000000000005b30f4fc6c59313c07cd7a51cb6bd8fbcdd0430a000000000000000000000000685b60ce4c484a7b20d2f5e5631ad0f13e083613000000000000000000000000f52b00d464736177841b42038e03221af51193120000000000000000000000006f5ea48a8c58187789a11aaa151071bb6ad7258e00000000000000000000000086555f30e64ed206fbdff8fb2bdb5fa4a775a1e50000000000000000000000009bc151ac9c303331b4dec45cfc07e02d6534e4a8000000000000000000000000ef4a10564e6a26dc9573d4dff060b5a78b7f45610000000000000000000000007e7832eaabbcb6c031b94d128b9c7f295db5e19e000000000000000000000000db8ee3201a048f65a144329d636319ee89ffa72e00000000000000000000000014037fe5d6a49d2d37eaf4dbc784737cbbe7ff480000000000000000000000006f8fe1dc7bf3a853eb66990de3bcba24ecee4357000000000000000000000000207edef4ec6be16e44cfa5fad1b2d98593a395f4000000000000000000000000047d1a210a5e0f1a9fb3527c3a3fb923e30e59bc000000000000000000000000c9be1f1644697ff20dfc6b92fe55ddff46dfd65d000000000000000000000000c5437a4f74522779486d0aff5ca71c5cf83d64b50000000000000000000000006c2159c0054d11acafa18812d84f11a384be16900000000000000000000000007cad026016427e1decd4016d835d52601bf299310000000000000000000000001afa2647652c10a380971c5c492694d8da97486c000000000000000000000000ec76fa06500a5968dce099c1742651772f98c9b00000000000000000000000008eb8568ff7b33d1bf7d62ce362362f10c779b3d30000000000000000000000004d0a5c90b03d63c54b70165114df3f9eff04a54b000000000000000000000000896fe6951624d2058abf162daa2fc25a0e36cc51000000000000000000000000113498580d7685dfc430ac0f6bf8fac14e97a0cd000000000000000000000000519dc13ba20ff34fe0ddf522b7f575f71d4582d3000000000000000000000000970cf00a2d919c396036441e64be608971102ee2000000000000000000000000ba5953b6db0ce4cbc1d7804a838b89d53431469a000000000000000000000000bc3e89bcefaee3b53625990d9fce36d8cdbe106e0000000000000000000000003df94ebcf41d0f468579fcfa345dd8a0c3a8727d00000000000000000000000065777b29bf9fe5629e72e2c38be1e09d37d5bdaf0000000000000000000000002d78cfebed2e67129dc8163d423612f7a1e14abe000000000000000000000000a10cf0946ce24bf7ab28d325664dbcce59dcb33400000000000000000000000058b2825fb752249e389ef151024d1fd8afde72560000000000000000000000003d41578e2c819271c4d9fefbceba88b86b670e700000000000000000000000005eaa95d5ee5660004e5c42447339388186f04b460000000000000000000000005c5ff3e00333648d3d98ff01cbca0af25e0cf1ba00000000000000000000000014c6241140353754331ed648210cd1afe95b224e000000000000000000000000785415b6eb63a8f3d41321c54125ec1ec9b571960000000000000000000000008325801102a467ce380df6a898561287f857ec250000000000000000000000003c4e79cff6adc3973897d5d32531e541600f20ea000000000000000000000000058baeee80dcdc9ee20c9b2c244df9fbc95cc330000000000000000000000000457a4001f44a8a590adc5edf64adef0a877b25c7000000000000000000000000a733d20ef12334908046470f18d27d75f8a3e0e10000000000000000000000008a75e73da19cb39a3e4a61f5643571634ccae7a9000000000000000000000000d9d2bc38da2186c2d6e8867381d9d2f9faa83e3f00000000000000000000000070112d7bcda0a5942722c3795130806a9ebf67ef000000000000000000000000ccdaf22482f30c6646a3a90dee381994c9c1606a000000000000000000000000f82f2ab31161abe926d96c46e116330c9c30fb660000000000000000000000008d500115ca40efe106a2c86f339cfa32738d993b000000000000000000000000f28f0594ec85a0f9455956d7083786f4d6a042b9000000000000000000000000016a88546f10319035408a0b6a9c55317c2ab4fb000000000000000000000000f99338b2723afce90b2f126c4aad58db78de9fc7000000000000000000000000fc641b8ed37e2b755b34023dd5afc2b97fbd336b0000000000000000000000007250331be9769567c740eb94e5b26748a8153db2000000000000000000000000e7c5c1f5ab3193a3362dc276cb315d8c282827e1000000000000000000000000899aba1f26fdd7c3ac712f903c870ef75f80b8b60000000000000000000000001f49abdaf292894adb9880765a68d3a67da4fe39000000000000000000000000a633b732d791ca635b645dc0bf2c7691130d1a2f000000000000000000000000304010546cc9478bea276c11ca7cfea44e9cfeca0000000000000000000000004f7c8994717e4776dfefdfae810ef6c28eb499780000000000000000000000005b9d09161fdb52bc538349bc212a326cc8b2fe660000000000000000000000004fc50e1dfad32a0b49ed4f1ac4a027d7d3eac8d400000000000000000000000000000000000000000000000000000000000000510000000000000000000000000000000000000000027e2ef8672ede2916900000000000000000000000000000000000000000000000001a525106465ffeb00000000000000000000000000000000000000000000000000d3ed7a09be58b980000000000000000000000000000000000000000000000000c9fa09088ca215400000000000000000000000000000000000000000000000015e8cb70103bf7a00000000000000000000000000000000000000000000000000d90ced7b0fa32380000000000000000000000000000000000000000000000000ff63fe3ae3d62880000000000000000000000000000000000000000000000001a3534a70785ddec0000000000000000000000000000000000000000000000001ba17f62f36fdeec0000000000000000000000000000000000000000000000001af9723e8bf0dffc0000000000000000000000000000000000000000000000000ea73b292548787800000000000000000000000000000000000000000000000016ae2c769163b4e40000000000000000000000000000000000000000000000001b905020b6f998180000000000000000000000000000000000000000000000001b0d2dc25362e22c000000000000000000000000000000000000000000000000134c0f0c1f29d4e0000000000000000000000000000000000000000000000000156b22b9c1864c280000000000000000000000000000000000000000000000001a7301549f8b473c000000000000000000000000000000000000000000000000191a565b0dabf9a400000000000000000000000000000000000000000000000018ea093f2a6460980000000000000000000000000000000000000000000000001c4eceac95014ac00000000000000000000000000000000000000000000000001616c3cd435672e00000000000000000000000000000000000000000000000001b7d56e6ed5abd60000000000000000000000000000000000000000000000000175c068755f9aaa00000000000000000000000000000000000000000000000000ae5b4d69fefc8f40000000000000000000000000000000000000000000000001785b68c27a37e040000000000000000000000000000000000000000000000000a19c499c3dded6c00000000000000000000000000000000000000000000000018c129650d415c1000000000000000000000000000000000000000000000000014d8e0744024284000000000000000000000000000000000000000000000000011d803ca24e553040000000000000000000000000000000000000000000000001ba87d9f03f738500000000000000000000000000000000000000000000000001c6ddea5851ef5940000000000000000000000000000000000000000000000000b46f596f6ead3bc0000000000000000000000000000000000000000000000000abd9746809febe400000000000000000000000000000000000000000000000012dcfb75cb3b0d7c00000000000000000000000000000000000000000000000016adf4f3b6951754000000000000000000000000000000000000000000000000166bfbaf2a8654f00000000000000000000000000000000000000000000000000bd3b053acb845cc00000000000000000000000000000000000000000000000015ae3f6d4a51c9c000000000000000000000000000000000000000000000000011e2a3d606717b940000000000000000000000000000000000000000000000000f3ae64134e99c880000000000000000000000000000000000000000000000000a4e67eebf49d5b80000000000000000000000000000000000000000000000001a55c933f349d7b000000000000000000000000000000000000000000000000016114a252e75686c0000000000000000000000000000000000000000000000001c270460bde75a08000000000000000000000000000000000000000000000000127fcb8afae20d0000000000000000000000000000000000000000000000000017a98bc3e582b33800000000000000000000000000000000000000000000000016a0d68700c0dacc00000000000000000000000000000000000000000000000019b474e80acfed300000000000000000000000000000000000000000000000001bad8841633b07a40000000000000000000000000000000000000000000000000d6492915454a3780000000000000000000000000000000000000000000000000f07e341a28b51f40000000000000000000000000000000000000000000000001266dbc2b01145500000000000000000000000000000000000000000000000000dadc194cbb95cd00000000000000000000000000000000000000000000000001cf88a071c418ecc0000000000000000000000000000000000000000000000001ab942f18d0ab17c00000000000000000000000000000000000000000000000016f5f2a77a896e140000000000000000000000000000000000000000000000001720aa59db88ade4000000000000000000000000000000000000000000000000176f60e61e8219140000000000000000000000000000000000000000000000001a991d6a56e3f2d80000000000000000000000000000000000000000000000000a7e7d87c7c2d134000000000000000000000000000000000000000000000000131fc4e50bd09ebc0000000000000000000000000000000000000000000000000d70a9507ad3739400000000000000000000000000000000000000000000000011194dbb6c0f02cc0000000000000000000000000000000000000000000000000d0accf37a31d4980000000000000000000000000000000000000000000000000aa83b6d50204bfc0000000000000000000000000000000000000000000000001086b831a276f28c000000000000000000000000000000000000000000000000190ffbb2bda2160800000000000000000000000000000000000000000000000017093f258c5e352400000000000000000000000000000000000000000000000014de9f7fe68777a800000000000000000000000000000000000000000000000012bb4379e2ba588400000000000000000000000000000000000000000000000012d1de837d5e026800000000000000000000000000000000000000000000000016fce302d45d20140000000000000000000000000000000000000000000000000dae75fe12d8dce40000000000000000000000000000000000000000000000001695abb3fc3028540000000000000000000000000000000000000000000000000d4b87079c1c8d00000000000000000000000000000000000000000000000000167d54938b1791f00000000000000000000000000000000000000000000000001d4f2abb91b0710400000000000000000000000000000000000000000000000014cee6f0ef03d8600000000000000000000000000000000000000000000000001583959ba006315400000000000000000000000000000000000000000000000017005b308146f91400000000000000000000000000000000000000000000000018d956e35a3efc480000",
+ "blockNumber": "96262748"
+ },
+ "transferLogs": [
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "logIndex": 3
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000000000000000000000000000000000000000dead"
+ ],
+ "data": "0x0000000000000000000000000000000000000000027e2ef8672ede2916900000",
+ "logIndex": 4
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000081534d18006934e6df01de1f831b56f682a65dc"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001a525106465ffeb00000",
+ "logIndex": 5
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000000b3803b364a2bd001cb50100e4740575037ff39a"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000d3ed7a09be58b980000",
+ "logIndex": 6
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000d623c03a5c6f70baddb0fc8ac7623da7df570e4c"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000c9fa09088ca21540000",
+ "logIndex": 7
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x00000000000000000000000022f8c13859eb2268aead4d4c21c209e32112bb61"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000015e8cb70103bf7a00000",
+ "logIndex": 8
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x00000000000000000000000078b19558a4b933f8a0c1767016c02ce20a494678"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000d90ced7b0fa32380000",
+ "logIndex": 9
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000cbd1835412287d3db1555b28d70e665b398e0576"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000ff63fe3ae3d62880000",
+ "logIndex": 10
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000002878f6043313ff799fa619d0ec3e38d610f231c6"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001a3534a70785ddec0000",
+ "logIndex": 11
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x00000000000000000000000043674aab0ca6a5dcf529784bf2e6cd3544f9d850"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001ba17f62f36fdeec0000",
+ "logIndex": 12
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000d0d2e078b73741042ae44a00a9e85a601ea171ab"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001af9723e8bf0dffc0000",
+ "logIndex": 13
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000b793d8fc2ff186404d369919d84ec3a63b32b59e"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000ea73b29254878780000",
+ "logIndex": 14
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000116031400e41d154b758ce96b867c26d25ed2d85"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000016ae2c769163b4e40000",
+ "logIndex": 15
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000b3e611731992ae37cc6a67a5128c46a56788de61"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001b905020b6f998180000",
+ "logIndex": 16
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000569fdd98b9883f5c2172b4bc9433e6d52b7cd130"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001b0d2dc25362e22c0000",
+ "logIndex": 17
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000002dacc7e628f651fd6feca1cc03be2ef17370004a"
+ ],
+ "data": "0x00000000000000000000000000000000000000000000134c0f0c1f29d4e00000",
+ "logIndex": 18
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000c81c6372580cf3e7c3e72af74ea34b5d2f9e9e29"
+ ],
+ "data": "0x00000000000000000000000000000000000000000000156b22b9c1864c280000",
+ "logIndex": 19
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000005403e64d805182e0577f2484abb014129f6aaba1"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001a7301549f8b473c0000",
+ "logIndex": 20
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000007c757dd812015a04833a47ef8c813ac190a910c4"
+ ],
+ "data": "0x00000000000000000000000000000000000000000000191a565b0dabf9a40000",
+ "logIndex": 21
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000001f7c0169faab2e7d4855ea4950296bb8308aac2a"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000018ea093f2a6460980000",
+ "logIndex": 22
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000003fb3fa73afcceb8c8b3699cb7f2981f8b18c4a0b"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001c4eceac95014ac00000",
+ "logIndex": 23
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000005b30f4fc6c59313c07cd7a51cb6bd8fbcdd0430a"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001616c3cd435672e00000",
+ "logIndex": 24
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000685b60ce4c484a7b20d2f5e5631ad0f13e083613"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001b7d56e6ed5abd600000",
+ "logIndex": 25
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000f52b00d464736177841b42038e03221af5119312"
+ ],
+ "data": "0x00000000000000000000000000000000000000000000175c068755f9aaa00000",
+ "logIndex": 26
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000006f5ea48a8c58187789a11aaa151071bb6ad7258e"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000ae5b4d69fefc8f40000",
+ "logIndex": 27
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x00000000000000000000000086555f30e64ed206fbdff8fb2bdb5fa4a775a1e5"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001785b68c27a37e040000",
+ "logIndex": 28
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000009bc151ac9c303331b4dec45cfc07e02d6534e4a8"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000a19c499c3dded6c0000",
+ "logIndex": 29
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000ef4a10564e6a26dc9573d4dff060b5a78b7f4561"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000018c129650d415c100000",
+ "logIndex": 30
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000007e7832eaabbcb6c031b94d128b9c7f295db5e19e"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000014d8e074402428400000",
+ "logIndex": 31
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000db8ee3201a048f65a144329d636319ee89ffa72e"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000011d803ca24e553040000",
+ "logIndex": 32
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x00000000000000000000000014037fe5d6a49d2d37eaf4dbc784737cbbe7ff48"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001ba87d9f03f738500000",
+ "logIndex": 33
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000006f8fe1dc7bf3a853eb66990de3bcba24ecee4357"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001c6ddea5851ef5940000",
+ "logIndex": 34
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000207edef4ec6be16e44cfa5fad1b2d98593a395f4"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000b46f596f6ead3bc0000",
+ "logIndex": 35
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000047d1a210a5e0f1a9fb3527c3a3fb923e30e59bc"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000abd9746809febe40000",
+ "logIndex": 36
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000c9be1f1644697ff20dfc6b92fe55ddff46dfd65d"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000012dcfb75cb3b0d7c0000",
+ "logIndex": 37
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000c5437a4f74522779486d0aff5ca71c5cf83d64b5"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000016adf4f3b69517540000",
+ "logIndex": 38
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000006c2159c0054d11acafa18812d84f11a384be1690"
+ ],
+ "data": "0x00000000000000000000000000000000000000000000166bfbaf2a8654f00000",
+ "logIndex": 39
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000007cad026016427e1decd4016d835d52601bf29931"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000bd3b053acb845cc0000",
+ "logIndex": 40
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000001afa2647652c10a380971c5c492694d8da97486c"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000015ae3f6d4a51c9c00000",
+ "logIndex": 41
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000ec76fa06500a5968dce099c1742651772f98c9b0"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000011e2a3d606717b940000",
+ "logIndex": 42
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000008eb8568ff7b33d1bf7d62ce362362f10c779b3d3"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000f3ae64134e99c880000",
+ "logIndex": 43
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000004d0a5c90b03d63c54b70165114df3f9eff04a54b"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000a4e67eebf49d5b80000",
+ "logIndex": 44
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000896fe6951624d2058abf162daa2fc25a0e36cc51"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001a55c933f349d7b00000",
+ "logIndex": 45
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000113498580d7685dfc430ac0f6bf8fac14e97a0cd"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000016114a252e75686c0000",
+ "logIndex": 46
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000519dc13ba20ff34fe0ddf522b7f575f71d4582d3"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001c270460bde75a080000",
+ "logIndex": 47
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000970cf00a2d919c396036441e64be608971102ee2"
+ ],
+ "data": "0x00000000000000000000000000000000000000000000127fcb8afae20d000000",
+ "logIndex": 48
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000ba5953b6db0ce4cbc1d7804a838b89d53431469a"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000017a98bc3e582b3380000",
+ "logIndex": 49
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000bc3e89bcefaee3b53625990d9fce36d8cdbe106e"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000016a0d68700c0dacc0000",
+ "logIndex": 50
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000003df94ebcf41d0f468579fcfa345dd8a0c3a8727d"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000019b474e80acfed300000",
+ "logIndex": 51
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x00000000000000000000000065777b29bf9fe5629e72e2c38be1e09d37d5bdaf"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001bad8841633b07a40000",
+ "logIndex": 52
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000002d78cfebed2e67129dc8163d423612f7a1e14abe"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000d6492915454a3780000",
+ "logIndex": 53
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000a10cf0946ce24bf7ab28d325664dbcce59dcb334"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000f07e341a28b51f40000",
+ "logIndex": 54
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x00000000000000000000000058b2825fb752249e389ef151024d1fd8afde7256"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001266dbc2b01145500000",
+ "logIndex": 55
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000003d41578e2c819271c4d9fefbceba88b86b670e70"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000dadc194cbb95cd00000",
+ "logIndex": 56
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000005eaa95d5ee5660004e5c42447339388186f04b46"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001cf88a071c418ecc0000",
+ "logIndex": 57
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000005c5ff3e00333648d3d98ff01cbca0af25e0cf1ba"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001ab942f18d0ab17c0000",
+ "logIndex": 58
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x00000000000000000000000014c6241140353754331ed648210cd1afe95b224e"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000016f5f2a77a896e140000",
+ "logIndex": 59
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000785415b6eb63a8f3d41321c54125ec1ec9b57196"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001720aa59db88ade40000",
+ "logIndex": 60
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000008325801102a467ce380df6a898561287f857ec25"
+ ],
+ "data": "0x00000000000000000000000000000000000000000000176f60e61e8219140000",
+ "logIndex": 61
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000003c4e79cff6adc3973897d5d32531e541600f20ea"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001a991d6a56e3f2d80000",
+ "logIndex": 62
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000058baeee80dcdc9ee20c9b2c244df9fbc95cc330"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000a7e7d87c7c2d1340000",
+ "logIndex": 63
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000457a4001f44a8a590adc5edf64adef0a877b25c7"
+ ],
+ "data": "0x00000000000000000000000000000000000000000000131fc4e50bd09ebc0000",
+ "logIndex": 64
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000a733d20ef12334908046470f18d27d75f8a3e0e1"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000d70a9507ad373940000",
+ "logIndex": 65
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000008a75e73da19cb39a3e4a61f5643571634ccae7a9"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000011194dbb6c0f02cc0000",
+ "logIndex": 66
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000d9d2bc38da2186c2d6e8867381d9d2f9faa83e3f"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000d0accf37a31d4980000",
+ "logIndex": 67
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x00000000000000000000000070112d7bcda0a5942722c3795130806a9ebf67ef"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000aa83b6d50204bfc0000",
+ "logIndex": 68
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000ccdaf22482f30c6646a3a90dee381994c9c1606a"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001086b831a276f28c0000",
+ "logIndex": 69
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000f82f2ab31161abe926d96c46e116330c9c30fb66"
+ ],
+ "data": "0x00000000000000000000000000000000000000000000190ffbb2bda216080000",
+ "logIndex": 70
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000008d500115ca40efe106a2c86f339cfa32738d993b"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000017093f258c5e35240000",
+ "logIndex": 71
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000f28f0594ec85a0f9455956d7083786f4d6a042b9"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000014de9f7fe68777a80000",
+ "logIndex": 72
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000016a88546f10319035408a0b6a9c55317c2ab4fb"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000012bb4379e2ba58840000",
+ "logIndex": 73
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000f99338b2723afce90b2f126c4aad58db78de9fc7"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000012d1de837d5e02680000",
+ "logIndex": 74
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000fc641b8ed37e2b755b34023dd5afc2b97fbd336b"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000016fce302d45d20140000",
+ "logIndex": 75
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000007250331be9769567c740eb94e5b26748a8153db2"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000dae75fe12d8dce40000",
+ "logIndex": 76
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000e7c5c1f5ab3193a3362dc276cb315d8c282827e1"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001695abb3fc3028540000",
+ "logIndex": 77
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000899aba1f26fdd7c3ac712f903c870ef75f80b8b6"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000d4b87079c1c8d000000",
+ "logIndex": 78
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000001f49abdaf292894adb9880765a68d3a67da4fe39"
+ ],
+ "data": "0x00000000000000000000000000000000000000000000167d54938b1791f00000",
+ "logIndex": 79
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000a633b732d791ca635b645dc0bf2c7691130d1a2f"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001d4f2abb91b071040000",
+ "logIndex": 80
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x000000000000000000000000304010546cc9478bea276c11ca7cfea44e9cfeca"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000014cee6f0ef03d8600000",
+ "logIndex": 81
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000004f7c8994717e4776dfefdfae810ef6c28eb49978"
+ ],
+ "data": "0x000000000000000000000000000000000000000000001583959ba00631540000",
+ "logIndex": 82
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000005b9d09161fdb52bc538349bc212a326cc8b2fe66"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000017005b308146f9140000",
+ "logIndex": 83
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x0000000000000000000000004fc50e1dfad32a0b49ed4f1ac4a027d7d3eac8d4"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000018d956e35a3efc480000",
+ "logIndex": 84
+ },
+ {
+ "address": "0x1f89cc7fe8a0cd528391c935c8ecb3dff27d7777",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000001cbaf24d53fe930fce8eff149fa797d2611da149",
+ "0x00000000000000000000000036bb16dd767044f0e77edcb8b5a15c10b768eab3"
+ ],
+ "data": "0x000000000000000000000000000000000000000000b68d03a3fa3a4707500000",
+ "logIndex": 85
+ }
+ ]
+ },
+ {
+ "venue": "pons-v2",
+ "mintLog": {
+ "address": "0x3c21067f2fe5fa43de9db17e39c29ea065d83514",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x000000000000000000000000024a1dc976ec2a1605bd535eb118a44c283f399d"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "blockNumber": "0x5bcd93c",
+ "transactionHash": "0xedf0f827e303df4cc7f991eec0097499aedf030f2f5d7fce5b39ae6b7f89f3ff",
+ "transactionIndex": "0x3",
+ "blockHash": "0x22de5723fd119b24c7d885cce4566a19ec666dbf50e503b147c49934554d4a1e",
+ "blockTimestamp": "0x0",
+ "logIndex": "0x4",
+ "removed": false
+ },
+ "tx": {
+ "hash": "0xedf0f827e303df4cc7f991eec0097499aedf030f2f5d7fce5b39ae6b7f89f3ff",
+ "from": "0x592bd47111c622b85eb0ee2b73f80626496401b6",
+ "to": "0xe33e9e479df8802cb0866d5d05258bec4cf62948",
+ "input": "0xf85f8e4100000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008ae10148f05f4000000000000000000000000000000000000000000011e47d0183bbad7d9cf78f000000000000000000000000592bd47111c622b85eb0ee2b73f80626496401b600000000000000000000000000000000000000000000000000000000000005400000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000592bd47111c622b85eb0ee2b73f80626496401b600000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000000a9fc75d4203a33fe660e8fa32c74c3aa41c1fda4bf23d3a39b6bc22a1f8b1ca7e064d6cf01d17632f92232501949896252bfd6a2b1966e28d9bc449688b0ae1500000000000000000000000000000000000000000000000000000000000000055261676173000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000752414741534149000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b726569686172777762356e6d7568686c7276636270616d32766e6f656b357a7236613461687472646236696534677a346d7461796e6a750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000073526167617320697320616e206f70656e2d736f7572636520746f6f6c6b697420666f722074657374696e6720616e642073636f72696e67204c4c4d20617070732c2052414720706970656c696e657320616e64206167656e747320776974682072657065617461626c65206d6574726963732e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000001668747470733a2f2f782e636f6d2f72616761735f696f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001568747470733a2f2f7777772e72616761732e696f2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000fa71ecbbf074462737086f07f01a8687b5c8cf320000000000000000000000006fac52ceb791540c82a55ec60a3bb4f0e2f5cdcf",
+ "blockNumber": "96262460"
+ },
+ "transferLogs": [
+ {
+ "address": "0x3c21067f2fe5fa43de9db17e39c29ea065d83514",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x000000000000000000000000024a1dc976ec2a1605bd535eb118a44c283f399d"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "logIndex": 4
+ },
+ {
+ "address": "0x3c21067f2fe5fa43de9db17e39c29ea065d83514",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x000000000000000000000000024a1dc976ec2a1605bd535eb118a44c283f399d",
+ "0x000000000000000000000000592bd47111c622b85eb0ee2b73f80626496401b6"
+ ],
+ "data": "0x0000000000000000000000000000000000000000001241f7b86713198566b378",
+ "logIndex": 12
+ }
+ ]
+ },
+ {
+ "venue": "rhc-eb7c0347",
+ "mintLog": {
+ "address": "0x9c9a2a0f0ff7eb2b590eeb678c84b4cd772afba3",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x0000000000000000000000009c9a2a0f0ff7eb2b590eeb678c84b4cd772afba3"
+ ],
+ "data": "0x00000000000000000000000000000000000000003077b58d5d37839198000000",
+ "blockNumber": "0x5bcd013",
+ "transactionHash": "0xf42c61eb5bc8bf586155f23e5f2f2df3de960fd989fea9ac278e00e7b3c6734e",
+ "transactionIndex": "0x4",
+ "blockHash": "0x9e9c535111bcd5d37a445a7e6ba87d1c703d26b79f35789175e0b61c38b6d2a3",
+ "blockTimestamp": "0x0",
+ "logIndex": "0x9",
+ "removed": false
+ },
+ "tx": {
+ "hash": "0xf42c61eb5bc8bf586155f23e5f2f2df3de960fd989fea9ac278e00e7b3c6734e",
+ "from": "0x4445008e48e62e103b8915192b2f041d36c8677f",
+ "to": "0xeb7c034704ef8dcd2d32324c1545f62fb4ad0862",
+ "input": "0x882db70700000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000001431e0fae6d7217caa0000000000000000000000000000000000000000000000112a65a21103a9439080000000000000000000000000000000bd7d308f8e1639fab988df18a8011f41eacad730000000000000000000000001b37d3a72082029c44b35b604ea473617580b69a00000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000db036746d65dd52126b1915f1adf555e6c5237cf00000000000000000000000000000000000000000000000000000000000006800000000000000000000000004e3468951d49f2eea976ed0d6e75ffcb44a9a54400000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000ba2f330edb16cd8056f5988d8ce19bbc63475a0e0000000000000000000000000000000000000000000000000000000000000d40000000000000000000000000f60633d02690e2a15a54ab919925f3d038df163e033d3502a3286ee250524698ae4f5753d61a2b244dce4dc6a4499eb6d0b9314a00000000000000000000000000000000000000000000000000000000000004c0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000000000000000000006adbd633000000000000000000000000f60633d02690e2a15a54ab919925f3d038df163e0000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000000a4f6273696469616e55490000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084f6273696469616e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000278d000000000000000000000000000000000000000000000000000000000001e1338000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004445008e48e62e103b8915192b2f041d36c8677f00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000003077b58d5d378391980000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696163656b37786433363368656f6f6d63617163356f676c6932766b70777967757a6b656e7735736832676f6a346e71347872716100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000090000000000000000000000006f02324d20cc679d0e585290caa6b16bacbc0f770000000000000000000000009982538f41f2ae29ddb9d3d9307010052984fdbb000000000000000000000000b92fe925dc43a0ecde6c8b1a2709c170ec4fff4f0000000000000000000000001d4b86491ec211257cbedd77a4380a7494624eff0000000000000000000000008f10b468b06c6fd214b65f87778827f7d113f9960000000000000000000000008876789976decbfcbbbe364623c63652db8c09040000000000000000000000004e3468951d49f2eea976ed0d6e75ffcb44a9a544000000000000000000000000ba2f330edb16cd8056f5988d8ce19bbc63475a0e0000000000000000000000008366a39cc670b4001a1121b8f6a443a643e409510000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000d88d8000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000009982538f41f2ae29ddb9d3d9307010052984fdbb000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000006200000000000000000000000000000000000000000000000000000000000000003fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc5a68fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc75c00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000006a94d74f430000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc75c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe237000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000d2f13f7789f0000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe237000000000000000000000000000000000000000000000000000000000000d89a0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000470de4df820000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000021e2ce70511e4fe542a97708e89520471daa7a660000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000bd7d308f8e1639fab988df18a8011f41eacad73000000000000000000000000000000000000000000000000000000000000dead00000000000000000000000000000000000000000000000000000000000c3500000000000000000000000000000000000000000000000000000000000000445c000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b7fad530709b6dc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002610960a05a4924000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b7fad530709b6dc00000000000000000000000000000000000000000000000002610960a05a492400000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000042455f9990098e11592be1fbd72e6dc68419b130000000000000000000000000000000000000000000000000264896e6c4f08d30000000000000000000000004445008e48e62e103b8915192b2f041d36c8677f00000000000000000000000000000000000000000000000006b31a686276e5860000000000000000000000005f8da8f88ec81e27f2e22fcb9ca5d926c595e50800000000000000000000000000000000000000000000000004c912dcd89e11a700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "blockNumber": "96260115"
+ },
+ "transferLogs": [
+ {
+ "address": "0x9c9a2a0f0ff7eb2b590eeb678c84b4cd772afba3",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x0000000000000000000000009c9a2a0f0ff7eb2b590eeb678c84b4cd772afba3"
+ ],
+ "data": "0x00000000000000000000000000000000000000003077b58d5d37839198000000",
+ "logIndex": 9
+ },
+ {
+ "address": "0x9c9a2a0f0ff7eb2b590eeb678c84b4cd772afba3",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x000000000000000000000000eb7c034704ef8dcd2d32324c1545f62fb4ad0862"
+ ],
+ "data": "0x000000000000000000000000000000000000000112a65a21103a943908000000",
+ "logIndex": 10
+ },
+ {
+ "address": "0x9c9a2a0f0ff7eb2b590eeb678c84b4cd772afba3",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x000000000000000000000000eb7c034704ef8dcd2d32324c1545f62fb4ad0862",
+ "0x0000000000000000000000004e3468951d49f2eea976ed0d6e75ffcb44a9a544"
+ ],
+ "data": "0x000000000000000000000000000000000000000112a65a21103a943908000000",
+ "logIndex": 14
+ },
+ {
+ "address": "0x9c9a2a0f0ff7eb2b590eeb678c84b4cd772afba3",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000004e3468951d49f2eea976ed0d6e75ffcb44a9a544",
+ "0x0000000000000000000000008366a39cc670b4001a1121b8f6a443a643e40951"
+ ],
+ "data": "0x000000000000000000000000000000000000000112a65a21103a943907fe84ee",
+ "logIndex": 18
+ },
+ {
+ "address": "0x9c9a2a0f0ff7eb2b590eeb678c84b4cd772afba3",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000004e3468951d49f2eea976ed0d6e75ffcb44a9a544",
+ "0x000000000000000000000000eb7c034704ef8dcd2d32324c1545f62fb4ad0862"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000000000000000000017b12",
+ "logIndex": 21
+ },
+ {
+ "address": "0x9c9a2a0f0ff7eb2b590eeb678c84b4cd772afba3",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x000000000000000000000000eb7c034704ef8dcd2d32324c1545f62fb4ad0862",
+ "0x0000000000000000000000000000000000000000000000000000000000000000"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000000000000000000017b12",
+ "logIndex": 24
+ }
+ ]
+ },
+ {
+ "venue": "rhc-e4cea507",
+ "mintLog": {
+ "address": "0xf785be5394032324f24a601615a35f48450c3b89",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x00000000000000000000000079cb914f3f336426e89fab55a9488ab25770552d"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000004e619e3587c24d530",
+ "blockNumber": "0x5bcbd85",
+ "transactionHash": "0xd4163d2d00cb757c39f43ac7a0db71cf3e061174d105d924024f99bca5b8fd65",
+ "transactionIndex": "0x1",
+ "blockHash": "0x0d4e51bbf686076b96638dd84bb83175de25a840f13d02391839cffefd7b4261",
+ "blockTimestamp": "0x0",
+ "logIndex": "0x6",
+ "removed": false
+ },
+ "tx": {
+ "hash": "0xd4163d2d00cb757c39f43ac7a0db71cf3e061174d105d924024f99bca5b8fd65",
+ "from": "0xc2b5a393d40a43b727664dfb7cbd5cdc8ed58c48",
+ "to": "0xe4cea507b19796362a5a28fa7cb705a3f1866213",
+ "input": "0x2e3f9da8000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000004563918244f40000000000000000000000000000000000000000000000000004a0b651d63730d530000000000000000000000000b882b36ac891b443b65845b897d4d6959ffa0d9100000000000000000000000079cb914f3f336426e89fab55a9488ab25770552d0000000000000000000000000000000000000000000000000000000004f80f740000000000000000000000000000000000000000000000000000b48bd286df67000000000000000000000000000000000000000000000000000000006adbd41d000000000000000000000000000000000000000000000000000000006adbd32f000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000005a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000f756feeab73242d3d7b8063fef1466a21338fe6000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002072ef9d159be97a344576c30dabbc6959daf81f2100c96c1c7a36cd1a8ee8b116000000000000000000000000f756feeab73242d3d7b8063fef1466a21338fe600000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000205a810997264c101e408d6921d677435d92988cabd9e797dd28a892e852261995000000000000000000000000f756feeab73242d3d7b8063fef1466a21338fe600000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000205cf2aba4da7fab795b2aeb253f1459e33eb719626c256aee6caacd5eaa2d0b82000000000000000000000000f756feeab73242d3d7b8063fef1466a21338fe600000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200abc088088e50a981aff29face4f3558368fff50012097385c9fc63cdcefbfda0000000000000000000000000000000000000000000000000000000000000047028175ada0ff7fcfe6bb3af69177a4258b0cfaed8e044a930a19fac769c7cef081dbd01190f937a1326657cffb851a5d059e2a01c1c60acee061dec671c50b274d0daadb8d3a1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041ce6d217aded6557cf5d1a82e48ada411e9aa89ff10f96cd89f1b47b7e63a5e6363ac6ab0c06dc324a0534263a57b1e73d2a8e22ac359d0cfaa2e2eec28c2a64c1c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "blockNumber": "96255365"
+ },
+ "transferLogs": [
+ {
+ "address": "0x5d3a1ff2b6bab83b63cd9ad0787074081a52ef34",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x000000000000000000000000b882b36ac891b443b65845b897d4d6959ffa0d91",
+ "0x000000000000000000000000e4cea507b19796362a5a28fa7cb705a3f1866213"
+ ],
+ "data": "0x0000000000000000000000000000000000000000000000004563918244f40000",
+ "logIndex": 3
+ },
+ {
+ "address": "0x5d3a1ff2b6bab83b63cd9ad0787074081a52ef34",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x00000000000000000000000079cb914f3f336426e89fab55a9488ab25770552d",
+ "0x000000000000000000000000e4cea507b19796362a5a28fa7cb705a3f1866213"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000004a0b651d63730d530",
+ "logIndex": 4
+ },
+ {
+ "address": "0x6f80dfbdfd29c7342641a469f129f46834de795f",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x000000000000000000000000b882b36ac891b443b65845b897d4d6959ffa0d91"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000004e619e3587c24d530",
+ "logIndex": 5
+ },
+ {
+ "address": "0xf785be5394032324f24a601615a35f48450c3b89",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x00000000000000000000000079cb914f3f336426e89fab55a9488ab25770552d"
+ ],
+ "data": "0x000000000000000000000000000000000000000000000004e619e3587c24d530",
+ "logIndex": 6
+ }
+ ]
+ },
+ {
+ "venue": "pons-v2-7ed598",
+ "mintLog": {
+ "address": "0x034fe8b7f1355360b9d44badcf0978aab1c2888e",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x000000000000000000000000bdad472ea11aac381f31722918ea6199896e7a7a"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "blockNumber": "0x5bc8f53",
+ "transactionHash": "0x2528c5016e05dd66b9d6ff78c3b54b1114631b3efd2e512138ec4340a112dcc6",
+ "transactionIndex": "0x8",
+ "blockHash": "0x974c8508648c060524702b4fb75016dd312c87adee30f10323f29f741be7e64f",
+ "blockTimestamp": "0x0",
+ "logIndex": "0x13",
+ "removed": false
+ },
+ "tx": {
+ "hash": "0x2528c5016e05dd66b9d6ff78c3b54b1114631b3efd2e512138ec4340a112dcc6",
+ "from": "0x63703b85f417834e258abc03cca3ee43bc513aab",
+ "to": "0x7ed598bcef8bd9edd8c97a195c6d13f40801ec7e",
+ "input": "0xf35abbcf0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002600000000000000000000000005f15b37392fa35c7a809c7f73a7bcd59eca4f30e00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c15ce1ec7fd976a27fe3cbc798ac7501bc86dcca6e333904bf2d6b51d2944781000000000000000000000000000000000000000000000000000000000000000c4765726d696e61204c616273000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074745524d494e4100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f7062732e7477696d672e636f6d2f70726f66696c655f696d616765732f313935353138343937383939333539303237322f623474316c46412d5f343030783430302e6a706700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000001a68747470733a2f2f782e636f6d2f747275636b6572666c696e6700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001868747470733a2f2f6765726d696e616c6162732e78797a2f00000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "blockNumber": "96243539"
+ },
+ "transferLogs": [
+ {
+ "address": "0x034fe8b7f1355360b9d44badcf0978aab1c2888e",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x000000000000000000000000bdad472ea11aac381f31722918ea6199896e7a7a"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "logIndex": 19
+ }
+ ]
+ },
+ {
+ "venue": "rhc-c783221a",
+ "mintLog": {
+ "address": "0xb1e860149532e42b140ba9dc6e735f95d71e0123",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x000000000000000000000000c783221ab1db0244203458417981b4631e80b988"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "blockNumber": "0x5bc0082",
+ "transactionHash": "0xc7a9e8e2af09c0562d76a16b749c5605a9fdef9be1e7a3a62780cc83acad69ef",
+ "transactionIndex": "0x3",
+ "blockHash": "0x0499f2892b81c1024c352ec130d1af0906b76f7d315b0525128a52c8a412e288",
+ "blockTimestamp": "0x0",
+ "logIndex": "0x2",
+ "removed": false
+ },
+ "tx": {
+ "hash": "0xc7a9e8e2af09c0562d76a16b749c5605a9fdef9be1e7a3a62780cc83acad69ef",
+ "from": "0x491a1e9c6d2d481f62d64548cf0f4f5af4a71b5a",
+ "to": "0xc783221ab1db0244203458417981b4631e80b988",
+ "input": "0x45d52c5a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000ab23000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000033b2e3c9fd0803ce800000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000009436f696e20466c697000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004466c6970000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000007b68747470733a2f2f6a6d6e6d66646c77717a7a6a7a6c6f666b7079702e73757061626173652e636f2f73746f726167652f76312f6f626a6563742f7075626c69632f617661746172732f7072652f31663963376565342d343430322d343130632d616634612d6530646565643766373438312d6c6f676f2e706e67000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "blockNumber": "96206978"
+ },
+ "transferLogs": [
+ {
+ "address": "0xb1e860149532e42b140ba9dc6e735f95d71e0123",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "0x000000000000000000000000c783221ab1db0244203458417981b4631e80b988"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "logIndex": 2
+ },
+ {
+ "address": "0xb1e860149532e42b140ba9dc6e735f95d71e0123",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x000000000000000000000000c783221ab1db0244203458417981b4631e80b988",
+ "0x000000000000000000000000baa7d95c45249e895d2c534218cffe74b0839872"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000",
+ "logIndex": 5
+ },
+ {
+ "address": "0xb1e860149532e42b140ba9dc6e735f95d71e0123",
+ "topics": [
+ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
+ "0x000000000000000000000000baa7d95c45249e895d2c534218cffe74b0839872",
+ "0x0000000000000000000000008366a39cc670b4001a1121b8f6a443a643e40951"
+ ],
+ "data": "0x0000000000000000000000000000000000000000033b2e3c9fd0803ce7ffd018",
+ "logIndex": 7
+ }
+ ]
+ }
+ ]
+}
diff --git a/workers/robinhood-feed/tests/venues.test.js b/workers/robinhood-feed/tests/venues.test.js
new file mode 100644
index 000000000..d15c188c3
--- /dev/null
+++ b/workers/robinhood-feed/tests/venues.test.js
@@ -0,0 +1,171 @@
+// Venue discovery, deployer reputation and the dev-sold read, against one REAL
+// launch per venue captured from Robinhood Chain mainnet
+// (tests/fixtures/venue-launches.json, scripts/capture-venue-fixtures.mjs).
+// No mocks: each mint log, transaction and receipt Transfer log is on chain.
+
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+import { readFileSync } from 'node:fs';
+import { fileURLToPath } from 'node:url';
+import { dirname, join } from 'node:path';
+
+import { parseMintLogs, launchFromMint, getMintLogs, launchesFromMints, TRANSFER_TOPIC } from '../src/mints.js';
+import { venueForCall, listVenues, venueLabel } from '../src/venues.js';
+import { devAllocation, devStatus, riskFlags, createReputation, FLAG_RULES } from '../src/reputation.js';
+import { normalizeLaunch } from '../src/normalize.js';
+
+const __dirname = dirname(fileURLToPath(import.meta.url));
+const fx = JSON.parse(readFileSync(join(__dirname, 'fixtures/venue-launches.json'), 'utf8'));
+const txOf = (c) => ({ ...c.tx, blockNumber: BigInt(c.tx.blockNumber) });
+
+test('fixtures cover at least five distinct venues', () => {
+ assert.ok(new Set(fx.launches.map((c) => c.venue)).size >= 5);
+});
+
+for (const c of fx.launches) {
+ test(`${c.venue}: real mint log + tx resolve to this venue`, () => {
+ const [mint] = parseMintLogs([c.mintLog]);
+ assert.equal(mint.token.toLowerCase(), c.mintLog.address.toLowerCase());
+ assert.equal(mint.transactionHash, c.tx.hash);
+ const launch = launchFromMint(mint, txOf(c));
+ assert.equal(launch.venue.id, c.venue);
+ assert.equal(launch.launchpad, c.venue);
+ assert.equal(launch.creator, c.tx.from);
+ assert.equal(launch.venue.address, c.tx.to.toLowerCase());
+ });
+
+ test(`${c.venue}: normalizeLaunch carries venue, dev status and flags`, () => {
+ const [mint] = parseMintLogs([c.mintLog]);
+ const launch = launchFromMint(mint, txOf(c));
+ const allocation = devAllocation(c.transferLogs, launch.token, launch.creator);
+ const dev = devStatus(allocation, 0n);
+ const out = normalizeLaunch({
+ launch, venue: launch.venue, dev,
+ deployer: { prior_launches: 0, prior_dev_exits: 0, inspected: 0, window_blocks: 1000 },
+ });
+ assert.equal(out.venue.id, c.venue);
+ assert.equal(out.mint, c.mintLog.address);
+ assert.equal(out.signature, c.tx.hash);
+ assert.equal(out.dev_sold, allocation > 0n ? true : null);
+ assert.deepEqual(out.flags, allocation > 0n ? ['dev_sold'] : []);
+ assert.equal(out.deployer.address, c.tx.from);
+ });
+}
+
+test('parseMintLogs drops ERC-721 mints (four topics, no data) and keeps the earliest mint per token', () => {
+ const real = fx.launches[0].mintLog;
+ const nft = { ...real, topics: [...real.topics, `0x${'0'.repeat(63)}1`], data: '0x' };
+ const later = { ...real, blockNumber: `0x${(BigInt(real.blockNumber) + 5n).toString(16)}`, transactionHash: `0x${'ab'.repeat(32)}` };
+ const mints = parseMintLogs([later, real, nft]);
+ assert.equal(mints.length, 1);
+ assert.equal(mints[0].transactionHash, real.transactionHash);
+});
+
+test('venueForCall: unknown contract is not a venue; known contract with a new selector still is', () => {
+ const c = fx.launches[0];
+ assert.equal(venueForCall('0x000000000000000000000000000000000000dead', c.tx.input), null);
+ assert.equal(venueForCall(null, '0x12345678'), null);
+ assert.equal(venueForCall(c.tx.to, '0xdeadbeef').id, c.venue);
+});
+
+test('venue catalog: ids are unique and every label resolves', () => {
+ const venues = listVenues();
+ assert.ok(venues.length >= 40);
+ assert.equal(new Set(venues.map((v) => v.id)).size, venues.length);
+ assert.ok(venues.every((v) => venueLabel(v).length > 0 && /^0x[0-9a-f]{40}$/.test(v.address)));
+});
+
+test('getMintLogs bisects a range that trips the RPC log cap instead of dropping it', async () => {
+ const calls = [];
+ const request = async ({ params: [f] }) => {
+ const from = BigInt(f.fromBlock);
+ const to = BigInt(f.toBlock);
+ calls.push([from, to]);
+ if (to - from + 1n > 1000n) throw new Error('query returned more than 10000 results');
+ return [{ address: '0x1', blockNumber: f.fromBlock }];
+ };
+ const logs = await getMintLogs(request, 0n, 3999n, { chunk: 4000n });
+ assert.equal(logs.length, 4);
+ assert.ok(calls.every(([a, b]) => b - a + 1n <= 1000n || calls.length > 1));
+});
+
+test('launchesFromMints fetches each transaction once and skips AMM pairs', async () => {
+ const c = fx.launches[0];
+ const [mint] = parseMintLogs([c.mintLog]);
+ const second = { ...mint, token: '0x00000000000000000000000000000000000000aa' };
+ let txReads = 0;
+ const rpc = {
+ getTransaction: async () => { txReads += 1; return txOf(c); },
+ readContract: async ({ address }) => {
+ if (address === second.token) return '0x0000000000000000000000000000000000000001';
+ throw new Error('execution reverted');
+ },
+ };
+ const out = await launchesFromMints(rpc, [mint, second]);
+ assert.equal(txReads, 1);
+ assert.deepEqual(out.map((l) => l.token), [mint.token]);
+});
+
+test('devAllocation sums only Transfer logs of this token into the creator', () => {
+ const c = fx.launches.find((x) => devAllocation(x.transferLogs, x.mintLog.address, x.tx.from) > 0n) || fx.launches[0];
+ const total = devAllocation(c.transferLogs, c.mintLog.address, c.tx.from);
+ const expected = c.transferLogs
+ .filter((l) => l.address.toLowerCase() === c.mintLog.address.toLowerCase() && l.topics.length === 3 && `0x${l.topics[2].slice(-40)}`.toLowerCase() === c.tx.from.toLowerCase())
+ .reduce((s, l) => s + BigInt(l.data), 0n);
+ assert.equal(total, expected);
+ assert.equal(devAllocation(c.transferLogs, c.mintLog.address, '0x000000000000000000000000000000000000dEaD'), 0n);
+ assert.ok(c.transferLogs.every((l) => l.topics[0] === TRANSFER_TOPIC));
+});
+
+test('devStatus: sold out, partial, held, no allocation, unreadable balance', () => {
+ assert.deepEqual(devStatus(1000n, 0n), { dev_sold: true, dev_sold_pct: 100 });
+ assert.deepEqual(devStatus(1000n, 250n), { dev_sold: false, dev_sold_pct: 75 });
+ assert.deepEqual(devStatus(1000n, 1000n), { dev_sold: false, dev_sold_pct: 0 });
+ assert.deepEqual(devStatus(1000n, 5000n), { dev_sold: false, dev_sold_pct: 0 });
+ assert.deepEqual(devStatus(0n, 0n), { dev_sold: null, dev_sold_pct: null });
+ assert.deepEqual(devStatus(1000n, null), { dev_sold: null, dev_sold_pct: null });
+});
+
+test('riskFlags applies the documented thresholds', () => {
+ const clean = { dev_sold: false };
+ assert.deepEqual(riskFlags(clean, { prior_launches: 0, prior_dev_exits: 0 }), []);
+ assert.deepEqual(riskFlags({ dev_sold: true }, { prior_launches: 0, prior_dev_exits: 0 }), ['dev_sold']);
+ assert.deepEqual(riskFlags(clean, { prior_launches: 1, prior_dev_exits: 1 }), ['prior_dev_exit']);
+ assert.deepEqual(riskFlags(clean, { prior_launches: 2, prior_dev_exits: FLAG_RULES.serialExitCount }), ['serial_exit']);
+ assert.deepEqual(riskFlags(clean, { prior_launches: FLAG_RULES.serialDeployerLaunches, prior_dev_exits: 0 }), ['serial_deployer']);
+});
+
+test('createReputation counts prior launches before the block and exits from balances', async () => {
+ const creator = '0x00000000000000000000000000000000000000c1';
+ const balances = { '0x01': 0n, '0x02': 400n };
+ const rep = createReputation({
+ multicall: async ({ contracts }) => contracts.map((c) => ({ status: 'success', result: balances[c.address] })),
+ }, { windowBlocks: 5000 });
+ rep.record({ creator, token: '0x01', blockNumber: 10n, allocation: 1000n });
+ rep.record({ creator, token: '0x02', blockNumber: 20n, allocation: 1000n });
+ rep.record({ creator, token: '0x02', blockNumber: 20n, allocation: 1000n });
+ rep.record({ creator, token: '0x03', blockNumber: 99n, allocation: 1000n });
+ assert.deepEqual(await rep.assess(creator, 50n), { prior_launches: 2, prior_dev_exits: 1, inspected: 2, window_blocks: 5000 });
+ assert.deepEqual(await rep.assess('0x00000000000000000000000000000000000000c2', 50n), { prior_launches: 0, prior_dev_exits: 0, inspected: 0, window_blocks: 5000 });
+});
+
+test('getMintLogs waits out an RPC rate limit and retries the same range instead of aborting the scan', async () => {
+ let hits = 0;
+ const waits = [];
+ const request = async ({ params: [f] }) => {
+ hits += 1;
+ if (hits <= 2) {
+ const err = new Error('RPC Request failed.');
+ err.cause = { code: 429, message: 'Rate Limit Hit, limit will reset in 60 seconds' };
+ throw err;
+ }
+ return [{ address: '0x1', blockNumber: f.fromBlock }];
+ };
+ const logs = await getMintLogs(request, 0n, 99n, { sleep: async (ms) => { waits.push(ms); } });
+ assert.equal(logs.length, 1);
+ assert.deepEqual(waits, [60_000, 60_000]);
+});
+
+test('getMintLogs still throws a non-transient error on the first attempt', async () => {
+ await assert.rejects(getMintLogs(async () => { throw new Error('invalid params shape'); }, 0n, 99n, { sleep: async () => {} }), /invalid params/);
+});