For the complete documentation index, see llms.txt.
aztec-nr - noir_aztec::macros::internals_functions_generation

Module 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 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.