Skip to content

Commit bb2ebfc

Browse files
catmcgeejzaki
andauthored
feat(docs): Macros explainer (#7172)
I had already written a lot of this before so just adding to the other macros since then Closes AztecProtocol/dev-rel#200 --------- Co-authored-by: James Zaki <james.zaki@proton.me>
1 parent 5d25860 commit bb2ebfc

4 files changed

Lines changed: 296 additions & 62 deletions

File tree

docs/docs/aztec/concepts/smart_contracts/functions/function_types_macros.md

Lines changed: 0 additions & 56 deletions
This file was deleted.

docs/docs/aztec/concepts/smart_contracts/functions/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ Initializers are regular functions that set an "initialized" flag (a nullifier)
1818

1919
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.
2020

21-
Explore this section to learn:
21+
## Learn more about functions
2222

2323
- [How function visibility works in Aztec](./visibility.md)
24-
- [Function types and Macros](./function_types_macros.md), and how to write them
2524
- How to write an [initializer function](../../../../guides/smart_contracts/writing_contracts/initializers.md)
2625
- [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
2726
- [Oracles](../oracles/index.md) and how Aztec smart contracts might use them
2827
- [How functions work under the hood](./inner_workings.md)
28+
29+
Find a function macros reference [here](../../../../reference/smart_contract_reference/macros.md).

0 commit comments

Comments
 (0)