> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Module macros

Module: `noir_aztec::macros`

Definition of Aztec contract functions, storage, notes and events.

## Modules

- [authorization](/aztec-nr-api/v6.0.0/noir_aztec/macros/authorization/index.md)
- [dispatch](/aztec-nr-api/v6.0.0/noir_aztec/macros/dispatch/index.md)
- [events](/aztec-nr-api/v6.0.0/noir_aztec/macros/events/index.md)
- [functions](/aztec-nr-api/v6.0.0/noir_aztec/macros/functions/index.md)
- [internals_functions_generation](/aztec-nr-api/v6.0.0/noir_aztec/macros/internals_functions_generation/index.md): The functionality in this module is triggered by the `#[aztec]` macro. It generates new functions, prefixed with `__aztec_nr_internals___`, from the ones marked with `#[external(...)]` and `#[internal(...)]` attributes. The original functions are then modified to be uncallable. This prevents developers from inadvertently calling a function directly, instead of performing a proper contract call.
- [notes](/aztec-nr-api/v6.0.0/noir_aztec/macros/notes/index.md)
- [storage](/aztec-nr-api/v6.0.0/noir_aztec/macros/storage/index.md)
- [utils](/aztec-nr-api/v6.0.0/noir_aztec/macros/utils/index.md)

## Structs

- [AztecConfig](/aztec-nr-api/v6.0.0/noir_aztec/macros/struct.AztecConfig.md): Configuration for the [`aztec`](/aztec-nr-api/v6.0.0/noir_aztec/macros/fn.aztec.md) macro.

## Functions

- [aztec](/aztec-nr-api/v6.0.0/noir_aztec/macros/fn.aztec.md): Enables aztec-nr features on a `contract`.
