Files
smom-dbis-138/env.additions.example
defiQUG 2a4753eb2d feat: restore operator WIP — PMM JSON sync entrypoint, dotenv RPC trim + secrets, pool env alignment
- Resolve stash: merge load_deployment_env path with secure-secrets and CR/LF RPC strip
- create-pmm-full-mesh-chain138.sh delegates to sync-chain138-pmm-pools-from-json.sh
- env.additions.example: canonical PMM pool defaults (cUSDT/USDT per crosscheck)
- Include Chain138 scripts, official mirror deploy scaffolding, and prior staged changes

Made-with: Cursor
2026-03-27 19:02:30 -07:00

34 lines
1.8 KiB
Plaintext

# =============================================================================
# Add these to .env (smom-dbis-138) — DODO PMM and pools (Chain 138)
# =============================================================================
# Run from repo root: ./scripts/deployment/set-missing-dotenv-chain138.sh
# Or copy the needed lines into .env manually. Do NOT commit .env.
# DODO PMM Provider (deployed); required for liquidity/quoting scripts
DODO_PMM_PROVIDER_ADDRESS=0x5CAe6Ce155b7f08D3a956F5Dc82fC9945f29B381
# DODO PMM Integration (Chain 138)
DODO_PMM_INTEGRATION_ADDRESS=0x5BDc62f1ae7D630c37A8B363a1d49845356Ee72d
# Local quote-side mirror stables (Chain 138); optional — see deploy runbooks
OFFICIAL_USDT_ADDRESS=0x004b63A7B5b0E06f6bB6adb4a5F9f590BF3182D1
OFFICIAL_USDC_ADDRESS=0x71D6687F38b93CCad569Fa6352c876eea967201b
# PMM pool addresses (optional; RegisterDODOPools reads from integration if unset)
POOL_CUSDTCUSDC=0x9fcB06Aa1FD5215DC0E91Fd098aeff4B62fEa5C8
POOL_CUSDTUSDT=0xa3Ee6091696B28e5497b6F491fA1e99047250c59
POOL_CUSDCUSDC=0x90bd9Bf18Daa26Af3e814ea224032d015db58Ea5
# Token-aggregation (quote API): same integration address so indexer can index DODO pools
CHAIN_138_DODO_PMM_INTEGRATION=0x5BDc62f1ae7D630c37A8B363a1d49845356Ee72d
# Add liquidity (run-pmm-full-parity or AddLiquidityPMMPoolsChain138.s.sol); amounts in token units (6 decimals, e.g. 1000000e6 = 1M)
# ADD_LIQUIDITY_BASE_AMOUNT=1000000e6
# ADD_LIQUIDITY_QUOTE_AMOUNT=1000000e6
# Bridge quote / orchestration (Flow C: swap-bridge-swap). QuoteService: createQuoteServiceFromEnv()
# BRIDGE_REGISTRY_ADDRESS=0x...
# ENHANCED_SWAP_ROUTER_ADDRESS=0x... # optional, source-chain router
# DESTINATION_RPC_URL=https://... # optional, destination chain RPC
# DESTINATION_SWAP_ROUTER_ADDRESS=0x... # optional, destination DEX router