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.
A new plugin is added to the existing Remix plugins. The plugin is an adapted version of the verification plugin (clean-up of unused functionality still needed): https://github.com/ethereum/remix-project/tree/master/apps/contract-verification.
The plan is to add 3 features:
Feature 1: Fetching ABI from blockexplorers/sourcify (for a verified contract address) to get a UI to interact with a contract (similar to the UI in the
Deploy & Run transactions
tab).It could have four sections for
proxyread
/proxywrite
/implementationread
/implementationwrite
category.https://github.com/DOBEN/ETHGlobal2024
This feature does not add much value on its own (similar to fetching the source files from the block explorer https://github.com/ethereum/remix-project/blob/master/apps/contract-verification/src/app/Verifiers/EtherscanVerifier.ts#L217), but this step can be seen as a preparation for easily achieving Feature 2 once block explorers provide an API endpoint for fetching decode ABI.
Feature 2: Fetching/Decoding ABI (for unverified contract addresses) to get a UI to interact with a contract (similar to the UI in the
Deploy & Run transactions
tab) and lookup the decoded function selectors in a function selector database.We hope for a public API to query decoded ABI from blockscout database (up to blockscout’s discretion so when and if this will be available).
blockscout/blockscout#11099