chain-insights 0.77.1 → 0.79.2
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 +39 -15
- package/dist/cli.mjs +39 -15
- package/dist/cli.mjs.map +1 -1
- package/dist/deployer-screen-4AxZhsrO.cjs +446 -0
- package/dist/deployer-screen-eix6pvW7.mjs +413 -0
- package/dist/deployer-screen-eix6pvW7.mjs.map +1 -0
- package/dist/{dex-registry-CZQB2YhU.cjs → dex-registry-DdXOg5On.cjs} +4 -0
- package/dist/{dex-registry-D6Xxi_vr.mjs → dex-registry-sPTFuCrP.mjs} +5 -1
- package/dist/dex-registry-sPTFuCrP.mjs.map +1 -0
- package/dist/{dex-tool-DsM-pSku.cjs → dex-tool-CDmhhXfk.cjs} +3 -3
- package/dist/{dex-tool-BoAYqhZO.mjs → dex-tool-D61sIjpq.mjs} +4 -4
- package/dist/{dex-tool-BoAYqhZO.mjs.map → dex-tool-D61sIjpq.mjs.map} +1 -1
- package/dist/mcp-proxy.cjs +18 -4
- package/dist/mcp-proxy.d.cts.map +1 -1
- package/dist/mcp-proxy.d.mts.map +1 -1
- package/dist/mcp-proxy.mjs +18 -4
- package/dist/mcp-proxy.mjs.map +1 -1
- package/dist/{token-lookup-XnyisLQW.mjs → token-lookup-Bv_Fviis.mjs} +5 -4
- package/dist/token-lookup-Bv_Fviis.mjs.map +1 -0
- package/dist/{token-lookup-BJ00JO9A.cjs → token-lookup-DBN3Lxl7.cjs} +15 -2
- package/dist/{tool-visibility-Dy3psowS.mjs → tool-visibility-DlxA8R00.mjs} +3 -2
- package/dist/tool-visibility-DlxA8R00.mjs.map +1 -0
- package/dist/{tool-visibility-DIpgPULN.cjs → tool-visibility-DwNr6Rp9.cjs} +2 -1
- package/docs/contributing.md +4 -2
- package/docs/development.md +3 -2
- package/docs/graph-tools.md +7 -2
- package/docs/mcp-proxy.md +49 -3
- package/docs/stability.md +3 -2
- package/package.json +2 -2
- package/registry/README.md +16 -10
- package/registry/robinhood.json +192 -4
- package/registry/robinhood.md +93 -5
- package/skills/chain-insights-dex/SKILL.md +8 -2
- package/skills/chain-insights-dex-launchpad/SKILL.md +7 -10
- package/skills/chain-insights-virtuals/SKILL.md +1 -1
- package/dist/dex-registry-D6Xxi_vr.mjs.map +0 -1
- package/dist/token-lookup-XnyisLQW.mjs.map +0 -1
- package/dist/tool-visibility-Dy3psowS.mjs.map +0 -1
package/registry/robinhood.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "chain-insights.dex-registry.v1",
|
|
3
3
|
"network": "robinhood",
|
|
4
|
-
"registry_version":
|
|
5
|
-
"recorded_on": "2026-11-
|
|
4
|
+
"registry_version": 8,
|
|
5
|
+
"recorded_on": "2026-11-06",
|
|
6
6
|
"rows": [
|
|
7
7
|
{
|
|
8
8
|
"dex": "aero",
|
|
@@ -24,6 +24,16 @@
|
|
|
24
24
|
"0x0fef9e88a7b76bcdbf451780c6774fe32965ee98": "router",
|
|
25
25
|
"0x9ee35bf1bd69a03c6f0393582030fce8bb93d418": "router"
|
|
26
26
|
},
|
|
27
|
+
"helpers": [
|
|
28
|
+
"0x4857db576ee0e45f10525ec59527bfd10beec60b",
|
|
29
|
+
"0xf437f62053acb121665b8fdbfea8f214fb8e589d",
|
|
30
|
+
"0x220d17d3260f130a4f91a1ba2d21f8f75f624942",
|
|
31
|
+
"0xe033f4bd3d7ccf537a2f954ecdc8eb1218e3b7a6",
|
|
32
|
+
"0x750a4e760873c863daf22890b8db55f4c71f1114",
|
|
33
|
+
"0x045ccb9d8a98cb748b39253005be2d6d5b955c14",
|
|
34
|
+
"0x5874f5b8728776993de4c90c61473d76eeab90db",
|
|
35
|
+
"0xe5b468c4e13b45ec10a1d22ace7e2c0fc0671da0"
|
|
36
|
+
],
|
|
27
37
|
"factories": [
|
|
28
38
|
"0xc63d7338c178e805c544b8f897066bd3bbcbe136"
|
|
29
39
|
],
|
|
@@ -275,12 +285,15 @@
|
|
|
275
285
|
"uniswap-v2"
|
|
276
286
|
],
|
|
277
287
|
"roles": {
|
|
278
|
-
"0x8bceaa40b9acdfaedf85adf4ff01f5ad6517937f": "factory"
|
|
288
|
+
"0x8bceaa40b9acdfaedf85adf4ff01f5ad6517937f": "factory",
|
|
289
|
+
"0x89e5db8b5aa49aa85ac63f691524311aeb649eba": "router"
|
|
279
290
|
},
|
|
280
291
|
"factories": [
|
|
281
292
|
"0x8bceaa40b9acdfaedf85adf4ff01f5ad6517937f"
|
|
282
293
|
],
|
|
283
|
-
"routers": [
|
|
294
|
+
"routers": [
|
|
295
|
+
"0x89e5db8b5aa49aa85ac63f691524311aeb649eba"
|
|
296
|
+
],
|
|
284
297
|
"example_pool": "0x4a6a85252a6f6b383a5f747259ee157e65ff1307",
|
|
285
298
|
"pool_floor": 10000,
|
|
286
299
|
"since_block": 0,
|
|
@@ -309,6 +322,33 @@
|
|
|
309
322
|
"since_block": 0,
|
|
310
323
|
"source": "https://developers.uniswap.org/docs/protocols/v3/deployments/v3-robinhood-chain-deployments"
|
|
311
324
|
},
|
|
325
|
+
{
|
|
326
|
+
"dex": "eth-usdg-router",
|
|
327
|
+
"display": "unnamed ETH/USDG swap router (routes into Uniswap v3 and v4)",
|
|
328
|
+
"aliases": [
|
|
329
|
+
"ETH/USDG router",
|
|
330
|
+
"ETH/USDG swap router",
|
|
331
|
+
"USDG swap router"
|
|
332
|
+
],
|
|
333
|
+
"trail_type": "plain",
|
|
334
|
+
"adapters": [
|
|
335
|
+
"uniswap-v3"
|
|
336
|
+
],
|
|
337
|
+
"roles": {
|
|
338
|
+
"0x1f7d7550b1b028f7571e69a784071f0205fd2efa": "factory",
|
|
339
|
+
"0x7a39b98d31f84152bc724bc5ddb41dbcb338f2a5": "router"
|
|
340
|
+
},
|
|
341
|
+
"factories": [
|
|
342
|
+
"0x1f7d7550b1b028f7571e69a784071f0205fd2efa"
|
|
343
|
+
],
|
|
344
|
+
"routers": [
|
|
345
|
+
"0x7a39b98d31f84152bc724bc5ddb41dbcb338f2a5"
|
|
346
|
+
],
|
|
347
|
+
"example_pool": "0x52e65b17fb6e5ba00ed806f37afcd2daa50271ca",
|
|
348
|
+
"pool_floor": null,
|
|
349
|
+
"since_block": 105000018,
|
|
350
|
+
"source": "https://github.com/chainswarm/scout-agent/issues/164"
|
|
351
|
+
},
|
|
312
352
|
{
|
|
313
353
|
"dex": "uniswap-v4",
|
|
314
354
|
"display": "Uniswap v4",
|
|
@@ -326,6 +366,10 @@
|
|
|
326
366
|
"roles": {
|
|
327
367
|
"0x8366a39cc670b4001a1121b8f6a443a643e40951": "manager"
|
|
328
368
|
},
|
|
369
|
+
"helpers": [
|
|
370
|
+
"0x204faca1764b154221e35c0d20abb3c525710498",
|
|
371
|
+
"0x8876789976decbfcbbbe364623c63652db8c0904"
|
|
372
|
+
],
|
|
329
373
|
"factories": [
|
|
330
374
|
"0x8366a39cc670b4001a1121b8f6a443a643e40951"
|
|
331
375
|
],
|
|
@@ -897,6 +941,150 @@
|
|
|
897
941
|
"pool_floor": null,
|
|
898
942
|
"since_block": 0,
|
|
899
943
|
"source": "https://github.com/chainswarm/AP1000/blob/main/openspec/changes/archive/2026-10-16-silent-factory-discovery-and-labels/design.md"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"dex": "weth-unwrap-helper",
|
|
947
|
+
"display": "unnamed WETH-unwrap helper of Uniswap sell routes",
|
|
948
|
+
"aliases": [
|
|
949
|
+
"WETH-unwrap helper"
|
|
950
|
+
],
|
|
951
|
+
"trail_type": "plain",
|
|
952
|
+
"adapters": [
|
|
953
|
+
"uniswap-v3"
|
|
954
|
+
],
|
|
955
|
+
"roles": {
|
|
956
|
+
"0x1f7d7550b1b028f7571e69a784071f0205fd2efa": "factory",
|
|
957
|
+
"0x0849c295bc609da9fde347834f92a75c2c4eb178": "router"
|
|
958
|
+
},
|
|
959
|
+
"factories": [
|
|
960
|
+
"0x1f7d7550b1b028f7571e69a784071f0205fd2efa"
|
|
961
|
+
],
|
|
962
|
+
"routers": [
|
|
963
|
+
"0x0849c295bc609da9fde347834f92a75c2c4eb178"
|
|
964
|
+
],
|
|
965
|
+
"example_pool": null,
|
|
966
|
+
"pool_floor": null,
|
|
967
|
+
"since_block": 103295248,
|
|
968
|
+
"source": "https://github.com/chainswarm/scout-agent/issues/162"
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"dex": "realm-etf",
|
|
972
|
+
"display": "Realm ETF launchpad",
|
|
973
|
+
"aliases": [
|
|
974
|
+
"Realm",
|
|
975
|
+
"Realm ETF",
|
|
976
|
+
"RealmEtf"
|
|
977
|
+
],
|
|
978
|
+
"trail_type": "launchpad",
|
|
979
|
+
"adapters": [
|
|
980
|
+
"uniswap-v4"
|
|
981
|
+
],
|
|
982
|
+
"roles": {
|
|
983
|
+
"0x124ad86c732b16366ed26445e3943adef635f123": "factory",
|
|
984
|
+
"0x74dd0a05540f7c1ae419c18f8d55ff220076e8c8": "router"
|
|
985
|
+
},
|
|
986
|
+
"factories": [
|
|
987
|
+
"0x124ad86c732b16366ed26445e3943adef635f123"
|
|
988
|
+
],
|
|
989
|
+
"routers": [
|
|
990
|
+
"0x74dd0a05540f7c1ae419c18f8d55ff220076e8c8"
|
|
991
|
+
],
|
|
992
|
+
"example_pool": null,
|
|
993
|
+
"pool_floor": null,
|
|
994
|
+
"since_block": 101031051,
|
|
995
|
+
"source": "https://sourcify.dev/server/v2/contract/4663/0x74dd0a05540f7c1ae419c18f8d55ff220076e8c8"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"dex": "pangea",
|
|
999
|
+
"display": "Pangea launch factory",
|
|
1000
|
+
"aliases": [
|
|
1001
|
+
"Pangea",
|
|
1002
|
+
"Pangea launch"
|
|
1003
|
+
],
|
|
1004
|
+
"trail_type": "launchpad",
|
|
1005
|
+
"adapters": [
|
|
1006
|
+
"uniswap-v4"
|
|
1007
|
+
],
|
|
1008
|
+
"roles": {
|
|
1009
|
+
"0xadf9c12eaf14da2f7780c0587cc06034f1edf8d3": "factory"
|
|
1010
|
+
},
|
|
1011
|
+
"helpers": [
|
|
1012
|
+
"0x6ea418b883571af6155145d5604187f92b2d7b92"
|
|
1013
|
+
],
|
|
1014
|
+
"factories": [
|
|
1015
|
+
"0xadf9c12eaf14da2f7780c0587cc06034f1edf8d3"
|
|
1016
|
+
],
|
|
1017
|
+
"routers": [],
|
|
1018
|
+
"example_pool": null,
|
|
1019
|
+
"pool_floor": null,
|
|
1020
|
+
"since_block": 96290239,
|
|
1021
|
+
"source": "https://sourcify.dev/server/v2/contract/4663/0xadf9c12eaf14da2f7780c0587cc06034f1edf8d3"
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"dex": "icecreamswap",
|
|
1025
|
+
"display": "IceCreamSwap aggregator",
|
|
1026
|
+
"aliases": [
|
|
1027
|
+
"IceCreamSwap",
|
|
1028
|
+
"IceCream",
|
|
1029
|
+
"Ice Cream Swap"
|
|
1030
|
+
],
|
|
1031
|
+
"trail_type": "plain",
|
|
1032
|
+
"adapters": [
|
|
1033
|
+
"uniswap-v3"
|
|
1034
|
+
],
|
|
1035
|
+
"roles": {
|
|
1036
|
+
"0x1f7d7550b1b028f7571e69a784071f0205fd2efa": "factory",
|
|
1037
|
+
"0x603206d6105217dd972e4ab30676a220ca393346": "router",
|
|
1038
|
+
"0x2ca37ff95caf25366ef16fc2e655b78a165d125f": "router",
|
|
1039
|
+
"0xec9aa0a6c2372131a0502aba6188269ab52cacb5": "router",
|
|
1040
|
+
"0xe6eeda550918638529c6cf2ea14f9ea0572d6f88": "router"
|
|
1041
|
+
},
|
|
1042
|
+
"factories": [
|
|
1043
|
+
"0x1f7d7550b1b028f7571e69a784071f0205fd2efa"
|
|
1044
|
+
],
|
|
1045
|
+
"routers": [
|
|
1046
|
+
"0x603206d6105217dd972e4ab30676a220ca393346",
|
|
1047
|
+
"0x2ca37ff95caf25366ef16fc2e655b78a165d125f",
|
|
1048
|
+
"0xec9aa0a6c2372131a0502aba6188269ab52cacb5",
|
|
1049
|
+
"0xe6eeda550918638529c6cf2ea14f9ea0572d6f88"
|
|
1050
|
+
],
|
|
1051
|
+
"example_pool": null,
|
|
1052
|
+
"pool_floor": null,
|
|
1053
|
+
"since_block": 3087983,
|
|
1054
|
+
"source": "https://sourcify.dev/server/v2/contract/4663/0x603206d6105217dd972e4ab30676a220ca393346"
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"dex": "per-launch-v4-router",
|
|
1058
|
+
"display": "unnamed per-launch Uniswap v4 swap routers",
|
|
1059
|
+
"aliases": [
|
|
1060
|
+
"per-launch router",
|
|
1061
|
+
"per-launch v4 router"
|
|
1062
|
+
],
|
|
1063
|
+
"trail_type": "vault",
|
|
1064
|
+
"adapters": [
|
|
1065
|
+
"uniswap-v4"
|
|
1066
|
+
],
|
|
1067
|
+
"roles": {
|
|
1068
|
+
"0x8366a39cc670b4001a1121b8f6a443a643e40951": "manager"
|
|
1069
|
+
},
|
|
1070
|
+
"helpers": [
|
|
1071
|
+
"0xe672754903b2be414abbec68ee1a6d7884ba993b",
|
|
1072
|
+
"0x0c388f9d803e17addc439a50a9c9b9e3937221f5",
|
|
1073
|
+
"0x3201074c2a813d9827c563395c16a86560f57437",
|
|
1074
|
+
"0x80d49714825e23d4801549a765cb88cf917f2f02",
|
|
1075
|
+
"0xf5b7cba51da2cef7fb334aa34c83203efa1f083e",
|
|
1076
|
+
"0xff4b110e9e3b70de24490bef682f18a2342b55a9"
|
|
1077
|
+
],
|
|
1078
|
+
"factories": [
|
|
1079
|
+
"0x8366a39cc670b4001a1121b8f6a443a643e40951"
|
|
1080
|
+
],
|
|
1081
|
+
"routers": [
|
|
1082
|
+
"0x8366a39cc670b4001a1121b8f6a443a643e40951"
|
|
1083
|
+
],
|
|
1084
|
+
"example_pool": null,
|
|
1085
|
+
"pool_floor": null,
|
|
1086
|
+
"since_block": 90471772,
|
|
1087
|
+
"source": "https://github.com/chainswarm/scout-agent/issues/134"
|
|
900
1088
|
}
|
|
901
1089
|
]
|
|
902
1090
|
}
|
package/registry/robinhood.md
CHANGED
|
@@ -6,9 +6,9 @@ columns and the check are in the [README](README.md). The served copy is
|
|
|
6
6
|
[robinhood.json](robinhood.json), written by
|
|
7
7
|
`node scripts/pin-dex-registry.mjs registry/robinhood.md`.
|
|
8
8
|
|
|
9
|
-
Registry version:
|
|
9
|
+
Registry version: 8.
|
|
10
10
|
|
|
11
|
-
Recorded on: 2026-11-
|
|
11
|
+
Recorded on: 2026-11-06.
|
|
12
12
|
|
|
13
13
|
## Rows
|
|
14
14
|
|
|
@@ -18,6 +18,14 @@ Recorded on: 2026-11-02.
|
|
|
18
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
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
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
|
+
| aero | Aero (Aerodrome and Velodrome, merged) | | gauge | cl-gauge-v1 | helper | `0x4857db576ee0e45f10525ec59527bfd10beec60b` | 93974253 | - | - | [position NFT named by the verified gauge](https://sourcify.dev/server/v2/contract/4663/0x89e91a960154b1ed6c093039a8f0725ab67d14e0) | served |
|
|
22
|
+
| aero | Aero (Aerodrome and Velodrome, merged) | | gauge | cl-gauge-v1 | helper | `0xf437f62053acb121665b8fdbfea8f214fb8e589d` | 93974455 | - | - | [gauge factory of the verified gauge](https://sourcify.dev/server/v2/contract/4663/0x89e91a960154b1ed6c093039a8f0725ab67d14e0) | served |
|
|
23
|
+
| aero | Aero (Aerodrome and Velodrome, merged) | | gauge | cl-gauge-v1 | helper | `0x220d17d3260f130a4f91a1ba2d21f8f75f624942` | 94581179 | - | - | [clone of the verified ArbCLGauge](https://sourcify.dev/server/v2/contract/4663/0x89e91a960154b1ed6c093039a8f0725ab67d14e0) | served |
|
|
24
|
+
| aero | Aero (Aerodrome and Velodrome, merged) | | gauge | cl-gauge-v1 | helper | `0xe033f4bd3d7ccf537a2f954ecdc8eb1218e3b7a6` | 94581067 | - | - | [clone of the verified ArbCLGauge](https://sourcify.dev/server/v2/contract/4663/0x89e91a960154b1ed6c093039a8f0725ab67d14e0) | served |
|
|
25
|
+
| aero | Aero (Aerodrome and Velodrome, merged) | | gauge | cl-gauge-v1 | helper | `0x750a4e760873c863daf22890b8db55f4c71f1114` | 94581160 | - | - | [clone of the verified ArbCLGauge](https://sourcify.dev/server/v2/contract/4663/0x89e91a960154b1ed6c093039a8f0725ab67d14e0) | served |
|
|
26
|
+
| aero | Aero (Aerodrome and Velodrome, merged) | | gauge | cl-gauge-v1 | helper | `0x045ccb9d8a98cb748b39253005be2d6d5b955c14` | 94581169 | - | - | [clone of the verified ArbCLGauge](https://sourcify.dev/server/v2/contract/4663/0x89e91a960154b1ed6c093039a8f0725ab67d14e0) | served |
|
|
27
|
+
| aero | Aero (Aerodrome and Velodrome, merged) | | gauge | cl-gauge-v1 | helper | `0x5874f5b8728776993de4c90c61473d76eeab90db` | 94581072 | - | - | [clone of the verified ArbCLGauge](https://sourcify.dev/server/v2/contract/4663/0x89e91a960154b1ed6c093039a8f0725ab67d14e0) | served |
|
|
28
|
+
| aero | Aero (Aerodrome and Velodrome, merged) | | gauge | cl-gauge-v1 | helper | `0xe5b468c4e13b45ec10a1d22ace7e2c0fc0671da0` | 94581094 | - | - | [clone of the verified ArbCLGauge](https://sourcify.dev/server/v2/contract/4663/0x89e91a960154b1ed6c093039a8f0725ab67d14e0) | served |
|
|
21
29
|
| 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
30
|
| 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
31
|
| up | up. | | gauge | cl-gauge-v1 | router | `0xc062b870e813fca720f1e002c234369ab3ab9415` | 0 | - | - | [lp-terminal contract map](https://github.com/lp-terminal/contracts/blob/main/robinhood.json) | served |
|
|
@@ -37,8 +45,13 @@ Recorded on: 2026-11-02.
|
|
|
37
45
|
| 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
46
|
| swaphood | SwapHood | | gauge | solidly-v2 | router | `0x8f8056fec03159ebcc4aee1b8ea5a61d8fe405fc` | 0 | - | - | [SwapHood contract addresses](https://swaphood-finance.gitbook.io/swaphood-finance-docs/contract-addresses.md) | served |
|
|
39
47
|
| 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 |
|
|
48
|
+
| uniswap-v2 | Uniswap v2 | | plain | uniswap-v2 | router | `0x89e5db8b5aa49aa85ac63f691524311aeb649eba` | 8929 | - | - | [Sourcify UniswapV2Router02](https://sourcify.dev/server/v2/contract/4663/0x89e5db8b5aa49aa85ac63f691524311aeb649eba) | served |
|
|
40
49
|
| 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 |
|
|
50
|
+
| eth-usdg-router | unnamed ETH/USDG swap router (routes into Uniswap v3 and v4) | ETH/USDG router, ETH/USDG swap router, USDG swap router | plain | uniswap-v3 | factory | `0x1f7d7550b1b028f7571e69a784071f0205fd2efa` | 105000018 | 0x52e65b17fb6e5ba00ed806f37afcd2daa50271ca | - | [scout-agent finding 164](https://github.com/chainswarm/scout-agent/issues/164) | served |
|
|
51
|
+
| eth-usdg-router | unnamed ETH/USDG swap router (routes into Uniswap v3 and v4) | | plain | uniswap-v3 | router | `0x7a39b98d31f84152bc724bc5ddb41dbcb338f2a5` | 105000018 | 0x52e65b17fb6e5ba00ed806f37afcd2daa50271ca | - | [scout-agent finding 164](https://github.com/chainswarm/scout-agent/issues/164) | served |
|
|
41
52
|
| 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 |
|
|
53
|
+
| uniswap-v4 | Uniswap v4 | | vault | uniswap-v4 | helper | `0x204faca1764b154221e35c0d20abb3c525710498` | 65727895 | - | - | [Uniswap v4 deployments](https://developers.uniswap.org/docs/protocols/v4/deployments) | served |
|
|
54
|
+
| uniswap-v4 | Uniswap v4 | | vault | uniswap-v4 | helper | `0x8876789976decbfcbbbe364623c63652db8c0904` | 18127 | - | - | [Uniswap v4 deployments](https://developers.uniswap.org/docs/protocols/v4/deployments) | served |
|
|
42
55
|
| 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
56
|
| 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
57
|
| 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 |
|
|
@@ -47,7 +60,6 @@ Recorded on: 2026-11-02.
|
|
|
47
60
|
| 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
61
|
| 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
62
|
| ekubo | Ekubo | Ekubo, Ekubo Protocol, ekubo.org | vault | ekubo-core | manager | `0x00000000000014aa86c5d3c41765bb24e11bd701` | 33534 | - | - | [Ekubo robinhood deployment](https://github.com/EkuboProtocol/evm-contracts/blob/933c813ca154475a3c7eab8234869f6db151c682/broadcast/DeployAll.s.sol/4663/run-latest.json) | served |
|
|
50
|
-
| ekubo | Ekubo | | vault | ekubo-core | positions | `0xda38ac72ce7220c4dd7719d114ef94edadb8f068` | 18272006 | - | - | [Ekubo robinhood Ve33 deployment](https://github.com/EkuboProtocol/evm-contracts/blob/933c813ca154475a3c7eab8234869f6db151c682/broadcast/DeployVe33.s.sol/4663/run-latest.json) | not served: the positions NFT creates no pool, holds no pool and forwards no swap; the registry serves the roles factory, manager and router only |
|
|
51
63
|
| stock-token-market | unnamed stock-token market with one reserve holder | stock-token market, stock token market | vault | swapped-custody | manager | `0x2f4579ca81717d3d61bf8b6f06571877bbe54a07` | 461784 | - | - | [devops registry v29](https://github.com/chainswarm/devops/blob/e270ee1a3c8a2afc52e9d5549be5dbb8b98f0914/charts/chainswarm-indexer-evm-dex/registry/robinhood-v29.json) | served |
|
|
52
64
|
| 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 |
|
|
53
65
|
| ramses | Ramses | | plain | uniswap-v2 | factory | `0x43b2bf9f33036a02fc7a00935571c2a6b0108e66` | 0 | - | - | [Ramses contract addresses](https://www.ramses.xyz/docs/contract-addresses) | served |
|
|
@@ -55,7 +67,6 @@ Recorded on: 2026-11-02.
|
|
|
55
67
|
| 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 |
|
|
56
68
|
| 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 |
|
|
57
69
|
| giga | GIGA | GIGA, GIGA DEX, GigaDEX, gigadex.fi | plain | uniswap-v2 | factory | `0x6fdf38f92ead1adfc04b73aaa947ab254f6c0916` | 0 | - | 15 | [HoodScan](https://hoodscan.co/project/giga) | served |
|
|
58
|
-
| 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 |
|
|
59
70
|
| flap | Flap | Flap, Flap launchpad, flap.sh | launchpad | uniswap-v2 | factory | `0x0d1ebb179cdbca88d74c923c4255cb2b17474afd` | 0 | - | 100000 | [HoodScan](https://hoodscan.co/project/flap) | served |
|
|
60
71
|
| 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 |
|
|
61
72
|
| 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 |
|
|
@@ -69,6 +80,24 @@ Recorded on: 2026-11-02.
|
|
|
69
80
|
| single-router-launchpad | unnamed single-router bonding-curve launchpad | single-router bonding-curve launchpad, single-router launchpad | launchpad | mob-launch-curve | factory | `0x006fee8a9a5482dd7cdf7f21b4d78fa6e246ca4c` | 99903488 | - | - | [scout-agent finding 131](https://github.com/chainswarm/scout-agent/issues/131) | served |
|
|
70
81
|
| single-router-launchpad | unnamed single-router bonding-curve launchpad | | launchpad | mob-launch-curve | manager | `0x4ed0f046d97d508df86d6b7b058e763dbfb0027f` | 99903488 | - | - | [devops registry v29](https://github.com/chainswarm/devops/blob/e270ee1a3c8a2afc52e9d5549be5dbb8b98f0914/charts/chainswarm-indexer-evm-dex/registry/robinhood-v29.json) | served |
|
|
71
82
|
| 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 |
|
|
83
|
+
| weth-unwrap-helper | unnamed WETH-unwrap helper of Uniswap sell routes | WETH-unwrap helper | plain | uniswap-v3 | factory | `0x1f7d7550b1b028f7571e69a784071f0205fd2efa` | 103295248 | - | - | [scout-agent finding 162](https://github.com/chainswarm/scout-agent/issues/162) | served |
|
|
84
|
+
| weth-unwrap-helper | unnamed WETH-unwrap helper of Uniswap sell routes | | plain | uniswap-v3 | router | `0x0849c295bc609da9fde347834f92a75c2c4eb178` | 103295248 | - | - | [scout-agent finding 162](https://github.com/chainswarm/scout-agent/issues/162) | served |
|
|
85
|
+
| realm-etf | Realm ETF launchpad | Realm, Realm ETF, RealmEtf | launchpad | uniswap-v4 | factory | `0x124ad86c732b16366ed26445e3943adef635f123` | 101031051 | - | - | [Sourcify RealmEtfHook](https://sourcify.dev/server/v2/contract/4663/0x74dd0a05540f7c1ae419c18f8d55ff220076e8c8) | served |
|
|
86
|
+
| realm-etf | Realm ETF launchpad | | launchpad | uniswap-v4 | router | `0x74dd0a05540f7c1ae419c18f8d55ff220076e8c8` | 101031057 | - | - | [Sourcify RealmEtfHook](https://sourcify.dev/server/v2/contract/4663/0x74dd0a05540f7c1ae419c18f8d55ff220076e8c8) | served |
|
|
87
|
+
| pangea | Pangea launch factory | Pangea, Pangea launch | launchpad | uniswap-v4 | factory | `0xadf9c12eaf14da2f7780c0587cc06034f1edf8d3` | 96290239 | - | - | [Sourcify UniswapLaunchFactoryV2](https://sourcify.dev/server/v2/contract/4663/0xadf9c12eaf14da2f7780c0587cc06034f1edf8d3) | served |
|
|
88
|
+
| pangea | Pangea launch factory | | launchpad | uniswap-v4 | helper | `0x6ea418b883571af6155145d5604187f92b2d7b92` | 96283385 | - | - | [Sourcify PartsDeployerV2](https://sourcify.dev/server/v2/contract/4663/0x6ea418b883571af6155145d5604187f92b2d7b92) | served |
|
|
89
|
+
| icecreamswap | IceCreamSwap aggregator | IceCreamSwap, IceCream, Ice Cream Swap | plain | uniswap-v3 | factory | `0x1f7d7550b1b028f7571e69a784071f0205fd2efa` | 3087983 | - | - | [Sourcify AggregatorGuard](https://sourcify.dev/server/v2/contract/4663/0x603206d6105217dd972e4ab30676a220ca393346) | served |
|
|
90
|
+
| icecreamswap | IceCreamSwap aggregator | | plain | uniswap-v3 | router | `0x603206d6105217dd972e4ab30676a220ca393346` | 3087983 | - | - | [Sourcify AggregatorGuard](https://sourcify.dev/server/v2/contract/4663/0x603206d6105217dd972e4ab30676a220ca393346) | served |
|
|
91
|
+
| icecreamswap | IceCreamSwap aggregator | | plain | uniswap-v3 | router | `0x2ca37ff95caf25366ef16fc2e655b78a165d125f` | 3094087 | - | - | [Sourcify AggregatorGuard](https://sourcify.dev/server/v2/contract/4663/0x603206d6105217dd972e4ab30676a220ca393346) | served |
|
|
92
|
+
| icecreamswap | IceCreamSwap aggregator | | plain | uniswap-v3 | router | `0xec9aa0a6c2372131a0502aba6188269ab52cacb5` | 72179539 | - | - | [Sourcify AggregatorGuard](https://sourcify.dev/server/v2/contract/4663/0x603206d6105217dd972e4ab30676a220ca393346) | served |
|
|
93
|
+
| icecreamswap | IceCreamSwap aggregator | | plain | uniswap-v3 | router | `0xe6eeda550918638529c6cf2ea14f9ea0572d6f88` | 92800751 | - | - | [Sourcify AggregatorGuard](https://sourcify.dev/server/v2/contract/4663/0x603206d6105217dd972e4ab30676a220ca393346) | served |
|
|
94
|
+
| per-launch-v4-router | unnamed per-launch Uniswap v4 swap routers | per-launch router, per-launch v4 router | vault | uniswap-v4 | manager | `0x8366a39cc670b4001a1121b8f6a443a643e40951` | 90471772 | - | - | [scout-agent finding 134](https://github.com/chainswarm/scout-agent/issues/134) | served |
|
|
95
|
+
| per-launch-v4-router | unnamed per-launch Uniswap v4 swap routers | | vault | uniswap-v4 | helper | `0xe672754903b2be414abbec68ee1a6d7884ba993b` | 100454866 | - | - | [scout-agent finding 134](https://github.com/chainswarm/scout-agent/issues/134) | served |
|
|
96
|
+
| per-launch-v4-router | unnamed per-launch Uniswap v4 swap routers | | vault | uniswap-v4 | helper | `0x0c388f9d803e17addc439a50a9c9b9e3937221f5` | 100437079 | - | - | [scout-agent finding 134](https://github.com/chainswarm/scout-agent/issues/134) | served |
|
|
97
|
+
| per-launch-v4-router | unnamed per-launch Uniswap v4 swap routers | | vault | uniswap-v4 | helper | `0x3201074c2a813d9827c563395c16a86560f57437` | 100215518 | - | - | [scout-agent finding 134](https://github.com/chainswarm/scout-agent/issues/134) | served |
|
|
98
|
+
| per-launch-v4-router | unnamed per-launch Uniswap v4 swap routers | | vault | uniswap-v4 | helper | `0x80d49714825e23d4801549a765cb88cf917f2f02` | 99533593 | - | - | [scout-agent finding 134](https://github.com/chainswarm/scout-agent/issues/134) | served |
|
|
99
|
+
| per-launch-v4-router | unnamed per-launch Uniswap v4 swap routers | | vault | uniswap-v4 | helper | `0xf5b7cba51da2cef7fb334aa34c83203efa1f083e` | 99416107 | - | - | [scout-agent finding 134](https://github.com/chainswarm/scout-agent/issues/134) | served |
|
|
100
|
+
| per-launch-v4-router | unnamed per-launch Uniswap v4 swap routers | | vault | uniswap-v4 | helper | `0xff4b110e9e3b70de24490bef682f18a2342b55a9` | 90471772 | - | - | [scout-agent finding 134](https://github.com/chainswarm/scout-agent/issues/134) | served |
|
|
72
101
|
|
|
73
102
|
## Verification
|
|
74
103
|
|
|
@@ -99,13 +128,13 @@ swaps it forwarded.
|
|
|
99
128
|
| `0x3d6ea4e97b8ab9e1a1b4943febffe22d8c920091` | factory | read from the production node on 2026-10-25: its creation event names the launched token, its curve and the creator (sample transaction `0x77b1bcc700d5f1d7513d080d3fe265831529c237065fffed83e665f89cc3f019`, block 95,797,703); 2,182 curves, quoted in SPCX `0x4a0e65a3eccec6dbe60ae065f2e7bb85fae35eea` and two other stock tokens. The example curve `0x1de3f839184cf48696cbb9cc283855eb32dc2c51` logged 1,028 trades in 7M blocks. No source names the operator, so the key stays `spcx` |
|
|
100
129
|
| `0x190b452d16e12e3beedd76a030ea991fe3856c33` | router | the SPCX legs of the sample trade `0xe200a831908a9b937e08eb4c16fdefd016f606980b9ef71f788994c76020708e` run trader, this contract, curve. The trader stays the payer: the router is never a swap end |
|
|
101
130
|
| `0x00000000000014aa86c5d3c41765bb24e11bd701` | manager | the Ekubo core, deployed at block 33,534 per Ekubo's robinhood deployment file. Read from the production node on 2026-10-25 over 20,000 blocks: 111 swaps and 65 position updates logged by the core itself, 28 pools initialized, each pool kept by a 32-byte pool id. Sample transaction `0x7926c9fab003029a42e7f398e3183611c49583a082b4aac781003cb43f5a96d9`, block 97,745,015 |
|
|
102
|
-
| `0xda38ac72ce7220c4dd7719d114ef94edadb8f068` | positions | "Ekubo Ve33 Positions", deployed at block 18,272,006 with the core as its first argument per Ekubo's Ve33 deployment file. It owns the core's position updates and mints one NFT per position. It is not served: it creates no pool, holds no pool and forwards no swap, and a liquidity owner is the NFT's holder, never this contract |
|
|
103
131
|
| `0x3d69104da2518f4833d71444d6611310f2d685f2` | factory | read on lane B's StarRocks on 2026-11-02: 827 `spcx-launchpad-v2` curves from block 92,760,418 (2026-10-19) to 104,473,613, each created by this contract. Sourcify verifies it as `LaunchFactory` from the same source path and compiler as the first SPCX factory, created at block 92,651,082 by `0xdaff80aadf44305fe95768de1aad1d8861c9f908`; the first was created by `0xb1748f1857bef8de020982aa33f6f9cc1b9ad3c1`, so the two share code, quote token and trade event, not a deployer. Its curve `0x94dc28d78ddbcfdffedb6825ba90b8c8c7b2ba65` (launch transaction `0x21302babf7065d3af00b755bb05bd0a29ea813f5f19767c4f675a74d420d0c6f`, block 100,172,602) holds 2,805 swap rows since 2026-10-28; the first, `0x7845d3a83929f66dce4bfac6e1ddcb7fc5a98f0b4f08b80f2008159100d1c128` at block 100,191,841, is a route through Uniswap v4 into the curve |
|
|
104
132
|
| `0x3c7476e8be0efd5b9667421448a99e217b806e80` | router | Sourcify `LaunchRouter`, created at block 92,651,105 by the factory's deployer. In `0x459b6eb7423b3f0f8cb2480a5968b55ffb7211af7efdff7ce64f33e6a3765bd7` (block 100,227,315) it takes the trader's USDG, buys SPCX on Uniswap v4 and pays the curve: the trader stays the payer |
|
|
105
133
|
| `0xc4210279fb1e1de24a87d6f5cc597c9422aef899` | factory | read on lane B's StarRocks on 2026-11-02: 570 `hoodclub-curve` curves from block 54,625,631 (2026-09-04) to 103,673,419; the factory created 1,710 contracts, a token, a curve and a fee vault per launch. Created at block 54,594,936 by `0xdef671f11c8a30818eb3d9cc9476eeec805f9058`; no source is verified and no project names it, so it is served as an unnamed launchpad. Its curves are paid and pay native ETH. The example curve `0x01e7afb5fc124f6b8270bcd2b7d203dcad68c861`, created with token `0x6966b6233f91790bebb1815a4d3acf55d82b3b49` in `0xb68bc059baa634df52a07570fe29dd61ac14cd6b346d8319edff0fc37feb40ea` (block 100,237,007, the creator's own buy), holds 290 swap rows since 2026-10-28 |
|
|
106
134
|
| `0x006fee8a9a5482dd7cdf7f21b4d78fa6e246ca4c` | factory | the token factory of the single-router launchpad: it created all 14 launched tokens on lane B, from Mob `0xe0165a1b3d8f9e276b0746adcb9c7094cbd05785` at block 99,903,488 to block 100,030,381. Created at block 99,884,248 by `0x9cd48fc444f80e6c79d90c4bcb9d045603747390`, the deployer of the router below. A launched token is not a pool: its curve is kept inside the router, so the row's factory serves the launches read, and the router holds the pools |
|
|
107
135
|
| `0x4ed0f046d97d508df86d6b7b058e763dbfb0027f` | manager | one router holds every curve, each keyed by the launched token: 13 `mob-launch-curve` pools on lane B on 2026-11-02, from block 99,903,488 to 100,025,977, and 780 swap rows since 2026-10-28. The first, `0x331d64719b7a01f59ef03311e4f0c10f00b7271d1cef0dcdeb6321ae480efcd7` at block 99,903,517, is a buy the router refunded in part. Created at block 99,884,296 by `0x9cd48fc444f80e6c79d90c4bcb9d045603747390`; no source is verified and no project names it. The token Mob is a launch, never the launchpad's name |
|
|
108
136
|
| `0x2f4579ca81717d3d61bf8b6f06571877bbe54a07` | manager | the one reserve holder of 105 market contracts that log `Swapped` and move no token themselves; the indexer names the first, `0x95e4a408590e5ace8aab498ab0f9f4236f5162e5` (the AMD market), and 104 more, all created by `0x8dbf0d37cad30b2510d5c74e0f87a210cb298086`. The holder takes the sold token and pays the bought one in every trade. Read on lane B's StarRocks on 2026-11-02: 52 `swapped-custody` pairs from block 461,784, each a pool of the holder keyed by its two tokens, and 225,885 swap rows from 2026-10-26 to 2026-11-02. On 2026-11-01 its trades were stock tokens (SNDK, SKHY, MU, MSTR, AMD, SPCX, USO, RDDT, DJT) against USDG, and some WETH and ETH; the first that day, `0x4e625db12c0affff1ab5634d587da84a0da4c474ab110d174b6c0cd6cd64887c` at block 102,958,054. Created at block 223,587 by `0xb97c121f7bf12bc21ed22b9739f3695bd2ab23a8`; no source is verified and no project names it. The market contracts have no row: each is one token's door, not a pool and not a router |
|
|
137
|
+
| `0x7a39b98d31f84152bc724bc5ddb41dbcb338f2a5` | router | read on the production graph through the Chain Insights proxy on 2026-11-05 by scout-agent (finding 164): a contract with no label, created at block 105,000,018 (2026-11-03) by `0xf90e3e4f5b23b2ba5a53e7c72ccac139e0ff1c1b` in `0x3561086bf317b231da030bff5367f6213afdeb01724f990c1d4dc2bbed06d982`, below the DEX head 106,440,927. About 500 wallets call it directly with ETH and USDG `0x5fc5360d0400a0fd4f2af552add042d716f1d168`: 500 senders, 495 receivers, 19,962 transactions in and 21,858 out. It wraps and unwraps WETH `0x0bd7d308f8e1639fab988df18a8011f41eacad73` and swaps in the Uniswap v3 WETH/USDG pool `0x52e65b17fb6e5ba00ed806f37afcd2daa50271ca` (7,041 transactions) and, for some trades, the Uniswap v4 PoolManager `0x8366a39cc670b4001a1121b8f6a443a643e40951`. Its `SWAPPED` links reach its callers through the pool, so the caller stays the trader. Sample call `0x4e675f9318bfced710a7c2072662701beb4662a6b61fcf57a608ac84fdbeae18` (block 106,301,475) from `0x7b6830c4f01d976d9a344febdf3588d99a23dfd0`, ETH value, 12 logs. No source is verified and no project names it |
|
|
109
138
|
|
|
110
139
|
`0x0d1ebb179cdbca88d74c923c4255cb2b17474afd` created 254,650 `uniswap-v2`
|
|
111
140
|
pairs with 38 USD of volume in all: the Flap launchpad's pair factory per
|
|
@@ -136,3 +165,62 @@ one reserve holder (`swapped-custody`). The adapter ids keep the indexer's
|
|
|
136
165
|
words: the indexer named `hoodclub` and `mob` after token symbols, and
|
|
137
166
|
neither is a cited exchange name. Only the native-ETH launchpad carries a pool floor; its count is the
|
|
138
167
|
lowest proven, one pool.
|
|
168
|
+
|
|
169
|
+
Registry version 5 (2026-11-05) serves the swap router of scout-agent
|
|
170
|
+
finding 164: an unnamed ETH/USDG router, `eth-usdg-router`, that about 500
|
|
171
|
+
wallets call directly and that swaps in Uniswap v3 and Uniswap v4 pools. No
|
|
172
|
+
source names its operator, so it is served under a plain description. The
|
|
173
|
+
review rule refuses an exchange with router rows only, so the key also
|
|
174
|
+
carries a factory row for the Uniswap v3 factory
|
|
175
|
+
`0x1f7d7550b1b028f7571e69a784071f0205fd2efa`, valid from the router's
|
|
176
|
+
creation block. The example pool is the pool the router swaps in, the
|
|
177
|
+
Uniswap v3 WETH/USDG pool `0x52e65b17fb6e5ba00ed806f37afcd2daa50271ca`.
|
|
178
|
+
That factory stays Uniswap v3's: a lookup of its address still answers
|
|
179
|
+
Uniswap v3, the first exchange that names it.
|
|
180
|
+
|
|
181
|
+
Registry version 7 (2026-11-05) adds Uniswap's v2 router
|
|
182
|
+
`0x89e5db8b5aa49aa85ac63f691524311aeb649eba`. Sourcify verifies
|
|
183
|
+
`UniswapV2Router02`, and its `factory()` returns the Uniswap v2 factory
|
|
184
|
+
`0x8bceaa40b9acdfaedf85adf4ff01f5ad6517937f`. The scout digest of 2026-11-05
|
|
185
|
+
named it as a router with no exchange row.
|
|
186
|
+
|
|
187
|
+
Registry version 6 (2026-11-05) serves the rows of six scout-agent findings
|
|
188
|
+
and adds the role `helper`: a contract of an exchange that the trail does not
|
|
189
|
+
read. That is a position NFT, a gauge, a parts deployer, or a swap router of a
|
|
190
|
+
vault, where the manager stays the contract past the swap.
|
|
191
|
+
|
|
192
|
+
- Finding 162: the Uniswap Universal Routers
|
|
193
|
+
`0x204faca1764b154221e35c0d20abb3c525710498` and
|
|
194
|
+
`0x8876789976decbfcbbbe364623c63652db8c0904`, both on Uniswap's own
|
|
195
|
+
Robinhood Chain list, and the WETH-unwrap contract
|
|
196
|
+
`0x0849c295bc609da9fde347834f92a75c2c4eb178`. Its code holds WETH, and the
|
|
197
|
+
graph shows 7,431 transfers from it to the first router. It has no verified
|
|
198
|
+
source and no known operator, so it has a plain description and its own key.
|
|
199
|
+
- Finding 146: the Realm ETF launchpad. Sourcify verifies `RealmEtfHook`
|
|
200
|
+
`0x74dd0a05540f7c1ae419c18f8d55ff220076e8c8`, and its code holds its factory
|
|
201
|
+
`0x124ad86c732b16366ed26445e3943adef635f123` as an immutable.
|
|
202
|
+
- Finding 134: six single-launch v4 routers with one code shape, each holding
|
|
203
|
+
the PoolManager in its code. No source names them. Later launches of the
|
|
204
|
+
series need a row each.
|
|
205
|
+
- Finding 107: the Aero Slipstream staking contracts. Sourcify verifies the
|
|
206
|
+
implementation `ArbCLGauge` `0x89e91a960154b1ed6c093039a8f0725ab67d14e0`. Both
|
|
207
|
+
gauges read on 2026-11-05 answer `nft()` with the position NFT
|
|
208
|
+
`0x4857db576ee0e45f10525ec59527bfd10beec60b` ("Slipstream V3 Deposit",
|
|
209
|
+
AERO-CL) and `voter()` with `0x382409fad8503fbcdbb27a4211551fa03e884078`.
|
|
210
|
+
`0xe033f4bd3d7ccf537a2f954ecdc8eb1218e3b7a6` answers `pool()` with the Aero
|
|
211
|
+
pool `0x7615926023bb149f36095645c2a81dc367d39750`. Only the six gauges the
|
|
212
|
+
finding names are listed, out of more than 50.
|
|
213
|
+
- Finding 100: the Pangea launch factory. Sourcify verifies
|
|
214
|
+
`UniswapLaunchFactoryV2` `0xadf9c12eaf14da2f7780c0587cc06034f1edf8d3`, whose
|
|
215
|
+
title names Pangea. Its code holds `PartsDeployerV2`
|
|
216
|
+
`0x6ea418b883571af6155145d5604187f92b2d7b92`, and its `platform()` answers
|
|
217
|
+
the 20 percent fee wallet `0xe8e219cccff046b8e6666f9803414f442e333940`.
|
|
218
|
+
- Finding 50: the IceCreamSwap aggregator. Sourcify verifies `AggregatorGuard`
|
|
219
|
+
`0x603206d6105217dd972e4ab30676a220ca393346`, whose one entry function is
|
|
220
|
+
named `IceCreamSwap`. The name rests on that function alone. The three
|
|
221
|
+
executors are its routers.
|
|
222
|
+
|
|
223
|
+
Each new key that has no factory of its own names the factory or manager it
|
|
224
|
+
swaps through, valid from its own first block, as `eth-usdg-router` does. A
|
|
225
|
+
lookup of that factory or manager still answers Uniswap, the first exchange
|
|
226
|
+
that names it.
|
|
@@ -85,7 +85,7 @@ hand. When the tool and the memo differ, follow the tool: it reads the
|
|
|
85
85
|
newest file.
|
|
86
86
|
|
|
87
87
|
<!-- dex-registry:start -->
|
|
88
|
-
Memo of the exchange registry, version
|
|
88
|
+
Memo of the exchange registry, version 8, robinhood, recorded 2026-11-06.
|
|
89
89
|
|
|
90
90
|
| Exchange | Key | Also written | Trail | Factories, or the manager | Router |
|
|
91
91
|
|---|---|---|---|---|---|
|
|
@@ -98,8 +98,9 @@ Memo of the exchange registry, version 4, robinhood, recorded 2026-11-02.
|
|
|
98
98
|
| Kittenswap | `kittenswap` | Kittenswap, KITTEN, KittenSwap | gauge | `0x45362763166cfed6174d312fa1449ea1fc37988a` | `0x7064c7bb85979f008212877c4ce41285ddf5374c` |
|
|
99
99
|
| Morpheus | `morpheus` | Morpheus, Morpheus Farm | gauge | `0xd7cb0e0692f2d55a17ba81c1fe5501d66774fc4a` | none proven yet |
|
|
100
100
|
| SwapHood | `swaphood` | SwapHood, SwapHood Finance, SWT, swaphood.finance | gauge | `0xe7206ecac3a51afe7e6179182ad4130a26068dd1` | `0x8f8056fec03159ebcc4aee1b8ea5a61d8fe405fc` |
|
|
101
|
-
| Uniswap v2 | `uniswap-v2` | Uniswap v2, Uni v2 | plain | `0x8bceaa40b9acdfaedf85adf4ff01f5ad6517937f` |
|
|
101
|
+
| Uniswap v2 | `uniswap-v2` | Uniswap v2, Uni v2 | plain | `0x8bceaa40b9acdfaedf85adf4ff01f5ad6517937f` | `0x89e5db8b5aa49aa85ac63f691524311aeb649eba` |
|
|
102
102
|
| Uniswap v3 | `uniswap-v3` | Uniswap v3, Uni v3 | plain | `0x1f7d7550b1b028f7571e69a784071f0205fd2efa` | none |
|
|
103
|
+
| unnamed ETH/USDG swap router (routes into Uniswap v3 and v4) | `eth-usdg-router` | ETH/USDG router, ETH/USDG swap router, USDG swap router | plain | `0x1f7d7550b1b028f7571e69a784071f0205fd2efa` | `0x7a39b98d31f84152bc724bc5ddb41dbcb338f2a5` |
|
|
103
104
|
| Uniswap v4 | `uniswap-v4` | Uniswap, UNI, Uniswap v4, Uni v4, PoolManager | vault | manager `0x8366a39cc670b4001a1121b8f6a443a643e40951` | the manager |
|
|
104
105
|
| PancakeSwap Infinity | `pancakeswap` | PancakeSwap, Pancake, CAKE, PancakeSwap Infinity | vault | manager `0xee04c68742e6bf434be8039580d2e89bbe55bc6f` | the manager |
|
|
105
106
|
| PancakeSwap v2 | `pancakeswap-v2` | PancakeSwap v2, Pancake v2 | plain | `0x02a84c1b3bbd7401a5f7fa98a384ebc70bb5749e` | none |
|
|
@@ -123,6 +124,11 @@ Memo of the exchange registry, version 4, robinhood, recorded 2026-11-02.
|
|
|
123
124
|
| unnamed native-ETH bonding-curve launchpad | `eth-curve-launchpad` | native-ETH bonding-curve launchpad, ETH bonding-curve launchpad | launchpad | `0xc4210279fb1e1de24a87d6f5cc597c9422aef899` | none |
|
|
124
125
|
| unnamed single-router bonding-curve launchpad | `single-router-launchpad` | single-router bonding-curve launchpad, single-router launchpad | launchpad | `0x006fee8a9a5482dd7cdf7f21b4d78fa6e246ca4c`, `0x4ed0f046d97d508df86d6b7b058e763dbfb0027f` | `0x4ed0f046d97d508df86d6b7b058e763dbfb0027f` |
|
|
125
126
|
| Virtuals Protocol | `virtuals` | Virtuals, VIRTUAL, Virtuals Protocol | launchpad | `0xfc2e4da3edb2e18100473339c763705d263d20a9` | none |
|
|
127
|
+
| unnamed WETH-unwrap helper of Uniswap sell routes | `weth-unwrap-helper` | WETH-unwrap helper | plain | `0x1f7d7550b1b028f7571e69a784071f0205fd2efa` | `0x0849c295bc609da9fde347834f92a75c2c4eb178` |
|
|
128
|
+
| Realm ETF launchpad | `realm-etf` | Realm, Realm ETF, RealmEtf | launchpad | `0x124ad86c732b16366ed26445e3943adef635f123` | `0x74dd0a05540f7c1ae419c18f8d55ff220076e8c8` |
|
|
129
|
+
| Pangea launch factory | `pangea` | Pangea, Pangea launch | launchpad | `0xadf9c12eaf14da2f7780c0587cc06034f1edf8d3` | none |
|
|
130
|
+
| IceCreamSwap aggregator | `icecreamswap` | IceCreamSwap, IceCream, Ice Cream Swap | plain | `0x1f7d7550b1b028f7571e69a784071f0205fd2efa` | `0x603206d6105217dd972e4ab30676a220ca393346`, `0x2ca37ff95caf25366ef16fc2e655b78a165d125f`, `0xec9aa0a6c2372131a0502aba6188269ab52cacb5`, `0xe6eeda550918638529c6cf2ea14f9ea0572d6f88` |
|
|
131
|
+
| unnamed per-launch Uniswap v4 swap routers | `per-launch-v4-router` | per-launch router, per-launch v4 router | vault | manager `0x8366a39cc670b4001a1121b8f6a443a643e40951` | the manager |
|
|
126
132
|
<!-- dex-registry:end -->
|
|
127
133
|
|
|
128
134
|
## Find the pools of an exchange
|
|
@@ -74,8 +74,8 @@ read: a token launched there, such as Mob, is never the launchpad's name.
|
|
|
74
74
|
5. **The first pool** (L3): the launched contract's `ADDED_LIQUIDITY` links
|
|
75
75
|
into a `:Pool`, oldest first. The first one is the graduation: the curve's
|
|
76
76
|
money moved into an exchange pool.
|
|
77
|
-
6. When L3 is empty,
|
|
78
|
-
a pool from the token's name.
|
|
77
|
+
6. When L3 is empty, no liquidity link shows a graduation: say that plainly.
|
|
78
|
+
Never guess a pool from the token's name.
|
|
79
79
|
7. After graduation the token trades on that pool. Load `chain-insights-dex`
|
|
80
80
|
for the pool's exchange and its trail.
|
|
81
81
|
|
|
@@ -101,12 +101,9 @@ indexer finds them by their shape, with one rule for every operator:
|
|
|
101
101
|
- **No name, no row.** `meta_dex_lookup` with F's address answers
|
|
102
102
|
`matched: null`. For F that means "no exchange row", not "no data": read
|
|
103
103
|
the graph below. Never give F a name you have not read.
|
|
104
|
-
- **
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
`:Launchpad` mark for a factory of two launches or more is coming in the
|
|
108
|
-
graph's pools layer. Until a read of F shows it, do not ask by mark for
|
|
109
|
-
F: read the shape from its links.
|
|
104
|
+
- **The mark.** A factory of two launches or more carries `:Launchpad` and
|
|
105
|
+
`:Protocol`, with the word `Launchpad` in `labels` and no name. A contract
|
|
106
|
+
of one launch does not.
|
|
110
107
|
|
|
111
108
|
1. **The launches**: L1, anchored on F. Each `DEPLOYED_CONTRACT` link is a
|
|
112
109
|
contract F created. Count the tokens to say whether F is a launchpad.
|
|
@@ -118,8 +115,8 @@ indexer finds them by their shape, with one rule for every operator:
|
|
|
118
115
|
pool manager by a 32-byte pool id. It is not a contract of its own: say
|
|
119
116
|
"a pool of the Uniswap v4 pool manager". Read the id from `pools` on a
|
|
120
117
|
`SWAPPED` link that sold or bought the token, anchored on the creator.
|
|
121
|
-
When no such link shows,
|
|
122
|
-
|
|
118
|
+
When no such link shows, leave the pool out. The creator and the launch
|
|
119
|
+
transaction still answer who launched it.
|
|
123
120
|
4. **The trades** are ordinary Uniswap v4 swaps on the pool manager. Load
|
|
124
121
|
`chain-insights-dex-vault` and follow its trail. The pool manager is
|
|
125
122
|
never the buyer, and no topology hop goes out of it.
|
|
@@ -69,7 +69,7 @@ agent is created on Uniswap's own v2 factory
|
|
|
69
69
|
most of that factory's pairs are Virtuals agents.
|
|
70
70
|
|
|
71
71
|
<!-- dex-registry:start -->
|
|
72
|
-
The factories of the exchange registry, version
|
|
72
|
+
The factories of the exchange registry, version 8, row `virtuals`:
|
|
73
73
|
|
|
74
74
|
| Factory | Address |
|
|
75
75
|
|---|---|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dex-registry-D6Xxi_vr.mjs","names":[],"sources":["../src/mcp/dex-registry.ts"],"sourcesContent":["/**\n * The exchange registry, as the proxy tool meta_dex_lookup reads it.\n *\n * The reviewed table lives in this repository, registry/<network>.md, and its\n * served copy registry/<network>.json is checked in CI\n * (scripts/pin-dex-registry.mjs). The proxy reads the copy three ways, in this\n * order:\n *\n * cached ~/.chain-insights/cache/dex-registry-<network>.json, younger than one hour\n * fetched the copy on main, https://raw.githubusercontent.com/chainswarm/chain-insights/main/registry/<network>.json,\n * within 3 s, at most once an hour per network and never two in flight\n * packaged registry/<network>.json of the installed package, when the fetch fails and no cache exists\n *\n * A fetched file is used only when it passes the same rules the pin script\n * applies. A malformed file never replaces a good cache: the stale cache keeps\n * answering and one line names the fault. So a proxy that never reaches GitHub\n * behaves like the skill memo of its own version, and a row merged on main\n * reaches every running proxy within the hour, with no release.\n *\n * matchDex turns a name into one exchange: normalise, exact on key, display and\n * aliases, then within two letters of an alias of four or more characters. One\n * winner is matched, a tie is listed, never guessed, and no hit names every\n * covered exchange.\n */\n\nimport { existsSync, readFileSync } from 'node:fs'\nimport { mkdir, readFile, rename, writeFile } from 'node:fs/promises'\nimport path from 'node:path'\nimport { fileURLToPath } from 'node:url'\nimport { chainInsightsHome } from './cache-location.js'\n\nexport const DEX_REGISTRY_SCHEMA = 'chain-insights.dex-registry.v1' as const\n/** How long a cached registry stays fresh. CACHE_TTL_MS (24 h) stays the lifetime of the schema caches. */\nexport const DEX_REGISTRY_TTL_MS = 60 * 60 * 1000\n/** The most a fetch of the public file may take on the call path. */\nexport const DEX_REGISTRY_FETCH_BUDGET_MS = 3_000\nexport const DEX_REGISTRY_URL_ENV = 'CHAIN_INSIGHTS_DEX_REGISTRY_URL'\nexport const DEX_REGISTRY_PUBLIC_URL =\n 'https://raw.githubusercontent.com/chainswarm/chain-insights/main/registry/{network}.json'\n\nexport const TRAIL_TYPES = ['plain', 'vault', 'gauge', 'launchpad'] as const\nexport type TrailType = (typeof TRAIL_TYPES)[number]\nexport const ROLES = ['factory', 'manager', 'router'] as const\nexport type Role = (typeof ROLES)[number]\nexport type RegistrySource = 'fetched' | 'cached' | 'packaged'\n\n/** One exchange of the served copy. */\nexport interface DexEntry {\n dex: string\n display: string\n aliases: string[]\n trail_type: TrailType\n adapters: string[]\n roles: Record<string, Role>\n /** Its factory addresses, or the one manager of a vault. */\n factories: string[]\n /** Its routers, or the manager of a vault: a vault forwards its own swaps. */\n routers: string[]\n example_pool: string | null\n pool_floor: number | null\n since_block: number\n source: string\n}\n\nexport interface DexRegistryDocument {\n schema: typeof DEX_REGISTRY_SCHEMA\n network: string\n registry_version: number\n recorded_on: string\n rows: DexEntry[]\n}\n\nexport interface LoadedRegistry {\n document: DexRegistryDocument\n source: RegistrySource\n loaded_at_ms: number\n}\n\n/** A refusal with its own words for the caller: a network the registry does not cover. */\nexport class DexRegistryError extends Error {\n constructor(message: string) {\n super(message)\n this.name = 'DexRegistryError'\n }\n}\n\nconst ADDRESS_RE = /^0x[0-9a-f]{40}$/\n// An example pool is a pool address, or the pool id of a manager that keeps its pools by id.\nconst POOL_RE = /^0x(?:[0-9a-f]{40}|[0-9a-f]{64})$/\nconst DEX_RE = /^[a-z0-9][a-z0-9._-]{0,31}$/\nconst NETWORK_RE = /^[a-z0-9][a-z0-9_-]{0,63}$/\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return !!value && typeof value === 'object' && !Array.isArray(value)\n}\n\nconst isStringList = (value: unknown): value is string[] =>\n Array.isArray(value) && value.every((entry) => typeof entry === 'string')\n\n/** The network as a lower-case identifier; it becomes part of a file name and a URL. */\nexport function normalizeDexNetwork(raw: unknown): string {\n const network = typeof raw === 'string' ? raw.trim().toLowerCase() : ''\n if (!network) {\n throw new DexRegistryError(\n 'invalid_network: network is required. Pass the identifier of a served network, for example robinhood.'\n )\n }\n if (!NETWORK_RE.test(network)) {\n throw new DexRegistryError(`invalid_network: \"${String(raw)}\" is not a network identifier`)\n }\n return network\n}\n\n/**\n * The fault of a registry document, or null when it is valid for the network:\n * the rules of registry/README.md, the same ones the pin script applies.\n */\nexport function registryFault(value: unknown, network: string): string | null {\n if (!isRecord(value)) return 'the file is not a JSON object'\n if (value.schema !== DEX_REGISTRY_SCHEMA) {\n return `schema is ${JSON.stringify(value.schema)}, not ${DEX_REGISTRY_SCHEMA}`\n }\n if (value.network !== network)\n return `network is ${JSON.stringify(value.network)}, not ${network}`\n if (!Number.isInteger(value.registry_version) || (value.registry_version as number) < 0) {\n return 'registry_version is not a whole number'\n }\n if (typeof value.recorded_on !== 'string' || !/^\\d{4}-\\d{2}-\\d{2}$/.test(value.recorded_on)) {\n return 'recorded_on is not a YYYY-MM-DD day'\n }\n if (!Array.isArray(value.rows) || value.rows.length === 0) return 'rows is empty'\n const keys = new Set<string>()\n for (const [index, row] of value.rows.entries()) {\n const at = `rows[${index}]`\n if (!isRecord(row)) return `${at} is not an object`\n if (typeof row.dex !== 'string' || !DEX_RE.test(row.dex))\n return `${at}.dex is not a key: ${String(row.dex)}`\n if (keys.has(row.dex)) return `${at}.dex ${row.dex} is listed twice`\n keys.add(row.dex)\n if (typeof row.display !== 'string' || row.display.trim() === '')\n return `${at} (${row.dex}) has no display`\n if (!isStringList(row.aliases)) return `${at} (${row.dex}) aliases is not a list of names`\n if (!TRAIL_TYPES.includes(row.trail_type as TrailType)) {\n return `${at} (${row.dex}) trail_type ${String(row.trail_type)} is not plain, vault, gauge or launchpad`\n }\n if (!isStringList(row.adapters)) return `${at} (${row.dex}) adapters is not a list`\n if (!isRecord(row.roles)) return `${at} (${row.dex}) roles is not a map`\n for (const [address, role] of Object.entries(row.roles)) {\n if (!ADDRESS_RE.test(address))\n return `${at} (${row.dex}) address ${address} is not lowercase 0x plus 40 hex characters`\n if (!ROLES.includes(role as Role))\n return `${at} (${row.dex}) role ${String(role)} is not factory, manager or router`\n }\n for (const field of ['factories', 'routers'] as const) {\n const list = row[field]\n if (!isStringList(list)) return `${at} (${row.dex}) ${field} is not a list`\n for (const address of list) {\n if (!ADDRESS_RE.test(address))\n return `${at} (${row.dex}) address ${address} is not lowercase 0x plus 40 hex characters`\n if (!(address in row.roles))\n return `${at} (${row.dex}) ${field} names ${address}, which roles lacks`\n }\n }\n if ((row.factories as string[]).length === 0)\n return `${at} (${row.dex}) has no factory or manager`\n if (\n row.example_pool !== null &&\n (typeof row.example_pool !== 'string' || !POOL_RE.test(row.example_pool))\n ) {\n return `${at} (${row.dex}) example_pool ${String(row.example_pool)} is not a pool`\n }\n if (\n row.pool_floor !== null &&\n (!Number.isInteger(row.pool_floor) || (row.pool_floor as number) < 0)\n ) {\n return `${at} (${row.dex}) pool_floor is not a whole number`\n }\n if (!Number.isInteger(row.since_block) || (row.since_block as number) < 0) {\n return `${at} (${row.dex}) since_block is not a block`\n }\n if (typeof row.source !== 'string' || !row.source.startsWith('https://')) {\n return `${at} (${row.dex}) source is not an https link`\n }\n }\n return null\n}\n\n/** The URL of the served copy: the public file on main, or the override with {network} filled in. */\nexport function dexRegistryUrl(network: string, env: NodeJS.ProcessEnv = process.env): string {\n const override = env[DEX_REGISTRY_URL_ENV]?.trim()\n const template = override || DEX_REGISTRY_PUBLIC_URL\n if (template.includes('{network}')) return template.replaceAll('{network}', network)\n return template.endsWith('/') ? `${template}${network}.json` : template\n}\n\nexport function dexRegistryCachePath(network: string): string {\n return path.join(chainInsightsHome(), 'cache', `dex-registry-${network}.json`)\n}\n\n/** The registry/ folder of the installed package: next to dist/, or the repository root when run from source. */\nexport function packagedRegistryDir(): string {\n const candidates = [\n fileURLToPath(new URL('../registry', import.meta.url)),\n fileURLToPath(new URL('../../registry', import.meta.url)),\n ]\n return (\n candidates.find((candidate) => existsSync(path.join(candidate, 'robinhood.json'))) ??\n candidates[0]!\n )\n}\n\n/** The packaged copy of a network, or null when the package carries none. A packaged copy that fails the rules is a defect: it throws. */\nexport function readPackagedRegistry(\n network: string,\n dir: string = packagedRegistryDir()\n): DexRegistryDocument | null {\n let parsed: unknown\n try {\n parsed = JSON.parse(readFileSync(path.join(dir, `${network}.json`), 'utf8'))\n } catch {\n return null\n }\n const fault = registryFault(parsed, network)\n if (fault)\n throw new Error(\n `the packaged exchange registry registry/${network}.json is malformed: ${fault}`\n )\n return parsed as DexRegistryDocument\n}\n\ninterface CacheFile {\n schema: typeof DEX_REGISTRY_SCHEMA\n network: string\n registry_version: number\n recorded_on: string\n rows: DexEntry[]\n /** When the copy was read: the fetch, or the first start with no fetch. */\n cached_at_ms: number\n /** When a fetch was last tried. The cache is fresh for an hour after it. */\n checked_at_ms: number\n source: 'fetched' | 'packaged'\n}\n\nconst documentOf = (file: CacheFile): DexRegistryDocument => ({\n schema: file.schema,\n network: file.network,\n registry_version: file.registry_version,\n recorded_on: file.recorded_on,\n rows: file.rows,\n})\n\nasync function readCache(network: string): Promise<CacheFile | null> {\n let parsed: unknown\n try {\n parsed = JSON.parse(await readFile(dexRegistryCachePath(network), 'utf8'))\n } catch {\n return null\n }\n if (!isRecord(parsed) || registryFault(parsed, network) !== null) return null\n if (typeof parsed.checked_at_ms !== 'number' || typeof parsed.cached_at_ms !== 'number')\n return null\n if (parsed.source !== 'fetched' && parsed.source !== 'packaged') return null\n return parsed as unknown as CacheFile\n}\n\nasync function writeCache(file: CacheFile): Promise<void> {\n const target = dexRegistryCachePath(file.network)\n await mkdir(path.dirname(target), { recursive: true })\n // Written beside the target and renamed, so a second proxy never reads half of it.\n const scratch = `${target}.${process.pid}.tmp`\n await writeFile(scratch, JSON.stringify(file, null, 2) + '\\n', { mode: 0o600 })\n await rename(scratch, target)\n}\n\nexport interface LoadRegistryOptions {\n fetch?: typeof fetch\n now?: () => number\n env?: NodeJS.ProcessEnv\n /** One line per fault: a failed fetch, a malformed file, a cache that cannot be written. */\n log?: (line: string) => void\n packagedDir?: string\n budgetMs?: number\n}\n\ntype FetchOutcome = { document: DexRegistryDocument } | { fault: string }\n\nasync function fetchRegistry(network: string, options: LoadRegistryOptions): Promise<FetchOutcome> {\n const url = dexRegistryUrl(network, options.env)\n const fetchImpl = options.fetch ?? fetch\n let response: Response\n try {\n response = await fetchImpl(url, {\n signal: AbortSignal.timeout(options.budgetMs ?? DEX_REGISTRY_FETCH_BUDGET_MS),\n })\n } catch (err) {\n return { fault: `${url} unreachable: ${err instanceof Error ? err.message : String(err)}` }\n }\n if (response.status !== 200) return { fault: `${url} answered HTTP ${response.status}` }\n let parsed: unknown\n try {\n parsed = JSON.parse(await response.text())\n } catch {\n return { fault: `${url} is not JSON` }\n }\n const fault = registryFault(parsed, network)\n if (fault) return { fault: `${url} is malformed: ${fault}` }\n return { document: parsed as DexRegistryDocument }\n}\n\n// Fetches in flight, by network: two calls at once share one fetch.\nconst inFlight = new Map<string, Promise<LoadedRegistry>>()\n\nconst defaultLog = (line: string): void => {\n process.stderr.write(`[chain-insights] dex-registry: ${line}\\n`)\n}\n\n/**\n * The registry of one network: the fresh cache, else the public file, else the\n * stale cache, else the packaged copy. A packaged copy with a higher registry\n * version than the cache or the public file wins, so an upgrade is never\n * answered from an older file. Never throws for a network the package covers.\n */\nexport async function loadRegistry(\n rawNetwork: unknown,\n options: LoadRegistryOptions = {}\n): Promise<LoadedRegistry> {\n const network = normalizeDexNetwork(rawNetwork)\n const now = options.now ?? Date.now\n const log = options.log ?? defaultLog\n const packaged = readPackagedRegistry(network, options.packagedDir)\n const newer = (document: DexRegistryDocument): boolean =>\n packaged !== null && packaged.registry_version > document.registry_version\n const fromPackaged = (): LoadedRegistry => ({\n document: packaged!,\n source: 'packaged',\n loaded_at_ms: now(),\n })\n\n const cache = await readCache(network)\n const age = cache ? now() - cache.checked_at_ms : Infinity\n if (cache && age >= 0 && age < DEX_REGISTRY_TTL_MS) {\n if (newer(cache)) return fromPackaged()\n return {\n document: documentOf(cache),\n source: cache.source === 'fetched' ? 'cached' : 'packaged',\n loaded_at_ms: now(),\n }\n }\n\n const running = inFlight.get(network)\n if (running) return running\n const load = (async (): Promise<LoadedRegistry> => {\n const outcome = await fetchRegistry(network, options)\n const checked = now()\n const save = async (file: CacheFile): Promise<void> => {\n try {\n await writeCache(file)\n } catch (err) {\n log(\n `the cache ${dexRegistryCachePath(network)} could not be written: ${err instanceof Error ? err.message : String(err)}`\n )\n }\n }\n if ('document' in outcome) {\n const { document } = outcome\n await save({ ...document, cached_at_ms: checked, checked_at_ms: checked, source: 'fetched' })\n if (newer(document)) return fromPackaged()\n return { document, source: 'fetched', loaded_at_ms: checked }\n }\n log(outcome.fault)\n if (cache) {\n // The stale cache keeps answering, and the next fetch waits an hour.\n await save({ ...cache, checked_at_ms: checked })\n if (newer(cache)) return fromPackaged()\n return {\n document: documentOf(cache),\n source: cache.source === 'fetched' ? 'cached' : 'packaged',\n loaded_at_ms: checked,\n }\n }\n if (!packaged) {\n throw new DexRegistryError(\n `network_not_covered: the exchange registry covers no network \"${network}\", and ${outcome.fault}`\n )\n }\n await save({ ...packaged, cached_at_ms: checked, checked_at_ms: checked, source: 'packaged' })\n return fromPackaged()\n })()\n inFlight.set(network, load)\n try {\n return await load\n } finally {\n inFlight.delete(network)\n }\n}\n\n// ─── The name match ───────────────────────────────────────────────────────────\n\n/** Lower case, with every space, \".\", \"-\" and \"_\" removed: \"Uni v4\" and \"uni-v4\" are \"univ4\". */\nexport function normaliseName(name: string): string {\n return name.toLowerCase().replace(/[\\s.\\-_]+/g, '')\n}\n\n/** The optimal string alignment distance: insertions, deletions, substitutions and swaps of two neighbours. */\nexport function damerauLevenshtein(a: string, b: string): number {\n const rows = a.length + 1\n const cols = b.length + 1\n const d: number[][] = Array.from({ length: rows }, (_, i) =>\n Array.from({ length: cols }, (_, j) => (i === 0 ? j : j === 0 ? i : 0))\n )\n for (let i = 1; i < rows; i += 1) {\n for (let j = 1; j < cols; j += 1) {\n const cost = a[i - 1] === b[j - 1] ? 0 : 1\n let best = Math.min(d[i - 1]![j]! + 1, d[i]![j - 1]! + 1, d[i - 1]![j - 1]! + cost)\n if (i > 1 && j > 1 && a[i - 1] === b[j - 2] && a[i - 2] === b[j - 1]) {\n best = Math.min(best, d[i - 2]![j - 2]! + 1)\n }\n d[i]![j] = best\n }\n }\n return d[a.length]![b.length]!\n}\n\n/** The most letters a near hit may differ by, and the shortest alias a near hit is taken from. */\nexport const NEAR_DISTANCE = 2\nexport const NEAR_MIN_ALIAS_LENGTH = 4\n\nexport interface DexCandidate {\n dex: string\n display: string\n distance: number\n}\n\nexport interface DexMatchResult {\n matched: DexEntry | null\n /** The name as typed, when the match is a near hit. */\n took_for?: string\n candidates: DexCandidate[]\n /** Every covered exchange, by display name. */\n covered: string[]\n}\n\n/**\n * One name against the registry rows:\n * one exact hit matched\n * several exact hits candidates at distance 0, matched null\n * no exact hit, one nearest exchange matched, took_for the name\n * no exact hit, a tie at the nearest candidates, matched null\n * nothing within two letters matched null, no candidates\n */\nexport function matchDex(name: string, rows: DexEntry[]): DexMatchResult {\n const covered = rows.map((row) => row.display)\n const wanted = normaliseName(name)\n if (!wanted) return { matched: null, candidates: [], covered }\n const exact = rows.filter((row) =>\n [row.dex, row.display, ...row.aliases].some((written) => normaliseName(written) === wanted)\n )\n if (exact.length === 1) return { matched: exact[0]!, candidates: [], covered }\n if (exact.length > 1) {\n return {\n matched: null,\n candidates: exact.map((row) => ({ dex: row.dex, display: row.display, distance: 0 })),\n covered,\n }\n }\n const near: Array<{ row: DexEntry; distance: number }> = []\n for (const row of rows) {\n const distances = row.aliases\n .map(normaliseName)\n .filter((alias) => alias.length >= NEAR_MIN_ALIAS_LENGTH)\n .map((alias) => damerauLevenshtein(wanted, alias))\n const distance = Math.min(...distances)\n if (distance <= NEAR_DISTANCE) near.push({ row, distance })\n }\n if (near.length === 0) return { matched: null, candidates: [], covered }\n const least = Math.min(...near.map((hit) => hit.distance))\n const nearest = near.filter((hit) => hit.distance === least)\n if (nearest.length === 1)\n return { matched: nearest[0]!.row, took_for: name.trim(), candidates: [], covered }\n return {\n matched: null,\n candidates: nearest.map(({ row, distance }) => ({\n dex: row.dex,\n display: row.display,\n distance,\n })),\n covered,\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,MAAa,sBAAsB;;AAEnC,MAAa,sBAAsB;;AAEnC,MAAa,+BAA+B;AAC5C,MAAa,uBAAuB;AACpC,MAAa,0BACX;AAEF,MAAa,cAAc;CAAC;CAAS;CAAS;CAAS;AAAW;AAElE,MAAa,QAAQ;CAAC;CAAW;CAAW;AAAQ;;AAqCpD,IAAa,mBAAb,cAAsC,MAAM;CAC1C,YAAY,SAAiB;EAC3B,MAAM,OAAO;EACb,KAAK,OAAO;CACd;AACF;AAEA,MAAM,aAAa;AAEnB,MAAM,UAAU;AAChB,MAAM,SAAS;AACf,MAAM,aAAa;AAEnB,SAAS,SAAS,OAAkD;CAClE,OAAO,CAAC,CAAC,SAAS,OAAO,UAAU,YAAY,CAAC,MAAM,QAAQ,KAAK;AACrE;AAEA,MAAM,gBAAgB,UACpB,MAAM,QAAQ,KAAK,KAAK,MAAM,OAAO,UAAU,OAAO,UAAU,QAAQ;;AAG1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