chain-insights 0.68.2 → 0.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/cli.cjs +30 -4
- package/dist/cli.mjs +30 -4
- package/dist/cli.mjs.map +1 -1
- package/dist/dex-registry-05wAhSa0.mjs +383 -0
- package/dist/dex-registry-05wAhSa0.mjs.map +1 -0
- package/dist/dex-registry-KOTJhAQf.cjs +411 -0
- package/dist/dex-tool-DIKN4dXB.cjs +536 -0
- package/dist/dex-tool-DpQKS7Te.mjs +497 -0
- package/dist/dex-tool-DpQKS7Te.mjs.map +1 -0
- package/dist/{format-DB2IH2U5.mjs → format-CSesEBvS.mjs} +4 -4
- package/dist/format-CSesEBvS.mjs.map +1 -0
- package/dist/{format-BjZuYDr8.cjs → format-DfhRQq4L.cjs} +3 -3
- package/dist/mcp-proxy.cjs +53 -59
- package/dist/mcp-proxy.d.cts +2 -0
- package/dist/mcp-proxy.d.cts.map +1 -1
- package/dist/mcp-proxy.d.mts +2 -0
- package/dist/mcp-proxy.d.mts.map +1 -1
- package/dist/mcp-proxy.mjs +51 -59
- package/dist/mcp-proxy.mjs.map +1 -1
- package/dist/{tool-visibility-B4RAFMaB.cjs → tool-visibility-BopFnGsT.cjs} +5 -0
- package/dist/{tool-visibility-kclgGKL5.mjs → tool-visibility-Dq-Ruj-8.mjs} +6 -1
- package/dist/tool-visibility-Dq-Ruj-8.mjs.map +1 -0
- package/docs/mcp-proxy.md +71 -0
- package/docs/stability.md +3 -2
- package/package.json +3 -2
- package/registry/README.md +133 -0
- package/registry/robinhood.json +769 -0
- package/registry/robinhood.md +102 -0
- package/skills/chain-insights-dex/SKILL.md +104 -96
- package/skills/chain-insights-dex/agents/openai.yaml +1 -1
- package/skills/chain-insights-dex/reference.md +8 -27
- package/skills/chain-insights-dex-gauge/SKILL.md +6 -4
- package/skills/chain-insights-dex-launchpad/SKILL.md +6 -3
- package/skills/chain-insights-dex-vault/SKILL.md +4 -2
- package/skills/chain-insights-virtuals/SKILL.md +8 -4
- package/dist/format-DB2IH2U5.mjs.map +0 -1
- package/dist/tool-visibility-kclgGKL5.mjs.map +0 -1
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# The exchange registry: robinhood
|
|
2
|
+
|
|
3
|
+
**The decentralized exchanges of robinhood and their factory, manager and
|
|
4
|
+
router contracts.** One row per exchange and role. The review rule, the
|
|
5
|
+
columns and the check are in the [README](README.md). The served copy is
|
|
6
|
+
[robinhood.json](robinhood.json), written by
|
|
7
|
+
`node scripts/pin-dex-registry.mjs registry/robinhood.md`.
|
|
8
|
+
|
|
9
|
+
Registry version: 2.
|
|
10
|
+
|
|
11
|
+
Recorded on: 2026-10-24.
|
|
12
|
+
|
|
13
|
+
## Rows
|
|
14
|
+
|
|
15
|
+
| dex | display | aliases | trail type | adapter | role | address | valid from block | example pool | pool floor | source link | verification |
|
|
16
|
+
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
17
|
+
| aero | Aero (Aerodrome and Velodrome, merged) | Aero, Aerodrome, Velodrome, AERO, Aero Slipstream | gauge | cl-gauge-v1 | factory | `0xc63d7338c178e805c544b8f897066bd3bbcbe136` | 93973839 | 0x7615926023bb149f36095645c2a81dc367d39750 | 30 | [Dromos deployment ledger](https://github.com/dromos-labs/metadex-slipstream-public/blob/main/deployment-addresses/cl-robinhood.json) | served |
|
|
18
|
+
| aero | Aero (Aerodrome and Velodrome, merged) | | gauge | cl-gauge-v1 | router | `0x72e46c9edf828002fdbfdd0952419790576c0f18` | 94021838 | - | - | [census 2026-10-23](https://github.com/chainswarm/AP1000/blob/main/docs/evidence/2026-10-23-dex-protocol-skills.md) | served |
|
|
19
|
+
| aero | Aero (Aerodrome and Velodrome, merged) | | gauge | cl-gauge-v1 | router | `0x0fef9e88a7b76bcdbf451780c6774fe32965ee98` | 0 | - | - | [Dromos metarouter ledger](https://github.com/dromos-labs/metadex-slipstream-public/blob/main/deployment-addresses/cl-robinhood.json) | served |
|
|
20
|
+
| aero | Aero (Aerodrome and Velodrome, merged) | | gauge | cl-gauge-v1 | router | `0x9ee35bf1bd69a03c6f0393582030fce8bb93d418` | 0 | - | - | [Dromos CL ledger](https://github.com/dromos-labs/metadex-slipstream-public/blob/main/deployment-addresses/cl-robinhood.json) | served |
|
|
21
|
+
| up | up. | up., up, UP, up33, UP33, up.finance | gauge | cl-gauge-v1 | factory | `0x1ac9db4a2608ba45d6127b1737949b51bb54b7f3` | 6184096 | 0x4e8649be40ae67ebbcff99c291b92ee03015917b | 800 | [DefiLlama up-v3](https://github.com/DefiLlama/dimension-adapters/blob/master/dexs/up-v3/index.ts) | served |
|
|
22
|
+
| up | up. | | gauge | solidly-v2 | factory | `0xfa5429aeba338bea2bfcc1b9a889862ee395bc28` | 6180950 | - | - | [DefiLlama up-v2](https://github.com/DefiLlama/dimension-adapters/blob/master/dexs/up-v2/index.ts) | served |
|
|
23
|
+
| up | up. | | gauge | cl-gauge-v1 | router | `0xc062b870e813fca720f1e002c234369ab3ab9415` | 0 | - | - | [lp-terminal contract map](https://github.com/lp-terminal/contracts/blob/main/robinhood.json) | served |
|
|
24
|
+
| up | up. | | gauge | solidly-v2 | router | `0xf5198743240fac98db71868f34c70139b1eb0474` | 0 | - | - | [lp-terminal contract map](https://github.com/lp-terminal/contracts/blob/main/robinhood.json) | served |
|
|
25
|
+
| alandale | Alandale | Alandale, LUTE, alandale.xyz | gauge | cl-gauge-v1 | factory | `0x2fadf533d9a098310007978730554f842547fc5f` | 27916288 | 0x7a35168956f129c032ec035cc47383a605a71df0 | 25 | [0x-settler Alandale fork](https://github.com/0xProject/0x-settler/blob/master/src/core/univ3forks/Alandale.sol) | served |
|
|
26
|
+
| alandale | Alandale | | gauge | cl-gauge-v1 | router | `0x8971d5a8f950f021e97583855925b021bfae2b35` | 0 | - | - | [HoodScan](https://hoodscan.co/project/alandale) | served |
|
|
27
|
+
| raphael | Raphael Exchange | Raphael, RAPH, Raphael Exchange, Raphael Finance | gauge | cl-gauge-v1 | factory | `0x5481864ddd46a2d798df0925c23b7846e776e5e3` | 0 | - | 20 | [DefiLlama raphael-slipstream](https://github.com/DefiLlama/dimension-adapters/blob/master/dexs/raphael-slipstream/index.ts) | served |
|
|
28
|
+
| raphael | Raphael Exchange | | gauge | solidly-v2 | factory | `0x1a6745f84099fa7e84d1f3b34c23482865194bd1` | 0 | - | - | [HoodScan](https://hoodscan.co/project/raphael-exchange) | served |
|
|
29
|
+
| raphael | Raphael Exchange | | gauge | cl-gauge-v1 | router | `0x2f0e010edc989bb4dc3bfaf07750480bc16285d4` | 0 | - | - | [HoodScan](https://hoodscan.co/project/raphael-exchange) | served |
|
|
30
|
+
| sheriff | Sheriff | Sheriff, Sheriff Exchange, sheriff.exchange | gauge | cl-gauge-v1 | factory | `0x9ac30d72168a4498ae5c80226f4d3c86278e8f80` | 0 | - | 7 | [0x-settler Sheriff fork](https://github.com/0xProject/0x-settler/blob/master/src/core/univ3forks/Sheriff.sol) | served |
|
|
31
|
+
| sheriff | Sheriff | | gauge | cl-gauge-v1 | router | `0xcb0615a1478838dea20e57447309be97f45dca0f` | 0 | - | - | [HoodScan](https://hoodscan.co/project/sheriff) | served |
|
|
32
|
+
| topaz | Topaz DEX | Topaz, TOPAZ, Topaz DEX, topazdex.com | gauge | cl-gauge-v1 | factory | `0xaa5865dc3a60b25d305226d66fd573021f0d8ffb` | 0 | - | 6 | [DefiLlama topaz-cl](https://github.com/DefiLlama/dimension-adapters/blob/master/dexs/topaz-cl/index.ts) | served |
|
|
33
|
+
| topaz | Topaz DEX | | gauge | cl-gauge-v1 | router | `0x2e7395a6e0de6ee1f390bece891069cd18ff8572` | 0 | - | - | [HoodScan](https://hoodscan.co/project/topaz-dex) | served |
|
|
34
|
+
| kittenswap | Kittenswap | Kittenswap, KITTEN, KittenSwap | gauge | cl-gauge-v1 | factory | `0x45362763166cfed6174d312fa1449ea1fc37988a` | 0 | 0x49ffa9b5cb6c94b2fc99e8649c3e4c18f619e149 | 5 | [Kittenswap deployed contracts](https://docs.kittenswap.finance/tokenomics/deployed-contracts.md) | served |
|
|
35
|
+
| kittenswap | Kittenswap | | gauge | cl-gauge-v1 | router | `0x7064c7bb85979f008212877c4ce41285ddf5374c` | 0 | - | - | [Kittenswap deployed contracts](https://docs.kittenswap.finance/tokenomics/deployed-contracts.md) | served |
|
|
36
|
+
| morpheus | Morpheus | Morpheus, Morpheus Farm | gauge | cl-gauge-v1 | factory | `0xd7cb0e0692f2d55a17ba81c1fe5501d66774fc4a` | 0 | - | 6 | [DefiLlama uniswapV3 registry](https://github.com/DefiLlama/DefiLlama-Adapters/blob/main/registries/uniswapV3.js) | served |
|
|
37
|
+
| swaphood | SwapHood | SwapHood, SwapHood Finance, SWT, swaphood.finance | gauge | solidly-v2 | factory | `0xe7206ecac3a51afe7e6179182ad4130a26068dd1` | 0 | - | 20 | [SwapHood contract addresses](https://swaphood-finance.gitbook.io/swaphood-finance-docs/contract-addresses.md) | served |
|
|
38
|
+
| swaphood | SwapHood | | gauge | solidly-v2 | router | `0x8f8056fec03159ebcc4aee1b8ea5a61d8fe405fc` | 0 | - | - | [SwapHood contract addresses](https://swaphood-finance.gitbook.io/swaphood-finance-docs/contract-addresses.md) | served |
|
|
39
|
+
| uniswap-v2 | Uniswap v2 | Uniswap v2, Uni v2 | plain | uniswap-v2 | factory | `0x8bceaa40b9acdfaedf85adf4ff01f5ad6517937f` | 0 | 0x4a6a85252a6f6b383a5f747259ee157e65ff1307 | 10000 | [Uniswap v2 deployments](https://developers.uniswap.org/docs/protocols/v2/deployments) | served |
|
|
40
|
+
| uniswap-v3 | Uniswap v3 | Uniswap v3, Uni v3 | plain | uniswap-v3 | factory | `0x1f7d7550b1b028f7571e69a784071f0205fd2efa` | 0 | 0x10cc6bd38112cac182db90b6a71d8bb5939526ba | 200000 | [Uniswap v3 Robinhood deployment](https://developers.uniswap.org/docs/protocols/v3/deployments/v3-robinhood-chain-deployments) | served |
|
|
41
|
+
| uniswap-v4 | Uniswap v4 | Uniswap, UNI, Uniswap v4, Uni v4, PoolManager | vault | uniswap-v4 | manager | `0x8366a39cc670b4001a1121b8f6a443a643e40951` | 0 | - | - | [Uniswap v4 deployments](https://developers.uniswap.org/docs/protocols/v4/deployments) | served |
|
|
42
|
+
| pancakeswap | PancakeSwap Infinity | PancakeSwap, Pancake, CAKE, PancakeSwap Infinity | vault | pancake-infinity-cl | manager | `0xee04c68742e6bf434be8039580d2e89bbe55bc6f` | 0 | - | - | [PancakeSwap infinity config](https://github.com/pancakeswap/infinity-periphery/blob/main/script/config/robinhood-mainnet.json) | served |
|
|
43
|
+
| pancakeswap-v2 | PancakeSwap v2 | PancakeSwap v2, Pancake v2 | plain | uniswap-v2 | factory | `0x02a84c1b3bbd7401a5f7fa98a384ebc70bb5749e` | 0 | - | 40 | [PancakeSwap infinity config](https://github.com/pancakeswap/infinity-periphery/blob/main/script/config/robinhood-mainnet.json) | served |
|
|
44
|
+
| pancakeswap-v3 | PancakeSwap v3 | PancakeSwap v3, Pancake v3 | plain | uniswap-v3 | factory | `0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865` | 0 | - | - | [PancakeSwap config](https://github.com/pancakeswap/infinity-periphery/blob/main/script/config/robinhood-mainnet.json) | served |
|
|
45
|
+
| sushiswap | SushiSwap V4 | Sushi, SushiSwap, SUSHI, Sushi V4 | vault | pancake-infinity-cl | manager | `0x81d732702f87d2d652ae79e9f52bf44928eca210` | 0 | - | - | [Sushi infinity deployments](https://github.com/sushi-labs/infinity-deployments/blob/main/chains/robinhood-mainnet.json) | served |
|
|
46
|
+
| orvex | Orvex | Orvex, Orvex MetaDEX, orvex.fi, ORVX | vault | pancake-infinity-cl | manager | `0xd01c774d4a66408326bc65728ac5ae5aaf004032` | 0 | - | - | [DefiLlama orvex](https://github.com/DefiLlama/dimension-adapters/blob/master/dexs/orvex.ts) | served |
|
|
47
|
+
| swaap | Swaap v2 | Swaap, Swaap Finance, swaap.xyz, Balancer, Balancer v2, Balancer v2 vault | vault | balancer-v2 | manager | `0xd315a9c38ec871068fec378e4ce78af528c76293` | 0 | - | - | [Swaap docs](https://docs.swaap.xyz/) | served |
|
|
48
|
+
| balancer-v3 | unnamed Balancer v3 vault | Balancer, Balancer v3, Balancer v3 vault | vault | balancer-v3 | manager | `0x28082618ba2073e602230188e4f4c46e9b2169eb` | 0 | - | - | [Sourcify verified source](https://sourcify.dev/server/v2/contract/4663/0x28082618ba2073e602230188e4f4c46e9b2169eb) | served |
|
|
49
|
+
| ramses | Ramses | Ramses, Ramses Exchange, RAM, ramses.xyz, Ramses DLMM | plain | trader-joe-lb | factory | `0xdcd5f77697914e27f56fd263ef82923c8524abac` | 0 | 0x06ffaa507a9c3e7025294a642f1e1c75da3dfb4a | 150 | [Ramses contract addresses](https://www.ramses.xyz/docs/contract-addresses) | served |
|
|
50
|
+
| ramses | Ramses | | plain | uniswap-v2 | factory | `0x43b2bf9f33036a02fc7a00935571c2a6b0108e66` | 0 | - | - | [Ramses contract addresses](https://www.ramses.xyz/docs/contract-addresses) | served |
|
|
51
|
+
| ramses | Ramses | | plain | trader-joe-lb | router | `0xd0019e86edb35e1fedaab03aed5c3c60f115d28b` | 0 | - | - | [Ramses contract addresses](https://www.ramses.xyz/docs/contract-addresses) | served |
|
|
52
|
+
| sectorone | SectorOne | SectorOne, SectorOne DLMM | plain | trader-joe-lb | factory | `0x3d8dc63ddc9b992cfde89f7aea6f18717e84687d` | 0 | - | 30 | [DefiLlama traderJoeV2 registry](https://github.com/DefiLlama/DefiLlama-Adapters/blob/main/registries/traderJoeV2.js) | served |
|
|
53
|
+
| hoodit | Hoodit | Hoodit, hoodit.xyz | plain | trader-joe-lb | factory | `0x22602d966defd638ee94e97a92e2eb0934c3fe1b` | 0 | - | 5 | [DefiLlama traderJoeV2 registry](https://github.com/DefiLlama/DefiLlama-Adapters/blob/main/registries/traderJoeV2.js) | served |
|
|
54
|
+
| giga | GIGA | GIGA, GIGA DEX, GigaDEX, gigadex.fi | plain | uniswap-v2 | factory | `0x6fdf38f92ead1adfc04b73aaa947ab254f6c0916` | 0 | - | 15 | [HoodScan](https://hoodscan.co/project/giga) | served |
|
|
55
|
+
| dyor | DYOR | DYOR, dyor.fun, DYORSwap | plain | uniswap-v2 | factory | `0x5818fddddb96bcd50bee4253f11b324e7dea961b` | 0 | - | - | [Mobula almanac](https://docs.mobula.io/almanac/robinhood-launchpads/dyorfun.md) | not served: the exchange name rests on the contract's own revert strings and one third-party page; a deployment file is awaited |
|
|
56
|
+
| flap | Flap | Flap, Flap launchpad, flap.sh | launchpad | uniswap-v2 | factory | `0x0d1ebb179cdbca88d74c923c4255cb2b17474afd` | 0 | - | 100000 | [HoodScan](https://hoodscan.co/project/flap) | served |
|
|
57
|
+
| curve | Curve | Curve, Curve Finance, CRV, curve.finance | plain | curve-stable | factory | `0x8271e06e5887fe5ba05234f5315c19f3ec90e8ad` | 0 | 0x7e0539140f16b3a8ed23ad69d6fea6a38fb8b299 | 25 | [curve-core deployments](https://github.com/curvefi/curve-core/blob/main/deployments/prod/robinhood.yaml) | served |
|
|
58
|
+
| metric | Metric | Metric, Metric OMM, metric.xyz | plain | metric-omm | factory | `0x2e0a99a2e352043d1ca489cf45bf7b511bccc738` | 0 | 0x584ac6010b095bf99398fae8203a3260a03d2b30 | 30 | [Metric SDK addresses](https://github.com/Metricxyz/sdk/blob/main/src/addresses.ts) | served |
|
|
59
|
+
| penguin | Penguin | Penguin, Penguin launchpad | launchpad | penguin-launchpad | factory | `0x09f1b640d53c9c4c1807bf5aa306745128ee4375` | 0 | - | - | [devops registry v24](https://github.com/chainswarm/devops/blob/de68f8676adac3e2f004fb0cd24c313f9516846e/charts/chainswarm-indexer-evm-dex/registry/robinhood-v24.json) | served |
|
|
60
|
+
| pons | pons | pons, pons launchpad | launchpad | bonding-curve | factory | `0x7ed598bcef8bd9edd8c97a195c6d13f40801ec7e` | 0 | - | - | [pons deployment](https://github.com/DefiLlama/DefiLlama-Adapters/blob/main/projects/pons-v2/index.js) | served |
|
|
61
|
+
| virtuals | Virtuals Protocol | Virtuals, VIRTUAL, Virtuals Protocol | launchpad | uniswap-v2 | factory | `0xfc2e4da3edb2e18100473339c763705d263d20a9` | 0 | - | - | [change silent-factory-discovery-and-labels](https://github.com/chainswarm/AP1000/blob/main/openspec/changes/archive/2026-10-16-silent-factory-discovery-and-labels/design.md) | served |
|
|
62
|
+
|
|
63
|
+
## Verification
|
|
64
|
+
|
|
65
|
+
Read on lane A through the Chain Insights proxy on 2026-10-23, 14:10 to
|
|
66
|
+
14:25 CEST (`behind_dex` 419,493), and on lane B through the lane's MCP door
|
|
67
|
+
at 14:24 CEST. The census query and every number are in the evidence record
|
|
68
|
+
linked from the rows. A `factory` row shows the pools it created
|
|
69
|
+
(`DEPLOYED_CONTRACT`), a `manager` row the pools it holds, a `router` row the
|
|
70
|
+
swaps it forwarded.
|
|
71
|
+
|
|
72
|
+
| address | role | what the lane shows |
|
|
73
|
+
|---|---|---|
|
|
74
|
+
| `0xc63d7338c178e805c544b8f897066bd3bbcbe136` | factory | 70 `cl-gauge-v1` pools on lane A, 311,955,782 USD lifetime volume; deployed at block 93,973,839; the busiest pool `0x7615926023bb149f36095645c2a81dc367d39750` |
|
|
75
|
+
| `0x72e46c9edf828002fdbfdd0952419790576c0f18` | router | the `SWAPPED` recipient of 21 of the 23 biggest sellers into the pool above; a contract with no mark. Not in Aero's own deployment files, which name the metarouter and the CL swap router (both rows below it); kept as a router because the chain shows it forwarding Aero's swaps |
|
|
76
|
+
| `0xfa5429aeba338bea2bfcc1b9a889862ee395bc28` | factory | 67 `solidly-v2` pools on lane A, 31 on lane B (the lane is behind); 67,093,264 USD; deployed at block 6,180,950 |
|
|
77
|
+
| `0x1ac9db4a2608ba45d6127b1737949b51bb54b7f3` | factory | 1,918 `cl-gauge-v1` pools, 7,745,394,151 USD; deployed at block 6,184,096 by `0x85fb9f9bc8a44663a234adb4cfe4e1459c096651`, the deployer of up.'s solidly factory. DefiLlama's up-v3 adapter and 0x-settler name it as up.'s; its voter is up.'s Voter |
|
|
78
|
+
| `0x8366a39cc670b4001a1121b8f6a443a643e40951` | manager | `:Protocol`, marks `PoolManager` and `uniswap-v4`, 194,445,570,792 USD |
|
|
79
|
+
| `0x1f7d7550b1b028f7571e69a784071f0205fd2efa` | factory | 445,864 `uniswap-v3` pools; the busiest `0x10cc6bd38112cac182db90b6a71d8bb5939526ba`, 59,741,538,329 USD. The other registry anchor `0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865` created nothing |
|
|
80
|
+
| `0xd315a9c38ec871068fec378e4ce78af528c76293` | manager | `balancer-v2` custody, 2,320,921,692 USD; Swaap v2 per its docs, not Balancer |
|
|
81
|
+
| `0x28082618ba2073e602230188e4f4c46e9b2169eb` | manager | `balancer-v3` custody, registry anchor; Balancer v3 code per Sourcify, no exchange names it: served as the unnamed Balancer v3 vault |
|
|
82
|
+
| `0xd01c774d4a66408326bc65728ac5ae5aaf004032` | manager | `pancake-infinity-cl` custody; its reserve holder `0xfe7e25de55e5cbbecccb661f3679f873f72b9b0d` carries 617,619,030 USD. DefiLlama names this deployment Orvex; the indexer registry calls the stack `pancakeswap`. PancakeSwap's own Infinity is the stack `0xee04c68742e6bf434be8039580d2e89bbe55bc6f` and SushiSwap V4 is `0x81d732702f87d2d652ae79e9f52bf44928eca210`, both from their deployment files |
|
|
83
|
+
| `0x2e0a99a2e352043d1ca489cf45bf7b511bccc738` | factory | 82 `metric-omm` pools, 1,054,110,117 USD. The indexer registry anchors the adapter on `0x2a53833cc95548cf52c7b159110e22d3a9018f32`, which emits the creation events and created no pool itself; it has no row, because a factory row names the creator the graph links |
|
|
84
|
+
| `0x8271e06e5887fe5ba05234f5315c19f3ec90e8ad` | factory | 64 `curve-stable` pools, 171,763,477 USD |
|
|
85
|
+
| `0xdcd5f77697914e27f56fd263ef82923c8524abac`, `0x3d8dc63ddc9b992cfde89f7aea6f18717e84687d`, `0x22602d966defd638ee94e97a92e2eb0934c3fe1b` | factory | 257, 66 and 11 `trader-joe-lb` pools: Ramses DLMM, SectorOne and Hoodit, three Liquidity Book forks; Trader Joe itself has no deployment on this chain. `0xd60cf7876a1e7b8fcf963722a05039849fde5387` (11 pools) has no source and no row. The busiest traded `0x06ffaa507a9c3e7025294a642f1e1c75da3dfb4a` |
|
|
86
|
+
| `0x09f1b640d53c9c4c1807bf5aa306745128ee4375` | factory | created 48 contracts; none carries `:Pool` on lane A yet |
|
|
87
|
+
| `0x7ed598bcef8bd9edd8c97a195c6d13f40801ec7e` | factory | 1,469,383 transactions on the contract itself; created 1 contract, no `:Pool` yet |
|
|
88
|
+
| `0x8bceaa40b9acdfaedf85adf4ff01f5ad6517937f` | factory | 27,926 `uniswap-v2` pools, 10,573,207,859 USD. Uniswap's own v2 factory per its deployments page; Virtuals agents create most of its pairs, which is why the indexer registry stacks it as `virtuals`. The exchange row is `uniswap-v2`; `0xfc2e4da3edb2e18100473339c763705d263d20a9` is the Virtuals bonding factory per the Virtuals change |
|
|
89
|
+
|
|
90
|
+
`0x0d1ebb179cdbca88d74c923c4255cb2b17474afd` created 254,650 `uniswap-v2`
|
|
91
|
+
pairs with 38 USD of volume in all: the Flap launchpad's pair factory per
|
|
92
|
+
HoodScan, a launchpad row.
|
|
93
|
+
|
|
94
|
+
Exchange names were researched on 2026-10-23 from each exchange's own deployment
|
|
95
|
+
file where one exists (proven), else from DefiLlama, 0x-settler and HoodScan
|
|
96
|
+
(likely); the research note is in the evidence record. Sourcify covers chain
|
|
97
|
+
4663; the explorer's name tags were unreachable.
|
|
98
|
+
|
|
99
|
+
Registry version 2 (2026-10-24) moved the file from the private registry of
|
|
100
|
+
version 1 to this repository, renamed the key column `dex`, and gave `Balancer`
|
|
101
|
+
to the two Balancer vaults (`balancer-v3` and `swaap`), so a question that says
|
|
102
|
+
"Balancer" lists both instead of guessing one.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: chain-insights-dex
|
|
3
|
+
door: meta_dex_lookup
|
|
3
4
|
description: Use when a question names a decentralized exchange by name with no address — Aero, Aerodrome, Velodrome, up., Raphael, Topaz, Uniswap, Balancer, PancakeSwap, Trader Joe, Curve, Metric, Penguin — or asks who trades on, sold into, bought from or provides liquidity on an exchange or a DEX, which pools an exchange has, or how to trace money through a swap.
|
|
4
5
|
---
|
|
5
6
|
|
|
@@ -17,7 +18,8 @@ four hold even when it cannot load:
|
|
|
17
18
|
- No drawn graph in text.
|
|
18
19
|
|
|
19
20
|
This skill turns an exchange's name into the addresses a query needs, finds
|
|
20
|
-
the exchange's pools, and follows the plain trail.
|
|
21
|
+
the exchange's pools, and follows the plain trail. The first step is always
|
|
22
|
+
the `meta_dex_lookup` tool. Three trail-type skills
|
|
21
23
|
add the step past the contract a swap names:
|
|
22
24
|
|
|
23
25
|
| Trail | The contract past the swap | Load |
|
|
@@ -29,105 +31,106 @@ add the step past the contract a swap names:
|
|
|
29
31
|
|
|
30
32
|
The queries are in [reference.md](reference.md).
|
|
31
33
|
|
|
32
|
-
##
|
|
33
|
-
|
|
34
|
-
The memo below is rendered from the brand registry. Every address in it is
|
|
35
|
-
in full. Never edit it by hand.
|
|
36
|
-
|
|
37
|
-
<!-- brands:start -->
|
|
38
|
-
Memo of the brand registry, version 1, robinhood, recorded 2026-10-23.
|
|
39
|
-
|
|
40
|
-
| Brand | Key | Also written | Trail | Factories, or the manager | Router | Note |
|
|
41
|
-
|---|---|---|---|---|---|---|
|
|
42
|
-
| Aero (Aerodrome and Velodrome, merged) | `aero` | Aero, Aerodrome, Velodrome, AERO, Aero Slipstream | gauge | `0xc63d7338c178e805c544b8f897066bd3bbcbe136` | `0x72e46c9edf828002fdbfdd0952419790576c0f18`, `0x0fef9e88a7b76bcdbf451780c6774fe32965ee98`, `0x9ee35bf1bd69a03c6f0393582030fce8bb93d418` | |
|
|
43
|
-
| up. | `up` | up., up, UP, up33, UP33, up.finance | gauge | `0x1ac9db4a2608ba45d6127b1737949b51bb54b7f3`, `0xfa5429aeba338bea2bfcc1b9a889862ee395bc28` | `0xc062b870e813fca720f1e002c234369ab3ab9415`, `0xf5198743240fac98db71868f34c70139b1eb0474` | |
|
|
44
|
-
| Alandale | `alandale` | Alandale, LUTE, alandale.xyz | gauge | `0x2fadf533d9a098310007978730554f842547fc5f` | `0x8971d5a8f950f021e97583855925b021bfae2b35` | |
|
|
45
|
-
| Raphael Exchange | `raphael` | Raphael, RAPH, Raphael Exchange, Raphael Finance | gauge | `0x5481864ddd46a2d798df0925c23b7846e776e5e3`, `0x1a6745f84099fa7e84d1f3b34c23482865194bd1` | `0x2f0e010edc989bb4dc3bfaf07750480bc16285d4` | |
|
|
46
|
-
| Sheriff | `sheriff` | Sheriff, Sheriff Exchange, sheriff.exchange | gauge | `0x9ac30d72168a4498ae5c80226f4d3c86278e8f80` | `0xcb0615a1478838dea20e57447309be97f45dca0f` | |
|
|
47
|
-
| Topaz DEX | `topaz` | Topaz, TOPAZ, Topaz DEX, topazdex.com | gauge | `0xaa5865dc3a60b25d305226d66fd573021f0d8ffb` | `0x2e7395a6e0de6ee1f390bece891069cd18ff8572` | |
|
|
48
|
-
| Kittenswap | `kittenswap` | Kittenswap, KITTEN, KittenSwap | gauge | `0x45362763166cfed6174d312fa1449ea1fc37988a` | `0x7064c7bb85979f008212877c4ce41285ddf5374c` | |
|
|
49
|
-
| Morpheus | `morpheus` | Morpheus, Morpheus Farm | gauge | `0xd7cb0e0692f2d55a17ba81c1fe5501d66774fc4a` | none proven yet | |
|
|
50
|
-
| SwapHood | `swaphood` | SwapHood, SwapHood Finance, SWT, swaphood.finance | gauge | `0xe7206ecac3a51afe7e6179182ad4130a26068dd1` | `0x8f8056fec03159ebcc4aee1b8ea5a61d8fe405fc` | |
|
|
51
|
-
| Uniswap v2 | `uniswap-v2` | Uniswap v2, Uni v2 | plain | `0x8bceaa40b9acdfaedf85adf4ff01f5ad6517937f` | none | |
|
|
52
|
-
| Uniswap v3 | `uniswap-v3` | Uniswap v3, Uni v3 | plain | `0x1f7d7550b1b028f7571e69a784071f0205fd2efa` | none | |
|
|
53
|
-
| Uniswap v4 | `uniswap-v4` | Uniswap, UNI, Uniswap v4, Uni v4, PoolManager | vault | manager `0x8366a39cc670b4001a1121b8f6a443a643e40951` | the manager | |
|
|
54
|
-
| PancakeSwap Infinity | `pancakeswap` | PancakeSwap, Pancake, CAKE, PancakeSwap Infinity | vault | manager `0xee04c68742e6bf434be8039580d2e89bbe55bc6f` | the manager | |
|
|
55
|
-
| PancakeSwap v2 | `pancakeswap-v2` | PancakeSwap v2, Pancake v2 | plain | `0x02a84c1b3bbd7401a5f7fa98a384ebc70bb5749e` | none | |
|
|
56
|
-
| PancakeSwap v3 | `pancakeswap-v3` | PancakeSwap v3, Pancake v3 | plain | `0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865` | none | |
|
|
57
|
-
| SushiSwap V4 | `sushiswap` | Sushi, SushiSwap, SUSHI, Sushi V4 | vault | manager `0x81d732702f87d2d652ae79e9f52bf44928eca210` | the manager | |
|
|
58
|
-
| Orvex | `orvex` | Orvex, Orvex MetaDEX, orvex.fi, ORVX | vault | manager `0xd01c774d4a66408326bc65728ac5ae5aaf004032` | the manager | |
|
|
59
|
-
| Swaap v2 | `swaap` | Swaap, Swaap Finance, swaap.xyz | vault | manager `0xd315a9c38ec871068fec378e4ce78af528c76293` | the manager | |
|
|
60
|
-
| unnamed Balancer v3 vault | `balancer-v3` | Balancer v3 vault | vault | manager `0x28082618ba2073e602230188e4f4c46e9b2169eb` | the manager | |
|
|
61
|
-
| Ramses | `ramses` | Ramses, Ramses Exchange, RAM, ramses.xyz, Ramses DLMM | plain | `0xdcd5f77697914e27f56fd263ef82923c8524abac`, `0x43b2bf9f33036a02fc7a00935571c2a6b0108e66` | `0xd0019e86edb35e1fedaab03aed5c3c60f115d28b` | |
|
|
62
|
-
| SectorOne | `sectorone` | SectorOne, SectorOne DLMM | plain | `0x3d8dc63ddc9b992cfde89f7aea6f18717e84687d` | none | |
|
|
63
|
-
| Hoodit | `hoodit` | Hoodit, hoodit.xyz | plain | `0x22602d966defd638ee94e97a92e2eb0934c3fe1b` | none | |
|
|
64
|
-
| GIGA | `giga` | GIGA, GIGA DEX, GigaDEX, gigadex.fi | plain | `0x6fdf38f92ead1adfc04b73aaa947ab254f6c0916` | none | |
|
|
65
|
-
| Flap | `flap` | Flap, Flap launchpad, flap.sh | launchpad | `0x0d1ebb179cdbca88d74c923c4255cb2b17474afd` | none | |
|
|
66
|
-
| Curve | `curve` | Curve, Curve Finance, CRV, curve.finance | plain | `0x8271e06e5887fe5ba05234f5315c19f3ec90e8ad` | none | |
|
|
67
|
-
| Metric | `metric` | Metric, Metric OMM, metric.xyz | plain | `0x2e0a99a2e352043d1ca489cf45bf7b511bccc738` | none | |
|
|
68
|
-
| Penguin | `penguin` | Penguin, Penguin launchpad | launchpad | `0x09f1b640d53c9c4c1807bf5aa306745128ee4375` | none | |
|
|
69
|
-
| pons | `pons` | pons, pons launchpad | launchpad | `0x7ed598bcef8bd9edd8c97a195c6d13f40801ec7e` | none | |
|
|
70
|
-
| Virtuals Protocol | `virtuals` | Virtuals, VIRTUAL, Virtuals Protocol | launchpad | `0xfc2e4da3edb2e18100473339c763705d263d20a9` | none | |
|
|
71
|
-
<!-- brands:end -->
|
|
72
|
-
|
|
73
|
-
## Name the exchange: memo, then the graph, never the user
|
|
34
|
+
## Name the exchange: the tool, then the memo, never the user
|
|
74
35
|
|
|
75
36
|
The user names an exchange and no address. Every address the question needs
|
|
76
|
-
|
|
77
|
-
router address.**
|
|
78
|
-
|
|
79
|
-
1.
|
|
80
|
-
|
|
37
|
+
comes from `meta_dex_lookup` or from the memo below. **Never ask the user
|
|
38
|
+
for a pool, factory or router address.**
|
|
39
|
+
|
|
40
|
+
1. **`meta_dex_lookup`.** Call it first, with the network and the name as
|
|
41
|
+
the user wrote it: `{"network": "robinhood", "name": "Aerodrome"}`. It
|
|
42
|
+
reads the served exchange registry, takes a typo within two letters, and
|
|
43
|
+
returns the exchange's key, its trail type, its factories, routers or
|
|
44
|
+
pool manager, each confirmed on the graph, its biggest pools, the lag of
|
|
45
|
+
each family and the first reads of its trail, every address in full.
|
|
46
|
+
- `took_for` set: say which you took in one line, "I took Aero for
|
|
47
|
+
areo." Then go on; ask nothing.
|
|
48
|
+
- `candidates` set and `matched` null: the name fits several exchanges.
|
|
49
|
+
"Balancer" is the Balancer v2 vault (Swaap v2) and the Balancer v3
|
|
50
|
+
vault. Call the tool once for each key in the same turn, read both,
|
|
51
|
+
and say so.
|
|
52
|
+
2. **The memo**, only when the host offers no `meta_dex_lookup` tool.
|
|
53
|
+
Compare the name with the key and the "Also written" column after
|
|
54
|
+
dropping case, spaces, dots, hyphens and underscores: "alan dale" is
|
|
81
55
|
Alandale, "up." is up, "uni v4" is Uniswap v4. Take a typo that is one or
|
|
82
56
|
two letters away from one entry ("areo", "Aerodome", "pancakswap"), and
|
|
83
|
-
say which you took in one line
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
say so in one line and go to 3. Never send that read twice.
|
|
93
|
-
3. **Not covered.** When the memo and the brand list both lack the name, say
|
|
94
|
-
so in one line and list the covered brands by name: "Kyber is not covered
|
|
95
|
-
yet. Covered: Aero, up., Uniswap v4, …". **Send no query for the name.**
|
|
96
|
-
The graph has no name search: a `p.name CONTAINS`, a `labels CONTAINS`,
|
|
97
|
-
a scan of `:Launchpad`, `:Protocol` or `:Pool` by a word, and a count of
|
|
98
|
-
`SWAPPED` families all walk the whole chain and are stopped at 10 s or
|
|
99
|
-
refused. Twenty such reads cost the user four minutes and answer nothing.
|
|
57
|
+
say which you took in one line.
|
|
58
|
+
3. **Not covered.** When the tool returns `matched` null with no
|
|
59
|
+
candidates, or the memo has no match, say so in one line and list the
|
|
60
|
+
covered exchanges by name: "Kyber is not covered yet. Covered: Aero, up.,
|
|
61
|
+
Uniswap v4, …". **Send no query for the name.** The graph has no name
|
|
62
|
+
search: a `p.name CONTAINS`, a `labels CONTAINS`, a scan of
|
|
63
|
+
`:Launchpad`, `:Protocol` or `:Pool` by a word, and a count of `SWAPPED`
|
|
64
|
+
families all walk the whole chain and are stopped at 10 s or refused.
|
|
65
|
+
Twenty such reads cost the user four minutes and answer nothing.
|
|
100
66
|
|
|
101
67
|
Rules for the match:
|
|
102
68
|
|
|
103
|
-
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
- Never guess a brand from a token name, a pool name or a symbol.
|
|
69
|
+
- "Uniswap" is the Uniswap v4 row; say that Uniswap v3 and v2 are separate
|
|
70
|
+
rows.
|
|
71
|
+
- Never guess an exchange from a token name, a pool name or a symbol.
|
|
107
72
|
- An adapter mark in a pool's `labels`, such as `cl-gauge-v1`, is the
|
|
108
|
-
indexer's reading of a pool family, never
|
|
109
|
-
one. Never find
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
adds
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
73
|
+
indexer's reading of a pool family, never an exchange: two exchanges can
|
|
74
|
+
share one. Never find an exchange's pools by searching the whole chain for
|
|
75
|
+
a mark.
|
|
76
|
+
- Virtuals is a launchpad row. A question that names Virtuals, VIRTUAL or a
|
|
77
|
+
Virtuals agent loads `chain-insights-virtuals`, and this skill adds
|
|
78
|
+
nothing.
|
|
79
|
+
|
|
80
|
+
## The memo
|
|
81
|
+
|
|
82
|
+
The memo below is rendered from the exchange registry, the same file
|
|
83
|
+
`meta_dex_lookup` reads. Every address in it is in full. Never edit it by
|
|
84
|
+
hand. When the tool and the memo differ, follow the tool: it reads the
|
|
85
|
+
newest file.
|
|
86
|
+
|
|
87
|
+
<!-- dex-registry:start -->
|
|
88
|
+
Memo of the exchange registry, version 2, robinhood, recorded 2026-10-24.
|
|
89
|
+
|
|
90
|
+
| Exchange | Key | Also written | Trail | Factories, or the manager | Router |
|
|
91
|
+
|---|---|---|---|---|---|
|
|
92
|
+
| Aero (Aerodrome and Velodrome, merged) | `aero` | Aero, Aerodrome, Velodrome, AERO, Aero Slipstream | gauge | `0xc63d7338c178e805c544b8f897066bd3bbcbe136` | `0x72e46c9edf828002fdbfdd0952419790576c0f18`, `0x0fef9e88a7b76bcdbf451780c6774fe32965ee98`, `0x9ee35bf1bd69a03c6f0393582030fce8bb93d418` |
|
|
93
|
+
| up. | `up` | up., up, UP, up33, UP33, up.finance | gauge | `0x1ac9db4a2608ba45d6127b1737949b51bb54b7f3`, `0xfa5429aeba338bea2bfcc1b9a889862ee395bc28` | `0xc062b870e813fca720f1e002c234369ab3ab9415`, `0xf5198743240fac98db71868f34c70139b1eb0474` |
|
|
94
|
+
| Alandale | `alandale` | Alandale, LUTE, alandale.xyz | gauge | `0x2fadf533d9a098310007978730554f842547fc5f` | `0x8971d5a8f950f021e97583855925b021bfae2b35` |
|
|
95
|
+
| Raphael Exchange | `raphael` | Raphael, RAPH, Raphael Exchange, Raphael Finance | gauge | `0x5481864ddd46a2d798df0925c23b7846e776e5e3`, `0x1a6745f84099fa7e84d1f3b34c23482865194bd1` | `0x2f0e010edc989bb4dc3bfaf07750480bc16285d4` |
|
|
96
|
+
| Sheriff | `sheriff` | Sheriff, Sheriff Exchange, sheriff.exchange | gauge | `0x9ac30d72168a4498ae5c80226f4d3c86278e8f80` | `0xcb0615a1478838dea20e57447309be97f45dca0f` |
|
|
97
|
+
| Topaz DEX | `topaz` | Topaz, TOPAZ, Topaz DEX, topazdex.com | gauge | `0xaa5865dc3a60b25d305226d66fd573021f0d8ffb` | `0x2e7395a6e0de6ee1f390bece891069cd18ff8572` |
|
|
98
|
+
| Kittenswap | `kittenswap` | Kittenswap, KITTEN, KittenSwap | gauge | `0x45362763166cfed6174d312fa1449ea1fc37988a` | `0x7064c7bb85979f008212877c4ce41285ddf5374c` |
|
|
99
|
+
| Morpheus | `morpheus` | Morpheus, Morpheus Farm | gauge | `0xd7cb0e0692f2d55a17ba81c1fe5501d66774fc4a` | none proven yet |
|
|
100
|
+
| SwapHood | `swaphood` | SwapHood, SwapHood Finance, SWT, swaphood.finance | gauge | `0xe7206ecac3a51afe7e6179182ad4130a26068dd1` | `0x8f8056fec03159ebcc4aee1b8ea5a61d8fe405fc` |
|
|
101
|
+
| Uniswap v2 | `uniswap-v2` | Uniswap v2, Uni v2 | plain | `0x8bceaa40b9acdfaedf85adf4ff01f5ad6517937f` | none |
|
|
102
|
+
| Uniswap v3 | `uniswap-v3` | Uniswap v3, Uni v3 | plain | `0x1f7d7550b1b028f7571e69a784071f0205fd2efa` | none |
|
|
103
|
+
| Uniswap v4 | `uniswap-v4` | Uniswap, UNI, Uniswap v4, Uni v4, PoolManager | vault | manager `0x8366a39cc670b4001a1121b8f6a443a643e40951` | the manager |
|
|
104
|
+
| PancakeSwap Infinity | `pancakeswap` | PancakeSwap, Pancake, CAKE, PancakeSwap Infinity | vault | manager `0xee04c68742e6bf434be8039580d2e89bbe55bc6f` | the manager |
|
|
105
|
+
| PancakeSwap v2 | `pancakeswap-v2` | PancakeSwap v2, Pancake v2 | plain | `0x02a84c1b3bbd7401a5f7fa98a384ebc70bb5749e` | none |
|
|
106
|
+
| PancakeSwap v3 | `pancakeswap-v3` | PancakeSwap v3, Pancake v3 | plain | `0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865` | none |
|
|
107
|
+
| SushiSwap V4 | `sushiswap` | Sushi, SushiSwap, SUSHI, Sushi V4 | vault | manager `0x81d732702f87d2d652ae79e9f52bf44928eca210` | the manager |
|
|
108
|
+
| Orvex | `orvex` | Orvex, Orvex MetaDEX, orvex.fi, ORVX | vault | manager `0xd01c774d4a66408326bc65728ac5ae5aaf004032` | the manager |
|
|
109
|
+
| Swaap v2 | `swaap` | Swaap, Swaap Finance, swaap.xyz, Balancer, Balancer v2, Balancer v2 vault | vault | manager `0xd315a9c38ec871068fec378e4ce78af528c76293` | the manager |
|
|
110
|
+
| unnamed Balancer v3 vault | `balancer-v3` | Balancer, Balancer v3, Balancer v3 vault | vault | manager `0x28082618ba2073e602230188e4f4c46e9b2169eb` | the manager |
|
|
111
|
+
| Ramses | `ramses` | Ramses, Ramses Exchange, RAM, ramses.xyz, Ramses DLMM | plain | `0xdcd5f77697914e27f56fd263ef82923c8524abac`, `0x43b2bf9f33036a02fc7a00935571c2a6b0108e66` | `0xd0019e86edb35e1fedaab03aed5c3c60f115d28b` |
|
|
112
|
+
| SectorOne | `sectorone` | SectorOne, SectorOne DLMM | plain | `0x3d8dc63ddc9b992cfde89f7aea6f18717e84687d` | none |
|
|
113
|
+
| Hoodit | `hoodit` | Hoodit, hoodit.xyz | plain | `0x22602d966defd638ee94e97a92e2eb0934c3fe1b` | none |
|
|
114
|
+
| GIGA | `giga` | GIGA, GIGA DEX, GigaDEX, gigadex.fi | plain | `0x6fdf38f92ead1adfc04b73aaa947ab254f6c0916` | none |
|
|
115
|
+
| Flap | `flap` | Flap, Flap launchpad, flap.sh | launchpad | `0x0d1ebb179cdbca88d74c923c4255cb2b17474afd` | none |
|
|
116
|
+
| Curve | `curve` | Curve, Curve Finance, CRV, curve.finance | plain | `0x8271e06e5887fe5ba05234f5315c19f3ec90e8ad` | none |
|
|
117
|
+
| Metric | `metric` | Metric, Metric OMM, metric.xyz | plain | `0x2e0a99a2e352043d1ca489cf45bf7b511bccc738` | none |
|
|
118
|
+
| Penguin | `penguin` | Penguin, Penguin launchpad | launchpad | `0x09f1b640d53c9c4c1807bf5aa306745128ee4375` | none |
|
|
119
|
+
| pons | `pons` | pons, pons launchpad | launchpad | `0x7ed598bcef8bd9edd8c97a195c6d13f40801ec7e` | none |
|
|
120
|
+
| Virtuals Protocol | `virtuals` | Virtuals, VIRTUAL, Virtuals Protocol | launchpad | `0xfc2e4da3edb2e18100473339c763705d263d20a9` | none |
|
|
121
|
+
<!-- dex-registry:end -->
|
|
122
|
+
|
|
123
|
+
## Find the pools of an exchange
|
|
124
|
+
|
|
125
|
+
`meta_dex_lookup` returns them: the pools its factories deployed, ranked by
|
|
126
|
+
lifetime volume. With no tool, send one `graph_query_batch`:
|
|
127
|
+
|
|
128
|
+
1. **By factory** (reference R3): one batch member per factory of the row,
|
|
129
|
+
each anchored on its factory. Anchored reads are always admitted and
|
|
130
|
+
answer in under 100 ms, however far behind a family is. Merge the
|
|
131
|
+
members into one ranking by volume. An exchange with three factories is
|
|
132
|
+
three members of one batch, never three turns.
|
|
133
|
+
2. **By manager** for a vault row: a pool manager deploys nothing. Load
|
|
131
134
|
`chain-insights-dex-vault`, which reads the pools from the swaps the
|
|
132
135
|
manager settles.
|
|
133
136
|
|
|
@@ -136,6 +139,10 @@ ranking. Name each pool in full with its lifetime volume: "tokens worth about
|
|
|
136
139
|
228,559,848 USD over its life". A pool's `labels` carry the adapter mark; say
|
|
137
140
|
"an Aero pool", never the mark.
|
|
138
141
|
|
|
142
|
+
To say which exchange a pool belongs to, read its creator with one anchored
|
|
143
|
+
hop (`DEPLOYED_CONTRACT` into the pool) and find that factory in the list
|
|
144
|
+
`meta_dex_lookup` returns with no name, or in the memo.
|
|
145
|
+
|
|
139
146
|
## The plain trail
|
|
140
147
|
|
|
141
148
|
For a `plain` row (Metric, Curve, Trader Joe, Uniswap v3), a swap pays the
|
|
@@ -154,7 +161,8 @@ pool and the pool pays the buyer:
|
|
|
154
161
|
links whose `pools` hold the pool. The recipient is the buyer: an account
|
|
155
162
|
that is not the seller is someone the seller paid through the swap. When
|
|
156
163
|
it is an account, send no second read.
|
|
157
|
-
3. **When the recipient is a contract**, look it up in the
|
|
164
|
+
3. **When the recipient is a contract**, look it up in the
|
|
165
|
+
`meta_dex_lookup` result or the memo. A router of
|
|
158
166
|
a gauge row loads `chain-insights-dex-gauge`. A pool manager of a vault
|
|
159
167
|
row loads `chain-insights-dex-vault`. Never call that contract the buyer.
|
|
160
168
|
4. **The events** behind a link (reference R6): the facts `SWAP` rows of the
|
|
@@ -163,7 +171,7 @@ pool and the pool pays the buyer:
|
|
|
163
171
|
|
|
164
172
|
## How to answer
|
|
165
173
|
|
|
166
|
-
- Lead with the
|
|
174
|
+
- Lead with the exchange you took and its pools, then the sellers, the swap's
|
|
167
175
|
recipient named for what it is (the buyer, the router, the pool manager),
|
|
168
176
|
and the next lead.
|
|
169
177
|
- **The next lead.** End with who to trace next: the buyer's biggest
|
|
@@ -171,8 +179,8 @@ pool and the pool pays the buyer:
|
|
|
171
179
|
`chain-insights-cypher`, anchored on that one address.
|
|
172
180
|
- A pool's volume and a link's totals are lifetime totals. The money of one
|
|
173
181
|
day is a facts read of a pair and that day.
|
|
174
|
-
- Zero
|
|
175
|
-
|
|
182
|
+
- Zero pools from a factory is not "the exchange has no pools": say the
|
|
183
|
+
graph shows none yet for that factory, and name the other factories read.
|
|
176
184
|
- A refusal is an answer: `family_behind`, `anchor_missing` and
|
|
177
185
|
`query_timeout` say the lane cannot search the whole chain now. Say that in
|
|
178
186
|
one line and go on with the anchored reads. Never rephrase the same search.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: 'Chain Insights Exchanges'
|
|
3
3
|
short_description: 'Find an exchange by name, its pools, and who traded on them'
|
|
4
|
-
default_prompt: 'Load chain-insights-cypher first. For a question that names an exchange on robinhood,
|
|
4
|
+
default_prompt: 'Load chain-insights-cypher first. For a question that names an exchange on robinhood, call meta_dex_lookup with the name first; use the memo in this skill only when the tool is not offered, and never ask the user for an address. Take the pools the tool returns, or read them by factory, load the trail-type skill the tool names, and use the tested queries in reference.md.'
|
|
@@ -1,29 +1,11 @@
|
|
|
1
1
|
# Exchange queries (Robinhood Chain)
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
The first step for a named exchange is the `meta_dex_lookup` tool: it
|
|
4
|
+
returns the exchange's addresses and fills these reads in. Change only the
|
|
5
|
+
values: an address from the tool, from the memo in [SKILL.md](SKILL.md) or
|
|
6
|
+
from a row you read, a day, a block. Every address stays in full. Send related reads in one `graph_query_batch`.
|
|
6
7
|
|
|
7
|
-
##
|
|
8
|
-
|
|
9
|
-
```cypher
|
|
10
|
-
USE topology
|
|
11
|
-
MATCH (p:Pool {brand: "aero"}) WHERE p.total_volume_usd IS NOT NULL
|
|
12
|
-
RETURN p.address AS to_address, p.labels AS to_labels, p.total_volume_usd AS total_volume_usd, p.tx_total_count AS tx_total_count ORDER BY p.total_volume_usd DESC LIMIT 10
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
Zero rows means the lane does not serve the brand yet, or the brand is not
|
|
16
|
-
this key. Go to R3 with the memo's factories, and R2 when the memo has no row.
|
|
17
|
-
|
|
18
|
-
## R2. The brands the graph serves
|
|
19
|
-
|
|
20
|
-
```cypher
|
|
21
|
-
USE topology
|
|
22
|
-
MATCH (p:Pool) WHERE p.brand IS NOT NULL
|
|
23
|
-
RETURN DISTINCT p.brand AS brand LIMIT 50
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## R3. Pools of a brand, by one memo factory
|
|
8
|
+
## R3. Pools of an exchange, by one factory
|
|
27
9
|
|
|
28
10
|
One batch member per factory of the row, each with its own `id`. Merge the
|
|
29
11
|
members into one ranking by `total_volume_usd`.
|
|
@@ -34,13 +16,12 @@ MATCH (f:Address {address: "0xc63d7338c178e805c544b8f897066bd3bbcbe136"})-[:DEPL
|
|
|
34
16
|
RETURN f.address AS from_address, p.address AS to_address, p.labels AS to_labels, p.total_volume_usd AS total_volume_usd, p.tx_total_count AS tx_total_count ORDER BY p.total_volume_usd DESC LIMIT 10
|
|
35
17
|
```
|
|
36
18
|
|
|
37
|
-
|
|
19
|
+
up. has two factories: two members of one batch.
|
|
38
20
|
|
|
39
21
|
```json
|
|
40
22
|
{"network": "robinhood", "queries": [
|
|
41
|
-
{"id": "
|
|
42
|
-
{"id": "
|
|
43
|
-
{"id": "trader-joe-3", "query": "<R3 with 0x22602d966defd638ee94e97a92e2eb0934c3fe1b>"}
|
|
23
|
+
{"id": "up-1", "query": "<R3 with 0x1ac9db4a2608ba45d6127b1737949b51bb54b7f3>"},
|
|
24
|
+
{"id": "up-2", "query": "<R3 with 0xfa5429aeba338bea2bfcc1b9a889862ee395bc28>"}
|
|
44
25
|
]}
|
|
45
26
|
```
|
|
46
27
|
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: chain-insights-dex-gauge
|
|
3
|
+
door: meta_dex_lookup
|
|
3
4
|
description: Use for the dex-gauge trail - exchanges whose swaps go through a router and whose liquidity is staked in gauges, such as Aero (Aerodrome, Velodrome), up., Raphael and Topaz on robinhood - when a question asks who sold into a pool of one of them, who bought, who provides liquidity or took the most out, or who to trace next past the router. Loaded by chain-insights-dex for a gauge row of its memo.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Chain Insights: the gauge trail (Aero, up., Raphael, Topaz)
|
|
7
8
|
|
|
8
|
-
Load `chain-insights-cypher` first, then `chain-insights-dex
|
|
9
|
-
|
|
9
|
+
Load `chain-insights-cypher` first, then `chain-insights-dex`: the
|
|
10
|
+
exchange's factories, its routers and its pools come from `meta_dex_lookup`,
|
|
11
|
+
or from the memo there when the host offers no such tool. Their answer
|
|
10
12
|
rules hold here: every address in full, tokens worth an amount in USD, no
|
|
11
13
|
query text in the answer, times from the `_utc` twins.
|
|
12
14
|
|
|
@@ -25,8 +27,8 @@ the router's own transfer in the seller's transaction.
|
|
|
25
27
|
|
|
26
28
|
## Sellers and the buyer, in order
|
|
27
29
|
|
|
28
|
-
1. **The pool.** Take it from `
|
|
29
|
-
memo factory). The busiest Aero pool is
|
|
30
|
+
1. **The pool.** Take it from `meta_dex_lookup` (its pools, by lifetime
|
|
31
|
+
volume), or from `chain-insights-dex` (pools by memo factory). The busiest Aero pool is
|
|
30
32
|
`0x7615926023bb149f36095645c2a81dc367d39750`.
|
|
31
33
|
2. **Sellers into the pool** (G1): its senders on `FLOWS_TO`, ranked by
|
|
32
34
|
lifetime volume. Most of the biggest are contracts: aggregators,
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: chain-insights-dex-launchpad
|
|
3
|
+
door: meta_dex_lookup
|
|
3
4
|
description: Use for the dex-launchpad trail - token launchpads with a bonding curve on robinhood other than Virtuals, such as Penguin and the unnamed bonding-curve launchpad - when a question asks who launched a token there, who bought or sold on its curve, whether and when it graduated, or which pool it moved to. Loaded by chain-insights-dex for a launchpad row of its memo. Virtuals questions belong to chain-insights-virtuals.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Chain Insights: the launchpad trail (Penguin, bonding curves)
|
|
7
8
|
|
|
8
|
-
Load `chain-insights-cypher` first
|
|
9
|
-
|
|
9
|
+
Load `chain-insights-cypher` first. The first step for a launchpad named
|
|
10
|
+
with no address is `meta_dex_lookup` (Penguin, pons, Flap): it returns the
|
|
11
|
+
launchpad's factory and its first reads. With no such tool, the memo of
|
|
12
|
+
`chain-insights-dex` names the factory. Their answer rules hold here:
|
|
10
13
|
every address in full, tokens worth an amount in USD, no query text in the
|
|
11
14
|
answer, times from the `_utc` twins.
|
|
12
15
|
|
|
@@ -59,7 +62,7 @@ name you have not read.
|
|
|
59
62
|
6. When L3 is empty, say the graduation is not in the graph yet. Never guess
|
|
60
63
|
a pool from the token's name.
|
|
61
64
|
7. After graduation the token trades on that pool. Load `chain-insights-dex`
|
|
62
|
-
for the pool's
|
|
65
|
+
for the pool's exchange and its trail.
|
|
63
66
|
|
|
64
67
|
## The next lead
|
|
65
68
|
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: chain-insights-dex-vault
|
|
3
|
+
door: meta_dex_lookup
|
|
3
4
|
description: Use for the dex-vault trail - exchanges where one pool manager contract holds every pool, such as Uniswap v4, Balancer v2, Balancer v3 and PancakeSwap Infinity on robinhood - when a seller's swap names the pool manager or vault, when a question asks who bought past the manager, or which pools such an exchange has. Loaded by chain-insights-dex for a vault row of its memo.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Chain Insights: the vault trail (Uniswap v4, Balancer, PancakeSwap Infinity)
|
|
7
8
|
|
|
8
|
-
Load `chain-insights-cypher` first, then `chain-insights-dex
|
|
9
|
-
|
|
9
|
+
Load `chain-insights-cypher` first, then `chain-insights-dex`: the
|
|
10
|
+
exchange's manager comes from `meta_dex_lookup`, or from the memo there when
|
|
11
|
+
the host offers no such tool. Their answer rules hold here: every
|
|
10
12
|
address in full, tokens worth an amount in USD, no query text in the answer,
|
|
11
13
|
times from the `_utc` twins.
|
|
12
14
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: chain-insights-virtuals
|
|
3
|
+
door: meta_dex_lookup
|
|
3
4
|
description: Use when investigating Virtuals Protocol agents with Chain Insights - who created an agent or thousands of agents, who is behind a creator wallet, whether a creator earned on its agents, whether an agent was rugged or dumped, whether agents are run by a cartel of linked wallets or snipers, who holds or bought an agent token, whether a buyer or receiver of an agent pool with Scam or Victim labels is really a scammer, why an agent token shows no USD value, what happened after an agent graduated, whether Virtuals contract addresses or queries carry over to another network such as Base, or when a question names Virtuals, an agent token, VIRTUAL, a bonding curve, a launchpad or a creator wallet.
|
|
4
5
|
---
|
|
5
6
|
|
|
@@ -17,7 +18,10 @@ three hold even when it cannot load:
|
|
|
17
18
|
|
|
18
19
|
This skill adds what Virtuals needs on top: how an agent is built on
|
|
19
20
|
chain, where its creator is recorded, and one tested query per
|
|
20
|
-
investigation.
|
|
21
|
+
investigation. When the question names Virtuals and no address, the first
|
|
22
|
+
step is `meta_dex_lookup` with the name "Virtuals": it returns the bonding
|
|
23
|
+
factory and its launches. The contracts below hold when the tool is not
|
|
24
|
+
offered. The queries are in [reference.md](reference.md).
|
|
21
25
|
|
|
22
26
|
## How an agent is built
|
|
23
27
|
|
|
@@ -64,13 +68,13 @@ agent is created on Uniswap's own v2 factory
|
|
|
64
68
|
`0x8bceaa40b9acdfaedf85adf4ff01f5ad6517937f` (the memo's `uniswap-v2` row):
|
|
65
69
|
most of that factory's pairs are Virtuals agents.
|
|
66
70
|
|
|
67
|
-
<!--
|
|
68
|
-
The factories of the
|
|
71
|
+
<!-- dex-registry:start -->
|
|
72
|
+
The factories of the exchange registry, version 2, row `virtuals`:
|
|
69
73
|
|
|
70
74
|
| Factory | Address |
|
|
71
75
|
|---|---|
|
|
72
76
|
| factory | `0xfc2e4da3edb2e18100473339c763705d263d20a9` |
|
|
73
|
-
<!--
|
|
77
|
+
<!-- dex-registry:end -->
|
|
74
78
|
|
|
75
79
|
**Hubs.** These carry millions of transactions. Keep them out of buyer,
|
|
76
80
|
funder and shared-wallet lists **by address**: the graph does not mark
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"format-DB2IH2U5.mjs","names":[],"sources":["../src/mcp/format.ts"],"sourcesContent":["import type { McpTool } from './schema-cache.js'\n\nconst NAME_WIDTH = 30\nconst DESC_MAX = 60\n\nfunction wrapText(value: string, maxWidth: number): string[] {\n const words = value.trim().split(/\\s+/).filter(Boolean)\n if (words.length === 0) return ['']\n\n const lines: string[] = []\n let current = ''\n for (const word of words) {\n if (word.length > maxWidth) {\n if (current) {\n lines.push(current)\n current = ''\n }\n let remainder = word\n while (remainder.length > maxWidth) {\n lines.push(remainder.slice(0, maxWidth))\n remainder = remainder.slice(maxWidth)\n }\n current = remainder\n continue\n }\n\n if (!current) {\n current = word\n } else if (current.length + 1 + word.length <= maxWidth) {\n current += ` ${word}`\n } else {\n lines.push(current)\n current = word\n }\n }\n if (current) lines.push(current)\n return lines\n}\n\n/**\n * Formats an array of MCP tools as a plain text table string.\n * Returns \"No tools available.\" for an empty array.\n * Caller controls output — use console.log(formatToolsTable(tools)).\n */\nexport function formatToolsTable(tools: McpTool[]): string {\n if (tools.length === 0) return 'No tools available.'\n const nameWidth = Math.max(\n NAME_WIDTH,\n 'Remote GraphRAG tool'.length,\n ...tools.map((t) => t.name.length)\n )\n const header = `${'Remote GraphRAG tool'.padEnd(nameWidth)} Description`\n const divider = '-'.repeat(nameWidth) + ' ' + '-'.repeat(DESC_MAX)\n const rows = tools.flatMap((tool) => {\n const descriptionLines = wrapText(tool.description ?? '', DESC_MAX)\n return descriptionLines.map(\n (description, index) => `${(index === 0 ? tool.name : '').padEnd(nameWidth)} ${description}`\n )\n })\n return [header, divider, ...rows].join('\\n')\n}\n"],"mappings":";AAEA,MAAM,aAAa;AACnB,MAAM,WAAW;AAEjB,SAAS,SAAS,OAAe,UAA4B;CAC3D,MAAM,QAAQ,MAAM,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,OAAO,OAAO;CACtD,IAAI,MAAM,WAAW,GAAG,OAAO,CAAC,EAAE;CAElC,MAAM,QAAkB,CAAC;CACzB,IAAI,UAAU;CACd,KAAK,MAAM,QAAQ,OAAO;EACxB,IAAI,KAAK,SAAS,UAAU;GAC1B,IAAI,SAAS;IACX,MAAM,KAAK,OAAO;IAClB,UAAU;GACZ;GACA,IAAI,YAAY;GAChB,OAAO,UAAU,SAAS,UAAU;IAClC,MAAM,KAAK,UAAU,MAAM,GAAG,QAAQ,CAAC;IACvC,YAAY,UAAU,MAAM,QAAQ;GACtC;GACA,UAAU;GACV;EACF;EAEA,IAAI,CAAC,SACH,UAAU;OACL,IAAI,QAAQ,SAAS,IAAI,KAAK,UAAU,UAC7C,WAAW,IAAI;OACV;GACL,MAAM,KAAK,OAAO;GAClB,UAAU;EACZ;CACF;CACA,IAAI,SAAS,MAAM,KAAK,OAAO;CAC/B,OAAO;AACT;;;;;;AAOA,SAAgB,iBAAiB,OAA0B;CACzD,IAAI,MAAM,WAAW,GAAG,OAAO;CAC/B,MAAM,YAAY,KAAK,IACrB,YACA,IACA,GAAG,MAAM,KAAK,MAAM,EAAE,KAAK,MAAM,CACnC;CASA,OAAO;EAAC,GARU,uBAAuB,OAAO,SAAS,EAAE;EAC3C,IAAI,OAAO,SAAS,IAAI,OAAO,IAAI,OAAO,QAAQ;EAOzC,GANZ,MAAM,SAAS,SAAS;GAEnC,OADyB,SAAS,KAAK,eAAe,IAAI,QACpC,CAAC,CAAC,KACrB,aAAa,UAAU,IAAI,UAAU,IAAI,KAAK,OAAO,GAAA,CAAI,OAAO,SAAS,EAAE,IAAI,aAClF;EACF,CAC+B;CAAC,CAAC,CAAC,KAAK,IAAI;AAC7C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tool-visibility-kclgGKL5.mjs","names":[],"sources":["../src/mcp/tool-visibility.ts"],"sourcesContent":["import { McpToolError, formatMcpToolError } from './print-result.js'\n\nexport const HIDDEN_REMOTE_TOOL_NAMES = new Set([\n 'topup',\n 'address_risk',\n // Hidden until its verdict is fixed: never listed, never registered, never\n // called through the proxy. The remote graph endpoint does not serve it.\n 'aml_address_risk',\n 'trace_victim_funds',\n 'trace_suspect_funds',\n 'trace_deposit_sources',\n 'trace_funds',\n 'track_funds',\n // Retired tools: never exposed publicly. Built by concatenation so the\n // retired names do not appear as literals in this file.\n ['aml_trace_victim', '_funds'].join(''),\n ['aml_trace_suspect', '_funds'].join(''),\n ['aml_trace_deposit', '_sources'].join(''),\n 'network_capabilities',\n 'usage_status',\n 'subscription_status',\n 'balance',\n 'help',\n ['money', '_flows_between_exchanges'].join(''),\n 'address_connection_risk',\n])\n\nexport const PUBLIC_MCP_TOOL_REQUIRED_ARGS: Record<string, string[]> = {\n graph_query: ['query', 'network'],\n graph_query_batch: ['network', 'queries'],\n}\n\n// normalizeRemoteToolArguments FILTERS pass-through arguments to this list, so\n// an argument that is missing here is silently STRIPPED and the caller gets a\n// default-bounded result with no error and no warning. `time_scope` shipped\n// broken for exactly this reason. Every tunable search bound below\n// (per_address_limit, row_limit) must therefore be listed the moment it\n// appears on a tool schema, and is covered end-to-end through the proxy in\n// tests/mcp-proxy.test.ts.\nexport const PUBLIC_MCP_TOOL_ALLOWED_ARGS: Record<string, string[]> = {\n // `time_scope` narrows a `USE topology` query to a temporal-shard subset\n graph_query: ['query', 'network', 'time_scope'],\n graph_query_batch: ['network', 'queries', 'per_query_timeout_seconds', 'time_scope'],\n}\n\nexport function isHiddenRemoteToolName(name: string): boolean {\n return HIDDEN_REMOTE_TOOL_NAMES.has(name)\n}\n\n/**\n * True for an MCP Apps tool only a view may call: `_meta.ui.visibility` is set\n * and does not include \"model\" (for example graph_expand, visibility [\"app\"]).\n * Such a tool never appears in a tool list built for the model or the CLI.\n */\nexport function isAppOnlyTool(tool: { _meta?: Record<string, unknown> }): boolean {\n const ui = tool._meta?.ui\n if (!ui || typeof ui !== 'object' || Array.isArray(ui)) return false\n const visibility = (ui as Record<string, unknown>).visibility\n return Array.isArray(visibility) && !visibility.includes('model')\n}\n\nexport function visibleRemoteTools<T extends { name: string; _meta?: Record<string, unknown> }>(\n tools: T[]\n): T[] {\n return tools.filter((tool) => !isHiddenRemoteToolName(tool.name) && !isAppOnlyTool(tool))\n}\n\nexport function assertPublicMcpToolName(name: string): void {\n if (!isHiddenRemoteToolName(name)) return\n const replacement =\n name === 'network_capabilities'\n ? ' Use meta_network_capabilities instead.'\n : name === 'usage_status'\n ? ' Use meta_usage_status instead.'\n : name === 'subscription_status'\n ? ' Use meta_subscription_status instead.'\n : name === 'balance'\n ? ' Use wallet_balance instead.'\n : name === 'help'\n ? ' Use meta_help instead.'\n : ''\n throw new Error(`MCP tool '${name}' is not exposed by Chain Insights.${replacement}`)\n}\n\nexport function formatMcpCallError(tool: string, err: unknown): string {\n // A tool error with an envelope is the server's own answer: its text, then the\n // line of its error_detail. It is never matched against the unknown-tool\n // pattern below. A tool error with no envelope keeps the old reading, because\n // a server can answer an unknown tool as an error reply.\n if (err instanceof McpToolError && err.errorDetail) return formatMcpToolError(err)\n const message = err instanceof Error ? err.message : String(err)\n if (/\\bunknown tool\\b|\\btool\\b.*\\bnot found\\b/i.test(message)) {\n return `Unknown MCP tool \"${tool}\". Run \\`cia mcp tools --refresh\\` to list available tools.`\n }\n return message\n}\n\nexport function validatePublicMcpToolArguments(name: string, args: Record<string, unknown>): void {\n const allowedArgs = PUBLIC_MCP_TOOL_ALLOWED_ARGS[name]\n if (!allowedArgs) return\n\n const unsupportedArgs = Object.keys(args).filter((argName) => !allowedArgs.includes(argName))\n if (unsupportedArgs.length === 0) return\n\n throw new Error(\n [\n `Unsupported argument${unsupportedArgs.length === 1 ? '' : 's'} for ${name}: ${unsupportedArgs.join(', ')}.`,\n `Allowed arguments: ${allowedArgs.join(', ')}.`,\n ].join(' ')\n )\n}\n"],"mappings":";;;;;;;;;;;;;;AAEA,MAAa,2CAA2B,IAAI,IAAI;CAC9C;CACA;CAGA;CACA;CACA;CACA;CACA;CACA;CAGA,CAAC,oBAAoB,QAAQ,CAAC,CAAC,KAAK,EAAE;CACtC,CAAC,qBAAqB,QAAQ,CAAC,CAAC,KAAK,EAAE;CACvC,CAAC,qBAAqB,UAAU,CAAC,CAAC,KAAK,EAAE;CACzC;CACA;CACA;CACA;CACA;CACA,CAAC,SAAS,0BAA0B,CAAC,CAAC,KAAK,EAAE;CAC7C;AACF,CAAC;AAED,MAAa,gCAA0D;CACrE,aAAa,CAAC,SAAS,SAAS;CAChC,mBAAmB,CAAC,WAAW,SAAS;AAC1C;AASA,MAAa,+BAAyD;CAEpE,aAAa;EAAC;EAAS;EAAW;CAAY;CAC9C,mBAAmB;EAAC;EAAW;EAAW;EAA6B;CAAY;AACrF;AAEA,SAAgB,uBAAuB,MAAuB;CAC5D,OAAO,yBAAyB,IAAI,IAAI;AAC1C;;;;;;AAOA,SAAgB,cAAc,MAAoD;CAChF,MAAM,KAAK,KAAK,OAAO;CACvB,IAAI,CAAC,MAAM,OAAO,OAAO,YAAY,MAAM,QAAQ,EAAE,GAAG,OAAO;CAC/D,MAAM,aAAc,GAA+B;CACnD,OAAO,MAAM,QAAQ,UAAU,KAAK,CAAC,WAAW,SAAS,OAAO;AAClE;AAEA,SAAgB,mBACd,OACK;CACL,OAAO,MAAM,QAAQ,SAAS,CAAC,uBAAuB,KAAK,IAAI,KAAK,CAAC,cAAc,IAAI,CAAC;AAC1F;AAEA,SAAgB,wBAAwB,MAAoB;CAC1D,IAAI,CAAC,uBAAuB,IAAI,GAAG;CAanC,MAAM,IAAI,MAAM,aAAa,KAAK,qCAXhC,SAAS,yBACL,4CACA,SAAS,iBACP,oCACA,SAAS,wBACP,2CACA,SAAS,YACP,iCACA,SAAS,SACP,4BACA,IACsE;AACtF;AAEA,SAAgB,mBAAmB,MAAc,KAAsB;CAKrE,IAAI,eAAe,gBAAgB,IAAI,aAAa,OAAO,mBAAmB,GAAG;CACjF,MAAM,UAAU,eAAe,QAAQ,IAAI,UAAU,OAAO,GAAG;CAC/D,IAAI,4CAA4C,KAAK,OAAO,GAC1D,OAAO,qBAAqB,KAAK;CAEnC,OAAO;AACT;AAEA,SAAgB,+BAA+B,MAAc,MAAqC;CAChG,MAAM,cAAc,6BAA6B;CACjD,IAAI,CAAC,aAAa;CAElB,MAAM,kBAAkB,OAAO,KAAK,IAAI,CAAC,CAAC,QAAQ,YAAY,CAAC,YAAY,SAAS,OAAO,CAAC;CAC5F,IAAI,gBAAgB,WAAW,GAAG;CAElC,MAAM,IAAI,MACR,CACE,uBAAuB,gBAAgB,WAAW,IAAI,KAAK,IAAI,OAAO,KAAK,IAAI,gBAAgB,KAAK,IAAI,EAAE,IAC1G,sBAAsB,YAAY,KAAK,IAAI,EAAE,EAC/C,CAAC,CAAC,KAAK,GAAG,CACZ;AACF"}
|