Generates a public_dispatch function for an Aztec contract module m.
The generated function dispatches public calls based on selector to the appropriate contract function. If
generate_emit_public_init_nullifier is true, it also handles dispatch to the macro-generated
__emit_public_init_nullifier function.
Alongside public_dispatch, this also emits one __aztec_nr_internals__unpack_arguments_<N> helper per
parameter-type signature shared by enough public functions; see [compute_unpack_prelude] for the extraction
criterion.
Generates a
public_dispatchfunction for an Aztec contract modulem.The generated function dispatches public calls based on selector to the appropriate contract function. If
generate_emit_public_init_nullifieris true, it also handles dispatch to the macro-generated__emit_public_init_nullifierfunction.Alongside
public_dispatch, this also emits one__aztec_nr_internals__unpack_arguments_<N>helper per parameter-type signature shared by enough public functions; see [compute_unpack_prelude] for the extraction criterion.