We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See #574
A very simple use case I can think of would be to implement something like that: from boa3.builtin import CreateNewEvent, public def onlyOwner(): # do owner check and abort if false pass @onlyOwner @public def withdraw() -> bool: pass
A very simple use case I can think of would be to implement something like that:
from boa3.builtin import CreateNewEvent, public def onlyOwner(): # do owner check and abort if false pass @onlyOwner @public def withdraw() -> bool: pass
Only decorators that calls global or imported functions without arguments is going to be implemented in this issue
The text was updated successfully, but these errors were encountered:
It's not possible to create a decorator without a parameter
Sorry, something went wrong.
luc10921
No branches or pull requests
See #574
Only decorators that calls global or imported functions without arguments is going to be implemented in this issue
The text was updated successfully, but these errors were encountered: