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

VIP: contract flattener #4316

Open
charles-cooper opened this issue Oct 19, 2024 · 0 comments
Open

VIP: contract flattener #4316

charles-cooper opened this issue Oct 19, 2024 · 0 comments
Labels
enhancement VIP: Discussion Used to denote VIPs and more complex issues that are waiting discussion in a meeting

Comments

@charles-cooper
Copy link
Member

Simple Summary

Provide a tool which flattens multi-file contracts into a single file.

Motivation

easier for audit, and can be handy for source code verification

Specification

vyper -f flatten my_contract.vy

should generate source code which compiles to the same bytecode as the original input bundle.

Backwards Compatibility

no issues

Dependencies

If this VIP depends on any other VIPs being implemented, please mention them.

References

Add any references that this VIP might reference (other VIPs/issues, links to blog posts, etc.)

Copyright

Copyright and related rights waived via CC0

@charles-cooper charles-cooper added enhancement VIP: Discussion Used to denote VIPs and more complex issues that are waiting discussion in a meeting labels Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement VIP: Discussion Used to denote VIPs and more complex issues that are waiting discussion in a meeting
Projects
None yet
Development

No branches or pull requests

1 participant