aztec-nr - noir_aztec::macros::functions

Function internal

pub comptime fn internal(f: FunctionDefinition, f_type: CtString)

An internal function is only callable from inside the contract.

internal functions are the Aztec equivalent of a Solidity internal function, though their behavior differs slightly for public, private and utiliy functions.

Note that these are different from only_self in that those are external and so are externally called (via contract calls).