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

docs on contract_library_method noir annotation #3098

Open
Tracked by #2658
critesjosh opened this issue Oct 27, 2023 · 0 comments
Open
Tracked by #2658

docs on contract_library_method noir annotation #3098

critesjosh opened this issue Oct 27, 2023 · 0 comments
Labels
A-documentation Area: relates to documentation

Comments

@critesjosh
Copy link
Contributor

critesjosh commented Oct 27, 2023

prevents the method from being a "function" that another contract can call. It becomes a helper method for a contract and should not be seen as the entry point.

(comes from this PR)

it esentially marks a method as a non entry point in a contract scope, it basically means that it will not show up on the contract abi, and its only purpose is to be a helper method

its not a macro, but rather an annotation to say do not compile this as an entrypoint for methods defined in the contract scope

@critesjosh critesjosh added the A-documentation Area: relates to documentation label Oct 27, 2023
@github-project-automation github-project-automation bot moved this to Todo in A3 Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-documentation Area: relates to documentation
Projects
Status: Todo
Development

No branches or pull requests

1 participant