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

Move modifier macro on language level #164

Open
Artemka374 opened this issue Sep 18, 2023 · 0 comments
Open

Move modifier macro on language level #164

Artemka374 opened this issue Sep 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Artemka374
Copy link
Contributor

In OpenBrush, the equivalent of the _ keyword in Solidity is the body function. OpenBrush
executes code before or after a modifier by calling the body function and passing an
instance as a parameter.
However, it is essential to note that this feature is currently exclusive to OpenBrush.
Consequently, other ink! developers will not have access to this functionality unless they also
use the OpenBrush library.

@Artemka374 Artemka374 added the enhancement New feature or request label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant