Open
Conversation
added 5 commits
December 30, 2025 02:39
BREAKING CHANGE: Replace ethers-rs with alloy for RPC/contract layer - Replace ethers-providers/contract/core/signers with alloy 1.2 - Replace abigen! macro with sol! macro for contract bindings - Change get_proxy_implementation signature: Middleware -> Provider trait - Remove EARGlue trait and all ethers type conversion helpers from utils - Update CLI to use alloy ProviderBuilder and Address type - Update ADDR_MASK constant from H256/B256 to U256 Public API changes: - get_proxy_implementation<P: Provider> (was M: Middleware) - ProxyImplementation and ProxyReadError now exported from lib - utils module only exports byte manipulation helpers All 9 tests passing.
- Fix Cargo.toml metadata (authors, description, license, keywords) - Rename enum variants to follow Rust conventions (EIP_1167 -> Eip1167) - Rename ProxyDispatch to Dispatch with backward compat alias - Add Detection struct for cleaner return types - Add crate-level documentation with EIP links and examples - Add documentation to all public types - Simplify utils.rs using std lib functions - Fix all clippy warnings - Remove dead code and commented blocks - Update README with badges, installation, and usage examples
Comprehensive research of 15+ proxy patterns not currently supported: - P0 Critical: Safe Proxy, ERC-6551, Compound Unitroller - P1 High: CWIA variants, 0age, Vyper Beta, Solady PUSH0 - P2 Medium: Sequence Wallet, 0xSplits, ERC-1538/3561 - P3 Emerging: ERC-7702, ERC-7760, ERC-7546 Includes detection methods, bytecode patterns, storage slots, and phased implementation roadmap.
Performance-oriented implementation using static bytecode pattern matching (no EVM emulation required) for the following proxy types: New ProxyType variants: - GnosisSafe: Safe multisig proxy (slot 0 storage) - Eip6551: Token Bound Accounts (EIP-1167 + NFT metadata) - CompoundUnitroller: Compound-style proxy (slot 2 storage) - ZeroAgeMinimal: 0age's 44-byte minimal proxy - VyperBeta: Pre-EIP-1167 Vyper proxy (Uniswap V1 style) - SoladyPush0: Post-Shanghai PUSH0 optimization - ClonesWithImmutableArgs: CWIA factory pattern - SequenceWallet: Self-address storage key proxy - ZeroXSplitsClones: 0xSplits payment splitting proxy New Dispatch variants: - Static6551: ERC-6551 with chain_id, token_contract, token_id - SelfAddressSlot: Sequence-style storage[address(this)] All patterns are detected statically before falling back to EVM emulation, ensuring optimal performance for common proxy types. Includes 8 new integration tests covering all new patterns.
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.
No description provided.