Same as in Solidity external functions are functions that our callable from outside the contract.
There are 3 types of external functions: private, public, and utility.
private functions are executed client-side and preserve privacy.
public functions are executed sequencer-side and do not preserve privacy, similar to the EVM.
utility functions are standalone unconstrained functions that cannot be called from another function in a
contract. They are typically used either to obtain some information from the contract (e.g. token balance of a
user) or to modify internal contract-related state of PXE (e.g. processing logs in Aztec.nr during sync).
In this function we perform basic checks on the function to ensure it is valid and then we add the function to the
external functions registry for later processing by the #[aztec] macro.
Same as in Solidity external functions are functions that our callable from outside the contract.
There are 3 types of external functions: private, public, and utility.
In this function we perform basic checks on the function to ensure it is valid and then we add the function to the external functions registry for later processing by the
#[aztec]macro.