@lumenwipe/verify 0.3.0 → 0.5.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/dist/index.js CHANGED
@@ -170,18 +170,36 @@ var exchange_registry_default = {
170
170
  requiresMediator: true,
171
171
  requiresMemo: true,
172
172
  memoType: "text"
173
+ },
174
+ {
175
+ address: "GB4VXLVR2DDIJUPVVY74QVPEIHINBMMXO6WUY67JUEYO42LQSDS5IMKW",
176
+ name: "LumenWipe testnet exchange",
177
+ domain: "lumenwipe.com",
178
+ requiresMediator: true,
179
+ requiresMemo: true,
180
+ memoType: "id",
181
+ network: "testnet"
173
182
  }
174
183
  ]
175
184
  };
176
185
 
177
186
  // ../../apps/web/lib/exchange-registry/merge.ts
187
+ function appliesOn(entry, network) {
188
+ return entry.network === void 0 || entry.network === network;
189
+ }
178
190
  function isUsableEntry(e) {
179
191
  if (typeof e !== "object" || e === null) return false;
180
192
  const r = e;
181
- return typeof r.address === "string" && r.address.startsWith("G") && r.address.length === 56 && typeof r.name === "string" && typeof r.requiresMediator === "boolean" && typeof r.requiresMemo === "boolean" && (r.memoType === "text" || r.memoType === "id" || r.memoType === "hash");
193
+ return typeof r.address === "string" && r.address.startsWith("G") && r.address.length === 56 && typeof r.name === "string" && typeof r.requiresMediator === "boolean" && typeof r.requiresMemo === "boolean" && (r.memoType === "text" || r.memoType === "id" || r.memoType === "hash") && (!("network" in r) || r.network === "testnet");
194
+ }
195
+ function bundledEntries(raw) {
196
+ if (!Array.isArray(raw)) throw new Error("The bundled exchange registry has no entries list.");
197
+ const bad = raw.findIndex((e) => !isUsableEntry(e));
198
+ if (bad !== -1) throw new Error(`The bundled exchange registry entry ${bad} is malformed.`);
199
+ return raw;
182
200
  }
