Skip to content

Clean up off-chain USDC ARM components - #317

Merged
naddison36 merged 5 commits into
mainfrom
nicka/usdc-arm
Jul 23, 2026
Merged

Clean up off-chain USDC ARM components#317
naddison36 merged 5 commits into
mainfrom
nicka/usdc-arm

Conversation

@naddison36

@naddison36 naddison36 commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

Clean up the off-chain configuration following deployment of the new USDC ARM in #315.

This replaces the remaining legacy USD ARM references across Hardhat tasks, Talos actions, schedules, and deployment records with the canonical USDC ARM configuration.

Changes

USDC ARM configuration

  • Point JavaScript tasks and Talos actions to the new USDC ARM proxy:
    • 0x9E3A7026E5767F2d7Ff5e83b0ed011005f45a170
  • Make usdc the canonical ARM identifier.
  • Reject the legacy usd identifier to prevent accidentally resolving the superseded USD ARM.
  • Rename the USDC Talos actions:
    • setPricesUSDC
    • allocateUSDC
    • collectUSDCFees
    • autoRequestUSDCWithdraw
    • autoClaimUSDCWithdraw

Generic Hardhat tasks

Add USDC support to the shared tasks by deriving token decimals on-chain:

  • swap
  • allocate
  • collectFees
  • setLiquidityProviderCaps
  • setTotalAssetsCap

Update the relevant --arm help text to include USDC.

Shared pause action

  • Replace the separate pauseLido, pauseEtherFi, and pauseEthena actions with the shared action:

    pnpm hardhat pause --arm <arm> --network mainnet
  • Support lido, etherfi, ethena, oeth, and usdc.

  • Replace the per-ARM Talos pause schedules with one disabled manual Pause ARM - Mainnet schedule.

Talos schedules

  • Rename the legacy USD schedule names and commands to USDC.
  • Remove the superseded USD and per-ARM pause schedule rows before inserting their replacements.
  • Update the Talos action documentation.

Deployment records

  • Remove the eight legacy USD_ARM* contract records from build/deployments-1.json.
  • Retain the historical 037_DeployUSDARMScript execution record.
  • Resolve the reused Paxos adapter proxies through:
    • USDC_ARM_PYUSD_ADAPTER
    • USDC_ARM_USDG_ADAPTER

Operational follow-up

After merging:

  1. Build and publish the new arm-oeth runner image.
  2. Propose and deploy the new image through the Talos release workflow.
  3. Apply migrations/seed_schedules.sql to remove the legacy schedules and insert the USDC/shared-action replacements.

New schedules remain disabled by default.

@clement-ux clement-ux left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@naddison36
naddison36 merged commit 9100b28 into main Jul 23, 2026
7 checks passed
@naddison36
naddison36 deleted the nicka/usdc-arm branch July 23, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants