Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build/flattener #129

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Build/flattener #129

wants to merge 3 commits into from

Conversation

tcrosado
Copy link
Contributor

Description

Add script to flatten solidity files to be verified by Etherscan

Motivation and Context

To use the script just type:
Flattener.py origin.sol destination.sol
Where origin is the starting point or the contract code to add the the Etherscan and destination.sol is the flattened contract code with all the dependencies.

Currently the code tries to order the dependencies correctly just by ordering the contracts based on the number of dependencies of each contract, however further improvements can be made.

How Has This Been Tested?

Screenshots (if appropriate):

Checklist:

  • You have followed our contributing guidelines
  • double-check your branch is based on dev and targets dev
  • Pull request has tests (at least 80% coverage)
  • Code is well-commented, linted and follows project conventions
  • Documentation is updated (if necessary)
  • Description explains the issue/use-case resolved and auto-closes related issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant