Recover Eco Funds

•
155
•

Recovers stuck or expired USDC deposits from legacy Circle Gateway Eco intents using deterministic onchain self-refunds and ERC-3009 sweeps.

The Recover Eco Funds skill provides an evidence-based, phased procedure to safely recover USDC trapped in legacy Circle CLI Gateway Eco deposit flows. It handles diagnosis and intent status queries across EVM chains, triggers deterministic refunds via Eco's Portal smart contract without guessing intent parameters, and executes gasless ERC-3009 token sweeps from backing externally owned accounts (EOAs) directly into Smart Contract Accounts (SCAs). This skill is particularly useful for Web3 developers and agent wallet operators dealing with expired intents, unfulfilled legacy cross-chain deposits, or funds mistakenly deposited directly to backing EOAs.

Key Features

01Evidence-first diagnosis querying Gateway API, Eco status API, and onchain events
02Onchain tuple reconstruction for permissionless Eco Portal.refund calls
03Gasless ERC-3009 sweeps from backing EOAs to Circle Smart Contract Accounts
04Strict safety validations preventing refund calls before onchain intent expiration
05Transaction simulation and idempotency management prior to broadcasting
06155 GitHub stars

Use Cases

01Recovering USDC from expired or unfulfilled legacy Circle Gateway Eco deposits
02Sweeping USDC accidentally sent to an Agent Wallet backing EOA back to its SCA
03Reconciling ambiguous cross-chain intent states and missing Gateway balance records