Skip to content

Add USDC.e fund recovery script#91

Closed
shinchann221 wants to merge 1 commit intomasterfrom
recover/usdce
Closed

Add USDC.e fund recovery script#91
shinchann221 wants to merge 1 commit intomasterfrom
recover/usdce

Conversation

@shinchann221
Copy link
Copy Markdown
Contributor

Summary

Adds a new script to recover USDC.e funds from TopUpFactory.

Changes

  • Added scripts/gnosis-txs/FundsRecovery-USDCe.s.sol - Script to recover USDC.e tokens from TopUpFactory
  • Generated output/FundsRecovery-42161-USDC.e.json - Gnosis Safe transaction bundle for Arbitrum

Details

The script:

  • Reads the TopUpFactory address from deployments
  • Checks the USDC.e balance held by the factory
  • Generates a Gnosis Safe transaction to call recoverFunds(USDC.e, balance)
  • Outputs the transaction bundle to output/FundsRecovery-{chainId}-USDC.e.json

Testing

  • Script generates valid transaction data
  • Transaction bundle format matches Gnosis Safe requirements
  • Output file correctly encodes the recoverFunds function call

Copy link
Copy Markdown

@certora-run certora-run Bot left a comment

Choose a reason for hiding this comment

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

Verification Results

  • Group ID: 4230cf0b-cb76-4fc0-9903-fbad174ddcb4
  • Commit: ad4241a
Job Result VERIFIED Link
EtherFiSafe.conf 14 Link
CashModuleCore.conf --rule "p03" 2 Link

@shinchann221 shinchann221 deleted the recover/usdce branch February 25, 2026 15:21
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.

1 participant