ConsenSysDiligence / ConsenSysDiligence/vscode-ethover

Support proxy contracts / ability to execute view functions on verified contracts

Open
#4 3 comments 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
JavaScript
Stars
46
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I was trying to view the source of a contract, but his contract uses the EIP-1967 proxy pattern, so I couldn't view the underlying logic.

There are two potential features I can think of to enable viewing of the underlying logic (which is why this issue covers two feature requests):

1. Natively support proxy contracts, with a separate option on hover to view the source underlying implementation. Not sure how big the scope is here since there's at least EIP-1967 and EIP-1167, and possibly others
2. Allow view functions to be called and if the result is an address, allow it to be actionable

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the extension's hover behavior and any existing contract view-function interaction entry points. Clarify whether the goal is EIP-1967/EIP-1167 implementation lookup, actionable address results, or both; done should be defined as a verified contract's underlying source or returned address becoming accessible through the extension.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
blockchain, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.