183
201
  function tightenedOver(embeddedEntry, servedEntry) {
184
- return {
202
+ const tightened = {
185
203
  ...servedEntry,
186
204
  requiresMemo: embeddedEntry.requiresMemo || servedEntry.requiresMemo,
187
205
  requiresMediator: embeddedEntry.requiresMediator || servedEntry.requiresMediator,
@@ -190,6 +208,9 @@ function tightenedOver(embeddedEntry, servedEntry) {
190
208
  // (`mergeServedRegistry`) and the close is refused until the bundled copy is updated.
191
209
  memoType: embeddedEntry.memoType
192
210
  };
211
+ if (embeddedEntry.network === void 0) delete tightened.network;
212
+ else tightened.network = embeddedEntry.network;
213
+ return tightened;
193
214
  }
194
215
  var MAX_EXTENSION_DAYS = 120;
195
216
  function boundedValidUntil(embeddedUntil, servedUntil) {
@@ -232,15 +253,12 @@ function isUsableAt(validUntil, now) {
232
253
  }
233
254
 
234
255
  // ../../apps/web/lib/exchange-registry/index.ts
235
- function snapshotFrom(data, served) {
236
- return {
237
- entries: data.entries,
238
- lastVerified: data.lastVerified,
239
- validUntil: data.validUntil,
240
- served
241
- };
242
- }
243
- var EMBEDDED = snapshotFrom(exchange_registry_default, false);
256
+ var EMBEDDED = {
257
+ entries: bundledEntries(exchange_registry_default.entries),
258
+ lastVerified: exchange_registry_default.lastVerified,
259
+ validUntil: exchange_registry_default.validUntil,
260
+ served: false
261
+ };
244
262
  var current = EMBEDDED;
245
263
  function bundledRegistry() {
246
264
  return EMBEDDED;
@@ -248,14 +266,17 @@ function bundledRegistry() {
248
266
  function isRegistryUsable(now = /* @__PURE__ */ new Date()) {
249
267
  return isUsableAt(current.validUntil, now);
250
268
  }
251
- function byAddress() {
252
- return new Map(current.entries.map((e) => [e.address, e]));
269
+ function byAddress(network) {
270
+ return new Map(current.entries.filter((e) => appliesOn(e, network)).map((e) => [e.address, e]));
271
+ }
272
+ function lookupExchange(address, network) {
273
+ return byAddress(network).get(address) ?? null;
253
274
  }
254
- function lookupExchange(address) {
255
- return byAddress().get(address) ?? null;
275
+ function bundledExchange(address, network) {
276
+ return EMBEDDED.entries.find((e) => e.address === address && appliesOn(e, network)) ?? null;
256
277
  }
257
- function mediatorAllowedFor(address) {
258
- return EMBEDDED.entries.find((e) => e.address === address)?.requiresMediator === true;
278
+ function mediatorAllowedFor(address, network) {
279
+ return bundledExchange(address, network)?.requiresMediator === true;
259
280
  }
260
281
  function memoTypeInDispute(address) {
261
282
  return current.memoTypeDisputes?.includes(address) ?? false;
@@ -1453,9 +1474,13 @@ function depositAddressesOf(transfers, lookup) {
1453
1474
  }
1454
1475
  return listed;
1455
1476
  }
1456
- function registryView(served) {
1477
+ function registryView(served, network) {
1457
1478
  if (served === void 0) {
1458
- return { lookup: lookupExchange, usable: () => isRegistryUsable(), memoTypeInDispute };
1479
+ return {
1480
+ lookup: (address) => lookupExchange(address, network),
1481
+ usable: () => isRegistryUsable(),
1482
+ memoTypeInDispute
1483
+ };
1459
1484
  }
1460
1485
  const merged = mergeServedRegistry(bundledRegistry(), served);
1461
1486
  if (merged === null) {
@@ -1464,7 +1489,9 @@ function registryView(served) {
1464
1489
  "The exchange registry passed to the verifier is not a registry (it needs an entries list, lastVerified and validUntil), so this close cannot be checked against it."
1465
1490
  );
1466
1491
  }
1467
- const byAddress2 = new Map(merged.entries.map((e) => [e.address, e]));
1492
+ const byAddress2 = new Map(
1493
+ merged.entries.filter((e) => appliesOn(e, network)).map((e) => [e.address, e])
1494
+ );
1468
1495
  const disputes = new Set(merged.memoTypeDisputes);
1469
1496
  return {
1470
1497
  lookup: (address) => byAddress2.get(address) ?? null,
@@ -1472,15 +1499,14 @@ function registryView(served) {
1472
1499
  memoTypeInDispute: (address) => disputes.has(address)
1473
1500
  };
1474
1501
  }
1475
- function listedMemoType(exchange, registry, expected) {
1502
+ function listedMemoType(exchange, registry, network, expected) {
1476
1503
  if (registry.memoTypeInDispute(expected.destination)) {
1477
1504
  throw new VerificationError(
1478
1505
  "registry_memo_type_conflict",
1479
1506
  `The served exchange registry gives ${exchange.name} a different memo type than the bundled one, so the memo this close needs cannot be checked.`
1480
1507
  );
1481
1508
  }
1482
- const bundled = bundledRegistry().entries.some((e) => e.address === expected.destination);
1483
- if (bundled) return exchange.memoType;
1509
+ if (bundledExchange(expected.destination, network) !== null) return exchange.memoType;
1484
1510
  if (expected.memo !== null && expected.memoType !== null && expected.memoType !== exchange.memoType) {
1485
1511
  throw new VerificationError(
1486
1512
  "registry_memo_type_unconfirmed",
@@ -1491,7 +1517,7 @@ function listedMemoType(exchange, registry, expected) {
1491
1517
  }
1492
1518
  function verifyCloseTransaction(opts) {
1493
1519
  const intent = intentFromXdr(opts.unsignedXdr, NETWORK_PASSPHRASES[opts.network]);
1494
- const registry = registryView(opts.servedRegistry);
1520
+ const registry = registryView(opts.servedRegistry, opts.network);
1495
1521
  const exchange = registry.lookup(opts.expected.destination);
1496
1522
  if (exchange !== null && !registry.usable()) {
1497
1523
  throw new VerificationError(
@@ -1506,10 +1532,10 @@ function verifyCloseTransaction(opts) {
1506
1532
  registry.lookup
1507
1533
  ),
1508
1534
  // From the bundled copy alone, whatever was served: see `registryView`.
1509
- mediatorRequired: mediatorAllowedFor(opts.expected.destination),
1535
+ mediatorRequired: mediatorAllowedFor(opts.expected.destination, opts.network),
1510
1536
  directMergeRefused: exchange?.requiresMediator ?? false,
1511
1537
  memoRequired: exchange?.requiresMemo ?? false,
1512
- memoType: exchange === null ? opts.expected.memoType : listedMemoType(exchange, registry, opts.expected),
1538
+ memoType: exchange === null ? opts.expected.memoType : listedMemoType(exchange, registry, opts.network, opts.expected),
1513
1539
  nowSeconds: Math.floor(Date.now() / 1e3),
1514
1540
  preAuthorized: opts.preAuthorized === true
1515
1541
  });
@@ -1555,9 +1581,9 @@ var contract_registry_default = {
1555
1581
  protocol: "aquarius",
1556
1582
  kind: "router",
1557
1583
  address: "CBCFTQSPDBAIZ6R6PJQKSQWKNKWH2QIV3I4J72SHWBIK3ADRRAM5A6GD",
1558
- wasmHash: "d34668cd0b957f4e549719032951503495310a4d1c401ddce591c0f152834254",
1584
+ wasmHash: "840aa116e14f3f01578933c76c472b372a65e8a2ecff3a8b8d69b2df0a114108",
1559
1585
  version: "v1",
1560
- label: "Aquarius testnet router - reference only; no specific pool instance is publicly documented yet; hash re-verified 2026-11-06 after an in-place upstream upgrade (interface unchanged, swap_split added)",
1586
+ label: "Aquarius testnet router - reference only; no specific pool instance is publicly documented yet; hash re-verified 2026-11-14 after an in-place upstream upgrade (interface unchanged, get_reward_token and get_reward_token_count added)",
1561
1587
  verifiedLive: true
1562
1588
  },
1563
1589
  {
@@ -1565,9 +1591,11 @@ var contract_registry_default = {
1565
1591
  protocol: "aquarius",
1566
1592
  kind: "pool",
1567
1593
  address: "CDLYWB5CCSNOEXPGHSKYO4FW3R4XFQVI2HR2QC735YDVCSEQJABQDFXI",
1568
- wasmHash: "d691135aade93ff0f7c229e009cde042130a05124cf7202b03d11246b4f9b473",
1594
+ wasmHash: "70476939e1ce8b4f7d6898d7a1403bd0752ba0535ad6c4aea3c4b500ad4715e0",
1595
+ executableOwner: "CDD3G6M2JSJLXBYLY4N6WLWVU2LB5UGPSKFO5ZV4M6BMYQY555Q6FA46",
1596
+ executableTag: "amm.constant",
1569
1597
  version: "constant_product",
1570
- label: "Aquarius testnet constant-product pool (router ConstantPoolHash) - stands for the code every standard pool shares; pools are enumerated from the router",
1598
+ label: "Aquarius testnet constant-product pool - stands for the code every standard pool shares; pools are enumerated from the router; hash re-verified 2026-11-14 after an in-place upstream upgrade to a CAP-85 shared release: the instance names tag amm.constant on the registered executable owner, whose entry holds this hash (interface unchanged, enroll_shared_release and get_shared_release_owner added)",
1571
1599
  verifiedLive: true
1572
1600
  },
1573
1601
  {
@@ -1575,9 +1603,11 @@ var contract_registry_default = {
1575
1603
  protocol: "aquarius",
1576
1604
  kind: "pool",
1577
1605
  address: "CDDLEQE6CPQGIK3RU4MK5CX2IAWN6CXWNJ2C3VOXV4FOVF3BBQFVZDIC",
1578
- wasmHash: "22dff7242d2bc0ea4a4727b4b2cac33b188304d5945740ad24d8a33a5d22741e",
1606
+ wasmHash: "278f6f02d18ea4fcee8ecb208a5e2ea5ad8e81ff2a1015574161d44c6f325558",
1607
+ executableOwner: "CDD3G6M2JSJLXBYLY4N6WLWVU2LB5UGPSKFO5ZV4M6BMYQY555Q6FA46",
1608
+ executableTag: "amm.stable",
1579
1609
  version: "stable",
1580
- label: "Aquarius testnet stableswap pool (router StableSwapPoolHash) - stands for the code every stableswap pool shares",
1610
+ label: "Aquarius testnet stableswap pool - stands for the code every stableswap pool shares; hash re-verified 2026-11-14 after an in-place upstream upgrade to a CAP-85 shared release: the instance names tag amm.stable on the registered executable owner, whose entry holds this hash (interface unchanged, enroll_shared_release and get_shared_release_owner added)",
1581
1611
  verifiedLive: true
1582
1612
  },
1583
1613
  {
@@ -1585,11 +1615,24 @@ var contract_registry_default = {
1585
1615
  protocol: "aquarius",
1586
1616
  kind: "pool",
1587
1617
  address: "CCS6EFFKPQWG5SKMMYL4UQIXVYVDNIXAPHKHUM7IGJVN7QIAWXD2L7TO",
1588
- wasmHash: "155a17b9929ffb1f9e84bd6ef5c00a4d613c1ab5f4ad4c502d84515250cc2907",
1618
+ wasmHash: "b3092d4560a24fd45c143295655846da66d49abad34d15f9613241b6256689d5",
1619
+ executableOwner: "CDD3G6M2JSJLXBYLY4N6WLWVU2LB5UGPSKFO5ZV4M6BMYQY555Q6FA46",
1620
+ executableTag: "amm.concentrated",
1589
1621
  version: "concentrated",
1590
- label: "Aquarius testnet concentrated-liquidity pool (router ConcentratedPoolHash) - positions are tick ranges, not shares; recognized so they are never mistaken for a share pool, not exited",
1622
+ label: "Aquarius testnet concentrated-liquidity pool - positions are tick ranges, not shares; recognized so they are never mistaken for a share pool, not exited; hash re-verified 2026-11-14 after an in-place upstream upgrade to a CAP-85 shared release: the instance names tag amm.concentrated on the registered executable owner, whose entry holds this hash (interface unchanged, enroll_shared_release and get_shared_release_owner added)",
1591
1623
  verifiedLive: true
1592
1624
  },
1625
+ {
1626
+ network: "testnet",
1627
+ protocol: "aquarius",
1628
+ kind: "executable-owner",
1629
+ address: "CDD3G6M2JSJLXBYLY4N6WLWVU2LB5UGPSKFO5ZV4M6BMYQY555Q6FA46",
1630
+ wasmHash: "758bdb9683495f07a96c1dbdd4f7775c45205691eea317d22b97aeb82fa4960f",
1631
+ version: "v1",
1632
+ label: "Aquarius testnet shared-release owner - holds the amm.constant, amm.stable and amm.concentrated tags every testnet pool takes its code from; it can repoint them, so its own code is verified on every read; never a call target of an exit",
1633
+ verifiedLive: true,
1634
+ verifiedBy: "2026-11-14: readLiveCodeIdentity over RPC (soroban-rpc.testnet.stellar.gateway.fm and soroban-testnet.stellar.org) on the owner and on all 412 router pools, each an external reference to one of its three tags"
1635
+ },
1593
1636
  {
1594
1637
  network: "testnet",
1595
1638
  protocol: "soroswap",
@@ -1629,6 +1672,7 @@ var contract_registry_default = {
1629
1672
  version: "v1",
1630
1673
  label: "FxDAO Vaults (testnet) - own build of FxDAO's real open-source vaults contract (FxDAO/FxDAO-SC v0.6.0, not a stub), fully owned with its own oracle and usd stablecoin so the integration suite can self-provision a fresh vault position every run; FxDAO's own testnet and mainnet vaults are both confirmed unusable (see verifiedBy)",
1631
1674
  verifiedLive: true,
1675
+ ownDeployment: true,
1632
1676
  verifiedBy: "2026-09-28: built github.com/FxDAO/FxDAO-SC (main, vaults v0.6.0) via stellar contract build, deployed to testnet with a fresh admin-controlled oracle and usd stablecoin; a real vault opened and closed end to end via this adapter's pay_debt call, collateral returned atomically on full repayment. FxDAO's own testnet vault still has no ledger entry; its mainnet vault still exposes only evict/upgrade; founder confirmed the protocol stopped, matching DeFiLlama's Stellar TVL at $0 since 2026-05-20"
1633
1677
  },
1634
1678
  {
@@ -1640,6 +1684,7 @@ var contract_registry_default = {
1640
1684
  version: "v1",
1641
1685
  label: "Phoenix pool factory (testnet) - own redeploy of Phoenix-Protocol-Group/phoenix-contracts' live_factory.wasm mainnet binary; the previously known testnet factory had gone unresolvable, a testnet-reset staleness case; reference only, not probed for balances",
1642
1686
  verifiedLive: true,
1687
+ ownDeployment: true,
1643
1688
  verifiedBy: "2026-09-26: stellar contract deploy of .wasm_binaries_mainnet/live_factory.wasm to testnet, then stellar contract info hash over RPC (soroban-testnet.stellar.org) confirmed against the file's own sha256"
1644
1689
  },
1645
1690
  {
@@ -1651,6 +1696,7 @@ var contract_registry_default = {
1651
1696
  version: "v1",
1652
1697
  label: "Phoenix multihop router (testnet) - own redeploy of live_multihop.wasm; enumerates/routes swaps, never a call target of this codebase's exit",
1653
1698
  verifiedLive: true,
1699
+ ownDeployment: true,
1654
1700
  verifiedBy: "2026-09-26: stellar contract deploy of .wasm_binaries_mainnet/live_multihop.wasm to testnet, then stellar contract info hash over RPC (soroban-testnet.stellar.org) confirmed against the file's own sha256"
1655
1701
  },
1656
1702
  {
@@ -1662,6 +1708,7 @@ var contract_registry_default = {
1662
1708
  version: "v1",
1663
1709
  label: "Phoenix XYK pool (testnet) - own redeploy of live_xlm_usdc_pool.wasm, genuinely initialized (not just a bytecode reference) with a custom SEP-41 test token so the integration suite can provide and withdraw real liquidity every run; interface confirmed to still expose withdraw_liquidity via stellar contract info interface",
1664
1710
  verifiedLive: true,
1711
+ ownDeployment: true,
1665
1712
  verifiedBy: "2026-09-28: initialize()'d directly with native XLM and a fresh admin-mintable token as token_a/token_b, using the real Phoenix LP share-token wasm fetched from a live mainnet pool's own query_share_token_address (the v2.0.0 GitHub release's generic soroban_token_contract.wasm has an incompatible constructor); a real LP position provided and fully withdrawn end to end via withdraw_liquidity"
1666
1713
  },
1667
1714
  {
@@ -1673,6 +1720,7 @@ var contract_registry_default = {
1673
1720
  version: "v1",
1674
1721
  label: "Phoenix stake (testnet) - deployed internally by the pool's own initialize() call (the same wasmHash as the previously standalone, unwired redeploy), read from the pool's own query_config stake_contract field; the exit's unbond call target",
1675
1722
  verifiedLive: true,
1723
+ ownDeployment: true,
1676
1724
  verifiedBy: "2026-09-28: query_config simulated live against CCVEHSVGFYL5SKLO3BSRZCWRHDWKVB5KX6LYT66GX6QNCRJEPYHF6FIV returned this as stake_contract right after the pool's initialize(); interface confirmed to still expose bond/unbond via stellar contract info interface"
1677
1725
  },
1678
1726
  {
@@ -1683,7 +1731,10 @@ var contract_registry_default = {
1683
1731
  wasmHash: "0287f4ad7350935b83d94e046c0bcabc960b233dbce1531008c021b71d406a1d",
1684
1732
  version: "v1",
1685
1733
  label: "Blend V1 pool factory (mainnet, blend-utils poolFactory) - reference only, not probed for balances; not in the stellar.expert directory",
1686
- verifiedLive: true
1734
+ verifiedLive: true,
1735
+ verifiedBy: "2026-10-10: live executable hash read over public RPC and compared to wasmHash in the full registry re-verification (#581); address and V1 hash matched against blend-utils mainnet.contracts.json",
1736
+ source: "docs.blend.capital/mainnet-deployments and blend-capital/blend-utils mainnet.contracts.json (poolFactory)",
1737
+ verifiedAt: "2026-10-10"
1687
1738
  },
1688
1739
  {
1689
1740
  network: "mainnet",
@@ -1693,7 +1744,10 @@ var contract_registry_default = {
1693
1744
  wasmHash: "62f61b32fff99f7eec052a8e573c367759f161c481a5caf0e76a10ae4617c3b4",
1694
1745
  version: "v1",
1695
1746
  label: "Blend V1 backstop (mainnet, blend-utils backstop) - read for the account's deposit per V1 pool; 21-day withdrawal queue; not in the stellar.expert directory",
1696
- verifiedLive: true
1747
+ verifiedLive: true,
1748
+ verifiedBy: "2026-10-10: live executable hash read over public RPC and compared to wasmHash in the full registry re-verification (#581); address and V1 hash matched against blend-utils mainnet.contracts.json",
1749
+ source: "docs.blend.capital/mainnet-deployments and blend-capital/blend-utils mainnet.contracts.json (backstop)",
1750
+ verifiedAt: "2026-10-10"
1697
1751
  },
1698
1752
  {
1699
1753
  network: "mainnet",
@@ -1703,7 +1757,10 @@ var contract_registry_default = {
1703
1757
  wasmHash: "baf978f10efdbcd85747868bef8832845ea6809f7643b67a4ac0cd669327fc2c",
1704
1758
  version: "v1",
1705
1759
  label: "Blend V1 'Fixed' pool (mainnet; stellar.expert: 'Blend Pool') - stands for the V1 lendingPool code every V1 pool shares (YieldBlox CBP7NO6F\u2026 runs the same hash); positions come from OctoPos, not from this list",
1706
- verifiedLive: true
1760
+ verifiedLive: true,
1761
+ verifiedBy: "2026-10-10: live executable hash read over public RPC and compared to wasmHash in the full registry re-verification (#581); address and V1 hash matched against blend-utils mainnet.contracts.json",
1762
+ source: "docs.blend.capital/mainnet-deployments and blend-capital/blend-utils mainnet.contracts.json; stellar.expert directory 'Blend Pool'",
1763
+ verifiedAt: "2026-10-10"
1707
1764
  },
1708
1765
  {
1709
1766
  network: "mainnet",
@@ -1714,7 +1771,9 @@ var contract_registry_default = {
1714
1771
  version: "v1",
1715
1772
  label: "Blend V1 'YieldBlox' pool (mainnet; blend-utils YieldBlox; stellar.expert: 'Blend Pool'; in the V1 backstop's reward zone) - listed by address so an exit that repays into it is verified like the Fixed pool; its backstop is the registered V1 backstop",
1716
1773
  verifiedLive: true,
1717
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V1 pool hash; simulated is_pool on the V1 factory (CCZD6ESMOG...) returned true; instance Name 'YieldBlox'"
1774
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V1 pool hash; simulated is_pool on the V1 factory (CCZD6ESMOG...) returned true; instance Name 'YieldBlox'",
1775
+ source: "blend-capital/blend-utils mainnet.contracts.json (YieldBlox); the V1 backstop's reward zone; stellar.expert directory 'Blend Pool'",
1776
+ verifiedAt: "2026-10-15"
1718
1777
  },
1719
1778
  {
1720
1779
  network: "mainnet",
@@ -1725,7 +1784,9 @@ var contract_registry_default = {
1725
1784
  version: "v1",
1726
1785
  label: "Blend V1 'FxDAO' pool (mainnet; stellar.expert: 'Blend Pool'; in the V1 backstop's reward zone) - listed by address so an exit that repays into it is verified like the Fixed pool; its backstop is the registered V1 backstop",
1727
1786
  verifiedLive: true,
1728
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V1 pool hash; simulated is_pool on the V1 factory (CCZD6ESMOG...) returned true; instance Name 'FxDAO'"
1787
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V1 pool hash; simulated is_pool on the V1 factory (CCZD6ESMOG...) returned true; instance Name 'FxDAO'",
1788
+ source: "the V1 backstop's reward zone; stellar.expert directory 'Blend Pool'",
1789
+ verifiedAt: "2026-10-15"
1729
1790
  },
1730
1791
  {
1731
1792
  network: "mainnet",
@@ -1736,7 +1797,9 @@ var contract_registry_default = {
1736
1797
  version: "v1",
1737
1798
  label: "Blend V1 'ReflectorFusion' pool (mainnet; not in the stellar.expert directory; in the V1 backstop's reward zone) - listed by address so an exit that repays into it is verified like the Fixed pool; its backstop is the registered V1 backstop",
1738
1799
  verifiedLive: true,
1739
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V1 pool hash; simulated is_pool on the V1 factory (CCZD6ESMOG...) returned true; instance Name 'ReflectorFusion'"
1800
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V1 pool hash; simulated is_pool on the V1 factory (CCZD6ESMOG...) returned true; instance Name 'ReflectorFusion'",
1801
+ source: "the V1 backstop's reward zone",
1802
+ verifiedAt: "2026-10-15"
1740
1803
  },
1741
1804
  {
1742
1805
  network: "mainnet",
@@ -1747,7 +1810,9 @@ var contract_registry_default = {
1747
1810
  version: "v1",
1748
1811
  label: "Blend V1 'ClickPesa DebtFund Managed' pool (mainnet; not in the stellar.expert directory; in the V1 backstop's reward zone) - listed by address so an exit that repays into it is verified like the Fixed pool; its backstop is the registered V1 backstop",
1749
1812
  verifiedLive: true,
1750
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V1 pool hash; simulated is_pool on the V1 factory (CCZD6ESMOG...) returned true; instance Name 'ClickPesa DebtFund Managed'"
1813
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V1 pool hash; simulated is_pool on the V1 factory (CCZD6ESMOG...) returned true; instance Name 'ClickPesa DebtFund Managed'",
1814
+ source: "the V1 backstop's reward zone",
1815
+ verifiedAt: "2026-10-15"
1751
1816
  },
1752
1817
  {
1753
1818
  network: "mainnet",
@@ -1757,7 +1822,10 @@ var contract_registry_default = {
1757
1822
  wasmHash: "31328050548831f63d2b72e37bcfd0bb7371b7907135755dbe09ed434d755ca9",
1758
1823
  version: "v2",
1759
1824
  label: "Blend V2 pool factory (mainnet; stellar.expert: 'Blend Pool Factory', verified build of blend-contracts-v2) - reference only, not probed for balances; same code hash as the testnet factory",
1760
- verifiedLive: true
1825
+ verifiedLive: true,
1826
+ verifiedBy: "2026-10-10: live executable hash read over public RPC and compared to wasmHash in the full registry re-verification (#581); address matched against blend-utils mainnet.contracts.json",
1827
+ source: "docs.blend.capital/mainnet-deployments and blend-capital/blend-utils mainnet.contracts.json; stellar.expert directory 'Blend Pool Factory'",
1828
+ verifiedAt: "2026-10-10"
1761
1829
  },
1762
1830
  {
1763
1831
  network: "mainnet",
@@ -1767,7 +1835,10 @@ var contract_registry_default = {
1767
1835
  wasmHash: "c1f4502a757e25c611f5a159bc1ab0eef64085adac6c68123dca66e87faffbc2",
1768
1836
  version: "v2",
1769
1837
  label: "Blend V2 backstop (mainnet; stellar.expert: 'Blend Backstop') - read for the account's deposit per V2 pool; the exit withdraws unlocked queued shares from it; same code hash as the testnet backstop",
1770
- verifiedLive: true
1838
+ verifiedLive: true,
1839
+ verifiedBy: "2026-10-10: live executable hash read over public RPC and compared to wasmHash in the full registry re-verification (#581); address matched against blend-utils mainnet.contracts.json",
1840
+ source: "docs.blend.capital/mainnet-deployments and blend-capital/blend-utils mainnet.contracts.json; stellar.expert directory 'Blend Backstop'",
1841
+ verifiedAt: "2026-10-10"
1771
1842
  },
1772
1843
  {
1773
1844
  network: "mainnet",
@@ -1777,7 +1848,10 @@ var contract_registry_default = {
1777
1848
  wasmHash: "a41fc53d6753b6c04eb15b021c55052366a4c8e0e21bc72700f461264ec1350e",
1778
1849
  version: "v2",
1779
1850
  label: "Blend V2 'Fixed' pool (mainnet; stellar.expert: 'Blend Pool') - stands for the V2 pool code the factory's PoolMeta.pool_hash deploys (YieldBlox V2 CCCCIQSD\u2026 runs the same hash, as does the testnet pool); positions come from OctoPos, not from this list",
1780
- verifiedLive: true
1851
+ verifiedLive: true,
1852
+ verifiedBy: "2026-10-10: live executable hash read over public RPC and compared to wasmHash in the full registry re-verification (#581); address matched against blend-utils mainnet.contracts.json",
1853
+ source: "docs.blend.capital/mainnet-deployments and blend-capital/blend-utils mainnet.contracts.json; stellar.expert directory 'Blend Pool'",
1854
+ verifiedAt: "2026-10-10"
1781
1855
  },
1782
1856
  {
1783
1857
  network: "mainnet",
@@ -1788,7 +1862,9 @@ var contract_registry_default = {
1788
1862
  version: "v2",
1789
1863
  label: "Blend V2 'YieldBlox' pool (mainnet; blend-utils YieldBloxV2; stellar.expert: 'Blend Pool') - listed by address so an exit that repays into it is verified like the Fixed pool; its backstop is the registered V2 backstop",
1790
1864
  verifiedLive: true,
1791
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V2 pool hash; simulated is_pool on the V2 factory (CDSYOAVXFY...) returned true; instance Name 'YieldBlox'"
1865
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V2 pool hash; simulated is_pool on the V2 factory (CDSYOAVXFY...) returned true; instance Name 'YieldBlox'",
1866
+ source: "blend-capital/blend-utils mainnet.contracts.json (YieldBloxV2); stellar.expert directory 'Blend Pool'",
1867
+ verifiedAt: "2026-10-15"
1792
1868
  },
1793
1869
  {
1794
1870
  network: "mainnet",
@@ -1799,7 +1875,9 @@ var contract_registry_default = {
1799
1875
  version: "v2",
1800
1876
  label: "Blend V2 'Orbit' pool (mainnet; stellar.expert: 'Blend Pool') - listed by address so an exit that repays into it is verified like the Fixed pool; its backstop is the registered V2 backstop",
1801
1877
  verifiedLive: true,
1802
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V2 pool hash; simulated is_pool on the V2 factory (CDSYOAVXFY...) returned true; instance Name 'Orbit'"
1878
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V2 pool hash; simulated is_pool on the V2 factory (CDSYOAVXFY...) returned true; instance Name 'Orbit'",
1879
+ source: "stellar.expert directory 'Blend Pool'",
1880
+ verifiedAt: "2026-10-15"
1803
1881
  },
1804
1882
  {
1805
1883
  network: "mainnet",
@@ -1810,7 +1888,9 @@ var contract_registry_default = {
1810
1888
  version: "v2",
1811
1889
  label: "Blend V2 'Forex' pool (mainnet; stellar.expert: 'Blend Pool') - listed by address so an exit that repays into it is verified like the Fixed pool; its backstop is the registered V2 backstop",
1812
1890
  verifiedLive: true,
1813
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V2 pool hash; simulated is_pool on the V2 factory (CDSYOAVXFY...) returned true; instance Name 'Forex'"
1891
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V2 pool hash; simulated is_pool on the V2 factory (CDSYOAVXFY...) returned true; instance Name 'Forex'",
1892
+ source: "stellar.expert directory 'Blend Pool'",
1893
+ verifiedAt: "2026-10-15"
1814
1894
  },
1815
1895
  {
1816
1896
  network: "mainnet",
@@ -1821,7 +1901,9 @@ var contract_registry_default = {
1821
1901
  version: "v2",
1822
1902
  label: "Blend V2 'Etherfuse' pool (mainnet; stellar.expert: 'Blend Pool') - listed by address so an exit that repays into it is verified like the Fixed pool; its backstop is the registered V2 backstop",
1823
1903
  verifiedLive: true,
1824
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V2 pool hash; simulated is_pool on the V2 factory (CDSYOAVXFY...) returned true; instance Name 'Etherfuse'"
1904
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the V2 pool hash; simulated is_pool on the V2 factory (CDSYOAVXFY...) returned true; instance Name 'Etherfuse'",
1905
+ source: "stellar.expert directory 'Blend Pool'",
1906
+ verifiedAt: "2026-10-15"
1825
1907
  },
1826
1908
  {
1827
1909
  network: "mainnet",
@@ -1831,7 +1913,10 @@ var contract_registry_default = {
1831
1913
  wasmHash: "c99539b023df4a28d7857d33ca4c915c2e20fec04f12b125132b84fbdf94dad3",
1832
1914
  version: "v1",
1833
1915
  label: "Aquarius AMM router (mainnet, docs.aqua.network; stellar.expert: 'Aquarius Router') - enumerates the pools; never a call target of an exit; hash re-verified 2026-10-02 after an upstream upgrade (interface unchanged)",
1834
- verifiedLive: true
1916
+ verifiedLive: true,
1917
+ verifiedBy: "2026-11-06: readLiveWasmHash over RPC (mainnet.sorobanrpc.com) returned this hash, unchanged (#713); 2026-10-10: address matched against docs.aqua.network addresses-and-networks and live hash compared in the full registry re-verification (#581)",
1918
+ source: "docs.aqua.network/developers/reference/addresses-and-networks; stellar.expert directory 'Aquarius Router'",
1919
+ verifiedAt: "2026-11-06"
1835
1920
  },
1836
1921
  {
1837
1922
  network: "mainnet",
@@ -1841,7 +1926,10 @@ var contract_registry_default = {
1841
1926
  wasmHash: "d691135aade93ff0f7c229e009cde042130a05124cf7202b03d11246b4f9b473",
1842
1927
  version: "constant_product",
1843
1928
  label: "Aquarius mainnet constant-product pool XLM/AQUA (router ConstantPoolHash; stellar.expert: 'Aquarius Pool') - stands for the code 273 of the router's 346 pools shared on lastVerified; hash re-verified 2026-10-02 after an upstream upgrade (the router's own pool hash, interface only gained view functions)",
1844
- verifiedLive: true
1929
+ verifiedLive: true,
1930
+ verifiedBy: "2026-10-10: live executable hash read over public RPC and compared to wasmHash in the full registry re-verification (#581)",
1931
+ source: "the mainnet Aquarius router's own ConstantPoolHash; stellar.expert directory 'Aquarius Pool'",
1932
+ verifiedAt: "2026-10-10"
1845
1933
  },
1846
1934
  {
1847
1935
  network: "mainnet",
@@ -1851,7 +1939,10 @@ var contract_registry_default = {
1851
1939
  wasmHash: "22dff7242d2bc0ea4a4727b4b2cac33b188304d5945740ad24d8a33a5d22741e",
1852
1940
  version: "stable",
1853
1941
  label: "Aquarius mainnet stableswap pool (router StableSwapPoolHash; stellar.expert: 'Aquarius Pool') - stands for the code 42 of the router's pools shared on lastVerified; hash re-verified 2026-10-02 after an upstream upgrade (the router's own pool hash, interface only gained view functions)",
1854
- verifiedLive: true
1942
+ verifiedLive: true,
1943
+ verifiedBy: "2026-10-10: live executable hash read over public RPC and compared to wasmHash in the full registry re-verification (#581)",
1944
+ source: "the mainnet Aquarius router's own StableSwapPoolHash; stellar.expert directory 'Aquarius Pool'",
1945
+ verifiedAt: "2026-10-10"
1855
1946
  },
1856
1947
  {
1857
1948
  network: "mainnet",
@@ -1861,7 +1952,10 @@ var contract_registry_default = {
1861
1952
  wasmHash: "155a17b9929ffb1f9e84bd6ef5c00a4d613c1ab5f4ad4c502d84515250cc2907",
1862
1953
  version: "concentrated",
1863
1954
  label: "Aquarius mainnet concentrated-liquidity pool, current router ConcentratedPoolHash (stellar.expert: 'Aquarius Pool') - positions are tick ranges, not shares; recognized so they are never mistaken for a share pool, not exited; added 2026-10-02, and since 2026-10-07 the only concentrated code: all 43 of the router's concentrated pools run it after the older pools were upgraded in place",
1864
- verifiedLive: true
1955
+ verifiedLive: true,
1956
+ verifiedBy: "2026-10-10: live executable hash read over public RPC and compared to wasmHash in the full registry re-verification (#581)",
1957
+ source: "the mainnet Aquarius router's own ConcentratedPoolHash; stellar.expert directory 'Aquarius Pool'",
1958
+ verifiedAt: "2026-10-10"
1865
1959
  },
1866
1960
  {
1867
1961
  network: "mainnet",
@@ -1871,7 +1965,10 @@ var contract_registry_default = {
1871
1965
  wasmHash: "5db738b05d9148128a240b0e2c1cb935c2805192bf98a579421aacda364c8dae",
1872
1966
  version: "v1",
1873
1967
  label: "Soroswap factory (mainnet, soroswap/core mainnet.contracts.json; stellar.expert: 'SoroSwap') - 214 pairs on lastVerified; reference only, not probed for balances",
1874
- verifiedLive: true
1968
+ verifiedLive: true,
1969
+ verifiedBy: "2026-10-10: live executable hash read over public RPC and compared to wasmHash in the full registry re-verification (#581); address and hash matched against soroswap/core public/mainnet.contracts.json",
1970
+ source: "soroswap/core public/mainnet.contracts.json (factory); stellar.expert directory 'SoroSwap'",
1971
+ verifiedAt: "2026-10-10"
1875
1972
  },
1876
1973
  {
1877
1974
  network: "mainnet",
@@ -1881,7 +1978,10 @@ var contract_registry_default = {
1881
1978
  wasmHash: "4c3db3ebd2d6a2ab23de1f622eaabb39501539b4611b68622ec4e47f76c4ba07",
1882
1979
  version: "v1",
1883
1980
  label: "Soroswap router (mainnet, soroswap/core mainnet.contracts.json; stellar.expert: 'SoroSwap Router') - the exit's remove_liquidity call target",
1884
- verifiedLive: true
1981
+ verifiedLive: true,
1982
+ verifiedBy: "2026-10-10: live executable hash read over public RPC and compared to wasmHash in the full registry re-verification (#581); address and hash matched against soroswap/core public/mainnet.contracts.json",
1983
+ source: "soroswap/core public/mainnet.contracts.json (router); stellar.expert directory 'SoroSwap Router'",
1984
+ verifiedAt: "2026-10-10"
1885
1985
  },
1886
1986
  {
1887
1987
  network: "mainnet",
@@ -1891,7 +1991,10 @@ var contract_registry_default = {
1891
1991
  wasmHash: "18051456816b66f12e773a56f77c5794fac1b1fb7ab6e22d4fad5a412770f73e",
1892
1992
  version: "v1",
1893
1993
  label: "Soroswap mainnet pair BLAH/YAWN (factory index 0) - stands for the pair code soroswap/core publishes as 'pair' and every factory-deployed pair shares; pairs are enumerated from the factory, not listed here; not in the stellar.expert directory",
1894
- verifiedLive: true
1994
+ verifiedLive: true,
1995
+ verifiedBy: "2026-10-10: live executable hash read over public RPC and compared to wasmHash in the full registry re-verification (#581); address and hash matched against soroswap/core public/mainnet.contracts.json",
1996
+ source: "soroswap/core public/mainnet.contracts.json (pair)",
1997
+ verifiedAt: "2026-10-10"
1895
1998
  },
1896
1999
  {
1897
2000
  network: "mainnet",
@@ -1902,18 +2005,22 @@ var contract_registry_default = {
1902
2005
  version: "v2",
1903
2006
  label: "Soroswap aggregator v2 (mainnet, deployed 2026-09-14) - the contract a multi-protocol token conversion invokes; swap_exact_in only, partner None",
1904
2007
  verifiedLive: true,
1905
- verifiedBy: "2026-09-29: readLiveWasmHash over RPC (mainnet.sorobanrpc.com); the Soroswap API's own swap builds call it; confirmed as the current aggregator by the Soroswap team; its config() names the registry's Soroswap and Aquarius routers. Not yet in soroswap/aggregator public/mainnet.contracts.json"
2008
+ verifiedBy: "2026-09-29: readLiveWasmHash over RPC (mainnet.sorobanrpc.com); the Soroswap API's own swap builds call it; confirmed as the current aggregator by the Soroswap team; its config() names the registry's Soroswap and Aquarius routers. Not yet in soroswap/aggregator public/mainnet.contracts.json; 2026-10-10: live executable hash re-compared over public RPC in the full registry re-verification (#581)",
2009
+ source: "the Soroswap API's own swap builds and the Soroswap team's confirmation; not yet in soroswap/aggregator public/mainnet.contracts.json",
2010
+ verifiedAt: "2026-10-10"
1906
2011
  },
1907
2012
  {
1908
2013
  network: "mainnet",
1909
2014
  protocol: "xbull",
1910
2015
  kind: "router",
1911
2016
  address: "CCKXBE5GKJOCE7IKL64HLYKW3IJSUPVOLC4CS77GQT5QQHDZLDYV3DFT",
1912
- wasmHash: "c2b3ec57fbd45d5bade9df2ad30c464d1588cead18495a5ce327a98c45c02219",
2017
+ wasmHash: "e2acb145fa324907437321dd2d1ad0d51e5dd5f07bf31f25f89bf30896a95e31",
1913
2018
  version: "v1",
1914
2019
  label: "xBull PathPayment swap router (mainnet, swap-api.xbull.io), strict_send only",
1915
2020
  verifiedLive: true,
1916
- verifiedBy: "2026-09-17: readLiveWasmHash over RPC (mainnet.sorobanrpc.com) against CCKXBE5GKJOCE7IKL64HLYKW3IJSUPVOLC4CS77GQT5QQHDZLDYV3DFT (xBullCorp/swap-kit SwapContract.MAINNET)"
2021
+ verifiedBy: "2026-09-17: readLiveWasmHash over RPC (mainnet.sorobanrpc.com) against CCKXBE5GKJOCE7IKL64HLYKW3IJSUPVOLC4CS77GQT5QQHDZLDYV3DFT (xBullCorp/swap-kit SwapContract.MAINNET); 2026-10-10: live executable hash re-compared over public RPC in the full registry re-verification (#581); 2026-11-17: re-pinned after its admin-signed upgrade at ledger 65514477 (#979): same interface and storage keys, same strict_send auth on chain and in a read-only simulation",
2022
+ source: "xBullCorp/swap-kit SwapContract.MAINNET (swap-api.xbull.io)",
2023
+ verifiedAt: "2026-11-17"
1917
2024
  },
1918
2025
  {
1919
2026
  network: "mainnet",
@@ -1924,7 +2031,9 @@ var contract_registry_default = {
1924
2031
  version: "v1",
1925
2032
  label: "Phoenix XYK pool (mainnet; stellar.expert: 'Phoenix Pool') - stands for the v1 pool code that 10 of the 11 listed Phoenix pools run; positions come from OctoPos, not from this list",
1926
2033
  verifiedLive: true,
1927
- verifiedBy: "2026-09-26: stellar contract info hash over RPC (mainnet.sorobanrpc.com) against CB5QUVK5GS3IU23TMFZQ3P5J24YBBZP5PHUQAEJ2SP5K55PFTJRUQG2L, one of the stellar.expert directory's 'Phoenix Pool' entries (domain phoenix-hub.io); stellar contract info interface confirms it still exposes withdraw_liquidity"
2034
+ verifiedBy: "2026-09-26: stellar contract info hash over RPC (mainnet.sorobanrpc.com) against CB5QUVK5GS3IU23TMFZQ3P5J24YBBZP5PHUQAEJ2SP5K55PFTJRUQG2L, one of the stellar.expert directory's 'Phoenix Pool' entries (domain phoenix-hub.io); stellar contract info interface confirms it still exposes withdraw_liquidity; 2026-10-10: live executable hash re-compared over public RPC in the full registry re-verification (#581)",
2035
+ source: "stellar.expert directory 'Phoenix Pool' (domain phoenix-hub.io)",
2036
+ verifiedAt: "2026-10-10"
1928
2037
  },
1929
2038
  {
1930
2039
  network: "mainnet",
@@ -1935,7 +2044,9 @@ var contract_registry_default = {
1935
2044
  version: "v1",
1936
2045
  label: "Phoenix XYK pool (mainnet; stellar.expert: 'Phoenix Pool') - runs the v1 pool code; listed by address so its withdraw_liquidity is verified like the representative pool's",
1937
2046
  verifiedLive: true,
1938
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract"
2047
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract",
2048
+ source: "stellar.expert directory 'Phoenix Pool'",
2049
+ verifiedAt: "2026-10-15"
1939
2050
  },
1940
2051
  {
1941
2052
  network: "mainnet",
@@ -1946,7 +2057,9 @@ var contract_registry_default = {
1946
2057
  version: "v1",
1947
2058
  label: "Phoenix XYK pool (mainnet; stellar.expert: 'Phoenix Pool') - runs the v1 pool code; listed by address so its withdraw_liquidity is verified like the representative pool's",
1948
2059
  verifiedLive: true,
1949
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract"
2060
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract",
2061
+ source: "stellar.expert directory 'Phoenix Pool'",
2062
+ verifiedAt: "2026-10-15"
1950
2063
  },
1951
2064
  {
1952
2065
  network: "mainnet",
@@ -1957,7 +2070,9 @@ var contract_registry_default = {
1957
2070
  version: "v1",
1958
2071
  label: "Phoenix XYK pool (mainnet; stellar.expert: 'Phoenix Pool') - runs the v1 pool code; listed by address so its withdraw_liquidity is verified like the representative pool's",
1959
2072
  verifiedLive: true,
1960
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract"
2073
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract",
2074
+ source: "stellar.expert directory 'Phoenix Pool'",
2075
+ verifiedAt: "2026-10-15"
1961
2076
  },
1962
2077
  {
1963
2078
  network: "mainnet",
@@ -1968,7 +2083,9 @@ var contract_registry_default = {
1968
2083
  version: "v1",
1969
2084
  label: "Phoenix XYK pool (mainnet; stellar.expert: 'Phoenix Pool') - runs the v1 pool code; listed by address so its withdraw_liquidity is verified like the representative pool's",
1970
2085
  verifiedLive: true,
1971
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract"
2086
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract",
2087
+ source: "stellar.expert directory 'Phoenix Pool'",
2088
+ verifiedAt: "2026-10-15"
1972
2089
  },
1973
2090
  {
1974
2091
  network: "mainnet",
@@ -1979,7 +2096,9 @@ var contract_registry_default = {
1979
2096
  version: "v1",
1980
2097
  label: "Phoenix XYK pool (mainnet; stellar.expert: 'Phoenix Pool') - runs the v1 pool code; listed by address so its withdraw_liquidity is verified like the representative pool's",
1981
2098
  verifiedLive: true,
1982
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract"
2099
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract",
2100
+ source: "stellar.expert directory 'Phoenix Pool'",
2101
+ verifiedAt: "2026-10-15"
1983
2102
  },
1984
2103
  {
1985
2104
  network: "mainnet",
@@ -1990,7 +2109,9 @@ var contract_registry_default = {
1990
2109
  version: "v1",
1991
2110
  label: "Phoenix XYK pool (mainnet; stellar.expert: 'Phoenix Pool') - runs the v1 pool code; listed by address so its withdraw_liquidity is verified like the representative pool's",
1992
2111
  verifiedLive: true,
1993
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract"
2112
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract",
2113
+ source: "stellar.expert directory 'Phoenix Pool'",
2114
+ verifiedAt: "2026-10-15"
1994
2115
  },
1995
2116
  {
1996
2117
  network: "mainnet",
@@ -2001,7 +2122,9 @@ var contract_registry_default = {
2001
2122
  version: "v1",
2002
2123
  label: "Phoenix XYK pool (mainnet; stellar.expert: 'Phoenix Pool') - runs the v1 pool code; listed by address so its withdraw_liquidity is verified like the representative pool's",
2003
2124
  verifiedLive: true,
2004
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract"
2125
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract",
2126
+ source: "stellar.expert directory 'Phoenix Pool'",
2127
+ verifiedAt: "2026-10-15"
2005
2128
  },
2006
2129
  {
2007
2130
  network: "mainnet",
@@ -2012,7 +2135,9 @@ var contract_registry_default = {
2012
2135
  version: "v1",
2013
2136
  label: "Phoenix XYK pool (mainnet; stellar.expert: 'Phoenix Pool') - runs the v1 pool code; listed by address so its withdraw_liquidity is verified like the representative pool's",
2014
2137
  verifiedLive: true,
2015
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract"
2138
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract",
2139
+ source: "stellar.expert directory 'Phoenix Pool'",
2140
+ verifiedAt: "2026-10-15"
2016
2141
  },
2017
2142
  {
2018
2143
  network: "mainnet",
@@ -2023,7 +2148,9 @@ var contract_registry_default = {
2023
2148
  version: "v1",
2024
2149
  label: "Phoenix XYK pool (mainnet; stellar.expert: 'Phoenix Pool') - runs the v1 pool code; listed by address so its withdraw_liquidity is verified like the representative pool's",
2025
2150
  verifiedLive: true,
2026
- verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract"
2151
+ verifiedBy: "2026-10-15: getLedgerEntries on the instance returned the v1 pool hash; its persistent CONFIG entry names its share token and stake contract",
2152
+ source: "stellar.expert directory 'Phoenix Pool'",
2153
+ verifiedAt: "2026-10-15"
2027
2154
  },
2028
2155
  {
2029
2156
  network: "mainnet",
@@ -2034,7 +2161,9 @@ var contract_registry_default = {
2034
2161
  version: "v1",
2035
2162
  label: "Phoenix stake (mainnet) - the exit's unbond call target for the v1 pool family, read from that pool's own query_config stake_contract field; not listed under its own name in the stellar.expert directory",
2036
2163
  verifiedLive: true,
2037
- verifiedBy: "2026-09-26: query_config simulated live against CB5QUVK5GS3IU23TMFZQ3P5J24YBBZP5PHUQAEJ2SP5K55PFTJRUQG2L returned this as stake_contract; stellar contract info hash over RPC (mainnet.sorobanrpc.com) confirmed the hash, and stellar contract info interface confirms it still exposes bond/unbond"
2164
+ verifiedBy: "2026-09-26: query_config simulated live against CB5QUVK5GS3IU23TMFZQ3P5J24YBBZP5PHUQAEJ2SP5K55PFTJRUQG2L returned this as stake_contract; stellar contract info hash over RPC (mainnet.sorobanrpc.com) confirmed the hash, and stellar contract info interface confirms it still exposes bond/unbond; 2026-10-10: live executable hash re-compared over public RPC in the full registry re-verification (#581)",
2165
+ source: "the stake_contract in pool CB5QUVK5GS3IU23TMFZQ3P5J24YBBZP5PHUQAEJ2SP5K55PFTJRUQG2L's own query_config",
2166
+ verifiedAt: "2026-10-10"
2038
2167
  },
2039
2168
  {
2040
2169
  network: "mainnet",
@@ -2045,7 +2174,9 @@ var contract_registry_default = {
2045
2174
  version: "v1",
2046
2175
  label: "Phoenix stake (mainnet) - the unbond call target for pool CBCZGGNOEUZG4CAAE7TGTQQHETZMKUT4OIPFHHPKEUX46U4KXBBZ3GLH, read from that pool's own CONFIG stake_contract field; an earlier build of the v1 stake code, same unbond signature and BondingInfo layout",
2047
2176
  verifiedLive: true,
2048
- verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash; stellar contract info interface shows the same unbond(sender, stake_amount, stake_timestamp) and BondingInfo as the registered v1 stake code, and a staker's entry is keyed by the bare account address"
2177
+ verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash; stellar contract info interface shows the same unbond(sender, stake_amount, stake_timestamp) and BondingInfo as the registered v1 stake code, and a staker's entry is keyed by the bare account address",
2178
+ source: "the CONFIG stake_contract of pool CBCZGGNOEUZG4CAAE7TGTQQHETZMKUT4OIPFHHPKEUX46U4KXBBZ3GLH",
2179
+ verifiedAt: "2026-10-16"
2049
2180
  },
2050
2181
  {
2051
2182
  network: "mainnet",
@@ -2056,7 +2187,9 @@ var contract_registry_default = {
2056
2187
  version: "v1",
2057
2188
  label: "Phoenix stake (mainnet) - the unbond call target for pool CBHCRSVX3ZZ7EGTSYMKPEFGZNWRVCSESQR3UABET4MIW52N4EVU6BIZX, read from that pool's own CONFIG stake_contract field; an earlier build of the v1 stake code, same unbond signature and BondingInfo layout",
2058
2189
  verifiedLive: true,
2059
- verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash; stellar contract info interface shows the same unbond(sender, stake_amount, stake_timestamp) and BondingInfo as the registered v1 stake code, and a staker's entry is keyed by the bare account address"
2190
+ verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash; stellar contract info interface shows the same unbond(sender, stake_amount, stake_timestamp) and BondingInfo as the registered v1 stake code, and a staker's entry is keyed by the bare account address",
2191
+ source: "the CONFIG stake_contract of pool CBHCRSVX3ZZ7EGTSYMKPEFGZNWRVCSESQR3UABET4MIW52N4EVU6BIZX",
2192
+ verifiedAt: "2026-10-16"
2060
2193
  },
2061
2194
  {
2062
2195
  network: "mainnet",
@@ -2067,7 +2200,9 @@ var contract_registry_default = {
2067
2200
  version: "v1",
2068
2201
  label: "Phoenix stake (mainnet) - the unbond call target for pool CBISULYO5ZGS32WTNCBMEFCNKNSLFXCQ4Z3XHVDP4X4FLPSEALGSY3PS, read from that pool's own CONFIG stake_contract field",
2069
2202
  verifiedLive: true,
2070
- verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash"
2203
+ verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash",
2204
+ source: "the CONFIG stake_contract of pool CBISULYO5ZGS32WTNCBMEFCNKNSLFXCQ4Z3XHVDP4X4FLPSEALGSY3PS",
2205
+ verifiedAt: "2026-10-16"
2071
2206
  },
2072
2207
  {
2073
2208
  network: "mainnet",
@@ -2078,7 +2213,9 @@ var contract_registry_default = {
2078
2213
  version: "v1",
2079
2214
  label: "Phoenix stake (mainnet) - the unbond call target for pool CBW5G5SO5SDYUGQVU7RMZ2KJ34POM3AMODOBIV2RQYG4KJDUUBVC3P2T, read from that pool's own CONFIG stake_contract field; an earlier build of the v1 stake code, same unbond signature and BondingInfo layout",
2080
2215
  verifiedLive: true,
2081
- verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash; stellar contract info interface shows the same unbond(sender, stake_amount, stake_timestamp) and BondingInfo as the registered v1 stake code, and a staker's entry is keyed by the bare account address"
2216
+ verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash; stellar contract info interface shows the same unbond(sender, stake_amount, stake_timestamp) and BondingInfo as the registered v1 stake code, and a staker's entry is keyed by the bare account address",
2217
+ source: "the CONFIG stake_contract of pool CBW5G5SO5SDYUGQVU7RMZ2KJ34POM3AMODOBIV2RQYG4KJDUUBVC3P2T",
2218
+ verifiedAt: "2026-10-16"
2082
2219
  },
2083
2220
  {
2084
2221
  network: "mainnet",
@@ -2089,7 +2226,9 @@ var contract_registry_default = {
2089
2226
  version: "v1",
2090
2227
  label: "Phoenix stake (mainnet) - the unbond call target for pool CC6MJZN3HFOJKXN42ANTSCLRFOMHLFXHWPNAX64DQNUEBDMUYMPHASAV, read from that pool's own CONFIG stake_contract field",
2091
2228
  verifiedLive: true,
2092
- verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash"
2229
+ verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash",
2230
+ source: "the CONFIG stake_contract of pool CC6MJZN3HFOJKXN42ANTSCLRFOMHLFXHWPNAX64DQNUEBDMUYMPHASAV",
2231
+ verifiedAt: "2026-10-16"
2093
2232
  },
2094
2233
  {
2095
2234
  network: "mainnet",
@@ -2100,7 +2239,9 @@ var contract_registry_default = {
2100
2239
  version: "v1",
2101
2240
  label: "Phoenix stake (mainnet) - the unbond call target for pool CCKOC2LJTPDBKDHTL3M5UO7HFZ2WFIHSOKCELMKQP3TLCIVUBKOQL4HB, read from that pool's own CONFIG stake_contract field",
2102
2241
  verifiedLive: true,
2103
- verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash"
2242
+ verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash",
2243
+ source: "the CONFIG stake_contract of pool CCKOC2LJTPDBKDHTL3M5UO7HFZ2WFIHSOKCELMKQP3TLCIVUBKOQL4HB",
2244
+ verifiedAt: "2026-10-16"
2104
2245
  },
2105
2246
  {
2106
2247
  network: "mainnet",
@@ -2111,7 +2252,9 @@ var contract_registry_default = {
2111
2252
  version: "v1",
2112
2253
  label: "Phoenix stake (mainnet) - the unbond call target for pool CCUCE5H5CKW3S7JBESGCES6ZGDMWLNRY3HOFET3OH33MXZWKXNJTKSM3, read from that pool's own CONFIG stake_contract field",
2113
2254
  verifiedLive: true,
2114
- verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash"
2255
+ verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash",
2256
+ source: "the CONFIG stake_contract of pool CCUCE5H5CKW3S7JBESGCES6ZGDMWLNRY3HOFET3OH33MXZWKXNJTKSM3",
2257
+ verifiedAt: "2026-10-16"
2115
2258
  },
2116
2259
  {
2117
2260
  network: "mainnet",
@@ -2122,7 +2265,9 @@ var contract_registry_default = {
2122
2265
  version: "v1",
2123
2266
  label: "Phoenix stake (mainnet) - the unbond call target for pool CDMXKSLG5GITGFYERUW2MRYOBUQCMRT2QE5Y4PU3QZ53EBFWUXAXUTBC, read from that pool's own CONFIG stake_contract field",
2124
2267
  verifiedLive: true,
2125
- verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash"
2268
+ verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash",
2269
+ source: "the CONFIG stake_contract of pool CDMXKSLG5GITGFYERUW2MRYOBUQCMRT2QE5Y4PU3QZ53EBFWUXAXUTBC",
2270
+ verifiedAt: "2026-10-16"
2126
2271
  },
2127
2272
  {
2128
2273
  network: "mainnet",
@@ -2133,7 +2278,9 @@ var contract_registry_default = {
2133
2278
  version: "v1",
2134
2279
  label: "Phoenix stake (mainnet) - the unbond call target for pool CDQLKNH3725BUP4HPKQKMM7OO62FDVXVTO7RCYPID527MZHJG2F3QBJW, read from that pool's own CONFIG stake_contract field; an earlier build of the v1 stake code, same unbond signature and BondingInfo layout",
2135
2280
  verifiedLive: true,
2136
- verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash; stellar contract info interface shows the same unbond(sender, stake_amount, stake_timestamp) and BondingInfo as the registered v1 stake code, and a staker's entry is keyed by the bare account address"
2281
+ verifiedBy: "2026-10-16: the pool's persistent CONFIG entry names this stake_contract; getLedgerEntries on the instance returned this hash; stellar contract info interface shows the same unbond(sender, stake_amount, stake_timestamp) and BondingInfo as the registered v1 stake code, and a staker's entry is keyed by the bare account address",
2282
+ source: "the CONFIG stake_contract of pool CDQLKNH3725BUP4HPKQKMM7OO62FDVXVTO7RCYPID527MZHJG2F3QBJW",
2283
+ verifiedAt: "2026-10-16"
2137
2284
  },
2138
2285
  {
2139
2286
  network: "mainnet",
@@ -2144,7 +2291,9 @@ var contract_registry_default = {
2144
2291
  version: "v2",
2145
2292
  label: "Phoenix XYK pool, a second live code family (mainnet; stellar.expert: 'Phoenix Pool') - the remaining 1 of 10 directory-listed pools runs this hash instead of the v1 entry's",
2146
2293
  verifiedLive: true,
2147
- verifiedBy: "2026-09-26: stellar contract info hash over RPC (mainnet.sorobanrpc.com) against CD5XNKK3B6BEF2N7ULNHHGAMOKZ7P6456BFNIHRF4WNTEDKBRWAE7IAA, one of the stellar.expert directory's 'Phoenix Pool' entries (domain phoenix-hub.io); stellar contract info interface confirms it still exposes withdraw_liquidity"
2294
+ verifiedBy: "2026-09-26: stellar contract info hash over RPC (mainnet.sorobanrpc.com) against CD5XNKK3B6BEF2N7ULNHHGAMOKZ7P6456BFNIHRF4WNTEDKBRWAE7IAA, one of the stellar.expert directory's 'Phoenix Pool' entries (domain phoenix-hub.io); stellar contract info interface confirms it still exposes withdraw_liquidity; 2026-10-10: live executable hash re-compared over public RPC in the full registry re-verification (#581)",
2295
+ source: "stellar.expert directory 'Phoenix Pool' (domain phoenix-hub.io)",
2296
+ verifiedAt: "2026-10-10"
2148
2297
  },
2149
2298
  {
2150
2299
  network: "mainnet",
@@ -2155,7 +2304,9 @@ var contract_registry_default = {
2155
2304
  version: "v2",
2156
2305
  label: "Phoenix stake (mainnet) - the exit's unbond call target for the v2 pool family, read from that pool's own query_config stake_contract field",
2157
2306
  verifiedLive: true,
2158
- verifiedBy: "2026-09-26: query_config simulated live against CD5XNKK3B6BEF2N7ULNHHGAMOKZ7P6456BFNIHRF4WNTEDKBRWAE7IAA returned this as stake_contract; stellar contract info hash over RPC (mainnet.sorobanrpc.com) confirmed the hash, and stellar contract info interface confirms it still exposes bond/unbond"
2307
+ verifiedBy: "2026-09-26: query_config simulated live against CD5XNKK3B6BEF2N7ULNHHGAMOKZ7P6456BFNIHRF4WNTEDKBRWAE7IAA returned this as stake_contract; stellar contract info hash over RPC (mainnet.sorobanrpc.com) confirmed the hash, and stellar contract info interface confirms it still exposes bond/unbond; 2026-10-10: live executable hash re-compared over public RPC in the full registry re-verification (#581)",
2308
+ source: "the stake_contract in pool CD5XNKK3B6BEF2N7ULNHHGAMOKZ7P6456BFNIHRF4WNTEDKBRWAE7IAA's own query_config",
2309
+ verifiedAt: "2026-10-10"
2159
2310
  },
2160
2311
  {
2161
2312
  network: "mainnet",
@@ -2166,7 +2317,9 @@ var contract_registry_default = {
2166
2317
  version: "wind-down",
2167
2318
  label: "FxDAO Vaults (mainnet, per fxdao.io/docs/addresses) - registered so its code is recognized and refused: the deployed code exposes no repay entry point (only evict and upgrade) and the protocol reports panic mode, so no exit is built and no exit may touch it (noExitVersions)",
2168
2319
  verifiedLive: true,
2169
- verifiedBy: "2026-11-08: stellar contract fetch --id CCUN4RXU5VNDHSF4S4RKV4ZJYMX2YWKOH6L4AKEKVNVDQ7HY5QIAO4UB over mainnet.sorobanrpc.com, sha256 0245bac3...d498, matching the instance executable from stellar ledger entry fetch contract-data --instance (last modified ledger 62645363); stellar contract info interface lists only evict(prev_key, vault_key) and upgrade(hash); instance CoreState.panic_mode true, VaultsInfo(USD/EUR/GBP) total_vaults 0 with lowest_key None"
2320
+ verifiedBy: "2026-11-08: stellar contract fetch --id CCUN4RXU5VNDHSF4S4RKV4ZJYMX2YWKOH6L4AKEKVNVDQ7HY5QIAO4UB over mainnet.sorobanrpc.com, sha256 0245bac3...d498, matching the instance executable from stellar ledger entry fetch contract-data --instance (last modified ledger 62645363); stellar contract info interface lists only evict(prev_key, vault_key) and upgrade(hash); instance CoreState.panic_mode true, VaultsInfo(USD/EUR/GBP) total_vaults 0 with lowest_key None",
2321
+ source: "fxdao.io/docs/addresses",
2322
+ verifiedAt: "2026-11-08"
2170
2323
  }
2171
2324
  ]
2172
2325
  };
@@ -2174,7 +2327,7 @@ var contract_registry_default = {
2174
2327
  // ../../apps/web/lib/contract-registry/index.ts
2175
2328
  var REGISTRY = contract_registry_default;
2176
2329
  function isExitCapable(entry) {
2177
- return entry.verifiedLive && entry.wasmHash !== null && !(REGISTRY.noExitVersions?.[entry.protocol] ?? []).includes(entry.version);
2330
+ return entry.kind !== "executable-owner" && entry.verifiedLive && entry.wasmHash !== null && !(REGISTRY.noExitVersions?.[entry.protocol] ?? []).includes(entry.version);
2178
2331
  }
2179
2332
  var EXIT_FUNCTIONS = {
2180
2333
  blend: { position: ["submit", "claim"], router: [], backstop: ["withdraw"], stake: [] },
@@ -2466,8 +2619,8 @@ function verifyCloseTransaction2(input) {
2466
2619
  function exitExpectations2(accountState, network) {
2467
2620
  return exitExpectations(accountState, network);
2468
2621
  }
2469
- function requiresMediator(address) {
2470
- return mediatorAllowedFor(address);
2622
+ function requiresMediator(address, network) {
2623
+ return mediatorAllowedFor(address, network);
2471
2624
  }
2472
2625
  function verifyRevokeAllowanceTransaction2(unsignedXdr, networkPassphrase, expected, nowSeconds) {
2473
2626
  verifyRevokeAllowanceTransaction(unsignedXdr, networkPassphrase, expected, nowSeconds);