Skip to content

Etherscan platform: follow proxy contracts #132

Description

@montyly

If an address is the proxy of a contract, take also the current implementation

Activity

  1. SheldonHolmgren commented on Dec 29, 2022

    @SheldonHolmgren
    Contributor

    I need this feature in Slither so I might implement this in crytic-compile soon-ish. (No commitments yet - I'm just signalling my interest for now.)

  2. SheldonHolmgren commented on Dec 29, 2022

    @SheldonHolmgren
    Contributor

    Actually, for the sake of simplicity I'm thinking about simply exposing a method in crytic's CompilationUnit:

    def getImplementationAddress(self) -> Union[None, str]

    and propagating it to SlitherCompilationUnit. That way the user's application can be responsible for pulling in the implementation contract.

    Otherwise, pulling in the implementation within crytic-compile itself would require quite a reorganization of the platform/etherscan.py and might require loosening crytic-compile's invariants.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions