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

feat(docs): Macros explainer #7172

Merged
merged 9 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

5 changes: 3 additions & 2 deletions docs/docs/aztec/concepts/smart_contracts/functions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ Initializers are regular functions that set an "initialized" flag (a nullifier)

There are also special oracle functions, which can get data from outside of the smart contract. In the context of Aztec, oracles are often used to get user-provided inputs.

Explore this section to learn:
## Learn more about functions

- [How function visibility works in Aztec](./visibility.md)
- [Function types and Macros](./function_types_macros.md), and how to write them
catmcgee marked this conversation as resolved.
Show resolved Hide resolved
- How to write an [initializer function](../../../../guides/smart_contracts/writing_contracts/initializers.md)
- [Calling functions from within the same smart contract and from different contracts](../../../../guides/smart_contracts/writing_contracts/call_functions.md), including calling private functions from private functions, public from public, and even private from public
- [Oracles](../oracles/index.md) and how Aztec smart contracts might use them
- [How functions work under the hood](./inner_workings.md)

Find a function macros reference [here](../../../../reference/smart_contract_reference/macros.md).
Loading