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

# Module internals_functions_generation

Module: `noir_aztec::macros::internals_functions_generation`

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.

## Modules

- [abi_attributes](/aztec-nr-api/v6.0.0/noir_aztec/macros/internals_functions_generation/abi_attributes/index.md): ABI attributes that are applied by the Aztec.nr macros to the generated functions with the `__aztec_nr_internals___` prefix in the name. The attributes are prefixed with `abi_` as they are used only for ABI purposes and artifact generation.
