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: add hoodkit toolkit for Robinhood Chain with streaming, caching, batching, indexing, and strategy functionalities

fudjia9b719c458261
diff --git a/api/_lib/robinhood/abis.js b/api/_lib/robinhood/abis.js
deleted file mode 100644
index 96888b4b0..000000000
--- a/api/_lib/robinhood/abis.js
+++ /dev/null
@@ -1,124 +0,0 @@
-// Minimal ABIs for Robinhood Chain reads. Each was read from a verified
-// contract on Blockscout during the Wave-1 SDK build; this is the subset the
-// market-data handlers actually call (reads only — the write/swap ABIs the
-// purchase flow needs live client-side in src/robinhood/wallet.js).
-
-export const erc20Abi = [
- { type: 'function', name: 'name', stateMutability: 'view', inputs: [], outputs: [{ type: 'string' }] },
- { type: 'function', name: 'symbol', stateMutability: 'view', inputs: [], outputs: [{ type: 'string' }] },
- { type: 'function', name: 'decimals', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint8' }] },
- { type: 'function', name: 'totalSupply', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint256' }] },
- {
- type: 'function',
- name: 'balanceOf',
- stateMutability: 'view',
- inputs: [{ name: 'account', type: 'address' }],
- outputs: [{ type: 'uint256' }],
- },
-];
-
-// Stock Token = ERC-20 + ERC-8056 corporate-action surface (the two reads
-// trackers get wrong: uiMultiplier for share-equivalents, and the pause flags).
-export const stockTokenAbi = [
- ...erc20Abi,
- { type: 'function', name: 'uiMultiplier', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint256' }] },
- { type: 'function', name: 'newUIMultiplier', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint256' }] },
- { type: 'function', name: 'effectiveAt', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint256' }] },
- { type: 'function', name: 'tokenPaused', stateMutability: 'view', inputs: [], outputs: [{ type: 'bool' }] },
- { type: 'function', name: 'oraclePaused', stateMutability: 'view', inputs: [], outputs: [{ type: 'bool' }] },
-];
-
-export const aggregatorV3Abi = [
- { type: 'function', name: 'decimals', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint8' }] },
- { type: 'function', name: 'description', stateMutability: 'view', inputs: [], outputs: [{ type: 'string' }] },
- {
- type: 'function',
- name: 'latestRoundData',
- stateMutability: 'view',
- inputs: [],
- outputs: [
- { name: 'roundId', type: 'uint80' },
- { name: 'answer', type: 'int256' },
- { name: 'startedAt', type: 'uint256' },
- { name: 'updatedAt', type: 'uint256' },
- { name: 'answeredInRound', type: 'uint80' },
- ],
- },
-];
-
-export const uniswapV3FactoryAbi = [
- {
- type: 'function',
- name: 'getPool',
- stateMutability: 'view',
- inputs: [
- { name: 'tokenA', type: 'address' },
- { name: 'tokenB', type: 'address' },
- { name: 'fee', type: 'uint24' },
- ],
- outputs: [{ type: 'address' }],
- },
-];
-
-export const uniswapV3PoolAbi = [
- { type: 'function', name: 'token0', stateMutability: 'view', inputs: [], outputs: [{ type: 'address' }] },
- { type: 'function', name: 'token1', stateMutability: 'view', inputs: [], outputs: [{ type: 'address' }] },
- { type: 'function', name: 'liquidity', stateMutability: 'view', inputs: [], outputs: [{ type: 'uint128' }] },
- {
- type: 'function',
- name: 'slot0',
- stateMutability: 'view',
- inputs: [],
- outputs: [
- { name: 'sqrtPriceX96', type: 'uint160' },
- { name: 'tick', type: 'int24' },
- { name: 'observationIndex', type: 'uint16' },
- { name: 'observationCardinality', type: 'uint16' },
- { name: 'observationCardinalityNext', type: 'uint16' },
- { name: 'feeProtocol', type: 'uint8' },
- { name: 'unlocked', type: 'bool' },
- ],
- },
-];
-
-// Odyssey bonding-curve launch/trade events (mainnet). NOXA lists instantly so
-// its launch event carries the pool directly.
-export const noxaTokenLaunchedEvent = {
- type: 'event',
- name: 'TokenLaunched',
- inputs: [
- { name: 'token', type: 'address', indexed: true },
- { name: 'deployer', type: 'address', indexed: true },
- { name: 'dexFactory', type: 'address', indexed: true },
- { name: 'pairToken', type: 'address', indexed: false },
- { name: 'pool', type: 'address', indexed: false },
- { name: 'dexId', type: 'uint256', indexed: false },
- { name: 'launchConfigId', type: 'uint256', indexed: false },
- { name: 'positionId', type: 'uint256', indexed: false },
- { name: 'restrictionsEndBlock', type: 'uint256', indexed: false },
- { name: 'initialBuyAmount', type: 'uint256', indexed: false },
- ],
-};
-export const odysseyTokenCreatedEvent = {
- type: 'event',
- name: 'TokenCreated',
- inputs: [
- { name: 'token', type: 'address', indexed: true },
- { name: 'creator', type: 'address', indexed: true },
- { name: 'backingWallet', type: 'address', indexed: false },
- { name: 'isMarginBacked', type: 'bool', indexed: false },
- { name: 'threshold', type: 'uint256', indexed: false },
- ],
-};
-export const odysseyPoolMigratedEvent = {
- type: 'event',
- name: 'PoolMigrated',
- inputs: [
- { name: 'token', type: 'address', indexed: true },
- { name: 'pool', type: 'address', indexed: false },
- { name: 'tokenId', type: 'uint256', indexed: false },
- { name: 'liquidity', type: 'uint128', indexed: false },
- { name: 'tokenUsed', type: 'uint256', indexed: false },
- { name: 'usdcUsed', type: 'uint256', indexed: false },
- ],
-};
diff --git a/api/_lib/robinhood/addresses.js b/api/_lib/robinhood/addresses.js
deleted file mode 100644
index 3b31199cc..000000000
--- a/api/_lib/robinhood/addresses.js
+++ /dev/null
@@ -1,64 +0,0 @@
-// Canonical Robinhood Chain contract addresses + protocol constants.
-//
-// Every address here was verified on-chain during the Wave-1 SDK build
-// (robinhood/robinhood-chain-sdk/src/addresses.ts) and cross-checked against
-// https://docs.robinhood.com/chain/contracts and Blockscout. This module is
-// the app-side mirror of that verified set — kept in sync by hand rather than
-// importing the sibling TS repo (which the serverless bundle can't resolve).
-
-export const MAINNET = {
- usdg: '0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168',
- weth: '0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73',
- uniswapV3Factory: '0x1f7d7550B1b028f7571E69A784071F0205FD2EfA',
- quoterV2: '0x33e885eD0Ec9bF04EcfB19341582aADCb4c8A9E7',
- swapRouter02: '0xCaf681a66D020601342297493863E78C959E5cb2',
- universalRouter: '0x53BF6B0684Ec7eF91e1387Da3D1a1769bC5A6F77',
- nonfungiblePositionManager: '0x73991a25C818Bf1f1128dEAaB1492D45638DE0D3',
- multicall3: '0xca11bde05977b3631167028862be2a173976ca11',
-};
-
-export const TESTNET = {
- usdg: '0x7E955252E15c84f5768B83c41a71F9eba181802F',
- weth: '0x7943e237c7F95DA44E0301572D358911207852Fa',
- uniswapV3Factory: '0x0BFbCF9fa4f9C56B0F40a671Ad40E0805A091865',
- quoterV2: '0xcf05Fc31A6B693DD0bEB76e958ae4BCD490dc985',
- swapRouter: '0x1b81D678ffb9C0263b24A97847620C99d213eB14',
- nonfungiblePositionManager: '0x46A15B0b27311cedF172AB29E4f4766fbE7F4364',
- multicall3: '0xca11bde05977b3631167028862be2a173976ca11',
-};
-
-// Faucet-dripped test Stock Tokens on testnet 46630 (plain ERC-20s, 18 dec).
-export const TESTNET_STOCK_TOKENS = {
- TSLA: '0xC9f9c86933092BbbfFF3CCb4b105A4A94bf3Bd4E',
- AMZN: '0x5884aD2f920c162CFBbACc88C9C51AA75eC09E02',
- PLTR: '0x1FBE1a0e43594b3455993B5dE5Fd0A7A266298d0',
- NFLX: '0x3b8262A63d25f0477c4DDE23F83cfe22Cb768C93',
- AMD: '0x71178BAc73cBeb415514eB542a8995b82669778d',
-};
-
-// Memecoin launchpad factories (mainnet 4663) — from the Wave-1 SDK's
-// launchpads.ts, extracted from each platform's frontend bundle and confirmed
-// against live logs. Neither publishes verified source on Blockscout.
-export const NOXA = {
- launchFactory: '0xD9eC2db5f3D1b236843925949fe5bd8a3836FCcB',
- deployBlock: 61688n,
-};
-export const ODYSSEY = {
- bondingCurveFactory: '0xEb3FeeD2716cF0eEAda05B22e67424794e1f5a80',
- reflectionFactory: '0x6Ce85c4b7cE12903E5867652C265bCcce57f935F',
- instantFactory: '0xD7601cEe401306fdea5833c6898181D9c770F800',
-};
-export const ODYSSEY_FACTORIES = [
- ODYSSEY.bondingCurveFactory,
- ODYSSEY.reflectionFactory,
- ODYSSEY.instantFactory,
-];
-
-export function addressesFor(network = 'mainnet') {
- return network === 'testnet' ? TESTNET : MAINNET;
-}
-
-export const USDG_DECIMALS = 6;
-export const STOCK_TOKEN_DECIMALS = 18;
-export const FEED_DECIMALS = 8;
-export const V3_FEE_TIERS = [100, 500, 3000, 10000];
diff --git a/api/_lib/robinhood/chain.js b/api/_lib/robinhood/chain.js
deleted file mode 100644
index de16f7868..000000000
--- a/api/_lib/robinhood/chain.js
+++ /dev/null
@@ -1,94 +0,0 @@
-// Robinhood Chain — viem chain definitions + read-only public clients.
-//
-// Robinhood Chain is a permissionless Arbitrum Orbit L2 that settles to
-// Ethereum (ETH gas, ~100ms blocks). The three.ws app pins viem ^2.52, which
-// predates viem's official `robinhood` / `robinhoodTestnet` chain exports
-// (added in 2.55), so we define the chains here with `defineChain` from the
-// SAME verified constants the Wave-1 SDK uses (RPC / explorer / multicall3).
-// When the app's viem is bumped to ≥2.55 these can be swapped for the official
-// exports without touching any handler.
-//
-// RPC: the public sequencer RPC works for reads out of the box. Set
-// ROBINHOOD_RPC_URL (e.g. an Alchemy `robinhood-mainnet.g.alchemy.com/v2/…`
-// endpoint) to route through a reliable paid node; ROBINHOOD_TESTNET_RPC_URL
-// overrides the testnet RPC. Both fall back to the public endpoints.
-
-import { createPublicClient, defineChain, http, fallback } from 'viem';
-
-// ── verified endpoints (prompts/robinhood-chain/_shared.md, cross-checked
-// against the SDK's addresses.ts and live on 2026-07-12) ─────────────────────
-export const MAINNET_RPC = 'https://rpc.mainnet.chain.robinhood.com';
-export const TESTNET_RPC = 'https://rpc.testnet.chain.robinhood.com';
-export const MAINNET_EXPLORER = 'https://robinhoodchain.blockscout.com';
-export const TESTNET_EXPLORER = 'https://explorer.testnet.chain.robinhood.com';
-export const MULTICALL3 = '0xca11bde05977b3631167028862be2a173976ca11';
-
-const MAINNET_RPC_URL = process.env.ROBINHOOD_RPC_URL || MAINNET_RPC;
-const TESTNET_RPC_URL = process.env.ROBINHOOD_TESTNET_RPC_URL || TESTNET_RPC;
-
-export const robinhood = defineChain({
- id: 4663,
- name: 'Robinhood Chain',
- nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
- rpcUrls: {
- default: { http: [MAINNET_RPC_URL], webSocket: ['wss://feed.mainnet.chain.robinhood.com'] },
- },
- blockExplorers: {
- default: { name: 'Blockscout', url: MAINNET_EXPLORER, apiUrl: `${MAINNET_EXPLORER}/api` },
- },
- contracts: { multicall3: { address: MULTICALL3 } },
-});
-
-export const robinhoodTestnet = defineChain({
- id: 46630,
- name: 'Robinhood Chain Testnet',
- testnet: true,
- nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
- rpcUrls: { default: { http: [TESTNET_RPC_URL] } },
- blockExplorers: {
- default: { name: 'Blockscout', url: TESTNET_EXPLORER, apiUrl: `${TESTNET_EXPLORER}/api` },
- },
- contracts: { multicall3: { address: MULTICALL3 } },
-});
-
-// One public client per network, created lazily and memoised. Multicall
-// batching is on so a 95-token fan-out collapses to one eth_call. When a
-// custom RPC is configured we still keep the public sequencer RPC as a
-// fallback transport so a paid-node blip degrades to public reads rather than
-// erroring the whole handler.
-const clients = new Map();
-
-function transportFor(network) {
- const primary = network === 'testnet' ? TESTNET_RPC_URL : MAINNET_RPC_URL;
- const publicRpc = network === 'testnet' ? TESTNET_RPC : MAINNET_RPC;
- const opts = { timeout: 12_000, retryCount: 2 };
- if (primary === publicRpc) return http(primary, opts);
- // Configured node first, public sequencer RPC as the failover leg.
- return fallback([http(primary, opts), http(publicRpc, opts)]);
-}
-
-export function hoodClient(network = 'mainnet') {
- const key = network === 'testnet' ? 'testnet' : 'mainnet';
- if (clients.has(key)) return clients.get(key);
- const client = createPublicClient({
- chain: key === 'testnet' ? robinhoodTestnet : robinhood,
- transport: transportFor(key),
- batch: { multicall: { wait: 16, batchSize: 1024 } },
- });
- clients.set(key, client);
- return client;
-}
-
-export function explorerFor(network = 'mainnet') {
- return network === 'testnet' ? TESTNET_EXPLORER : MAINNET_EXPLORER;
-}
-
-/** Blockscout links for an address / tx on the given network. */
-export function explorerLinks(network = 'mainnet') {
- const base = explorerFor(network);
- return {
- address: (a) => `${base}/address/${a}`,
- token: (a) => `${base}/token/${a}`,
- tx: (h) => `${base}/tx/${h}`,
- };
-}
diff --git a/api/_lib/robinhood/handler-util.js b/api/_lib/robinhood/handler-util.js
deleted file mode 100644
index f4b6e55a5..000000000
--- a/api/_lib/robinhood/handler-util.js
+++ /dev/null
@@ -1,25 +0,0 @@
-// Shared bits for the api/v1/robinhood/* handlers: network parsing and the
-// dedicated per-IP rate-limit gate (the play-lobby-429 lesson — a busy board
-// gets its OWN bucket instead of draining the shared read budget).
-
-import { fail } from '../gateway.js';
-import { limits, clientIp } from '../rate-limit.js';
-
-/** Resolve the ?network= param to 'mainnet' | 'testnet' (default mainnet). */
-export function resolveNetwork(query) {
- const n = String(query.network || 'mainnet').toLowerCase();
- if (n === 'testnet' || n === '46630') return 'testnet';
- if (n === 'mainnet' || n === '4663' || n === '') return 'mainnet';
- fail(400, 'invalid_network', 'network must be "mainnet" or "testnet"');
- return 'mainnet';
-}
-
-/** Enforce the dedicated robinhood bucket; 429 with Retry-After on trip. */
-export async function gateRobinhood(ctx) {
- const ip = ctx.ip || clientIp(ctx.req);
- const rl = await limits.robinhoodIp(ip);
- if (!rl.success) {
- const retry = Math.max(1, Math.ceil((rl.reset - Date.now()) / 1000));
- fail(429, 'rate_limited', `Robinhood market data is busy — retry in ${retry}s`);
- }
-}
diff --git a/api/_lib/robinhood/market.js b/api/_lib/robinhood/market.js
deleted file mode 100644
index 0e7b996ee..000000000
--- a/api/_lib/robinhood/market.js
+++ /dev/null
@@ -1,511 +0,0 @@
-// Robinhood Chain market-data engine.
-//
-// The one place that turns on-chain reads + public data providers into the
-// normalized shapes the /api/v1/robinhood/* handlers serve. Everything here is
-// cached with a short TTL (cacheWrap) so a burst of board views collapses to
-// one multicall sweep — the stocks board never fans out 95 RPC calls per
-// request (CLAUDE.md perf rule).
-//
-// Correctness invariants (the two mistakes generic trackers make — verified
-// against the Wave-1 SDK's stocks.ts):
-// 1. Chainlink Robinhood feeds are ALREADY multiplier-adjusted. The feed
-// answer is the price per TOKEN; never re-apply uiMultiplier to it.
-// 2. Share-equivalent units = balance × uiMultiplier ÷ 1e18. Raw token
-// balances understate positions after splits/reinvested dividends.
-
-import { formatUnits } from 'viem';
-import { cacheWrap } from '../cache.js';
-import { hoodClient, explorerLinks, MAINNET_EXPLORER } from './chain.js';
-import { addressesFor, NOXA, ODYSSEY_FACTORIES, V3_FEE_TIERS, USDG_DECIMALS } from './addresses.js';
-import {
- erc20Abi,
- stockTokenAbi,
- aggregatorV3Abi,
- uniswapV3FactoryAbi,
- uniswapV3PoolAbi,
- noxaTokenLaunchedEvent,
- odysseyTokenCreatedEvent,
-} from './abis.js';
-import { listStockTokens, getStockToken, registryMeta } from './registry.js';
-
-// Stock feeds update 24/5 (market hours); a Saturday read of a Friday-close
-// answer is normal, not stale. 72h tolerates the weekend gap.
-const MAX_FEED_AGE_SECONDS = 3 * 24 * 60 * 60;
-const ONE_E18 = 10n ** 18n;
-
-const nowSec = () => Math.floor(Date.now() / 1000);
-
-// ── Uniswap v3 pool price ────────────────────────────────────────────────────
-// Human price of token0 denominated in token1 from a v3 slot0 sqrtPriceX96.
-function poolPriceToken0InToken1(sqrtPriceX96, dec0, dec1) {
- const sqrt = Number(sqrtPriceX96) / 2 ** 96;
- const raw = sqrt * sqrt; // token1/token0 in base units
- return raw * 10 ** (dec0 - dec1);
-}
-
-/**
- * Discover the deepest USDG pool for each Stock Token and read its mid price,
- * in one multicall sweep. Returns Map<tokenAddressLower, { priceUsd, pool, fee,
- * liquidity }>. USDG is the chain's 6-decimal dollar stablecoin, so a USDG pool
- * gives a direct USD quote with no second oracle hop. Tokens with no USDG pool
- * simply get no DEX price (premium shown only where it can be computed
- * honestly).
- */
-async function dexUsdgPrices(client, tokens, network) {
- const { usdg, uniswapV3Factory } = addressesFor(network);
- // Round 1: getPool(token, usdg, fee) for every token × fee tier.
- const poolCalls = [];
- for (const t of tokens) {
- for (const fee of V3_FEE_TIERS) {
- poolCalls.push({ address: uniswapV3Factory, abi: uniswapV3FactoryAbi, functionName: 'getPool', args: [t.address, usdg, fee] });
- }
- }
- const poolRes = await client.multicall({ contracts: poolCalls, allowFailure: true });
-
- const ZERO = '0x0000000000000000000000000000000000000000';
- const candidates = []; // { token, pool, fee }
- poolRes.forEach((r, i) => {
- if (!r || r.status !== 'success') return;
- const pool = r.result;
- if (!pool || pool === ZERO) return;
- const tokenIdx = Math.floor(i / V3_FEE_TIERS.length);
- const fee = V3_FEE_TIERS[i % V3_FEE_TIERS.length];
- candidates.push({ token: tokens[tokenIdx], pool, fee });
- });
- if (candidates.length === 0) return new Map();
-
- // Round 2: slot0 + token0 + liquidity for each candidate pool.
- const detailCalls = candidates.flatMap((c) => [
- { address: c.pool, abi: uniswapV3PoolAbi, functionName: 'slot0' },
- { address: c.pool, abi: uniswapV3PoolAbi, functionName: 'token0' },
- { address: c.pool, abi: uniswapV3PoolAbi, functionName: 'liquidity' },
- ]);
- const detailRes = await client.multicall({ contracts: detailCalls, allowFailure: true });
-
- const best = new Map(); // tokenLower -> { priceUsd, pool, fee, liquidity }
- candidates.forEach((c, i) => {
- const slot0 = detailRes[i * 3];
- const token0 = detailRes[i * 3 + 1];
- const liq = detailRes[i * 3 + 2];
- if (!slot0 || slot0.status !== 'success' || !token0 || token0.status !== 'success') return;
- const sqrtPriceX96 = slot0.result[0];
- if (!sqrtPriceX96 || sqrtPriceX96 === 0n) return;
- const stockIsToken0 = String(token0.result).toLowerCase() === c.token.address.toLowerCase();
- const dec0 = stockIsToken0 ? c.token.decimals : USDG_DECIMALS;
- const dec1 = stockIsToken0 ? USDG_DECIMALS : c.token.decimals;
- const p = poolPriceToken0InToken1(sqrtPriceX96, dec0, dec1); // token1 per token0
- const usdgPerStock = stockIsToken0 ? p : p === 0 ? 0 : 1 / p;
- if (!Number.isFinite(usdgPerStock) || usdgPerStock <= 0) return;
- const liquidity = liq && liq.status === 'success' ? liq.result : 0n;
- const key = c.token.address.toLowerCase();
- const prev = best.get(key);
- // Prefer the pool with the most in-range liquidity.
- if (!prev || liquidity > prev._liq) {
- best.set(key, { priceUsd: usdgPerStock, pool: c.pool, fee: c.fee, _liq: liquidity });
- }
- });
- return best;
-}
-
-// ── Stocks board snapshot ────────────────────────────────────────────────────
-async function buildStocksSnapshot(network) {
- const client = hoodClient(network);
- const tokens = listStockTokens();
- const feedTokens = tokens.filter((t) => t.feed);
-
- // One multicall: uiMultiplier + pause flags for all, latestRoundData for the
- // feed-bearing ones.
- const baseCalls = tokens.flatMap((t) => [
- { address: t.address, abi: stockTokenAbi, functionName: 'uiMultiplier' },
- { address: t.address, abi: stockTokenAbi, functionName: 'tokenPaused' },
- ]);
- const feedCalls = feedTokens.map((t) => ({ address: t.feed, abi: aggregatorV3Abi, functionName: 'latestRoundData' }));
-
- const [baseRes, feedRes, dexPrices] = await Promise.all([
- client.multicall({ contracts: baseCalls, allowFailure: true }),
- feedCalls.length ? client.multicall({ contracts: feedCalls, allowFailure: true }) : Promise.resolve([]),
- dexUsdgPrices(client, feedTokens, network).catch(() => new Map()),
- ]);
-
- const quoteByFeedIdx = new Map();
- feedTokens.forEach((t, i) => {
- const r = feedRes[i];
- if (!r || r.status !== 'success') return;
- const [roundId, answer, , updatedAt] = r.result;
- if (answer <= 0n || updatedAt === 0n) return;
- const dec = t.feedDecimals ?? 8;
- const age = Math.max(0, nowSec() - Number(updatedAt));
- quoteByFeedIdx.set(t.symbol, {
- priceUsd: Number(formatUnits(answer, dec)),
- roundId: roundId.toString(),
- updatedAt: Number(updatedAt),
- ageSeconds: age,
- stale: age > MAX_FEED_AGE_SECONDS,
- });
- });
-
- const links = explorerLinks(network);
- const rows = tokens.map((t, i) => {
- const uiMultiplier = baseRes[i * 2]?.status === 'success' ? baseRes[i * 2].result : ONE_E18;
- const paused = baseRes[i * 2 + 1]?.status === 'success' ? Boolean(baseRes[i * 2 + 1].result) : false;
- const quote = t.feed ? quoteByFeedIdx.get(t.symbol) || null : null;
- const dex = dexPrices.get(t.address.toLowerCase()) || null;
- const chainlinkPrice = quote && !quote.stale ? quote.priceUsd : null;
- const dexPrice = dex ? dex.priceUsd : null;
- const premium =
- chainlinkPrice && dexPrice && chainlinkPrice > 0 ? (dexPrice - chainlinkPrice) / chainlinkPrice : null;
- return {
- symbol: t.symbol,
- name: t.name,
- address: t.address,
- decimals: t.decimals,
- feed: t.feed,
- uiMultiplier: uiMultiplier.toString(),
- uiMultiplierFloat: Number(formatUnits(uiMultiplier, 18)),
- paused,
- chainlinkPrice,
- feedRoundId: quote?.roundId ?? null,
- feedUpdatedAt: quote?.updatedAt ?? null,
- feedAgeSeconds: quote?.ageSeconds ?? null,
- feedStale: quote?.stale ?? null,
- dexPrice,
- dexPool: dex?.pool ?? null,
- dexFeeTier: dex?.fee ?? null,
- premium, // fraction: (dex - chainlink) / chainlink
- explorer: { token: links.token(t.address), feed: t.feed ? links.address(t.feed) : null },
- };
- });
-
- // Priced first (by |premium| then price), then feed-only, then unpriced.
- rows.sort((a, b) => {
- const ap = a.chainlinkPrice ?? -1;
- const bp = b.chainlinkPrice ?? -1;
- if ((bp >= 0) !== (ap >= 0)) return bp >= 0 ? 1 : -1;
- return bp - ap;
- });
-
- const meta = registryMeta();
- return {
- asOf: new Date().toISOString(),
- network,
- source: 'onchain:chainlink+uniswap-v3',
- chainId: network === 'testnet' ? 46630 : 4663,
- count: rows.length,
- pricedCount: rows.filter((r) => r.chainlinkPrice != null).length,
- dexPricedCount: rows.filter((r) => r.dexPrice != null).length,
- registry: meta,
- stocks: rows,
- };
-}
-
-export function stocksSnapshot(network = 'mainnet') {
- return cacheWrap(`rh:stocks:${network}`, 45, () => buildStocksSnapshot(network));
-}
-
-// ── Single Stock Token detail ────────────────────────────────────────────────
-async function buildStockDetail(symbol, network) {
- const token = getStockToken(symbol);
- if (!token) return null;
- // Reuse the board snapshot (cached) for the priced row, then add the
- // per-token corporate-action reads the board omits.
- const [snap, extra] = await Promise.all([
- stocksSnapshot(network),
- hoodClient(network)
- .multicall({
- contracts: [
- { address: token.address, abi: stockTokenAbi, functionName: 'totalSupply' },
- { address: token.address, abi: stockTokenAbi, functionName: 'newUIMultiplier' },
- { address: token.address, abi: stockTokenAbi, functionName: 'effectiveAt' },
- { address: token.address, abi: stockTokenAbi, functionName: 'oraclePaused' },
- ],
- allowFailure: true,
- })
- .catch(() => []),
- ]);
- const row = snap.stocks.find((r) => r.symbol === token.symbol) || null;
- const val = (i) => (extra[i]?.status === 'success' ? extra[i].result : null);
- const totalSupply = val(0);
- const newMultiplier = val(1);
- const effectiveAt = val(2);
- const oraclePaused = val(3);
- return {
- asOf: new Date().toISOString(),
- network,
- source: 'onchain:chainlink+uniswap-v3',
- ...row,
- symbol: token.symbol,
- name: token.name,
- address: token.address,
- totalSupply: totalSupply != null ? totalSupply.toString() : null,
- totalSupplyFloat: totalSupply != null ? Number(formatUnits(totalSupply, token.decimals)) : null,
- pendingMultiplier: newMultiplier != null && newMultiplier > 0n ? newMultiplier.toString() : null,
- pendingMultiplierEffectiveAt: effectiveAt != null && effectiveAt > 0n ? Number(effectiveAt) : null,
- oraclePaused: oraclePaused != null ? Boolean(oraclePaused) : null,
- legal:
- 'Tokenized debt security (issuer: Robinhood Assets (Jersey) Ltd). May not be offered, ' +
- 'sold, or delivered to US persons (additional limits: Canada, UK, Switzerland).',
- };
-}
-
-export function stockDetail(symbol, network = 'mainnet') {
- return cacheWrap(`rh:stock:${network}:${String(symbol).toUpperCase()}`, 30, () => buildStockDetail(symbol, network));
-}
-
-// ── Chain stats (DefiLlama TVL series + live block/gas) ──────────────────────
-async function fetchJson(url, opts = {}) {
- const res = await fetch(url, { headers: { accept: 'application/json' }, signal: AbortSignal.timeout(12_000), ...opts });
- if (!res.ok) {
- const e = new Error(`upstream ${url} → ${res.status}`);
- e.status = res.status;
- throw e;
- }
- return res.json();
-}
-
-async function buildChainStats(network) {
- const client = hoodClient(network);
- const [chainMeta, tvlSeries, live] = await Promise.all([
- // Only mainnet is indexed by DefiLlama; testnet skips the TVL legs.
- network === 'testnet'
- ? Promise.resolve(null)
- : fetchJson('https://api.llama.fi/v2/chains').then((all) =>
- Array.isArray(all) ? all.find((c) => c.name === 'Robinhood Chain') || null : null,
- ).catch(() => null),
- network === 'testnet'
- ? Promise.resolve([])
- : fetchJson('https://api.llama.fi/v2/historicalChainTvl/robinhood-chain')
- .then((s) => (Array.isArray(s) ? s.slice(-90).map((p) => ({ date: p.date, tvl: p.tvl })) : []))
- .catch(() => []),
- Promise.all([client.getBlockNumber(), client.getGasPrice()])
- .then(([blockNumber, gasPrice]) => ({
- blockNumber: blockNumber.toString(),
- gasPriceWei: gasPrice.toString(),
- gasPriceGwei: Number(formatUnits(gasPrice, 9)),
- }))
- .catch(() => null),
- ]);
-
- const tvlNow = tvlSeries.length ? tvlSeries[tvlSeries.length - 1].tvl : chainMeta?.tvl ?? null;
- const tvlPrev = tvlSeries.length > 1 ? tvlSeries[tvlSeries.length - 2].tvl : null;
- return {
- asOf: new Date().toISOString(),
- network,
- source: network === 'testnet' ? 'onchain' : 'defillama+onchain',
- chainId: network === 'testnet' ? 46630 : 4663,
- name: 'Robinhood Chain',
- explorer: network === 'testnet' ? undefined : MAINNET_EXPLORER,
- tvlUsd: tvlNow,
- tvlChange1d: tvlNow != null && tvlPrev ? (tvlNow - tvlPrev) / tvlPrev : null,
- tvlSeries,
- block: live,
- stockTokenCount: registryMeta().tokenCount,
- feedCount: registryMeta().feedCount,
- };
-}
-
-export function chainStats(network = 'mainnet') {
- return cacheWrap(`rh:chain:${network}`, 60, () => buildChainStats(network));
-}
-
-// ── Memecoin screener (CoinGecko categories + GeckoTerminal pools) ───────────
-function normalizeCoinRow(c) {
- return {
- id: c.id,
- symbol: c.symbol,
- name: c.name,
- image: c.image ?? null,
- priceUsd: c.current_price ?? null,
- marketCapUsd: c.market_cap ?? null,
- marketCapRank: c.market_cap_rank ?? null,
- fdvUsd: c.fully_diluted_valuation ?? null,
- volume24hUsd: c.total_volume ?? null,
- change24h: c.price_change_percentage_24h ?? null,
- change7d: c.price_change_percentage_7d_in_currency ?? null,
- sparkline: Array.isArray(c.sparkline_in_7d?.price) ? c.sparkline_in_7d.price : null,
- high24h: c.high_24h ?? null,
- low24h: c.low_24h ?? null,
- ath: c.ath ?? null,
- athChange: c.ath_change_percentage ?? null,
- lastUpdated: c.last_updated ?? null,
- };
-}
-
-async function buildCoinsScreener() {
- const [meme, stocksEco, gtNew] = await Promise.all([
- fetchJson(
- 'https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&category=robinhood-chain-meme' +
- '&order=market_cap_desc&per_page=100&page=1&sparkline=true&price_change_percentage=7d',
- ).catch(() => []),
- fetchJson(
- 'https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&category=robinhood-chain-stocks-ecosystem' +
- '&order=market_cap_desc&per_page=50&page=1&sparkline=true&price_change_percentage=7d',
- ).catch(() => []),
- // GeckoTerminal new pools surface fresh launches CoinGecko hasn't indexed
- // yet (best-effort — public GT is aggressively rate-limited).
- fetchJson('https://api.geckoterminal.com/api/v2/networks/robinhood/new_pools?page=1')
- .then((d) => (Array.isArray(d?.data) ? d.data : []))
- .catch(() => []),
- ]);
-
- const memeRows = (Array.isArray(meme) ? meme : []).map(normalizeCoinRow);
- const ecoRows = (Array.isArray(stocksEco) ? stocksEco : []).map(normalizeCoinRow);
- const trending = [...memeRows].sort((a, b) => (b.volume24hUsd || 0) - (a.volume24hUsd || 0)).slice(0, 20);
- const gainers = [...memeRows].filter((r) => r.change24h != null).sort((a, b) => b.change24h - a.change24h).slice(0, 10);
-
- const newPools = gtNew.slice(0, 20).map((p) => {
- const a = p.attributes || {};
- return {
- pool: a.address ?? null,
- name: a.name ?? null,
- priceUsd: a.base_token_price_usd != null ? Number(a.base_token_price_usd) : null,
- fdvUsd: a.fdv_usd != null ? Number(a.fdv_usd) : null,
- volume24hUsd: a.volume_usd?.h24 != null ? Number(a.volume_usd.h24) : null,
- createdAt: a.pool_created_at ?? null,
- base: p.relationships?.base_token?.data?.id ?? null,
- };
- });
-
- return {
- asOf: new Date().toISOString(),
- network: 'mainnet',
- source: 'coingecko+geckoterminal',
- meme: memeRows,
- stocksEcosystem: ecoRows,
- trending,
- gainers,
- newPools,
- counts: { meme: memeRows.length, stocksEcosystem: ecoRows.length, newPools: newPools.length },
- };
-}
-
-export function coinsScreener() {
- return cacheWrap('rh:coins', 60, buildCoinsScreener);
-}
-
-// ── Coin detail (CoinGecko contract lookup + GeckoTerminal pool) ─────────────
-async function buildCoinDetail(address) {
- const addr = String(address).toLowerCase();
- const [cg, gt] = await Promise.all([
- fetchJson(
- `https://api.coingecko.com/api/v3/coins/robinhood/contract/${addr}`,
- ).catch(() => null),
- fetchJson(`https://api.geckoterminal.com/api/v2/networks/robinhood/tokens/${addr}/pools?page=1`)
- .then((d) => (Array.isArray(d?.data) ? d.data : []))
- .catch(() => []),
- ]);
-
- const md = cg?.market_data || {};
- const usd = (o) => (o && typeof o === 'object' ? o.usd : null);
- const links = explorerLinks('mainnet');
- const pools = gt.slice(0, 10).map((p) => {
- const a = p.attributes || {};
- return {
- pool: a.address ?? null,
- name: a.name ?? null,
- dex: p.relationships?.dex?.data?.id ?? null,
- priceUsd: a.base_token_price_usd != null ? Number(a.base_token_price_usd) : null,
- volume24hUsd: a.volume_usd?.h24 != null ? Number(a.volume_usd.h24) : null,
- reserveUsd: a.reserve_in_usd != null ? Number(a.reserve_in_usd) : null,
- change24h: a.price_change_percentage?.h24 != null ? Number(a.price_change_percentage.h24) : null,
- createdAt: a.pool_created_at ?? null,
- };
- });
- const topPool = pools.slice().sort((a, b) => (b.reserveUsd || 0) - (a.reserveUsd || 0))[0] || null;
-
- return {
- asOf: new Date().toISOString(),
- network: 'mainnet',
- source: 'coingecko+geckoterminal',
- address,
- id: cg?.id ?? null,
- symbol: cg?.symbol ?? null,
- name: cg?.name ?? null,
- image: cg?.image?.large ?? cg?.image?.small ?? null,
- description: typeof cg?.description?.en === 'string' ? cg.description.en.slice(0, 800) : null,
- priceUsd: usd(md.current_price) ?? topPool?.priceUsd ?? null,
- marketCapUsd: usd(md.market_cap) ?? null,
- fdvUsd: usd(md.fully_diluted_valuation) ?? null,
- volume24hUsd: usd(md.total_volume) ?? topPool?.volume24hUsd ?? null,
- change24h: md.price_change_percentage_24h ?? topPool?.change24h ?? null,
- change7d: md.price_change_percentage_7d ?? null,
- high24h: usd(md.high_24h) ?? null,
- low24h: usd(md.low_24h) ?? null,
- ath: usd(md.ath) ?? null,
- athChange: usd(md.ath_change_percentage) ?? null,
- circulatingSupply: md.circulating_supply ?? null,
- totalSupply: md.total_supply ?? null,
- topPool,
- pools,
- explorer: { token: links.token(address), address: links.address(address) },
- };
-}
-
-export function coinDetail(address) {
- return cacheWrap(`rh:coin:${String(address).toLowerCase()}`, 45, () => buildCoinDetail(address));
-}
-
-// ── Recent launchpad activity (NOXA + The Odyssey via eth_getLogs) ───────────
-async function buildLaunches(network) {
- if (network === 'testnet') {
- return { asOf: new Date().toISOString(), network, source: 'onchain:logs', launches: [], note: 'launchpads are mainnet-only' };
- }
- const client = hoodClient(network);
- const latest = await client.getBlockNumber();
- // ~100ms blocks → 120k blocks ≈ the last few hours. Chunked for public-RPC
- // limits (launches are infrequent, so a wider window keeps the board useful).
- const lookback = 120_000n;
- const chunk = 10_000n;
- const fromBlock = latest > lookback ? latest - lookback : 0n;
- const links = explorerLinks(network);
- const launches = [];
-
- for (let start = fromBlock; start <= latest; start += chunk) {
- const end = start + chunk - 1n > latest ? latest : start + chunk - 1n;
- const [noxaLogs, odysseyLogs] = await Promise.all([
- client
- .getLogs({ address: NOXA.launchFactory, event: noxaTokenLaunchedEvent, fromBlock: start, toBlock: end })
- .catch(() => []),
- client
- .getLogs({ address: ODYSSEY_FACTORIES, event: odysseyTokenCreatedEvent, fromBlock: start, toBlock: end })
- .catch(() => []),
- ]);
- for (const log of noxaLogs) {
- launches.push({
- launchpad: 'noxa',
- token: log.args.token,
- creator: log.args.deployer,
- pool: log.args.pool ?? null,
- status: 'listed', // NOXA lists instantly (no bonding curve)
- blockNumber: Number(log.blockNumber),
- txHash: log.transactionHash,
- explorer: { token: links.token(log.args.token), tx: links.tx(log.transactionHash) },
- });
- }
- for (const log of odysseyLogs) {
- launches.push({
- launchpad: 'odyssey',
- token: log.args.token,
- creator: log.args.creator,
- pool: null,
- status: 'bonding', // on the curve until PoolMigrated
- blockNumber: Number(log.blockNumber),
- txHash: log.transactionHash,
- explorer: { token: links.token(log.args.token), tx: links.tx(log.transactionHash) },
- });
- }
- }
- launches.sort((a, b) => b.blockNumber - a.blockNumber);
- return {
- asOf: new Date().toISOString(),
- network,
- source: 'onchain:logs',
- latestBlock: Number(latest),
- lookbackBlocks: Number(lookback),
- count: launches.length,
- launches: launches.slice(0, 100),
- };
-}
-
-export function recentLaunches(network = 'mainnet') {
- return cacheWrap(`rh:launches:${network}`, 30, () => buildLaunches(network));
-}
diff --git a/api/_lib/robinhood/registry.js b/api/_lib/robinhood/registry.js
deleted file mode 100644
index dc3955e70..000000000
--- a/api/_lib/robinhood/registry.js
+++ /dev/null
@@ -1,75 +0,0 @@
-// Robinhood Chain Stock Token registry accessor.
-//
-// The registry (stock-tokens.json) is the verified snapshot produced by the
-// Wave-1 SDK build: 95 canonical Stock Tokens (ERC-20, 18 decimals) discovered
-// via Blockscout's "• Robinhood Token" name pattern, each cross-checked
-// on-chain (shared beacon slot, symbol/decimals/uiMultiplier multicall) and 34
-// of them mapped to a live Chainlink price feed. It ships with the app so the
-// stocks board never has to re-discover tokens on the hot path.
-//
-// JSON import assertion syntax varies across Node versions; read + parse the
-// file once at module load (works on every runtime the app targets).
-
-import { readFileSync } from 'node:fs';
-import { fileURLToPath } from 'node:url';
-import { dirname, join } from 'node:path';
-
-const HERE = dirname(fileURLToPath(import.meta.url));
-
-let _registry = null;
-function load() {
- if (_registry) return _registry;
- const raw = JSON.parse(readFileSync(join(HERE, 'stock-tokens.json'), 'utf8'));
- const tokens = Array.isArray(raw.tokens) ? raw.tokens : [];
- const bySymbol = new Map();
- const byAddress = new Map();
- for (const t of tokens) {
- bySymbol.set(t.symbol.toUpperCase(), t);
- byAddress.set(t.address.toLowerCase(), t);
- }
- _registry = {
- chainId: raw.chainId,
- generatedAtBlock: raw.generatedAtBlock,
- stockBeacon: raw.stockBeacon,
- tokenCount: raw.tokenCount,
- feedCount: raw.feedCount,
- tokens,
- bySymbol,
- byAddress,
- };
- return _registry;
-}
-
-/** All 95 canonical Stock Tokens (registry order = alphabetical by symbol). */
-export function listStockTokens() {
- return load().tokens;
-}
-
-/** Look up one Stock Token by symbol (case-insensitive), or null. */
-export function getStockToken(symbol) {
- if (!symbol) return null;
- return load().bySymbol.get(String(symbol).toUpperCase()) || null;
-}
-
-/** Look up one Stock Token by contract address (case-insensitive), or null. */
-export function getStockTokenByAddress(address) {
- if (!address) return null;
- return load().byAddress.get(String(address).toLowerCase()) || null;
-}
-
-/** True when `address` is a canonical Stock Token (used to gate acquisition). */
-export function isStockTokenAddress(address) {
- return Boolean(getStockTokenByAddress(address));
-}
-
-/** Registry metadata (counts, beacon, generation block). */
-export function registryMeta() {
- const r = load();
- return {
- chainId: r.chainId,
- generatedAtBlock: r.generatedAtBlock,
- stockBeacon: r.stockBeacon,
- tokenCount: r.tokenCount,
- feedCount: r.feedCount,
- };
-}
diff --git a/api/_lib/robinhood/stock-tokens.json b/api/_lib/robinhood/stock-tokens.json
deleted file mode 100644
index 80dee6c98..000000000
--- a/api/_lib/robinhood/stock-tokens.json
+++ /dev/null
@@ -1,938 +0,0 @@
-{
- "$schema": "./stock-tokens.schema.json",
- "chainId": 4663,
- "generatedAtBlock": 7690522,
- "sources": {
- "discovery": "https://robinhoodchain.blockscout.com/api/v2/tokens?q=Robinhood Token (canonical name pattern \"<Name> • Robinhood Token\")",
- "feeds": "https://reference-data-directory.vercel.app/feeds-robinhood-mainnet.json",
- "verification": "on-chain via public RPC: shared beacon slot, symbol/name/decimals/uiMultiplier multicall, feed latestRoundData"
- },
- "stockBeacon": "0xe10b6f6B275de231345c20D14Ab812db62151b00",
- "tokenCount": 95,
- "feedCount": 34,
- "tokens": [
- {
- "address": "0x521Cf887E6531c6F667b5BC4D896E5d9bfE8EB2E",
- "symbol": "AAOI",
- "name": "Applied Optoelectronics • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xaF3D76f1834A1d425780943C99Ea8A608f8a93f9",
- "symbol": "AAPL",
- "name": "Apple • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x6B22A786bAa607d76728168703a39Ea9C99f2cD0",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "31550000000",
- "feedUpdatedAtGeneration": 1783710274
- },
- {
- "address": "0x36046893810a7E7fCE501229d57dc3FC8c8716d0",
- "symbol": "AMAT",
- "name": "Applied Materials • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x86923f96303D656E4aa86D9d42D1e57ad2023fdC",
- "symbol": "AMD",
- "name": "AMD • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x943A29E7ae51A4798823ca9eEd2ed533B2A22C72",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "55821015000",
- "feedUpdatedAtGeneration": 1783713346
- },
- {
- "address": "0x12f190a9F9d7D37a250758b26824B97CE941bF54",
- "symbol": "AMZN",
- "name": "Amazon • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0xD5a1508ceD74c084eBf3cBe853e2C968fB2a651C",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "24556770000",
- "feedUpdatedAtGeneration": 1783692103
- },
- {
- "address": "0xb8DBf92F9741c9ac1c32115E78581f23509916FD",
- "symbol": "APLD",
- "name": "Applied Digital • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x47F93d52cBeC7C6D2CfC080e154002370a60dAEA",
- "symbol": "ASML",
- "name": "ASML Holding NV • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0xB4106147E8cce40b7d46124090d373A71b70f87D",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "179758755000",
- "feedUpdatedAtGeneration": 1783710661
- },
- {
- "address": "0x1AF6446f07eb1d97c546AFC8c9544cBDF3AD5137",
- "symbol": "ASTS",
- "name": "AST SpaceMobile • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x156E175DD063a8cE274C50654eF40e0032b3fbcF",
- "symbol": "AVGO",
- "name": "Broadcom • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x4D21483a44Bf67a86b77E3dA301411880797D452",
- "symbol": "BA",
- "name": "Boeing • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xad25Ac6C84D497db898fa1E8387bf6Af3532a1c4",
- "symbol": "BABA",
- "name": "Alibaba • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x62Cc8F9b5f56a33c9C8A60c8B92779f523c4E984",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "11219500000",
- "feedUpdatedAtGeneration": 1783707523
- },
- {
- "address": "0x822CC93fFD030293E9842c30BBD678F530701867",
- "symbol": "BE",
- "name": "Bloom Energy • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x5c90450Bbb4273D7b2f17CF6917AEB237A569679",
- "symbol": "CBRS",
- "name": "Cerebras Systems • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x9651342CeA770aE9a2969Ba2A52611523146aef9",
- "symbol": "CCL",
- "name": "Carnival Corporation • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x8cF07C5A878945185d327aAa6e33FAa95F95e7bF",
- "symbol": "CELH",
- "name": "Celsius • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xcBB95BBF36099d34dA091dc6Fa6F49EfA257Cee3",
- "symbol": "CLSK",
- "name": "CleanSpark • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x810c12D3a554Bc47fd39597Fe3b3AAC4941F50eF",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "1286499999",
- "feedUpdatedAtGeneration": 1783713313
- },
- {
- "address": "0x6330D8C3178a418788dF01a47479c0ce7CCF450b",
- "symbol": "COIN",
- "name": "Coinbase • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0xA3a468A452940B7D6b69991207B508c609a98Ef2",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "15943135000",
- "feedUpdatedAtGeneration": 1783703473
- },
- {
- "address": "0x4EA005168D7F09a7A0Ba9D1DEf21a479950E44C2",
- "symbol": "COST",
- "name": "Costco • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xdF0992E440dD0be65BD8439b609d6D4366bf1CB5",
- "symbol": "CRCL",
- "name": "Circle Internet Group • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x6652eDf64bA3731C4F2D3ce821A0Fb1f1f6b482a",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "6634635000",
- "feedUpdatedAtGeneration": 1783717360
- },
- {
- "address": "0x5f10A1C971B69e47e059e1dC91901B59b3fB49C3",
- "symbol": "CRWV",
- "name": "CoreWeave • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0xe1b3aABCAFAd1c94708dc1367dcfF8Aa4407487C",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "8883970000",
- "feedUpdatedAtGeneration": 1783711393
- },
- {
- "address": "0x27c99fBde9D0d2AA4f4Bfb4943f237843DdF6958",
- "symbol": "DDOG",
- "name": "Datadog • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x941AE714EC6D8130c7B75d67160Ca08f1e7d11Dd",
- "symbol": "DELL",
- "name": "Dell • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x39EC44Bee4F6A116c6F9B8De566848a985C53C60",
- "symbol": "ELF",
- "name": "e.l.f. Beauty • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x7f0aBeF0C07280F82c6a08ead09dEd6BAE2C13Fc",
- "symbol": "EWY",
- "name": "iShares MSCI South Korea fund • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0xEFdf54610B62A7753Ec30bDc380847c12D32e1D1",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "18377499999",
- "feedUpdatedAtGeneration": 1783705547
- },
- {
- "address": "0x25C288E6D899b9BC30160965aD9644c67e73bE0C",
- "symbol": "F",
- "name": "Ford Motor • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x282e87451E10fA6679BC7D76C69BE44cD3fC777C",
- "symbol": "FLNC",
- "name": "Fluence Energy • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xeB30663bDFf0622Ef4e4E5cBb4E975F19f33f51D",
- "symbol": "FUTU",
- "name": "Futu Holdings • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x7c04E6A3368F2A1DE3874f0e80d2e0A1a9915da6",
- "symbol": "GLW",
- "name": "Corning • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x1b0E319c6A659F002271B69dB8A7df2F911c153E",
- "symbol": "GME",
- "name": "GameStop • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x27C71df6A64fB476468EdF256CF72c038baB5B67",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "2176125000",
- "feedUpdatedAtGeneration": 1783694006
- },
- {
- "address": "0x2e0847E8910a9732eB3fb1bb4b70a580ADAD4FE3",
- "symbol": "GOOGL",
- "name": "Alphabet Class A • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0xF6f373a037c30F0e5010d854385cA89185AE638b",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "35672000000",
- "feedUpdatedAtGeneration": 1783711606
- },
- {
- "address": "0xf1953DAB6FaD537488d5A022361FfAa8B4c95eC6",
- "symbol": "INOD",
- "name": "Innodata • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xc72b96e0E48ecd4DC75E1e45396e26300BC39681",
- "symbol": "INTC",
- "name": "Intel • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x3f390C5C24628Ac7C489515402235FeAD71D1913",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "10965095000",
- "feedUpdatedAtGeneration": 1783712771
- },
- {
- "address": "0x56d23beE5f41A7120170b0c603Dae30128e460e9",
- "symbol": "INTU",
- "name": "Intuit • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x558378E000D634A36593E338eBacdd6207640EfE",
- "symbol": "IONQ",
- "name": "IonQ • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x22EfeC4919baf55F360E0EDee4AbEB26DE4971eb",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "4308000000",
- "feedUpdatedAtGeneration": 1783711226
- },
- {
- "address": "0xF0AB0c93bE6F41369d302e55db1A96b3c430212D",
- "symbol": "IREN",
- "name": "IREN Limited • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x8eF20885F94e3D9bc7eB3080279188Bd5ED7c08C",
- "symbol": "LITE",
- "name": "Lumentum • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x8005d266423c7ea827372c9c864491e5786600ea",
- "symbol": "LLY",
- "name": "Eli Lilly • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x4e62068525Ab11FE768e29dfD00ef909B9803016",
- "symbol": "LULU",
- "name": "Lululemon • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xa5D4968421bA94814Be3B136b15cf422101aC1a3",
- "symbol": "LUNR",
- "name": "Intuitive Machines • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xDdf2266b79abf0B48898959B0ed6E6adf512be74",
- "symbol": "MDB",
- "name": "MongoDB • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xc0D6457C16Cc70d6790Dd43521C899C87ce02f35",
- "symbol": "META",
- "name": "Meta Platforms • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x7C38C00C30BEe9378381E7B6135d7283356D71b1",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "67067485000",
- "feedUpdatedAtGeneration": 1783713401
- },
- {
- "address": "0x62fd0668e10D8B72339BE2DCF7643001688ff13B",
- "symbol": "MRVL",
- "name": "Marvell Technology • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xe93237C50D904957Cf27E7B1133b510C669c2e74",
- "symbol": "MSFT",
- "name": "Microsoft • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x45C3C877C15E6BA2EBB19eA114Ea508d14C1Af2E",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "38469000000",
- "feedUpdatedAtGeneration": 1783697881
- },
- {
- "address": "0xec262a75e413fAfD0dF80480274532C79D42da09",
- "symbol": "MSTR",
- "name": "Strategy Inc. • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x396118bdFB181e6240E74D243F266B061c0edc3D",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "9469500000",
- "feedUpdatedAtGeneration": 1783712395
- },
- {
- "address": "0xfF080c8ce2E5feadaCa0Da81314Ae59D232d4afD",
- "symbol": "MU",
- "name": "Micron Technology • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x425EEFdCf05ed6526C3cE61Af99429A228a6d596",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "97854340000",
- "feedUpdatedAtGeneration": 1783713684
- },
- {
- "address": "0x48961813349333209994750ffA89b3c5C22eC969",
- "symbol": "MXL",
- "name": "MaxLinear • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x9D9c6684F596F66a64C030B93A886D51Fd4D7931",
- "symbol": "NBIS",
- "name": "Nebius Group • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0xE1D87B116Ba0fe898998f1D140339D1fA1E09705",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "21923750000",
- "feedUpdatedAtGeneration": 1783713491
- },
- {
- "address": "0xE0444EF8BF4eD74f74FD73686e2ddF4C1c5591E8",
- "symbol": "NFLX",
- "name": "Netflix • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xBEF75684C43c4ea7BD18Dd532a2244674Ee8b926",
- "symbol": "NNE",
- "name": "Nano Nuclear Energy • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x0C3260aF4B8f13a69c4c2dFb84fD667890CDFa14",
- "symbol": "NOW",
- "name": "ServiceNow • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x408c14038a04f7bD235329E26d2bf569ee20e250",
- "symbol": "NU",
- "name": "Nu • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xd0601CE157Db5bdC3162BbaC2a2C8aF5320D9EEC",
- "symbol": "NVDA",
- "name": "NVIDIA • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x379EC4f7C378F34a1B47E4F3cbeBCbAC3E8E9F15",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "21019000000",
- "feedUpdatedAtGeneration": 1783700623
- },
- {
- "address": "0xbE6702d7b70315376dC48a3293f24f0982F86386",
- "symbol": "NVTS",
- "name": "Navitas Semiconductor • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xb0992820E760d836549ba69BC7598b4af75dEE03",
- "symbol": "ORCL",
- "name": "Oracle • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x0e6a64a2B58A6693a531E6c555f3A5d042eEA844",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "14108370000",
- "feedUpdatedAtGeneration": 1783709137
- },
- {
- "address": "0x1Cdad396DB64BDa184d5182A97Dd9B3C62100b7D",
- "symbol": "P",
- "name": "Everpure • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x9b23573b156B52565012F5cE02CDF60AFBaa70Be",
- "symbol": "PENG",
- "name": "Penguin Solutions • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x894E1EC2D74FFE5AEF8Dc8A9e84686acCB964F2A",
- "symbol": "PLTR",
- "name": "Palantir Technologies • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x820ABedFF239034956B7A9d2F0a331f9F075eB4c",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "12656140000",
- "feedUpdatedAtGeneration": 1783714557
- },
- {
- "address": "0xcf6B2D875361be807EAfa57458c80f28521F9333",
- "symbol": "POET",
- "name": "POET Technologies • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x4189F0c66EBBB0bfeF1C31f763131361EF32f77C",
- "symbol": "PR",
- "name": "Permian Resources • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xC583c60aeF9Dc401Da72cEC1B404743a93cea1Cc",
- "symbol": "QBTS",
- "name": "D-Wave Quantum • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x0f17206447090e464C277571124dD2688E48AEA9",
- "symbol": "QCOM",
- "name": "Qualcomm • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xD5f3879160bc7c32ebb4dC785F8a4F505888de68",
- "symbol": "QQQ",
- "name": "Invesco QQQ • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x80901d846d5D7B030F26B480776EE3b29374C2ae",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "72545060000",
- "feedUpdatedAtGeneration": 1783702260
- },
- {
- "address": "0x59818904ab4cE163b3cE4FfB64f2D6Ca02c434B4",
- "symbol": "QUBT",
- "name": "Quantum Computing • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xF0C4BF4C582cb3836e98394b1d4e7B7281101bE8",
- "symbol": "RBLX",
- "name": "Roblox • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x05b37Fb53A299a1b874A619e1c4C404D52C36F4C",
- "symbol": "RDDT",
- "name": "Reddit • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x92Ef19E82bD8fF36661DE838D5eaE7e5CEF0EfFE",
- "symbol": "RDW",
- "name": "Redwire • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x284358abc07F9359f19f4b5b4aC91901Be2597Ba",
- "symbol": "RGTI",
- "name": "Rigetti Computing • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x2A045cF1C49c61c166C036d2f06FA2D2d984f765",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "1657150813",
- "feedUpdatedAtGeneration": 1783713654
- },
- {
- "address": "0xB1BF26c1D20ff267A4f93550d1E0d06ac40a114B",
- "symbol": "RIVN",
- "name": "Rivian Automotive • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x3b14C39E89D60D627b42a1A4CA45b5bb45Fc12e2",
- "symbol": "RKLB",
- "name": "Rocket Lab Corporation • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x045477BF65Aef6f4F2386ad0164579e48381CC74",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "8128970000",
- "feedUpdatedAtGeneration": 1783726597
- },
- {
- "address": "0x95052ddcd5DC25641657424A8Cf04834997E1730",
- "symbol": "SATS",
- "name": "EchoStar • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x92FD66527192E3e61d4DDd13322Aa222DE86F9B5",
- "symbol": "SGOV",
- "name": "iShares 0-3 Month Treasury Bond • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000957519890990718",
- "feed": "0xa0DF4ee0fFf975306345875E3548Fcc519577A11",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "10060428845",
- "feedUpdatedAtGeneration": 1783728100
- },
- {
- "address": "0xF53F66751B1Eff985311b693531E3290F600c410",
- "symbol": "SHOP",
- "name": "Shopify • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x411eFb0E7f985935DAec3D4C3ebaEa0d0AD7D89f",
- "symbol": "SLV",
- "name": "iShares Silver Trust • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x209b73908e92Ae021826eD79609845451Ecba2ce",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "5416490000",
- "feedUpdatedAtGeneration": 1783719808
- },
- {
- "address": "0xc01aA1fECeC0605b13bc84874ff7256C0f5F562a",
- "symbol": "SMCI",
- "name": "Super Micro Computer • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xB90A19fF0Af67f7779afF50A882A9CfF42446400",
- "symbol": "SNDK",
- "name": "Sandisk Corporation • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0xfb133Fa4B7b385802B693a293606682Df47109A3",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "193162665000",
- "feedUpdatedAtGeneration": 1783727430
- },
- {
- "address": "0x98E75885157C80992A8D41b696D8c9C6Fb30A926",
- "symbol": "SOFI",
- "name": "SoFi Technologies • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x75742c18BC1f1C5c5f448f4C9D9C6F66dafAAa38",
- "symbol": "SOXX",
- "name": "iShares Semiconductor ETF • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x4a0E65A3EcceC6dBe60AE065F2e7bb85Fae35eEa",
- "symbol": "SPCX",
- "name": "Space Exploration Technologies Corp. Class A Common Stock • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0xB265810950ba6c5C0Ff821c9963014a56fD8Bffb",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "14572500000",
- "feedUpdatedAtGeneration": 1783713430
- },
- {
- "address": "0xAd622320e520de39e72d41EF07438C3Fd3354875",
- "symbol": "SPMO",
- "name": "Invesco S&P 500 Momentum ETF • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x117cc2133c37B721F49dE2A7a74833232B3B4C0C",
- "symbol": "SPY",
- "name": "SPDR S&P 500 ETF Trust • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x319724394D3A0e3669269846abE664Cd621f9f6A",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "75361500000",
- "feedUpdatedAtGeneration": 1783700203
- },
- {
- "address": "0x89776d4Cd68193597A2fC132cfaC1fDe36CCeA8a",
- "symbol": "TSEM",
- "name": "Tower Semiconductor • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x322F0929c4625eD5bAd873c95208D54E1c003b2d",
- "symbol": "TSLA",
- "name": "Tesla • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x4A1166a659A55625345e9515b32adECea5547C38",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "40782500000",
- "feedUpdatedAtGeneration": 1783713215
- },
- {
- "address": "0x58FfE4a942d3885bAa22D7520691F611EF09e7AA",
- "symbol": "TSM",
- "name": "Taiwan Semiconductor Manufacturing • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x874cF94aa8eC88Fd9560094dD065f2fB3E41Fc2F",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "43437150000",
- "feedUpdatedAtGeneration": 1783713983
- },
- {
- "address": "0x5e81213613b6B86EaB4c6c50d718d34359459786",
- "symbol": "TTWO",
- "name": "Take-Two Interactive Software • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x0E6e67Ba88e7b5d9B67636A215c76779B948dE79",
- "symbol": "UMC",
- "name": "United Microelectronics • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xf23250dac154D05Bb671CB0d0eBEf3c635c79CE2",
- "symbol": "UPS",
- "name": "UPS • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xd917B029C761D264c6A312BBbcDA868658eF86a6",
- "symbol": "USAR",
- "name": "USA Rare Earth • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0xA994d3684e8400A6c8078226925779FdeE682DD9",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "1853505000",
- "feedUpdatedAtGeneration": 1783709442
- },
- {
- "address": "0xa30FA36Db767ad9eD3f7a60fC79526fB4d56D344",
- "symbol": "USO",
- "name": "United States Oil Fund • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": "0x75a9c76Ef439e2C7c2E5a34Ab105EcFe3766431c",
- "feedDecimals": 8,
- "feedAnswerAtGeneration": "10868500000",
- "feedUpdatedAtGeneration": 1783708312
- },
- {
- "address": "0x82DA4646242e1D962e96e932269Dc644c94a9CaA",
- "symbol": "WDAY",
- "name": "Workday • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xc93a8c440CEa26D7445dF01729f193b27965099f",
- "symbol": "WEEK",
- "name": "Roundhill Weekly T-Bill ETF • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "2006182524271844660",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x15Cd20759CE7F3285c29A319dE2D1A2e098c6f43",
- "symbol": "XLK",
- "name": "State Street Technology Select Sector SPDR ETF • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xA8eB3BCcbf2017eE7CBfb652eB51CF2E1B153289",
- "symbol": "XNDU",
- "name": "Xanadu Quantum • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0xf9B46d3D1B22199D4D1025a9cEDB540A33F1a2d5",
- "symbol": "XOM",
- "name": "ExxonMobil Holdings Corporation • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x44c4F142009036cF477eD2d09932051843137CF1",
- "symbol": "ZM",
- "name": "Zoom • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- },
- {
- "address": "0x7dc013eB55e436f30d7ED1AFE4E36d6e45e3c3f7",
- "symbol": "ZS",
- "name": "Zscaler • Robinhood Token",
- "decimals": 18,
- "uiMultiplierAtGeneration": "1000000000000000000",
- "feed": null,
- "feedDecimals": null
- }
- ]
-}
diff --git a/api/v1/_catalog.js b/api/v1/_catalog.js
index 8487ad9c3..d1febd805 100644
--- a/api/v1/_catalog.js
+++ b/api/v1/_catalog.js
@@ -254,6 +254,74 @@ export const CATALOG = [
agent_id: 'string — uuid, restrict to one creating agent (optional)',
},
},
+ {
+ id: 'v1.robinhood.chain',
+ method: 'GET',
+ path: '/api/v1/robinhood/chain',
+ auth: 'public',
+ summary:
+ 'Robinhood Chain (4663) stats — live block height + gas price, ETH price, and TVL now + ' +
+ '90-day history (DefiLlama). Free, keyless.',
+ params: {},
+ },
+ {
+ id: 'v1.robinhood.stocks',
+ method: 'GET',
+ path: '/api/v1/robinhood/stocks',
+ auth: 'public',
+ summary:
+ 'The 24/7 tokenized-equity board: Chainlink NAV price, deepest DEX price, premium/discount, ' +
+ 'uiMultiplier, and 24h DEX volume/liquidity for every Robinhood Chain Stock Token. Free, ' +
+ 'keyless, display-only (Stock Tokens are tokenized securities — see the disclosure field).',
+ params: {
+ q: 'string — filter by symbol/name substring (optional)',
+ sort: 'string — "symbol" | "price" | "volume" | "liquidity" | "premium" (default "symbol")',
+ dir: 'string — "asc" | "desc" (default depends on sort)',
+ },
+ },
+ {
+ id: 'v1.robinhood.stocks_detail',
+ method: 'GET',
+ path: '/api/v1/robinhood/stocks-detail',
+ auth: 'public',
+ summary:
+ 'One Stock Token in depth: Chainlink NAV + recent round history, every DEX pair, holders, ' +
+ 'recent transfers, and contract links. Free, keyless, display-only.',
+ params: { symbol: 'string — ticker, e.g. "AAPL" (required)' },
+ },
+ {
+ id: 'v1.robinhood.coins',
+ method: 'GET',
+ path: '/api/v1/robinhood/coins',
+ auth: 'public',
+ summary:
+ 'Robinhood Chain memecoin screener (CoinGecko "Robinhood Chain Meme" / "Stocks Ecosystem" ' +
+ 'categories) — price, market cap, 24h/7d change, 7-day sparkline. Free, keyless, non-security.',
+ params: {
+ category: 'string — "meme" | "stocks-ecosystem" | "ecosystem" (default "meme")',
+ sort: 'string — "market_cap" | "volume" | "gainers" | "losers" (default "market_cap")',
+ },
+ },
+ {
+ id: 'v1.robinhood.coins_detail',
+ method: 'GET',
+ path: '/api/v1/robinhood/coins-detail',
+ auth: 'public',
+ summary:
+ 'One Robinhood Chain coin in depth (DexScreener + Blockscout): price, market cap, FDV, ' +
+ 'liquidity, every pool, holders, recent transfers. Free, keyless, non-security.',
+ params: { address: 'string — 0x… token contract address (required)' },
+ },
+ {
+ id: 'v1.robinhood.launches',
+ method: 'GET',
+ path: '/api/v1/robinhood/launches',
+ auth: 'public',
+ summary:
+ 'Recent token launches on NOXA (instant Uniswap v3) and The Odyssey (bonding curve), newest ' +
+ 'first, enriched with live market data where a pool exists. Free, keyless.',
+ params: { limit: 'number 1–60 (default 40)' },
+ },
{
id: 'v1.pump.whales',
method: 'GET',
diff --git a/package.json b/package.json
index c3959acc6..a5e436bfc 100644
--- a/package.json
+++ b/package.json
@@ -100,7 +100,7 @@
]
},
"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/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/copy-three-decoders.mjs & node scripts/setup-claude-skills.mjs & wait)",
+ "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/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/setup-claude-skills.mjs & wait)",
"setup": "node scripts/setup-dev.mjs",
"dev": "vite --port 3000",
"dev:multi": "npm run dev --prefix multiplayer",
diff --git a/robinhood/hood-api/package.json b/robinhood/hood-api/package.json
index f33cd1629..412adc644 100644
--- a/robinhood/hood-api/package.json
+++ b/robinhood/hood-api/package.json
@@ -53,6 +53,7 @@
"tsx": "^4.19.0",
"typescript": "^5.9.0",
"vitest": "^3.2.0",
+ "x402": "^1.2.0",
"x402-fetch": "^1.2.0"
}
}
diff --git a/robinhood/hood-api/src/lib/firehose-session.ts b/robinhood/hood-api/src/lib/firehose-session.ts
new file mode 100644
index 000000000..311e4467b
--- /dev/null
+++ b/robinhood/hood-api/src/lib/firehose-session.ts
@@ -0,0 +1,51 @@
+import { createHmac, randomBytes } from 'node:crypto'
+import { env } from './env.js'
+
+/**
+ * Metered firehose session tokens.
+ *
+ * `GET /v1/firehose` is x402-gated (one metered charge) and mints a
+ * short-lived, signed session token. The client then opens `wss:///v1/ws`
+ * with that token in a query param; the WS upgrade handler verifies the HMAC
+ * and expiry before subscribing the socket to the sequencer feed. This keeps
+ * the paywall on the cheap HTTP call while the expensive long-lived
+ * connection needs no per-message billing.
+ */
+
+const SESSION_TTL_SECONDS = 10 * 60 // 10 minutes of streaming per paid token
+
+function secret(): string {
+ if (env.firehoseSessionSecret) return env.firehoseSessionSecret
+ // Stable for the life of this process; regenerating on every mint would
+ // invalidate outstanding tokens, so this is computed once and memoized.
+ return processSecret
+}
+const processSecret = randomBytes(32).toString('hex')
+
+export interface FirehoseSession {
+ token: string
+ expiresAt: string
+}
+
+export function mintSession(): FirehoseSession {
+ const id = randomBytes(16).toString('hex')
+ const exp = Math.floor(Date.now() / 1000) + SESSION_TTL_SECONDS
+ const payload = `${id}.${exp}`
+ const sig = createHmac('sha256', secret()).update(payload).digest('hex')
+ return { token: `${payload}.${sig}`, expiresAt: new Date(exp * 1000).toISOString() }
+}
+
+export function verifySession(token: string | undefined | null): { ok: true } | { ok: false; reason: string } {
+ if (!token) return { ok: false, reason: 'missing session token' }
+ const parts = token.split('.')
+ if (parts.length !== 3) return { ok: false, reason: 'malformed session token' }
+ const [id, expRaw, sig] = parts
+ const payload = `${id}.${expRaw}`
+ const expected = createHmac('sha256', secret()).update(payload).digest('hex')
+ if (sig !== expected) return { ok: false, reason: 'invalid session signature' }
+ const exp = Number(expRaw)
+ if (!Number.isFinite(exp) || exp < Math.floor(Date.now() / 1000)) {
+ return { ok: false, reason: 'session token expired — request a new one from GET /v1/firehose' }
+ }
+ return { ok: true }
+}
diff --git a/robinhood/hood-api/src/lib/x402.ts b/robinhood/hood-api/src/lib/x402.ts
new file mode 100644
index 000000000..dfcaa68ba
--- /dev/null
+++ b/robinhood/hood-api/src/lib/x402.ts
@@ -0,0 +1,65 @@
+import { paymentMiddleware } from 'x402-hono'
+import type { RoutesConfig } from 'x402-hono'
+import type { FacilitatorConfig } from 'x402/types'
+import { env, paymentsEnabled } from './env.js'
+
+/**
+ * Per-route USD prices for paid endpoints (x402-hono accepts `"$0.001"` style
+ * strings). Kept in one place so pricing docs/OpenAPI/README can import it.
+ */
+export const PRICES = {
+ portfolio: '$0.002',
+ stockHistory: '$0.005',
+ equities: '$0.01',
+ firehoseToken: '$0.01', // one-time metered session grant; the session then streams free over the WS
+} as const
+
+function facilitatorConfig(): FacilitatorConfig | undefined {
+ if (env.x402Network === 'base' && env.cdpApiKeyId && env.cdpApiKeySecret) {
+ // Base mainnet USDC settlement via the CDP facilitator.
+ return {
+ url: 'https://api.cdp.coinbase.com/platform/v2/x402' as FacilitatorConfig['url'],
+ createAuthHeaders: async () => ({
+ verify: { Authorization: `Bearer ${env.cdpApiKeyId}:${env.cdpApiKeySecret}` },
+ settle: { Authorization: `Bearer ${env.cdpApiKeyId}:${env.cdpApiKeySecret}` },
+ }),
+ }
+ }
+ // base-sepolia default: the public x402.org facilitator (or an operator override).
+ return { url: env.x402FacilitatorUrl as FacilitatorConfig['url'] }
+}
+
+/**
+ * Build the x402 Hono middleware for this deployment's paid routes, or `null`
+ * when no `X402_PAY_TO` is configured (free-tier-only deployment). Route
+ * handlers still check `paymentsEnabled()` themselves so they can return a
+ * clean structured 503 instead of a generic middleware bypass.
+ */
+export function buildX402Middleware() {
+ if (!paymentsEnabled()) return null
+
+ const routes: RoutesConfig = {
+ '/v1/portfolio/*': {
+ price: PRICES.portfolio,
+ network: env.x402Network,
+ config: { description: 'Multiplier-correct Robinhood Chain portfolio valuation' },
+ },
+ '/v1/stocks/*/history': {
+ price: PRICES.stockHistory,
+ network: env.x402Network,
+ config: { description: 'Deep OHLCV history for one Stock Token' },
+ },
+ '/v1/equities*': {
+ price: PRICES.equities,
+ network: env.x402Network,
+ config: { description: 'Cross-venue tokenized-equity price comparison' },
+ },
+ '/v1/firehose': {
+ price: PRICES.firehoseToken,
+ network: env.x402Network,
+ config: { description: 'Metered session token for the /v1/ws real-time firehose' },
+ },
+ }
+
+ return paymentMiddleware(env.x402PayTo as `0x${string}`, routes, facilitatorConfig())
+}
diff --git a/robinhood/hood-api/src/schemas.ts b/robinhood/hood-api/src/schemas.ts
new file mode 100644
index 000000000..793733b78
--- /dev/null
+++ b/robinhood/hood-api/src/schemas.ts
@@ -0,0 +1,98 @@
+import { z } from '@hono/zod-openapi'
+
+/** Shared param/query schemas for OpenAPI request validation. */
+
+export const SymbolParam = z.object({
+ symbol: z
+ .string()
+ .min(1)
+ .max(10)
+ .openapi({ param: { name: 'symbol', in: 'path' }, example: 'AAPL', description: 'Stock Token ticker, case-insensitive' }),
+})
+
+export const AddressParam = z.object({
+ address: z
+ .string()
+ .regex(/^0x[a-fA-F0-9]{40}$/, 'must be a 0x-prefixed 40-hex-char address')
+ .openapi({
+ param: { name: 'address', in: 'path' },
+ example: '0xaF3D76f1834A1d425780943C99Ea8A608f8a93f9',
+ description: 'EVM contract or wallet address',
+ }),
+})
+
+export const IntervalQuery = z.object({
+ interval: z
+ .enum(['5m', '15m', '1h', '4h', '1d'])
+ .optional()
+ .openapi({ param: { name: 'interval', in: 'query' }, example: '1h', description: 'Candle bucket size' }),
+})
+
+export const HistoryQuery = IntervalQuery.extend({
+ lookback: z
+ .enum(['1h', '6h', '24h', '7d', '30d'])
+ .optional()
+ .openapi({
+ param: { name: 'lookback', in: 'query' },
+ example: '7d',
+ description: 'How far back to reconstruct OHLCV from swap logs',
+ }),
+})
+
+export const LaunchesQuery = z.object({
+ launchpad: z
+ .enum(['noxa', 'odyssey'])
+ .optional()
+ .openapi({ param: { name: 'launchpad', in: 'query' }, description: 'Restrict to one launchpad' }),
+ lookback: z
+ .enum(['15m', '1h', '6h', '24h'])
+ .optional()
+ .openapi({ param: { name: 'lookback', in: 'query' }, example: '1h' }),
+ limit: z.coerce
+ .number()
+ .int()
+ .min(1)
+ .max(200)
+ .optional()
+ .openapi({ param: { name: 'limit', in: 'query' }, example: 50 }),
+})
+
+export const CoinsQuery = z.object({
+ limit: z.coerce
+ .number()
+ .int()
+ .min(1)
+ .max(60)
+ .optional()
+ .openapi({ param: { name: 'limit', in: 'query' }, example: 25 }),
+})
+
+export const EquitiesListQuery = z.object({
+ limit: z.coerce
+ .number()
+ .int()
+ .min(1)
+ .max(30)
+ .optional()
+ .openapi({ param: { name: 'limit', in: 'query' }, example: 10 }),
+})
+
+export const ErrorSchema = z
+ .object({
+ error: z.string().openapi({ example: 'unknown_symbol' }),
+ hint: z.string().openapi({ example: 'Symbol not found in the Stock Token registry.' }),
+ docs: z.string().url().openapi({ example: 'https://nirholas.github.io/hood-api/#errors' }),
+ })
+ .openapi('ApiError')
+
+export const LOOKBACK_BLOCKS: Record<string, bigint> = {
+ '15m': 9_000n,
+ '1h': 36_000n,
+ '6h': 216_000n,
+ '24h': 864_000n,
+ '1h_hist': 36_000n,
+ '6h_hist': 216_000n,
+ '24h_hist': 864_000n,
+ '7d': 6_048_000n,
+ '30d': 25_920_000n,
+}
diff --git a/robinhood/hood-api/src/services/equities.ts b/robinhood/hood-api/src/services/equities.ts
new file mode 100644
index 000000000..d6db5ae85
--- /dev/null
+++ b/robinhood/hood-api/src/services/equities.ts
@@ -0,0 +1,110 @@
+import { getQuote, getStockToken, listPricedStockTokens } from 'hoodchain'
+import { cached, TTL } from '../lib/cache.js'
+import { ApiError } from '../lib/errors.js'
+import { SOURCE, withMeta } from '../lib/response.js'
+import { mainnetClient } from '../upstreams/rpc.js'
+import { resolveEquityId, getSimplePrices, type EquityVenue } from '../upstreams/coingecko.js'
+
+/**
+ * `/v1/equities` — the unique product. Nobody else prices the same underlying
+ * ticker across all three tokenized-equity venues in one call:
+ *
+ * - Robinhood Chain Stock Tokens (Chainlink feed, this service's own chain)
+ * - xStocks (Backed Finance) — Solana-native, priced via CoinGecko
+ * - Ondo Global Markets — tokenized equities, priced via CoinGecko
+ *
+ * Each row reports every venue's price plus which venue is cheapest and the
+ * spread in basis points. Venues without a resolvable/priced token for a
+ * ticker are `null`, never fabricated.
+ */
+
+export interface VenueLeg {
+ venue: 'robinhood-chain' | EquityVenue
+ priceUsd: number | null
+ updatedAt: string | null
+ ref: string | null // coingecko id, or feed address
+}
+
+async function robinhoodLeg(symbol: string): Promise<VenueLeg> {
+ try {
+ const q = await getQuote(mainnetClient(), symbol)
+ return { venue: 'robinhood-chain', priceUsd: q.priceUsd, updatedAt: new Date(q.updatedAt * 1000).toISOString(), ref: q.feed }
+ } catch {
+ return { venue: 'robinhood-chain', priceUsd: null, updatedAt: null, ref: null }
+ }
+}
+
+async function venueLeg(venue: EquityVenue, symbol: string): Promise<VenueLeg> {
+ const id = await resolveEquityId(venue, symbol)
+ if (!id) return { venue, priceUsd: null, updatedAt: null, ref: null }
+ const prices = await getSimplePrices([id])
+ const p = prices[id]
+ if (!p) return { venue, priceUsd: null, updatedAt: null, ref: id }
+ return {
+ venue,
+ priceUsd: p.usd,
+ updatedAt: p.last_updated_at ? new Date(p.last_updated_at * 1000).toISOString() : null,
+ ref: id,
+ }
+}
+
+function spreadRow(legs: VenueLeg[]) {
+ const priced = legs.filter((l): l is VenueLeg & { priceUsd: number } => l.priceUsd !== null)
+ if (priced.length < 2) return { cheapestVenue: priced[0]?.venue ?? null, spreadBps: null }
+ const sorted = [...priced].sort((a, b) => a.priceUsd - b.priceUsd)
+ const cheapest = sorted[0]!
+ const priciest = sorted[sorted.length - 1]!
+ const spreadBps = ((priciest.priceUsd - cheapest.priceUsd) / cheapest.priceUsd) * 10_000
+ return { cheapestVenue: cheapest.venue, spreadBps }
+}
+
+/** Cross-venue view for one ticker. */
+export async function getEquity(symbolRaw: string) {
+ const token = (() => {
+ try {
+ return getStockToken(symbolRaw)
+ } catch {
+ throw ApiError.unknownSymbol(symbolRaw)
+ }
+ })()
+ const symbol = token.symbol
+
+ return cached(`equities:${symbol}`, TTL.equities, async () => {
+ const [rh, xstocks, ondo] = await Promise.all([
+ robinhoodLeg(symbol),
+ venueLeg('xstocks', symbol),
+ venueLeg('ondo', symbol),
+ ])
+ const legs = [rh, xstocks, ondo]
+ return withMeta(
+ { symbol, name: token.name, venues: legs, ...spreadRow(legs) },
+ [SOURCE.chainlink, SOURCE.coingecko],
+ )
+ })
+}
+
+/** Cross-venue view for every priced Stock Token (bounded list for the "show me the market" call). */
+export async function listEquities(limit: number) {
+ const symbols = listPricedStockTokens()
+ .map((t) => t.symbol)
+ .slice(0, Math.min(Math.max(limit, 1), 30))
+
+ return cached(`equities:list:${symbols.join(',')}`, TTL.equities, async () => {
+ const rows = await Promise.all(
+ symbols.map(async (symbol) => {
+ const [rh, xstocks, ondo] = await Promise.all([
+ robinhoodLeg(symbol),
+ venueLeg('xstocks', symbol),
+ venueLeg('ondo', symbol),
+ ])
+ const legs = [rh, xstocks, ondo]
+ return { symbol, venues: legs, ...spreadRow(legs) }
+ }),
+ )
+ const withMultipleVenues = rows.filter((r) => r.venues.filter((v) => v.priceUsd !== null).length >= 2).length
+ return withMeta(
+ { count: rows.length, crossVenueCount: withMultipleVenues, equities: rows },
+ [SOURCE.chainlink, SOURCE.coingecko],
+ )
+ })
+}
diff --git a/robinhood/hood-api/src/services/firehose-hub.ts b/robinhood/hood-api/src/services/firehose-hub.ts
new file mode 100644
index 000000000..3b2417a9a
--- /dev/null
+++ b/robinhood/hood-api/src/services/firehose-hub.ts
@@ -0,0 +1,125 @@
+import {
+ subscribeFeed,
+ watchLaunches,
+ watchCurveTrades,
+ getQuote,
+ listPricedStockTokens,
+ type FeedMessage,
+ type Launch,
+ type CurveTrade,
+} from 'hoodchain'
+import { mainnetClient } from '../upstreams/rpc.js'
+
+/**
+ * Real-time event hub for `/v1/ws`. Fans out four live channels to every
+ * connected socket from ONE shared upstream subscription each — N paying
+ * clients never cost N sequencer connections or N RPC watchers:
+ *
+ * - `firehose` — raw sequencer transactions, ~100–300ms pre-confirmation
+ * - `launches` — new NOXA / Odyssey token launches (confirmed log watch)
+ * - `trades` — Odyssey bonding-curve buys/sells ("big swaps" for coins)
+ * - `ticks` — Chainlink Stock Token price changes ("stock ticks")
+ *
+ * Upstreams start lazily on the first subscriber and stop when the last
+ * disconnects, so an idle deployment makes zero background RPC/WS calls.
+ */
+
+export type ChannelName = 'firehose' | 'launches' | 'trades' | 'ticks'
+export const ALL_CHANNELS: ChannelName[] = ['firehose', 'launches', 'trades', 'ticks']
+
+export interface HubEvent {
+ channel: ChannelName
+ data: unknown
+ at: string
+}
+
+type Listener = (event: HubEvent) => void
+
+const listeners = new Set<Listener>()
+let refCount = 0
+let stopFns: Array<() => void> = []
+let tickTimer: ReturnType<typeof setInterval> | null = null
+let lastPrices = new Map<string, number>()
+
+function emit(channel: ChannelName, data: unknown) {
+ const event: HubEvent = { channel, data, at: new Date().toISOString() }
+ for (const l of listeners) l(event)
+}
+
+async function startUpstreams() {
+ const client = mainnetClient()
+
+ const feedSub = await subscribeFeed(
+ (msg: FeedMessage) => {
+ if (msg.transactions.length === 0) return
+ emit(
+ 'firehose',
+ msg.transactions.map((tx) => ({ hash: tx.hash, to: tx.transaction.to, sequenceNumber: msg.sequenceNumber })),
+ )
+ },
+ { onError: (err) => console.warn('[hood-api] firehose upstream error:', err.message) },
+ )
+ stopFns.push(() => feedSub.close())
+
+ const unwatchLaunches = watchLaunches(
+ client,
+ (l: Launch) => emit('launches', { launchpad: l.launchpad, token: l.token, creator: l.creator, pool: l.pool }),
+ { onError: (err) => console.warn('[hood-api] launches watcher error:', err.message) },
+ )
+ stopFns.push(unwatchLaunches)
+
+ const unwatchTrades = watchCurveTrades(
+ client,
+ (t: CurveTrade) =>
+ emit('trades', {
+ token: t.token,
+ trader: t.trader,
+ isBuy: t.isBuy,
+ tokenAmount: t.tokenAmount.toString(),
+ quoteAmountEth: Number(t.quoteAmount) / 1e18,
+ }),
+ { onError: (err) => console.warn('[hood-api] trades watcher error:', err.message) },
+ )
+ stopFns.push(unwatchTrades)
+
+ lastPrices = new Map()
+ tickTimer = setInterval(async () => {
+ const symbols = listPricedStockTokens().map((t) => t.symbol)
+ for (const symbol of symbols) {
+ try {
+ const q = await getQuote(client, symbol)
+ const prev = lastPrices.get(symbol)
+ if (prev === undefined || prev !== q.priceUsd) {
+ lastPrices.set(symbol, q.priceUsd)
+ emit('ticks', { symbol, priceUsd: q.priceUsd, updatedAt: new Date(q.updatedAt * 1000).toISOString() })
+ }
+ } catch {
+ // stale/missing feed for this symbol this tick — skip, not fatal
+ }
+ }
+ }, 15_000)
+ stopFns.push(() => {
+ if (tickTimer) clearInterval(tickTimer)
+ tickTimer = null
+ })
+}
+
+function stopUpstreams() {
+ for (const stop of stopFns) stop()
+ stopFns = []
+}
+
+export function subscribe(listener: Listener): () => void {
+ listeners.add(listener)
+ refCount += 1
+ if (refCount === 1) void startUpstreams()
+ return () => {
+ listeners.delete(listener)
+ refCount -= 1
+ if (refCount === 0) stopUpstreams()
+ }
+}
+
+export function activeConnections(): number {
+ return refCount
+}
diff --git a/robinhood/hood-js/examples/README.md b/robinhood/hood-js/examples/README.md
new file mode 100644
index 000000000..d70fa5a5e
--- /dev/null
+++ b/robinhood/hood-js/examples/README.md
@@ -0,0 +1,18 @@
+# hood-js examples
+
+Four runnable scripts against the built package. Build first so the `hood-js` import
+resolves (Node package self-reference):
+
+```bash
+npm install && npm run build
+```
+
+| Script | What it does | Needs |
+| --- | --- | --- |
+| `node examples/price.mjs [SYMBOLS…]` | Live Stock Token prices, one or batched | nothing |
+| `node examples/coins.mjs` | Top trending Robinhood Chain memecoins | nothing |
+| `node examples/portfolio.mjs 0xADDR` | Multiplier-correct portfolio for any address | nothing |
+| `node examples/swap-testnet.mjs` | REAL swap on testnet 46630: WETH → NFLX | funded `ROBINHOOD_CHAIN_PRIVATE_KEY` |
+
+Fund a testnet key at [faucet.testnet.chain.robinhood.com](https://faucet.testnet.chain.robinhood.com/)
+(0.01 ETH + five of each test Stock Token per claim, once per 24 h, browser-only).
diff --git a/robinhood/hood-js/examples/coins.mjs b/robinhood/hood-js/examples/coins.mjs
new file mode 100644
index 000000000..2acbc7f43
--- /dev/null
+++ b/robinhood/hood-js/examples/coins.mjs
@@ -0,0 +1,8 @@
+import hood from 'hood-js'
+
+const top = await hood.coins({ limit: 10 })
+console.log('Trending on Robinhood Chain (24h):\n')
+for (const c of top) {
+ const arrow = (c.change24h ?? 0) >= 0 ? '▲' : '▼'
+ console.log(`${c.symbol.padEnd(10)} $${c.priceUsd.toPrecision(4).padStart(12)} ${arrow} ${c.change24h}% vol $${c.volume24hUsd?.toFixed(0)}`)
+}
diff --git a/robinhood/hood-js/examples/portfolio.mjs b/robinhood/hood-js/examples/portfolio.mjs
new file mode 100644
index 000000000..4e30e0a89
--- /dev/null
+++ b/robinhood/hood-js/examples/portfolio.mjs
@@ -0,0 +1,14 @@
+import hood from 'hood-js'
+
+const address = process.argv[2]
+if (!address) {
+ console.error('Usage: node examples/portfolio.mjs 0xADDRESS')
+ process.exit(1)
+}
+
+const { totalUsd, positions, unpriced } = await hood.portfolio(address)
+console.log(`Portfolio for ${address}: $${totalUsd.toFixed(2)}\n`)
+for (const p of positions) {
+ console.log(`${p.symbol}: ${p.tokens} tokens (${p.shares} shares) = $${p.usd?.toFixed(2) ?? '—'}`)
+}
+if (unpriced.length) console.log(`\nUnpriced (no feed): ${unpriced.join(', ')}`)
diff --git a/robinhood/hood-js/examples/price.mjs b/robinhood/hood-js/examples/price.mjs
new file mode 100644
index 000000000..b46d366ad
--- /dev/null
+++ b/robinhood/hood-js/examples/price.mjs
@@ -0,0 +1,10 @@
+import hood from 'hood-js'
+
+const symbols = process.argv.slice(2)
+if (symbols.length === 0) symbols.push('AAPL', 'TSLA', 'NVDA')
+
+const results = symbols.length === 1 ? [await hood.price(symbols[0])] : await hood.prices(symbols)
+
+for (const r of results) {
+ console.log(r.usd === null ? `${r.symbol}: unpriced (no feed)` : `${r.symbol}: $${r.usd}`)
+}
diff --git a/robinhood/hood-js/examples/swap-testnet.mjs b/robinhood/hood-js/examples/swap-testnet.mjs
new file mode 100644
index 000000000..c92f9d8f5
--- /dev/null
+++ b/robinhood/hood-js/examples/swap-testnet.mjs
@@ -0,0 +1,18 @@
+// REAL testnet swap: wrap ETH → swap WETH → NFLX on chain 46630.
+// Needs a funded ROBINHOOD_CHAIN_PRIVATE_KEY (see examples/README.md).
+import hood from 'hood-js'
+
+const pk = process.env.ROBINHOOD_CHAIN_PRIVATE_KEY
+if (!pk) {
+ console.error('Set ROBINHOOD_CHAIN_PRIVATE_KEY to a funded testnet key first.')
+ process.exit(1)
+}
+
+hood.testnet()
+
+const q = await hood.quote({ sell: 'WETH', buy: 'NFLX', amount: '0.0001' })
+console.log(`Quote: 0.0001 WETH → ${q.buyAmount} NFLX`)
+
+const result = await hood.swap({ ...q, wallet: pk })
+console.log(`Swapped! ${result.amountOut} NFLX received (min ${result.minReceived})`)
+console.log(`Tx: ${result.url}`)
diff --git a/robinhood/hood-js/quickstart.mjs b/robinhood/hood-js/quickstart.mjs
new file mode 100644
index 000000000..825ed6cf1
--- /dev/null
+++ b/robinhood/hood-js/quickstart.mjs
@@ -0,0 +1,12 @@
+// Run verbatim in a fresh folder: npm i hood-js && node quickstart.mjs
+import hood from 'hood-js'
+
+const { symbol, usd, updatedAt } = await hood.price('AAPL')
+console.log(`${symbol}: $${usd} (updated ${updatedAt.toISOString()})`)
+
+const top = await hood.coins({ limit: 5 })
+console.log('\nTop 5 trending on Robinhood Chain:')
+for (const c of top) console.log(` ${c.symbol.padEnd(10)} $${c.priceUsd} ${c.change24h}%`)
+
+const q = await hood.quote({ sell: 'USDG', buy: 'WETH', amount: 100 })
+console.log(`\n100 USDG → ${q.buyAmount} WETH (${q.route.length}-hop route)`)
diff --git a/robinhood/hood-js/src/coins.ts b/robinhood/hood-js/src/coins.ts
index 2aa2a0fc6..85721dbd0 100644
--- a/robinhood/hood-js/src/coins.ts
+++ b/robinhood/hood-js/src/coins.ts
@@ -1,12 +1,8 @@
import { HoodError, toHoodError } from './errors.js'
import { geckoNetwork } from './state.js'
-/**
- * A coin as reported by GeckoTerminal's public onchain index for Robinhood
- * Chain — the same provider that already covers chain 4663. Used by both
- * {@link coins} (trending) and {@link import('./index').launches} (new pools).
- */
-export interface Coin {
+/** One trending coin returned by {@link coins}. */
+export interface TrendingCoin {
/** Base-token ticker, e.g. `"HOODBOT"`. */
symbol: string
/** Human name of the pool pairing, e.g. `"HOODBOT / WETH 1%"`. */
@@ -33,11 +29,6 @@ export interface Coin {
url: string
}
-/** Alias for {@link Coin} in trending contexts. */
-export type TrendingCoin = Coin
-/** Alias for {@link Coin} in new-launch contexts. */
-export type NewCoin = Coin
-
/** Options for {@link coins}. */
export interface CoinsOptions {
/** Max coins to return. @defaultValue `20` */
@@ -85,24 +76,33 @@ function num(value: string | null | undefined): number | null {
}
/**
- * Fetch a page of pools from a GeckoTerminal onchain endpoint and map them to
- * {@link Coin}s. Shared by {@link coins} and the new-pools discovery used by
- * {@link import('./index').launches}.
+ * Trending memecoins on Robinhood Chain, aggregated across the launchpad
+ * (NOXA / The Odyssey) and Uniswap pools by GeckoTerminal's public onchain
+ * index — the same data provider that already covers chain 4663. Returns
+ * live USD price, 24h change, volume, and liquidity. No key, no wallet.
+ *
+ * @example
+ * ```js
+ * const top = await hood.coins()
+ * for (const c of top) console.log(c.symbol, `$${c.priceUsd}`, `${c.change24h}%`)
+ * ```
*/
-export async function fetchPools(
- endpoint: 'trending_pools' | 'new_pools',
- params: Record<string, string>,
- timeoutMs: number,
-): Promise<Coin[]> {
+export async function coins(options: CoinsOptions = {}): Promise<TrendingCoin[]> {
+ const limit = options.limit ?? 20
+ const window = options.window ?? '24h'
+ const timeoutMs = options.timeoutMs ?? 10_000
const network = geckoNetwork()
- const query = new URLSearchParams({ include: 'base_token,dex', page: '1', ...params }).toString()
- const url = `${GECKO_BASE}/networks/${network}/${endpoint}?${query}`
+
+ const url = `${GECKO_BASE}/networks/${network}/trending_pools?include=base_token,dex&duration=${window}&page=1`
const controller = new AbortController()
const timer = setTimeout(() => controller.abort(), timeoutMs)
let res: Response
try {
- res = await fetch(url, { headers: { accept: 'application/json' }, signal: controller.signal })
+ res = await fetch(url, {
+ headers: { accept: 'application/json' },
+ signal: controller.signal,
+ })
} catch (err) {
throw toHoodError(err)
} finally {
@@ -111,24 +111,25 @@ export async function fetchPools(
if (res.status === 429) {
throw new HoodError(
- 'GeckoTerminal is rate-limiting requests (free tier is ~30/min). Slow down or add your own API key upstream.',
+ 'GeckoTerminal is rate-limiting trending-coin requests (free tier is ~30/min). Slow down or add your own API key upstream.',
'NETWORK',
)
}
if (!res.ok) {
throw new HoodError(
- `Couldn't load ${endpoint} for network "${network}" (HTTP ${res.status}). If Robinhood Chain isn't indexed yet, set hood.config({ geckoNetwork }) to the correct slug.`,
+ `Couldn't load trending coins for network "${network}" (HTTP ${res.status}). If Robinhood Chain isn't indexed yet, set hood.config({ geckoNetwork }) to the correct slug.`,
'NETWORK',
)
}
const body = (await res.json()) as { data?: GeckoPool[]; included?: GeckoIncluded[] }
+ const pools = body.data ?? []
const tokenById = new Map<string, GeckoIncluded>()
for (const inc of body.included ?? []) {
if (inc.type === 'token') tokenById.set(inc.id, inc)
}
- return (body.data ?? []).map((pool): Coin => {
+ return pools.slice(0, limit).map((pool): TrendingCoin => {
const a = pool.attributes
const baseId = pool.relationships?.base_token?.data?.id
const base = baseId ? tokenById.get(baseId) : undefined
@@ -148,29 +149,3 @@ export async function fetchPools(
}
})
}
-
-/**
- * Trending memecoins on Robinhood Chain, aggregated across the launchpad and
- * Uniswap pools by GeckoTerminal's public onchain index. Returns live USD
- * price, 24h change, volume, and liquidity. No key, no wallet.
- *
- * @example
- * ```js
- * const top = await hood.coins()
- * for (const c of top) console.log(c.symbol, `$${c.priceUsd}`, `${c.change24h}%`)
- * ```
- */
-export async function coins(options: CoinsOptions = {}): Promise<TrendingCoin[]> {
- const limit = options.limit ?? 20
- const list = await fetchPools(
- 'trending_pools',
- { duration: options.window ?? '24h' },
- options.timeoutMs ?? 10_000,
- )
- return list.slice(0, limit)
-}
-
-/** Fetch the newest pools (freshest launches first). */
-export async function fetchNewCoins(timeoutMs: number): Promise<NewCoin[]> {
- return fetchPools('new_pools', {}, timeoutMs)
-}
diff --git a/robinhood/hood-js/tests/live/mainnet.test.ts b/robinhood/hood-js/tests/live/mainnet.test.ts
new file mode 100644
index 000000000..69b594168
--- /dev/null
+++ b/robinhood/hood-js/tests/live/mainnet.test.ts
@@ -0,0 +1,118 @@
+/**
+ * Live integration tests — real reads against Robinhood Chain mainnet
+ * (public RPC, no key needed) and GeckoTerminal's public API.
+ * Run with `npm run test:live`.
+ */
+import { describe, expect, it } from 'vitest'
+import hood, { HoodError } from '../../src/index.js'
+
+// Stock feeds pause outside market hours (24/5); tolerate a long weekend.
+const WEEKEND_SAFE_SYMBOLS = ['AAPL', 'TSLA', 'NVDA', 'MSFT']
+
+describe('live: hood.price', () => {
+ it('returns a plausible live USD price for AAPL', async () => {
+ const p = await hood.price('AAPL')
+ expect(p.symbol).toBe('AAPL')
+ expect(p.usd).toBeGreaterThan(20)
+ expect(p.usd).toBeLessThan(5000)
+ expect(p.updatedAt).toBeInstanceOf(Date)
+ })
+
+ it('rejects a symbol that is not a canonical Stock Token with a friendly error', async () => {
+ const err: HoodError = await hood.price('NOTREALTICKER').catch((e) => e)
+ expect(err).toBeInstanceOf(HoodError)
+ expect(err.code).toBe('UNKNOWN_SYMBOL')
+ })
+})
+
+describe('live: hood.prices (batched multicall)', () => {
+ it('prices several Stock Tokens in one call, preserving order', async () => {
+ const result = await hood.prices(WEEKEND_SAFE_SYMBOLS)
+ expect(result.map((r) => r.symbol)).toEqual(WEEKEND_SAFE_SYMBOLS)
+ for (const r of result) {
+ expect(r.usd).not.toBeNull()
+ expect(r.usd as number).toBeGreaterThan(0)
+ }
+ })
+})
+
+describe('live: hood.portfolio', () => {
+ it('multiplier-corrects a real TSLA holder (the TSLA/WETH pool)', async () => {
+ const p = await hood.portfolio('0xA953CA88ff430e9487c60cA34d757414f4efdA07')
+ const tsla = p.positions.find((x) => x.symbol === 'TSLA')
+ expect(tsla).toBeDefined()
+ expect(tsla!.tokens).toBeGreaterThan(0)
+ expect(tsla!.usd).toBeGreaterThan(0)
+ })
+
+ it('returns a clean zero-position result for an unused address', async () => {
+ const p = await hood.portfolio('0x0000000000000000000000000000000000000001')
+ expect(p.positions).toEqual([])
+ expect(p.totalUsd).toBe(0)
+ })
+})
+
+describe('live: hood.coins (GeckoTerminal onchain index)', () => {
+ it('returns trending Robinhood Chain memecoins with real USD prices', async () => {
+ const list = await hood.coins({ limit: 5 })
+ expect(list.length).toBeGreaterThan(0)
+ expect(list.length).toBeLessThanOrEqual(5)
+ for (const c of list) {
+ expect(c.symbol.length).toBeGreaterThan(0)
+ expect(c.priceUsd).toBeGreaterThanOrEqual(0)
+ expect(c.url).toContain('geckoterminal.com')
+ }
+ })
+})
+
+describe('live: hood.quote', () => {
+ it('quotes 100 USDG → WETH through the live Uniswap v3 pools', async () => {
+ const q = await hood.quote({ sell: 'USDG', buy: 'WETH', amount: 100 })
+ expect(q.sell).toBe('USDG')
+ expect(q.buy).toBe('WETH')
+ expect(Number(q.buyAmount)).toBeGreaterThan(100 / 50_000) // ETH > $500
+ expect(Number(q.buyAmount)).toBeLessThan(100 / 500) // ETH < $50,000
+ })
+
+ it('quotes a memecoin by raw address (multi-hop route)', async () => {
+ // Not every trending coin has enough Uniswap v3 liquidity to fill a real
+ // quote (some pair via v2/v4 pools this router can't reach, others are
+ // thin) — that's real, live market state, not a bug. Try candidates until
+ // one succeeds, the same thing a well-behaved caller would do.
+ const candidates = await hood.coins({ limit: 10 })
+ expect(candidates.length).toBeGreaterThan(0)
+
+ let quoted: Awaited<ReturnType<typeof hood.quote>> | null = null
+ for (const c of candidates) {
+ try {
+ quoted = await hood.quote({ sell: 'USDG', buy: c.address, amount: 10 })
+ break
+ } catch {
+ continue
+ }
+ }
+ expect(quoted, 'expected at least one of the top 10 trending coins to have a live route').not.toBeNull()
+ expect(Number(quoted!.buyAmount)).toBeGreaterThan(0)
+ expect(quoted!.route.length).toBeGreaterThanOrEqual(2)
+ })
+})
+
+describe('live: hood.launches', () => {
+ it('resolves an array of decoded launches (may legitimately be empty during a quiet window)', async () => {
+ const list = await hood.launches({ lookbackBlocks: 30_000n })
+ expect(Array.isArray(list)).toBe(true)
+ for (const l of list) {
+ expect(['noxa', 'odyssey']).toContain(l.launchpad)
+ expect(l.token).toMatch(/^0x[0-9a-fA-F]{40}$/)
+ expect(l.url).toContain('robinhoodchain.blockscout.com')
+ }
+ })
+
+ it('live stream subscribes and returns a working unwatch function', async () => {
+ const seen: unknown[] = []
+ const stop = hood.launches({ live: true, pollingInterval: 500 }, (l) => seen.push(l))
+ expect(typeof stop).toBe('function')
+ await new Promise((r) => setTimeout(r, 1500))
+ stop()
+ })
+})
diff --git a/robinhood/hood-js/tests/live/testnet.test.ts b/robinhood/hood-js/tests/live/testnet.test.ts
new file mode 100644
index 000000000..27cf5ae51
--- /dev/null
+++ b/robinhood/hood-js/tests/live/testnet.test.ts
@@ -0,0 +1,40 @@
+/**
+ * REAL testnet E2E through the five-line hood-js API: quote WETH → NFLX on
+ * chain 46630, then execute the swap and confirm a real balance delta.
+ *
+ * Gated on ROBINHOOD_CHAIN_PRIVATE_KEY, same as the underlying hoodchain
+ * SDK's own testnet-swap test — the official faucet
+ * (https://faucet.testnet.chain.robinhood.com/) requires a browser session
+ * with Cloudflare Turnstile + Google Sign-In and cannot be automated
+ * headlessly. Fund a key there (0.01 ETH + test Stock Tokens, one claim per
+ * 24h), export it, then: npm run test:live
+ */
+import { describe, expect, it } from 'vitest'
+import hood from '../../src/index.js'
+
+const pk = process.env.ROBINHOOD_CHAIN_PRIVATE_KEY as `0x${string}` | undefined
+
+describe.skipIf(!pk)('live: testnet swap E2E via hood.quote + hood.swap', () => {
+ it('quotes then swaps 0.0001 WETH → NFLX and receives tokens', async () => {
+ hood.testnet()
+
+ const q = await hood.quote({ sell: 'WETH', buy: 'NFLX', amount: '0.0001' })
+ expect(Number(q.buyAmount)).toBeGreaterThan(0)
+
+ const result = await hood.swap({ ...q, wallet: pk as `0x${string}` })
+ expect(result.status).toBe('success')
+ expect(Number(result.amountOut)).toBeGreaterThan(0)
+ console.log(`testnet swap tx: ${result.url}`)
+ }, 180_000)
+})
+
+describe('live: testnet read path (no wallet needed)', () => {
+ it('quotes WETH → NFLX on the community testnet pool', async () => {
+ hood.testnet()
+ const q = await hood.quote({ sell: 'WETH', buy: 'NFLX', amount: '0.0001' })
+ expect(q.sell).toBe('WETH')
+ expect(q.buy).toBe('NFLX')
+ expect(Number(q.buyAmount)).toBeGreaterThan(0)
+ hood.mainnet()
+ })
+})
diff --git a/robinhood/hood-js/tests/unit/errors.test.ts b/robinhood/hood-js/tests/unit/errors.test.ts
new file mode 100644
index 000000000..739ba3e60
--- /dev/null
+++ b/robinhood/hood-js/tests/unit/errors.test.ts
@@ -0,0 +1,71 @@
+import { describe, expect, it } from 'vitest'
+import {
+ FeedNotFoundError,
+ NoAccountError,
+ NoRouteError,
+ StaleFeedError,
+ StockTokenEligibilityError,
+ UnknownSymbolError,
+} from 'hoodchain'
+import { HoodError, toHoodError } from '../../src/errors.js'
+
+describe('toHoodError', () => {
+ it('passes an existing HoodError through unchanged', () => {
+ const original = new HoodError('already friendly', 'BAD_INPUT')
+ expect(toHoodError(original)).toBe(original)
+ })
+
+ it('maps UnknownSymbolError to UNKNOWN_SYMBOL with a plain-language message', () => {
+ const err = toHoodError(new UnknownSymbolError('NOTREAL'))
+ expect(err).toBeInstanceOf(HoodError)
+ expect(err.code).toBe('UNKNOWN_SYMBOL')
+ expect(err.message).toContain('NOTREAL')
+ expect(err.message).not.toMatch(/registry\.ts|readContract|viem/i)
+ })
+
+ it('maps FeedNotFoundError to NO_FEED', () => {
+ const err = toHoodError(new FeedNotFoundError('XYZ'))
+ expect(err.code).toBe('NO_FEED')
+ })
+
+ it('maps StaleFeedError to STALE_PRICE and keeps the age in the message', () => {
+ const err = toHoodError(new StaleFeedError('AAPL', 1_700_000_000, 999_999, 259_200))
+ expect(err.code).toBe('STALE_PRICE')
+ expect(err.message).toContain('999999')
+ })
+
+ it('maps NoRouteError to NO_ROUTE', () => {
+ const err = toHoodError(new NoRouteError('0xabc', '0xdef', 'no liquidity'))
+ expect(err.code).toBe('NO_ROUTE')
+ })
+
+ it('maps StockTokenEligibilityError to NEEDS_ELIGIBILITY with the config hint', () => {
+ const err = toHoodError(new StockTokenEligibilityError())
+ expect(err.code).toBe('NEEDS_ELIGIBILITY')
+ expect(err.message).toContain('acknowledgeEligibility')
+ })
+
+ it('maps NoAccountError to NEEDS_WALLET with hood-js call-shape guidance', () => {
+ const err = toHoodError(new NoAccountError('executeSwap'))
+ expect(err.code).toBe('NEEDS_WALLET')
+ expect(err.message).toContain('hood.swap')
+ })
+
+ it('wraps an unrelated Error as UNKNOWN, preserving it on cause', () => {
+ const cause = new Error('boom')
+ const err = toHoodError(cause)
+ expect(err.code).toBe('UNKNOWN')
+ expect(err.cause).toBe(cause)
+ })
+
+ it('classifies a network-shaped message as NETWORK', () => {
+ const err = toHoodError(new Error('fetch failed: ECONNREFUSED'))
+ expect(err.code).toBe('NETWORK')
+ })
+
+ it('every HoodError is instanceof Error and carries a stable name', () => {
+ const err = toHoodError(new Error('x'))
+ expect(err).toBeInstanceOf(Error)
+ expect(err.name).toBe('HoodError')
+ })
+})
diff --git a/robinhood/hood-js/tests/unit/tokens.test.ts b/robinhood/hood-js/tests/unit/tokens.test.ts
new file mode 100644
index 000000000..caf219413
--- /dev/null
+++ b/robinhood/hood-js/tests/unit/tokens.test.ts
@@ -0,0 +1,71 @@
+import { describe, expect, it } from 'vitest'
+import { MAINNET_ADDRESSES, TESTNET_ADDRESSES, TESTNET_STOCK_TOKENS, type HoodClient } from 'hoodchain'
+import { HoodError } from '../../src/errors.js'
+import { isStockRef, resolveToken } from '../../src/tokens.js'
+
+function fakeClient(network: 'mainnet' | 'testnet'): HoodClient {
+ return {
+ network,
+ chain: { id: network === 'mainnet' ? 4663 : 46630 },
+ public: {},
+ wallet: null,
+ account: null,
+ acknowledgeStockTokenEligibility: false,
+ } as unknown as HoodClient
+}
+
+describe('resolveToken — offline paths (no network call)', () => {
+ it('resolves "USDG" to the network USDG address at 6 decimals', async () => {
+ const mainnet = await resolveToken(fakeClient('mainnet'), 'USDG')
+ expect(mainnet).toEqual({ address: MAINNET_ADDRESSES.usdg, decimals: 6, label: 'USDG' })
+ const testnet = await resolveToken(fakeClient('testnet'), 'usdg')
+ expect(testnet.address).toBe(TESTNET_ADDRESSES.usdg)
+ })
+
+ it('resolves "WETH" and "ETH" identically to the network WETH', async () => {
+ const weth = await resolveToken(fakeClient('mainnet'), 'WETH')
+ const eth = await resolveToken(fakeClient('mainnet'), 'eth')
+ expect(weth.address).toBe(MAINNET_ADDRESSES.weth)
+ expect(eth.address).toBe(MAINNET_ADDRESSES.weth)
+ expect(weth.label).toBe('WETH')
+ })
+
+ it('resolves a mainnet Stock Token ticker case-insensitively', async () => {
+ const t = await resolveToken(fakeClient('mainnet'), 'aapl')
+ expect(t.label).toBe('AAPL')
+ expect(t.decimals).toBe(18)
+ expect(t.address).toMatch(/^0x[0-9a-fA-F]{40}$/)
+ })
+
+ it('resolves a testnet Stock Token from the fixed faucet set', async () => {
+ const t = await resolveToken(fakeClient('testnet'), 'NFLX')
+ expect(t.address).toBe(TESTNET_STOCK_TOKENS.NFLX)
+ })
+
+ it('rejects a mainnet-only ticker on testnet with a helpful list', async () => {
+ await expect(resolveToken(fakeClient('testnet'), 'AAPL')).rejects.toThrow(HoodError)
+ await expect(resolveToken(fakeClient('testnet'), 'AAPL')).rejects.toThrow(/NFLX/)
+ })
+
+ it('rejects an unknown symbol on mainnet', async () => {
+ await expect(resolveToken(fakeClient('mainnet'), 'NOTREAL')).rejects.toThrow(HoodError)
+ })
+
+ it('rejects empty/blank input before any lookup', async () => {
+ await expect(resolveToken(fakeClient('mainnet'), '')).rejects.toThrow(HoodError)
+ await expect(resolveToken(fakeClient('mainnet'), ' ')).rejects.toThrow(HoodError)
+ })
+})
+
+describe('isStockRef', () => {
+ it('is true for a known mainnet Stock Token ticker', () => {
+ expect(isStockRef(fakeClient('mainnet'), 'tsla')).toBe(true)
+ })
+ it('is false for USDG/WETH and for raw addresses', () => {
+ expect(isStockRef(fakeClient('mainnet'), 'USDG')).toBe(false)
+ expect(isStockRef(fakeClient('mainnet'), MAINNET_ADDRESSES.weth)).toBe(false)
+ })
+ it('is false for an unknown symbol', () => {
+ expect(isStockRef(fakeClient('mainnet'), 'NOTREAL')).toBe(false)
+ })
+})
diff --git a/robinhood/hood-js/tests/unit/validation.test.ts b/robinhood/hood-js/tests/unit/validation.test.ts
new file mode 100644
index 000000000..e014e76d7
--- /dev/null
+++ b/robinhood/hood-js/tests/unit/validation.test.ts
@@ -0,0 +1,62 @@
+import { describe, expect, it } from 'vitest'
+import hood, { HoodError } from '../../src/index.js'
+
+describe('argument validation (fails before any network call)', () => {
+ it('price() rejects a non-string / empty symbol', async () => {
+ // @ts-expect-error intentionally wrong type
+ await expect(hood.price(123)).rejects.toThrow(HoodError)
+ await expect(hood.price('')).rejects.toThrow(HoodError)
+ await expect(hood.price(' ')).rejects.toThrow(/ticker string/)
+ })
+
+ it('prices() rejects a non-array or empty array', async () => {
+ // @ts-expect-error intentionally wrong type
+ await expect(hood.prices('AAPL')).rejects.toThrow(HoodError)
+ await expect(hood.prices([])).rejects.toThrow(/non-empty array/)
+ })
+
+ it('prices() rejects a blank entry inside the array', async () => {
+ await expect(hood.prices(['AAPL', ''])).rejects.toThrow(/non-empty string/)
+ })
+
+ it('portfolio() rejects a non-address', async () => {
+ await expect(hood.portfolio('not-an-address')).rejects.toThrow(/wallet address/)
+ })
+
+ it('quote() rejects a missing field', async () => {
+ // @ts-expect-error intentionally missing amount
+ await expect(hood.quote({ sell: 'USDG', buy: 'AAPL' })).rejects.toThrow(HoodError)
+ })
+
+ it('quote() rejects a non-positive amount', async () => {
+ await expect(hood.quote({ sell: 'USDG', buy: 'AAPL', amount: 0 })).rejects.toThrow(/positive number/)
+ await expect(hood.quote({ sell: 'USDG', buy: 'AAPL', amount: -5 })).rejects.toThrow(/positive number/)
+ await expect(hood.quote({ sell: 'USDG', buy: 'AAPL', amount: 'abc' })).rejects.toThrow(/positive number/)
+ })
+
+ it('quote() accepts a numeric string amount', async () => {
+ // normalizeAmount validates the shape; this should get past validation and
+ // fail on network instead (JSDOM/node has no fetch context here so it may
+ // throw NETWORK/UNKNOWN, but never BAD_INPUT for a well-formed amount).
+ const result = hood.quote({ sell: 'USDG', buy: 'AAPL', amount: '12.5' }).catch((e: HoodError) => e)
+ const outcome = await result
+ if (outcome instanceof HoodError) expect(outcome.code).not.toBe('BAD_INPUT')
+ })
+
+ it('swap() rejects a call with no wallet', async () => {
+ // @ts-expect-error intentionally missing wallet
+ await expect(hood.swap({ sell: 'USDG', buy: 'AAPL', amount: 1 })).rejects.toThrow(/wallet/)
+ })
+
+ it('swap() rejects a malformed private key string', async () => {
+ await expect(
+ hood.swap({ sell: 'USDG', buy: 'AAPL', amount: 1, wallet: '0xdeadbeef' }),
+ ).rejects.toThrow(/32-byte private key/)
+ })
+
+ it('config/testnet/mainnet are chainable and return the same facade', () => {
+ expect(hood.config({})).toBe(hood)
+ expect(hood.testnet()).toBe(hood)
+ expect(hood.mainnet()).toBe(hood)
+ })
+})
diff --git a/robinhood/hood-js/vitest.config.ts b/robinhood/hood-js/vitest.config.ts
new file mode 100644
index 000000000..b31aa2a51
--- /dev/null
+++ b/robinhood/hood-js/vitest.config.ts
@@ -0,0 +1,8 @@
+import { defineConfig } from 'vitest/config'
+
+export default defineConfig({
+ test: {
+ include: ['tests/**/*.test.ts'],
+ environment: 'node',
+ },
+})
diff --git a/robinhood/hood-launcher/contracts/HoodToken.json b/robinhood/hood-launcher/contracts/HoodToken.json
new file mode 100644
index 000000000..b7ce1a042
--- /dev/null
+++ b/robinhood/hood-launcher/contracts/HoodToken.json
@@ -0,0 +1,345 @@
+{
+ "contractName": "HoodToken",
+ "abi": [
+ {
+ "inputs": [
+ {
+ "internalType": "string",
+ "name": "name_",
+ "type": "string"
+ },
+ {
+ "internalType": "string",
+ "name": "symbol_",
+ "type": "string"
+ },
+ {
+ "internalType": "uint256",
+ "name": "totalSupply_",
+ "type": "uint256"
+ },
+ {
+ "internalType": "address",
+ "name": "recipient_",
+ "type": "address"
+ }
+ ],
+ "stateMutability": "nonpayable",
+ "type": "constructor"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "spender",
+ "type": "address"
+ },
+ {
+ "internalType": "uint256",
+ "name": "allowance",
+ "type": "uint256"
+ },
+ {
+ "internalType": "uint256",
+ "name": "needed",
+ "type": "uint256"
+ }
+ ],
+ "name": "ERC20InsufficientAllowance",
+ "type": "error"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "sender",
+ "type": "address"
+ },
+ {
+ "internalType": "uint256",
+ "name": "balance",
+ "type": "uint256"
+ },
+ {
+ "internalType": "uint256",
+ "name": "needed",
+ "type": "uint256"
+ }
+ ],
+ "name": "ERC20InsufficientBalance",
+ "type": "error"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "approver",
+ "type": "address"
+ }
+ ],
+ "name": "ERC20InvalidApprover",
+ "type": "error"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "receiver",
+ "type": "address"
+ }
+ ],
+ "name": "ERC20InvalidReceiver",
+ "type": "error"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "sender",
+ "type": "address"
+ }
+ ],
+ "name": "ERC20InvalidSender",
+ "type": "error"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "spender",
+ "type": "address"
+ }
+ ],
+ "name": "ERC20InvalidSpender",
+ "type": "error"
+ },
+ {
+ "anonymous": false,
+ "inputs": [
+ {
+ "indexed": true,
+ "internalType": "address",
+ "name": "owner",
+ "type": "address"
+ },
+ {
+ "indexed": true,
+ "internalType": "address",
+ "name": "spender",
+ "type": "address"
+ },
+ {
+ "indexed": false,
+ "internalType": "uint256",
+ "name": "value",
+ "type": "uint256"
+ }
+ ],
+ "name": "Approval",
+ "type": "event"
+ },
+ {
+ "anonymous": false,
+ "inputs": [
+ {
+ "indexed": true,
+ "internalType": "address",
+ "name": "from",
+ "type": "address"
+ },
+ {
+ "indexed": true,
+ "internalType": "address",
+ "name": "to",
+ "type": "address"
+ },
+ {
+ "indexed": false,
+ "internalType": "uint256",
+ "name": "value",
+ "type": "uint256"
+ }
+ ],
+ "name": "Transfer",
+ "type": "event"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "owner",
+ "type": "address"
+ },
+ {
+ "internalType": "address",
+ "name": "spender",
+ "type": "address"
+ }
+ ],
+ "name": "allowance",
+ "outputs": [
+ {
+ "internalType": "uint256",
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "spender",
+ "type": "address"
+ },
+ {
+ "internalType": "uint256",
+ "name": "value",
+ "type": "uint256"
+ }
+ ],
+ "name": "approve",
+ "outputs": [
+ {
+ "internalType": "bool",
+ "name": "",
+ "type": "bool"
+ }
+ ],
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "account",
+ "type": "address"
+ }
+ ],
+ "name": "balanceOf",
+ "outputs": [
+ {
+ "internalType": "uint256",
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [],
+ "name": "decimals",
+ "outputs": [
+ {
+ "internalType": "uint8",
+ "name": "",
+ "type": "uint8"
+ }
+ ],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [],
+ "name": "name",
+ "outputs": [
+ {
+ "internalType": "string",
+ "name": "",
+ "type": "string"
+ }
+ ],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [],
+ "name": "symbol",
+ "outputs": [
+ {
+ "internalType": "string",
+ "name": "",
+ "type": "string"
+ }
+ ],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [],
+ "name": "totalSupply",
+ "outputs": [
+ {
+ "internalType": "uint256",
+ "name": "",
+ "type": "uint256"
+ }
+ ],
+ "stateMutability": "view",
+ "type": "function"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "to",
+ "type": "address"
+ },
+ {
+ "internalType": "uint256",
+ "name": "value",
+ "type": "uint256"
+ }
+ ],
+ "name": "transfer",
+ "outputs": [
+ {
+ "internalType": "bool",
+ "name": "",
+ "type": "bool"
+ }
+ ],
+ "stateMutability": "nonpayable",
+ "type": "function"
+ },
+ {
+ "inputs": [
+ {
+ "internalType": "address",
+ "name": "from",
+ "type": "address"
+ },
+ {
+ "internalType": "address",
+ "name": "to",
+ "type": "address"
+ },
+ {
+ "internalType": "uint256",
+ "name": "value",
+ "type": "uint256"
+ }
+ ],
+ "name": "transferFrom",
+ "outputs": [
+ {
+ "internalType": "bool",
+ "name": "",
+ "type": "bool"
+ }
+ ],
+ "stateMutability": "nonpayable",
+ "type": "function"
+ }
+ ],
+ "bytecode": "0x608060405234801561000f575f5ffd5b50604051610b55380380610b5583398101604081905261002e91610265565b8383600361003c8382610381565b5060046100498282610381565b50505061005c818361006560201b60201c565b50505050610464565b6001600160a01b0382166100935760405163ec442f0560e01b81525f60048201526024015b60405180910390fd5b61009e5f83836100a2565b5050565b6001600160a01b0383166100cc578060025f8282546100c1919061043f565b9091555061013c9050565b6001600160a01b0383165f908152602081905260409020548181101561011e5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161008a565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661015857600280548290039055610176565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516101bb91815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f8301126101eb575f5ffd5b81516001600160401b03811115610204576102046101c8565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610232576102326101c8565b604052818152838201602001851015610249575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f5f60808587031215610278575f5ffd5b84516001600160401b0381111561028d575f5ffd5b610299878288016101dc565b602087015190955090506001600160401b038111156102b6575f5ffd5b6102c2878288016101dc565b60408701516060880151919550935090506001600160a01b03811681146102e7575f5ffd5b939692955090935050565b600181811c9082168061030657607f821691505b60208210810361032457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561037c578282111561037c57805f5260205f20601f840160051c602085101561035557505f5b90810190601f840160051c035f5b81811015610378575f83820155600101610363565b5050505b505050565b81516001600160401b0381111561039a5761039a6101c8565b6103ae816103a884546102f2565b8461032a565b6020601f8211600181146103e0575f83156103c95750848201515b5f19600385901b1c1916600184901b178455610438565b5f84815260208120601f198516915b8281101561040f57878501518255602094850194600190920191016103ef565b508482101561042c57868401515f19600387901b60f8161c191681555b505060018360011b0184555b5050505050565b8082018082111561045e57634e487b7160e01b5f52601160045260245ffd5b92915050565b6106e4806104715f395ff3fe608060405234801561000f575f5ffd5b5060043610610090575f3560e01c8063313ce56711610063578063313ce567146100fa57806370a082311461010957806395d89b4114610131578063a9059cbb14610139578063dd62ed3e1461014c575f5ffd5b806306fdde0314610094578063095ea7b3146100b257806318160ddd146100d557806323b872dd146100e7575b5f5ffd5b61009c610184565b6040516100a99190610554565b60405180910390f35b6100c56100c03660046105a4565b610214565b60405190151581526020016100a9565b6002545b6040519081526020016100a9565b6100c56100f53660046105cc565b61022d565b604051601281526020016100a9565b6100d9610117366004610606565b6001600160a01b03165f9081526020819052604090205490565b61009c610250565b6100c56101473660046105a4565b61025f565b6100d961015a366004610626565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b60606003805461019390610657565b80601f01602080910402602001604051908101604052809291908181526020018280546101bf90610657565b801561020a5780601f106101e15761010080835404028352916020019161020a565b820191905f5260205f20905b8154815290600101906020018083116101ed57829003601f168201915b5050505050905090565b5f3361022181858561026c565b60019150505b92915050565b5f3361023a85828561027e565b6102458585856102ff565b506001949350505050565b60606004805461019390610657565b5f336102218185856102ff565b610279838383600161035c565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198110156102f957818110156102eb57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b6102f984848484035f61035c565b50505050565b6001600160a01b03831661032857604051634b637e8f60e11b81525f60048201526024016102e2565b6001600160a01b0382166103515760405163ec442f0560e01b81525f60048201526024016102e2565b61027983838361042e565b6001600160a01b0384166103855760405163e602df0560e01b81525f60048201526024016102e2565b6001600160a01b0383166103ae57604051634a1406b160e11b81525f60048201526024016102e2565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156102f957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161042091815260200190565b60405180910390a350505050565b6001600160a01b038316610458578060025f82825461044d919061068f565b909155506104c89050565b6001600160a01b0383165f90815260208190526040902054818110156104aa5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016102e2565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166104e457600280548290039055610502565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161054791815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461059f575f5ffd5b919050565b5f5f604083850312156105b5575f5ffd5b6105be83610589565b946020939093013593505050565b5f5f5f606084860312156105de575f5ffd5b6105e784610589565b92506105f560208501610589565b929592945050506040919091013590565b5f60208284031215610616575f5ffd5b61061f82610589565b9392505050565b5f5f60408385031215610637575f5ffd5b61064083610589565b915061064e60208401610589565b90509250929050565b600181811c9082168061066b57607f821691505b60208210810361068957634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561022757634e487b7160e01b5f52601160045260245ffdfea26469706673582212205e61368079b7316042d8497d5c9c9ad62c3f5082a4b89b546bf096413adf736764736f6c63430008240033",
+ "deployedBytecode": "0x608060405234801561000f575f5ffd5b5060043610610090575f3560e01c8063313ce56711610063578063313ce567146100fa57806370a082311461010957806395d89b4114610131578063a9059cbb14610139578063dd62ed3e1461014c575f5ffd5b806306fdde0314610094578063095ea7b3146100b257806318160ddd146100d557806323b872dd146100e7575b5f5ffd5b61009c610184565b6040516100a99190610554565b60405180910390f35b6100c56100c03660046105a4565b610214565b60405190151581526020016100a9565b6002545b6040519081526020016100a9565b6100c56100f53660046105cc565b61022d565b604051601281526020016100a9565b6100d9610117366004610606565b6001600160a01b03165f9081526020819052604090205490565b61009c610250565b6100c56101473660046105a4565b61025f565b6100d961015a366004610626565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b60606003805461019390610657565b80601f01602080910402602001604051908101604052809291908181526020018280546101bf90610657565b801561020a5780601f106101e15761010080835404028352916020019161020a565b820191905f5260205f20905b8154815290600101906020018083116101ed57829003601f168201915b5050505050905090565b5f3361022181858561026c565b60019150505b92915050565b5f3361023a85828561027e565b6102458585856102ff565b506001949350505050565b60606004805461019390610657565b5f336102218185856102ff565b610279838383600161035c565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198110156102f957818110156102eb57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b6102f984848484035f61035c565b50505050565b6001600160a01b03831661032857604051634b637e8f60e11b81525f60048201526024016102e2565b6001600160a01b0382166103515760405163ec442f0560e01b81525f60048201526024016102e2565b61027983838361042e565b6001600160a01b0384166103855760405163e602df0560e01b81525f60048201526024016102e2565b6001600160a01b0383166103ae57604051634a1406b160e11b81525f60048201526024016102e2565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156102f957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161042091815260200190565b60405180910390a350505050565b6001600160a01b038316610458578060025f82825461044d919061068f565b909155506104c89050565b6001600160a01b0383165f90815260208190526040902054818110156104aa5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016102e2565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166104e457600280548290039055610502565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161054791815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461059f575f5ffd5b919050565b5f5f604083850312156105b5575f5ffd5b6105be83610589565b946020939093013593505050565b5f5f5f606084860312156105de575f5ffd5b6105e784610589565b92506105f560208501610589565b929592945050506040919091013590565b5f60208284031215610616575f5ffd5b61061f82610589565b9392505050565b5f5f60408385031215610637575f5ffd5b61064083610589565b915061064e60208401610589565b90509250929050565b600181811c9082168061066b57607f821691505b60208210810361068957634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561022757634e487b7160e01b5f52601160045260245ffdfea26469706673582212205e61368079b7316042d8497d5c9c9ad62c3f5082a4b89b546bf096413adf736764736f6c63430008240033",
+ "compiler": {
+ "name": "solc",
+ "version": "0.8.36+commit.8a079791.Emscripten.clang"
+ }
+}
\ No newline at end of file
diff --git a/robinhood/hood-launcher/contracts/HoodToken.sol b/robinhood/hood-launcher/contracts/HoodToken.sol
new file mode 100644
index 000000000..d3a0f658f
--- /dev/null
+++ b/robinhood/hood-launcher/contracts/HoodToken.sol
@@ -0,0 +1,30 @@
+// SPDX-License-Identifier: MIT
+pragma solidity ^0.8.28;
+
+import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
+
+/**
+ * @title HoodToken
+ * @notice The direct-rail ERC-20 for hood-launcher's Robinhood Chain (4663)
+ * memecoin launches.
+ * @dev Deliberately minimal and audited-pattern:
+ * - OpenZeppelin v5 `ERC20` (no custom transfer/fee/tax logic).
+ * - Fixed supply, minted once in the constructor to the deployer.
+ * - No `mint` function exists anywhere in the contract — supply cannot
+ * grow after deployment.
+ * - No owner, no `Ownable`, no privileged functions of any kind. There
+ * is nothing to renounce because there is nothing to renounce from.
+ * This is intentionally the entire contract: 18 lines, one inherited
+ * base, zero attack surface beyond what OpenZeppelin's `ERC20` itself
+ * carries.
+ */
+contract HoodToken is ERC20 {
+ constructor(
+ string memory name_,
+ string memory symbol_,
+ uint256 totalSupply_,
+ address recipient_
+ ) ERC20(name_, symbol_) {
+ _mint(recipient_, totalSupply_);
+ }
+}
diff --git a/robinhood/hood-launcher/package-lock.json b/robinhood/hood-launcher/package-lock.json
new file mode 100644
index 000000000..15cc344c1
--- /dev/null
+++ b/robinhood/hood-launcher/package-lock.json
@@ -0,0 +1,2904 @@
+{
+ "name": "hood-launcher",
+ "version": "0.1.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "hood-launcher",
+ "version": "0.1.0",
+ "license": "MIT",
+ "dependencies": {
+ "hoodchain": "^0.1.0",
+ "viem": "^2.55.0",
+ "zod": "^3.24.0"
+ },
+ "bin": {
+ "hood-launch": "dist/cli.js"
+ },
+ "devDependencies": {
+ "@openzeppelin/contracts": "^5.1.0",
+ "@types/node": "^24.0.0",
+ "solc": "^0.8.28",
+ "tsup": "^8.5.0",
+ "tsx": "^4.19.0",
+ "typescript": "^5.9.0",
+ "vitest": "^3.2.0"
+ },
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "node_modules/@adraffy/ens-normalize": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.1.tgz",
+ "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==",
+ "license": "MIT"
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz",
+ "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz",
+ "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz",
+ "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz",
+ "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz",
+ "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz",
+ "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz",
+ "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz",
+ "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz",
+ "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz",
+ "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz",
+ "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz",
+ "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz",
+ "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz",
+ "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz",
+ "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz",
+ "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz",
+ "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz",
+ "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz",
+ "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz",
+ "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz",
+ "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@noble/ciphers": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
+ "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/curves": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.1.tgz",
+ "integrity": "sha512-k11yZxZg+t+gWvBbIswW0yoJlu8cHOC7dhunwOzoWH/mXGBiYyR4YY6hAEK/3EUs4UpB8la1RfdRpeGsFHkWsA==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "1.8.0"
+ },
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/hashes": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
+ "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@openzeppelin/contracts": {
+ "version": "5.6.1",
+ "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-5.6.1.tgz",
+ "integrity": "sha512-Ly6SlsVJ3mj+b18W3R8gNufB7dTICT105fJhodGAGgyC2oqnBAhqSiNDJ8V8DLY05cCz81GLI0CU5vNYA1EC/w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.62.2.tgz",
+ "integrity": "sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.62.2.tgz",
+ "integrity": "sha512-BaH7BllCACHoH1LguOU56UItGfUWjujlO65kS9LAodViaN4bwIKd7oeW/ZHJ/4ljr/7MIiENnNy3HJ0zXv8Zkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.62.2.tgz",
+ "integrity": "sha512-v39RCCvj4He82I9sFmk+M1VZ0PLM9sfsLVikjfx2hYBNALhrrOR2D3JjQA6AhlaSOgcR+RzrKY7e1+bT6SUO/A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.62.2.tgz",
+ "integrity": "sha512-yl0y2vq3S3lHeuXhEdss6TWfKW8vkujImO12tn4ZkG/4oghr09LvdYm2RElVjokTQiUvDUGXLGsYeLqUMCKpGA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.62.2.tgz",
+ "integrity": "sha512-tT4pvt4qXD+vEoezupCWi+a1F0vvDiksiHc+PxRlYTOH1I6/X4id9jPxTP+Fg+545euaFT1jJVs4CEdHZAU1vw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.62.2.tgz",
+ "integrity": "sha512-6nU5F2wCW+qvCBhTn1pdIU3bzsIoF7EUwsCDRxilWGprQR6yd508YnH9+OKFCwpfS8pjZqDUmnCAr7exax0XCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.62.2.tgz",
+ "integrity": "sha512-n1GJHPOvpIfhi3TmrCeh6S6URt9BFCt0KQE3qvexyGCTAKpR4Lg+eWvNZEqu7epxwus/8ElT3hacYEucm49SZg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.62.2.tgz",
+ "integrity": "sha512-JqgflS8wEB+UXV/vS1RpRbifGBeN4D5lz8D8oOFbFZw4vedvdOgCFAjfBmIMdW3yL10XpQQ0Ambepw6MXrhOnA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.62.2.tgz",
+ "integrity": "sha512-wnFJkogWvN4jm/hQRF2UBaeUmk20j5+DmHvoyWii2b8HJDyvz1MF2OU/6ynXt2KR63rbZLWkFpoytpdc/yBuSA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.62.2.tgz",
+ "integrity": "sha512-HVu2bp0zhvJ8xHEV9+UUs7S90VadmBSY3LcIMvozbPo4AuMGDWlz3ymHLHZPX4hR67TKTt8Qp5PJ5RBg/i+RMQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.62.2.tgz",
+ "integrity": "sha512-mQqqAV8QaoSgr9I2fKDLY2BAVvmKjWoGiu/cSYQonsLvtqwEn1E4QYfnCOcp5zoEqNhsDYin1s6jx/VJmrxlZg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.62.2.tgz",
+ "integrity": "sha512-IxKLoxCQ2IWi6bT2akyDUBGsOImDKB+sPp4EsTmwFQ/fMwpCKm8uLSSgP/Kx/QYUgKis6SEZ5/Nlhup0DIA0PQ==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.62.2.tgz",
+ "integrity": "sha512-Mk5ha2RQSgyFfmYYLkBpPnUk8D8FriBxesO1u9O75X0mHgXL1UQcH5Itl2lurWL2tj0RxV9b9tJgipac0hRY9A==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.62.2.tgz",
+ "integrity": "sha512-CjvEnqJL/0/TQ3TXX3OPIJ/kmBellrWd4heXUmHeJlTnmwjKpSJzoehLaL6Xk0ZnMHBu9dZuFADNOrtjF4v+2w==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.62.2.tgz",
+ "integrity": "sha512-1SiZbzwdkaDURsew/tSOrooKiYy7EQGT6m8ufavAi9NEyQb/6VuIxFXAL1fqa4iZe3g4NbNk4P7J32z2tw5Mgg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.62.2.tgz",
+ "integrity": "sha512-nQts12zJ3NQRoE6uYljOH89v7szzLDvG2JD/vsX+vGXU8w/At1GowTZ5/7qeFQ8m7L55rpR8Okugnuo5bgjy2Q==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.62.2.tgz",
+ "integrity": "sha512-E9/ll019jhPIJgpzfZoIkBGhcz+kKNgVWYRY0zr9srBdPPFVpvOKW8VaJKUbeK+eZXyQF9ltME+Kk6affeaPgg==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-5BqxR/pshjey51iliyzTD5Xi3EN0aLmQ2lZ3lvefVV9c82BvrLo2/6OT55iifpWBufs6kdwWbuOKS841DrmK9A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.62.2.tgz",
+ "integrity": "sha512-uNN83XxQrRAh/w0/pmAfibcwyb6YWt4gP+dpnQKPVJshAloQ785ii8CT8ZCIxkGg9opVsvAlGhFitSm6D1Jjpg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-openbsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.62.2.tgz",
+ "integrity": "sha512-srjEIxSH3LRnJN6THczDHWQplqEMFiAJrTab0msUryh9kwNpkICf3Ea6q6MN/2cZwRFUNx5w+h6Hpi4QuHS6Zg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.62.2.tgz",
+ "integrity": "sha512-8hOJnxgbyObnCm5AlRA3A931xX19xq80RjVTKgJOvEKWqJruP/Uf12IbAOaDjjEXYRewwHLfmF0YRIdK3OwKWA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.62.2.tgz",
+ "integrity": "sha512-mmF4AY1i0hG/bLWUctUq59gtmgaSIRa3cu/A3JFRp/sCNEme2bgDEiDS22P9FbnJB8NJNF4jPJiSP5RHQpUTDg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.62.2.tgz",
+ "integrity": "sha512-DZgkknc6jhHrk46V25vbAM0zZkyP0nSDkJB8/dRkLTxv470dOmWDqGoEJl/9A0dFfS7yE3REOwNDxpHwSLSt0Q==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-T6xr6ucWSFto+VGajA8YH26LdpHRuP4YLHEKAtCWvJDOlnmWcDZVCI2Jmjr+IFHDlt2zRaTAKE4tfjTaWLgJBg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.62.2.tgz",
+ "integrity": "sha512-BfzEnDJOt9T8M989/lA37EcJgat01wLRnoi5dQf3QzOH7jzpqTAzdDbVfRljVr5r+jzKqpbHeyOfAaXxAd0PAA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@scure/base": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz",
+ "integrity": "sha512-g/nm5FgUa//MCj1gV09zTJTaM6KBAHqLN907YVQqf7zC49+DcO4B1so4ZX07Ef10Twr6nuqYEH9GEggFXA4Fmg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip32": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.7.0.tgz",
+ "integrity": "sha512-E4FFX/N3f4B80AKWp5dP6ow+flD1LQZo/w8UnLGYZO674jS6YnYeepycOOksv+vLPSpgN35wgKgy+ybfTb2SMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "~1.9.0",
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip39": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.6.0.tgz",
+ "integrity": "sha512-+lF0BbLiJNwVlev4eKelw1WWLaiKXw7sSl8T6FvBlWkdX+94aGJ4o8XjUdlyhTCjd8c+B3KT3JfS8P0bLRNU6A==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@types/chai": {
+ "version": "5.2.3",
+ "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz",
+ "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/deep-eql": "*",
+ "assertion-error": "^2.0.1"
+ }
+ },
+ "node_modules/@types/deep-eql": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz",
+ "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
+ "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "24.13.3",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",
+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~7.18.0"
+ }
+ },
+ "node_modules/@vitest/expect": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.7.tgz",
+ "integrity": "sha512-E8eBXaKibuvH2pSZErOjdVb5vF4PbKYcrnluBTYxEk1l/VhhwZg1kZQsdtjq+CsF5CFydf2Rdkz7jDHKSisi3w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/mocker": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.7.tgz",
+ "integrity": "sha512-Trr0hYO9CM3Wj6ksWHRhK9IZpIY6wTMO5u/MqXurMxT57sWBaOPEtP3Oq60ihZuh5JsiagKfz95OcxdEP6dBrA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/spy": "3.2.7",
+ "estree-walker": "^3.0.3",
+ "magic-string": "^0.30.17"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "msw": "^2.4.9",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "msw": {
+ "optional": true
+ },
+ "vite": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vitest/pretty-format": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.7.tgz",
+ "integrity": "sha512-KUHlwqVu0sRlhCdyPdQ/wBoTfRahjUky1MubOmYw9fWfIZy1gNoHpuaaQBPAaMaVYdQYHJLurzj8ECCj5OwTqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/runner": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.7.tgz",
+ "integrity": "sha512-sB9y4ovltoQP+WaUPwmSxO9WIg9Ig694Di5PalVPsYHklAdE027mehpWF2SQSVq+k6sFgaivbTjTJwZLSHbedA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/utils": "3.2.7",
+ "pathe": "^2.0.3",
+ "strip-literal": "^3.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/snapshot": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.7.tgz",
+ "integrity": "sha512-7C+MwShwtBSI5Buwoyg3s/iY1eHL9PKAf+O1wVh/TdnjXUtkoL/9YQtre90i4MtNXM6edP1wJ2zOBpfCyhIS7g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/spy": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.7.tgz",
+ "integrity": "sha512-Q2eQGI6d2L/hBtZ0qNuKcAGid68XK6cv1xsoaIma6PaJhHPoqcEJhYpXZ/5myCMqkNgtP6UKuBhbc0nHKnrkuQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyspy": "^4.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/utils": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.7.tgz",
+ "integrity": "sha512-x6BDOd7dyo3PFLY3I9/HJ25X/6OurhGXk2/B9gOZNPF7XDVjeBK4k01lQE5uvDpbuheErh91qYuE1E2OEjK3Rw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "loupe": "^3.1.4",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/abitype": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/abitype/-/abitype-1.2.3.tgz",
+ "integrity": "sha512-Ofer5QUnuUdTFsBRwARMoWKOH1ND5ehwYhJ3OJ/BQO+StkwQjHw0XyVh4vDttzHB7QOFhPHa/o413PJ82gU/Tg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/wevm"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4",
+ "zod": "^3.22.0 || ^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ },
+ "zod": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.17.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
+ "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/assertion-error": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/bundle-require": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.1.0.tgz",
+ "integrity": "sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "load-tsconfig": "^0.2.3"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.18"
+ }
+ },
+ "node_modules/cac": {
+ "version": "6.7.14",
+ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
+ "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/chai": {
+ "version": "5.3.3",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz",
+ "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assertion-error": "^2.0.1",
+ "check-error": "^2.1.1",
+ "deep-eql": "^5.0.1",
+ "loupe": "^3.1.0",
+ "pathval": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/check-error": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz",
+ "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 16"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
+ "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "readdirp": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 14.16.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/command-exists": {
+ "version": "1.2.9",
+ "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz",
+ "integrity": "sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/commander": {
+ "version": "8.3.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz",
+ "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/confbox": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz",
+ "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/consola": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz",
+ "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/deep-eql": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/es-module-lexer": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
+ "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/esbuild": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz",
+ "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.27.7",
+ "@esbuild/android-arm": "0.27.7",
+ "@esbuild/android-arm64": "0.27.7",
+ "@esbuild/android-x64": "0.27.7",
+ "@esbuild/darwin-arm64": "0.27.7",
+ "@esbuild/darwin-x64": "0.27.7",
+ "@esbuild/freebsd-arm64": "0.27.7",
+ "@esbuild/freebsd-x64": "0.27.7",
+ "@esbuild/linux-arm": "0.27.7",
+ "@esbuild/linux-arm64": "0.27.7",
+ "@esbuild/linux-ia32": "0.27.7",
+ "@esbuild/linux-loong64": "0.27.7",
+ "@esbuild/linux-mips64el": "0.27.7",
+ "@esbuild/linux-ppc64": "0.27.7",
+ "@esbuild/linux-riscv64": "0.27.7",
+ "@esbuild/linux-s390x": "0.27.7",
+ "@esbuild/linux-x64": "0.27.7",
+ "@esbuild/netbsd-arm64": "0.27.7",
+ "@esbuild/netbsd-x64": "0.27.7",
+ "@esbuild/openbsd-arm64": "0.27.7",
+ "@esbuild/openbsd-x64": "0.27.7",
+ "@esbuild/openharmony-arm64": "0.27.7",
+ "@esbuild/sunos-x64": "0.27.7",
+ "@esbuild/win32-arm64": "0.27.7",
+ "@esbuild/win32-ia32": "0.27.7",
+ "@esbuild/win32-x64": "0.27.7"
+ }
+ },
+ "node_modules/estree-walker": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
+ "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0"
+ }
+ },
+ "node_modules/eventemitter3": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
+ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
+ "license": "MIT"
+ },
+ "node_modules/expect-type": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz",
+ "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/fix-dts-default-cjs-exports": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/fix-dts-default-cjs-exports/-/fix-dts-default-cjs-exports-1.0.1.tgz",
+ "integrity": "sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "magic-string": "^0.30.17",
+ "mlly": "^1.7.4",
+ "rollup": "^4.34.8"
+ }
+ },
+ "node_modules/follow-redirects": {
+ "version": "1.16.0",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz",
+ "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/RubenVerborgh"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=4.0"
+ },
+ "peerDependenciesMeta": {
+ "debug": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/hoodchain": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/hoodchain/-/hoodchain-0.1.0.tgz",
+ "integrity": "sha512-jnY0rvLGhGiTIpaP7b2YU0KuZUfnhEc2xqqEGbjeqtYdLO+frQPry/AC9agUNRwwvL/XQJWVGkBg5vY0QtffEQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=20"
+ },
+ "peerDependencies": {
+ "viem": "^2.55.0",
+ "ws": "^8.18.0"
+ },
+ "peerDependenciesMeta": {
+ "ws": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/isows": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/isows/-/isows-1.0.7.tgz",
+ "integrity": "sha512-I1fSfDCZL5P0v33sVqeTDSpcstAg/N+wF5HS033mogOVIp4B+oHC7oOCsA3axAbBSGTJ8QubbNmnIRN/h8U7hg==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "ws": "*"
+ }
+ },
+ "node_modules/joycon": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz",
+ "integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/js-sha3": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz",
+ "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/js-tokens": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",
+ "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lilconfig": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
+ "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antonk52"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/load-tsconfig": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.5.tgz",
+ "integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/loupe": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
+ "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
+ }
+ },
+ "node_modules/memorystream": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz",
+ "integrity": "sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.10.0"
+ }
+ },
+ "node_modules/mlly": {
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.2.tgz",
+ "integrity": "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "acorn": "^8.16.0",
+ "pathe": "^2.0.3",
+ "pkg-types": "^1.3.1",
+ "ufo": "^1.6.3"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/mz": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0",
+ "object-assign": "^4.0.1",
+ "thenify-all": "^1.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.16",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.16.tgz",
+ "integrity": "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/os-tmpdir": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
+ "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ox": {
+ "version": "0.14.30",
+ "resolved": "https://registry.npmjs.org/ox/-/ox-0.14.30.tgz",
+ "integrity": "sha512-LI11uu+8iiM1B3CLckgd++YF1a0A2k5wDoM9ZeQMiL21BOzQs6L//BLS6hb1HSEKCyycdDIQLsVQx9MjpcC0hA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@adraffy/ens-normalize": "^1.11.0",
+ "@noble/ciphers": "^1.3.0",
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "^1.8.0",
+ "@scure/bip32": "^1.7.0",
+ "@scure/bip39": "^1.6.0",
+ "abitype": "^1.2.3",
+ "eventemitter3": "5.0.1"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/pathe": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
+ "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/pathval": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz",
+ "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.16"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",
+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pirates": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
+ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/pkg-types": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz",
+ "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "confbox": "^0.1.8",
+ "mlly": "^1.7.4",
+ "pathe": "^2.0.1"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.17",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.17.tgz",
+ "integrity": "sha512-J7EF+8X+CzRPaJPOv9Ck2wNWJvGnnl3PcNPAdGg6GTLjyVpyQ0yATMSXRFRV01BviT/9Gwuc3rjEyJbDJG9a4w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.12",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-load-config": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",
+ "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "lilconfig": "^3.1.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "peerDependencies": {
+ "jiti": ">=1.21.0",
+ "postcss": ">=8.0.9",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",
+ "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.18.0"
+ },
+ "funding": {
+ "type": "individual",
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.62.2.tgz",
+ "integrity": "sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.9"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.62.2",
+ "@rollup/rollup-android-arm64": "4.62.2",
+ "@rollup/rollup-darwin-arm64": "4.62.2",
+ "@rollup/rollup-darwin-x64": "4.62.2",
+ "@rollup/rollup-freebsd-arm64": "4.62.2",
+ "@rollup/rollup-freebsd-x64": "4.62.2",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.62.2",
+ "@rollup/rollup-linux-arm-musleabihf": "4.62.2",
+ "@rollup/rollup-linux-arm64-gnu": "4.62.2",
+ "@rollup/rollup-linux-arm64-musl": "4.62.2",
+ "@rollup/rollup-linux-loong64-gnu": "4.62.2",
+ "@rollup/rollup-linux-loong64-musl": "4.62.2",
+ "@rollup/rollup-linux-ppc64-gnu": "4.62.2",
+ "@rollup/rollup-linux-ppc64-musl": "4.62.2",
+ "@rollup/rollup-linux-riscv64-gnu": "4.62.2",
+ "@rollup/rollup-linux-riscv64-musl": "4.62.2",
+ "@rollup/rollup-linux-s390x-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-musl": "4.62.2",
+ "@rollup/rollup-openbsd-x64": "4.62.2",
+ "@rollup/rollup-openharmony-arm64": "4.62.2",
+ "@rollup/rollup-win32-arm64-msvc": "4.62.2",
+ "@rollup/rollup-win32-ia32-msvc": "4.62.2",
+ "@rollup/rollup-win32-x64-gnu": "4.62.2",
+ "@rollup/rollup-win32-x64-msvc": "4.62.2",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/semver": {
+ "version": "5.7.2",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
+ "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/siginfo": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",
+ "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/solc": {
+ "version": "0.8.36",
+ "resolved": "https://registry.npmjs.org/solc/-/solc-0.8.36.tgz",
+ "integrity": "sha512-cnDhjWo8dC5FxnEwCrWxUsJS7RPsHf+pVUe9Tr/+b15sQ40WCVn4vX4R+tOvN5gRfEgiquvFzfF4VV0kSnknhw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "command-exists": "^1.2.8",
+ "commander": "^8.1.0",
+ "follow-redirects": "^1.12.1",
+ "js-sha3": "0.8.0",
+ "memorystream": "^0.3.1",
+ "semver": "^5.5.0",
+ "tmp": "0.0.33"
+ },
+ "bin": {
+ "solcjs": "solc.js"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/source-map": {
+ "version": "0.7.6",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz",
+ "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/stackback": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
+ "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/std-env": {
+ "version": "3.10.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz",
+ "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/strip-literal": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.1.0.tgz",
+ "integrity": "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^9.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/sucrase": {
+ "version": "3.35.1",
+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
+ "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "commander": "^4.0.0",
+ "lines-and-columns": "^1.1.6",
+ "mz": "^2.7.0",
+ "pirates": "^4.0.1",
+ "tinyglobby": "^0.2.11",
+ "ts-interface-checker": "^0.1.9"
+ },
+ "bin": {
+ "sucrase": "bin/sucrase",
+ "sucrase-node": "bin/sucrase-node"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/sucrase/node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/thenify": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0"
+ }
+ },
+ "node_modules/thenify-all": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "thenify": ">= 3.1.0 < 4"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/tinybench": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
+ "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyexec": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
+ "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.17",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
+ "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tinypool": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",
+ "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ }
+ },
+ "node_modules/tinyrainbow": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz",
+ "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tinyspy": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.4.tgz",
+ "integrity": "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tmp": {
+ "version": "0.0.33",
+ "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
+ "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "os-tmpdir": "~1.0.2"
+ },
+ "engines": {
+ "node": ">=0.6.0"
+ }
+ },
+ "node_modules/tree-kill": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz",
+ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "tree-kill": "cli.js"
+ }
+ },
+ "node_modules/ts-interface-checker": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/tsup": {
+ "version": "8.5.1",
+ "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.5.1.tgz",
+ "integrity": "sha512-xtgkqwdhpKWr3tKPmCkvYmS9xnQK3m3XgxZHwSUjvfTjp7YfXe5tT3GgWi0F2N+ZSMsOeWeZFh7ZZFg5iPhing==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bundle-require": "^5.1.0",
+ "cac": "^6.7.14",
+ "chokidar": "^4.0.3",
+ "consola": "^3.4.0",
+ "debug": "^4.4.0",
+ "esbuild": "^0.27.0",
+ "fix-dts-default-cjs-exports": "^1.0.0",
+ "joycon": "^3.1.1",
+ "picocolors": "^1.1.1",
+ "postcss-load-config": "^6.0.1",
+ "resolve-from": "^5.0.0",
+ "rollup": "^4.34.8",
+ "source-map": "^0.7.6",
+ "sucrase": "^3.35.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.11",
+ "tree-kill": "^1.2.2"
+ },
+ "bin": {
+ "tsup": "dist/cli-default.js",
+ "tsup-node": "dist/cli-node.js"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@microsoft/api-extractor": "^7.36.0",
+ "@swc/core": "^1",
+ "postcss": "^8.4.12",
+ "typescript": ">=4.5.0"
+ },
+ "peerDependenciesMeta": {
+ "@microsoft/api-extractor": {
+ "optional": true
+ },
+ "@swc/core": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tsx": {
+ "version": "4.23.0",
+ "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.23.0.tgz",
+ "integrity": "sha512-eUdUIaCr963q2h5u3+QwvYp0+eqPvn+egeqZUm0hwERCqqx1E3kK5ehbGCvqSE5MQAULr67ww0cA3jKc3YkM1w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "~0.28.0"
+ },
+ "bin": {
+ "tsx": "dist/cli.mjs"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/aix-ppc64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.1.tgz",
+ "integrity": "sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/android-arm": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.1.tgz",
+ "integrity": "sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/android-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.1.tgz",
+ "integrity": "sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/android-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.1.tgz",
+ "integrity": "sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/darwin-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.1.tgz",
+ "integrity": "sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/darwin-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.1.tgz",
+ "integrity": "sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/freebsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.1.tgz",
+ "integrity": "sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-arm": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.1.tgz",
+ "integrity": "sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.1.tgz",
+ "integrity": "sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-ia32": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.1.tgz",
+ "integrity": "sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-loong64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.1.tgz",
+ "integrity": "sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-mips64el": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.1.tgz",
+ "integrity": "sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-ppc64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.1.tgz",
+ "integrity": "sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-riscv64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.1.tgz",
+ "integrity": "sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-s390x": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.1.tgz",
+ "integrity": "sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.1.tgz",
+ "integrity": "sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/netbsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.1.tgz",
+ "integrity": "sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/openbsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.1.tgz",
+ "integrity": "sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.1.tgz",
+ "integrity": "sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/sunos-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.1.tgz",
+ "integrity": "sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/win32-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.1.tgz",
+ "integrity": "sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/win32-ia32": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.1.tgz",
+ "integrity": "sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/win32-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.1.tgz",
+ "integrity": "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/esbuild": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz",
+ "integrity": "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.28.1",
+ "@esbuild/android-arm": "0.28.1",
+ "@esbuild/android-arm64": "0.28.1",
+ "@esbuild/android-x64": "0.28.1",
+ "@esbuild/darwin-arm64": "0.28.1",
+ "@esbuild/darwin-x64": "0.28.1",
+ "@esbuild/freebsd-arm64": "0.28.1",
+ "@esbuild/freebsd-x64": "0.28.1",
+ "@esbuild/linux-arm": "0.28.1",
+ "@esbuild/linux-arm64": "0.28.1",
+ "@esbuild/linux-ia32": "0.28.1",
+ "@esbuild/linux-loong64": "0.28.1",
+ "@esbuild/linux-mips64el": "0.28.1",
+ "@esbuild/linux-ppc64": "0.28.1",
+ "@esbuild/linux-riscv64": "0.28.1",
+ "@esbuild/linux-s390x": "0.28.1",
+ "@esbuild/linux-x64": "0.28.1",
+ "@esbuild/netbsd-arm64": "0.28.1",
+ "@esbuild/netbsd-x64": "0.28.1",
+ "@esbuild/openbsd-arm64": "0.28.1",
+ "@esbuild/openbsd-x64": "0.28.1",
+ "@esbuild/openharmony-arm64": "0.28.1",
+ "@esbuild/sunos-x64": "0.28.1",
+ "@esbuild/win32-arm64": "0.28.1",
+ "@esbuild/win32-ia32": "0.28.1",
+ "@esbuild/win32-x64": "0.28.1"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/ufo": {
+ "version": "1.6.4",
+ "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.4.tgz",
+ "integrity": "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/undici-types": {
+ "version": "7.18.2",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
+ "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/viem": {
+ "version": "2.55.1",
+ "resolved": "https://registry.npmjs.org/viem/-/viem-2.55.1.tgz",
+ "integrity": "sha512-sajvEmONS3dEDFh0jKXGugTU8ImyGoIV3sEHSWNRhgkH484v/+6DjZAplRhcdeqNV/VBxOs/l3raOG4NaXvX9A==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "1.8.0",
+ "@scure/bip32": "1.7.0",
+ "@scure/bip39": "1.6.0",
+ "abitype": "1.2.3",
+ "isows": "1.0.7",
+ "ox": "0.14.30",
+ "ws": "8.21.0"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite": {
+ "version": "7.3.6",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.6.tgz",
+ "integrity": "sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.27.0 || ^0.28.0",
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3",
+ "postcss": "^8.5.6",
+ "rollup": "^4.43.0",
+ "tinyglobby": "^0.2.15"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^20.19.0 || >=22.12.0",
+ "jiti": ">=1.21.0",
+ "less": "^4.0.0",
+ "lightningcss": "^1.21.0",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-node": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz",
+ "integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cac": "^6.7.14",
+ "debug": "^4.4.1",
+ "es-module-lexer": "^1.7.0",
+ "pathe": "^2.0.3",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "bin": {
+ "vite-node": "vite-node.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/vitest": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.7.tgz",
+ "integrity": "sha512-KrxIJ62Fd89gfysR4WotlgZABiz2dqFPgqGzX7s+CwsqLFomRH7777ZcrOD6+WVAh7khPQP41A+BKbpcJFrdEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/expect": "3.2.7",
+ "@vitest/mocker": "3.2.7",
+ "@vitest/pretty-format": "^3.2.7",
+ "@vitest/runner": "3.2.7",
+ "@vitest/snapshot": "3.2.7",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "debug": "^4.4.1",
+ "expect-type": "^1.2.1",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3",
+ "picomatch": "^4.0.2",
+ "std-env": "^3.9.0",
+ "tinybench": "^2.9.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.14",
+ "tinypool": "^1.1.1",
+ "tinyrainbow": "^2.0.0",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0",
+ "vite-node": "3.2.4",
+ "why-is-node-running": "^2.3.0"
+ },
+ "bin": {
+ "vitest": "vitest.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "@edge-runtime/vm": "*",
+ "@types/debug": "^4.1.12",
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "@vitest/browser": "3.2.7",
+ "@vitest/ui": "3.2.7",
+ "happy-dom": "*",
+ "jsdom": "*"
+ },
+ "peerDependenciesMeta": {
+ "@edge-runtime/vm": {
+ "optional": true
+ },
+ "@types/debug": {
+ "optional": true
+ },
+ "@types/node": {
+ "optional": true
+ },
+ "@vitest/browser": {
+ "optional": true
+ },
+ "@vitest/ui": {
+ "optional": true
+ },
+ "happy-dom": {
+ "optional": true
+ },
+ "jsdom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/why-is-node-running": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
+ "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "siginfo": "^2.0.0",
+ "stackback": "0.0.2"
+ },
+ "bin": {
+ "why-is-node-running": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.21.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
+ "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/zod": {
+ "version": "3.25.76",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
+ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ }
+ }
+}
diff --git a/robinhood/hood-launcher/scripts/compile-contract.mjs b/robinhood/hood-launcher/scripts/compile-contract.mjs
new file mode 100644
index 000000000..f34c5aec6
--- /dev/null
+++ b/robinhood/hood-launcher/scripts/compile-contract.mjs
@@ -0,0 +1,63 @@
+#!/usr/bin/env node
+/**
+ * Compiles `contracts/HoodToken.sol` with solc, resolving `@openzeppelin/*`
+ * imports against the locally installed package, and writes the ABI +
+ * bytecode to `contracts/HoodToken.json` for the direct rail to import.
+ *
+ * Run: `npm run compile:contract`
+ */
+import { readFileSync, writeFileSync } from 'node:fs'
+import { fileURLToPath } from 'node:url'
+import { dirname, join, resolve } from 'node:path'
+import solc from 'solc'
+
+const __dirname = dirname(fileURLToPath(import.meta.url))
+const root = resolve(__dirname, '..')
+const contractPath = join(root, 'contracts', 'HoodToken.sol')
+const source = readFileSync(contractPath, 'utf8')
+
+function findImport(importPath) {
+ try {
+ const resolved = importPath.startsWith('@openzeppelin/')
+ ? join(root, 'node_modules', importPath)
+ : join(root, 'contracts', importPath)
+ return { contents: readFileSync(resolved, 'utf8') }
+ } catch {
+ return { error: `File not found: ${importPath}` }
+ }
+}
+
+const input = {
+ language: 'Solidity',
+ sources: { 'HoodToken.sol': { content: source } },
+ settings: {
+ optimizer: { enabled: true, runs: 200 },
+ outputSelection: {
+ '*': { '*': ['abi', 'evm.bytecode.object', 'evm.deployedBytecode.object'] },
+ },
+ },
+}
+
+const output = JSON.parse(solc.compile(JSON.stringify(input), { import: findImport }))
+
+const errors = (output.errors ?? []).filter((e) => e.severity === 'error')
+if (errors.length > 0) {
+ for (const e of errors) console.error(e.formattedMessage)
+ process.exit(1)
+}
+for (const w of (output.errors ?? []).filter((e) => e.severity === 'warning')) {
+ console.warn(w.formattedMessage)
+}
+
+const contract = output.contracts['HoodToken.sol']['HoodToken']
+const artifact = {
+ contractName: 'HoodToken',
+ abi: contract.abi,
+ bytecode: `0x${contract.evm.bytecode.object}`,
+ deployedBytecode: `0x${contract.evm.deployedBytecode.object}`,
+ compiler: { name: 'solc', version: solc.version() },
+}
+
+const outPath = join(root, 'contracts', 'HoodToken.json')
+writeFileSync(outPath, JSON.stringify(artifact, null, 2))
+console.log(`Compiled HoodToken -> ${outPath} (bytecode ${artifact.bytecode.length / 2 - 1} bytes)`)
diff --git a/robinhood/hood-launcher/src/core/explorer.ts b/robinhood/hood-launcher/src/core/explorer.ts
new file mode 100644
index 000000000..1192c6959
--- /dev/null
+++ b/robinhood/hood-launcher/src/core/explorer.ts
@@ -0,0 +1,23 @@
+import type { HoodNetwork } from 'hoodchain'
+
+const EXPLORER_BASE: Record<HoodNetwork, string> = {
+ mainnet: 'https://robinhoodchain.blockscout.com',
+ testnet: 'https://explorer.testnet.chain.robinhood.com',
+}
+
+export function explorerTokenUrl(network: HoodNetwork, address: string): string {
+ return `${EXPLORER_BASE[network]}/token/${address}`
+}
+
+export function explorerAddressUrl(network: HoodNetwork, address: string): string {
+ return `${EXPLORER_BASE[network]}/address/${address}`
+}
+
+export function explorerTxUrl(network: HoodNetwork, hash: string): string {
+ return `${EXPLORER_BASE[network]}/tx/${hash}`
+}
+
+/** Blockscout API base for contract verification submission and lookups. */
+export function explorerApiUrl(network: HoodNetwork): string {
+ return `${EXPLORER_BASE[network]}/api`
+}
diff --git a/robinhood/hood-launcher/src/rails/noxa.ts b/robinhood/hood-launcher/src/rails/noxa.ts
new file mode 100644
index 000000000..f7da6f9f1
--- /dev/null
+++ b/robinhood/hood-launcher/src/rails/noxa.ts
@@ -0,0 +1,173 @@
+import { encodeFunctionData, keccak256, toHex, type Address } from 'viem'
+import type { HoodClient } from 'hoodchain'
+import { noxaLauncherAbi } from './abis.js'
+import { NOXA } from './addresses.js'
+import type { LaunchInput, Rail, RailContext, RailLaunch, RailPlan, RailPreflight } from './types.js'
+import { LaunchFailedError, NoSignerError, RailUnavailableError } from '../errors.js'
+import { explorerTxUrl, explorerTokenUrl } from '../core/explorer.js'
+
+/**
+ * NOXA ("NOXA Fun", fun.noxa.fi/robinhood) — an instant launcher, not a
+ * bonding curve. One `launchToken` transaction deploys the ERC-20, creates a
+ * Uniswap v3 pool via the launcher's configured DEX, seeds single-sided
+ * liquidity, and locks the LP NFT permanently. Trading starts immediately as
+ * normal Uniswap v3 swapping — there is no graduation step.
+ *
+ * The `launchToken` ABI was extracted from NOXA's production frontend bundle
+ * and *proven*: encoding it with the exact inputs recovered from the real
+ * historical launch tx
+ * `0x90237351d992942bd33a471e8d791be5c51e74a9ed1e91268b7fc3148d4872dc`
+ * (the "We are so back" / BACK launch) reproduces that transaction's calldata
+ * byte-for-byte, selector included (`0x686399cb`). See
+ * `tests/unit/noxa-calldata.test.ts`.
+ */
+export class NoxaRail implements Rail {
+ readonly name = 'noxa' as const
+ readonly networks = ['mainnet'] as const
+
+ async preflight(ctx: RailContext, _input: LaunchInput): Promise<RailPreflight> {
+ const { client } = ctx
+ if (client.network !== 'mainnet') {
+ return {
+ rail: 'noxa',
+ network: client.network,
+ ready: false,
+ blockers: ['NOXA only operates on mainnet 4663 — no testnet deployment exists.'],
+ protocolFeeWei: 0n,
+ estimatedValueWei: 0n,
+ }
+ }
+
+ const [fee, enabled, dexConfig] = await Promise.all([
+ client.public.readContract({
+ address: NOXA.launchFactory,
+ abi: noxaLauncherAbi,
+ functionName: 'launchFee',
+ }),
+ client.public.readContract({
+ address: NOXA.launchFactory,
+ abi: noxaLauncherAbi,
+ functionName: 'launchEnabled',
+ }),
+ client.public.readContract({
+ address: NOXA.launchFactory,
+ abi: noxaLauncherAbi,
+ functionName: 'getDexConfig',
+ args: [0n],
+ }),
+ ])
+
+ const blockers: string[] = []
+ if (!enabled) blockers.push('NOXA launchFactory.launchEnabled() is currently false — launches will revert.')
+
+ return {
+ rail: 'noxa',
+ network: 'mainnet',
+ ready: blockers.length === 0,
+ blockers,
+ protocolFeeWei: fee,
+ estimatedValueWei: fee, // + initialBuyWei, added by plan()/launch()
+ pairToken: dexConfig.factory as Address, // resolved precisely in plan(); placeholder kept for interface shape
+ }
+ }
+
+ async plan(ctx: RailContext, input: LaunchInput): Promise<RailPlan> {
+ const { client } = ctx
+ if (client.network !== 'mainnet') {
+ throw new RailUnavailableError('noxa', client.network, 'no testnet deployment exists')
+ }
+ const preflight = await this.preflight(ctx, input)
+
+ const devWallet = client.account?.address
+ if (!devWallet) throw new NoSignerError('NoxaRail.plan')
+
+ const salt = input.salt ?? keccak256(toHex(`${input.symbol}:${Date.now()}:${Math.random()}`))
+
+ const data = encodeFunctionData({
+ abi: noxaLauncherAbi,
+ functionName: 'launchToken',
+ args: [
+ {
+ name: input.name,
+ symbol: input.symbol,
+ logo: input.logoUri,
+ description: input.description,
+ socials: {
+ telegram: input.socials.telegram ?? '',
+ twitter: input.socials.twitter ?? '',
+ discord: input.socials.discord ?? '',
+ website: input.socials.website ?? '',
+ farcaster: input.socials.farcaster ?? '',
+ },
+ devWallet,
+ },
+ 0n, // launchConfigId — config 0 is the only enabled config (verified on-chain)
+ 0n, // dexId — dex 0 ("uniswap") is the only enabled dex (verified on-chain)
+ salt,
+ ],
+ })
+
+ const value = preflight.protocolFeeWei + input.initialBuyWei
+
+ return {
+ rail: 'noxa',
+ preflight: { ...preflight, estimatedValueWei: value },
+ steps: [{ label: 'launchToken', to: NOXA.launchFactory, data, value }],
+ }
+ }
+
+ async launch(ctx: RailContext, input: LaunchInput): Promise<RailLaunch> {
+ const { client } = ctx
+ if (!client.wallet || !client.account) throw new NoSignerError('NoxaRail.launch')
+
+ const { steps } = await this.plan(ctx, input)
+ const step = steps[0]
+ if (!step) throw new LaunchFailedError('NoxaRail produced no transaction steps')
+
+ const hash = await client.wallet.sendTransaction({
+ to: step.to,
+ data: step.data,
+ value: step.value,
+ account: client.account,
+ chain: client.chain,
+ })
+ const receipt = await client.public.waitForTransactionReceipt({ hash })
+ if (receipt.status !== 'success') {
+ throw new LaunchFailedError(`NOXA launchToken reverted (tx ${hash})`, hash)
+ }
+
+ const launchedLog = receipt.logs.find(
+ (log) => log.address.toLowerCase() === NOXA.launchFactory.toLowerCase() && log.topics.length === 4,
+ )
+ if (!launchedLog) {
+ throw new LaunchFailedError(`NOXA launchToken succeeded but no TokenLaunched log was found (tx ${hash})`, hash)
+ }
+ // topics: [eventSig, token, deployer, dexFactory]; token is topic[1].
+ const token = `0x${(launchedLog.topics[1] ?? '0x').slice(-40)}` as Address
+
+ const launchedToken = await client.public.readContract({
+ address: NOXA.launchFactory,
+ abi: noxaLauncherAbi,
+ functionName: 'getLaunchedToken',
+ args: [token],
+ })
+
+ return {
+ rail: 'noxa',
+ network: 'mainnet',
+ token,
+ pool: null, // resolved from getLaunchedToken.pairedToken + dex factory by the caller if needed
+ transactionHashes: [hash],
+ launchTx: hash,
+ spentWei: step.value,
+ explorer: { token: explorerTokenUrl('mainnet', token), launchTx: explorerTxUrl('mainnet', hash) },
+ extra: {
+ pairedToken: launchedToken.pairedToken,
+ positionId: launchedToken.positionId.toString(),
+ launchConfigId: launchedToken.launchConfigId.toString(),
+ restrictionsEndBlock: launchedToken.restrictionsEndBlock.toString(),
+ supply: launchedToken.supply.toString(),
+ },
+ }
+ }
+}
diff --git a/robinhood/hood-launcher/src/rails/odyssey.ts b/robinhood/hood-launcher/src/rails/odyssey.ts
new file mode 100644
index 000000000..6d7b81f83
--- /dev/null
+++ b/robinhood/hood-launcher/src/rails/odyssey.ts
@@ -0,0 +1,240 @@
+import { encodeAbiParameters, keccak256, toHex, type Address, type Hash } from 'viem'
+import type { HoodClient } from 'hoodchain'
+import { ODYSSEY, ODYSSEY_BONDING_CONSTANTS, ODYSSEY_SELECTORS } from './addresses.js'
+import type { LaunchInput, Rail, RailContext, RailLaunch, RailPlan, RailPreflight } from './types.js'
+import { LaunchFailedError, NoSignerError, RailUnavailableError } from '../errors.js'
+import { explorerTxUrl, explorerTokenUrl } from '../core/explorer.js'
+
+/**
+ * The Odyssey (theodyssey.fun) — mainnet 4663 only, two independent
+ * factories with different launch shapes. Neither publishes a verified ABI
+ * on Blockscout; every selector and argument layout below was recovered from
+ * decoding real historical transactions and is proven byte-for-byte in
+ * `tests/unit/odyssey-calldata.test.ts`:
+ *
+ * - **Instant factory** (`0xD760…f800`) — one payable call,
+ * `f(string name, string symbol, uint256 buyAmount)`, selector
+ * `0x548eb31b`. The invariant `msg.value === buyAmount` held across every
+ * sampled create tx: the initial buy is folded directly into creation.
+ * Emits its own creation events (NOT the `TokenCreated` topic documented
+ * for the bonding factory) and lists to a Uniswap v3 pool immediately.
+ * - **Bonding-curve factory** (`0xEb3F…5a80`) — a native-ETH virtual-reserve
+ * curve. Creation, `f(string name, string symbol, uint256, uint256)`
+ * selector `0x56f698a3`, is a separate *zero-value* call from the initial
+ * buy; every sampled create replayed the same two trailing uint256
+ * constants (`0.5e18`, `0`) whose exact semantics aren't source-verified,
+ * so this rail replays them rather than guessing new values. Buying is
+ * `buy(address token, uint256 minTokensOut)` payable, selector
+ * `0xcce7ec13`, and emits the SDK-documented `TokenCreated`/`Traded`
+ * topics on the curve.
+ *
+ * `reflectionFactory` and `legacyFactory` were not sampled for creates during
+ * this build and are intentionally NOT exposed by this rail — see the README
+ * "Rails shipped vs excluded" section.
+ */
+export class OdysseyRail implements Rail {
+ readonly name = 'odyssey' as const
+ readonly networks = ['mainnet'] as const
+
+ /** Which Odyssey factory a launch targets. Defaults to `'instant'` (single tx, simplest). */
+ constructor(private readonly variant: 'instant' | 'bonding' = 'instant') {}
+
+ async preflight(ctx: RailContext, _input: LaunchInput): Promise<RailPreflight> {
+ const { client } = ctx
+ if (client.network !== 'mainnet') {
+ return {
+ rail: 'odyssey',
+ network: client.network,
+ ready: false,
+ blockers: ['The Odyssey only operates on mainnet 4663 — no testnet deployment exists.'],
+ protocolFeeWei: 0n,
+ estimatedValueWei: 0n,
+ }
+ }
+ const factory = this.variant === 'instant' ? ODYSSEY.instantFactory : ODYSSEY.bondingCurveFactory
+ const code = await client.public.getCode({ address: factory })
+ const blockers: string[] = []
+ if (!code || code === '0x') blockers.push(`Odyssey ${this.variant} factory has no code at ${factory}.`)
+
+ return {
+ rail: 'odyssey',
+ network: 'mainnet',
+ ready: blockers.length === 0,
+ blockers,
+ protocolFeeWei: 0n, // Odyssey charges no separate protocol fee at create; the buy amount IS the spend.
+ estimatedValueWei: 0n,
+ }
+ }
+
+ async plan(ctx: RailContext, input: LaunchInput): Promise<RailPlan> {
+ const { client } = ctx
+ if (client.network !== 'mainnet') {
+ throw new RailUnavailableError('odyssey', client.network, 'no testnet deployment exists')
+ }
+ const preflight = await this.preflight(ctx, input)
+
+ if (this.variant === 'instant') {
+ const data = ('0x' +
+ ODYSSEY_SELECTORS.instantCreate.slice(2) +
+ encodeAbiParameters(
+ [{ type: 'string' }, { type: 'string' }, { type: 'uint256' }],
+ [input.name, input.symbol, input.initialBuyWei],
+ ).slice(2)) as `0x${string}`
+
+ return {
+ rail: 'odyssey',
+ preflight: { ...preflight, estimatedValueWei: input.initialBuyWei },
+ steps: [
+ {
+ label: 'instantCreate (buy folded into creation)',
+ to: ODYSSEY.instantFactory,
+ data,
+ value: input.initialBuyWei,
+ },
+ ],
+ }
+ }
+
+ // Bonding: create (value 0), then optional buy (value = initialBuyWei).
+ const createData = ('0x' +
+ ODYSSEY_SELECTORS.bondingCreate.slice(2) +
+ encodeAbiParameters(
+ [{ type: 'string' }, { type: 'string' }, { type: 'uint256' }, { type: 'uint256' }],
+ [input.name, input.symbol, ODYSSEY_BONDING_CONSTANTS.threshold, ODYSSEY_BONDING_CONSTANTS.reserved],
+ ).slice(2)) as `0x${string}`
+
+ const steps: RailPlan['steps'] = [
+ { label: 'bondingCreate', to: ODYSSEY.bondingCurveFactory, data: createData, value: 0n },
+ ]
+ // The buy step needs the created token address, which only exists after
+ // `create` confirms — it is appended in `launch()`, not here. `plan()`
+ // for the bonding variant therefore only ever returns the create step;
+ // callers that need the full two-step cost must add `initialBuyWei`
+ // themselves (reflected in `estimatedValueWei`).
+ return {
+ rail: 'odyssey',
+ preflight: { ...preflight, estimatedValueWei: input.initialBuyWei },
+ steps,
+ }
+ }
+
+ async launch(ctx: RailContext, input: LaunchInput): Promise<RailLaunch> {
+ const { client } = ctx
+ if (!client.wallet || !client.account) throw new NoSignerError('OdysseyRail.launch')
+
+ if (this.variant === 'instant') return this.launchInstant(client, input)
+ return this.launchBonding(client, input)
+ }
+
+ private async launchInstant(client: HoodClient, input: LaunchInput): Promise<RailLaunch> {
+ if (!client.wallet || !client.account) throw new NoSignerError('OdysseyRail.launchInstant')
+ const { steps } = await this.plan({ client }, input)
+ const step = steps[0]
+ if (!step) throw new LaunchFailedError('OdysseyRail(instant) produced no transaction steps')
+
+ const hash = await client.wallet.sendTransaction({
+ to: step.to,
+ data: step.data,
+ value: step.value,
+ account: client.account,
+ chain: client.chain,
+ })
+ const receipt = await client.public.waitForTransactionReceipt({ hash })
+ if (receipt.status !== 'success') {
+ throw new LaunchFailedError(`Odyssey instant create reverted (tx ${hash})`, hash)
+ }
+ const token = resolveCreatedToken(receipt.logs, ODYSSEY.instantFactory)
+ if (!token) throw new LaunchFailedError(`Odyssey instant create succeeded but no token could be resolved (tx ${hash})`, hash)
+
+ return {
+ rail: 'odyssey',
+ network: 'mainnet',
+ token,
+ pool: null,
+ transactionHashes: [hash],
+ launchTx: hash,
+ spentWei: step.value,
+ explorer: { token: explorerTokenUrl('mainnet', token), launchTx: explorerTxUrl('mainnet', hash) },
+ extra: { variant: 'instant' },
+ }
+ }
+
+ private async launchBonding(client: HoodClient, input: LaunchInput): Promise<RailLaunch> {
+ if (!client.wallet || !client.account) throw new NoSignerError('OdysseyRail.launchBonding')
+ const { steps } = await this.plan({ client }, input)
+ const createStep = steps[0]
+ if (!createStep) throw new LaunchFailedError('OdysseyRail(bonding) produced no create step')
+
+ const createHash = await client.wallet.sendTransaction({
+ to: createStep.to,
+ data: createStep.data,
+ value: createStep.value,
+ account: client.account,
+ chain: client.chain,
+ })
+ const createReceipt = await client.public.waitForTransactionReceipt({ hash: createHash })
+ if (createReceipt.status !== 'success') {
+ throw new LaunchFailedError(`Odyssey bonding create reverted (tx ${createHash})`, createHash)
+ }
+ const token = resolveCreatedToken(createReceipt.logs, ODYSSEY.bondingCurveFactory)
+ if (!token) {
+ throw new LaunchFailedError(`Odyssey bonding create succeeded but no token could be resolved (tx ${createHash})`, createHash)
+ }
+
+ const hashes: Hash[] = [createHash]
+ let spent = 0n
+
+ if (input.initialBuyWei > 0n) {
+ // minTokensOut = 0 is intentionally conservative-unsafe only for a
+ // freshly-created curve the caller controls end-to-end in the same
+ // launch; callers wanting slippage protection should call the buy
+ // step separately with a quote.
+ const buyData = ('0x' +
+ ODYSSEY_SELECTORS.bondingBuy.slice(2) +
+ encodeAbiParameters([{ type: 'address' }, { type: 'uint256' }], [token, 0n]).slice(2)) as `0x${string}`
+ const buyHash = await client.wallet.sendTransaction({
+ to: ODYSSEY.bondingCurveFactory,
+ data: buyData,
+ value: input.initialBuyWei,
+ account: client.account,
+ chain: client.chain,
+ })
+ const buyReceipt = await client.public.waitForTransactionReceipt({ hash: buyHash })
+ if (buyReceipt.status === 'success') {
+ hashes.push(buyHash)
+ spent += input.initialBuyWei
+ }
+ }
+
+ return {
+ rail: 'odyssey',
+ network: 'mainnet',
+ token,
+ pool: null,
+ transactionHashes: hashes,
+ launchTx: createHash,
+ spentWei: spent,
+ explorer: { token: explorerTokenUrl('mainnet', token), launchTx: explorerTxUrl('mainnet', createHash) },
+ extra: { variant: 'bonding' },
+ }
+ }
+}
+
+/** `keccak256("Transfer(address,address,uint256)")` — standard ERC-20 mint/transfer topic0. */
+const TRANSFER_TOPIC0 = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef'
+
+/**
+ * Resolve the created token from a receipt: the new ERC-20's own constructor
+ * mint emits `Transfer(0x0, creator, supply)` from the token's own address —
+ * the first `Transfer` log NOT emitted by the factory itself is the token.
+ */
+function resolveCreatedToken(
+ logs: { address: Address; topics: readonly `0x${string}`[] }[],
+ factory: Address,
+): Address | null {
+ for (const log of logs) {
+ if (log.address.toLowerCase() === factory.toLowerCase()) continue
+ if (log.topics[0]?.toLowerCase() === TRANSFER_TOPIC0) return log.address
+ }
+ return null
+}
diff --git a/robinhood/hood-traders/dashboard/style.css b/robinhood/hood-traders/dashboard/style.css
new file mode 100644
index 000000000..c6c42d175
--- /dev/null
+++ b/robinhood/hood-traders/dashboard/style.css
@@ -0,0 +1,305 @@
+:root {
+ color-scheme: dark;
+ --bg: #0a0a0d;
+ --bg-elevated: #111116;
+ --bg-card: #16161d;
+ --border: #26262f;
+ --border-hover: #34343f;
+ --text: #eaeaf0;
+ --text-dim: #9a9aa8;
+ --text-faint: #66666f;
+ --accent-a: #6d5ef8;
+ --accent-b: #2fd0e0;
+ --green: #34d399;
+ --red: #f87171;
+ --amber: #fbbf24;
+ --radius: 10px;
+ --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
+ --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
+}
+
+* { box-sizing: border-box; }
+
+html, body {
+ margin: 0;
+ padding: 0;
+ background: var(--bg);
+ color: var(--text);
+ font-family: var(--font-sans);
+ min-height: 100vh;
+}
+
+body {
+ background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(109, 94, 248, 0.12), transparent);
+}
+
+a { color: var(--accent-b); text-decoration: none; }
+a:hover { text-decoration: underline; }
+
+button {
+ font-family: inherit;
+ cursor: pointer;
+}
+button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
+ outline: 2px solid var(--accent-b);
+ outline-offset: 2px;
+}
+
+/* ── layout ─────────────────────────────────────────────────────────────── */
+
+.wrap {
+ max-width: 1280px;
+ margin: 0 auto;
+ padding: 24px 20px 64px;
+}
+
+.topbar {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 16px;
+ padding-bottom: 20px;
+ border-bottom: 1px solid var(--border);
+ margin-bottom: 24px;
+ flex-wrap: wrap;
+}
+
+.brand {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ font-weight: 600;
+ font-size: 15px;
+ letter-spacing: -0.01em;
+}
+
+.brand .dot {
+ width: 8px; height: 8px; border-radius: 50%;
+ background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
+ box-shadow: 0 0 12px rgba(109, 94, 248, 0.6);
+}
+
+.badge {
+ display: inline-flex;
+ align-items: center;
+ gap: 6px;
+ padding: 4px 10px;
+ border-radius: 999px;
+ font-size: 12px;
+ font-weight: 600;
+ border: 1px solid var(--border);
+ background: var(--bg-elevated);
+ color: var(--text-dim);
+}
+.badge.paper { color: var(--accent-b); border-color: rgba(47, 208, 224, 0.3); background: rgba(47, 208, 224, 0.08); }
+.badge.live { color: var(--red); border-color: rgba(248, 113, 113, 0.35); background: rgba(248, 113, 113, 0.08); }
+.badge.killed { color: var(--red); border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.12); }
+
+.topbar-right { display: flex; align-items: center; gap: 10px; }
+
+.kill-btn {
+ padding: 8px 14px;
+ border-radius: 8px;
+ border: 1px solid rgba(248, 113, 113, 0.4);
+ background: rgba(248, 113, 113, 0.1);
+ color: var(--red);
+ font-weight: 600;
+ font-size: 13px;
+ transition: background 0.15s, transform 0.1s;
+}
+.kill-btn:hover { background: rgba(248, 113, 113, 0.2); }
+.kill-btn:active { transform: scale(0.97); }
+.kill-btn:disabled { opacity: 0.5; cursor: not-allowed; }
+
+/* ── summary strip ─────────────────────────────────────────────────────── */
+
+.summary-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
+ gap: 12px;
+ margin-bottom: 28px;
+}
+
+.stat-tile {
+ background: var(--bg-card);
+ border: 1px solid var(--border);
+ border-radius: var(--radius);
+ padding: 14px 16px;
+ transition: border-color 0.15s;
+}
+.stat-tile:hover { border-color: var(--border-hover); }
+
+.stat-label {
+ font-size: 11px;
+ text-transform: uppercase;
+ letter-spacing: 0.06em;
+ color: var(--text-faint);
+ margin-bottom: 6px;
+}
+
+.stat-value {
+ font-family: var(--font-mono);
+ font-size: 20px;
+ font-weight: 600;
+ letter-spacing: -0.02em;
+}
+.stat-value.pos { color: var(--green); }
+.stat-value.neg { color: var(--red); }
+
+/* ── agent cards ────────────────────────────────────────────────────────── */
+
+.section-title {
+ font-size: 13px;
+ font-weight: 600;
+ text-transform: uppercase;
+ letter-spacing: 0.06em;
+ color: var(--text-faint);
+ margin: 32px 0 12px;
+}
+
+.agents-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
+ gap: 16px;
+}
+
+.agent-card {
+ background: var(--bg-card);
+ border: 1px solid var(--border);
+ border-radius: var(--radius);
+ padding: 18px;
+ transition: border-color 0.15s, transform 0.15s;
+}
+.agent-card:hover { border-color: var(--border-hover); }
+
+.agent-head {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ margin-bottom: 4px;
+}
+
+.agent-name { font-weight: 600; font-size: 15px; }
+.agent-strategy { font-size: 12px; color: var(--text-faint); margin-bottom: 14px; }
+
+.status-dot {
+ width: 7px; height: 7px; border-radius: 50%;
+ display: inline-block;
+ background: var(--text-faint);
+}
+.status-dot.running { background: var(--green); box-shadow: 0 0 8px rgba(52, 211, 153, 0.6); }
+.status-dot.killed { background: var(--red); }
+
+.agent-metrics {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 10px 16px;
+ margin-bottom: 14px;
+}
+
+.metric { font-size: 12px; }
+.metric-label { color: var(--text-faint); margin-bottom: 2px; }
+.metric-value { font-family: var(--font-mono); font-weight: 600; }
+
+.positions-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
+.position-row {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ font-size: 12px;
+ padding: 6px 10px;
+ background: var(--bg-elevated);
+ border-radius: 6px;
+ font-family: var(--font-mono);
+}
+.no-positions {
+ font-size: 12px;
+ color: var(--text-faint);
+ padding: 10px;
+ text-align: center;
+ border: 1px dashed var(--border);
+ border-radius: 6px;
+}
+
+.mini-chart { height: 48px; margin-bottom: 12px; }
+.mini-chart svg { width: 100%; height: 100%; display: block; }
+
+.journal-toggle {
+ font-size: 12px;
+ color: var(--accent-b);
+ background: none;
+ border: none;
+ padding: 4px 0;
+}
+
+.journal-list {
+ display: none;
+ flex-direction: column;
+ gap: 4px;
+ max-height: 220px;
+ overflow-y: auto;
+ margin-top: 8px;
+ padding-top: 8px;
+ border-top: 1px solid var(--border);
+}
+.journal-list.open { display: flex; }
+
+.journal-row {
+ font-size: 11px;
+ font-family: var(--font-mono);
+ padding: 5px 8px;
+ border-radius: 5px;
+ line-height: 1.4;
+}
+.journal-row.kind-alert { background: rgba(251, 191, 36, 0.08); color: #fcd34d; }
+.journal-row.kind-refused { background: rgba(248, 113, 113, 0.08); color: #fca5a5; }
+.journal-row.kind-observe { color: var(--text-faint); }
+.journal-row.kind-trade { background: rgba(52, 211, 153, 0.08); color: #6ee7b7; }
+.journal-time { color: var(--text-faint); margin-right: 6px; }
+
+.error-banner {
+ margin-top: 10px;
+ font-size: 11px;
+ color: var(--red);
+ background: rgba(248, 113, 113, 0.08);
+ border-radius: 6px;
+ padding: 6px 10px;
+ font-family: var(--font-mono);
+}
+
+/* ── empty / loading / error page states ──────────────────────────────────── */
+
+.state-block {
+ text-align: center;
+ padding: 60px 20px;
+ color: var(--text-faint);
+}
+.state-block .state-icon { font-size: 32px; margin-bottom: 12px; opacity: 0.6; }
+.state-block .state-title { font-size: 15px; color: var(--text-dim); margin-bottom: 6px; }
+.state-block .state-detail { font-size: 13px; }
+
+.footer {
+ margin-top: 48px;
+ padding-top: 20px;
+ border-top: 1px solid var(--border);
+ font-size: 12px;
+ color: var(--text-faint);
+ display: flex;
+ justify-content: space-between;
+ flex-wrap: wrap;
+ gap: 8px;
+}
+
+/* ── responsive ─────────────────────────────────────────────────────────── */
+
+@media (max-width: 640px) {
+ .summary-grid { grid-template-columns: repeat(2, 1fr); }
+ .agents-grid { grid-template-columns: 1fr; }
+ .topbar { flex-direction: column; align-items: flex-start; }
+}
+
+@keyframes pulse {
+ 0%, 100% { opacity: 1; }
+ 50% { opacity: 0.4; }
+}
+.live-pulse { animation: pulse 2s ease-in-out infinite; }
diff --git a/robinhood/hood-traders/src/index.ts b/robinhood/hood-traders/src/index.ts
new file mode 100644
index 000000000..11a7d8056
--- /dev/null
+++ b/robinhood/hood-traders/src/index.ts
@@ -0,0 +1,45 @@
+// Framework
+export { Agent } from './framework/agent.js'
+export type { AgentOptions } from './framework/agent.js'
+export { Fleet } from './framework/fleet.js'
+export type { AgentSpec, FleetSummary } from './framework/fleet.js'
+export { loadFleetConfig } from './framework/config.js'
+export type { FleetConfig } from './framework/config.js'
+export { Journal } from './framework/journal.js'
+export { KillSwitch } from './framework/kill.js'
+export { Market } from './framework/market.js'
+export type { SpotPrice } from './framework/market.js'
+export { RiskEngine, utcDayStart } from './framework/risk.js'
+export type { RiskContext, RiskVerdict } from './framework/risk.js'
+export type {
+ Strategy,
+ StrategyMeta,
+ StrategyStartContext,
+ StrategyTickContext,
+ QuoteKind,
+} from './framework/strategy.js'
+export type {
+ Alert,
+ AgentStatus,
+ Decision,
+ DecisionRecord,
+ EquityPoint,
+ Intent,
+ Mode,
+ Position,
+ RefusalReason,
+ RiskLimits,
+ Simulation,
+ TradeRecord,
+} from './framework/types.js'
+
+// Strategies
+export { LaunchSniper } from './strategies/launch-sniper.js'
+export type { LaunchSniperParams } from './strategies/launch-sniper.js'
+export { Momentum } from './strategies/momentum.js'
+export type { MomentumParams } from './strategies/momentum.js'
+export { PremiumWatch } from './strategies/premium-watch.js'
+export type { PremiumWatchParams } from './strategies/premium-watch.js'
+
+// Dashboard server
+export { createDashboardServer } from './server/dashboard.js'
diff --git a/robinhood/hood-traders/src/main.ts b/robinhood/hood-traders/src/main.ts
new file mode 100644
index 000000000..4b3a3ec9a
--- /dev/null
+++ b/robinhood/hood-traders/src/main.ts
@@ -0,0 +1,59 @@
+import { loadFleetConfig } from './framework/config.js'
+import { Fleet } from './framework/fleet.js'
+import { LaunchSniper } from './strategies/launch-sniper.js'
+import { Momentum } from './strategies/momentum.js'
+import { PremiumWatch } from './strategies/premium-watch.js'
+import { createDashboardServer } from './server/dashboard.js'
+
+async function main(): Promise<void> {
+ const config = loadFleetConfig()
+ const fleet = new Fleet(config)
+
+ fleet.addAgents([
+ { id: 'sniper-1', strategy: new LaunchSniper(), tickIntervalMs: 4000 },
+ { id: 'momentum-1', strategy: new Momentum(), tickIntervalMs: 15000 },
+ { id: 'premium-1', strategy: new PremiumWatch(), tickIntervalMs: 30000 },
+ ])
+
+ const banner = [
+ '─'.repeat(60),
+ ' hood-traders — Robinhood Chain autonomous fleet',
+ '─'.repeat(60),
+ ` network : ${config.network} (${config.network === 'testnet' ? 46630 : 4663})`,
+ ` mode : ${config.mode.toUpperCase()}${config.mode === 'paper' ? ' (simulation only, no real funds move)' : ' (REAL FUNDS — swaps will be signed and broadcast)'}`,
+ ` agents : sniper-1, momentum-1, premium-1`,
+ ` fleet cap : $${config.fleetMaxDailySpendUsdg}/day`,
+ ` dashboard : http://localhost:${config.dashboardPort}`,
+ ` kill file : ${config.killFile}`,
+ '─'.repeat(60),
+ ].join('\n')
+ console.log(banner)
+
+ if (config.mode === 'live') {
+ console.warn(
+ '\n⚠ LIVE MODE — this process will sign and broadcast real transactions with real funds.\n' +
+ ' Risk caps are active but are not a guarantee against loss. Ctrl-C or POST /kill to halt.\n',
+ )
+ }
+
+ await fleet.start()
+
+ const server = createDashboardServer(fleet)
+ server.listen(config.dashboardPort, () => {
+ console.log(`dashboard listening on :${config.dashboardPort}`)
+ })
+
+ const shutdown = () => {
+ console.log('\nshutting down — stopping agents, closing journal…')
+ server.close()
+ fleet.close()
+ process.exit(0)
+ }
+ process.on('SIGINT', shutdown)
+ process.on('SIGTERM', shutdown)
+}
+
+main().catch((err) => {
+ console.error('hood-traders fatal error:', err)
+ process.exit(1)
+})
diff --git a/robinhood/hood-traders/src/server/dashboard.ts b/robinhood/hood-traders/src/server/dashboard.ts
new file mode 100644
index 000000000..3a8bc844b
--- /dev/null
+++ b/robinhood/hood-traders/src/server/dashboard.ts
@@ -0,0 +1,82 @@
+import { createServer, type IncomingMessage, type Server, type ServerResponse } from 'node:http'
+import { readFile } from 'node:fs/promises'
+import { extname, join } from 'node:path'
+import { fileURLToPath } from 'node:url'
+import type { Fleet } from '../framework/fleet.js'
+
+const __dirname = fileURLToPath(new URL('.', import.meta.url))
+// dist/server/dashboard.js -> ../../dashboard ; src/server/dashboard.ts (tsx) -> ../../dashboard
+const STATIC_ROOT = join(__dirname, '..', '..', 'dashboard')
+
+const MIME: Record<string, string> = {
+ '.html': 'text/html; charset=utf-8',
+ '.js': 'text/javascript; charset=utf-8',
+ '.css': 'text/css; charset=utf-8',
+ '.json': 'application/json; charset=utf-8',
+ '.svg': 'image/svg+xml',
+}
+
+function json(res: ServerResponse, status: number, body: unknown): void {
+ const payload = JSON.stringify(body, (_key, value) => (typeof value === 'bigint' ? value.toString() : value))
+ res.writeHead(status, { 'content-type': 'application/json; charset=utf-8' })
+ res.end(payload)
+}
+
+async function serveStatic(req: IncomingMessage, res: ServerResponse): Promise<boolean> {
+ const url = new URL(req.url ?? '/', 'http://localhost')
+ let rel = url.pathname === '/' ? '/index.html' : url.pathname
+ if (rel.includes('..')) return false
+ const path = join(STATIC_ROOT, rel)
+ try {
+ const body = await readFile(path)
+ res.writeHead(200, { 'content-type': MIME[extname(path)] ?? 'application/octet-stream' })
+ res.end(body)
+ return true
+ } catch {
+ return false
+ }
+}
+
+/**
+ * The fleet dashboard: a tiny read API over {@link Fleet} plus a `POST /kill`
+ * panic button, serving the static `dashboard/` UI. No framework — this is a
+ * small, auditable surface that is also the E2E harness talks to.
+ */
+export function createDashboardServer(fleet: Fleet): Server {
+ return createServer(async (req, res) => {
+ const url = new URL(req.url ?? '/', 'http://localhost')
+
+ if (url.pathname === '/api/summary' && req.method === 'GET') {
+ return json(res, 200, fleet.summary())
+ }
+ if (url.pathname === '/api/agents' && req.method === 'GET') {
+ return json(res, 200, fleet.agentStatuses())
+ }
+ if (url.pathname.startsWith('/api/agents/') && url.pathname.endsWith('/trades') && req.method === 'GET') {
+ const agentId = decodeURIComponent(url.pathname.split('/')[3] ?? '')
+ return json(res, 200, fleet.journal.recentTrades(agentId, 100))
+ }
+ if (url.pathname.startsWith('/api/agents/') && url.pathname.endsWith('/journal') && req.method === 'GET') {
+ const agentId = decodeURIComponent(url.pathname.split('/')[3] ?? '')
+ return json(res, 200, fleet.journal.recentDecisions(agentId, 200))
+ }
+ if (url.pathname.startsWith('/api/agents/') && url.pathname.endsWith('/equity') && req.method === 'GET') {
+ const agentId = decodeURIComponent(url.pathname.split('/')[3] ?? '')
+ return json(res, 200, fleet.journal.equityCurve(agentId, 500))
+ }
+ if (url.pathname === '/api/trades' && req.method === 'GET') {
+ return json(res, 200, fleet.journal.allRecentTrades(100))
+ }
+ if (url.pathname === '/api/kill' && req.method === 'POST') {
+ fleet.tripKill('dashboard')
+ return json(res, 200, { killed: true, reason: 'dashboard' })
+ }
+ if (url.pathname === '/api/health' && req.method === 'GET') {
+ return json(res, 200, { ok: true })
+ }
+
+ if (await serveStatic(req, res)) return
+ res.writeHead(404, { 'content-type': 'text/plain' })
+ res.end('not found')
+ })
+}
diff --git a/robinhood/hood-traders/src/strategies/momentum.ts b/robinhood/hood-traders/src/strategies/momentum.ts
new file mode 100644
index 000000000..598536984
--- /dev/null
+++ b/robinhood/hood-traders/src/strategies/momentum.ts
@@ -0,0 +1,205 @@
+import { getRecentLaunches, parseUsdg, type Launch } from 'hoodchain'
+import type { Address } from 'viem'
+import type {
+ Strategy,
+ StrategyMeta,
+ StrategyTickContext,
+} from '../framework/strategy.js'
+import type { Decision, Intent, Alert } from '../framework/types.js'
+
+/** Tunables for {@link Momentum}. */
+export interface MomentumParams {
+ /** USDG spent per entry. */
+ entryUsdg: number
+ /** Minimum price gain over the lookback window to count as a breakout. */
+ breakoutPct: number
+ /** How many price samples (ticks) form the lookback window. */
+ lookbackSamples: number
+ /** Trailing stop: exit if price falls this fraction off its post-entry peak. */
+ trailingStopPct: number
+ /** Hard time exit regardless of PnL. */
+ maxHoldSeconds: number
+ /** How many graduated tokens to track price history for (most-recently-graduated first). */
+ maxTracked: number
+ /** Blocks to look back for discovering graduated tokens. */
+ discoveryLookbackBlocks: bigint
+}
+
+const DEFAULTS: MomentumParams = {
+ entryUsdg: 10,
+ breakoutPct: 0.15,
+ lookbackSamples: 6,
+ trailingStopPct: 0.2,
+ maxHoldSeconds: 60 * 60,
+ maxTracked: 15,
+ discoveryLookbackBlocks: 200_000n,
+}
+
+interface PriceHistory {
+ token: Address
+ symbol: string
+ samples: { ts: number; priceUsd: number }[]
+}
+
+/**
+ * momentum — volume+price breakout entries on already-graduated (liquid)
+ * tokens, trailing-stop exits.
+ *
+ * EDGE HYPOTHESIS: a token that has already graduated to a locked Uniswap v3
+ * pool has survived the highest-mortality phase (the bonding curve / first
+ * minutes). A subsequent breakout — price up sharply over a short lookback,
+ * confirmed by the pool actually being tradable at size — reflects real
+ * incoming demand rather than launch-day noise, and trend-following that with
+ * a trailing stop captures the middle of the move while giving back only the
+ * tail.
+ *
+ * FAILURE MODES: breakouts on illiquid tokens are trivially fakeable by a
+ * single wallet round-tripping the pool; the strategy only looks at price, not
+ * depth, so it can chase a move that reverses the instant it stops buying.
+ * Trailing stops whipsaw in choppy markets — expect a string of small losses
+ * between real trends. Discovery only looks at NOXA (instant-listed, so
+ * "graduated" from day one) and Odyssey `PoolMigrated` history within the
+ * lookback window; a real breakout minutes after that window closes is missed
+ * until the next discovery pass.
+ */
+export class Momentum implements Strategy {
+ readonly id = 'momentum'
+ readonly title = 'Momentum'
+ readonly quote = 'usdg' as const
+ private readonly p: MomentumParams
+ private readonly history = new Map<string, PriceHistory>()
+ private readonly peakSinceEntry = new Map<string, number>()
+ private lastDiscoveryAt = 0
+
+ constructor(params: Partial<MomentumParams> = {}) {
+ this.p = { ...DEFAULTS, ...params }
+ }
+
+ get meta(): StrategyMeta {
+ return {
+ edge:
+ 'Trend-follow price breakouts on already-graduated, liquid tokens — surviving the launch phase filters ' +
+ 'for real demand, and a trailing stop rides the middle of a move.',
+ failureModes: [
+ 'Breakouts on thin pools are trivially fakeable by a single wallet; price-only signal has no depth check.',
+ 'Trailing stops whipsaw in choppy conditions — a string of small losses between real trends is expected.',
+ 'Discovery only scans a bounded block lookback; breakouts on tokens outside that window are missed until the next pass.',
+ 'Momentum has no edge in a flat or declining market — it is a trend-only strategy by design.',
+ ],
+ params: { ...this.p },
+ }
+ }
+
+ async tick(ctx: StrategyTickContext): Promise<Decision> {
+ const intents: Intent[] = []
+ const alerts: Alert[] = []
+
+ // Refresh the tracked-token set periodically (cheap log scan, not every tick).
+ if (ctx.now - this.lastDiscoveryAt > 5 * 60_000 || this.history.size === 0) {
+ await this.discover(ctx)
+ this.lastDiscoveryAt = ctx.now
+ }
+
+ // Sample current prices for tracked tokens.
+ for (const h of this.history.values()) {
+ const spot = await ctx.market.spotPrice(h.token)
+ if (!spot) continue
+ h.samples.push({ ts: ctx.now, priceUsd: spot.priceUsd })
+ if (h.samples.length > this.p.lookbackSamples + 1) h.samples.shift()
+ }
+
+ // ── exits: trailing stop / time exit ────────────────────────────────────────
+ for (const pos of ctx.positions) {
+ const key = pos.token.toLowerCase()
+ const spot = await ctx.market.spotPrice(pos.token)
+ const ageSec = (ctx.now - pos.openedAt) / 1000
+ if (spot) {
+ const peak = Math.max(this.peakSinceEntry.get(key) ?? spot.priceUsd, spot.priceUsd)
+ this.peakSinceEntry.set(key, peak)
+ const drawdown = peak > 0 ? 1 - spot.priceUsd / peak : 0
+ if (drawdown >= this.p.trailingStopPct) {
+ intents.push(this.exitIntent(pos, ctx, `trailing stop: ${(drawdown * 100).toFixed(1)}% off peak $${peak.toFixed(6)}`))
+ this.peakSinceEntry.delete(key)
+ continue
+ }
+ }
+ if (ageSec >= this.p.maxHoldSeconds) {
+ intents.push(this.exitIntent(pos, ctx, `time-exit ${Math.round(ageSec)}s held`))
+ this.peakSinceEntry.delete(key)
+ }
+ }
+
+ // ── entries: breakout over the lookback window ──────────────────────────────
+ for (const h of this.history.values()) {
+ if (h.samples.length < this.p.lookbackSamples) continue
+ if (ctx.positions.some((p) => p.token.toLowerCase() === h.token.toLowerCase())) continue
+ const first = h.samples[h.samples.length - this.p.lookbackSamples]
+ const last = h.samples[h.samples.length - 1]
+ if (!first || !last || first.priceUsd <= 0) continue
+ const gain = last.priceUsd / first.priceUsd - 1
+ if (gain >= this.p.breakoutPct) {
+ const amountIn = parseUsdg(String(this.p.entryUsdg))
+ intents.push({
+ side: 'buy',
+ token: h.token,
+ tokenSymbol: h.symbol,
+ amountIn,
+ quoteToken: ctx.quoteToken,
+ quoteSymbol: ctx.quoteSymbol,
+ reason: `breakout +${(gain * 100).toFixed(1)}% over ${this.p.lookbackSamples} samples ($${first.priceUsd.toFixed(6)}→$${last.priceUsd.toFixed(6)})`,
+ meta: { gain, entryPriceUsd: last.priceUsd },
+ })
+ this.peakSinceEntry.set(h.token.toLowerCase(), last.priceUsd)
+ } else {
+ alerts.push({
+ level: 'info',
+ message: `${h.symbol} watch: ${(gain * 100).toFixed(1)}% vs ${(this.p.breakoutPct * 100).toFixed(0)}% breakout threshold`,
+ })
+ }
+ }
+
+ return { intents, alerts }
+ }
+
+ private exitIntent(pos: StrategyTickContext['positions'][number], ctx: StrategyTickContext, reason: string): Intent {
+ return {
+ side: 'sell',
+ token: pos.token,
+ tokenSymbol: pos.tokenSymbol,
+ amountIn: pos.amount,
+ quoteToken: pos.quoteToken,
+ quoteSymbol: pos.quoteSymbol,
+ reason,
+ }
+ }
+
+ private async discover(ctx: StrategyTickContext): Promise<void> {
+ let launches: Launch[]
+ try {
+ launches = await getRecentLaunches(ctx.market.client, { lookbackBlocks: this.p.discoveryLookbackBlocks })
+ } catch (err) {
+ ctx.log(`momentum discovery failed: ${err instanceof Error ? err.message : String(err)}`)
+ return
+ }
+ // NOXA tokens are tradable from block one; Odyssey tokens need a migrated pool —
+ // approximated here by simply attempting a spot price and dropping tokens with none.
+ const graduated = launches.filter((l) => l.launchpad === 'noxa' || l.pool !== null)
+ const candidates = graduated.slice(-this.p.maxTracked)
+ for (const l of candidates) {
+ const key = l.token.toLowerCase()
+ if (this.history.has(key)) continue
+ const spot = await ctx.market.spotPrice(l.token)
+ if (!spot) continue
+ this.history.set(key, { token: l.token, symbol: shortToken(l.token), samples: [{ ts: ctx.now, priceUsd: spot.priceUsd }] })
+ }
+ // Evict tokens no longer in the discovered window to keep the tracked set fresh.
+ const keep = new Set(candidates.map((l) => l.token.toLowerCase()))
+ for (const key of [...this.history.keys()]) {
+ if (!keep.has(key) && !ctx.positions.some((p) => p.token.toLowerCase() === key)) this.history.delete(key)
+ }
+ }
+}
+
+function shortToken(addr: Address): string {
+ return `${addr.slice(0, 6)}…${addr.slice(-4)}`
+}
diff --git a/robinhood/hood-traders/src/strategies/premium-watch.ts b/robinhood/hood-traders/src/strategies/premium-watch.ts
new file mode 100644
index 000000000..e2ba47672
--- /dev/null
+++ b/robinhood/hood-traders/src/strategies/premium-watch.ts
@@ -0,0 +1,184 @@
+import { getStockToken, parseUsdg } from 'hoodchain'
+import type {
+ Strategy,
+ StrategyMeta,
+ StrategyTickContext,
+} from '../framework/strategy.js'
+import type { Alert, Decision, Intent } from '../framework/types.js'
+
+/** Tunables for {@link PremiumWatch}. */
+export interface PremiumWatchParams {
+ /** Symbols to watch. Defaults to a handful of the most liquid priced Stock Tokens. */
+ symbols: string[];
+ /** Premium/discount (bps, |dex - oracle| / oracle) that triggers an alert. */
+ alertThresholdBps: number
+ /** Premium/discount (bps) that triggers a convergence TRADE — only reachable in trade-eligible config. */
+ tradeThresholdBps: number
+ /** USDG spent per convergence trade, when trading is enabled. */
+ tradeSizeUsdg: number
+ /** Exit once the premium reverts to within this many bps of fair. */
+ exitThresholdBps: number
+ /** Hard time exit for a convergence position regardless of premium. */
+ maxHoldSeconds: number
+ /**
+ * Convergence TRADING is opt-in and requires BOTH this flag AND
+ * `market.client.acknowledgeStockTokenEligibility === true` (the operator's
+ * non-US-person affirmation, per `_shared.md`). Missing either keeps the
+ * strategy strictly alerts-only, which is the default and the recommended mode.
+ */
+ enableTrading: boolean
+}
+
+const DEFAULT_SYMBOLS = ['AAPL', 'TSLA', 'NVDA', 'AMZN', 'MSFT']
+
+const DEFAULTS: PremiumWatchParams = {
+ symbols: DEFAULT_SYMBOLS,
+ alertThresholdBps: 50,
+ tradeThresholdBps: 150,
+ tradeSizeUsdg: 20,
+ exitThresholdBps: 20,
+ maxHoldSeconds: 2 * 60 * 60,
+ enableTrading: false,
+}
+
+/**
+ * premium-watch — tracks the spread between each Stock Token's Chainlink
+ * oracle price and its live Uniswap v3 DEX price, and alerts on premium/discount.
+ * Trades the convergence ONLY when explicitly enabled AND the operator has
+ * affirmed Stock Token eligibility — otherwise it is alerts-only, which is the
+ * default and the recommended mode for anyone who hasn't cleared the legal gate
+ * in `_shared.md`.
+ *
+ * EDGE HYPOTHESIS: Stock Token pools are much thinner than the underlying
+ * equity market, so DEX price can drift from the Chainlink oracle (itself fed
+ * by the real market) when flow is one-sided. If the drift is a liquidity
+ * artifact rather than new information, buying the discount / shorting the
+ * premium (here: buying the discount and later selling back at fair, since the
+ * SDK has no short primitive) captures the reversion as the pool re-equilibrates
+ * via arbitrage or the next informed trade.
+ *
+ * FAILURE MODES: a premium can be RIGHT — the DEX price can be reacting to
+ * information the Chainlink heartbeat (up to 24h) hasn't caught up to yet, in
+ * which case "fading" it loses money on purpose. Stock Token pools are thin;
+ * the $10 probe used to read `stockDexPrice` may not reflect the price your
+ * actual trade size gets, and the trade itself moves the price you're trying to
+ * arbitrage. Only long convergence is possible (no shorting), so premiums
+ * (DEX rich) are alert-only even when trading is enabled — asymmetric coverage
+ * by construction. Chainlink staleness (weekends, feed outages) can make a
+ * quote look like a discount when it is just old.
+ */
+export class PremiumWatch implements Strategy {
+ readonly id = 'premium-watch'
+ readonly title = 'Premium Watch'
+ readonly quote = 'usdg' as const
+ private readonly p: PremiumWatchParams
+
+ constructor(params: Partial<PremiumWatchParams> = {}) {
+ this.p = { ...DEFAULTS, ...params }
+ }
+
+ get meta(): StrategyMeta {
+ return {
+ edge:
+ 'Track Chainlink-vs-DEX spread on Stock Tokens and, only in eligible+opted-in configuration, buy discounts ' +
+ 'expecting reversion as the thin pool re-equilibrates. Default mode is alerts-only.',
+ failureModes: [
+ 'A premium/discount can be correct — DEX price may reflect information the ≤24h Chainlink heartbeat has not caught up to; fading it then loses on purpose.',
+ 'Stock Token pools are thin; the probe price does not reflect real trade-size slippage, and the trade itself moves the spread being arbitraged.',
+ 'No shorting primitive exists, so only discounts (DEX cheap) are ever tradeable — premiums are alert-only by construction, not by choice.',
+ 'Chainlink staleness (weekend gap, feed outage) can masquerade as a discount when the oracle, not the pool, is stale.',
+ 'Trading requires an explicit eligibility affirmation (Stock Tokens cannot be sold to US/CA/UK/CH persons) — default is alerts-only until the operator opts in.',
+ ],
+ params: { ...this.p, enableTrading: this.p.enableTrading },
+ }
+ }
+
+ async tick(ctx: StrategyTickContext): Promise<Decision> {
+ const intents: Intent[] = []
+ const alerts: Alert[] = []
+ const tradingLive = this.p.enableTrading && ctx.market.client.acknowledgeStockTokenEligibility
+
+ if (this.p.enableTrading && !ctx.market.client.acknowledgeStockTokenEligibility) {
+ alerts.push({
+ level: 'warn',
+ message:
+ 'premium-watch: enableTrading=true but the client has not acknowledged Stock Token eligibility — staying alerts-only',
+ })
+ }
+
+ // ── exits: convergence positions revert or time out ────────────────────────
+ for (const pos of ctx.positions) {
+ const symbol = pos.tokenSymbol
+ const spread = await this.readSpread(ctx, symbol)
+ const ageSec = (ctx.now - pos.openedAt) / 1000
+ let exitReason: string | null = null
+ if (spread && Math.abs(spread.bps) <= this.p.exitThresholdBps) {
+ exitReason = `converged: spread ${spread.bps.toFixed(0)}bps within exit band`
+ } else if (ageSec >= this.p.maxHoldSeconds) {
+ exitReason = `time-exit ${Math.round(ageSec)}s held`
+ }
+ if (exitReason) {
+ intents.push({
+ side: 'sell',
+ token: pos.token,
+ tokenSymbol: symbol,
+ amountIn: pos.amount,
+ quoteToken: pos.quoteToken,
+ quoteSymbol: pos.quoteSymbol,
+ reason: exitReason,
+ })
+ }
+ }
+
+ // ── observe + (maybe) enter ─────────────────────────────────────────────────
+ for (const symbol of this.p.symbols) {
+ const spread = await this.readSpread(ctx, symbol)
+ if (!spread) continue
+
+ const direction = spread.bps > 0 ? 'premium (DEX rich)' : 'discount (DEX cheap)'
+ if (Math.abs(spread.bps) >= this.p.alertThresholdBps) {
+ alerts.push({
+ level: 'warn',
+ message: `${symbol} ${direction}: oracle $${spread.oracleUsd.toFixed(2)} vs DEX $${spread.dexUsd.toFixed(2)} (${spread.bps.toFixed(0)}bps)`,
+ meta: { symbol, oracleUsd: spread.oracleUsd, dexUsd: spread.dexUsd, bps: spread.bps },
+ })
+ }
+
+ const alreadyHeld = ctx.positions.some((p) => p.tokenSymbol === symbol)
+ const isDiscount = spread.bps <= -this.p.tradeThresholdBps
+ if (tradingLive && isDiscount && !alreadyHeld) {
+ const token = getStockToken(symbol)
+ intents.push({
+ side: 'buy',
+ token: token.address,
+ tokenSymbol: symbol,
+ amountIn: parseUsdg(String(this.p.tradeSizeUsdg)),
+ quoteToken: ctx.quoteToken,
+ quoteSymbol: ctx.quoteSymbol,
+ reason: `convergence entry: ${symbol} discount ${spread.bps.toFixed(0)}bps (oracle $${spread.oracleUsd.toFixed(2)} vs DEX $${spread.dexUsd.toFixed(2)})`,
+ meta: { symbol, oracleUsd: spread.oracleUsd, dexUsd: spread.dexUsd, bps: spread.bps },
+ })
+ } else if (isDiscount && !tradingLive) {
+ alerts.push({
+ level: 'info',
+ message: `${symbol} discount ${spread.bps.toFixed(0)}bps clears trade threshold but trading is disabled/ineligible — alert only`,
+ })
+ }
+ }
+
+ return { intents, alerts }
+ }
+
+ private async readSpread(
+ ctx: StrategyTickContext,
+ symbol: string,
+ ): Promise<{ oracleUsd: number; dexUsd: number; bps: number } | null> {
+ const oracle = await ctx.market.stockChainlinkPrice(symbol)
+ if (!oracle) return null
+ const token = getStockToken(symbol)
+ const dexUsd = await ctx.market.stockDexPrice(token.address, oracle.priceUsd)
+ if (dexUsd === null) return null
+ const bps = ((dexUsd - oracle.priceUsd) / oracle.priceUsd) * 10_000
+ return { oracleUsd: oracle.priceUsd, dexUsd, bps }
+ }
+}
diff --git a/robinhood/hood402/facilitator/Dockerfile b/robinhood/hood402/facilitator/Dockerfile
new file mode 100644
index 000000000..fe8a24211
--- /dev/null
+++ b/robinhood/hood402/facilitator/Dockerfile
@@ -0,0 +1,40 @@
+# Build context is the repo root (robinhood/hood402/), because the facilitator
+# depends on the sibling `hood402` package:
+# docker build -f facilitator/Dockerfile -t hood402-facilitator .
+FROM node:22-slim AS build
+WORKDIR /repo
+
+# 1. Build the core protocol package and pack it into a tarball so the
+# facilitator installs a real copy (not a symlink out of the build context).
+COPY package.json tsconfig.json tsup.config.ts ./
+COPY src ./src
+RUN npm install && npm run build && npm pack --pack-destination /tmp
+
+# 2. Build the facilitator against that tarball.
+WORKDIR /repo/facilitator
+COPY facilitator/package.json facilitator/tsconfig.json ./
+RUN CORE_TARBALL=$(ls /tmp/hood402-*.tgz) && npm pkg set dependencies.hood402="file:$CORE_TARBALL"
+RUN npm install
+COPY facilitator/src ./src
+RUN npm run build
+RUN npm prune --omit=dev
+
+FROM node:22-slim AS runtime
+ENV NODE_ENV=production
+WORKDIR /app
+
+COPY --from=build /repo/facilitator/node_modules ./node_modules
+COPY --from=build /repo/facilitator/dist ./dist
+COPY facilitator/package.json ./package.json
+
+RUN mkdir -p /app/data && useradd --system --uid 10001 hood402 && chown -R hood402 /app
+USER hood402
+
+EXPOSE 4021
+ENV PORT=4021
+ENV LEDGER_PATH=/app/data/hood402-ledger.sqlite
+
+HEALTHCHECK --interval=30s --timeout=5s --start-period=10s \
+ CMD node -e "fetch('http://localhost:'+(process.env.PORT||4021)+'/healthz').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"
+
+CMD ["node", "--no-warnings=ExperimentalWarning", "dist/index.js"]
diff --git a/robinhood/hood402/facilitator/src/index.ts b/robinhood/hood402/facilitator/src/index.ts
new file mode 100644
index 000000000..ea777abb3
--- /dev/null
+++ b/robinhood/hood402/facilitator/src/index.ts
@@ -0,0 +1,24 @@
+import { loadConfig } from './config.js'
+import { Ledger } from './ledger.js'
+import { buildApp } from './server.js'
+
+const config = loadConfig()
+const ledger = new Ledger(config.ledgerPath)
+const app = buildApp(config, ledger)
+
+const server = app.listen(config.port, () => {
+ console.log(
+ `hood402-facilitator listening on :${config.port} — signer ${config.signerAddress} — networks: ${[...config.runtimes.keys()].join(', ')}`,
+ )
+})
+
+function shutdown(signal: string): void {
+ console.log(`hood402-facilitator received ${signal}, shutting down`)
+ server.close(() => {
+ ledger.close()
+ process.exit(0)
+ })
+}
+
+process.on('SIGINT', () => shutdown('SIGINT'))
+process.on('SIGTERM', () => shutdown('SIGTERM'))
diff --git a/robinhood/hood402/facilitator/src/server.ts b/robinhood/hood402/facilitator/src/server.ts
new file mode 100644
index 000000000..c95ae9186
--- /dev/null
+++ b/robinhood/hood402/facilitator/src/server.ts
@@ -0,0 +1,187 @@
+import express, { type NextFunction, type Request, type Response } from 'express'
+import {
+ requireNetwork,
+ verifyPayment,
+ settlePayment,
+ isWellFormedPayload,
+ X402_VERSION,
+ SCHEME,
+ type PaymentPayload,
+ type PaymentRequirements,
+ type VerifyResult,
+ type SettleResult,
+} from 'hood402'
+import type { FacilitatorConfig } from './config.js'
+import { supportedNetworks } from './config.js'
+import { Ledger } from './ledger.js'
+
+interface VerifyRequestBody {
+ x402Version?: number
+ paymentPayload?: PaymentPayload
+ paymentRequirements?: PaymentRequirements
+}
+
+function badRequest(res: Response, message: string): void {
+ res.status(400).json({ error: message })
+}
+
+/** Build the Express app. Exported separately from `listen()` so tests can mount it directly. */
+export function buildApp(config: FacilitatorConfig, ledger: Ledger) {
+ const app = express()
+ app.use(express.json({ limit: '64kb' }))
+
+ app.get('/healthz', (_req, res) => {
+ res.json({ ok: true, signer: config.signerAddress, networks: [...config.runtimes.keys()] })
+ })
+
+ app.get('/supported', (_req, res) => {
+ const kinds = supportedNetworks().map((net) => ({
+ x402Version: X402_VERSION,
+ scheme: SCHEME,
+ network: net.id,
+ }))
+ res.json({ kinds })
+ })
+
+ app.get('/metrics', (_req, res) => {
+ const counts = ledger.counts()
+ const totalSettledAtomic = ledger.totalSettledAtomic()
+ res.set('content-type', 'text/plain; version=0.0.4')
+ res.send(
+ [
+ '# HELP hood402_settlements_total Settlements by status.',
+ '# TYPE hood402_settlements_total counter',
+ `hood402_settlements_total{status="settled"} ${counts.settled}`,
+ `hood402_settlements_total{status="failed"} ${counts.failed}`,
+ `hood402_settlements_total{status="pending"} ${counts.pending}`,
+ '# HELP hood402_settled_usdg_atomic_total Total USDG settled, atomic units (6 decimals).',
+ '# TYPE hood402_settled_usdg_atomic_total counter',
+ `hood402_settled_usdg_atomic_total ${totalSettledAtomic}`,
+ '',
+ ].join('\n'),
+ )
+ })
+
+ function parseVerifyBody(req: Request, res: Response): VerifyRequestBody | null {
+ const body = req.body as VerifyRequestBody
+ if (!body || typeof body !== 'object') {
+ badRequest(res, 'expected a JSON body')
+ return null
+ }
+ if (!body.paymentPayload || !isWellFormedPayload(body.paymentPayload)) {
+ badRequest(res, 'paymentPayload is missing or malformed')
+ return null
+ }
+ if (!body.paymentRequirements) {
+ badRequest(res, 'paymentRequirements is required')
+ return null
+ }
+ return body
+ }
+
+ app.post('/verify', async (req, res, next: NextFunction) => {
+ try {
+ const body = parseVerifyBody(req, res)
+ if (!body) return
+ const net = requireNetwork(body.paymentPayload!.network)
+ const runtime = config.runtimes.get(net.id)
+ if (!runtime) {
+ res.json({ isValid: false, invalidReason: 'unsupported_network' } satisfies VerifyResult)
+ return
+ }
+ const result = await verifyPayment({
+ payload: body.paymentPayload!,
+ requirements: body.paymentRequirements!,
+ reader: runtime.publicClient,
+ network: net,
+ })
+ res.json(result)
+ } catch (err) {
+ next(err)
+ }
+ })
+
+ app.post('/settle', async (req, res, next: NextFunction) => {
+ try {
+ const body = parseVerifyBody(req, res)
+ if (!body) return
+ const payload = body.paymentPayload!
+ const requirements = body.paymentRequirements!
+ const net = requireNetwork(payload.network)
+ const runtime = config.runtimes.get(net.id)
+ if (!runtime) {
+ res.json({
+ success: false,
+ errorReason: 'unsupported_network',
+ network: net.id,
+ } satisfies SettleResult)
+ return
+ }
+
+ const auth = payload.payload.authorization
+ const claim = ledger.claim({
+ network: net.id,
+ payer: auth.from,
+ payTo: auth.to,
+ amount: auth.value,
+ nonce: auth.nonce,
+ })
+
+ if (!claim.claimed) {
+ // Idempotent replay: return the original outcome instead of re-broadcasting.
+ const existing = claim.existing
+ if (existing.status === 'settled' && existing.tx_hash) {
+ res.json({
+ success: true,
+ transaction: existing.tx_hash,
+ network: net.id,
+ payer: existing.payer,
+ } satisfies SettleResult)
+ return
+ }
+ if (existing.status === 'failed') {
+ res.json({
+ success: false,
+ errorReason: 'authorization_already_used',
+ network: net.id,
+ payer: existing.payer,
+ } satisfies SettleResult)
+ return
+ }
+ // status === 'pending': a concurrent request owns this settlement.
+ res.status(409).json({
+ success: false,
+ errorReason: 'authorization_already_used',
+ network: net.id,
+ payer: existing.payer,
+ } satisfies SettleResult)
+ return
+ }
+
+ const result = await settlePayment({
+ payload,
+ requirements,
+ wallet: runtime.walletClient,
+ reader: runtime.publicClient,
+ network: net,
+ })
+
+ if (result.success && result.transaction) {
+ ledger.markSettled(net.id, auth.from, auth.nonce, result.transaction)
+ } else {
+ ledger.markFailed(net.id, auth.from, auth.nonce, result.errorReason ?? 'settlement_failed')
+ }
+ res.json(result)
+ } catch (err) {
+ next(err)
+ }
+ })
+
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ app.use((err: unknown, _req: Request, res: Response, _next: NextFunction) => {
+ const message = err instanceof Error ? err.message : 'internal error'
+ res.status(500).json({ error: message })
+ })
+
+ return app
+}
diff --git a/robinhood/hood402/package-lock.json b/robinhood/hood402/package-lock.json
new file mode 100644
index 000000000..0ee2dd608
--- /dev/null
+++ b/robinhood/hood402/package-lock.json
@@ -0,0 +1,4142 @@
+{
+ "name": "hood402",
+ "version": "0.1.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "hood402",
+ "version": "0.1.0",
+ "license": "MIT",
+ "workspaces": [
+ "facilitator"
+ ],
+ "devDependencies": {
+ "tsup": "^8.3.5",
+ "tsx": "^4.19.2",
+ "typescript": "^5.7.2",
+ "viem": "^2.55.0",
+ "vitest": "^2.1.8"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "peerDependencies": {
+ "viem": "^2.55.0"
+ }
+ },
+ "facilitator": {
+ "name": "hood402-facilitator",
+ "version": "0.1.0",
+ "license": "MIT",
+ "dependencies": {
+ "express": "^4.21.2",
+ "hood402": "file:..",
+ "viem": "^2.55.0"
+ },
+ "bin": {
+ "hood402-facilitator": "dist/index.js"
+ },
+ "devDependencies": {
+ "@types/express": "^4.17.21",
+ "@types/node": "^22.10.2",
+ "tsx": "^4.19.2",
+ "typescript": "^5.7.2"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/@adraffy/ens-normalize": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.1.tgz",
+ "integrity": "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ==",
+ "license": "MIT"
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz",
+ "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz",
+ "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz",
+ "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz",
+ "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz",
+ "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz",
+ "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz",
+ "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz",
+ "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz",
+ "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz",
+ "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz",
+ "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz",
+ "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz",
+ "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz",
+ "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz",
+ "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz",
+ "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz",
+ "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz",
+ "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz",
+ "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz",
+ "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz",
+ "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz",
+ "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz",
+ "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@noble/ciphers": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
+ "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/curves": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.1.tgz",
+ "integrity": "sha512-k11yZxZg+t+gWvBbIswW0yoJlu8cHOC7dhunwOzoWH/mXGBiYyR4YY6hAEK/3EUs4UpB8la1RfdRpeGsFHkWsA==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "1.8.0"
+ },
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/hashes": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
+ "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.62.2.tgz",
+ "integrity": "sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.62.2.tgz",
+ "integrity": "sha512-BaH7BllCACHoH1LguOU56UItGfUWjujlO65kS9LAodViaN4bwIKd7oeW/ZHJ/4ljr/7MIiENnNy3HJ0zXv8Zkw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.62.2.tgz",
+ "integrity": "sha512-v39RCCvj4He82I9sFmk+M1VZ0PLM9sfsLVikjfx2hYBNALhrrOR2D3JjQA6AhlaSOgcR+RzrKY7e1+bT6SUO/A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.62.2.tgz",
+ "integrity": "sha512-yl0y2vq3S3lHeuXhEdss6TWfKW8vkujImO12tn4ZkG/4oghr09LvdYm2RElVjokTQiUvDUGXLGsYeLqUMCKpGA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.62.2.tgz",
+ "integrity": "sha512-tT4pvt4qXD+vEoezupCWi+a1F0vvDiksiHc+PxRlYTOH1I6/X4id9jPxTP+Fg+545euaFT1jJVs4CEdHZAU1vw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.62.2.tgz",
+ "integrity": "sha512-6nU5F2wCW+qvCBhTn1pdIU3bzsIoF7EUwsCDRxilWGprQR6yd508YnH9+OKFCwpfS8pjZqDUmnCAr7exax0XCg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.62.2.tgz",
+ "integrity": "sha512-n1GJHPOvpIfhi3TmrCeh6S6URt9BFCt0KQE3qvexyGCTAKpR4Lg+eWvNZEqu7epxwus/8ElT3hacYEucm49SZg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.62.2.tgz",
+ "integrity": "sha512-JqgflS8wEB+UXV/vS1RpRbifGBeN4D5lz8D8oOFbFZw4vedvdOgCFAjfBmIMdW3yL10XpQQ0Ambepw6MXrhOnA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.62.2.tgz",
+ "integrity": "sha512-wnFJkogWvN4jm/hQRF2UBaeUmk20j5+DmHvoyWii2b8HJDyvz1MF2OU/6ynXt2KR63rbZLWkFpoytpdc/yBuSA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.62.2.tgz",
+ "integrity": "sha512-HVu2bp0zhvJ8xHEV9+UUs7S90VadmBSY3LcIMvozbPo4AuMGDWlz3ymHLHZPX4hR67TKTt8Qp5PJ5RBg/i+RMQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.62.2.tgz",
+ "integrity": "sha512-mQqqAV8QaoSgr9I2fKDLY2BAVvmKjWoGiu/cSYQonsLvtqwEn1E4QYfnCOcp5zoEqNhsDYin1s6jx/VJmrxlZg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.62.2.tgz",
+ "integrity": "sha512-IxKLoxCQ2IWi6bT2akyDUBGsOImDKB+sPp4EsTmwFQ/fMwpCKm8uLSSgP/Kx/QYUgKis6SEZ5/Nlhup0DIA0PQ==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.62.2.tgz",
+ "integrity": "sha512-Mk5ha2RQSgyFfmYYLkBpPnUk8D8FriBxesO1u9O75X0mHgXL1UQcH5Itl2lurWL2tj0RxV9b9tJgipac0hRY9A==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.62.2.tgz",
+ "integrity": "sha512-CjvEnqJL/0/TQ3TXX3OPIJ/kmBellrWd4heXUmHeJlTnmwjKpSJzoehLaL6Xk0ZnMHBu9dZuFADNOrtjF4v+2w==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.62.2.tgz",
+ "integrity": "sha512-1SiZbzwdkaDURsew/tSOrooKiYy7EQGT6m8ufavAi9NEyQb/6VuIxFXAL1fqa4iZe3g4NbNk4P7J32z2tw5Mgg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.62.2.tgz",
+ "integrity": "sha512-nQts12zJ3NQRoE6uYljOH89v7szzLDvG2JD/vsX+vGXU8w/At1GowTZ5/7qeFQ8m7L55rpR8Okugnuo5bgjy2Q==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.62.2.tgz",
+ "integrity": "sha512-E9/ll019jhPIJgpzfZoIkBGhcz+kKNgVWYRY0zr9srBdPPFVpvOKW8VaJKUbeK+eZXyQF9ltME+Kk6affeaPgg==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-5BqxR/pshjey51iliyzTD5Xi3EN0aLmQ2lZ3lvefVV9c82BvrLo2/6OT55iifpWBufs6kdwWbuOKS841DrmK9A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.62.2.tgz",
+ "integrity": "sha512-uNN83XxQrRAh/w0/pmAfibcwyb6YWt4gP+dpnQKPVJshAloQ785ii8CT8ZCIxkGg9opVsvAlGhFitSm6D1Jjpg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-openbsd-x64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.62.2.tgz",
+ "integrity": "sha512-srjEIxSH3LRnJN6THczDHWQplqEMFiAJrTab0msUryh9kwNpkICf3Ea6q6MN/2cZwRFUNx5w+h6Hpi4QuHS6Zg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.62.2.tgz",
+ "integrity": "sha512-8hOJnxgbyObnCm5AlRA3A931xX19xq80RjVTKgJOvEKWqJruP/Uf12IbAOaDjjEXYRewwHLfmF0YRIdK3OwKWA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.62.2.tgz",
+ "integrity": "sha512-mmF4AY1i0hG/bLWUctUq59gtmgaSIRa3cu/A3JFRp/sCNEme2bgDEiDS22P9FbnJB8NJNF4jPJiSP5RHQpUTDg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.62.2.tgz",
+ "integrity": "sha512-DZgkknc6jhHrk46V25vbAM0zZkyP0nSDkJB8/dRkLTxv470dOmWDqGoEJl/9A0dFfS7yE3REOwNDxpHwSLSt0Q==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.62.2.tgz",
+ "integrity": "sha512-T6xr6ucWSFto+VGajA8YH26LdpHRuP4YLHEKAtCWvJDOlnmWcDZVCI2Jmjr+IFHDlt2zRaTAKE4tfjTaWLgJBg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.62.2.tgz",
+ "integrity": "sha512-BfzEnDJOt9T8M989/lA37EcJgat01wLRnoi5dQf3QzOH7jzpqTAzdDbVfRljVr5r+jzKqpbHeyOfAaXxAd0PAA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@scure/base": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.6.tgz",
+ "integrity": "sha512-g/nm5FgUa//MCj1gV09zTJTaM6KBAHqLN907YVQqf7zC49+DcO4B1so4ZX07Ef10Twr6nuqYEH9GEggFXA4Fmg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip32": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.7.0.tgz",
+ "integrity": "sha512-E4FFX/N3f4B80AKWp5dP6ow+flD1LQZo/w8UnLGYZO674jS6YnYeepycOOksv+vLPSpgN35wgKgy+ybfTb2SMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "~1.9.0",
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@scure/bip39": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.6.0.tgz",
+ "integrity": "sha512-+lF0BbLiJNwVlev4eKelw1WWLaiKXw7sSl8T6FvBlWkdX+94aGJ4o8XjUdlyhTCjd8c+B3KT3JfS8P0bLRNU6A==",
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "~1.8.0",
+ "@scure/base": "~1.2.5"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@types/body-parser": {
+ "version": "1.19.6",
+ "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz",
+ "integrity": "sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/connect": "*",
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/connect": {
+ "version": "3.4.38",
+ "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz",
+ "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
+ "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/express": {
+ "version": "4.17.25",
+ "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.25.tgz",
+ "integrity": "sha512-dVd04UKsfpINUnK0yBoYHDF3xu7xVH4BuDotC/xGuycx4CgbP48X/KF/586bcObxT0HENHXEU8Nqtu6NR+eKhw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/body-parser": "*",
+ "@types/express-serve-static-core": "^4.17.33",
+ "@types/qs": "*",
+ "@types/serve-static": "^1"
+ }
+ },
+ "node_modules/@types/express-serve-static-core": {
+ "version": "4.19.9",
+ "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.9.tgz",
+ "integrity": "sha512-QP2ESEe/ImWY0HDwNAnK9PvEffUyhLTnWkk7KXzHfyeWAnlrDe1fN77bXl6ia8KT3wPlmA7t9/VPRpnf4Ex9sg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*",
+ "@types/qs": "*",
+ "@types/range-parser": "*",
+ "@types/send": "*"
+ }
+ },
+ "node_modules/@types/http-errors": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.5.tgz",
+ "integrity": "sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/mime": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz",
+ "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "22.20.1",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.1.tgz",
+ "integrity": "sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~6.21.0"
+ }
+ },
+ "node_modules/@types/qs": {
+ "version": "6.15.1",
+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.15.1.tgz",
+ "integrity": "sha512-GZHUBZR9hckSUhrxmp1nG6NwdpM9fCunJwyThLW1X3AyHgd9IlHb6VANpQQqDr2o/qQp6McZ3y/IA2rVzKzSbw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/range-parser": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz",
+ "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/send": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@types/send/-/send-1.2.1.tgz",
+ "integrity": "sha512-arsCikDvlU99zl1g69TcAB3mzZPpxgw0UQnaHeC1Nwb015xp8bknZv5rIfri9xTOcMuaVgvabfIRA7PSZVuZIQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/serve-static": {
+ "version": "1.15.10",
+ "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.10.tgz",
+ "integrity": "sha512-tRs1dB+g8Itk72rlSI2ZrW6vZg0YrLI81iQSTkMmOqnqCaNr/8Ek4VwWcN5vZgCYWbg/JJSGBlUaYGAOP73qBw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/http-errors": "*",
+ "@types/node": "*",
+ "@types/send": "<1"
+ }
+ },
+ "node_modules/@types/serve-static/node_modules/@types/send": {
+ "version": "0.17.6",
+ "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.6.tgz",
+ "integrity": "sha512-Uqt8rPBE8SY0RK8JB1EzVOIZ32uqy8HwdxCnoCOsYrvnswqmFZ/k+9Ikidlk/ImhsdvBsloHbAlewb2IEBV/Og==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/mime": "^1",
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@vitest/expect": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.9.tgz",
+ "integrity": "sha512-UJCIkTBenHeKT1TTlKMJWy1laZewsRIzYighyYiJKZreqtdxSos/S1t+ktRMQWu2CKqaarrkeszJx1cgC5tGZw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/spy": "2.1.9",
+ "@vitest/utils": "2.1.9",
+ "chai": "^5.1.2",
+ "tinyrainbow": "^1.2.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/mocker": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.9.tgz",
+ "integrity": "sha512-tVL6uJgoUdi6icpxmdrn5YNo3g3Dxv+IHJBr0GXHaEdTcw3F+cPKnsXFhli6nO+f/6SDKPHEK1UN+k+TQv0Ehg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/spy": "2.1.9",
+ "estree-walker": "^3.0.3",
+ "magic-string": "^0.30.12"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "msw": "^2.4.9",
+ "vite": "^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "msw": {
+ "optional": true
+ },
+ "vite": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vitest/pretty-format": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.9.tgz",
+ "integrity": "sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyrainbow": "^1.2.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/runner": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.9.tgz",
+ "integrity": "sha512-ZXSSqTFIrzduD63btIfEyOmNcBmQvgOVsPNPe0jYtESiXkhd8u2erDLnMxmGrDCwHCCHE7hxwRDCT3pt0esT4g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/utils": "2.1.9",
+ "pathe": "^1.1.2"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/runner/node_modules/pathe": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz",
+ "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@vitest/snapshot": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.9.tgz",
+ "integrity": "sha512-oBO82rEjsxLNJincVhLhaxxZdEtV0EFHMK5Kmx5sJ6H9L183dHECjiefOAdnqpIgT5eZwT04PoggUnW88vOBNQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "2.1.9",
+ "magic-string": "^0.30.12",
+ "pathe": "^1.1.2"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/snapshot/node_modules/pathe": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz",
+ "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@vitest/spy": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.9.tgz",
+ "integrity": "sha512-E1B35FwzXXTs9FHNK6bDszs7mtydNi5MIfUWpceJ8Xbfb1gBMscAnwLbEu+B44ed6W3XjL9/ehLPHR1fkf1KLQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyspy": "^3.0.2"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/utils": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.9.tgz",
+ "integrity": "sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "2.1.9",
+ "loupe": "^3.1.2",
+ "tinyrainbow": "^1.2.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/abitype": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/abitype/-/abitype-1.2.3.tgz",
+ "integrity": "sha512-Ofer5QUnuUdTFsBRwARMoWKOH1ND5ehwYhJ3OJ/BQO+StkwQjHw0XyVh4vDttzHB7QOFhPHa/o413PJ82gU/Tg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/wevm"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4",
+ "zod": "^3.22.0 || ^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ },
+ "zod": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/accepts": {
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
+ "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-types": "~2.1.34",
+ "negotiator": "0.6.3"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.17.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
+ "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/array-flatten": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
+ "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==",
+ "license": "MIT"
+ },
+ "node_modules/assertion-error": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/body-parser": {
+ "version": "1.20.6",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.6.tgz",
+ "integrity": "sha512-p5tAzS57i5MV9fZFDj9LeIiTZEufbSe2eDozP+ElheSUq1m74CRq1jI4mYNDdVs9vQztXFLuk/Gd6BWTdwRJ5g==",
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "~3.1.2",
+ "content-type": "~1.0.5",
+ "debug": "2.6.9",
+ "depd": "2.0.0",
+ "destroy": "~1.2.0",
+ "http-errors": "~2.0.1",
+ "iconv-lite": "~0.4.24",
+ "on-finished": "~2.4.1",
+ "qs": "~6.15.1",
+ "raw-body": "~2.5.3",
+ "type-is": "~1.6.18",
+ "unpipe": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8",
+ "npm": "1.2.8000 || >= 1.4.16"
+ }
+ },
+ "node_modules/body-parser/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/body-parser/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
+ "node_modules/bundle-require": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.1.0.tgz",
+ "integrity": "sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "load-tsconfig": "^0.2.3"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.18"
+ }
+ },
+ "node_modules/bytes": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
+ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/cac": {
+ "version": "6.7.14",
+ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
+ "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/call-bind-apply-helpers": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
+ "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/call-bound": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",
+ "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "get-intrinsic": "^1.3.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/chai": {
+ "version": "5.3.3",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz",
+ "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assertion-error": "^2.0.1",
+ "check-error": "^2.1.1",
+ "deep-eql": "^5.0.1",
+ "loupe": "^3.1.0",
+ "pathval": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/check-error": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz",
+ "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 16"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
+ "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "readdirp": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 14.16.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/confbox": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz",
+ "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/consola": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz",
+ "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.18.0 || >=16.10.0"
+ }
+ },
+ "node_modules/content-disposition": {
+ "version": "0.5.4",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
+ "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "5.2.1"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/content-type": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
+ "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/cookie": {
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/cookie-signature": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz",
+ "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==",
+ "license": "MIT"
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/deep-eql": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/depd": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/destroy": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
+ "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8",
+ "npm": "1.2.8000 || >= 1.4.16"
+ }
+ },
+ "node_modules/dunder-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
+ "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ee-first": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
+ "license": "MIT"
+ },
+ "node_modules/encodeurl": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
+ "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/es-define-property": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
+ "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-errors": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-module-lexer": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
+ "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/es-object-atoms": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz",
+ "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.27.7",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz",
+ "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.27.7",
+ "@esbuild/android-arm": "0.27.7",
+ "@esbuild/android-arm64": "0.27.7",
+ "@esbuild/android-x64": "0.27.7",
+ "@esbuild/darwin-arm64": "0.27.7",
+ "@esbuild/darwin-x64": "0.27.7",
+ "@esbuild/freebsd-arm64": "0.27.7",
+ "@esbuild/freebsd-x64": "0.27.7",
+ "@esbuild/linux-arm": "0.27.7",
+ "@esbuild/linux-arm64": "0.27.7",
+ "@esbuild/linux-ia32": "0.27.7",
+ "@esbuild/linux-loong64": "0.27.7",
+ "@esbuild/linux-mips64el": "0.27.7",
+ "@esbuild/linux-ppc64": "0.27.7",
+ "@esbuild/linux-riscv64": "0.27.7",
+ "@esbuild/linux-s390x": "0.27.7",
+ "@esbuild/linux-x64": "0.27.7",
+ "@esbuild/netbsd-arm64": "0.27.7",
+ "@esbuild/netbsd-x64": "0.27.7",
+ "@esbuild/openbsd-arm64": "0.27.7",
+ "@esbuild/openbsd-x64": "0.27.7",
+ "@esbuild/openharmony-arm64": "0.27.7",
+ "@esbuild/sunos-x64": "0.27.7",
+ "@esbuild/win32-arm64": "0.27.7",
+ "@esbuild/win32-ia32": "0.27.7",
+ "@esbuild/win32-x64": "0.27.7"
+ }
+ },
+ "node_modules/escape-html": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
+ "license": "MIT"
+ },
+ "node_modules/estree-walker": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
+ "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0"
+ }
+ },
+ "node_modules/etag": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
+ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/eventemitter3": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
+ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
+ "license": "MIT"
+ },
+ "node_modules/expect-type": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz",
+ "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/express": {
+ "version": "4.22.2",
+ "resolved": "https://registry.npmjs.org/express/-/express-4.22.2.tgz",
+ "integrity": "sha512-IuL+Elrou2ZvCFHs18/CIzy2Nzvo25nZ1/D2eIZlz7c+QUayAcYoiM2BthCjs+EBHVpjYjcuLDAiCWgeIX3X1Q==",
+ "license": "MIT",
+ "dependencies": {
+ "accepts": "~1.3.8",
+ "array-flatten": "1.1.1",
+ "body-parser": "~1.20.5",
+ "content-disposition": "~0.5.4",
+ "content-type": "~1.0.4",
+ "cookie": "~0.7.1",
+ "cookie-signature": "~1.0.6",
+ "debug": "2.6.9",
+ "depd": "2.0.0",
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "finalhandler": "~1.3.1",
+ "fresh": "~0.5.2",
+ "http-errors": "~2.0.0",
+ "merge-descriptors": "1.0.3",
+ "methods": "~1.1.2",
+ "on-finished": "~2.4.1",
+ "parseurl": "~1.3.3",
+ "path-to-regexp": "~0.1.12",
+ "proxy-addr": "~2.0.7",
+ "qs": "~6.15.1",
+ "range-parser": "~1.2.1",
+ "safe-buffer": "5.2.1",
+ "send": "~0.19.0",
+ "serve-static": "~1.16.2",
+ "setprototypeof": "1.2.0",
+ "statuses": "~2.0.1",
+ "type-is": "~1.6.18",
+ "utils-merge": "1.0.1",
+ "vary": "~1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.10.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/express/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/express/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/finalhandler": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.2.tgz",
+ "integrity": "sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "2.6.9",
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "on-finished": "~2.4.1",
+ "parseurl": "~1.3.3",
+ "statuses": "~2.0.2",
+ "unpipe": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/finalhandler/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/finalhandler/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
+ "node_modules/fix-dts-default-cjs-exports": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/fix-dts-default-cjs-exports/-/fix-dts-default-cjs-exports-1.0.1.tgz",
+ "integrity": "sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "magic-string": "^0.30.17",
+ "mlly": "^1.7.4",
+ "rollup": "^4.34.8"
+ }
+ },
+ "node_modules/forwarded": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
+ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/fresh": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
+ "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-intrinsic": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.2",
+ "es-define-property": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.1",
+ "function-bind": "^1.1.2",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "hasown": "^2.0.2",
+ "math-intrinsics": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
+ "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
+ "license": "MIT",
+ "dependencies": {
+ "dunder-proto": "^1.0.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/gopd": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
+ "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
+ "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",
+ "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==",
+ "license": "MIT",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/hood402": {
+ "resolved": "",
+ "link": true
+ },
+ "node_modules/hood402-facilitator": {
+ "resolved": "facilitator",
+ "link": true
+ },
+ "node_modules/http-errors": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
+ "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
+ "license": "MIT",
+ "dependencies": {
+ "depd": "~2.0.0",
+ "inherits": "~2.0.4",
+ "setprototypeof": "~1.2.0",
+ "statuses": "~2.0.2",
+ "toidentifier": "~1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/iconv-lite": {
+ "version": "0.4.24",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "license": "ISC"
+ },
+ "node_modules/ipaddr.js": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/isows": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/isows/-/isows-1.0.7.tgz",
+ "integrity": "sha512-I1fSfDCZL5P0v33sVqeTDSpcstAg/N+wF5HS033mogOVIp4B+oHC7oOCsA3axAbBSGTJ8QubbNmnIRN/h8U7hg==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "peerDependencies": {
+ "ws": "*"
+ }
+ },
+ "node_modules/joycon": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz",
+ "integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/lilconfig": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
+ "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antonk52"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/load-tsconfig": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.5.tgz",
+ "integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/loupe": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
+ "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
+ }
+ },
+ "node_modules/math-intrinsics": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
+ "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/media-typer": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
+ "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/merge-descriptors": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz",
+ "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/methods": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
+ "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
+ "license": "MIT",
+ "bin": {
+ "mime": "cli.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mlly": {
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.2.tgz",
+ "integrity": "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "acorn": "^8.16.0",
+ "pathe": "^2.0.3",
+ "pkg-types": "^1.3.1",
+ "ufo": "^1.6.3"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "license": "MIT"
+ },
+ "node_modules/mz": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0",
+ "object-assign": "^4.0.1",
+ "thenify-all": "^1.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.16",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.16.tgz",
+ "integrity": "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/negotiator": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
+ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-inspect": {
+ "version": "1.13.4",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",
+ "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/on-finished": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
+ "license": "MIT",
+ "dependencies": {
+ "ee-first": "1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/ox": {
+ "version": "0.14.30",
+ "resolved": "https://registry.npmjs.org/ox/-/ox-0.14.30.tgz",
+ "integrity": "sha512-LI11uu+8iiM1B3CLckgd++YF1a0A2k5wDoM9ZeQMiL21BOzQs6L//BLS6hb1HSEKCyycdDIQLsVQx9MjpcC0hA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@adraffy/ens-normalize": "^1.11.0",
+ "@noble/ciphers": "^1.3.0",
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "^1.8.0",
+ "@scure/bip32": "^1.7.0",
+ "@scure/bip39": "^1.6.0",
+ "abitype": "^1.2.3",
+ "eventemitter3": "5.0.1"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/parseurl": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/path-to-regexp": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.13.tgz",
+ "integrity": "sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA==",
+ "license": "MIT"
+ },
+ "node_modules/pathe": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
+ "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/pathval": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz",
+ "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.16"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",
+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pirates": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
+ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/pkg-types": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz",
+ "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "confbox": "^0.1.8",
+ "mlly": "^1.7.4",
+ "pathe": "^2.0.1"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.17",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.17.tgz",
+ "integrity": "sha512-J7EF+8X+CzRPaJPOv9Ck2wNWJvGnnl3PcNPAdGg6GTLjyVpyQ0yATMSXRFRV01BviT/9Gwuc3rjEyJbDJG9a4w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.12",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-load-config": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",
+ "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "lilconfig": "^3.1.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "peerDependencies": {
+ "jiti": ">=1.21.0",
+ "postcss": ">=8.0.9",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/proxy-addr": {
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
+ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
+ "license": "MIT",
+ "dependencies": {
+ "forwarded": "0.2.0",
+ "ipaddr.js": "1.9.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/qs": {
+ "version": "6.15.3",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.3.tgz",
+ "integrity": "sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "es-define-property": "^1.0.1",
+ "side-channel": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=0.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/range-parser": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/raw-body": {
+ "version": "2.5.3",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz",
+ "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==",
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "~3.1.2",
+ "http-errors": "~2.0.1",
+ "iconv-lite": "~0.4.24",
+ "unpipe": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",
+ "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.18.0"
+ },
+ "funding": {
+ "type": "individual",
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.62.2",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.62.2.tgz",
+ "integrity": "sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.9"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.62.2",
+ "@rollup/rollup-android-arm64": "4.62.2",
+ "@rollup/rollup-darwin-arm64": "4.62.2",
+ "@rollup/rollup-darwin-x64": "4.62.2",
+ "@rollup/rollup-freebsd-arm64": "4.62.2",
+ "@rollup/rollup-freebsd-x64": "4.62.2",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.62.2",
+ "@rollup/rollup-linux-arm-musleabihf": "4.62.2",
+ "@rollup/rollup-linux-arm64-gnu": "4.62.2",
+ "@rollup/rollup-linux-arm64-musl": "4.62.2",
+ "@rollup/rollup-linux-loong64-gnu": "4.62.2",
+ "@rollup/rollup-linux-loong64-musl": "4.62.2",
+ "@rollup/rollup-linux-ppc64-gnu": "4.62.2",
+ "@rollup/rollup-linux-ppc64-musl": "4.62.2",
+ "@rollup/rollup-linux-riscv64-gnu": "4.62.2",
+ "@rollup/rollup-linux-riscv64-musl": "4.62.2",
+ "@rollup/rollup-linux-s390x-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-gnu": "4.62.2",
+ "@rollup/rollup-linux-x64-musl": "4.62.2",
+ "@rollup/rollup-openbsd-x64": "4.62.2",
+ "@rollup/rollup-openharmony-arm64": "4.62.2",
+ "@rollup/rollup-win32-arm64-msvc": "4.62.2",
+ "@rollup/rollup-win32-ia32-msvc": "4.62.2",
+ "@rollup/rollup-win32-x64-gnu": "4.62.2",
+ "@rollup/rollup-win32-x64-msvc": "4.62.2",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
+ "license": "MIT"
+ },
+ "node_modules/send": {
+ "version": "0.19.2",
+ "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz",
+ "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "2.6.9",
+ "depd": "2.0.0",
+ "destroy": "1.2.0",
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "fresh": "~0.5.2",
+ "http-errors": "~2.0.1",
+ "mime": "1.6.0",
+ "ms": "2.1.3",
+ "on-finished": "~2.4.1",
+ "range-parser": "~1.2.1",
+ "statuses": "~2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/send/node_modules/debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "2.0.0"
+ }
+ },
+ "node_modules/send/node_modules/debug/node_modules/ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
+ "license": "MIT"
+ },
+ "node_modules/serve-static": {
+ "version": "1.16.3",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.3.tgz",
+ "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==",
+ "license": "MIT",
+ "dependencies": {
+ "encodeurl": "~2.0.0",
+ "escape-html": "~1.0.3",
+ "parseurl": "~1.3.3",
+ "send": "~0.19.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/setprototypeof": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
+ "license": "ISC"
+ },
+ "node_modules/side-channel": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz",
+ "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "object-inspect": "^1.13.4",
+ "side-channel-list": "^1.0.1",
+ "side-channel-map": "^1.0.1",
+ "side-channel-weakmap": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-list": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz",
+ "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==",
+ "license": "MIT",
+ "dependencies": {
+ "es-errors": "^1.3.0",
+ "object-inspect": "^1.13.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-map": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",
+ "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.5",
+ "object-inspect": "^1.13.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/side-channel-weakmap": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",
+ "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",
+ "license": "MIT",
+ "dependencies": {
+ "call-bound": "^1.0.2",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.5",
+ "object-inspect": "^1.13.3",
+ "side-channel-map": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/siginfo": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",
+ "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/source-map": {
+ "version": "0.7.6",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz",
+ "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/stackback": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
+ "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/statuses": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
+ "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/std-env": {
+ "version": "3.10.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz",
+ "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/sucrase": {
+ "version": "3.35.1",
+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
+ "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "commander": "^4.0.0",
+ "lines-and-columns": "^1.1.6",
+ "mz": "^2.7.0",
+ "pirates": "^4.0.1",
+ "tinyglobby": "^0.2.11",
+ "ts-interface-checker": "^0.1.9"
+ },
+ "bin": {
+ "sucrase": "bin/sucrase",
+ "sucrase-node": "bin/sucrase-node"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/thenify": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0"
+ }
+ },
+ "node_modules/thenify-all": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "thenify": ">= 3.1.0 < 4"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/tinybench": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
+ "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyexec": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
+ "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.17",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
+ "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tinypool": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",
+ "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ }
+ },
+ "node_modules/tinyrainbow": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-1.2.0.tgz",
+ "integrity": "sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tinyspy": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-3.0.2.tgz",
+ "integrity": "sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/toidentifier": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/tree-kill": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz",
+ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "tree-kill": "cli.js"
+ }
+ },
+ "node_modules/ts-interface-checker": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/tsup": {
+ "version": "8.5.1",
+ "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.5.1.tgz",
+ "integrity": "sha512-xtgkqwdhpKWr3tKPmCkvYmS9xnQK3m3XgxZHwSUjvfTjp7YfXe5tT3GgWi0F2N+ZSMsOeWeZFh7ZZFg5iPhing==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bundle-require": "^5.1.0",
+ "cac": "^6.7.14",
+ "chokidar": "^4.0.3",
+ "consola": "^3.4.0",
+ "debug": "^4.4.0",
+ "esbuild": "^0.27.0",
+ "fix-dts-default-cjs-exports": "^1.0.0",
+ "joycon": "^3.1.1",
+ "picocolors": "^1.1.1",
+ "postcss-load-config": "^6.0.1",
+ "resolve-from": "^5.0.0",
+ "rollup": "^4.34.8",
+ "source-map": "^0.7.6",
+ "sucrase": "^3.35.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.11",
+ "tree-kill": "^1.2.2"
+ },
+ "bin": {
+ "tsup": "dist/cli-default.js",
+ "tsup-node": "dist/cli-node.js"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@microsoft/api-extractor": "^7.36.0",
+ "@swc/core": "^1",
+ "postcss": "^8.4.12",
+ "typescript": ">=4.5.0"
+ },
+ "peerDependenciesMeta": {
+ "@microsoft/api-extractor": {
+ "optional": true
+ },
+ "@swc/core": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tsx": {
+ "version": "4.23.0",
+ "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.23.0.tgz",
+ "integrity": "sha512-eUdUIaCr963q2h5u3+QwvYp0+eqPvn+egeqZUm0hwERCqqx1E3kK5ehbGCvqSE5MQAULr67ww0cA3jKc3YkM1w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "~0.28.0"
+ },
+ "bin": {
+ "tsx": "dist/cli.mjs"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/aix-ppc64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.1.tgz",
+ "integrity": "sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/android-arm": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.1.tgz",
+ "integrity": "sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/android-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.1.tgz",
+ "integrity": "sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/android-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.1.tgz",
+ "integrity": "sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/darwin-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.1.tgz",
+ "integrity": "sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/darwin-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.1.tgz",
+ "integrity": "sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/freebsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.1.tgz",
+ "integrity": "sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-arm": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.1.tgz",
+ "integrity": "sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.1.tgz",
+ "integrity": "sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-ia32": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.1.tgz",
+ "integrity": "sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-loong64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.1.tgz",
+ "integrity": "sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-mips64el": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.1.tgz",
+ "integrity": "sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-ppc64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.1.tgz",
+ "integrity": "sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-riscv64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.1.tgz",
+ "integrity": "sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-s390x": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.1.tgz",
+ "integrity": "sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/linux-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.1.tgz",
+ "integrity": "sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/netbsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.1.tgz",
+ "integrity": "sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/openbsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.1.tgz",
+ "integrity": "sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.1.tgz",
+ "integrity": "sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/sunos-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.1.tgz",
+ "integrity": "sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/win32-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.1.tgz",
+ "integrity": "sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/win32-ia32": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.1.tgz",
+ "integrity": "sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/@esbuild/win32-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.1.tgz",
+ "integrity": "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tsx/node_modules/esbuild": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz",
+ "integrity": "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.28.1",
+ "@esbuild/android-arm": "0.28.1",
+ "@esbuild/android-arm64": "0.28.1",
+ "@esbuild/android-x64": "0.28.1",
+ "@esbuild/darwin-arm64": "0.28.1",
+ "@esbuild/darwin-x64": "0.28.1",
+ "@esbuild/freebsd-arm64": "0.28.1",
+ "@esbuild/freebsd-x64": "0.28.1",
+ "@esbuild/linux-arm": "0.28.1",
+ "@esbuild/linux-arm64": "0.28.1",
+ "@esbuild/linux-ia32": "0.28.1",
+ "@esbuild/linux-loong64": "0.28.1",
+ "@esbuild/linux-mips64el": "0.28.1",
+ "@esbuild/linux-ppc64": "0.28.1",
+ "@esbuild/linux-riscv64": "0.28.1",
+ "@esbuild/linux-s390x": "0.28.1",
+ "@esbuild/linux-x64": "0.28.1",
+ "@esbuild/netbsd-arm64": "0.28.1",
+ "@esbuild/netbsd-x64": "0.28.1",
+ "@esbuild/openbsd-arm64": "0.28.1",
+ "@esbuild/openbsd-x64": "0.28.1",
+ "@esbuild/openharmony-arm64": "0.28.1",
+ "@esbuild/sunos-x64": "0.28.1",
+ "@esbuild/win32-arm64": "0.28.1",
+ "@esbuild/win32-ia32": "0.28.1",
+ "@esbuild/win32-x64": "0.28.1"
+ }
+ },
+ "node_modules/type-is": {
+ "version": "1.6.18",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "license": "MIT",
+ "dependencies": {
+ "media-typer": "0.3.0",
+ "mime-types": "~2.1.24"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/ufo": {
+ "version": "1.6.4",
+ "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.4.tgz",
+ "integrity": "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/undici-types": {
+ "version": "6.21.0",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
+ "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/unpipe": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
+ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/utils-merge": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
+ "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4.0"
+ }
+ },
+ "node_modules/vary": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/viem": {
+ "version": "2.55.1",
+ "resolved": "https://registry.npmjs.org/viem/-/viem-2.55.1.tgz",
+ "integrity": "sha512-sajvEmONS3dEDFh0jKXGugTU8ImyGoIV3sEHSWNRhgkH484v/+6DjZAplRhcdeqNV/VBxOs/l3raOG4NaXvX9A==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@noble/curves": "1.9.1",
+ "@noble/hashes": "1.8.0",
+ "@scure/bip32": "1.7.0",
+ "@scure/bip39": "1.6.0",
+ "abitype": "1.2.3",
+ "isows": "1.0.7",
+ "ox": "0.14.30",
+ "ws": "8.21.0"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite": {
+ "version": "5.4.21",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz",
+ "integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.21.3",
+ "postcss": "^8.4.43",
+ "rollup": "^4.20.0"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || >=20.0.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-node": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.9.tgz",
+ "integrity": "sha512-AM9aQ/IPrW/6ENLQg3AGY4K1N2TGZdR5e4gu/MmmR2xR3Ll1+dib+nook92g4TV3PXVyeyxdWwtaCAiUL0hMxA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cac": "^6.7.14",
+ "debug": "^4.3.7",
+ "es-module-lexer": "^1.5.4",
+ "pathe": "^1.1.2",
+ "vite": "^5.0.0"
+ },
+ "bin": {
+ "vite-node": "vite-node.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/vite-node/node_modules/pathe": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz",
+ "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/vite/node_modules/@esbuild/aix-ppc64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",
+ "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/android-arm": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz",
+ "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/android-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",
+ "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/android-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz",
+ "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/darwin-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
+ "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/darwin-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",
+ "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",
+ "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/freebsd-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",
+ "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/linux-arm": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",
+ "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/linux-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",
+ "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/linux-ia32": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",
+ "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/linux-loong64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",
+ "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/linux-mips64el": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",
+ "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/linux-ppc64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",
+ "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/linux-riscv64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",
+ "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/linux-s390x": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",
+ "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/linux-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
+ "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/netbsd-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
+ "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/openbsd-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
+ "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/sunos-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",
+ "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/win32-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",
+ "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/win32-ia32": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",
+ "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/@esbuild/win32-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",
+ "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/vite/node_modules/esbuild": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
+ "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.21.5",
+ "@esbuild/android-arm": "0.21.5",
+ "@esbuild/android-arm64": "0.21.5",
+ "@esbuild/android-x64": "0.21.5",
+ "@esbuild/darwin-arm64": "0.21.5",
+ "@esbuild/darwin-x64": "0.21.5",
+ "@esbuild/freebsd-arm64": "0.21.5",
+ "@esbuild/freebsd-x64": "0.21.5",
+ "@esbuild/linux-arm": "0.21.5",
+ "@esbuild/linux-arm64": "0.21.5",
+ "@esbuild/linux-ia32": "0.21.5",
+ "@esbuild/linux-loong64": "0.21.5",
+ "@esbuild/linux-mips64el": "0.21.5",
+ "@esbuild/linux-ppc64": "0.21.5",
+ "@esbuild/linux-riscv64": "0.21.5",
+ "@esbuild/linux-s390x": "0.21.5",
+ "@esbuild/linux-x64": "0.21.5",
+ "@esbuild/netbsd-x64": "0.21.5",
+ "@esbuild/openbsd-x64": "0.21.5",
+ "@esbuild/sunos-x64": "0.21.5",
+ "@esbuild/win32-arm64": "0.21.5",
+ "@esbuild/win32-ia32": "0.21.5",
+ "@esbuild/win32-x64": "0.21.5"
+ }
+ },
+ "node_modules/vitest": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.9.tgz",
+ "integrity": "sha512-MSmPM9REYqDGBI8439mA4mWhV5sKmDlBKWIYbA3lRb2PTHACE0mgKwA8yQ2xq9vxDTuk4iPrECBAEW2aoFXY0Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/expect": "2.1.9",
+ "@vitest/mocker": "2.1.9",
+ "@vitest/pretty-format": "^2.1.9",
+ "@vitest/runner": "2.1.9",
+ "@vitest/snapshot": "2.1.9",
+ "@vitest/spy": "2.1.9",
+ "@vitest/utils": "2.1.9",
+ "chai": "^5.1.2",
+ "debug": "^4.3.7",
+ "expect-type": "^1.1.0",
+ "magic-string": "^0.30.12",
+ "pathe": "^1.1.2",
+ "std-env": "^3.8.0",
+ "tinybench": "^2.9.0",
+ "tinyexec": "^0.3.1",
+ "tinypool": "^1.0.1",
+ "tinyrainbow": "^1.2.0",
+ "vite": "^5.0.0",
+ "vite-node": "2.1.9",
+ "why-is-node-running": "^2.3.0"
+ },
+ "bin": {
+ "vitest": "vitest.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "@edge-runtime/vm": "*",
+ "@types/node": "^18.0.0 || >=20.0.0",
+ "@vitest/browser": "2.1.9",
+ "@vitest/ui": "2.1.9",
+ "happy-dom": "*",
+ "jsdom": "*"
+ },
+ "peerDependenciesMeta": {
+ "@edge-runtime/vm": {
+ "optional": true
+ },
+ "@types/node": {
+ "optional": true
+ },
+ "@vitest/browser": {
+ "optional": true
+ },
+ "@vitest/ui": {
+ "optional": true
+ },
+ "happy-dom": {
+ "optional": true
+ },
+ "jsdom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vitest/node_modules/pathe": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.2.tgz",
+ "integrity": "sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/why-is-node-running": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
+ "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "siginfo": "^2.0.0",
+ "stackback": "0.0.2"
+ },
+ "bin": {
+ "why-is-node-running": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.21.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
+ "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ }
+ }
+}
diff --git a/robinhood/hood402/src/client/index.ts b/robinhood/hood402/src/client/index.ts
index 181f98327..6f42ef562 100644
--- a/robinhood/hood402/src/client/index.ts
+++ b/robinhood/hood402/src/client/index.ts
@@ -37,6 +37,12 @@ import type {
} from '../types.js'
import { SCHEME, X402_VERSION } from '../types.js'
+/** The EIP-712 message a payer signs — {@link ExactEvmAuthorization} with numeric fields as bigints. */
+export type AuthorizationMessage = Omit<
+ ExactEvmAuthorization,
+ 'value' | 'validAfter' | 'validBefore'
+> & { value: bigint; validAfter: bigint; validBefore: bigint }
+
/** A minimal typed-data signer. A viem `LocalAccount` satisfies this directly. */
export interface Signer {
address: Address
@@ -44,7 +50,7 @@ export interface Signer {
domain: TypedDataDomain
types: typeof TRANSFER_WITH_AUTHORIZATION_TYPES
primaryType: 'TransferWithAuthorization'
- message: ExactEvmAuthorization & { value: bigint; validAfter: bigint; validBefore: bigint }
+ message: AuthorizationMessage
}): Promise<Hex>
}
diff --git a/robinhood/hoodkit/src/index.ts b/robinhood/hoodkit/src/index.ts
new file mode 100644
index 000000000..4c0df866f
--- /dev/null
+++ b/robinhood/hoodkit/src/index.ts
@@ -0,0 +1,65 @@
+/**
+ * hoodkit — the power-user toolkit for Robinhood Chain (chain ID 4663).
+ *
+ * @packageDocumentation
+ */
+
+// stream
+export {
+ Stream,
+ streamPrices,
+ streamSwaps,
+ streamLaunches,
+ streamPortfolio,
+ runLogCursor,
+ discoverPools,
+ loadPoolInfo,
+ decodeSwapLog,
+ sqrtPriceX96ToPrice,
+ uniswapV3SwapEvent,
+ uniswapV3PoolMetaAbi,
+} from './stream/index.js'
+export type {
+ OverflowPolicy,
+ StreamOptions,
+ StreamPollOptions,
+ StreamSwapsOptions,
+ PriceTick,
+ PortfolioUpdate,
+ PoolInfo,
+ SwapEvent,
+ LogCursorOptions,
+ LogSource,
+} from './stream/index.js'
+
+// cache
+export { createHoodCache, MemoryLruStore } from './cache/index.js'
+export type { HoodCache, HoodCacheOptions, CacheStore, CacheTtls, CacheStats } from './cache/index.js'
+
+// batch
+export { plan, createBatcher } from './batch/index.js'
+export type { ContractRead, BatchResult, BatchOptions, Batcher } from './batch/index.js'
+
+// indexer
+export { Indexer, createIndexer, buildCandles, fillGaps, INTERVAL_SECONDS } from './indexer/index.js'
+export type { IndexerOptions, SyncProgress, SyncResult, Holder, Candle, Interval, TradePoint } from './indexer/index.js'
+
+// strategy
+export {
+ Position,
+ SpendCap,
+ SpendCapExceededError,
+ createPriceTriggers,
+ createTwapExecutor,
+} from './strategy/index.js'
+export type {
+ Fill,
+ PnlSnapshot,
+ CrossDirection,
+ CrossEvent,
+ PriceTriggers,
+ TwapConfig,
+ TwapExecutor,
+ TwapSlicePlan,
+ TwapSliceResult,
+} from './strategy/index.js'
diff --git a/robinhood/hoodkit/tests/unit/batch.test.ts b/robinhood/hoodkit/tests/unit/batch.test.ts
new file mode 100644
index 000000000..b1e63d8b8
--- /dev/null
+++ b/robinhood/hoodkit/tests/unit/batch.test.ts
@@ -0,0 +1,92 @@
+import { describe, expect, it, vi } from 'vitest'
+import { plan, createBatcher, type ContractRead } from '../../src/batch/index.js'
+import type { HoodClient } from 'hoodchain'
+
+const dummyAbi = [
+ { type: 'function', name: 'balanceOf', stateMutability: 'view', inputs: [{ type: 'address' }], outputs: [{ type: 'uint256' }] },
+] as const
+
+function fakeClientWithMulticall(handler: (contracts: readonly ContractRead[]) => unknown[]) {
+ const multicall = vi.fn(async ({ contracts }: { contracts: readonly ContractRead[] }) => handler(contracts))
+ const client = { public: { multicall } } as unknown as HoodClient
+ return { client, multicall }
+}
+
+describe('plan()', () => {
+ it('returns results in input order and never rejects on a single failing read', async () => {
+ const { client } = fakeClientWithMulticall((contracts) =>
+ contracts.map((c, i) =>
+ i === 1
+ ? { status: 'failure', error: new Error('reverted') }
+ : { status: 'success', result: BigInt(i) },
+ ),
+ )
+ const reads: ContractRead[] = [
+ { address: '0x1', abi: dummyAbi, functionName: 'balanceOf', args: ['0xa'] },
+ { address: '0x2', abi: dummyAbi, functionName: 'balanceOf', args: ['0xb'] },
+ { address: '0x3', abi: dummyAbi, functionName: 'balanceOf', args: ['0xc'] },
+ ]
+ const results = await plan(client, reads)
+ expect(results[0]).toEqual({ status: 'success', result: 0n })
+ expect(results[1]?.status).toBe('failure')
+ expect(results[2]).toEqual({ status: 'success', result: 2n })
+ })
+
+ it('chunks reads exceeding maxBatchSize into multiple multicall round-trips', async () => {
+ const { client, multicall } = fakeClientWithMulticall((contracts) => contracts.map((_, i) => ({ status: 'success', result: i })))
+ const reads: ContractRead[] = Array.from({ length: 250 }, (_, i) => ({
+ address: `0x${i}`,
+ abi: dummyAbi,
+ functionName: 'balanceOf',
+ args: ['0xa'],
+ }))
+ const results = await plan(client, reads, { maxBatchSize: 100 })
+ expect(multicall).toHaveBeenCalledTimes(3) // 100 + 100 + 50
+ expect(results).toHaveLength(250)
+ })
+
+ it('returns an empty array for an empty read list without calling multicall', async () => {
+ const { client, multicall } = fakeClientWithMulticall(() => [])
+ const results = await plan(client, [])
+ expect(results).toEqual([])
+ expect(multicall).not.toHaveBeenCalled()
+ })
+})
+
+describe('createBatcher()', () => {
+ it('coalesces reads enqueued in the same tick into one multicall', async () => {
+ const { client, multicall } = fakeClientWithMulticall((contracts) => contracts.map((_, i) => ({ status: 'success', result: BigInt(i * 10) })))
+ const batcher = createBatcher(client)
+
+ const [a, b, c] = await Promise.all([
+ batcher.call<bigint>({ address: '0x1', abi: dummyAbi, functionName: 'balanceOf', args: ['0xa'] }),
+ batcher.call<bigint>({ address: '0x2', abi: dummyAbi, functionName: 'balanceOf', args: ['0xb'] }),
+ batcher.call<bigint>({ address: '0x3', abi: dummyAbi, functionName: 'balanceOf', args: ['0xc'] }),
+ ])
+
+ expect(multicall).toHaveBeenCalledTimes(1)
+ expect([a, b, c]).toEqual([0n, 10n, 20n])
+ })
+
+ it('call() throws on a failed read; callSafe() returns the failure status', async () => {
+ const { client } = fakeClientWithMulticall((contracts) =>
+ contracts.map(() => ({ status: 'failure', error: new Error('boom') })),
+ )
+ const batcher = createBatcher(client)
+
+ await expect(batcher.call({ address: '0x1', abi: dummyAbi, functionName: 'balanceOf', args: ['0xa'] })).rejects.toThrow('boom')
+
+ const safe = await batcher.callSafe({ address: '0x1', abi: dummyAbi, functionName: 'balanceOf', args: ['0xa'] })
+ expect(safe.status).toBe('failure')
+ })
+
+ it('separate ticks produce separate multicall calls', async () => {
+ const { client, multicall } = fakeClientWithMulticall((contracts) => contracts.map(() => ({ status: 'success', result: 1n })))
+ const batcher = createBatcher(client)
+
+ await batcher.call({ address: '0x1', abi: dummyAbi, functionName: 'balanceOf', args: ['0xa'] })
+ await batcher.call({ address: '0x2', abi: dummyAbi, functionName: 'balanceOf', args: ['0xb'] })
+
+ expect(multicall).toHaveBeenCalledTimes(2)
+ })
+})
diff --git a/robinhood/hoodkit/tests/unit/cache.test.ts b/robinhood/hoodkit/tests/unit/cache.test.ts
new file mode 100644
index 000000000..83a7cf9c6
--- /dev/null
+++ b/robinhood/hoodkit/tests/unit/cache.test.ts
@@ -0,0 +1,114 @@
+import { describe, expect, it, vi } from 'vitest'
+import { createHoodCache, MemoryLruStore } from '../../src/cache/index.js'
+import type { HoodClient } from 'hoodchain'
+
+// A minimal fake client — the cache module only needs `client.network` for key
+// namespacing; the actual reads are monkeypatched via vi.mock below.
+function fakeClient(network: 'mainnet' | 'testnet' = 'mainnet'): HoodClient {
+ return { network } as unknown as HoodClient
+}
+
+describe('MemoryLruStore', () => {
+ it('evicts the least-recently-used entry once maxEntries is exceeded', () => {
+ const store = new MemoryLruStore(2)
+ store.set('a', 1, 10_000)
+ store.set('b', 2, 10_000)
+ store.get('a') // touch 'a' so 'b' becomes LRU
+ store.set('c', 3, 10_000) // should evict 'b'
+ expect(store.get('a')).toBe(1)
+ expect(store.get('b')).toBeUndefined()
+ expect(store.get('c')).toBe(3)
+ })
+
+ it('expires entries past their TTL', async () => {
+ const store = new MemoryLruStore()
+ store.set('k', 'v', 10)
+ expect(store.get('k')).toBe('v')
+ await new Promise((r) => setTimeout(r, 30))
+ expect(store.get('k')).toBeUndefined()
+ })
+})
+
+describe('createHoodCache — request coalescing', () => {
+ it('collapses 100 concurrent identical reads into exactly 1 upstream fetch', async () => {
+ const client = fakeClient()
+ const cache = createHoodCache(client)
+ let fetchCount = 0
+ const fetcher = () =>
+ new Promise<{ price: number }>((resolve) => {
+ fetchCount++
+ setTimeout(() => resolve({ price: 123 }), 20)
+ })
+
+ const results = await Promise.all(
+ Array.from({ length: 100 }, () => cache.read('quote:AAPL', fetcher, 5000)),
+ )
+
+ expect(fetchCount).toBe(1)
+ expect(results).toHaveLength(100)
+ for (const r of results) expect(r).toEqual({ price: 123 })
+ expect(cache.stats.misses).toBe(1)
+ expect(cache.stats.coalesced).toBe(99)
+ })
+
+ it('serves subsequent reads from cache within the TTL window without refetching', async () => {
+ const client = fakeClient()
+ const cache = createHoodCache(client)
+ let fetchCount = 0
+ const fetcher = async () => {
+ fetchCount++
+ return fetchCount
+ }
+
+ const first = await cache.read('k', fetcher, 5000)
+ const second = await cache.read('k', fetcher, 5000)
+ expect(first).toBe(1)
+ expect(second).toBe(1) // cache hit, not refetched
+ expect(fetchCount).toBe(1)
+ expect(cache.stats.hits).toBe(1)
+ })
+
+ it('refetches after the entry expires', async () => {
+ const client = fakeClient()
+ const cache = createHoodCache(client)
+ let fetchCount = 0
+ const fetcher = async () => ++fetchCount
+
+ await cache.read('k', fetcher, 10)
+ await new Promise((r) => setTimeout(r, 30))
+ const second = await cache.read('k', fetcher, 10)
+ expect(second).toBe(2)
+ expect(fetchCount).toBe(2)
+ })
+
+ it('invalidate() forces the next read to refetch', async () => {
+ const client = fakeClient()
+ const cache = createHoodCache(client)
+ let fetchCount = 0
+ const fetcher = async () => ++fetchCount
+
+ await cache.read('k', fetcher, 60_000)
+ await cache.invalidate('k')
+ const second = await cache.read('k', fetcher, 60_000)
+ expect(second).toBe(2)
+ })
+
+ it('each cache instance has its own store, so two clients never share entries', async () => {
+ const a = createHoodCache(fakeClient('mainnet'))
+ const b = createHoodCache(fakeClient('testnet'))
+ let aCalls = 0
+ let bCalls = 0
+
+ await a.read('quote:AAPL', async () => {
+ aCalls++
+ return 'a-price'
+ }, 5000)
+ await b.read('quote:AAPL', async () => {
+ bCalls++
+ return 'b-price'
+ }, 5000)
+
+ expect(aCalls).toBe(1)
+ expect(bCalls).toBe(1)
+ })
+})
diff --git a/robinhood/hoodkit/tests/unit/candles.test.ts b/robinhood/hoodkit/tests/unit/candles.test.ts
new file mode 100644
index 000000000..b5a233ecb
--- /dev/null
+++ b/robinhood/hoodkit/tests/unit/candles.test.ts
@@ -0,0 +1,107 @@
+import { describe, expect, it } from 'vitest'
+import { buildCandles, fillGaps, INTERVAL_SECONDS } from '../../src/indexer/candles.js'
+
+describe('buildCandles', () => {
+ it('computes open/high/low/close/volume correctly for a single bucket', () => {
+ const trades = [
+ { ts: 0, price: 10, volume: 1 },
+ { ts: 10, price: 15, volume: 2 },
+ { ts: 20, price: 8, volume: 3 },
+ { ts: 30, price: 12, volume: 4 },
+ ]
+ const candles = buildCandles(trades, 60)
+ expect(candles).toHaveLength(1)
+ const c = candles[0]!
+ expect(c.time).toBe(0)
+ expect(c.open).toBe(10) // first trade by time
+ expect(c.close).toBe(12) // last trade by time
+ expect(c.high).toBe(15)
+ expect(c.low).toBe(8)
+ expect(c.volume).toBe(10) // 1+2+3+4
+ expect(c.trades).toBe(4)
+ })
+
+ it('buckets trades into the correct interval-aligned time windows', () => {
+ const trades = [
+ { ts: 5, price: 100, volume: 1 },
+ { ts: 65, price: 110, volume: 1 },
+ { ts: 125, price: 120, volume: 1 },
+ ]
+ const candles = buildCandles(trades, 60)
+ expect(candles.map((c) => c.time)).toEqual([0, 60, 120])
+ })
+
+ it('handles out-of-order input by sorting on ts first', () => {
+ const trades = [
+ { ts: 30, price: 3, volume: 1 },
+ { ts: 10, price: 1, volume: 1 },
+ { ts: 20, price: 2, volume: 1 },
+ ]
+ const candles = buildCandles(trades, 60)
+ expect(candles[0]?.open).toBe(1) // ts=10 is earliest
+ expect(candles[0]?.close).toBe(3) // ts=30 is latest
+ })
+
+ it('skips non-positive or non-finite prices', () => {
+ const trades = [
+ { ts: 0, price: 10, volume: 1 },
+ { ts: 10, price: 0, volume: 1 },
+ { ts: 20, price: -5, volume: 1 },
+ { ts: 30, price: NaN, volume: 1 },
+ { ts: 40, price: 20, volume: 1 },
+ ]
+ const candles = buildCandles(trades, 60)
+ expect(candles[0]?.trades).toBe(2) // only the two valid trades counted
+ expect(candles[0]?.high).toBe(20)
+ expect(candles[0]?.low).toBe(10)
+ })
+
+ it('produces no candles for empty input', () => {
+ expect(buildCandles([], 60)).toEqual([])
+ })
+
+ it('throws on non-positive interval', () => {
+ expect(() => buildCandles([{ ts: 0, price: 1, volume: 1 }], 0)).toThrow()
+ })
+
+ it('every documented interval maps to the correct second count', () => {
+ expect(INTERVAL_SECONDS['1m']).toBe(60)
+ expect(INTERVAL_SECONDS['5m']).toBe(300)
+ expect(INTERVAL_SECONDS['15m']).toBe(900)
+ expect(INTERVAL_SECONDS['1h']).toBe(3600)
+ expect(INTERVAL_SECONDS['4h']).toBe(14_400)
+ expect(INTERVAL_SECONDS['1d']).toBe(86_400)
+ })
+})
+
+describe('fillGaps', () => {
+ it('forward-fills empty buckets between two populated candles at the previous close', () => {
+ const candles = buildCandles(
+ [
+ { ts: 0, price: 100, volume: 1 },
+ { ts: 180, price: 200, volume: 1 }, // 3 buckets later at interval=60
+ ],
+ 60,
+ )
+ const filled = fillGaps(candles, 60)
+ expect(filled.map((c) => c.time)).toEqual([0, 60, 120, 180])
+ expect(filled[1]).toMatchObject({ open: 100, high: 100, low: 100, close: 100, volume: 0, trades: 0 })
+ expect(filled[2]).toMatchObject({ open: 100, high: 100, low: 100, close: 100, volume: 0, trades: 0 })
+ expect(filled[3]?.close).toBe(200)
+ })
+
+ it('returns the input unchanged when there are no gaps', () => {
+ const candles = buildCandles(
+ [
+ { ts: 0, price: 1, volume: 1 },
+ { ts: 60, price: 2, volume: 1 },
+ ],
+ 60,
+ )
+ expect(fillGaps(candles, 60)).toHaveLength(2)
+ })
+
+ it('returns an empty array for empty input', () => {
+ expect(fillGaps([], 60)).toEqual([])
+ })
+})
diff --git a/robinhood/hoodkit/tests/unit/stream.test.ts b/robinhood/hoodkit/tests/unit/stream.test.ts
new file mode 100644
index 000000000..8f204b76a
--- /dev/null
+++ b/robinhood/hoodkit/tests/unit/stream.test.ts
@@ -0,0 +1,171 @@
+import { describe, expect, it, vi } from 'vitest'
+import { Stream } from '../../src/stream/stream.js'
+import { runLogCursor, type LogSource } from '../../src/stream/log-cursor.js'
+
+describe('Stream', () => {
+ it('delivers pushed values to data listeners synchronously', () => {
+ const stream = new Stream<number>()
+ const seen: number[] = []
+ stream.on('data', (v) => seen.push(v))
+ stream.push(1)
+ stream.push(2)
+ stream.push(3)
+ expect(seen).toEqual([1, 2, 3])
+ })
+
+ it('supports the async-iterator form alongside listeners', async () => {
+ const stream = new Stream<number>()
+ const iterated: number[] = []
+ const consume = (async () => {
+ for await (const v of stream) {
+ iterated.push(v)
+ if (iterated.length === 3) break
+ }
+ })()
+ stream.push(1)
+ stream.push(2)
+ stream.push(3)
+ await consume
+ expect(iterated).toEqual([1, 2, 3])
+ })
+
+ it('applies drop-oldest overflow policy on the buffered queue', () => {
+ const stream = new Stream<number>({ highWaterMark: 2, overflow: 'drop-oldest' })
+ stream.push(1)
+ stream.push(2)
+ stream.push(3) // should evict 1
+ expect(stream.buffered).toBe(2)
+ expect(stream.dropped).toBe(1)
+ })
+
+ it('applies latest overflow policy: buffer always holds exactly the newest value', () => {
+ const stream = new Stream<number>({ overflow: 'latest' })
+ stream.push(1)
+ stream.push(2)
+ stream.push(3)
+ expect(stream.buffered).toBe(1)
+ })
+
+ it('block overflow never drops', () => {
+ const stream = new Stream<number>({ highWaterMark: 2, overflow: 'block' })
+ for (let i = 0; i < 10; i++) stream.push(i)
+ expect(stream.buffered).toBe(10)
+ expect(stream.dropped).toBe(0)
+ })
+
+ it('emits errors to error listeners without closing the stream', () => {
+ const stream = new Stream<number>()
+ const errors: Error[] = []
+ stream.on('error', (e) => errors.push(e))
+ stream.fail(new Error('transient'))
+ expect(errors).toHaveLength(1)
+ expect(stream.isClosed).toBe(false)
+ stream.push(1)
+ expect(stream.buffered).toBe(1)
+ })
+
+ it('close() ends the async iterator and fires close listeners', async () => {
+ const stream = new Stream<number>()
+ let closed = false
+ stream.on('close', () => (closed = true))
+ const results: IteratorResult<number>[] = []
+ const iterator = stream[Symbol.asyncIterator]()
+ const pending = iterator.next()
+ stream.close()
+ results.push(await pending)
+ expect(closed).toBe(true)
+ expect(results[0]?.done).toBe(true)
+ })
+
+ it('unsubscribing via the returned function stops delivery', () => {
+ const stream = new Stream<number>()
+ const seen: number[] = []
+ const off = stream.on('data', (v) => seen.push(v))
+ stream.push(1)
+ off()
+ stream.push(2)
+ expect(seen).toEqual([1])
+ })
+})
+
+describe('runLogCursor (reconnect gap-fill)', () => {
+ it('never drops confirmed logs when getLogs throws mid-stream — the failed range is retried', async () => {
+ vi.useFakeTimers()
+ const head = { value: 100n }
+ const source: LogSource = { getBlockNumber: async () => head.value }
+
+ // Simulate a real chain: logs exist at every block number in [0, head].
+ // getLogs fails exactly once (simulating a dropped socket / RPC blip),
+ // and must be retried for the SAME range on the next tick.
+ let callCount = 0
+ let failedOnce = false
+ const getLogs = vi.fn(async (from: bigint, to: bigint) => {
+ callCount++
+ if (callCount === 2 && !failedOnce) {
+ failedOnce = true
+ throw new Error('simulated socket drop')
+ }
+ const out: bigint[] = []
+ for (let b = from; b <= to; b++) out.push(b)
+ return out
+ })
+
+ const stream = new Stream<bigint>({ overflow: 'block' })
+ const delivered: bigint[] = []
+ stream.on('data', (b) => delivered.push(b))
+ const errors: Error[] = []
+ stream.on('error', (e) => errors.push(e))
+
+ const stop = runLogCursor<bigint, bigint>({
+ source,
+ stream,
+ fromBlock: 0n,
+ pollingIntervalMs: 100,
+ chunkSize: 10n,
+ confirmations: 0n,
+ getLogs,
+ decode: (log) => log,
+ })
+
+ // Drain enough ticks to cover the full backfill (0..100 in chunks of 10 = 11 chunks)
+ // plus the retry of the one that failed.
+ for (let i = 0; i < 15; i++) {
+ await vi.advanceTimersByTimeAsync(100)
+ }
+ stop()
+ vi.useRealTimers()
+
+ expect(errors.length).toBeGreaterThan(0) // the transient failure was surfaced
+ // Every block from 0 to 100 was eventually delivered exactly once — the
+ // gap from the failed chunk was filled by the retry, not skipped.
+ const expected = Array.from({ length: 101 }, (_, i) => BigInt(i))
+ expect([...delivered].sort((a, b) => (a < b ? -1 : 1))).toEqual(expected)
+ })
+
+ it('advances the cursor only after a chunk is fully delivered', async () => {
+ vi.useFakeTimers()
+ const source: LogSource = { getBlockNumber: async () => 5n }
+ const calls: Array<[bigint, bigint]> = []
+ const getLogs = vi.fn(async (from: bigint, to: bigint) => {
+ calls.push([from, to])
+ return []
+ })
+ const stream = new Stream<never>()
+ const stop = runLogCursor({
+ source,
+ stream,
+ fromBlock: 0n,
+ pollingIntervalMs: 50,
+ chunkSize: 100n,
+ confirmations: 0n,
+ getLogs,
+ decode: () => null,
+ })
+ await vi.advanceTimersByTimeAsync(50)
+ await vi.advanceTimersByTimeAsync(50)
+ stop()
+ vi.useRealTimers()
+ // First tick scans [0,5] once; second tick has nothing new (cursor is 6, head is 5).
+ expect(calls).toEqual([[0n, 5n]])
+ })
+})
diff --git a/robinhood/learn-robinhood-chain/content/05-portfolio-tracker.md b/robinhood/learn-robinhood-chain/content/05-portfolio-tracker.md
new file mode 100644
index 000000000..a302366aa
--- /dev/null
+++ b/robinhood/learn-robinhood-chain/content/05-portfolio-tracker.md
@@ -0,0 +1,119 @@
+Every wallet tracker on every chain does the same thing: enumerate token balances, price them, sum them. On Robinhood Chain, that naive recipe is wrong twice — once from the multiplier trap (Tutorial 3), and once from the sheer number of round trips a naive implementation makes. This tutorial builds the tracker correctly: one multicall sweep, multiplier-correct valuation, and an honest treatment of holdings that can't be priced.
+
+## Why "just loop and call balanceOf" doesn't scale
+
+There are 95 Stock Tokens in the registry. A naive tracker does:
+
+```ts
+for (const token of tokens) {
+ const balance = await client.readContract({ address: token.address, abi: erc20Abi, functionName: 'balanceOf', args: [owner] })
+ // ...
+}
+```
+
+That's 95 sequential RPC round trips before you've even started pricing anything. On the public RPC, each round trip is real latency — this loop takes seconds and burns your rate limit for nothing, since most addresses hold a handful of these tokens at most.
+
+## The right approach: one multicall
+
+viem's public client (used by `hoodchain`) batches calls into `Multicall3` automatically when `batch: { multicall: true }` is set — which `createHoodClient()` does for you. So the fix is almost free: fire all 95 `balanceOf` reads as a single batch, filter to the ones that are actually held, then multicall *those* for balance + multiplier together, and multicall the feeds for pricing. That's what `getPortfolio` does under the hood:
+
+```ts
+import { createHoodClient, getPortfolio } from 'hoodchain'
+import type { Address } from 'viem'
+
+const owner = process.argv[2] as Address | undefined
+if (!owner || !/^0x[0-9a-fA-F]{40}$/.test(owner)) {
+ console.error('usage: npx tsx portfolio.ts 0xADDRESS')
+ process.exit(1)
+}
+
+const hood = createHoodClient()
+const portfolio = await getPortfolio(hood, owner, { maxAgeSeconds: 7 * 24 * 60 * 60 })
+
+if (portfolio.positions.length === 0) {
+ console.log(`${owner} holds no Stock Tokens.`)
+ process.exit(0)
+}
+
+console.log(`Stock Token portfolio for ${owner}\n`)
+for (const p of portfolio.positions) {
+ const value = p.valueUsd === null ? 'unpriced (no feed)' : `$${p.valueUsd.toFixed(2)}`
+ console.log(
+ `${p.symbol.padEnd(6)} ${p.balanceTokens.toFixed(6).padStart(16)} tokens ` +
+ `= ${p.shareEquivalent.toFixed(6).padStart(16)} share-equivalents ${value}`,
+ )
+}
+console.log(`\nTotal priced value: $${portfolio.totalUsd.toFixed(2)}`)
+if (portfolio.unpricedSymbols.length) {
+ console.log(`Unpriced holdings (no Chainlink feed yet): ${portfolio.unpricedSymbols.join(', ')}`)
+}
+```
+
+Run it against any address (this example uses the Multicall3 deployer, a busy contract address, purely to demonstrate the zero-holdings path):
+
+```bash
+npx tsx portfolio.ts 0xca11bde05977b3631167028862be2a173976ca11
+```
+
+```text
+0xca11bde05977b3631167028862be2a173976ca11 holds no Stock Tokens.
+```
+
+That's the honest empty state — the tracker checked all 95 tokens in one batch and confirmed zero holdings, rather than silently returning nothing. Point it at a wallet that actually holds Stock Tokens (your testnet wallet from Tutorial 2, once funded, or any address you find via the explorer) and you'll see rows like:
+
+```text
+Stock Token portfolio for 0xYourAddress
+
+NFLX 5.000000000000000000 tokens = 5.000000000000000000 share-equivalents $612.40
+TSLA 2.500000000000000000 tokens = 2.500000000000000000 share-equivalents $1019.55
+
+Total priced value: $1631.95
+```
+
+## What `getPortfolio` is actually doing
+
+Reading the [source](https://github.com/nirholas/robinhood-chain-sdk/blob/main/src/stocks.ts) is worth five minutes, because the pattern generalizes to any multi-asset dashboard you'll ever build:
+
+1. **One multicall** for `balanceOf` across all 95 registry tokens, `allowFailure: false` — if this fails, something is fundamentally wrong (bad RPC), so let it throw.
+2. **Filter to non-zero balances.** Most wallets hold a handful of tokens; there's no reason to fetch multiplier and feed data for tokens you don't own.
+3. **A second multicall**, this time for `balanceOf` + `uiMultiplier()` together, only over the held tokens.
+4. **A third multicall for feed prices**, `allowFailure: true` — a single bad feed (stale, or a reverting call) shouldn't take down the whole portfolio. Positions with a failed feed fall back to `valueUsd: null`.
+5. **Valuation**, per the Tutorial 3 rule: `valueUsd = balanceTokens × quote.priceUsd`. Multiplier is used only for `shareEquivalent`, never for `valueUsd`.
+
+Total RPC round trips for a full 95-token sweep: **three**, regardless of how many tokens the wallet actually holds. That's the difference between a tracker that feels instant and one that spins for ten seconds.
+
+## Correctness, proven, not asserted
+
+It's easy to *claim* multiplier-correct math. The SDK's live test suite instead **cross-checks its share-equivalent computation against the token contract's own `balanceOfUI()`** — a view function the Stock Token contracts expose that does the same multiplication on-chain. If the SDK's `shareEquivalent` field and the contract's `balanceOfUI()` ever disagree, the test fails. That's the standard to hold your own money-math code to: don't just compute a number, find an independent on-chain source of truth and assert equality against it.
+
+```ts
+// simplified from tests/live — the actual assertion the SDK ships with
+const onChainShares = await hood.public.readContract({
+ address: token.address, abi: stockTokenAbi, functionName: 'balanceOfUI', args: [owner],
+})
+expect(position.shareEquivalent).toBeCloseTo(Number(formatUnits(onChainShares, 18)))
+```
+
+## Handling the unpriced case in a UI
+
+`portfolio.unpricedSymbols` exists because 95 tokens exist but only a subset have a live Chainlink feed (34 at the time of writing). A dashboard that silently omits unpriced holdings is lying by omission — a user who holds one would wonder where it went. Show it, clearly labeled as unpriced, and let `totalUsd` reflect only what could actually be valued:
+
+```ts
+const totalLabel = portfolio.unpricedSymbols.length
+ ? `$${portfolio.totalUsd.toFixed(2)} priced (+ ${portfolio.unpricedSymbols.length} unpriced holdings)`
+ : `$${portfolio.totalUsd.toFixed(2)}`
+```
+
+## Troubleshooting
+
+**Portfolio total looks wrong after I know a token split** — you're computing value somewhere outside `getPortfolio`, and you're multiplying by the multiplier. Revisit Tutorial 3; the rule doesn't change just because you're now summing across many tokens.
+
+**Slow first run** — the very first multicall batch resolves 95 balances; on the public RPC that's still one HTTP round trip, but a cold connection adds latency. Subsequent calls are fast.
+
+**A held token shows `unpriced (no feed)`** — expected for tokens outside Chainlink's current 34-feed coverage. Its balance is real; it just can't be priced on-chain yet.
+
+**I want portfolio history / a chart** — this reads *current* state only. For history, you'd index `Transfer` events over time (see `watchTransfers` in Tutorial 7) and combine with historical feed rounds — a bigger project outside this tutorial's scope.
+
+## What you built
+
+A portfolio tracker that does one multicall sweep instead of ninety-five sequential calls, values holdings using the correct rule from Tutorial 3, and is honest about what it can't price — with its math independently verified against the chain's own accounting. Next: turning a read into a write, with your first on-chain swap.
diff --git a/robinhood/learn-robinhood-chain/content/06-swapping-on-chain.md b/robinhood/learn-robinhood-chain/content/06-swapping-on-chain.md
new file mode 100644
index 000000000..f737b997c
--- /dev/null
+++ b/robinhood/learn-robinhood-chain/content/06-swapping-on-chain.md
@@ -0,0 +1,132 @@
+Swapping is where reads become writes, and where a single wrong assumption costs real money. This tutorial covers all three layers — quoting a route, protecting yourself with slippage, and sending the transaction — plus the eligibility gate that exists specifically because some of the tokens you can swap into are regulated securities.
+
+## The routing problem
+
+Robinhood Chain's DEX layer is Uniswap v3. A v3 pool exists per **token pair per fee tier** (0.01%, 0.05%, 0.3%, 1%), and plenty of those pools exist with **zero liquidity** — deployed, but never seeded. A naive swap implementation that assumes "the 0.3% pool" will revert constantly. The right approach probes every fee tier for a direct route, plus two-hop routes through common intermediates (WETH, USDG), and picks whichever produces the best output. That's what `quoteSwap` does.
+
+## Getting a real quote (mainnet, read-only, no wallet needed)
+
+This runs right now, with no funds and no risk — quoting is a simulated call, not a transaction:
+
+```ts
+import { createHoodClient, quoteSwap, parseUsdg, MAINNET_ADDRESSES } from 'hoodchain'
+import { formatEther } from 'viem'
+
+const hood = createHoodClient()
+
+const quote = await quoteSwap(hood, {
+ tokenIn: MAINNET_ADDRESSES.usdg,
+ tokenOut: MAINNET_ADDRESSES.weth,
+ amountIn: parseUsdg('100'), // USDG has 6 decimals — always use parseUsdg, not parseUnits(x, 18)
+})
+
+console.log(`100 USDG -> ${formatEther(quote.amountOut)} WETH`)
+console.log(`route: ${quote.route.fees.join('/')} fee tier(s), ${quote.route.path.length} hop(s)`)
+console.log(`gas estimate: ${quote.gasEstimate}`)
+```
+
+```text
+100 USDG -> 0.055549693087148477 WETH
+route: 100 fee tier(s), 2 hop(s)
+```
+
+That's a live capture: **100 USDG quoted at 0.0555 WETH**, filled through the 0.01% fee tier. Note the router picked a *two-hop* path even though `fees.join()` shows one number — `quoteSwap` probes single-hop routes across all four tiers *and* two-hop routes through WETH/USDG, and the winner here happened to be the tightest single-tier pool. Run it again in your own terminal and you'll get a live number of your own; Uniswap v3 pricing moves with every block.
+
+:::tip USDG has 6 decimals, not 18
+This is the single most common bug in a Robinhood Chain integration. USDG deliberately mirrors USDC's convention, unlike most L2-native stables which use 18. Always use the SDK's `parseUsdg` / `formatUsdg` helpers instead of hardcoding a decimals count — they encode the correct value so you can't get it wrong.
+:::
+
+## Building and sending the transaction
+
+A quote alone doesn't move funds. `buildSwapTx` turns a quote into calldata with a slippage-protected minimum output and a deadline; `executeSwap` does the whole pipeline — quote, build, approve if needed, send, confirm — in one call:
+
+```ts
+import { parseEther } from 'viem'
+import { privateKeyToAccount } from 'viem/accounts'
+import { createHoodClient, executeSwap, TESTNET_ADDRESSES, TESTNET_STOCK_TOKENS } from 'hoodchain'
+
+const hood = createHoodClient({
+ chain: 'testnet',
+ account: privateKeyToAccount(process.env.ROBINHOOD_CHAIN_PRIVATE_KEY as `0x${string}`),
+})
+
+const { hash, receipt, quote } = await executeSwap(hood, {
+ tokenIn: TESTNET_ADDRESSES.weth,
+ tokenOut: TESTNET_STOCK_TOKENS.NFLX,
+ amountIn: parseEther('0.0001'),
+})
+
+console.log(`swapped for ${formatEther(quote.amountOut)} NFLX — tx ${hash}, status ${receipt.status}`)
+```
+
+Under the hood, `executeSwap`:
+
+1. Calls `quoteSwap` to find the best route.
+2. Calls `buildSwapTx` to encode calldata with `amountOutMinimum` set from your slippage tolerance (default 0.5%, `slippageBps: 50`) and a deadline (default 10 minutes).
+3. Calls `ensureApproval` — checks the router's current allowance and sends an `approve` **only if it's short**, so a second swap of the same token doesn't re-approve for no reason.
+4. Sends the transaction and waits for the receipt.
+
+### Two router flavors, handled for you
+
+Mainnet routes through **SwapRouter02** (no `deadline` field in the call struct — it's enforced by wrapping the call in `multicall(deadline, [data])`). The testnet community deployment uses the **classic `SwapRouter`**, whose struct carries `deadline` directly. `buildSwapTx` detects which network you're on and encodes the right shape automatically — this is exactly the kind of chain-specific footgun a good SDK exists to remove.
+
+## The eligibility gate
+
+Every canonical Stock Token is a regulated security under the restriction from Tutorial 1: it may not be offered, sold, or delivered to US persons. `buildSwapTx` enforces this at the SDK boundary — **any swap whose output is a canonical Stock Token throws before it builds calldata**, unless you've explicitly affirmed eligibility:
+
+```ts
+import { createHoodClient, StockTokenEligibilityError } from 'hoodchain'
+
+const hood = createHoodClient() // default: acknowledgeStockTokenEligibility is false
+
+try {
+ await executeSwap(hood, { tokenIn: usdg, tokenOut: aaplToken, amountIn: parseUsdg('100') })
+} catch (e) {
+ if (e instanceof StockTokenEligibilityError) {
+ console.error('Refused: Stock Token acquisition needs an eligibility acknowledgment.')
+ }
+}
+```
+
+To proceed, the *operator* — not the end user, the person deploying the software — affirms eligibility explicitly:
+
+```ts
+const hood = createHoodClient({ acknowledgeStockTokenEligibility: true })
+```
+
+This default-closed design is worth copying even outside this SDK: **gate the risky path, not the safe one.** Reads and *sells* of Stock Tokens are never restricted — only acquisition is, matching the actual legal restriction.
+
+:::danger Not a substitute for real compliance
+This flag is a development safety rail, not a KYC system. If you're building a real product that lets users acquire Stock Tokens, you need actual jurisdiction detection and legal review — this flag just stops you from *accidentally* shipping an unrestricted buy button.
+:::
+
+## Slippage and deadlines, tuned correctly
+
+The defaults (0.5% slippage, 10-minute deadline) are reasonable for a human clicking a button. Tune them for your use case:
+
+```ts
+const tx = buildSwapTx(hood, quote, {
+ slippageBps: 100, // 1% — wider for a thinly-traded pair
+ deadlineSeconds: 120, // 2 minutes — tighter for an automated agent that re-quotes often
+})
+```
+
+Wider slippage on illiquid Stock Token pools reduces failed transactions at the cost of worse fills; tighter deadlines protect an automated system from executing a stale quote after a long delay.
+
+## Testnet verification status
+
+This tutorial's `quoteSwap` example above is a **live, real capture from mainnet** — you can run it yourself right now. The `executeSwap` write path is fully implemented and unit-tested (calldata encoding for both router flavors is asserted byte-for-byte in the SDK's test suite), but a **real signed testnet transaction was not captured for this page**: the testnet faucet sits behind Cloudflare Turnstile and Google Sign-In, which can't be scripted, and no pre-funded testnet key was available in this environment. If you fund a testnet wallet yourself via the [faucet](https://faucet.testnet.chain.robinhood.com/), the example above will execute exactly as written — it's the same code the SDK's own `examples/swap-testnet.ts` uses.
+
+## Troubleshooting
+
+**`NoRouteError`** — no probed route (any fee tier, direct or two-hop via WETH/USDG) produced output for your amount. Either the pair genuinely has no liquidity, or your `amountIn` is too large for the pool's depth. Try a smaller amount or a different intermediate via `quoteSwap`'s `intermediates` option.
+
+**`StockTokenEligibilityError`** — you're swapping into a Stock Token without acknowledging eligibility. See the eligibility section above; this is almost always working as intended.
+
+**Transaction reverts with no clear reason on testnet** — remember there's no *official* Uniswap deployment on testnet; the SDK uses the one community deployment with a genuinely liquid pool (NFLX/WETH). Swapping into a different testnet Stock Token may have no liquidity at all.
+
+**`SlippageExceededError`** or a revert from `amountOutMinimum` — the price moved between quoting and sending. Either widen `slippageBps` or re-quote closer to send time.
+
+## What you built
+
+A quoting function that correctly probes every viable route, a transaction builder that handles both router flavors and protects you with slippage, and a firsthand look at a default-closed compliance gate. Next: watching the chain move in real time, from confirmed launch events down to the raw sequencer feed.
diff --git a/robinhood/learn-robinhood-chain/content/07-streaming-the-chain.md b/robinhood/learn-robinhood-chain/content/07-streaming-the-chain.md
new file mode 100644
index 000000000..03071f1f4
--- /dev/null
+++ b/robinhood/learn-robinhood-chain/content/07-streaming-the-chain.md
@@ -0,0 +1,150 @@
+Robinhood Chain moves fast — ~100ms blocks, hundreds of transactions per second at peak. This tutorial covers the two ways to watch it live: **confirmed event streams** (launchpad watchers, the pattern you'll use for almost everything) and the **raw sequencer firehose** (transactions decoded before they're even in a block). Both examples below are real captures against mainnet.
+
+## Two memecoin launchpads, two designs
+
+Robinhood Chain is permissionless (Tutorial 1), and two launchpads have grown on top of it, with genuinely different mechanics:
+
+- **NOXA** — an *instant* launcher. One transaction deploys the ERC-20, creates a Uniswap v3 pool at the 1% tier, seeds single-sided liquidity, and permanently locks the LP NFT. There's no bonding curve and no graduation — the token trades as a normal Uniswap v3 pool from block one.
+- **The Odyssey** — a *pump.fun-style bonding curve*, priced in native ETH with virtual reserves. Trades happen against the curve (`Traded` events) until it fills, at which point `PoolCompleted` + `PoolMigrated` fire and liquidity moves to a locked Uniswap v3 pool — the "graduation" moment.
+
+The [hoodchain SDK](https://github.com/nirholas/robinhood-chain-sdk) ships decoded event ABIs and watcher functions for both, extracted from each platform's frontend bundle and confirmed against live logs during SDK development (neither publishes verified source on Blockscout, so this took direct log inspection rather than an ABI download).
+
+## Watching for new launches
+
+```ts
+import { createHoodClient, getRecentLaunches, watchLaunches, watchGraduations } from 'hoodchain'
+
+const hood = createHoodClient()
+
+console.log('recent launches (last ~2h of blocks):')
+const recent = await getRecentLaunches(hood, { lookbackBlocks: 60_000n })
+for (const l of recent.slice(-10)) {
+ console.log(` [${l.launchpad}] token ${l.token} by ${l.creator}${l.pool ? ` pool ${l.pool}` : ' (on curve)'}`)
+}
+console.log(` (${recent.length} total)\n`)
+
+const unwatchLaunches = watchLaunches(hood, (launch) => {
+ const venue = launch.launchpad === 'noxa' ? 'NOXA (instant pool)' : 'Odyssey (bonding curve)'
+ console.log(`LAUNCH ${venue}: ${launch.token} by ${launch.creator} — tx ${launch.transactionHash}`)
+})
+const unwatchGraduations = watchGraduations(hood, (g) => {
+ console.log(`GRADUATION: ${g.token} → Uniswap v3 pool ${g.pool} — tx ${g.transactionHash}`)
+})
+```
+
+Running `getRecentLaunches` with the default 30,000-block lookback (roughly the last hour) against live mainnet returned **zero** launches at the time of writing — both launchpads were genuinely quiet in that window. That's a real, useful data point about the current state of the ecosystem, not a bug: widening the scan confirms the watcher logic itself is correct.
+
+### Proving the decoder works: a historical scan
+
+To confirm `getRecentLaunches` actually decodes NOXA's `TokenLaunched` event correctly (rather than just returning zero because nothing happened), scan the 9,000 blocks starting at NOXA's own recorded deploy block:
+
+```ts
+import { createHoodClient, NOXA_ADDRESSES, noxaTokenLaunchedEvent } from 'hoodchain'
+
+const hood = createHoodClient()
+const logs = await hood.public.getLogs({
+ address: NOXA_ADDRESSES.launchFactory,
+ event: noxaTokenLaunchedEvent,
+ fromBlock: NOXA_ADDRESSES.deployBlock,
+ toBlock: NOXA_ADDRESSES.deployBlock + 9000n,
+})
+console.log(`TokenLaunched logs near deploy: ${logs.length}`)
+console.log(`first token: ${logs[0].args.token}`)
+```
+
+```text
+TokenLaunched logs near deploy: 21
+first token: 0x6399E2Bd8af62C0ac13f55613C3469b67332a6Fd
+```
+
+Real result: **21 launches**, decoded correctly, first token address included. The watcher works; the launchpads have simply had quiet stretches. This is a useful verification technique generally — when a live "recent activity" query returns zero, don't assume it's broken; confirm the decoder against a window you know had activity before you trust the "quiet" result.
+
+:::warning The public RPC rate-limits wide scans
+Scanning a **million-block** window (`lookbackBlocks: 1_000_000n`) against the public RPC returned a real `429 Too Many Requests` from `eth_getLogs` during testing — even with `getRecentLaunches`'s built-in chunking (`chunkSize`, default 10,000 blocks per request). For anything beyond a rough "last hour or two" scan, use a dedicated RPC key (Tutorial 2) or narrow your chunk size further.
+:::
+
+## The raw sequencer firehose
+
+Confirmed-event watching (above) is what you want for almost everything — it's simple and it's what block explorers show. But Robinhood Chain also publishes its **Arbitrum Nitro sequencer feed** directly: every transaction the sequencer accepts, decoded, **~100–300ms before it's queryable over RPC**. That latency matters for MEV-sensitive or ultra-low-latency use cases; for everyone else it's a fascinating window into how much traffic the chain actually carries.
+
+```ts
+import { subscribeFeed } from 'hoodchain'
+import { formatEther } from 'viem'
+
+let messages = 0
+let txs = 0
+const startedAt = Date.now()
+
+const sub = await subscribeFeed(
+ (msg) => {
+ messages += 1
+ for (const tx of msg.transactions) {
+ txs += 1
+ const t = tx.transaction
+ console.log(`${tx.hash} ->${t.to ?? '(create)'}`)
+ }
+ },
+ { onConnect: () => console.log('connected.') },
+)
+
+setTimeout(() => {
+ sub.close()
+ const rate = (txs / ((Date.now() - startedAt) / 1000)).toFixed(1)
+ console.log(`${messages} messages, ${txs} txs in ${((Date.now() - startedAt) / 1000).toFixed(0)}s (${rate} tx/s)`)
+}, 12_000)
+```
+
+A real 12-second capture against `wss://feed.mainnet.chain.robinhood.com`:
+
+```text
+connected.
+0xcbadb5925ef1f8716a52ee6caefb01c5b4aa226dd815777f6dff3c00f2f15d35 ->0x00bfd5004d8503007c007bfb7500158500f90052
+0x1f5a5d2b62a57cbe6eb4795fbda6e90e8da17c979877203785b323680cd95def ->0x77afb8cb800bd0688c78a3ca322226b4f1401e3a
+0xebf02e0e86381a389a287caba0b23dfac44b7d1d2c17d8105584c9da3b413d17 ->0x65050a9b7e5075a2ba5ced7b1b64ee66262c40dc
+...
+979 messages, 6451 txs in 12s (537.6 tx/s)
+```
+
+**6,451 real transactions in 12 seconds** — over 500 tx/s sustained. That number alone tells you Robinhood Chain is carrying meaningfully more traffic than a quiet L2; at ~100ms blocks, that's roughly 50+ transactions landing in every block. If your mental model of activity on this chain came from watching a slow block explorer feed, the firehose is a useful correction.
+
+### How the decoding works
+
+The sequencer publishes frames matching the Nitro broadcast feed shape: a header (kind, sender, L1 block number, timestamp) plus a base64 `l2Msg` payload. The first byte of the decoded payload is the message kind — `0x04` (`SignedTx`: the rest is one raw RLP/typed transaction) or `0x03` (`Batch`: a sequence of length-prefixed nested L2 messages, decoded recursively). `subscribeFeed` handles both, reconnects with exponential backoff on drops, and — critically — **never throws on an unparseable payload**; malformed or unrecognized frames simply decode to zero transactions rather than crashing your stream.
+
+```ts
+// simplified from the SDK's feed.ts — the kind-byte dispatch
+const kind = bytes[0]
+if (kind === 0x04) return [decodeSignedTx(bytes.subarray(1))]
+if (kind === 0x03) return decodeBatch(bytes.subarray(1)) // recurses per nested message
+return [] // unknown kind — never throw
+```
+
+:::tip No auth, no key, works in the browser too
+The firehose endpoint needs no authentication. On Node ≥ 22 and in browsers it uses the global `WebSocket`; on Node 20/21 install the optional `ws` peer dependency (`npm install ws`).
+:::
+
+## A simpler alternative: watching confirmed transfers
+
+Not every use case needs launchpad decoding or firehose-level latency. For "notify me when this token moves," `watchTransfers` polls confirmed `Transfer` logs — the simplest possible event stream:
+
+```ts
+import { watchTransfers, MAINNET_ADDRESSES, formatUsdg } from 'hoodchain'
+
+const unwatch = watchTransfers(hood, { token: MAINNET_ADDRESSES.usdg }, (t) => {
+ console.log(`${t.from} -> ${t.to}: ${formatUsdg(t.value)} USDG`)
+})
+```
+
+## Troubleshooting
+
+**`getRecentLaunches` returns 0 and I don't trust it** — widen the window, or run the historical-scan verification above against `NOXA_ADDRESSES.deployBlock`. Zero is a legitimate answer when the launchpads are quiet.
+
+**`429 Too Many Requests` from `eth_getLogs`** — you're scanning too wide a block range on the public RPC. Shrink `lookbackBlocks`, shrink `chunkSize`, or move to a dedicated RPC (Tutorial 2).
+
+**Firehose connects then immediately disconnects repeatedly** — check `onError` in your `subscribeFeed` options; the client backs off exponentially (capped at 30s) and gives up after `maxReconnects` (default 10). A flaky network will show this pattern; a genuinely down feed will exhaust the retries and call `onError` with a `FeedConnectionError`.
+
+**`no WebSocket implementation available`** — you're on Node < 22 without the `ws` package. Run `npm install ws`.
+
+## What you built
+
+Two live streams against real mainnet traffic: a launch/graduation watcher (verified against 21 real historical NOXA launches) and a raw firehose clocking over 500 tx/s. You also hit and worked around a real RPC rate limit — a lesson that'll save you time on any wide historical scan. Next, we turn read access into revenue: selling your own API for USDG.
diff --git a/scripts/fix-colyseus-send.mjs b/scripts/fix-colyseus-send.mjs
new file mode 100644
index 000000000..a7f03bf51
--- /dev/null
+++ b/scripts/fix-colyseus-send.mjs
@@ -0,0 +1,67 @@
+// Patches colyseus.js's WebSocketTransport after install to guard send()
+// against a socket that is closing or already closed.
+//
+// WebSocketTransport.send() forwards straight to `this.ws.send(data)` with no
+// readyState check. Colyseus itself calls this from Room outbound messages
+// (state acks, input, leave-cleanup) that can race a connection teardown —
+// a room transition, a tab going to background, or the reconnect/backoff path
+// in joinRoomWithTimeout (see src/shared/colyseus-connect.js) all close the
+// socket out from under in-flight sends. The browser's native WebSocket.send()
+// doesn't throw in that case, it just logs "WebSocket is already in CLOSING or
+// CLOSED state." and drops the frame — a warning colyseus.js could avoid
+// entirely since it already exposes an `isOpen` getter for exactly this check.
+//
+// We make send() a no-op when the socket isn't open, matching what already
+// happens functionally (the frame is dropped either way) minus the console
+// noise.
+//
+// Idempotent; runs from `postinstall` so it survives `npm ci`.
+
+import { existsSync, readFileSync, writeFileSync } from 'node:fs';
+import { dirname, join } from 'node:path';
+import { fileURLToPath } from 'node:url';
+
+const root = dirname(fileURLToPath(import.meta.url));
+const repo = dirname(root);
+
+const TARGETS = [
+ 'node_modules/colyseus.js/build/esm/transport/WebSocketTransport.mjs',
+ 'node_modules/colyseus.js/build/cjs/transport/WebSocketTransport.js',
+ 'node_modules/colyseus.js/lib/transport/WebSocketTransport.js',
+];
+
+const SEND_CALL = 'send(data) {\n this.ws.send(data);\n }';
+const MARKER = 'this.ws.readyState === WebSocket.OPEN) this.ws.send(data);';
+
+let patched = 0;
+let skipped = 0;
+
+for (const rel of TARGETS) {
+ const file = join(repo, rel);
+ if (!existsSync(file)) continue;
+
+ let src = readFileSync(file, 'utf8');
+ if (src.includes(MARKER)) {
+ skipped++;
+ continue;
+ }
+ if (!src.includes(SEND_CALL)) {
+ console.warn(`[fix-colyseus-send] no match in ${rel} — colyseus.js internals may have changed`);
+ continue;
+ }
+
+ src = src.replace(
+ SEND_CALL,
+ `send(data) {\n if (${MARKER}\n }`,
+ );
+ writeFileSync(file, src);
+ patched++;
+}
+
+if (patched > 0) {
+ console.log(`[fix-colyseus-send] guarded WebSocketTransport.send() in ${patched} file(s)`);
+} else if (skipped > 0) {
+ console.log('[fix-colyseus-send] already patched');
+} else {
+ console.log('[fix-colyseus-send] colyseus.js not installed, skipping');
+}
diff --git a/scripts/fix-rapier-init-warning.mjs b/scripts/fix-rapier-init-warning.mjs
new file mode 100644
index 000000000..655523512
--- /dev/null
+++ b/scripts/fix-rapier-init-warning.mjs
@@ -0,0 +1,70 @@
+// Silences a false-positive console.warn from @dimforge/rapier3d-compat's own
+// generated wasm-bindgen bootstrap.
+//
+// The package inlines its WASM binary as base64 and, on every init(), decodes
+// it to a Uint8Array and passes those bytes straight into the internal
+// __wbg_init(module_or_path) — positionally, not wrapped in
+// `{ module_or_path }`. __wbg_init's deprecation check only special-cases
+// plain objects (`Object.getPrototypeOf(x) === Object.prototype`); a
+// Uint8Array fails that check, so the package's own supported, zero-argument
+// `init()` entry point logs "using deprecated parameters for the
+// initialization function; pass a single object instead" on every load —
+// even though nothing about the call is actually deprecated or broken. This
+// is a bug in rapier3d-compat's own generated bundle (still present as of
+// 0.19.3, the latest release), not in how initRapier() calls it.
+//
+// We neutralize the console.warn call site directly rather than touch the
+// call convention, since rewriting the minified call site would be brittle
+// across rebuilds and the warning is the only wrong part — behavior is
+// unaffected either way.
+//
+// Idempotent; runs from `postinstall` so it survives `npm ci`.
+
+import { existsSync, readFileSync, writeFileSync } from 'node:fs';
+import { dirname, join } from 'node:path';
+import { fileURLToPath } from 'node:url';
+
+const root = dirname(fileURLToPath(import.meta.url));
+const repo = dirname(root);
+
+const TARGETS = [
+ 'node_modules/@dimforge/rapier3d-compat/rapier.mjs',
+ 'node_modules/@dimforge/rapier3d-compat/rapier.cjs',
+ 'node_modules/@dimforge/rapier3d-compat/rapier_wasm3d.js',
+];
+
+// Matches both the minified bundles (double quotes) and the readable
+// wasm-bindgen source shipped alongside them (single quotes).
+const WARN_RE =
+ /console\.warn\((['"])using deprecated parameters for the initialization function; pass a single object instead\1\)/;
+const MARKER = 'void 0/*rapier-init-warning-silenced*/';
+
+let patched = 0;
+let skipped = 0;
+
+for (const rel of TARGETS) {
+ const file = join(repo, rel);
+ if (!existsSync(file)) continue;
+
+ let src = readFileSync(file, 'utf8');
+ if (src.includes(MARKER)) {
+ skipped++;
+ continue;
+ }
+ if (!WARN_RE.test(src)) {
+ console.warn(`[fix-rapier-init-warning] no match in ${rel} — rapier3d-compat internals may have changed`);
+ continue;
+ }
+
+ src = src.replace(WARN_RE, MARKER);
+ writeFileSync(file, src);
+ patched++;
+}
+
+if (patched > 0) {
+ console.log(`[fix-rapier-init-warning] silenced false-positive init warning in ${patched} file(s)`);
+} else if (skipped > 0) {
+ console.log('[fix-rapier-init-warning] already patched');
+} else {
+ console.log('[fix-rapier-init-warning] @dimforge/rapier3d-compat not installed, skipping');
+}