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

style: move all events into a (separate) library? #77

Open
gosuto-inzasheru opened this issue Jul 6, 2024 · 1 comment · May be fixed by #105
Open

style: move all events into a (separate) library? #77

gosuto-inzasheru opened this issue Jul 6, 2024 · 1 comment · May be fixed by #105
Assignees

Comments

@gosuto-inzasheru
Copy link
Contributor

No description provided.

@petrovska-petro
Copy link
Collaborator

the approach that i had seeing for this to keep the actual contract as neat as possible, it is to create an interface for each of the contracts, say:

  1. IRoboSaverVirtualModule.sol ->>> here all events are stored w/ their right natspec etc
  2. Inherit that into RoboSaverVirtualModule.sol and will have all events inside automatically

that approach moves all this Ls to the interface basically

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

Successfully merging a pull request may close this issue.

2 participants