From ce4be10171898dc3f403c4af3d76eb4cbba852dd Mon Sep 17 00:00:00 2001 From: defiQUG Date: Thu, 30 Apr 2026 03:58:56 -0700 Subject: [PATCH] Stabilize All Mainnet routing evidence --- config/all-mainnet-canary-evidence.json | 83 +++-- config/all-mainnet-pool-creation-matrix.json | 295 ++++++++++++++---- .../CW_PUBLIC_NETWORK_REPEG_PLAN.md | 2 +- ...EXPLORER_UNIFIED_CONTENT_AUDIT_20260430.md | 8 +- ...build-remaining-official-routing-tasks.mjs | 21 +- .../record-all-mainnet-canary-evidence.mjs | 8 +- 6 files changed, 325 insertions(+), 92 deletions(-) diff --git a/config/all-mainnet-canary-evidence.json b/config/all-mainnet-canary-evidence.json index 0597a465..a9bb22d7 100644 --- a/config/all-mainnet-canary-evidence.json +++ b/config/all-mainnet-canary-evidence.json @@ -17,7 +17,8 @@ ], "notes": [ "Tiny live canary swap executed on ALL Mainnet DODO PMM WALL/AUSDC." - ] + ], + "status": "production" }, { "poolId": "651940-uniswap_v2-wall-ausdc", @@ -35,7 +36,8 @@ ], "notes": [ "Tiny live canary swap executed on ALL Mainnet Uniswap V2 WALL/AUSDC." - ] + ], + "status": "production" }, { "poolId": "651940-dodo_pmm-wall-ausdt", @@ -53,7 +55,8 @@ ], "notes": [ "Tiny live canary swap executed on ALL Mainnet DODO PMM WALL/AUSDT." - ] + ], + "status": "production" }, { "poolId": "137-dodo_pmm-cwusdc-usdc", @@ -71,7 +74,8 @@ ], "notes": [ "Tiny live canary swap executed on Polygon DODO PMM cWUSDC/USDC." - ] + ], + "status": "production" }, { "poolId": "137-dodo_pmm-cwusdt-usdt", @@ -89,7 +93,8 @@ ], "notes": [ "Tiny live canary swap executed on Polygon DODO PMM cWUSDT/USDT." - ] + ], + "status": "production" }, { "poolId": "651940-uniswap_v2-usdt-ausdc", @@ -109,7 +114,8 @@ ], "notes": [ "Tiny live canary swap executed on ALL Mainnet Uniswap V2 USDT/AUSDC after acquiring USDT inventory via AUSDC/USDT." - ] + ], + "status": "production" }, { "poolId": "651940-uniswap_v2-wall-usdt", @@ -127,7 +133,8 @@ ], "notes": [ "Tiny live canary swap executed on ALL Mainnet Uniswap V2 WALL/USDT." - ] + ], + "status": "production" }, { "poolId": "42220-dodo_pmm-cwusdc-usdc", @@ -145,7 +152,8 @@ ], "notes": [ "Tiny live canary swap executed on Celo DODO PMM cWUSDC/USDC after deployer-funded seed liquidity." - ] + ], + "status": "production" }, { "poolId": "42220-dodo_pmm-cwusdt-usdt", @@ -163,7 +171,8 @@ ], "notes": [ "Tiny live canary swap executed on Celo DODO PMM cWUSDT/USDT after deployer-funded seed liquidity." - ] + ], + "status": "production" }, { "poolId": "56-dodo_pmm-cwusdc-usdc", @@ -182,7 +191,8 @@ ], "notes": [ "Replacement pool canary swap executed after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "56-dodo_pmm-cwusdt-usdt", @@ -201,7 +211,8 @@ ], "notes": [ "Replacement pool canary swap executed after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "8453-dodo_pmm-cwusdc-usdc", @@ -220,7 +231,8 @@ ], "notes": [ "Replacement pool canary swap executed after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "8453-dodo_pmm-cwusdt-usdt", @@ -239,7 +251,8 @@ ], "notes": [ "Replacement pool canary swap executed after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "42161-dodo_pmm-cwusdt-usdt", @@ -258,7 +271,8 @@ ], "notes": [ "Replacement pool canary swap executed after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "43114-dodo_pmm-cwusdc-usdc", @@ -277,7 +291,8 @@ ], "notes": [ "Replacement pool canary swap executed after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "43114-dodo_pmm-cwusdt-usdt", @@ -296,7 +311,8 @@ ], "notes": [ "Replacement pool canary swap executed after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "25-dodo_pmm-cwusdc-usdc", @@ -315,7 +331,8 @@ ], "notes": [ "Replacement pool canary swap executed after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "25-dodo_pmm-cwusdt-usdt", @@ -334,7 +351,8 @@ ], "notes": [ "Replacement pool canary swap executed after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "100-dodo_pmm-cwusdc-usdc", @@ -353,7 +371,8 @@ ], "notes": [ "Replacement pool canary swap executed after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "100-dodo_pmm-cwusdt-usdt", @@ -372,7 +391,8 @@ ], "notes": [ "Replacement pool canary swap executed after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "1-dodo_pmm-cwusdc-usdc", @@ -391,7 +411,8 @@ ], "notes": [ "Replacement pool canary swap executed after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "1-dodo_pmm-cwusdt-usdt", @@ -410,25 +431,27 @@ ], "notes": [ "Replacement pool reverse canary swap executed after replacing nonstandard DODO surface; quote-to-base path avoids mainnet USDT non-standard transfer return behavior on sellBase." - ] + ], + "status": "production" }, { "poolId": "42161-dodo_pmm-cwusdc-usdc", - "generatedAt": "2026-04-30T09:15:42.476Z", + "generatedAt": "2026-04-30T11:18:00.000Z", "sourceFile": "config/all-mainnet-canary-evidence.json", + "status": "production", "canaryTransactions": [ { "direction": "base_to_quote", - "txHash": "0xc5a797b6de3db3a51f6c1c3904fd0464f37d2950554defd465897d5f1115a504", - "fundingTransferTxHash": "0xb29cbbc92b2e5b11a39833746a1bde521b609290934e9afa3224bbb23106c001", + "txHash": "0x1c8aee3f0a3d7c3dfd1c53471b65a56fe34d514b84721fef2eafd40581259997", + "fundingTransferTxHash": "0x020a5c922757816f82542cd0d0e623b8120db9b2816de528b110854d3164cd9f", "amountInRaw": "100", "tokenIn": "cWUSDC", "tokenOut": "USDC", - "executor": "MockDVMPool.transfer_then_sellBase" + "executor": "DODO_DVM.transfer_then_sellBase" } ], "notes": [ - "Replacement pool canary swap executed after replacing nonstandard DODO surface." + "Official DODO DVM canary swap executed after DODOAtomicSeeder funding." ] }, { @@ -448,7 +471,8 @@ ], "notes": [ "Replacement pool canary swap executed on Optimism after replacing nonstandard DODO surface." - ] + ], + "status": "production" }, { "poolId": "10-dodo_pmm-cwusdt-usdt", @@ -467,7 +491,8 @@ ], "notes": [ "Replacement pool reverse canary swap executed on Optimism after retained seed remediation and successful buyShares." - ] + ], + "status": "production" } ] } diff --git a/config/all-mainnet-pool-creation-matrix.json b/config/all-mainnet-pool-creation-matrix.json index 03c36b2e..e7a5896a 100644 --- a/config/all-mainnet-pool-creation-matrix.json +++ b/config/all-mainnet-pool-creation-matrix.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "generatedAt": "2026-04-30T09:54:10.707Z", + "generatedAt": "2026-04-30T10:57:21.552Z", "description": "Canonical pool-creation matrix for ALL Mainnet public spend readiness. Pools must exist here before funding.", "lifecycle": [ "planned", @@ -22,7 +22,7 @@ "oneinch_aggregator" ], "statusCounts": { - "planned": 83, + "planned": 85, "production": 26, "created": 3, "live_read": 1 @@ -35,7 +35,7 @@ "curve_stable": 11, "balancer_weighted": 11, "aave_backstop": 11, - "oneinch_aggregator": 11, + "oneinch_aggregator": 13, "uniswap_v3": 1 }, "rows": [ @@ -250,6 +250,7 @@ "canaryEvidence": { "poolId": "651940-dodo_pmm-wall-ausdc", "generatedAt": "2026-04-29T04:41:13.993Z", + "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ { "direction": "base_to_quote", @@ -263,8 +264,7 @@ ], "notes": [ "Tiny live canary swap executed on ALL Mainnet DODO PMM WALL/AUSDC." - ], - "sourceFile": "config/all-mainnet-canary-evidence.json" + ] }, "fundingTiersUsd": { "seed": 10, @@ -465,6 +465,7 @@ "canaryEvidence": { "poolId": "651940-dodo_pmm-wall-ausdt", "generatedAt": "2026-04-30T06:58:00Z", + "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ { "direction": "base_to_quote", @@ -478,8 +479,7 @@ ], "notes": [ "Tiny live canary swap executed on ALL Mainnet DODO PMM WALL/AUSDT." - ], - "sourceFile": "config/all-mainnet-canary-evidence.json" + ] }, "fundingTiersUsd": { "seed": 10, @@ -828,6 +828,7 @@ "canaryEvidence": { "poolId": "651940-uniswap_v2-wall-ausdc", "generatedAt": "2026-04-29T04:41:13.993Z", + "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ { "direction": "base_to_quote", @@ -841,8 +842,7 @@ ], "notes": [ "Tiny live canary swap executed on ALL Mainnet Uniswap V2 WALL/AUSDC." - ], - "sourceFile": "config/all-mainnet-canary-evidence.json" + ] }, "fundingTiersUsd": { "seed": 10, @@ -939,6 +939,7 @@ "canaryEvidence": { "poolId": "651940-uniswap_v2-wall-usdt", "generatedAt": "2026-04-30T07:30:00Z", + "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ { "direction": "base_to_quote", @@ -952,8 +953,7 @@ ], "notes": [ "Tiny live canary swap executed on ALL Mainnet Uniswap V2 WALL/USDT." - ], - "sourceFile": "config/all-mainnet-canary-evidence.json" + ] }, "fundingTiersUsd": { "seed": 10, @@ -1050,6 +1050,7 @@ "canaryEvidence": { "poolId": "651940-uniswap_v2-usdt-ausdc", "generatedAt": "2026-04-30T07:30:00Z", + "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ { "direction": "base_to_quote", @@ -1065,8 +1066,7 @@ ], "notes": [ "Tiny live canary swap executed on ALL Mainnet Uniswap V2 USDT/AUSDC after acquiring USDT inventory via AUSDC/USDT." - ], - "sourceFile": "config/all-mainnet-canary-evidence.json" + ] }, "fundingTiersUsd": { "seed": 10, @@ -1346,7 +1346,8 @@ "Vault assignments applied from explicit All Mainnet vault assignment map.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", "Replacement pool canary swap executed after replacing nonstandard DODO surface.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "reserveEvidence": { "generatedAt": "2026-04-30T09:54:10.707Z", @@ -1479,7 +1480,8 @@ "Vault assignments applied from explicit All Mainnet vault assignment map.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", "Replacement pool reverse canary swap executed after replacing nonstandard DODO surface; quote-to-base path avoids mainnet USDT non-standard transfer return behavior on sellBase.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "reserveEvidence": { "generatedAt": "2026-04-30T09:54:10.707Z", @@ -2102,6 +2104,7 @@ "status": "production", "requiredForSpend": true, "canaryEvidence": { + "poolId": "56-dodo_pmm-cwusdc-usdc", "generatedAt": "2026-04-30T09:05:02.700Z", "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ @@ -2137,7 +2140,8 @@ "Deployer funding transfers completed, but DVM reserve accounting still reads zero; production promotion is blocked on pool surface remediation.", "Live reserve read recorded from required-pool balance checker.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "createdEvidence": { "onChainVerifiedAt": "2026-04-28T09:01:52.558Z", @@ -2247,6 +2251,7 @@ "status": "production", "requiredForSpend": true, "canaryEvidence": { + "poolId": "56-dodo_pmm-cwusdt-usdt", "generatedAt": "2026-04-30T09:05:02.700Z", "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ @@ -2282,7 +2287,8 @@ "Deployer funding transfers completed, but DVM reserve accounting still reads zero; production promotion is blocked on pool surface remediation.", "Live reserve read recorded from required-pool balance checker.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "createdEvidence": { "onChainVerifiedAt": "2026-04-28T09:01:52.559Z", @@ -2919,6 +2925,7 @@ "canaryEvidence": { "poolId": "137-dodo_pmm-cwusdc-usdc", "generatedAt": "2026-04-29T04:41:13.993Z", + "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ { "direction": "base_to_quote", @@ -2932,8 +2939,7 @@ ], "notes": [ "Tiny live canary swap executed on Polygon DODO PMM cWUSDC/USDC." - ], - "sourceFile": "config/all-mainnet-canary-evidence.json" + ] }, "fundingTiersUsd": { "seed": 10, @@ -3030,6 +3036,7 @@ "canaryEvidence": { "poolId": "137-dodo_pmm-cwusdt-usdt", "generatedAt": "2026-04-29T04:41:13.993Z", + "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ { "direction": "base_to_quote", @@ -3043,8 +3050,7 @@ ], "notes": [ "Tiny live canary swap executed on Polygon DODO PMM cWUSDT/USDT." - ], - "sourceFile": "config/all-mainnet-canary-evidence.json" + ] }, "fundingTiersUsd": { "seed": 10, @@ -3664,6 +3670,7 @@ "status": "production", "requiredForSpend": true, "canaryEvidence": { + "poolId": "8453-dodo_pmm-cwusdc-usdc", "generatedAt": "2026-04-30T09:05:02.700Z", "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ @@ -3697,7 +3704,8 @@ "Vault assignments applied from explicit All Mainnet vault assignment map.", "Live reserve read recorded from required-pool balance checker.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "createdEvidence": { "onChainVerifiedAt": "2026-04-28T09:01:52.559Z", @@ -3800,6 +3808,7 @@ "status": "production", "requiredForSpend": true, "canaryEvidence": { + "poolId": "8453-dodo_pmm-cwusdt-usdt", "generatedAt": "2026-04-30T09:05:02.700Z", "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ @@ -3834,7 +3843,8 @@ "Live reserve read recorded from required-pool balance checker.", "Deployer funding completed from existing wallet inventory and swap route.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "createdEvidence": { "onChainVerifiedAt": "2026-04-28T09:01:52.559Z", @@ -4423,7 +4433,7 @@ }, "factoryAddress": null, "routerAddress": null, - "poolAddress": "0x93b4e3662bd42bbeC7240e7371c74CfCBA6BC830", + "poolAddress": "0x370F464B6e37978a0F838c41cd9EA73732bf25BE", "vaultAddress": null, "vaultAssignments": [ { @@ -4463,21 +4473,21 @@ "requiredForSpend": true, "canaryEvidence": { "poolId": "42161-dodo_pmm-cwusdc-usdc", - "generatedAt": "2026-04-30T09:15:42.476Z", + "generatedAt": "2026-04-30T11:18:00.000Z", "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ { "direction": "base_to_quote", - "txHash": "0xc5a797b6de3db3a51f6c1c3904fd0464f37d2950554defd465897d5f1115a504", - "fundingTransferTxHash": "0xb29cbbc92b2e5b11a39833746a1bde521b609290934e9afa3224bbb23106c001", + "txHash": "0x1c8aee3f0a3d7c3dfd1c53471b65a56fe34d514b84721fef2eafd40581259997", + "fundingTransferTxHash": "0x020a5c922757816f82542cd0d0e623b8120db9b2816de528b110854d3164cd9f", "amountInRaw": "100", "tokenIn": "cWUSDC", "tokenOut": "USDC", - "executor": "MockDVMPool.transfer_then_sellBase" + "executor": "DODO_DVM.transfer_then_sellBase" } ], "notes": [ - "Replacement pool canary swap executed after replacing nonstandard DODO surface." + "Official DODO DVM canary swap executed after DODOAtomicSeeder funding." ] }, "fundingTiersUsd": { @@ -4497,7 +4507,9 @@ "Live reserve read recorded from required-pool balance checker.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", "Replacement pool canary swap executed after replacing nonstandard DODO surface.", - "Promoted to production after reserve and canary evidence checks." + "Official DODO DVM pool funded through DODOAtomicSeeder and canary-swapped successfully.", + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "createdEvidence": { "onChainVerifiedAt": "2026-04-28T09:01:52.559Z", @@ -4505,22 +4517,23 @@ "transactionHash": "0x4385161e41e88a560cc5107020d6099c540428c4e39f2415e238a37de16f4d31" }, "reserveEvidence": { - "generatedAt": "2026-04-30T09:54:10.707Z", - "evidenceRef": "reports/status/all-mainnet-required-pool-balances-latest.json#42161-dodo_pmm-cwusdc-usdc", - "baseBalanceRaw": "3100", - "quoteBalanceRaw": "2900", + "generatedAt": "2026-04-30T11:18:00.000Z", + "evidenceRef": "reports/status/all-mainnet-official-dodo-discovery-latest.json#42161-dodo_pmm-cwusdc-usdc", + "baseBalanceRaw": "10100", + "quoteBalanceRaw": "9900", "poolHasCode": true, "liveReadStatus": "nonzero_base_and_quote" }, "fundingEvidence": { - "generatedAt": "2026-04-30T09:15:42.476Z", - "method": "replacement_mock_dvm_pool_seeded_from_deployer_inventory", + "generatedAt": "2026-04-30T11:18:00.000Z", + "method": "official_dodo_dvm_seeded_with_dodo_atomic_seeder", "chainId": 42161, - "baseTransferHash": "0x682094989abbebce1a55858e166f2d10d6492cbb6c03e9f77685fbe27c65dce6", - "quoteTransferHash": "0x05d43981784513606001c8f60fab3aabfffa0c70a27b2694853d54ff8b683347", - "buySharesHash": "0xe9f701acbf266b078f371991c10a37ba90316eb24c86adf8b024e5e418e32619", - "seedRaw": "3000", - "result": "replacement_pool_seeded_nonzero_reserves_canary_passed" + "quoteTopUpSwapHash": "0x2fb60b9c69e6434e29726ec43bcee9bd9ea81f02cad8213b8ab542018c3006f4", + "baseApprovalHash": "0xe1d3eb5557cb426e609b868d54c5ce00f0f4020ff80a249e387c2dcb3ef70948", + "quoteApprovalHash": "0x63e51cbc4c28cfd927cd9eaa3f71af7871442aa3bee8851e966f0a6353b67641", + "atomicSeedHash": "0xce9c324153f75861f6b508d1e2870a8ee164e3399ce6ecfa84097f133a49b11e", + "seedRaw": "10000", + "result": "official_pool_seeded_nonzero_reserves_canary_passed" }, "replacementEvidence": { "generatedAt": "2026-04-30T09:15:42.476Z", @@ -4600,6 +4613,7 @@ "status": "production", "requiredForSpend": true, "canaryEvidence": { + "poolId": "42161-dodo_pmm-cwusdt-usdt", "generatedAt": "2026-04-30T09:05:02.700Z", "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ @@ -4635,7 +4649,8 @@ "Live reserve read recorded from required-pool balance checker.", "Balance checker sees transferred tokens at the pool, but DVM reserve methods still read zero; do not promote until DVM accounting is remediated.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "createdEvidence": { "onChainVerifiedAt": "2026-04-28T09:01:52.559Z", @@ -5263,6 +5278,7 @@ "status": "production", "requiredForSpend": true, "canaryEvidence": { + "poolId": "43114-dodo_pmm-cwusdc-usdc", "generatedAt": "2026-04-30T09:05:02.700Z", "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ @@ -5298,7 +5314,8 @@ "Deployer funding transfers completed, but DVM reserve accounting still reads zero; production promotion is blocked on pool surface remediation.", "Live reserve read recorded from required-pool balance checker.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "createdEvidence": { "onChainVerifiedAt": "2026-04-28T09:01:52.559Z", @@ -5408,6 +5425,7 @@ "status": "production", "requiredForSpend": true, "canaryEvidence": { + "poolId": "43114-dodo_pmm-cwusdt-usdt", "generatedAt": "2026-04-30T09:05:02.700Z", "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ @@ -5443,7 +5461,8 @@ "Deployer funding transfers completed, but DVM reserve accounting still reads zero; production promotion is blocked on pool surface remediation.", "Live reserve read recorded from required-pool balance checker.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "createdEvidence": { "onChainVerifiedAt": "2026-04-28T09:01:52.559Z", @@ -6114,7 +6133,8 @@ "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", "Replacement pool canary swap executed on Optimism after replacing nonstandard DODO surface.", "Live reserve read recorded from required-pool balance checker.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "cWInventoryEvidence": { "generatedAt": "2026-04-30T09:24:25.038Z", @@ -6277,7 +6297,8 @@ "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", "Live reserve read recorded from required-pool balance checker.", "Promoted to production after reserve and canary evidence checks.", - "Optimism USDT retained seed remediated with fresh retained inputs, successful buyShares, and a fresh sellQuote canary." + "Optimism USDT retained seed remediated with fresh retained inputs, successful buyShares, and a fresh sellQuote canary.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "cWInventoryEvidence": { "generatedAt": "2026-04-30T09:24:25.038Z", @@ -6977,6 +6998,7 @@ "status": "production", "requiredForSpend": true, "canaryEvidence": { + "poolId": "25-dodo_pmm-cwusdc-usdc", "generatedAt": "2026-04-30T09:05:02.700Z", "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ @@ -7012,7 +7034,8 @@ "Deployer funding completed; DODO sellBase canary still reverts, so production promotion is blocked on pool surface remediation.", "Live reserve read recorded from required-pool balance checker.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "cWInventoryEvidence": { "generatedAt": "2026-04-30T08:52:59.886Z", @@ -7118,6 +7141,7 @@ "status": "production", "requiredForSpend": true, "canaryEvidence": { + "poolId": "25-dodo_pmm-cwusdt-usdt", "generatedAt": "2026-04-30T09:05:02.700Z", "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ @@ -7152,7 +7176,8 @@ "Live reserve read recorded from required-pool balance checker.", "Deployer funding completed from existing native inventory and swap route; DODO sellBase canary still reverts, so this remains live_read pending pool surface remediation.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "reserveEvidence": { "generatedAt": "2026-04-30T09:54:10.707Z", @@ -7720,6 +7745,82 @@ "Secondary protocol surface; promote only after underlying liquidity exists" ] }, + { + "poolId": "25-oneinch_aggregator-cwusdt-usdt", + "chainId": 25, + "network": "Cronos", + "protocol": "oneinch_aggregator", + "poolType": "aggregator", + "baseToken": { + "symbol": "cWUSDT", + "address": "0x72948a7a813B60b37Cd0c920C4657DbFF54312b8" + }, + "quoteToken": { + "symbol": "USDT", + "address": "0x66e428c3f67a68878562e79A0234c1F83c208770" + }, + "factoryAddress": null, + "routerAddress": null, + "poolAddress": null, + "vaultAddress": null, + "vaultAssignments": [ + { + "role": "treasury_reserve", + "vaultAddress": null, + "requiredBeforeFunding": true + }, + { + "role": "bridge_liquidity", + "vaultAddress": null, + "requiredBeforeFunding": true + }, + { + "role": "single_sided_inventory", + "vaultAddress": null, + "requiredBeforeFunding": false + }, + { + "role": "protocol_adapter", + "vaultAddress": null, + "requiredBeforeFunding": true + }, + { + "role": "emergency_withdraw", + "vaultAddress": null, + "requiredBeforeFunding": true + } + ], + "vaultAssignmentStatus": "missing_required_vaults", + "missingRequiredVaultRoles": [ + "treasury_reserve", + "bridge_liquidity", + "protocol_adapter", + "emergency_withdraw" + ], + "feeBps": null, + "k": null, + "singleSided": false, + "publicRoutingEnabled": false, + "reserveSource": null, + "status": "planned", + "requiredForSpend": false, + "canaryEvidence": null, + "fundingTiersUsd": { + "seed": 10, + "smoke": 100, + "productionMinimum": 1000 + }, + "policy": { + "maxPriceImpactBps": 100, + "minReserveUsd": 1000, + "refillTriggerBps": 200, + "pauseOnReserveReadFailure": true + }, + "notes": [ + "Secondary protocol surface; promote only after official 1inch quote/swap API returns nonzero direct contract-address route.", + "Aggregator row added to cover unsupported DODO cWUSDT/USDT replacement route." + ] + }, { "poolId": "100-dodo_pmm-cwusdc-usdc", "chainId": 100, @@ -7775,6 +7876,7 @@ "status": "production", "requiredForSpend": true, "canaryEvidence": { + "poolId": "100-dodo_pmm-cwusdc-usdc", "generatedAt": "2026-04-30T09:05:02.700Z", "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ @@ -7810,7 +7912,8 @@ "Deployer funding transfers completed, but DVM reserve accounting still reads zero; production promotion is blocked on pool surface remediation.", "Live reserve read recorded from required-pool balance checker.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "createdEvidence": { "onChainVerifiedAt": "2026-04-28T09:01:52.559Z", @@ -7920,6 +8023,7 @@ "status": "production", "requiredForSpend": true, "canaryEvidence": { + "poolId": "100-dodo_pmm-cwusdt-usdt", "generatedAt": "2026-04-30T09:05:02.700Z", "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ @@ -7955,7 +8059,8 @@ "Deployer funding transfers completed, but DVM reserve accounting still reads zero; production promotion is blocked on pool surface remediation.", "Live reserve read recorded from required-pool balance checker.", "Replaced nonstandard DODO pool address with executable replacement pool that passed reserve and canary checks.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "createdEvidence": { "onChainVerifiedAt": "2026-04-28T09:01:52.559Z", @@ -8535,6 +8640,82 @@ "Secondary protocol surface; promote only after underlying liquidity exists" ] }, + { + "poolId": "100-oneinch_aggregator-cwusdt-usdt", + "chainId": 100, + "network": "Gnosis Chain", + "protocol": "oneinch_aggregator", + "poolType": "aggregator", + "baseToken": { + "symbol": "cWUSDT", + "address": "0x0cb0192C056aa425C557BdeAD8E56C7eEabf7acF" + }, + "quoteToken": { + "symbol": "USDT", + "address": "0x4ECaBa5870353805a9F068101A40E0f32ed605C6" + }, + "factoryAddress": null, + "routerAddress": null, + "poolAddress": null, + "vaultAddress": null, + "vaultAssignments": [ + { + "role": "treasury_reserve", + "vaultAddress": null, + "requiredBeforeFunding": true + }, + { + "role": "bridge_liquidity", + "vaultAddress": null, + "requiredBeforeFunding": true + }, + { + "role": "single_sided_inventory", + "vaultAddress": null, + "requiredBeforeFunding": false + }, + { + "role": "protocol_adapter", + "vaultAddress": null, + "requiredBeforeFunding": true + }, + { + "role": "emergency_withdraw", + "vaultAddress": null, + "requiredBeforeFunding": true + } + ], + "vaultAssignmentStatus": "missing_required_vaults", + "missingRequiredVaultRoles": [ + "treasury_reserve", + "bridge_liquidity", + "protocol_adapter", + "emergency_withdraw" + ], + "feeBps": null, + "k": null, + "singleSided": false, + "publicRoutingEnabled": false, + "reserveSource": null, + "status": "planned", + "requiredForSpend": false, + "canaryEvidence": null, + "fundingTiersUsd": { + "seed": 10, + "smoke": 100, + "productionMinimum": 1000 + }, + "policy": { + "maxPriceImpactBps": 100, + "minReserveUsd": 1000, + "refillTriggerBps": 200, + "pauseOnReserveReadFailure": true + }, + "notes": [ + "Secondary protocol surface; promote only after official 1inch quote/swap API returns nonzero direct contract-address route.", + "Aggregator row added to cover unsupported DODO cWUSDT/USDT replacement route." + ] + }, { "poolId": "42220-dodo_pmm-cwusdc-usdc", "chainId": 42220, @@ -8592,6 +8773,7 @@ "canaryEvidence": { "poolId": "42220-dodo_pmm-cwusdc-usdc", "generatedAt": "2026-04-30T00:00:00.000-07:00", + "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ { "direction": "base_to_quote", @@ -8605,8 +8787,7 @@ ], "notes": [ "Tiny live canary swap executed on Celo DODO PMM cWUSDC/USDC after deployer-funded seed liquidity." - ], - "sourceFile": "config/all-mainnet-canary-evidence.json" + ] }, "fundingTiersUsd": { "seed": 10, @@ -8624,7 +8805,8 @@ "Vault assignments applied from explicit All Mainnet vault assignment map.", "Live reserve read recorded from required-pool balance checker.", "Deployer funding completed from existing wallet inventory and swap route.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "createdEvidence": { "onChainVerifiedAt": "2026-04-28T09:01:52.559Z", @@ -8722,6 +8904,7 @@ "canaryEvidence": { "poolId": "42220-dodo_pmm-cwusdt-usdt", "generatedAt": "2026-04-30T00:00:00.000-07:00", + "sourceFile": "config/all-mainnet-canary-evidence.json", "canaryTransactions": [ { "direction": "base_to_quote", @@ -8735,8 +8918,7 @@ ], "notes": [ "Tiny live canary swap executed on Celo DODO PMM cWUSDT/USDT after deployer-funded seed liquidity." - ], - "sourceFile": "config/all-mainnet-canary-evidence.json" + ] }, "fundingTiersUsd": { "seed": 10, @@ -8754,7 +8936,8 @@ "Vault assignments applied from explicit All Mainnet vault assignment map.", "Live reserve read recorded from required-pool balance checker.", "Deployer funding completed from existing wallet inventory and swap route.", - "Promoted to production after reserve and canary evidence checks." + "Promoted to production after reserve and canary evidence checks.", + "Canary evidence recorded from explicit All Mainnet canary evidence file." ], "createdEvidence": { "onChainVerifiedAt": "2026-04-28T09:01:52.559Z", diff --git a/docs/03-deployment/CW_PUBLIC_NETWORK_REPEG_PLAN.md b/docs/03-deployment/CW_PUBLIC_NETWORK_REPEG_PLAN.md index 78148f06..5d5c0fe8 100644 --- a/docs/03-deployment/CW_PUBLIC_NETWORK_REPEG_PLAN.md +++ b/docs/03-deployment/CW_PUBLIC_NETWORK_REPEG_PLAN.md @@ -263,7 +263,7 @@ cast send "$INTEGRATION" 'swapExactIn(address,address,uint256,uint256)' "$POOL" ```bash source smom-dbis-138/scripts/load-env.sh >/dev/null export RPC_URL="${AVALANCHE_RPC_URL}" -export INTEGRATION="0xf1B771c95573113E993374c0c7cB2dc1a7908B12" +export INTEGRATION="0xBa7F50E406E12Ddf0a72A67b0757c031020664Cf" export POOL="0x287edaBDA35195592d7CACe2C1A75eC66caF1D70" export BASE_TOKEN="0x04e1e22b0d41e99f4275bd40a50480219bc9a223" export QUOTE_TOKEN="0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E" diff --git a/reports/DBIS_EXPLORER_UNIFIED_CONTENT_AUDIT_20260430.md b/reports/DBIS_EXPLORER_UNIFIED_CONTENT_AUDIT_20260430.md index f2d47c93..e1be318f 100644 --- a/reports/DBIS_EXPLORER_UNIFIED_CONTENT_AUDIT_20260430.md +++ b/reports/DBIS_EXPLORER_UNIFIED_CONTENT_AUDIT_20260430.md @@ -41,7 +41,8 @@ Use this vocabulary consistently across DBIS and Explorer: | UX copy | Token page had casual language: `without pretending a search box...`. | Replaced with institutional wording around holders, transfers, liquidity, and provenance. | | Static config copy | Public `/config` JSON still used `SolaceScan`, `live transport asset`, and `transport overlay` in narrative values. | Changed generated metadata to `DBIS Explorer` and rewrote narrative fields to `cW public-network asset`, `public-network activation`, and `public-network overlay`. | | Policy metadata | GRU public pages lacked visible owner, status, version, effective date, review cycle, and reliance context. | Added a shared publication metadata block to the DBIS GRU layout. | -| DBIS header UX | Desktop header showed too many top-level navigation items, causing mixed line wrapping and a broken `Sign in` label at common desktop widths. | Limited desktop primary navigation to the highest-value sections, shortened `Departments & Programs` to `Departments`, moved secondary paths under `More`, and added nowrap/shrink guards. | +| DBIS header UX | Desktop header showed too many top-level navigation items, causing mixed line wrapping and a broken `Sign in` label at common desktop widths. | Rebuilt the masthead as a BIS-style institutional header: utility strip, fuller official brand lockup, restrained primary sections, curated `More` menu, search utility, and nowrap/shrink guards. | +| DBIS search utility | Header exposed no public search function, which is below institutional-publication expectations. | Added a public `/search` route with a curated DBIS page index and linked it from the utility strip and search icon. | | Explorer evidence UX | Price, liquidity, and pool figures were visible without source/freshness/method context near the values. | Added reusable market-evidence notes across token cards, search results, token detail, home price cards, and liquidity pool snapshots. | | Deployment | Explorer systemd service expected `server.js` at the release root, but Next standalone placed it under `explorer-monorepo/frontend/server.js`. | Live service corrected and deploy script patched to rewrite `WorkingDirectory` and `ExecStart` for nested standalone output. | | CSP/runtime | DBIS CSP temporarily used `script-src 'unsafe-inline'` to allow Next runtime bootstrap scripts. | Moved CSP into middleware with a per-request nonce and removed `script-src 'unsafe-inline'`; retained frame/object/base/form restrictions. | @@ -50,7 +51,7 @@ Use this vocabulary consistently across DBIS and Explorer: | Surface | Content score | UX/UI score | Institutional readiness | Notes | |---|---:|---:|---:|---| -| DBIS public portal | 94 / 100 | 91 / 100 | 93 / 100 | Taxonomy is consistent, GRU pages now carry publication metadata, the desktop header no longer wraps under common widths, and CSP no longer depends on inline-script allowance. Remaining weakness is page density and the lack of signed/published PDF policy artifacts. | +| DBIS public portal | 95 / 100 | 96 / 100 | 95 / 100 | Taxonomy is consistent, GRU pages carry publication metadata, the masthead now aligns with institutional-publication patterns, search is available, and CSP no longer depends on inline-script allowance. Remaining weakness is the lack of formally signed/published PDF policy artifacts. | | DBIS Explorer | 91 / 100 | 86 / 100 | 89 / 100 | Explorer is aligned with DBIS vocabulary and now exposes source/freshness/method context beside price and liquidity facts. Remaining weakness is schema compatibility naming in public JSON and limited first-read explanations for advanced posture terms. | ## Remaining Gaps For Policy Sign-Off @@ -69,7 +70,8 @@ Use this vocabulary consistently across DBIS and Explorer: - Explorer token-list metadata scan: `issues=0` for banned terms and bad GRU taxonomy patterns. - Explorer static config narrative scan: no `SolaceScan`, `third-party-reference`, `stablecoin`, `eMoney`, or `wrapped transport` terms remain. - DBIS CSP source scan: no `script-src 'unsafe-inline'`; CSP now uses per-request nonce middleware. -- DBIS header live scan: primary desktop navigation is reduced to About, Members, GRU, Departments, Membership, Documents, More, and a non-wrapping Sign in control. +- DBIS header live scan: masthead now shows official utility links, full DBIS identity, restrained primary navigation, a curated More menu, and search at desktop width; 1024px viewport collapses cleanly to mobile navigation. +- DBIS search live scan: `/search?q=GRU` returns indexed public DBIS results. - Explorer evidence UX scan: token, search, home price, token detail, and liquidity surfaces include source/freshness/method notes near market figures. - DBIS live service: `gov-portal-DBIS` active. - Explorer live service: `solacescanscout-frontend` active. diff --git a/scripts/status/build-remaining-official-routing-tasks.mjs b/scripts/status/build-remaining-official-routing-tasks.mjs index d7d100b6..f745094b 100644 --- a/scripts/status/build-remaining-official-routing-tasks.mjs +++ b/scripts/status/build-remaining-official-routing-tasks.mjs @@ -30,6 +30,15 @@ function pair(row) { return `${row.baseToken?.symbol || "?"}/${row.quoteToken?.symbol || "?"}`; } +function matchingAggregatorRow(row) { + return matrix.rows.find((candidate) => ( + candidate.chainId === row.chainId && + candidate.protocol === "oneinch_aggregator" && + candidate.baseToken?.symbol === row.baseToken?.symbol && + candidate.quoteToken?.symbol === row.quoteToken?.symbol + )); +} + const matrix = readJson(matrixPath); const sources = readJson(sourcesPath); const discovery = readJson(discoveryPath); @@ -45,16 +54,21 @@ const oneInchSupport = sources.protocols?.oneinch_aggregator?.chainSupport || {} const unsupportedRoutingTasks = unsupportedDodoRows.map((row) => { const support = oneInchSupport[String(row.chainId)]; const hasAggregatorSupport = Boolean(support); + const aggregatorRow = hasAggregatorSupport ? matchingAggregatorRow(row) : null; return { poolId: row.poolId, chainId: row.chainId, network: row.network, pair: pair(row), currentReplacementPool: row.poolAddress, + matchingAggregatorPoolId: aggregatorRow?.poolId || null, + matchingAggregatorStatus: aggregatorRow?.status || null, targetSupportProtocol: hasAggregatorSupport ? "oneinch_aggregator" : "official_alternate_required", supportStatus: support?.status || "needs_official_source", tasks: hasAggregatorSupport ? [ - "create_or_promote matching oneinch_aggregator row for this pair", + aggregatorRow + ? "promote matching oneinch_aggregator row after official quote and canary evidence" + : "create matching oneinch_aggregator row for this pair", "wire official 1inch quote/swap API chain support evidence", "verify token address import/direct contract-address quote for both directions", "run dry-run quote and minimum-output route simulation", @@ -107,6 +121,8 @@ const report = { summary: { unsupportedDodoRows: unsupportedRoutingTasks.length, oneInchSupportableRows: unsupportedRoutingTasks.filter((row) => row.targetSupportProtocol === "oneinch_aggregator").length, + oneInchRowsAlreadyInventoried: unsupportedRoutingTasks.filter((row) => row.matchingAggregatorPoolId).length, + oneInchRowsMissingInventory: unsupportedRoutingTasks.filter((row) => row.targetSupportProtocol === "oneinch_aggregator" && !row.matchingAggregatorPoolId).length, cronosRowsNeedingNativeDexProfile: unsupportedRoutingTasks.filter((row) => row.targetSupportProtocol === "cronos_native_dex_profile_required").length, zeroOrUnusableOfficialPools: zeroPoolTasks.length, }, @@ -124,12 +140,13 @@ const md = [ "## Unsupported DODO Rows", "", table( - ["Pool", "Chain", "Pair", "Target Support", "Status", "First Task"], + ["Pool", "Chain", "Pair", "Target Support", "Inventory Row", "Status", "First Task"], unsupportedRoutingTasks.map((row) => [ row.poolId, row.chainId, row.pair, row.targetSupportProtocol, + row.matchingAggregatorPoolId || "missing", row.supportStatus, row.tasks[0], ]), diff --git a/scripts/status/record-all-mainnet-canary-evidence.mjs b/scripts/status/record-all-mainnet-canary-evidence.mjs index 3d6a4aae..3da030f3 100755 --- a/scripts/status/record-all-mainnet-canary-evidence.mjs +++ b/scripts/status/record-all-mainnet-canary-evidence.mjs @@ -80,13 +80,19 @@ if (errors.length > 0) { for (const evidence of evidenceRows) { const row = rowsByPoolId.get(evidence.poolId); + const shouldBeProduction = ( + evidence.status === "production" || + row.status === "production" || + Boolean(row.productionEvidence) + ); row.canaryEvidence = { + poolId: evidence.poolId, generatedAt: evidence.generatedAt || new Date().toISOString(), sourceFile: evidenceArg || "config/all-mainnet-canary-evidence.json", canaryTransactions: evidence.canaryTransactions, notes: evidence.notes || [], }; - row.status = evidence.status === "production" ? "production" : "canary_passed"; + row.status = shouldBeProduction ? "production" : "canary_passed"; if (!row.notes.includes("Canary evidence recorded from explicit All Mainnet canary evidence file.")) { row.notes.push("Canary evidence recorded from explicit All Mainnet canary evidence file."); }