dethcrypto / dethcrypto/dethcode

Feature Request: Split single file verifications into different files.

オープン
#54 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
1.4k
フォーク
109
PR マージ指標
30日以内にマージされた PR はありません

説明

Some contracts on Etherscan get verified as a single flat file making it hard to navigate them.

Here is a random example I took from the Etherscan's list of verified contracts.
https://etherscan.io/address/0x38b1c1be183a480835e9bc63c5acfd18eedd1cb0#code

I believe that can be accomplished by splitting the files at the terms:

- contract
- library
- abstract
- interface

The simply generating the import statements in each file for every other file even if not used as well as pragma statement for solidity version. Given they are all in same directory that is possible.

Given that the original file is flattened (does not have imports) that could work and will help study the contract better even if a few extra imports are generated. I assume those will be highlighted in VSCode.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。