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
This commit is contained in:
@@ -24,8 +24,16 @@ contract DeployDODOPMMIntegration is Script {
|
||||
address compliantUSDT = vm.envOr("COMPLIANT_USDT_ADDRESS", address(0));
|
||||
address compliantUSDC = vm.envOr("COMPLIANT_USDC_ADDRESS", address(0));
|
||||
|
||||
if (dodoVendingMachine == address(0) || compliantUSDT == address(0) || compliantUSDC == address(0)) {
|
||||
console.log("Skipping DODO PMM deploy: set DODO_VENDING_MACHINE_ADDRESS, COMPLIANT_USDT_ADDRESS, COMPLIANT_USDC_ADDRESS in .env");
|
||||
if (
|
||||
dodoVendingMachine == address(0) ||
|
||||
officialUSDT == address(0) ||
|
||||
officialUSDC == address(0) ||
|
||||
compliantUSDT == address(0) ||
|
||||
compliantUSDC == address(0)
|
||||
) {
|
||||
console.log(
|
||||
"Skipping DODO PMM deploy: set DODO_VENDING_MACHINE_ADDRESS, OFFICIAL_USDT_ADDRESS, OFFICIAL_USDC_ADDRESS, COMPLIANT_USDT_ADDRESS, COMPLIANT_USDC_ADDRESS in .env"
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -64,4 +72,3 @@ contract DeployDODOPMMIntegration is Script {
|
||||
console.log("3. Configure pool parameters (lpFeeRate, k, initialPrice)");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user