From 048268a68ae57cf7573fec329ebf174c18a3034d Mon Sep 17 00:00:00 2001 From: defiQUG Date: Tue, 28 Apr 2026 23:09:29 -0700 Subject: [PATCH] Correct ALL Mainnet router quote asset to AUSDT --- ...ll-mainnet-enhanced-router-deployment.json | 42 ++++-- config/all-mainnet-pool-creation-matrix.json | 137 +++++++++++++++++- .../allmainnet-non-dodo-protocol-surface.json | 18 ++- 3 files changed, 173 insertions(+), 24 deletions(-) diff --git a/config/all-mainnet-enhanced-router-deployment.json b/config/all-mainnet-enhanced-router-deployment.json index b6749bd2..14e80487 100644 --- a/config/all-mainnet-enhanced-router-deployment.json +++ b/config/all-mainnet-enhanced-router-deployment.json @@ -1,7 +1,7 @@ { "name": "ALL Mainnet Enhanced Router Deployment Evidence", "version": "0.1.0", - "generatedAt": "2026-04-29T05:40:00Z", + "generatedAt": "2026-04-29T05:52:00Z", "chainId": 651940, "network": "ALL Mainnet (Alltra)", "evmVersion": "paris", @@ -86,23 +86,23 @@ } }, { - "poolId": "651940-dodo_pmm-wall-usdt", + "poolId": "651940-dodo_pmm-wall-ausdt", "provider": "dodo", "tokenA": { "symbol": "WALL", "address": "0x2da2b8f961F161ab6320acB3377e2e844a3C3ce4" }, "tokenB": { - "symbol": "USDT", - "address": "0x66D8Efa0AF63B0e84eb1Dd72bf00f00cd1e2234e" + "symbol": "AUSDT", + "address": "0x015B1897Ed5279930bC2Be46F661894d219292A6" }, - "poolAddress": "0x261D7e1447EE88398B2b5a274D49454F5B86800E", - "status": "registered_reserve_blocked", + "poolAddress": "0x8D9bB238B6a76a438B116Ff22F5F7535191D49b4", + "status": "quoteable", "verification": { "amountInRaw": "1000000", - "amountOutRaw": "0", - "slippageBps": 10000, - "routerQuoteExecutable": false + "amountOutRaw": "1999999", + "slippageBps": 30, + "routerQuoteExecutable": true } } ], @@ -121,7 +121,27 @@ }, "remainingOptionalBlockers": [ "HYDX-native router/factory is not deployed or not committed in inventory.", - "Uniswap V3 factory/router/quoter/pool stack is not deployed or not committed in inventory.", - "WALL/USDT DODO PMM pool requires reserves before the registered route is operational." + "Uniswap V3 factory/router/quoter/pool stack is not deployed or not committed in inventory." + ], + "disabledRoutes": [ + { + "poolId": "651940-dodo_pmm-wall-usdt", + "provider": "dodo", + "tokenA": { + "symbol": "WALL", + "address": "0x2da2b8f961F161ab6320acB3377e2e844a3C3ce4" + }, + "tokenB": { + "symbol": "USDT", + "address": "0x66D8Efa0AF63B0e84eb1Dd72bf00f00cd1e2234e" + }, + "poolAddress": "0x261D7e1447EE88398B2b5a274D49454F5B86800E", + "status": "disabled_wrong_quote_asset", + "reason": "AUSDT is the canonical ALL Mainnet cUSDT surface for this routing set.", + "disabledTransactions": [ + "0x79f171ddc9977e99bb894bf7ff7a11a430441cc1285e7ecd747907ef3f23a0c4", + "0xec74f92e287cf1e193e791462f66b35cf9487ece8e343108fbdd3de760dc5c55" + ] + } ] } diff --git a/config/all-mainnet-pool-creation-matrix.json b/config/all-mainnet-pool-creation-matrix.json index d8f29f92..110ecebd 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-29T04:41:20.353Z", + "generatedAt": "2026-04-29T05:52:00Z", "description": "Canonical pool-creation matrix for ALL Mainnet public spend readiness. Pools must exist here before funding.", "lifecycle": [ "planned", @@ -24,10 +24,10 @@ "planned": 83, "canary_passed": 4, "created": 17, - "live_read": 7 + "live_read": 8 }, "protocolCounts": { - "dodo_pmm": 48, + "dodo_pmm": 49, "single_sided_pmm": 3, "uniswap_v2": 5, "sushiswap_v2": 11, @@ -348,10 +348,10 @@ "feeBps": null, "k": null, "singleSided": false, - "publicRoutingEnabled": true, - "reserveSource": "dodo_pmm_integration", + "publicRoutingEnabled": false, + "reserveSource": "legacy-created-not-canonical-spend-route", "status": "created", - "requiredForSpend": true, + "requiredForSpend": false, "canaryEvidence": null, "fundingTiersUsd": { "seed": 10, @@ -367,7 +367,9 @@ "notes": [ "ALL Mainnet source-side spend mesh", "ALL Mainnet official DODO V2 DVM-backed pool created 2026-04-28", - "Vault assignments applied from explicit All Mainnet vault assignment map." + "Vault assignments applied from explicit All Mainnet vault assignment map.", + "Created on-chain but disabled in EnhancedSwapRouterV2 after canonical quote asset was corrected to AUSDT.", + "Retained for historical inventory only; do not fund or route public spend through this USDT row unless explicitly re-approved." ], "infrastructure": { "dvmFactory": "0x8a3403aef8d40c0F4AfaF6Dc2000A537EbC863c2", @@ -378,6 +380,127 @@ "onChainVerifiedAt": "2026-04-28T09:43:59.517Z", "transactionHash": "0xe0af67ca514fcaed77c4af3a179139190d6639dcd169460e844e94e1b8b1fb7f", "verification": "DODOPMMIntegration pools(base,quote) resolves to pool address; DVM clone has bytecode; initial reserves are zero until funding." + }, + "routerRouteStatus": "disabled_on_enhanced_router_v2", + "routerRouteDisabledEvidence": { + "disabledAt": "2026-04-29T05:48:00Z", + "routerAddress": "0xb905fEfA56b028221E2Bc248Bbcd41141dc7aeD3", + "transactions": [ + "0x79f171ddc9977e99bb894bf7ff7a11a430441cc1285e7ecd747907ef3f23a0c4", + "0xec74f92e287cf1e193e791462f66b35cf9487ece8e343108fbdd3de760dc5c55" + ] + } + }, + { + "poolId": "651940-dodo_pmm-wall-ausdt", + "chainId": 651940, + "network": "ALL Mainnet (Alltra)", + "protocol": "dodo_pmm", + "poolType": "pmm", + "baseToken": { + "symbol": "WALL", + "address": "0x2da2b8f961F161ab6320acB3377e2e844a3C3ce4" + }, + "quoteToken": { + "symbol": "AUSDT", + "address": "0x015B1897Ed5279930bC2Be46F661894d219292A6" + }, + "factoryAddress": "0x8a3403aef8d40c0F4AfaF6Dc2000A537EbC863c2", + "routerAddress": "0x8528E268F3b8C94208d09D131ACa3Ea93Bad57c7", + "poolAddress": "0x8D9bB238B6a76a438B116Ff22F5F7535191D49b4", + "vaultAddress": null, + "vaultAssignments": [ + { + "role": "treasury_reserve", + "vaultAddress": "0x74eccf9affb0e0938c2168ebdf7ef63a26964483", + "requiredBeforeFunding": true + }, + { + "role": "bridge_liquidity", + "vaultAddress": "0x31884f84555210FFB36a19D2471b8eBc7372d0A8", + "requiredBeforeFunding": true + }, + { + "role": "single_sided_inventory", + "vaultAddress": null, + "requiredBeforeFunding": false + }, + { + "role": "protocol_adapter", + "vaultAddress": "0xb9E29cFa1f89d369671E640d0BB3aD94Cab43965", + "requiredBeforeFunding": true + }, + { + "role": "emergency_withdraw", + "vaultAddress": "0xb9E29cFa1f89d369671E640d0BB3aD94Cab43965", + "requiredBeforeFunding": true + } + ], + "vaultAssignmentStatus": "ready", + "missingRequiredVaultRoles": [], + "feeBps": null, + "k": null, + "singleSided": false, + "publicRoutingEnabled": true, + "reserveSource": "all-mainnet-canonical-ausdt-correction", + "status": "live_read", + "requiredForSpend": true, + "canaryEvidence": null, + "fundingTiersUsd": { + "seed": 10, + "smoke": 100, + "productionMinimum": 1000 + }, + "policy": { + "maxPriceImpactBps": 100, + "minReserveUsd": 1000, + "refillTriggerBps": 200, + "pauseOnReserveReadFailure": true + }, + "notes": [ + "ALL Mainnet source-side spend mesh", + "Canonical WALL/AUSDT DODO V2 DVM-backed pool created after quote asset correction from USDT to AUSDT.", + "Vault assignments applied from explicit All Mainnet vault assignment map.", + "Seeded with 1 WALL and 1 AUSDT from deployer wallet.", + "EnhancedSwapRouterV2 DODO route registered and quoteable." + ], + "infrastructure": { + "dvmFactory": "0x8a3403aef8d40c0F4AfaF6Dc2000A537EbC863c2", + "dvmFactoryAdapter": "0x301346c852f2e8ed202b2d8D5dAd77BC7e507dB6", + "dodoPmmIntegration": "0x8528E268F3b8C94208d09D131ACa3Ea93Bad57c7" + }, + "createdEvidence": { + "onChainVerifiedAt": "2026-04-29T05:47:00Z", + "transactionHash": "0x050dfdc17e0669d6e55c254a0696521aa25821871a155f7025e053a74cf2b281", + "verification": "DODOPMMIntegration pools(WALL,AUSDT) resolves to pool address; DVM clone has bytecode." + }, + "reserveEvidence": { + "generatedAt": "2026-04-29T05:48:00Z", + "baseBalanceRaw": "1000000000000000000", + "quoteBalanceRaw": "1000000000000000000", + "poolHasCode": true, + "liveReadStatus": "nonzero_base_and_quote", + "fundingTransactions": [ + "0x2aa8835e2506e1d8802f9d14c570abdad7e14e9dfe0d0261f7e19da019215f25", + "0xc3a6a7edb6d9e9422a78fafae53bab9b96746a6fff83ca607edff7793286f294", + "0xf9344211547bccadc1b433cf31f6f953f15b915b7d031c03411a114e180cf399" + ] + }, + "routerRouteEvidence": { + "routerAddress": "0xb905fEfA56b028221E2Bc248Bbcd41141dc7aeD3", + "providerAddress": "0x36F65027D21e151F0b7810bae1E94b225AC7Ba9e", + "registeredTransactions": [ + "0xe4deaa28fe206c54e8325b2fc2dc957fcb85382cccd4e25c9f6f2a01b9d76f73", + "0x67d00f7e8d6c78e7e2d0fe381ffd71651dff15d39ad73fef6435b025061e6550", + "0x1dcf7fc79f35fb9752a5de405c6c4027f4e6e4e7ba640d03ddd61be52709548e", + "0x88030036f8b7c30d1dbe01be6cd2bd326d48f095c72196bddc943b4edd135010" + ], + "quoteCheck": { + "amountInRaw": "1000000", + "amountOutRaw": "1999999", + "slippageBps": 30, + "routerQuoteExecutable": true + } } }, { diff --git a/config/allmainnet-non-dodo-protocol-surface.json b/config/allmainnet-non-dodo-protocol-surface.json index bfb82fa9..7959e357 100644 --- a/config/allmainnet-non-dodo-protocol-surface.json +++ b/config/allmainnet-non-dodo-protocol-surface.json @@ -12,7 +12,7 @@ "The Chain 138 <-> 651940 AlltraAdapter bridge is live.", "This file documents the known non-DODO Alltra protocol and token surface plus the committed same-chain inventory fragments that have real factory/router/pool addresses in config/all-mainnet-pool-creation-matrix.json.", "Same-chain inventory publication is partial: production routing remains gated by required vault assignments, funding, live reserve reads, and canary evidence.", - "ALL Mainnet EnhancedSwapRouterV2 is deployed and DODO-backed routes are wired for the committed WALL/AUSDC and WALL/USDT DODO PMM pools; WALL/USDT remains reserve-blocked until funded." + "ALL Mainnet EnhancedSwapRouterV2 is deployed and DODO-backed routes are wired for the committed WALL/AUSDC and WALL/AUSDT DODO PMM pools; the earlier WALL/USDT route is disabled because AUSDT is the canonical ALL Mainnet cUSDT surface." ] }, "classificationFramework": { @@ -861,14 +861,17 @@ ], "publishedRoutePoolIds": [ "651940-dodo_pmm-wall-ausdc", - "651940-dodo_pmm-wall-usdt" + "651940-dodo_pmm-wall-ausdt" ], "deploymentEvidenceRef": "config/all-mainnet-enhanced-router-deployment.json", "notes": [ "Documented in docs/11-references/ALL_MAINNET_ROUTING_ENGINE.md as the intended same-chain swap surface.", "EnhancedSwapRouterV2 is deployed on ALL Mainnet with DODO as the only enabled provider.", "Optional adapters were deployed for future wiring but are disabled until canonical provider targets and pools are committed.", - "WALL/AUSDC is funded and quoteable through the router provider path; WALL/USDT is registered but quotes zero until pool reserves are funded." + "WALL/AUSDC and WALL/AUSDT are funded and quoteable through the router provider path; the earlier WALL/USDT route is disabled because AUSDT is the canonical quote asset." + ], + "disabledRoutePoolIds": [ + "651940-dodo_pmm-wall-usdt" ] }, { @@ -928,11 +931,14 @@ "inventoryRef": "config/all-mainnet-pool-creation-matrix.json", "publishedPoolIds": [ "651940-dodo_pmm-wall-ausdc", - "651940-dodo_pmm-wall-usdt" + "651940-dodo_pmm-wall-ausdt" ], "notes": [ - "DVM factory, DVM factory adapter, integration/router, and two created DODO PMM pool addresses are committed in config/all-mainnet-pool-creation-matrix.json.", + "DVM factory, DVM factory adapter, integration/router, and DODO PMM pool addresses are committed in config/all-mainnet-pool-creation-matrix.json; WALL/AUSDT supersedes the earlier WALL/USDT row for canonical spend routing.", "Required spend rows remain gated until vault assignments, funding, live reserve reads, and canary evidence are recorded." + ], + "disabledPoolIds": [ + "651940-dodo_pmm-wall-usdt" ] } ], @@ -948,7 +954,7 @@ ] }, "nextTasks": [ - "Fund the registered WALL/USDT DODO PMM pool before treating that route as operational.", + "Keep the disabled WALL/USDT row historical-only unless explicitly re-approved for USDT routing.", "Commit canonical factory/router metadata once a HYDX-native routing address is confirmed.", "Deploy or import canonical Uniswap V3 factory/router/quoter/pool inventory before enabling the ALL Mainnet Uniswap V3 adapter.", "Add pool-level addresses and verification artifacts before enabling public route generation from disabled optional protocol providers."