docs(chain138): canonicalize Stack-A DODO PMM stack (live, traded) #17

Merged
nsatoshi merged 2 commits from devin/1777435956-stack-a-canonicalization into master 2026-04-29 10:49:30 +00:00
Owner

Summary

On-chain probe (2026-04-22) confirms two parallel DODOPMMIntegration deployments on Chain 138. Stack A is the live, traded one; Stack B (which earlier docs cited as canonical) is seeded but un-traded. This PR re-canonicalizes the project rule and two reference docs to reflect on-chain reality.

Stack A (live, traded) Stack B (parallel, seeded)
Integration 0x86ADA6Ef91A3B450F89f2b751e93B1b7A3218895 0x5BDc62f1ae7D630c37A8B363a1d49845356Ee72d
Provider 0x3f729632E9553EBacCdE2e9b4c8F2B285b014F2e 0x5CAe6Ce155b7f08D3a956F5Dc82fC9945f29B381
Pools 8 registered, all isKnownPool=true, asymmetric / traded balances 3 registered, 10M/10M flat or 0/0

Stack A pools (all isKnownPool=true, all traded)

  • cUSDT/cUSDC 0x9e89bAe009adf128782E19e8341996c596ac40dC
  • cUSDT/USDT 0x866Cb44b59303d8dc5f4F9E3E7A8e8b0bf238d66
  • cUSDC/USDC 0xc39B7D0F40838cbFb54649d327f49a6DAC964062
  • cBTC/cUSDT 0x67049e7333481e2cac91af61403ac7bddfab7bcd
  • cBTC/cUSDC 0x72f1a0794153c3b8a1e8a731f1d8e1a52cb10dc5
  • WETH/USDC 0xb53a0508940b1ff90f1aad4f6cb50a7012fe5593
  • WETH/USDT 0xe227f6c0520c0c6e8786fe56fa76c4914f861533
  • cBTC/cXAUC 0xf3e8a07d419b61f002114e64d79f7cf8f7989433

Files changed

  • .cursor/rules/chain138-tokens-and-pmm.mdc — replace integration + pool addresses with Stack A; add provider, cBTC, full pool table.
  • docs/11-references/ADDRESS_MATRIX_AND_STATUS.md — re-version to 2026-04-22; show both stacks with status flags; add 5 cBTC/WETH pools; flip EnhancedSwapRouter row from Not deployed to Pending Phase 3.
  • docs/11-references/PMM_DEX_ROUTING_STATUS.md — rewrite executive summary, surface both stacks, refer to staged Phase 3 deploy.

No code change. Companion to atomic-swap-dapp PR #4 (frontend routing-honesty) and the upcoming Phase 3 EnhancedSwapRouter LAN deploy.

How verified

On-chain probe via public RPC https://rpc.d-bis.org:

  • dodoIntegration() on each provider — confirms pairing.
  • isKnownPool(pool) per provider for both stacks' pools — confirms which provider owns which pools.
  • IDODOFlexibleOraclePMMPool.balances() on every pool — confirms Stack A is asymmetric/traded, Stack B is flat.

Full report: test-plans/phase2a-wrapper-executor-abi-verification.md § Phase 2a-2 reconciliation.

## Summary On-chain probe (2026-04-22) confirms two parallel `DODOPMMIntegration` deployments on Chain 138. **Stack A** is the live, traded one; Stack B (which earlier docs cited as canonical) is seeded but un-traded. This PR re-canonicalizes the project rule and two reference docs to reflect on-chain reality. | | Stack A (live, traded) | Stack B (parallel, seeded) | |---|---|---| | Integration | `0x86ADA6Ef91A3B450F89f2b751e93B1b7A3218895` | `0x5BDc62f1ae7D630c37A8B363a1d49845356Ee72d` | | Provider | `0x3f729632E9553EBacCdE2e9b4c8F2B285b014F2e` | `0x5CAe6Ce155b7f08D3a956F5Dc82fC9945f29B381` | | Pools | 8 registered, all `isKnownPool=true`, asymmetric / traded balances | 3 registered, 10M/10M flat or 0/0 | ### Stack A pools (all `isKnownPool=true`, all traded) - cUSDT/cUSDC `0x9e89bAe009adf128782E19e8341996c596ac40dC` - cUSDT/USDT `0x866Cb44b59303d8dc5f4F9E3E7A8e8b0bf238d66` - cUSDC/USDC `0xc39B7D0F40838cbFb54649d327f49a6DAC964062` - cBTC/cUSDT `0x67049e7333481e2cac91af61403ac7bddfab7bcd` - cBTC/cUSDC `0x72f1a0794153c3b8a1e8a731f1d8e1a52cb10dc5` - WETH/USDC `0xb53a0508940b1ff90f1aad4f6cb50a7012fe5593` - WETH/USDT `0xe227f6c0520c0c6e8786fe56fa76c4914f861533` - cBTC/cXAUC `0xf3e8a07d419b61f002114e64d79f7cf8f7989433` ## Files changed - `.cursor/rules/chain138-tokens-and-pmm.mdc` — replace integration + pool addresses with Stack A; add provider, cBTC, full pool table. - `docs/11-references/ADDRESS_MATRIX_AND_STATUS.md` — re-version to 2026-04-22; show both stacks with status flags; add 5 cBTC/WETH pools; flip EnhancedSwapRouter row from Not deployed to Pending Phase 3. - `docs/11-references/PMM_DEX_ROUTING_STATUS.md` — rewrite executive summary, surface both stacks, refer to staged Phase 3 deploy. No code change. Companion to atomic-swap-dapp PR #4 (frontend routing-honesty) and the upcoming Phase 3 EnhancedSwapRouter LAN deploy. ## How verified On-chain probe via public RPC `https://rpc.d-bis.org`: - `dodoIntegration()` on each provider — confirms pairing. - `isKnownPool(pool)` per provider for both stacks' pools — confirms which provider owns which pools. - `IDODOFlexibleOraclePMMPool.balances()` on every pool — confirms Stack A is asymmetric/traded, Stack B is flat. Full report: `test-plans/phase2a-wrapper-executor-abi-verification.md` § Phase 2a-2 reconciliation.
nsatoshi added 2 commits 2026-04-29 04:20:11 +00:00
ci(phoenix): workflow_dispatch reinstall for phoenix-deploy-api on CT 5700
Some checks failed
AI Code Review / claude-review (pull_request) Failing after 1m11s
Validate (PR) / run-all-validation (pull_request) Successful in 24s
9e0795dbc4
Closes the gap where phoenix-deploy-api/server.js on master is the real
implementation, but the running service on CT 5700 is the older stub
that returns 'Deploy request queued (stub)' for every target.

