How UNSWEEP Tests and Verifies Its EIP-7702 Token Recovery Contracts
When a wallet's private key is compromised by a sweeper bot, sending ETH for gas to rescue remaining ERC-20 tokens usually fails—the bot drains the gas before the recovery transaction lands. UNSWEEP ( unsweep/unsweep , MIT) uses EIP-7702 delegation plus a relayer so a compromised EOA can sign a rescue intent locally in the browser without funding gas on the compromised address. Because asking…
UNSWEEP tests and verifies its EIP-7702 token recovery contracts through a reproducible engineering baseline. The core delegate contract is compiled with solc 0.8.39 and tested with Foundry. Foundry is used to compile and test the contracts, ensuring no tests fail across four suites. The UNSWEEP contract testing includes EIP-712 domain and replay protection, transient reentrancy lock, and cross-stack digest parity.
Slither, a static analysis tool, is also used to examine the contracts, identifying one high and one low severity issue. The production contracts are deployed on Base and Arbitrum One, with bytecode and production frontend hashes verifying the contracts against the GitHub repository. The UNSWEEP team acknowledges known limitations and invites independent review of the contracts, relayer, and frontend.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to