diff --git a/src/ape_ethereum/ecosystem.py b/src/ape_ethereum/ecosystem.py index d99ce7cefc..d0dafa6d6e 100644 --- a/src/ape_ethereum/ecosystem.py +++ b/src/ape_ethereum/ecosystem.py @@ -234,6 +234,7 @@ def get_proxy_info(self, address: AddressType) -> Optional[ProxyInfo]: ProxyType.Vyper: r"^366000600037611000600036600073(.{40})5af4602c57600080fd5b6110006000f3", # noqa: E501 ProxyType.VyperBeta: r"^366000600037611000600036600073(.{40})5af41558576110006000f3", ProxyType.CWIA: r"^3d3d3d3d363d3d3761.{4}603736393661.{4}013d73(.{40})5af43d3d93803e603557fd5bf3.*", # noqa: E501 + ProxyType.OldCWIA: r"^363d3d3761.{4}603836393d3d3d3661.{4}013d73(.{40})5af43d82803e903d91603657fd5bf3.*", # noqa: E501 ProxyType.SudoswapCWIA: r"^3d3d3d3d363d3d37605160353639366051013d73(.{40})5af43d3d93803e603357fd5bf3.*", # noqa: E501 ProxyType.SoladyCWIA: r"36602c57343d527f9e4ac34f21c619cefc926c8bd93b54bf5a39c7ab2127a895af1cc0691d7e3dff593da1005b363d3d373d3d3d3d61.{4}806062363936013d73(.{40})5af43d3d93803e606057fd5bf3.*", # noqa: E501 ProxyType.SoladyPush0: r"^5f5f365f5f37365f73(.{40})5af43d5f5f3e6029573d5ffd5b3d5ff3", diff --git a/src/ape_ethereum/proxies.py b/src/ape_ethereum/proxies.py index 91634cf0dd..15aec58c5f 100644 --- a/src/ape_ethereum/proxies.py +++ b/src/ape_ethereum/proxies.py @@ -44,8 +44,9 @@ class ProxyType(IntEnum): ZeroAge = auto() # a more-minimal proxy # https://github.com/wighawag/clones-with-immutable-args/blob/master/src/ClonesWithImmutableArgs.sol - # https://github.com/emo-eth/create2-clones-with-immutable-args/blob/main/src/Create2ClonesWithImmutableArgs.sol CWIA = auto() # clones with immutable args + # https://github.com/wighawag/clones-with-immutable-args/blob/bb93749/src/ClonesWithCallData.sol + OldCWIA = auto() # https://github.com/Vectorized/solady/blob/main/src/utils/LibClone.sol SoladyPush0 = auto() # solady push0 minimal proxy