Clean up off-chain USDC ARM components - #317
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
0x9E3A7026E5767F2d7Ff5e83b0ed011005f45a170usdcthe canonical ARM identifier.usdidentifier to prevent accidentally resolving the superseded USD ARM.setPricesUSDCallocateUSDCcollectUSDCFeesautoRequestUSDCWithdrawautoClaimUSDCWithdrawGeneric Hardhat tasks
Add USDC support to the shared tasks by deriving token decimals on-chain:
swapallocatecollectFeessetLiquidityProviderCapssetTotalAssetsCapUpdate the relevant
--armhelp text to includeUSDC.Shared pause action
Replace the separate
pauseLido,pauseEtherFi, andpauseEthenaactions with the shared action:Support
lido,etherfi,ethena,oeth, andusdc.Replace the per-ARM Talos pause schedules with one disabled manual
Pause ARM - Mainnetschedule.Talos schedules
Deployment records
USD_ARM*contract records frombuild/deployments-1.json.037_DeployUSDARMScriptexecution record.USDC_ARM_PYUSD_ADAPTERUSDC_ARM_USDG_ADAPTEROperational follow-up
After merging:
arm-oethrunner image.migrations/seed_schedules.sqlto remove the legacy schedules and insert the USDC/shared-action replacements.New schedules remain disabled by default.