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

Create prepopulated handler #4

Open
simon-something opened this issue Oct 30, 2024 · 0 comments
Open

Create prepopulated handler #4

simon-something opened this issue Oct 30, 2024 · 0 comments
Labels
enhancement New feature or request uphill

Comments

@simon-something
Copy link
Member

simon-something commented Oct 30, 2024

Parsing the contracts to create individual handlers should come with an option to create, for each public state-changing function, a generic handler function.

This is a heavy refactor, where we might have to:

  • build the medusa test suite intermediate representation, including the handled fn names (either compile the target repo and parse the abi - using forge or solang, or parse the source code itself - using our skills or smth)
  • visit the ir and emit the contracts (bulloak-foundry does this for tests)
  • finally write them

Bonus would be to have a property.md with a table including all the "handled" functions

@simon-something simon-something added enhancement New feature or request uphill labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request uphill
Projects
None yet
Development

No branches or pull requests

1 participant