The new workflow .gitea/workflows/bootstrap-phoenix-deploy-api.yml is
manual-only (workflow_dispatch). When triggered it:

  1. Validates the repo layout (phoenix-deploy-api/server.js MUST NOT
     contain the stub string).
  2. Tars phoenix-deploy-api/ + config/public-sector-program-manifest.json
     into a deploy bundle.
  3. scp's the bundle to the PVE node that hosts CT 5700 using a
     dedicated deploy SSH key (PHOENIX_PVE_SSH_KEY repo secret).
  4. pct push / pct exec the bundle into the CT and runs the existing
     phoenix-deploy-api/scripts/install-systemd.sh which already drops
     /opt/phoenix-deploy-api/, writes the systemd unit, and restarts
     the service.
  5. Health-checks GET http://<dev-vm>:4001/health (with retry).
  6. Posts a non-stub probe: POST /api/deploy with target __bootstrap_probe__
     + the deploy bearer token. Fails the workflow if the response body
     still contains 'Deploy request queued (stub)' or any auth-rejection
     signal. That gives an unambiguous post-bootstrap health signal in
     CI logs without depending on a successful real deploy.

Required new secrets (documented in docs/04-configuration/DEVIN_GITEA_PROXMOX_CICD.md
section 3a):
  PHOENIX_PVE_HOST, PHOENIX_PVE_USER (default root), PHOENIX_PVE_SSH_KEY,
  PHOENIX_PVE_KNOWN_HOSTS (optional), PHOENIX_DEV_VM_VMID (default 5700),
  PHOENIX_DEPLOY_DEV_VM_IP (default 192.168.11.59).

Triggered manually only — bootstrap is sensitive enough that we do NOT
fire on every master push. Once the running service on CT 5700 is
post-stub, the existing deploy job in deploy-to-phoenix.yml will
actually execute scripts/deployment/deploy-atomic-swap-dapp-5801.sh on
each push instead of returning a 202 stub.

Co-Authored-By: Nakamoto, S <defi@defi-oracle.io>
docs(chain138): canonicalize Stack-A DODO PMM stack (live, traded)
Some checks failed
AI Code Review / claude-review (pull_request) Failing after 1m14s
Validate (PR) / run-all-validation (pull_request) Successful in 26s
9286a95fce
On-chain probe (2026-04-22) confirms two parallel DODOPMM deployments on
Chain 138. Stack A is the live, traded one:

- DODOPMMIntegration (Stack A): 0x86ADA6Ef91A3B450F89f2b751e93B1b7A3218895
- DODOPMMProvider    (Stack A): 0x3f729632E9553EBacCdE2e9b4c8F2B285b014F2e
- 8 registered pools, all isKnownPool=true, with traded liquidity
  (cUSDT/cUSDC, cUSDT/USDT, cUSDC/USDC, cBTC/cUSDT, cBTC/cUSDC,
   WETH/USDC, WETH/USDT, cBTC/cXAUC).

Stack B (DODOPMMIntegration=0x5BDc62f1..., DODOPMMProvider=0x5CAe6Ce1...,
pools 0xff8d3b8f.../0x6fc60D.../0x9f74Be...) is a parallel deployment
with seeded but un-traded pools (10M/10M flat or 0/0). Earlier docs that
cited Stack B as canonical are superseded.

Updates:
- .cursor/rules/chain138-tokens-and-pmm.mdc: replace integration + pool
  addresses with Stack A; add provider, cBTC, and full live-pool table.
- docs/11-references/ADDRESS_MATRIX_AND_STATUS.md: re-version to
  2026-04-22; show both stacks with status flags; add 5 cBTC/WETH pools;
  flip EnhancedSwapRouter row from Not deployed to Pending Phase 3.
- docs/11-references/PMM_DEX_ROUTING_STATUS.md: rewrite executive
  summary; refer to Phase 3 LAN deploy command.

No code change. Companion to atomic-swap-dapp PR #4 (frontend
routing-honesty) and the upcoming Phase 3 EnhancedSwapRouter deploy.

Co-Authored-By: Nakamoto, S <defi@defi-oracle.io>

Claude encountered an error —— View job


I'll analyze this and get back to you.

**Claude encountered an error** —— [View job](http://127.0.0.1:3000/d-bis/proxmox/actions/runs/216) --- I'll analyze this and get back to you.
nsatoshi merged commit 1b393f5ae2 into master 2026-04-29 10:49:30 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: d-bis/proxmox#17